1 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
4 (Qchinese_big5_cdp): Deleted.
5 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
6 (complex_vars_of_mule_charset): Delete coded-charset
9 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
10 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
11 `CHARSET_ID_OFFSET - n' for private CCS.
12 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
13 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
14 of `MIN_LEADING_BYTE'.
15 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
16 `(CHARSET_ID_OFFSET - 97)'.
17 (MIN_CHAR_BIG5_CDP): Deleted.
18 (MAX_CHAR_BIG5_CDP): Deleted.
20 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
22 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
25 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
27 * mule-charset.c (decode_builtin_char): Support mother charsets.
29 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
31 * mule-charset.c (Q94x94x60): New variable.
32 (charset_code_point): Support conversion `94x94x60'.
33 (Fmake_charset): Likewise.
34 (syms_of_mule_charset): Add new symbol `94x94x60'.
36 * char-ucs.h (CONVERSION_94x94x60): New macro.
38 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
40 * mule-charset.c (charset_code_point): Unify code about
43 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
45 * mule-charset.c (charset_code_point): Merge code about builtin
46 characters into code about mother charsets; don't use
47 `range_charset_code_point'.
48 (range_charset_code_point): Deleted.
50 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * mule-charset.c (Qcode_offset): New variable.
53 (Fmake_charset): Use `XUINT' to get value of `min-code' and
54 `max-code'; accept new property `code-offset'.
55 (syms_of_mule_charset): Add new symbol `code-offset'.
57 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * mule-charset.c (range_charset_code_point): Fixed.
61 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * mule-charset.c (decode_builtin_char): Change semantics of
64 code-offset of coded-charset.
65 (charset_code_point): Likewise.
66 (range_charset_code_point): Likewise.
67 (complex_vars_of_mule_charset): Modify for the change.
69 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * mule-charset.c (Fencode_char): Reverse arguments.
73 * mule-charset.c (charset_code_point): Fixed.
75 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule-charset.c (Vcharset_mojikyo): Deleted.
78 (Vcharset_mojikyo_2022_1): Deleted.
79 (Vcharset_mojikyo_pj_{1..21}): Deleted.
80 (Qmin_code): New variable in UTF-2000.
81 (Qmax_code): Likewise.
83 (Qconversion): Likewise.
86 (Qmojikyo_2022_1): Deleted.
87 (Qmojikyo_pj_{1..22}): Deleted.
88 (mark_charset): Mark `cs->mother'.
89 (charset_description): Add description for `mother'.
90 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
91 new arguments `mother' and `conversion'; use
92 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
93 (charset_code_point): Moved from char-ucs.h; support `mother'
95 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
96 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
97 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
98 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
99 allow 2 as the value of `graphic' in UTF-2000; add new properties
100 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
101 require `final' in UTF-2000; modify for `make_charset'.
102 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
103 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
104 (Fcharset_property): Support `mother', `min-code' and `max-code'.
105 (Fencode_char): New function.
106 (syms_of_mule_charset): Add new builtin function `encode-char' in
107 UTF-2000; add new symbols `min-code', `max-code', `mother',
108 `conversion' and `94x60'; delete symbols `mojikyo',
109 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
110 (complex_vars_of_mule_charset): Modify for `make_charset' change;
111 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
112 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
114 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
115 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
117 * char-ucs.h (Vcharset_mojikyo): Deleted.
118 (Vcharset_mojikyo_2022_1): Deleted.
119 (LEADING_BYTE_MOJIKYO): Deleted.
120 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
121 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
122 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
123 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
124 add new member `mother'; add new member `conversion'.
125 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
126 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
127 (CHARSET_MOTHER): New macro.
128 (CHARSET_CONVERSION): New macro.
129 (CONVERSION_IDENTICAL): New macro.
130 (CONVERSION_94x60): New macro.
131 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
132 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
133 (XCHARSET_MOTHER): New macro.
134 (XCHARSET_CONVERSION): New macro.
135 (MIN_CHAR_MOJIKYO): Deleted.
136 (MAX_CHAR_MOJIKYO): Deleted.
137 (DECODE_MOJIKYO_2022): Deleted.
138 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
139 (charset_code_point): Changed to non-inline function.
140 (encode_char_1): Use `charset_code_point'.
141 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
143 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * lread.c (read_compiled_function): Fix prototype.
146 (read_vector): Likewise.
148 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * lrecord.h (struct lrecord_header): Delete `older'.
151 (set_lheader_implementation): Delete code for `older'.
152 (set_lheader_older_implementation): Deleted.
153 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
154 (OLDER_RECORD_P): Deleted.
155 (OLDER_RECORD_HEADER_P): Deleted.
156 (alloc_older_lcrecord): Deleted.
157 (alloc_older_lcrecord_type): Deleted.
159 * alloc.c (all_older_lcrecords): Deleted.
160 (alloc_older_lcrecord): Deleted.
161 (disksave_object_finalization_1): Delete code for older objects.
162 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
163 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
165 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * mule-charset.c (decoding_table_put_char): Use `make_vector'
168 instead of `make_older_vector'.
169 (put_char_ccs_code_point): Likewise.
170 (mark_charset): Mark `cs->decoding_table'.
171 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
173 * lisp.h (make_older_vector): Deleted.
174 (make_vector_newer): Deleted.
176 * config.h.in (HAVE_GGC): Deleted.
178 * alloc.c (make_older_vector): Deleted.
179 (make_vector_newer_1): Deleted.
180 (make_vector_newer): Deleted.
182 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
185 (Qideograph_daikanwa_2): New variable.
186 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
187 (complex_vars_of_mule_charset): Add new coded-charset
188 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
189 `LEADING_BYTE_DAIKANWA'.
191 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
192 (LEADING_BYTE_DAIKANWA_1): New macro.
193 (LEADING_BYTE_DAIKANWA_2): New macro.
194 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
196 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * mule-charset.c (complex_vars_of_mule_charset): Change
199 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
200 the second revised version.
202 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * mule-charset.c (Vcharset_ucs_smp): New variable.
205 (Vcharset_ucs_sip): New variable.
206 (Qucs_smp): New variable.
207 (Qucs_sip): New variable.
208 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
209 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
210 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
211 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
212 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
213 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
215 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
216 (LEADING_BYTE_UCS_SIP): New macro.
217 (MIN_CHAR_SMP): New macro.
218 (MAX_CHAR_SMP): New macro.
219 (MIN_CHAR_SIP): New macro.
220 (MAX_CHAR_SIP): New macro.
222 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
224 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
227 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
230 value; don't store value into `encoding_table' of `Lisp_Charset'.
231 (mark_charset): `encoding_table' was deleted.
232 (charset_description): Likewise.
233 (make_charset): Likewise.
234 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
235 `put_char_ccs_code_point'.
237 * chartab.h (Fput_char_attribute): New EXFUN.
239 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
240 is unified with normal symbol space.
241 (Fget_char_attribute): Likewise.
242 (Fput_char_attribute): Likewise; behavior of
243 `put_char_ccs_code_point' is changed.
245 * char-ucs.h: Include "elhash.h".
246 (Vchar_attribute_hash_table): New external variable.
247 (struct Lisp_Charset): Delete `encoding_table'.
248 (CHARSET_ENCODING_TABLE): New implementation; refer
249 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
252 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
257 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * text-coding.c (char_encode_big5): Prefer charset-g1 than
262 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * chartab.c (uint8_byte_table_description): New constant.
265 (uint8-byte-table): Use `uint8_byte_table_description'.
266 (uint16_byte_table_description): New constant.
267 (uint16-byte-table): Use `uint16_byte_table_description'.
269 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
272 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
274 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * mule-charset.c (Vcharset_ucs_ks): New variable.
277 (Qucs_ks): New variable.
278 (syms_of_mule_charset): Add new symbol `ucs-ks'.
279 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
281 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
283 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
286 (Fdecode_char): Likewise.
288 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
290 (Fdefine_char): Modify for Fdecode_char.
291 (Ffind_char): Likewise.
293 * mule-charset.c (Fdecode_char): Add new optional argument
295 (Fdecode_builtin_char): Modify for `Fdecode_char'.
297 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
300 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
301 (allocate_coding_system): Initialize initial-charsets of
302 CODESYS_BIG5 in XEmacs UTF-2000.
303 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
304 CODESYS_BIG5 in XEmacs UTF-2000.
305 (decode_coding_big5): Use initial-charset-g0 and -g1 of
306 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
308 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
310 (Qideograph_hanziku_{1 .. 12}): Likewise.
311 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
313 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
314 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
315 `ideograph-hanziku-{1 .. 12}'.
317 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
318 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
319 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
320 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
321 (DECODE_DEFINED_CHAR): New inline function.
322 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
324 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * mule-charset.c (Vcharset_china3_jef): Renamed from
327 `Vcharset_japanese_jef_china3'.
328 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
329 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
330 `{MIN|MAX}_CHAR_JEF_CHINA3'..
331 (syms_of_mule_charset): Rename `china3-jef' from
332 `japanese-jef-china3'.
333 (complex_vars_of_mule_charset): Likewise; rename
334 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
336 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
337 `LEADING_BYTE_JEF_CHINA3'.
338 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
339 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
341 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * mule-charset.c (encode_builtin_char_1): Comment out special code
344 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
346 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
347 (MAX_CHAR_MOJIKYO_0): Comment out.
348 (MIN_CHAR_CBETA): Changed to 0x00E20000.
349 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
350 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
351 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
353 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
356 (Qideograph_cbeta): New variable.
357 (encode_builtin_char_1): Comment out special code for
358 coded-charset `mojikyo' and `japanese-jef-china3'.
359 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
360 (complex_vars_of_mule_charset): Add new coded-charset
363 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
364 (MIN_CHAR_CBETA): New macro.
365 (MAX_CHAR_CBETA): New macro.
367 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
370 (LEADING_BYTE_JEF_CHINA3): New macro.
371 (MIN_CHAR_JEF_CHINA3): New macro.
372 (MAX_CHAR_JEF_CHINA3): Likewise.
373 (DECODE_CHAR): Fixed.
375 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
377 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
378 (Qjapanese_jef_china3): New variable.
379 (encode_builtin_char_1): Support `japanese-jef-china3'.
380 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
381 (complex_vars_of_mule_charset): Add new coded-charset
382 `japanese-jef-china3'.
384 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
386 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
387 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
388 94^4, 96^3, 96^4, 128^n and 256^n set.
389 (put_char_table): Use `XCHARSET_CELL_RANGE'.
390 (map_char_table): Likewise.
392 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
394 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
397 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * chartab.h (get_char_id_table): New inline function.
401 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
404 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * chartab.h (decode_char_table_range): New prototype in XEmacs
408 (put_char_id_table): New inline function in XEmacs UTF-2000.
410 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
412 (decode_char_table_range): Delete static declaration in XEmacs
415 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
417 * chartab.c (put_char_id_table): Use `put_char_table'.
419 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
422 (map_over_uint16_byte_table): Likewise.
423 (map_over_byte_table): Likewise.
424 (map_char_table): Modify for `map_over_uint8_byte_table',
425 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
428 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
430 * chartab.c (struct map_char_table_for_charset_arg): New
432 (map_char_table_for_charset_fun): New function.
433 (map_char_table): Use `map_char_table' for encoding_table of
436 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * chartab.c (map_char_table): Check a character is found in
439 range->charset instead of non default value is defined in
440 char-table when range is CHARTAB_RANGE_ROW.
442 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * chartab.c (map_char_id_table): Deleted.
445 (Fmap_char_attribute): Use `map_char_table' instead of
448 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
452 (update_syntax_table): Deleted in XEmacs UTF-2000.
454 * syntax.c (find_defun_start): Use `syntax_table' instead of
455 `mirror_syntax_table' in XEmacs UTF-2000.
456 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
458 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
460 (Fmatching_paren): Likewise.
461 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
463 (find_start_of_comment): Likewise.
464 (find_end_of_comment): Likewise.
465 (Fforward_comment): Likewise.
466 (scan_lists): Likewise.
467 (char_quoted): Likewise.
468 (Fbackward_prefix_chars): Likewise.
469 (scan_sexps_forward): Likewise.
470 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
471 (update_syntax_table): Likewise.
473 * search.c (skip_chars): Use `syntax_table' instead of
474 `mirror_syntax_table' in XEmacs UTF-2000.
476 (Freplace_match): Likewise.
478 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
479 `mirror_syntax_table' in XEmacs UTF-2000.
480 (WORDCHAR_P_UNSAFE): Likewise.
481 (re_match_2_internal): Likewise.
483 * font-lock.c (find_context): Use `buf->syntax_table' instead of
484 `buf->mirror_syntax_table' in XEmacs UTF-2000.
486 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
487 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
489 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
492 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
494 (print_char_table): Print `default_value' in XEmacs UTF-2000.
495 (char_table_description): Delete `mirror_table' in XEmacs
497 (fill_char_table): Don't call `update_syntax_table' in XEmacs
499 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
500 (Fcopy_char_table): Likewise.
501 (put_char_table): Don't call `update_syntax_table' in XEmacs
504 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
505 `buf->mirror_syntax_table' in XEmacs UTF-2000.
506 (casify_region_internal): Likewise.
508 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
510 * buffer.c (common_init_complex_vars_of_buffer): Don't use
511 `mirror_syntax_table' in XEmacs UTF-2000.
513 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
514 `buf->mirror_syntax_table' in XEmacs UTF-2000.
515 (Fexpand_abbrev): Likewise.
517 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
521 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
524 (map_over_uint16_byte_table): Likewise.
525 (map_over_byte_table): Likewise.
526 (get_char_id_table): Refer `cit->default_value'.
527 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
528 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
529 of character-id ranges.
530 (mark_char_table): Mark `ct->default_value'.
531 (char_table_description): Add `default_value'.
532 (fill_char_table): Use `default_value'.
533 (decode_char_table_range): Decode `nil' as
534 `CHARTAB_RANGE_DEFAULT'.
535 (get_char_id_table): Refer `cit->default_value'.
536 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
537 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
538 temporary hack; check value of char-table is bound or not.
539 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
541 * chartab.h (struct Lisp_Char_Table): Add new member
542 `default_value' in XEmacs UTF-2000.
543 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
544 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
547 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * chartab.h (Lisp_Char_ID_Table): Deleted.
551 * chartab.c (char_table_description): Fix typo.
552 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
553 `Lisp_Char_ID_Table'.
555 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
560 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
563 * chartab.h (XCHAR_ID_TABLE): Deleted.
564 (XSETCHAR_ID_TABLE): Deleted.
565 (CHAR_ID_TABLE_P): Deleted.
567 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
569 (Fget_composite_char): Likewise.
570 (put_char_table): Likewise.
571 (add_char_attribute_alist_mapper): Fixed.
572 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
574 (Fget_char_attribute): Likewise.
575 (Fget_char_attribute): Likewise.
576 (Fmap_char_attribute): Likewise.
578 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
580 (encode_char_1): Likewise.
582 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
587 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
588 instead of `XCHAR_ID_TABLE'.
589 (remove_char_ccs): Likewise.
591 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
593 (Fget_composite_char): Likewise.
594 (Fchar_variants): Likewise.
595 (put_char_table): Likewise.
596 (add_char_attribute_alist_mapper): Likewise.
597 (Fchar_attribute_alist): Likewise.
598 (Fget_char_attribute): Likewise.
599 (Fput_char_attribute): Likewise.
600 (Fmap_char_attribute): Likewise.
601 (Fmap_char_attribute): Likewise.
603 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
605 (encode_char_1): Likewise.
607 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
609 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
610 `Lisp_Char_ID_Table'.
611 (mark_char_id_table): Deleted.
612 (print_char_id_table): Likewise.
613 (char_id_table_equal): Likewise.
614 (char_id_table_hash): Likewise.
615 (char_id_table_description): Likewise.
616 (char_id_table): Likewise.
617 (make_char_id_table): Use `Fmake_char_table' and
619 (get_char_id_table): Use `Lisp_Char_Table' instead of
620 `Lisp_Char_ID_Table'.
621 (put_char_id_table): Likewise.
622 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
624 (Fremove_char_attribute): Likewise.
625 (syms_of_chartab): Don't define type `char-id-table'.
627 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
628 (char_id_table): Likewise.
629 (GC_CHAR_ID_TABLE_P): Likewise.
630 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
631 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
632 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
633 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
634 (get_char_id_table): Use `Lisp_Char_Table' instead of
635 `Lisp_Char_ID_Table'.
636 (put_char_id_table_0): Likewise.
637 (put_char_id_table): Likewise.
639 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
641 * chartab.h: Lisp_Byte_Table related codes are moved from
644 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
646 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
648 * chartab.h: Don't include "chartab.h".
649 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
650 (Lisp_Char_ID_Table): Likewise.
651 (char_id_table): Likewise.
652 (XCHAR_ID_TABLE): Likewise.
653 (XSETCHAR_ID_TABLE): Likewise.
654 (CHAR_ID_TABLE_P): Likewise.
655 (GC_CHAR_ID_TABLE_P): Likewise.
656 (get_char_id_table): Likewise.
658 * char-ucs.h: Include "chartab.h".
659 (struct Lisp_Char_ID_Table): Moved to chartab.h.
660 (Lisp_Char_ID_Table): Likewise.
661 (char_id_table): Likewise.
662 (XCHAR_ID_TABLE): Likewise.
663 (XSETCHAR_ID_TABLE): Likewise.
664 (CHAR_ID_TABLE_P): Likewise.
665 (GC_CHAR_ID_TABLE_P): Likewise.
666 (get_char_id_table): Likewise.
668 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
670 * chartab.c (copy_uint8_byte_table): New function.
671 (copy_uint16_byte_table): New function.
672 (copy_byte_table): New function.
673 (map_over_uint8_byte_table): Modify to avoid huge numbers of
675 (map_over_uint16_byte_table): Likewise.
676 (map_over_byte_table): Likewise.
677 (get_byte_table): Move prototype to chartab.h.
678 (put_byte_table): Likewise.
679 (put_char_id_table_0): Moved to chartab.h.
680 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
681 (char_table_entry_equal): Likewise.
682 (char_table_entry_hash): Likewise.
683 (char_table_entry_description): Likewise.
684 (char_table_entry): Likewise.
685 (make_char_table_entry): Likewise.
686 (copy_char_table_entry): Likewise.
687 (get_non_ascii_char_table_value): Likewise.
688 (map_over_charset_ascii): Likewise.
689 (map_over_charset_control_1): Likewise.
690 (map_over_charset_row): Likewise.
691 (map_over_other_charset): Likewise.
692 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
693 (print_char_table): Likewise.
694 (char_table_equal): Likewise.
695 (char_table_hash): Likewise.
696 (char_table_description): Likewise.
697 (fill_char_table): Likewise.
698 (Fcopy_char_table): Likewise.
699 (get_char_table): Likewise.
700 (Fget_range_char_table): Likewise.
701 (put_char_table): Likewise.
702 (map_char_table): Likewise.
703 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
706 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
709 `Vauto_fill_chars' in XEmacs UTF-2000.
711 * chartab.h (get_byte_table): New prototype [moved from
713 (put_byte_table): Likewise [moved from chartab.c].
714 (put_char_id_table_0): New inline function [moved from chartab.c].
715 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
716 (Lisp_Char_Table_Entry): Likewise.
717 (char_table_entry): Likewise.
718 (XCHAR_TABLE_ENTRY): Likewise.
719 (XSETCHAR_TABLE_ENTRY): Likewise.
720 (CHAR_TABLE_ENTRYP): Likewise.
721 (CHECK_CHAR_TABLE_ENTRY): Likewise.
722 (NUM_ASCII_CHARS): Likewise.
723 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
724 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
726 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
728 * chartab.c (get_char_id_table): Change interface.
729 (put_char_id_table_0): New function.
730 (put_char_id_table): Change interface; new implementation.
731 (Fget_composite_char): Modify for interface change of
733 (Fchar_variants): Likewise.
734 (add_char_attribute_alist_mapper): Likewise.
735 (Fchar_attribute_alist): Likewise.
736 (Fget_char_attribute): Likewise.
737 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
738 as same as character as the first argument like `put-char-table';
739 modify for interface change of `put_char_id_table'.
740 (Fremove_char_attribute): Modify for interface change of
743 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * text-coding.c: Sync up with XEmacs 21.2.41.
746 (COMPOSE_ADD_CHAR): Modify for interface change of
749 * mule-charset.c (put_char_ccs_code_point): Modify for interface
750 change of `put_char_id_table'.
751 (remove_char_ccs): Likewise.
753 * chartab.h (put_char_id_table): Change interface.
755 * char-ucs.h (get_char_id_table): Change interface.
756 (charset_code_point): Modify for interface change of
758 (encode_char_1): Likewise.
760 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
764 (map_over_uint16_byte_table): Likewise.
765 (map_over_byte_table): Likewise.
766 (map_char_id_table): Add new argument `range' like
768 (Fmap_char_attribute): Add new argument `range' like
771 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * chartab.c (map_over_uint8_byte_table): Change interface of
774 mapping function to use struct chartab_range instead of Emchar.
775 (map_over_uint16_byte_table): Likewise.
776 (map_over_byte_table): Likewise.
777 (map_char_id_table): Likewise.
778 (struct slow_map_char_id_table_arg): Deleted.
779 (slow_map_char_id_table_fun): Deleted.
780 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
781 function `slow_map_char_table_fun' instead of struct
782 `slow_map_char_id_table_arg' and function
783 `slow_map_char_id_table_fun'.
785 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * mule-charset.c: Move char-it-table related codes to chartab.c.
788 (Vutf_2000_version): Moved to chartab.c.
789 (Fdefine_char): Likewise.
790 (Ffind_char): Likewise.
791 (syms_of_mule_charset): Move types `uint8-byte-table',
792 `uint16-byte-table', `byte-table' and `char-id-table' to
793 chartab.c; move functions `char_attribute_list,
794 `find_char_attribute_table, `char_attribute_alist,
795 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
796 `map_char_attribute, `define_char, `find_char, `char_variants and
797 `get_composite_char to chartab.c; move symbols `=>ucs',
798 `->decomposition', `compat', `isolated', `initial', `medial',
799 `final', `vertical', `noBreak', `fraction', `super', `sub',
800 `circle', `square', `wide', `narrow', `small' and `font' to
802 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
803 setting codes for `Vcharacter_composition_table' and
804 `Vcharacter_variant_table' to chartab.c.
805 (complex_vars_of_mule_charset): Move setting code for
806 `Vchar_attribute_hash_table' to chartab.c.
808 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
809 (make_char_id_table): New prototype.
810 (put_char_id_table): Likewise.
811 (Fget_char_attribute): Likewise.
813 * chartab.c: Move char-id-table related code from mule-charset.c.
814 (Vutf_2000_version): Moved from mule-charset.c.
816 * char-ucs.h (Qucs): New external variable.
817 (put_char_ccs_code_point): New prototype.
818 (remove_char_ccs): Likewise.
820 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
822 * mule-charset.c (Vcharset_ucs_jis): New variable.
823 (Qucs_jis): Likewise.
824 (syms_of_mule_charset): Add new symbol `ucs-jis'.
825 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
827 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
829 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
831 * mule-charset.c (map_over_uint8_byte_table): New function.
832 (map_over_uint16_byte_table): Likewise.
833 (map_over_byte_table): Likewise.
834 (map_char_id_table): Likewise.
835 (slow_map_char_id_table_fun): Likewise.
836 (Fmap_char_attribute): Likewise.
837 (syms_of_mule_charset): Add new function `map-char-attribute'.
839 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
841 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
842 (syms_of_mule_charset): Add new function `find-char'.
844 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
848 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
849 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
851 (complex_vars_of_mule_charset): Add new coded-charset
852 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
855 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
857 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
859 * mule-charset.c (encode_builtin_char_1): Purge codes about
860 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
861 {MIN|MAX}_CHAR_HEBREW.
862 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
863 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
865 * char-ucs.h (MIN_CHAR_GREEK): Purged.
866 (MAX_CHAR_GREEK): Purged.
867 (MIN_CHAR_CYRILLIC): Purged.
868 (MAX_CHAR_CYRILLIC): Purged.
869 (MIN_CHAR_HEBREW): Commented out.
870 (MAX_CHAR_HEBREW): Likewise.
872 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * mule-charset.c (Qto_ucs): New variable.
875 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
876 (Fdefine_char): Likewise.
877 (syms_of_mule_charset): Add new symbol `=>ucs'.
879 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * mule-charset.c (Fdecode_char): Fixed.
883 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
885 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
886 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
889 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
891 * mule-charset.c (Vcharset_ucs_big5): New variable.
892 (Qucs_big5): Likewise.
893 (syms_of_mule_charset): Add new symbol `ucs-big5'.
894 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
896 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
898 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
900 * mule-charset.c (decode_builtin_char): Check Big5 code range
901 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
903 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
906 (Qchinese_gb12345): Likewise.
907 (Fdecode_builtin_char): Fixed.
908 (syms_of_mule_charset): Add `chinese-gb12345'.
909 (complex_vars_of_mule_charset): Add coded-charset
912 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
913 (LEADING_BYTE_CHINESE_GB12345): New macro.
915 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
918 and `latin-viscii-upper' for `latin-viscii'.
920 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * mule-charset.c (Fdecode_builtin_char): Comment out
923 regularization code for ISO-IR GR representation.
925 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
927 * mule-charset.c (decode_builtin_char): New function; renamed from
928 `make_builtin_char'; return -1 instead of signal.
929 (Fdecode_builtin_char): Use `decode_builtin_char'.
931 * char-ucs.h (decode_builtin_char): New prototype; renamed from
933 (DECODE_CHAR): Use `decode_builtin_char' instead of
934 `make_builtin_char'; use mapping table of `chinese-big5' for
935 `chinese-big5-{1,2}'.
937 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * text-coding.c (char_encode_big5): New function.
940 (char_finish_big5): Likewise.
941 (reset_encoding_stream): Use `char_encode_big5' and
942 `char_finish_big5' for CODESYS_BIG5.
943 (mule_encode): Don't use `encode_coding_big5'.
944 (encode_coding_big5): Deleted.
946 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
948 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
949 0x81- in XEmacs UTF-2000.
950 (detect_coding_big5): Likewise.
952 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
954 * mule-charset.c (Fdefine_char): Don't use a CCS property to
955 generate character-id if the CCS property does not have
956 corresponding predefined character.
957 (make_builtin_char): Return -1 if corresponding predefined
958 character is not found.
959 (Fdecode_char): Return nil if corresponding character is not
961 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
962 don't map to builtin ucs space.
964 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
966 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
967 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
969 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
971 * mule-charset.c (Vcharset_ideograph_gt): New variable.
972 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
973 (Qideograph_gt): Likewise.
974 (Qideograph_gt_pj_{1..11}): Likewise.
975 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
976 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
977 `ideograph-gt-pj-11'.
978 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
979 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
980 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
982 * char-ucs.h (LEADING_BYTE_GT): New macro.
983 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
984 (MIN_CHAR_GT): Likewise.
985 (MAX_CHAR_GT): Likewise.
987 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
989 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
990 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
992 * doprnt.c (unsigned_int_converters): Add `c'.
993 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
995 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
996 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
998 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
999 (MAX_CHAR_MOJIKYO_0): New macro.
1000 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
1002 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * mule-charset.c (Fdefine_char): Delete cemented out code.
1005 (encode_builtin_char_1): Modify for new allocation of builtin
1008 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
1010 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * mule-charset.c (Vcharset_ucs_cns): New variable.
1013 (Qucs_cns): New variable.
1014 (syms_of_mule_charset): Add new symbol `ucs-cns'.
1015 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
1017 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1019 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
1021 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1023 * search.c (search_buffer): Make `charset_base_code' as
1024 character-id >> 6 to eliminate the corresponding last byte in
1025 UTF-8 representation [I'm not sure it is right thing].
1026 (boyer_moore): Likewise.
1028 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
1030 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
1031 representation in MULE.
1033 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1035 * text-coding.c (Fmake_coding_system): Use
1036 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
1037 `EXTERNAL_PROPERTY_LIST_LOOP'.
1039 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1041 * text-coding.c (decode_output_utf8_partial_char): New function.
1042 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
1044 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1046 * text-coding.c (decode_coding_utf8): Output original byte
1047 sequence if it is broken; change order of conditions.
1049 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
1052 * mb-multibyte.h (BYTE_ASCII_P):
1053 Use bit ops for char-signedness safety.
1054 (BYTE_C0_P): Use bit ops for char-signedness safety.
1055 (BYTE_C1_P): Use bit ops for char-signedness safety.
1057 * character.h: (XCHAR_OR_CHAR_INT):
1058 Always use inline function.
1059 Remove redundant type checking assert() - XINT will abort quite
1062 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1064 * text-coding.c: (Fencode_shift_jis_char):
1065 (Fencode_big5_char):
1066 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
1067 Replace 0 with '\0' when working with bytes.
1068 Replace initial "(" with "\(" in docstrings.
1070 (Fmake_coding_system):
1071 When type is ccl and value is vector, register it with a proper
1072 symbol. And checks whether the given ccl program is valid.
1073 (mule_decode): When calling ccl_driver, if src indicates
1074 NULL pointer, set an empty string instead.
1075 (mule_encode): Likewise.
1078 (detect_coding_sjis):
1079 (decode_coding_sjis):
1080 (detect_coding_big5):
1081 (decode_coding_big5):
1082 (detect_coding_ucs4):
1083 (decode_coding_ucs4):
1084 (detect_coding_utf8):
1085 (decode_coding_utf8):
1086 (detect_coding_iso2022):
1087 (decode_coding_iso2022):
1088 (decode_coding_no_conversion):
1090 Make all detecting and decoding functions take an Extbyte * arg.
1091 (text_encode_generic):
1092 (encode_coding_big5):
1093 (encode_coding_no_conversion):
1095 Make all encoding functions take a Bufbyte * arg.
1096 Use size_t instead of unsigned int for memory sizes.
1097 Only cast to unsigned char whenever dereferencing Extbyte *.
1099 (struct lrecord_description fcd_description_1): Use countof.
1100 (complex_vars_of_file_coding):
1101 Use countof instead of sizeof.
1102 Use CHECK_NATNUM instead of CHECK_INT.
1104 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1106 * mule-charset.c (Fget_char_attribute): Add new optional argument
1108 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
1109 (remove_char_ccs): Likewise.
1111 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1113 * text-coding.c (char_encode_shift_jis): New implementation in
1115 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
1118 * mule-charset.c (Vcharset_chinese_big5): New variable in
1120 (Qchinese_big5): New variable in UTF-2000.
1121 (BIG5_SAME_ROW): New macro in UTF-2000.
1122 (make_builtin_char): Use builtin characters of
1123 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
1124 characters of `Vcharset_chinese_big5'.
1125 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
1126 (complex_vars_of_mule_charset): Add new coded-charset
1127 `chinese-big5' in UTF-2000.
1129 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
1130 (Vcharset_chinese_big5): New external variable declaration.
1131 (Vcharset_japanese_jisx0208_1990): Likewise.
1133 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1135 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
1137 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
1139 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1141 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
1142 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
1143 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
1146 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1148 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
1150 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1152 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1155 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1157 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
1158 for `CHARSET_BY_ATTRIBUTES'.
1159 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1160 `CHARSET_BY_ATTRIBUTES'.
1162 * text-coding.c (struct decoding_stream): Rename member `CH' to
1164 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
1165 (decode_coding_sjis): Likewise.
1166 (decode_coding_big5): Likewise.
1167 (decode_coding_ucs4): Likewise.
1168 (decode_coding_utf8): Likewise.
1169 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
1170 `CHARSET_BY_ATTRIBUTES'.
1171 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
1172 `str->counter'; decode 3, 4 bytes sets.
1173 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
1175 (decode_coding_no_conversion): Use `str->cpos' instead of
1178 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
1179 (Qmojikyo_2022_1): New variable.
1180 (make_charset): Don't use `CHARSET_TYPE_*'.
1181 (range_charset_code_point): Support coded-charset
1183 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
1184 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
1185 `CHARSET_BY_ATTRIBUTES'.
1186 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
1187 `CHARSET_BY_ATTRIBUTES'.
1188 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
1189 (complex_vars_of_mule_charset): Add new coded-charset
1192 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
1193 interface; changed to inline function.
1195 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
1196 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
1197 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
1198 (CHARSET_TYPE_94): Deleted.
1199 (CHARSET_TYPE_94X94): Deleted.
1200 (CHARSET_TYPE_96): Deleted.
1201 (CHARSET_TYPE_96X96): Deleted.
1202 (CHARSET_TYPE_128): Deleted.
1203 (CHARSET_TYPE_128X128): Deleted.
1204 (CHARSET_TYPE_256): Deleted.
1205 (CHARSET_TYPE_256X256): Deleted.
1206 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
1208 (DECODE_MOJIKYO_2022): New inline function.
1209 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
1210 `Vcharset_mojikyo_2022_1'.
1212 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1214 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
1216 (put_byte_table): Likewise.
1217 (char_id_table_equal): Use `get_byte_table' [new implementation].
1219 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * mule-charset.c: Include <limits.h> in UTF-2000.
1222 (BT_UINT8_MIN): New macro in UTF-2000.
1223 (BT_UINT8_MAX): New macro in UTF-2000.
1224 (BT_UINT8_t): New macro in UTF-2000.
1225 (BT_UINT8_nil): New macro in UTF-2000.
1226 (BT_UINT8_unbound): New macro in UTF-2000.
1227 (INT_UINT8_P): New inline function in UTF-2000.
1228 (UINT8_VALUE_P): New inline function in UTF-2000.
1229 (UINT8_ENCODE): New inline function in UTF-2000.
1230 (UINT8_DECODE): New inline function in UTF-2000.
1231 (mark_uint8_byte_table): New function in UTF-2000.
1232 (print_uint8_byte_table): New function in UTF-2000.
1233 (uint8_byte_table_equal): New function in UTF-2000.
1234 (uint8_byte_table_hash): New function in UTF-2000.
1235 (make_uint8_byte_table): New function in UTF-2000.
1236 (uint8_byte_table_same_value_p): New function in UTF-2000.
1237 (BT_UINT16_MIN): New macro in UTF-2000.
1238 (BT_UINT16_MAX): New macro in UTF-2000.
1239 (BT_UINT16_t): New macro in UTF-2000.
1240 (BT_UINT16_nil): New macro in UTF-2000.
1241 (BT_UINT16_unbound): New macro in UTF-2000.
1242 (INT_UINT16_P): New inline function in UTF-2000.
1243 (UINT16_VALUE_P): New inline function in UTF-2000.
1244 (UINT16_ENCODE): New inline function in UTF-2000.
1245 (UINT16_DECODE): New inline function in UTF-2000.
1246 (UINT8_TO_UINT16): New inline function in UTF-2000.
1247 (mark_uint16_byte_table): New function in UTF-2000.
1248 (print_uint16_byte_table): New function in UTF-2000.
1249 (uint16_byte_table_equal): New function in UTF-2000.
1250 (uint16_byte_table_hash): New function in UTF-2000.
1251 (make_uint16_byte_table): New function in UTF-2000.
1252 (uint16_byte_table_same_value_p): New function in UTF-2000.
1253 (print_byte_table): New function in UTF-2000.
1254 (byte-table): Use `print_byte_table' as printer.
1255 (make_byte_table): Delete second argument `older'.
1256 (byte_table_same_value_p): New function in UTF-2000.
1257 (copy_byte_table): Deleted.
1258 (get_byte_table): New function in UTF-2000.
1259 (put_byte_table): New function in UTF-2000.
1260 (print_char_id_table): New function in UTF-2000.
1261 (char-id-table): Use `print_char_id_table' as printer.
1262 (make_char_id_table): Delete second argument `older'.
1263 (get_char_id_table): Use `get_byte_table [new implementation].
1264 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
1266 (Ffind_char_attribute_table): New function in UTF-2000.
1267 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1268 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
1269 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
1270 (syms_of_mule_charset): Add new function
1271 `find-char-attribute-table' in UTF-2000.
1273 * lrecord.h (enum lrecord_type): Add
1274 `lrecord_type_uint16_byte_table' and
1275 `lrecord_type_uint8_byte_table'.
1277 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
1278 (Lisp_Uint8_Byte_Table): New type.
1279 (XUINT8_BYTE_TABLE): New macro.
1280 (XSETUINT8_BYTE_TABLE): New macro.
1281 (UINT8_BYTE_TABLE_P): New macro.
1282 (GC_UINT8_BYTE_TABLE_P): New macro.
1283 (struct Lisp_Uint16_Byte_Table): New structure.
1284 (Lisp_Uint16_Byte_Table): New type.
1285 (XUINT16_BYTE_TABLE): New macro.
1286 (XSETUINT16_BYTE_TABLE): New macro.
1287 (UINT16_BYTE_TABLE_P): New macro.
1288 (GC_UINT16_BYTE_TABLE_P): New macro.
1290 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
1293 (Vcharacter_ideographic_strokes_table): Deleted.
1294 (Vcharacter_total_strokes_table): Deleted.
1295 (Vcharacter_morohashi_daikanwa_table): Deleted.
1296 (Vcharacter_decomposition_table): Deleted.
1297 (Qname): Deleted because it is duplicated.
1298 (Qideographic_radical): Deleted.
1299 (Qideographic_strokes): Deleted.
1300 (Qtotal_strokes): Deleted.
1301 (Qmorohashi_daikanwa): Deleted.
1302 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
1303 `ideographic-radical', `ideographic-strokes', `total-strokes',
1304 `morohashi-daikanwa' and `->decomposition'.
1305 (Fget_char_attribute): Likewise.
1306 (Fput_char_attribute): Likewise; use `make-vector' instead of
1307 `make_older_vector' for `->decomposition' value.
1308 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
1309 `ideograph-daikanwa'.
1310 (syms_of_mule_charset): Delete builtin symbols `name',
1311 `ideographic-radical', `ideographic-strokes', `total-strokes' and
1312 `morohashi-daikanwa'.
1313 (vars_of_mule_charset): Don't setup
1314 `Vcharacter_ideographic_radical_table',
1315 `Vcharacter_ideographic_strokes_table',
1316 `Vcharacter_total_strokes_table',
1317 `Vcharacter_morohashi_daikanwa_table' and
1318 `Vcharacter_decomposition_table'.
1320 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1322 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1323 `make_older_vector', `make_vector_newer_1' and
1324 `make_vector_newer'.
1326 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1327 `make_older_vector' and `make_vector_newer'.
1329 * config.h.in (HAVE_GGC): New macro.
1331 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1333 * mule-charset.c (struct char_attribute_list_closure): New
1334 structure in UTF-2000.
1335 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1336 (Fchar_attribute_list): Likewise.
1337 (Fset_charset_mapping_table): Use `make_vector_newer'.
1338 (Fdecode_builtin_char): New function in UTF-2000.
1339 (syms_of_mule_charset): Add new function `char-attribute-list' and
1340 `decode-builtin-char' in UTF-2000.
1342 * lisp.h (make_vector_newer): New prototype.
1344 * alloc.c (make_vector_newer_1): New function.
1345 (make_vector_newer): New function.
1347 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1352 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1354 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1355 (Vcharacter_attribute_table): Deleted.
1356 (Vcharacter_name_table): Deleted.
1357 (put_char_attribute): Deleted.
1358 (remove_char_attribute): Deleted.
1359 (struct char_attribute_alist_closure): New structure.
1360 (add_char_attribute_alist_mapper): New function.
1361 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1362 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1363 (Fget_char_attribute): Likewise.
1364 (Fput_char_attribute): Likewise.
1365 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1366 of `remove_char_attribute'.
1367 (Fdefine_char): Return character.
1368 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1369 and `Vcharacter_name_table'.
1370 (complex_vars_of_mule_charset): Likewise
1371 `Vchar_attribute_hash_table'.
1373 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1375 * character.h (CHARC_CHARSET): New macro.
1376 (CHARC_CHARSET_ID): New macro.
1377 (CHARC_CODE_POINT): New macro.
1378 (CHARC_COLUMNS): New macro.
1379 (CHARC_TO_CHAR): New inline function.
1380 (CHARC_EQ): New inline function.
1381 (CHARC_ASCII_EQ): New inline function.
1382 (CHARC_IS_SPACE): New inline function.
1383 (ASCII_TO_CHARC): New inline function.
1385 * char-ucs.h (encode_char_2): Deleted.
1386 (ENCODE_CHAR): Use `encode_char_1' again.
1387 (breakup_char_1): Likewise.
1388 (CHAR_TO_CHARC): New inline function.
1390 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1392 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1395 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1396 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1397 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1398 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1400 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1402 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1404 (x_output_display_block): Use `CHARC_CHARSET' and
1407 * redisplay-tty.c (tty_output_display_block): Use
1409 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1411 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1413 * insdel.c (find_charsets_in_charc_string): Use
1415 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1416 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1417 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1418 (convert_charc_string_into_malloced_string): Likewise.
1420 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1423 instead of <Emchar_dynarr *> for buf; use
1424 `convert_bufbyte_string_into_charc_dynarr' instead of
1425 `convert_bufbyte_string_into_emchar_dynarr'; use
1426 `find_charsets_in_charc_string' instead of
1427 `find_charsets_in_emchar_string'.
1430 - Include "character.h".
1431 (struct rune): New member `cglyph'; delete member `chr'.
1433 * redisplay.c (redisplay_text_width_charc_string): New function;
1434 delete `redisplay_text_width_emchar_string'.
1435 (rtw_charc_dynarr): New variable; renamed from
1436 `rtw_emchar_dynarr'.
1437 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1438 `rtw_emchar_dynarr'; use
1439 `convert_bufbyte_string_into_charc_dynarr' instead of
1440 `convert_bufbyte_string_into_emchar_dynarr'; use
1441 `redisplay_text_width_charc_string' instead of
1442 `redisplay_text_width_emchar_string'.
1443 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1444 instead of `rtw_emchar_dynarr'; use
1445 `convert_bufbyte_string_into_charc_dynarr' instead of
1446 `convert_bufbyte_string_into_emchar_dynarr'.
1447 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1448 `redisplay_text_width_charc_string' instead of
1449 `redisplay_text_width_emchar_string'.
1450 (create_text_block): Modify for <struct rune> change.
1451 (generate_formatted_string_db): Likewise.
1452 (create_string_text_block): Likewise.
1453 (pixel_to_glyph_translation): Likewise.
1455 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1456 instead of <const Emchar *>.
1457 (x_text_width): Likewise.
1458 (x_output_display_block): Use <Charc_dynarr *> instead
1459 <Emchar_dynarr *>; modify for <structure rune> change.
1460 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1463 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1464 <const Emchar *>; use `charc_string_displayed_columns' instead of
1465 `emchar_string_displayed_columns'.
1466 (tty_output_display_block): Use <Charc_dynarr *> instead of
1467 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1468 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1469 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1470 `tty_output_emchar_dynarr_dynarr'.
1471 (tty_output_charc_dynarr): New function; delete
1472 `tty_output_charc_dynarr'.
1474 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1475 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1476 <Emchar_dynarr *> for buf; use
1477 `convert_bufbyte_string_into_charc_dynarr' instead of
1478 `convert_bufbyte_string_into_emchar_dynarr'.
1480 * frame.c (title_string_charc_dynarr): New variable; renamed from
1481 `title_string_emchar_dynarr'.
1482 (generate_title_string): Use `title_string_charc_dynarr' instead
1483 of `title_string_emchar_dynarr'; use
1484 `convert_charc_string_into_malloced_string' instead of
1485 `convert_emchar_string_into_malloced_string'.
1486 (init_frame): Use `title_string_charc_dynarr' instead of
1487 `title_string_emchar_dynarr'.
1490 - Include "character.h".
1491 (struct console_methods): Use <const Charc *> instead of <const
1492 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1493 <Emchar_dynarr *> in output_string_method.
1495 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1498 * console-stream.c (stream_text_width): Use <const Charc *>
1499 instead of <const Emchar *>.
1501 * character.h (Charc_dynarr): New type.
1503 * char-ucs.h (structure Charc): New structure; define new type
1506 * char-lb.h (DECODE_CHAR): New inline function.
1507 (encode_char_1): New inline function.
1508 (ENCODE_CHAR): New macro.
1509 (structure Charc): New structure; define new type `Charc'.
1511 * char-1byte.h (Vcharset_control_1): New macro.
1512 (Vcharset_latin_iso8859_1): New macro.
1513 (DECODE_CHAR): New inline function.
1514 (encode_char_1): New inline function.
1515 (ENCODE_CHAR): New macro.
1516 (structure Charc): New structure; define new type `Charc'.
1518 * insdel.c (find_charsets_in_charc_string): New function; delete
1519 `find_charsets_in_emchar_string'.
1520 (charc_string_displayed_columns): New function; delete
1521 `emchar_string_displayed_columns'.
1522 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1523 `convert_bufbyte_string_into_emchar_dynarr'.
1524 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1525 `convert_charc_string_into_bufbyte_dynarr'.
1526 (convert_charc_string_into_malloced_string): New function; delete
1527 `convert_charc_string_into_malloced_string'.
1529 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1530 `find_charsets_in_emchar_string'.
1531 (charc_string_displayed_columns): New prototype; delete
1532 `emchar_string_displayed_columns'.
1533 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1534 `convert_charc_string_into_bufbyte_dynarr'.
1535 (convert_charc_string_into_malloced_string): New prototype; delete
1536 `convert_charc_string_into_malloced_string'.
1538 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1542 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1544 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1546 * char-ucs.h: Use <short> for <Charset_ID>.
1548 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1551 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1553 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1556 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1558 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1560 (Qmorohashi_daikanwa): New variable.
1561 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1562 for `morohashi-daikanwa' attribute.
1563 (Fget_char_attribute): Likewise.
1564 (Fput_char_attribute): Likewise.
1565 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1566 has the same value of `ideograph-daikanwa'.
1567 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1568 (vars_of_mule_charset): Setup
1569 `Vcharacter_morohashi_daikanwa_table'.
1571 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1573 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1575 (add_charset_to_list_mapper): Add `key' instead of
1576 `XCHARSET_NAME (value)' to return aliases.
1578 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1580 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1582 (Vcharacter_ideographic_strokes_table): New variable.
1583 (Qideographic_radical): New variable.
1584 (Qideographic_strokes): New variable.
1585 (Fchar_attribute_alist): Use
1586 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1587 attribute; use `Vcharacter_ideographic_strokes_table' for
1588 `ideographic-strokes' attribute.
1589 (Fget_char_attribute): Likewise.
1590 (Fput_char_attribute): Likewise.
1591 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1592 `ideographic-strokes'.
1593 (vars_of_mule_charset): Setup
1594 `Vcharacter_ideographic_radical_table' and
1595 `Vcharacter_ideographic_strokes_table'.
1597 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1599 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1600 (Qtotal_strokes): New variable.
1601 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1602 `total-strokes' attribute.
1603 (Fget_char_attribute): Likewise.
1604 (Fput_char_attribute): Likewise.
1605 (syms_of_mule_charset): Add new symbol `total-strokes'.
1606 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1608 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1610 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1611 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1613 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1614 `->decomposition' attribute.
1615 (Fput_char_attribute): Likewise.
1616 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1618 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * mule-charset.c (decoding_table_check_elements): New function.
1621 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1623 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1625 * mule-charset.c (Fset_charset_mapping_table): Use
1626 `put_char_ccs_code_point'.
1628 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1630 * mule-charset.c (decoding_table_put_char): New inline function.
1631 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1633 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1635 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1636 (XCHARSET_BYTE_SIZE): New macro.
1637 (decoding_table_remove_char): New inline function.
1638 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1639 `decoding_table_remove_char'.
1640 (remove_char_ccs): Use `decoding_table_remove_char'.
1641 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1643 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1645 * mule-charset.c (Vcharacter_name_table): New variable.
1646 (Qname): New variable.
1647 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1649 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1650 `Vcharacter_name_table' for `name' attribute.
1651 (Fremove_char_attribute): Use function `remove_char_ccs'.
1652 (put_char_ccs_code_point): New function.
1653 (remove_char_ccs): New function.
1654 (syms_of_mule_charset): Add new symbol `name'.
1655 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1657 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * mule-charset.c (make_byte_table): Add new argument `older'.
1660 (make_char_id_table): Likewise.
1661 (copy_char_id_table): Comment out because it is not used.
1662 (put_char_id_table): Modify for `make_byte_table'.
1663 (Fput_char_attribute): Make encoding_table as older object;
1664 inherit older bit of `Vcharacter_composition_table'.
1665 (mark_charset): Don't mark `cs->encoding_table'.
1666 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1667 normal object; make `Vcharacter_composition_table' as an older
1668 object; delete staticpro for `Vcharacter_composition_table'; make
1669 `Vcharacter_variant_table' as a normal object.
1671 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1672 (mark_object): Don't check older object in UTF-2000.
1674 * lrecord.h (struct lrecord_header): Add new member `older' in
1676 (set_lheader_implementation): Setup `SLI_header->older' in
1678 (set_lheader_older_implementation): New macro in UTF-2000.
1679 (OLDER_RECORD_P): New macro in UTF-2000.
1680 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1681 (alloc_older_lcrecord): New prototype in UTF-2000.
1682 (alloc_older_lcrecord_type): New macro in UTF-2000.
1684 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1686 * mule-charset.c (byte_table_description): Use
1687 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1688 (char_id_table_description): Delete bogus `, 1'.
1689 (Fget_char_attribute): Refer encoding_table of each coded-charset
1690 to get value of coded-charset attribute of a character.
1691 (Fput_char_attribute): Use `make_older_vector' instead of
1692 `make_vector'; use encoding_table of each coded-charset to store
1693 value of coded-charset attribute of a character.
1694 (Fremove_char_attribute): Use encoding_table of each coded-charset
1695 to store value of coded-charset attribute of a character.
1696 (mark_charset): Mark `cs->encoding_table'; don't mark
1697 `cs->decoding_table'.
1698 (charset_description): Add description of new member
1700 (make_charset): Initialize `encoding_table'.
1702 * char-ucs.h (struct Lisp_Charset): Add new member
1704 (CHARSET_ENCODING_TABLE): New macro.
1705 (XCHARSET_ENCODING_TABLE): New macro.
1706 (charset_code_point): New implementation.
1707 (encode_char_1): Likewise.
1709 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1710 (disksave_object_finalization_1): Call finalizers of
1711 `all_older_lcrecords' in UTF-2000.
1712 (make_older_vector): New function in UTF-2000.
1713 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1716 * lisp.h (make_older_vector): New prototype in UTF-2000.
1718 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1720 * lrecord.h (enum lrecord_type): Rename
1721 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1723 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1724 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1725 `get_char_code_table'.
1727 * mule-charset.c (mark_char_id_table): Renamed from
1728 `mark_char_code_table'.
1729 (char_id_table_equal): Renamed from `char_code_table_equal'.
1730 (char_id_table_hash): Renamed from `char_code_table_hash'.
1731 (make_char_id_table): Renamed from `make_char_code_table'.
1732 (copy_char_id_table): Renamed from `copy_char_code_table'.
1733 (get_char_id_table): Renamed from `get_char_code_table'.
1734 (put_char_id_table): Renamed from `put_char_code_table'.
1735 (to_char_id): Renamed from `to_char_code'.
1737 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1738 `Lisp_Char_Code_Table'.
1739 (char_id_table): Renamed from `char_code_table'.
1740 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1741 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1742 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1743 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1744 (get_char_id_table): Renamed from `get_char_code_table'.
1746 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1748 * lrecord.h (enum lrecord_type): Rename
1749 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1751 * mule-charset.c (mark_byte_table): Renamed from
1752 `mark_char_byte_table'.
1753 (byte_table_equal): Renamed from `char_byte_table_equal'.
1754 (byte_table_hash): Renamed from `byte_table_hash'.
1755 (make_byte_table): Renamed from `make_byte_table'.
1756 (copy_byte_table): Renamed from `copy_char_byte_table'.
1758 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1759 `Lisp_Char_Byte_Table'.
1760 (byte_table): Renamed from `char_byte_table'.
1761 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1762 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1763 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1764 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
1766 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1768 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
1769 (dfc_convert_to_internal_format): Likewise.
1771 * text-coding.c (Fcoding_system_canonical_name_p): New function.
1772 * text-coding.c (Fcoding_system_alias_p): New function.
1773 * text-coding.c (Fcoding_system_aliasee): New function.
1774 * text-coding.c (append_suffix_to_symbol): New function.
1775 * text-coding.c (dangling_coding_system_alias_p): New function.
1776 * text-coding.c (Ffind_coding_system):
1777 * text-coding.c (Fcopy_coding_system):
1778 * text-coding.c (encode_coding_no_conversion):
1779 * text-coding.c (syms_of_file_coding):
1780 * text-coding.c (vars_of_file_coding):
1781 Rewrite coding system alias code.
1782 Allow nested aliases, like symbolic links.
1783 Allow redefinition of coding system aliases.
1784 Prevent existence of dangling coding system aliases.
1785 Eliminate convert_to_external_format.
1786 Eliminate convert_to_internal_format.
1788 * text-coding.c: Change enum eol_type to eol_type_t.
1790 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1792 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
1793 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1795 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
1796 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1798 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
1801 `ideograph-daikanwa'.
1803 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
1804 (Vcharset_ucs_bmp): Likewise.
1805 (Vcharset_mojikyo): Add new extern variable definition.
1806 (Vcharset_latin_iso8859_2): Deleted because it is not used.
1807 (Vcharset_latin_iso8859_3): Likewise.
1808 (Vcharset_latin_iso8859_4): Likewise.
1809 (Vcharset_latin_iso8859_9): Likewise.
1810 (Vcharset_latin_viscii_lower): Likewise.
1811 (Vcharset_latin_viscii_upper): Likewise.
1812 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
1813 `mojikyo' code-point is used to decode.
1814 (encode_char_2): New function [to convert `mojikyo' code-point to
1815 Mojikyo font encoding].
1816 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
1817 (breakup_char_1): Likewise.
1818 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
1820 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1822 * text-coding.c (Fmake_coding_system): Add document about
1823 `disable-composition' property.
1825 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * text-coding.c (Qdisable_composition): New variable; delete
1829 (Fmake_coding_system): Add new property `disable-composite';
1830 delete property `composite'.
1831 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
1832 instead of `!CODING_SYSTEM_COMPOSITE'.
1833 (syms_of_file_coding): Add new symbol `disable-composition';
1834 delete symbol `composite'.
1836 * file-coding.h (struct Lisp_Coding_System): Add
1837 `disable_composition'; delete `enable_composition'.
1838 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1839 `CODING_SYSTEM_COMPOSITE'.
1840 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1841 `XCODING_SYSTEM_COMPOSITE'.
1843 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1848 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1850 * text-coding.c (Qcomposite): New variable.
1851 (Fmake_coding_system): Add new property `composite'.
1852 (struct decoding_stream): Add `combined_char_count',
1853 `combined_chars' and `combining_table' in UTF-2000.
1854 (COMPOSE_FLUSH_CHARS): New macro.
1855 (COMPOSE_ADD_CHAR): New macro.
1856 (reset_decoding_stream): Reset `str->combined_char_count' and
1857 `str->combining_table' in UTF-2000.
1858 (decode_coding_iso2022): Modify for character-decomposition.
1859 (syms_of_file_coding): Add new symbol `composite'.
1861 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
1864 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
1865 of `Vcharacter_composition_table' if `->decomposition' property
1867 (Qlatin_tcvn5712): New variable.
1868 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
1869 (complex_vars_of_mule_charset): Add new coded-charset
1872 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
1874 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1876 * file-coding.h (struct Lisp_Coding_System): Add
1877 `enable_composition'.
1878 (CODING_SYSTEM_COMPOSITE): New macro.
1879 (XCODING_SYSTEM_COMPOSITE): New macro.
1881 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
1883 * mule-canna.c (c2mu): Fix problem with UTF-2000.
1885 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
1887 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
1888 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
1890 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1892 * mule-charset.c (Vcharset_mojikyo): New variable.
1893 (Fdefine_char): Don't use coded-charset which does not have
1894 non-builtin character range to allocate character-id.
1895 (Qmojikyo): New variable.
1896 (syms_of_mule_charset): Add new symbol `mojikyo'.
1897 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
1899 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
1900 (LEADING_BYTE_MOJIKYO): New macro.
1901 (MIN_CHAR_MOJIKYO): New macro.
1902 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
1903 (MAX_CHAR_MOJIKYO): New macro.
1905 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
1907 * mule-charset.c (remove_char_attribute): Fixed.
1909 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
1911 * mule-charset.c (remove_char_attribute): New function.
1912 (Fremove_char_attribute): New function.
1913 (encode_builtin_char_1): Comment out builtin-support for
1914 greek-iso8859-7 and cyrillic-iso8859-5.
1915 (Fdecode_char): Check `code' is an integer.
1916 (syms_of_mule_charset): Add `remove-char-attribute'.
1917 (MIN_CHAR_GREEK): Deleted.
1918 (MAX_CHAR_GREEK): Likewise.
1919 (MIN_CHAR_CYRILLIC): Likewise.
1920 (MAX_CHAR_CYRILLIC): Likewise.
1921 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1922 MAX_CHAR_GREEK for `greek-iso8859-7'.
1924 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1925 (MAX_CHAR_GREEK): Likewise.
1926 (MIN_CHAR_CYRILLIC): Likewise.
1927 (MAX_CHAR_CYRILLIC): Likewise.
1929 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1931 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1932 format is used without `ucs' property.
1933 (Fdecode_char): Fix problem with GR representation.
1934 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1935 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1937 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1939 * mule-charset.c (make_builtin_char): New function.
1940 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1941 (Fset_charset_mapping_table): Modify for new representation of
1943 (Fdecode_char): New function.
1944 (syms_of_mule_charset): Add new builtin function `decode-char' in
1947 * char-ucs.h (make_builtin_char): New prototype.
1948 (DECODE_CHAR): New inline function.
1949 (MAKE_CHAR): Use `DECODE_CHAR'.
1951 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1953 * text-coding.c (parse_charset_conversion_specs): Use
1954 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1956 (iso2022_designate): Likewise.
1958 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1959 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1961 * mule-charset.c (Vcharset_ucs): New variable.
1962 (print_charset): Change design; use `CHARSET_CHARS' and
1963 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1964 (make_charset): Change signature to specify `chars' and
1965 `dimension' instead of `type'.
1966 (range_charset_code_point): Modify for 256^n-set.
1967 (encode_builtin_char_1): Encode as `ucs' in default.
1968 (Fmake_charset): Modify for `make_charset'.
1969 (Fmake_reverse_direction_charset): Likewise.
1970 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1972 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1975 * char-ucs.h (Vcharset_ucs): New variable.
1976 (LEADING_BYTE_UCS): New macro.
1977 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1978 and `chars' to `unsigned short' from `unsigned int'.
1979 (CHARSET_TYPE): Deleted.
1980 (XCHARSET_TYPE): Deleted.
1982 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1984 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1986 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1987 (ENCODE_CHAR): New macro.
1989 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1991 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1992 to 0.14 (Kawachi-Katakami).
1994 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1996 * text-coding.c (char_encode_shift_jis): Modify for
1997 `charset_code_point'.
1998 (char_encode_iso2022): Likewise.
2000 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
2001 (integer) instead of list of <Lisp_Object>s (integers) as the
2002 format of code-point of a coded-charset.
2003 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2004 (encode_builtin_char_1): New function; delete
2005 `split_builtin_char'.
2006 (charset_code_point): Return <int> instead of <Lisp_Object>.
2007 (Fsplit_char): Don't use `SPLIT_CHAR'.
2009 * char-ucs.h (encode_builtin_char_1): New prototype; delete
2010 prototype for `split_builtin_char'.
2011 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
2012 (charset_code_point): Likewise.
2013 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
2014 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
2016 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
2018 * mule-charset.c (complex_vars_of_mule_charset): Don't define
2019 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
2021 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2023 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
2025 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
2026 (MAX_CHAR_OBS_94x94): Deleted.
2028 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2030 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
2032 * char-ucs.h (MAX_CHAR_BMP): New macro.
2034 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2036 * text-coding.c: Sync with r21-2-24.
2038 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2040 * file-coding.c: Modify for UTF-2000.
2042 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2044 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2047 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2049 * mule-charset.c (split_builtin_char): Delete builtin support for
2050 `katakana-jisx0201'.
2051 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
2052 BMP area in builtin representation.
2054 * char-ucs.h (MAKE_CHAR): Delete builtin support for
2055 `Vcharset_katakana_jisx0201'.
2057 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2059 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
2060 (Qisolated): New variable.
2061 (Qinitial): New variable.
2062 (Qmedial): New variable.
2063 (Qfinal): New variable.
2064 (Qvertical): New variable.
2065 (Qsmall): New variable.
2066 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
2067 `Qvertical' and `Qsmall'.
2068 (Qmojikyo_pj_[1 .. 21]): New variable.
2069 (syms_of_mule_charset): Add new symbols `isolated', `initial',
2070 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
2071 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
2074 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2076 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
2077 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
2078 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
2080 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2082 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
2083 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
2085 (Qjapanese_jisx0208_1990): New variable.
2086 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
2087 (complex_vars_of_mule_charset): Add new coded-charset
2088 `japanese-jisx0208-1990'.
2090 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
2091 (MIN_CHAR_JIS_X0208_1990): New macro.
2092 (MAX_CHAR_JIS_X0208_1990): New macro.
2094 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2096 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
2097 coded-charset is not found.
2099 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
2101 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
2102 (Fdefine_char): Use `Fmake_char'.
2104 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2106 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
2107 (Vcharset_hiragana_jisx0208): Deleted.
2108 (Vcharset_katakana_jisx0208): Deleted.
2109 (Qideograph_daikanwa): New variable.
2110 (Qhiragana_jisx0208): Deleted.
2111 (Qkatakana_jisx0208): Deleted.
2112 (split_builtin_char): Split `ideograph-daikanwa'.
2113 (Fsplit_char): New implementation for UTF-2000.
2114 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
2115 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
2116 (complex_vars_of_mule_charset): Add new coded-charset
2117 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
2118 `katakana-jisx0208'.
2120 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
2121 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
2122 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
2123 (MIN_CHAR_DAIKANWA): New macro.
2124 (MAX_CHAR_DAIKANWA): New macro.
2126 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2128 * data.c (Fstring_to_number): Don't recognize floating point if
2131 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
2133 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
2135 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2137 * mule-charset.c (Qsquare): New variable.
2138 (to_char_code): Add `Qsquare'.
2139 (syms_of_mule_charset): Add new symbol `square'.
2141 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2143 * mule-charset.c (Qcircle): New variable.
2144 (to_char_code): Add `Qcircle'.
2145 (syms_of_mule_charset): Add new symbol `circle'.
2147 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2149 * mule-charset.c (Qfont): New variable.
2150 (to_char_code): Add `Qfont'.
2151 (syms_of_mule_charset): Add new symbol `font'.
2153 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2155 * mule-charset.c (Qsub): New variable.
2156 (to_char_code): Add `Qsub'.
2157 (syms_of_mule_charset): Add new symbol `sub'.
2159 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2161 * mule-charset.c (Fput_char_attribute): Convert each element of
2162 VALUE to GL position if ATTRIBUTE is a GR-set,
2164 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
2166 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
2167 coded-charset is a GR-set.
2169 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2171 * mule-charset.c (Fput_char_attribute): Check each element of
2172 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
2174 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2176 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
2178 (Qethiopic_ucs): New variable in UTF-2000.
2179 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
2180 (complex_vars_of_mule_charset): Add new coded-charset
2181 `ethiopic-ucs' in UTF-2000.
2183 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
2184 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2186 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
2188 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
2190 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2192 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
2195 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2197 * mule-charset.c (Vcharacter_variant_table): New variable.
2198 (Q_ucs): New variable.
2199 (Fchar_variants): New function.
2200 (Fput_char_attribute): Register `->ucs' value to
2201 `Vcharacter_variant_table'.
2202 (syms_of_mule_charset): Add new function `char-variants' and new
2204 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
2206 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2208 * mule-charset.c (get_char_code_table): Allow negative character
2210 (put_char_code_table): Likewise.
2211 (Vcharacter_composition_table): New variable.
2212 (Q_decomposition): New variable.
2213 (Qwide): New variable.
2214 (Qnarrow): New variable.
2215 (Qcompat): New variable.
2216 (QnoBreak): New variable.
2217 (Qsuper): New variable.
2218 (Qfraction): New variable.
2219 (to_char_code): New function.
2220 (Fget_composite_char): New function.
2221 (Fput_char_attribute): Register `->decomposition' value to
2222 `Vcharacter_composition_table'.
2223 (syms_of_mule_charset): Add new function `get-composite-char', new
2224 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
2225 `super' and `fraction'.
2226 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
2228 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2230 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
2231 character; copy the return value.
2233 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2235 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
2237 * mule-charset.c (range_charset_code_point): Must use make_int.
2238 (split_builtin_char): New function.
2240 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2242 * mule-charset.c (char_byte_table): Change name from
2243 "char-code-table" to "char-byte-table".
2244 (mark_char_code_table): New function.
2245 (char_code_table_equal): New function.
2246 (char_code_table_hash): New function.
2247 (char_code_table_description): New constant.
2248 (char_code_table): New type.
2249 (make_char_code_table): New function.
2250 (copy_char_code_table): New function.
2251 (get_char_code_table): Modify for `char_code_table' type.
2252 (put_char_code_table): Likewise.
2253 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
2256 * char-ucs.h (char_code_table): New type.
2257 (XCHAR_CODE_TABLE): New macro.
2258 (XSETCHAR_CODE_TABLE): New macro.
2259 (CHAR_CODE_TABLE_P): New macro.
2260 (GC_CHAR_CODE_TABLE_P): New macro.
2261 (struct Lisp_Char_Code_Table): New structure.
2263 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2265 * mule-charset.c (Fmake_charset): Setup byte_offset for
2268 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
2270 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
2273 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2275 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
2278 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2280 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
2281 charset, it is regarded as a charset.
2282 (put_char_attribute): New function in UTF-2000.
2283 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
2284 charset, mapping-table of the charset is modified.
2285 (Fdefine_char): New function in UTF-2000.
2286 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
2287 `Fput_char_attribute'.
2288 (syms_of_mule_charset): Add new function `define-char' and new
2289 symbol `ucs' in UTF-2000.
2290 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
2292 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2294 * mule-charset.c (Fcharset_name): Define `byte_offset' in
2295 non-UTF-2000 configuration.
2297 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2299 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
2300 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
2302 * mule-charset.c (mark_charset): `cs->encoding_table' has been
2304 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
2305 (Fset_charset_mapping_table): Likewise.
2307 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
2308 (CHARSET_ENCODING_TABLE): Delete.
2309 (XCHARSET_ENCODING_TABLE): Delete.
2310 (charset_code_point): New interface.
2312 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2314 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
2315 instead of `charset_get_byte1' and `charset_get_byte2'.
2317 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
2318 (charset_get_byte2): Deleted.
2320 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2322 * char-ucs.h (SPLIT_CHAR): New inline function.
2323 (breakup_char_1): Use `SPLIT_CHAR'.
2325 * mule-charset.c (range_charset_code_point): New function.
2326 (charset_code_point): New function.
2328 * char-ucs.h (range_charset_code_point): New interface.
2329 (breakup_char_1): Use `range_charset_code_point'.
2331 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2333 * mule-charset.c (Fmake_charset): Delete unused local variable
2336 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2337 (breakup_char_1): Find a charset and code-point in
2338 `Vcharacter_attribute_table'.
2340 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2342 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2345 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2347 * mule-charset.c (Vcharacter_attribute_table): New variable.
2348 (Fchar_attribute_alist): New function.
2349 (Fget_char_attribute): New function.
2350 (Fput_char_attribute): New function.
2351 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2353 (syms_of_mule_charset): Add new function `char-attribute-alist',
2354 `get-char-attribute' and `put-char-attribute'.
2355 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2357 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2359 * mule-charset.c (Fmake_charset): Just use
2360 `get_unallocated_leading_byte'.
2362 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2363 sets; don't use final-byte based number for private sets.
2365 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2367 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2370 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2372 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2375 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2377 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2378 of `CHAR_LEADING_BYTE' in UTF-2000.
2380 * insdel.c (find_charsets_in_bufbyte_string): Use
2381 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2382 (find_charsets_in_emchar_string): Likewise.
2384 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2385 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2387 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2388 (CHAR_CHARSET_ID): New macro.
2390 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2392 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2393 charset-id - MIN_LEADING_BYTE.
2394 (put_char_table): Likewise.
2396 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2398 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2399 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2400 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2401 (CHARSET_ID_OFFSET): New macro.
2402 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2403 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2404 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2405 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2407 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2409 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2410 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2411 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2412 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2413 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2415 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2417 * mule-charset.c (next_allocated_leading_byte): New variable in
2419 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2420 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2421 (get_unallocated_leading_byte): Simply use
2422 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2423 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2426 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2427 (MAX_LEADING_BYTE_PRIVATE): New macro.
2428 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2429 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2431 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2433 * mule-charset.c (Fmake_charset): Allocate final-byte based
2434 charset-id for 94-set, 96-set and 94x94-set.
2436 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2438 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2440 (Fmake_charset): Likewise.
2441 (complex_vars_of_mule_charset): Modify the font registry of
2442 `ucs-bmp' not to match `Ethiopic-Unicode'.
2444 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2446 * mule-charset.c (complex_vars_of_mule_charset): Add font
2447 registory of `ucs-bmp'.
2449 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2451 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2452 coded-charsets in `default-coded-charset-priority-list' when
2453 breaking up a character.
2455 * mule-charset.c (Vcharset_latin_viscii): New variable.
2456 (Qlatin_viscii): New variable.
2457 (make_charset): Don't use `decoding_table'.
2458 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2460 (Fset_charset_mapping_table): New implementation.
2461 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2462 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2463 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2464 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2465 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2466 charset `latin_viscii'.
2468 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2469 (CHARSET_TYPE_94X94): Change to 1 from 2.
2470 (CHARSET_TYPE_96): Change to 2 from 1.
2471 (CHARSET_TYPE_128): New macro.
2472 (CHARSET_TYPE_128X128): Change to 5 from 4.
2473 (CHARSET_TYPE_256): New macro.
2474 (CHARSET_TYPE_256X256): Change to 7 from 5.
2475 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2477 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2479 * text-coding.c (char_encode_shift_jis): Refer
2480 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2481 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2483 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2484 (char_byte_table_equal): New function in UTF-2000.
2485 (char_byte_table_hash): New function in UTF-2000.
2486 (char_byte_table_description): New constant in UTF-2000.
2487 (char_byte_table): New type in UTF-2000.
2488 (make_char_byte_table): New function in UTF-2000.
2489 (copy_char_byte_table): New function in UTF-2000.
2490 (make_char_code_table): New macro in UTF-2000.
2491 (get_char_code_table): New function in UTF-2000.
2492 (put_char_code_table): New function in UTF-2000.
2493 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2494 (charset_description): Add setting in UTF-2000.
2495 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2496 `CHARSET_TO_BYTE1_TABLE(cs)'.
2497 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2498 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2499 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2500 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2501 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2502 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2503 `CHARSET_TO_BYTE2_TABLE(cs)'.
2505 * char-ucs.h (char_byte_table): New type.
2506 (XCHAR_BYTE_TABLE): New macro.
2507 (XSETCHAR_BYTE_TABLE): New macro.
2508 (CHAR_BYTE_TABLE_P): New macro.
2509 (GC_CHAR_BYTE_TABLE_P): New macro.
2510 (struct Lisp_Char_Byte_Table): New structure.
2511 (get_char_code_table): New interface.
2512 (Emchar_to_byte_table): Deleted.
2513 (get_byte_from_character_table): Deleted.
2514 (struct Lisp_Charset): Add `encoding_table'; delete
2515 `to_byte1_table' and `to_byte2_table'.
2516 (CHARSET_ENCODING_TABLE): New macro.
2517 (CHARSET_TO_BYTE1_TABLE): Deleted.
2518 (CHARSET_TO_BYTE2_TABLE): Deleted.
2519 (XCHARSET_ENCODING_TABLE): New macro.
2520 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2521 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2523 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2525 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2526 `vietnamese-viscii-*'.
2528 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2530 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2531 (Qvietnamese_viscii_upper): New variable.
2532 (Fdefine_charset_alias): New function.
2533 (syms_of_mule_charset): Add new function `define-charset-alias'.
2534 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2535 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2538 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2540 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2541 (MAX_CHAR_OBS_94x94): New macro.
2542 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2545 * mule-charset.c (put_byte_from_character_table): Change unit size
2547 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2549 (Fmake_reverse_direction_charset): Modify dummy argument of
2550 `make_charset' for non-UTF-2000 environment.
2552 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2554 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2556 * mule-charset.c (destroy_byte_from_character_table): New macro.
2557 (latin_jisx0201_to_ucs): Deleted.
2558 (latin_iso8859_2_to_ucs): Deleted.
2559 (latin_iso8859_3_to_ucs): Deleted.
2560 (latin_iso8859_4_to_ucs): Deleted.
2561 (latin_iso8859_9_to_ucs): Deleted.
2562 (latin_viscii_lower_to_ucs): Deleted.
2563 (latin_viscii_upper_to_ucs): Deleted.
2564 (mark_charset): Mark `cs->decoding_table'.
2565 (Fcharset_mapping_table): Fix DOC-string.
2566 (Fset_charset_mapping_table): New function.
2567 (syms_of_mule_charset): Add nwe function
2568 `set-charset-mapping-table'.
2569 (complex_vars_of_mule_charset): Don't setup and use
2572 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2574 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2577 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2579 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2580 (Vcharset_katakana_jisx0208): New variable.
2581 (Qhiragana_jisx0208): New variable.
2582 (Qkatakana_jisx0208): New variable.
2583 (make_charset): Add new argument `byte_offset'.
2584 (charset_get_byte1): Modify for new coded-charset definition; use
2585 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2586 `XCHARSET_BYTE_OFFSET'.
2587 (Fmake_charset): Modify for `make_charset'.
2588 (Fmake_reverse_direction_charset): Likewise.
2589 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2590 `katakana-jisx0208'.
2591 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2592 `.' in font registry of charset `katakana-jisx0201',
2593 `latin-jisx0201', `vietnamese-viscii-lower' and
2594 `vietnamese-viscii-upper'; modify DOC-string of charset
2595 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2596 registry of charset `japanese-jisx0208' not to use font for JIS
2597 X0208:1990; add new charset `hiragana-jisx0208' and
2598 `katakana-jisx0208'.
2600 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2601 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2602 (struct Lisp_Charset): Add `byte_offset'.
2603 (CHARSET_BYTE_OFFSET): New macro.
2604 (XCHARSET_UCS_MIN): New macro.
2605 (XCHARSET_UCS_MAX): New macro.
2606 (XCHARSET_CODE_OFFSET): New macro.
2607 (XCHARSET_BYTE_OFFSET): New macro.
2608 (MIN_CHAR_HIRAGANA): New macro.
2609 (MAX_CHAR_HIRAGANA): New macro.
2610 (MIN_CHAR_KATAKANA): New macro.
2611 (MAX_CHAR_KATAKANA): New macro.
2612 (MAKE_CHAR): Modify for new coded-charset definition; use
2613 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2614 `XCHARSET_BYTE_OFFSET'.
2616 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2618 * mule-charset.c (CHAR96): Deleted.
2619 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2621 (latin_iso8859_2_to_ucs): Likewise.
2622 (latin_iso8859_3_to_ucs): Likewise.
2623 (latin_iso8859_4_to_ucs): Likewise.
2624 (latin_iso8859_9_to_ucs): Likewise.
2625 (latin_viscii_lower_to_ucs): Likewise.
2626 (latin_viscii_upper_to_ucs): Likewise.
2627 (latin_tcvn5712_to_ucs): Commented out.
2628 (make_charset): Change type of argument `decoding_table' from
2629 <Emchar*> to <Lisp_Object> [vector of characters].
2630 (Fmake_charset): Modify for `make_charset'.
2631 (Fmake_reverse_direction_charset): Likewise.
2632 (Fcharset_mapping_table): New function in UTF-2000.
2633 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2635 (complex_vars_of_mule_charset): Modify for type change of
2636 `*_to_ucs'; modify for `make_charset'.
2638 * char-ucs.h (struct Lisp_Charset): Change type of
2639 `decoding_table' from <Emchar*> to <Lisp_Object>.
2640 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2642 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2644 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2645 error with non-UTF-2000-Mule.
2647 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2649 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2651 (Vcharset_chinese_cns11643_4): Likewise.
2652 (Vcharset_chinese_cns11643_5): Likewise.
2653 (Vcharset_chinese_cns11643_6): Likewise.
2654 (Vcharset_chinese_cns11643_7): Likewise.
2655 (Qchinese_cns11643_3): Likewise.
2656 (Qchinese_cns11643_4): Likewise.
2657 (Qchinese_cns11643_5): Likewise.
2658 (Qchinese_cns11643_6): Likewise.
2659 (Qchinese_cns11643_7): Likewise.
2660 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2661 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2662 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2663 (complex_vars_of_mule_charset): Likewise.
2665 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2667 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2669 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2670 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2672 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2674 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2676 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2677 (breakup_char_1): Likewise.
2679 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2680 one of them includes the specified character.
2682 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2684 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2686 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2688 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2690 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2692 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2693 definition for non-UTF-2000 Mule.
2694 (latin_iso8859_3_to_ucs): Likewise.
2695 (latin_iso8859_4_to_ucs): Likewise.
2696 (latin_iso8859_9_to_ucs): Likewise.
2697 (latin_jisx0201_to_ucs): Likewise.
2698 (MIN_CHAR_THAI): Likewise.
2699 (MAX_CHAR_THAI): Likewise.
2700 (MIN_CHAR_GREEK): Likewise.
2701 (MAX_CHAR_GREEK): Likewise.
2702 (MIN_CHAR_HEBREW): Likewise.
2703 (MAX_CHAR_HEBREW): Likewise.
2704 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2705 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2706 (MIN_CHAR_CYRILLIC): Likewise.
2707 (MAX_CHAR_CYRILLIC): Likewise.
2709 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2711 * char-ucs.h (breakup_char_1): Use
2712 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2713 thai-tis620 and katakana-jisx0201 area.
2715 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2717 * char-ucs.h (breakup_char_1): Use
2718 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2721 * text-coding.c (reset_encoding_stream): Fixed.
2722 (char_encode_ucs4): Delete `& 255'.
2724 * char-ucs.h (breakup_char_1): Use
2725 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2727 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2729 * file-coding.c (Fmake_coding_system): Don't set up
2730 `codesys->fixed.size'.
2731 (encode_coding_no_conversion): Don't refer
2732 `str->codesys->fixed.size'.
2734 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2736 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2737 (latin_a_char_to_byte1): Deleted.
2738 (latin_a_char_to_byte2): Deleted.
2740 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2742 * mule-charset.c (make_charset): Add new argument `ucs_min',
2743 `ucs_max' and `code_offset'.
2744 (charset_get_byte1): New implementation [delete specific charset
2745 depended implementations].
2746 (Fmake_charset): Modify for `make_charset'.
2747 (Fmake_reverse_direction_charset): Likewise.
2748 (complex_vars_of_mule_charset): Likewise.
2750 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2752 (CHARSET_UCS_MIN): New macro.
2753 (CHARSET_UCS_MAX): New macro.
2754 (CHARSET_CODE_OFFSET): New macro.
2755 (MAKE_CHAR): Delete charset depended definitions [except
2758 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2760 * char-ucs.h (breakup_char_1): Use
2761 `Vdefault_coded_charset_priority_list' for C0-Controls,
2762 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2764 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2766 * char-ucs.h (charset_get_byte1): New function.
2767 (XCHARSET_GET_BYTE1): Deleted.
2768 (charset_get_byte2): New function.
2769 (XCHARSET_GET_BYTE2): Deleted.
2770 (Vdefault_coded_charset_priority_list): New external variable.
2771 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
2772 `Vdefault_preferred_coded_charset_list'.
2774 * mule-charset.c (charset_get_byte1): New function.
2775 (charset_get_byte2): New function.
2776 (Vdefault_coded_charset_priority_list): New variable.
2777 (vars_of_mule_charset): Add new variable
2778 `default-coded-charset-priority-list'.
2780 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2782 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
2783 (XCHARSET_GET_BYTE2): New inline function.
2784 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
2785 `XCHARSET_GET_BYTE2'.
2787 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2789 * mule-charset.c (make_charset): Initialize
2790 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
2791 NULL if table is not defined.
2793 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2795 * text-coding.c (char_encode_shift_jis): Use
2796 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
2797 `ucs_to_latin_jisx0201'.
2799 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
2800 (ucs_to_latin_iso8859_2): Deleted.
2801 (ucs_to_latin_iso8859_3): Deleted.
2802 (ucs_to_latin_iso8859_4): Deleted.
2803 (ucs_to_latin_iso8859_9): Deleted.
2804 (ucs_to_latin_viscii_lower): Deleted.
2805 (ucs_to_latin_viscii_upper): Deleted.
2806 (ucs_to_latin_tcvn5712): Deleted.
2807 (make_charset): Add new argument `decoding_table'; set up
2808 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
2809 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
2810 `decoding_table' is defined in UTF-2000.
2811 (Fmake_charset): Modify for `make_charset'.
2812 (Fmake_reverse_direction_charset): Likewise.
2813 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
2814 and `GENERATE_96_SET'.
2816 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
2817 (ucs_to_latin_jisx0201): Deleted.
2818 (latin_iso8859_2_to_ucs): Deleted.
2819 (ucs_to_latin_iso8859_2): Deleted.
2820 (latin_iso8859_3_to_ucs): Deleted.
2821 (ucs_to_latin_iso8859_3): Deleted.
2822 (latin_iso8859_4_to_ucs): Deleted.
2823 (ucs_to_latin_iso8859_4): Deleted.
2824 (latin_iso8859_9_to_ucs): Deleted.
2825 (ucs_to_latin_iso8859_9): Deleted.
2826 (latin_viscii_lower_to_ucs): Deleted.
2827 (ucs_to_latin_viscii_lower): Deleted.
2828 (latin_viscii_upper_to_ucs): Deleted.
2829 (ucs_to_latin_viscii_upper): Deleted.
2830 (struct Lisp_Charset): Renamed `encoding_table' to
2831 `to_byte1_table'; add `to_byte2_table'.
2832 (CHARSET_DECODING_TABLE): New macro.
2833 (CHARSET_TO_BYTE1_TABLE): New macro.
2834 (CHARSET_TO_BYTE2_TABLE): New macro.
2835 (XCHARSET_DECODING_TABLE): New macro.
2836 (XCHARSET_TO_BYTE1_TABLE): New macro.
2837 (XCHARSET_TO_BYTE2_TABLE): New macro.
2838 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
2840 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
2841 don't use `ucs_to_*' tables.
2843 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2845 * text-coding.c (Fmake_coding_system): Don't set up
2846 `codesys->fixed.size'.
2847 (encode_coding_no_conversion): Use `if' instead of `switch'.
2849 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
2851 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2853 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
2854 (Fmake_charset): Modify for `make_charset'.
2855 (Fmake_reverse_direction_charset): Likewise.
2856 (complex_vars_of_mule_charset): Likewise.
2858 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2860 * text-coding.c (char_encode_shift_jis): Use table
2861 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
2863 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2865 * text-coding.c (text_encode_generic): Use `if' instead of
2867 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
2870 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2872 * text-coding.c (encode_coding_sjis): Deleted.
2873 (char_encode_shift_jis): New function.
2874 (char_finish_shift_jis): New function.
2875 (reset_encoding_stream): Set up `encode_char' and `finish' for
2876 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
2877 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
2878 (char_encode_utf8): Treat `eol_type'.
2880 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2882 * file-coding.c (decode_coding_iso2022): Use
2883 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
2885 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2887 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2890 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2892 * char-lb.h (CHAR_COLUMNS): New macro.
2894 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2896 * text-coding.c (char_encode_ucs4): New function.
2897 (char_finish_ucs4): New function.
2898 (encode_coding_ucs4): Deleted.
2899 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
2900 (text_encode_generic): Delete local variable `charset' and `half'.
2901 (ucs_to_mule_table): Deleted.
2902 (mule_to_ucs_table): Deleted.
2903 (Fset_ucs_char): Deleted.
2904 (ucs_to_char): Deleted.
2905 (Fucs_char): Deleted.
2906 (Fset_char_ucs): Deleted.
2907 (Fchar_ucs): Deleted.
2908 (decode_ucs4): Deleted.
2909 (mule_char_to_ucs4): Deleted.
2910 (encode_ucs4): Deleted.
2911 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
2912 (decode_coding_utf8): Likewise.
2913 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2914 (char_encode_iso2022): Fixed.
2915 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2916 `Fset_char_ucs' and `Fchar_ucs'.
2917 (complex_vars_of_file_coding): Don't initialize
2918 `ucs_to_mule_table'.
2920 * objects-tty.c (tty_initialize_font_instance): Don't use
2923 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2926 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2927 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2929 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2930 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2931 (emchar_string_displayed_columns): Likewise.
2933 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2934 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2935 (string_column_at_point): Likewise.
2936 (Fmove_to_column): Likewise.
2938 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2939 `encoding_table' and `decoding_table'.
2940 (CHARSET_REP_BYTES): Deleted.
2941 (XCHARSET_REP_BYTES): Deleted.
2942 (XCHARSET_COLUMNS): Deleted.
2943 (CHAR_COLUMNS): New macro.
2944 (lookup_composite_char): Deleted unconditionally.
2945 (composite_char_string): Likewise.
2947 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2949 * char-ucs.h (Emchar_to_byte_table): New type.
2950 (get_byte_from_character_table): New function interface.
2951 (Vcharset_latin_jisx0201): New variable.
2952 (latin_jisx0201_to_ucs): New variable.
2953 (ucs_to_latin_jisx0201): New variable.
2954 (Vcharset_latin_iso8859_2): New variable.
2955 (latin_iso8859_2_to_ucs): New variable.
2956 (ucs_to_latin_iso8859_2): New variable.
2957 (Vcharset_latin_iso8859_3): New variable.
2958 (latin_iso8859_3_to_ucs): New variable.
2959 (ucs_to_latin_iso8859_3): New variable.
2960 (Vcharset_latin_iso8859_4): New variable.
2961 (latin_iso8859_4_to_ucs): New variable.
2962 (ucs_to_latin_iso8859_4): New variable.
2963 (Vcharset_latin_iso8859_9): New variable.
2964 (latin_iso8859_9_to_ucs): New variable.
2965 (ucs_to_latin_iso8859_9): New variable.
2966 (Vcharset_latin_viscii_lower): New variable.
2967 (latin_viscii_lower_to_ucs): New variable.
2968 (ucs_to_latin_viscii_lower): New variable.
2969 (Vcharset_latin_viscii_upper): New variable.
2970 (latin_viscii_upper_to_ucs): New variable.
2971 (ucs_to_latin_viscii_upper): New variable.
2972 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2973 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2974 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2975 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2976 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2977 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2978 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2979 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2980 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2981 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2983 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2984 (Vcharset_latin_viscii_upper): New variable.
2985 (make_byte_from_character_table): New function.
2986 (put_byte_from_character_table): New function.
2987 (get_byte_from_character_table): New function.
2988 (CHAR96): New macro.
2989 (ucs_to_latin_jisx0201): New variable.
2990 (latin_jisx0201_to_ucs): New variable.
2991 (ucs_to_latin_iso8859_2): New variable.
2992 (latin_iso8859_2_to_ucs): New variable.
2993 (ucs_to_latin_iso8859_3): New variable.
2994 (latin_iso8859_3_to_ucs): New variable.
2995 (ucs_to_latin_iso8859_4): New variable.
2996 (latin_iso8859_4_to_ucs): New variable.
2997 (ucs_to_latin_iso8859_9): New variable.
2998 (latin_iso8859_9_to_ucs): New variable.
2999 (ucs_to_latin_viscii_lower): New variable.
3000 (latin_viscii_lower_to_ucs): New variable.
3001 (ucs_to_latin_viscii_upper): New variable.
3002 (latin_viscii_upper_to_ucs): New variable.
3003 (ucs_to_latin_tcvn5712): New variable.
3004 (latin_tcvn5712_to_ucs): New variable.
3005 (Qlatin_viscii_lower): New variable.
3006 (Qlatin_viscii_upper): New variable.
3007 (syms_of_mule_charset): Set up new symbol
3008 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
3009 (complex_vars_of_mule_charset): Set up new charset
3010 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
3011 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
3012 `ucs_to_<CHARSET>' tables.
3014 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3016 * text-coding.c: New file.
3018 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3020 * mule-charset.c (Fmake_char): Fix problem of 256-set.
3022 * char-ucs.h (Vcharset_ucs_bmp): New variable.
3023 (MAKE_CHAR): Modify for `ucs-bmp'.
3024 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
3025 non-MULE characters of BMP.
3027 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3029 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3032 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
3035 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
3036 - Include character.h for `CHAR_ASCII_P'.
3038 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
3040 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
3041 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
3043 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
3044 (BYTE_C0_P): Likewise.
3045 (BYTE_C1_P): Likewise.
3046 (Lstream_get_emchar_1): Likewise.
3047 (Lstream_fput_emchar): Likewise.
3048 (Lstream_funget_emchar): Likewise.
3049 (copy_internal_to_external): Likewise.
3050 (copy_external_to_internal): Likewise.
3052 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
3053 (BYTE_C0_P): Likewise.
3054 (BYTE_C1_P): Likewise.
3055 (Lstream_get_emchar_1): Likewise.
3056 (Lstream_fput_emchar): Likewise.
3057 (Lstream_funget_emchar): Likewise.
3058 (copy_internal_to_external): Likewise.
3059 (copy_external_to_internal): Likewise.
3061 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
3062 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3064 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
3065 (BYTE_ASCII_P): Moved to mb-1byte.h.
3067 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
3069 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
3071 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
3072 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
3073 (VALID_CHARPTR_P): Moved to mb-*byte.h.
3074 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3075 (VALIDATE_CHARPTR_FORWARD): Likewise.
3076 (simple_charptr_emchar): Moved to mb-multibyte.h.
3077 (simple_set_charptr_emchar): Likewise.
3078 (simple_charptr_copy_char): Likewise.
3079 (non_ascii_charptr_emchar): Likewise.
3080 (non_ascii_set_charptr_emchar): Likewise.
3081 (non_ascii_charptr_copy_char): Likewise.
3082 (charptr_emchar): Moved to mb-*byte.h.
3083 (set_charptr_emchar): Likewise.
3084 (charptr_copy_char): Likewise.
3086 * mb-1byte.h, mb-multibyte.h: New files.
3088 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3090 * mb-utf-8.h (MULTIBYTE): New macro.
3091 (MAX_EMCHAR_LEN): Moved from buffer.h.
3092 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
3094 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
3096 * mb-lb.h, multibyte.h: New files.
3098 * char-1byte.h (Charset_ID): Moved from buffer.h.
3099 (MIN_LEADING_BYTE): Likewise.
3100 (LEADING_BYTE_ASCII): Likewise.
3101 (NUM_LEADING_BYTES): Likewise.
3102 (CHARSETP): Likewise.
3103 (CHARSET_BY_LEADING_BYTE): Likewise.
3104 (XCHARSET_LEADING_BYTE): Likewise.
3105 (XCHARSET_GRAPHIC): Likewise.
3106 (XCHARSET_COLUMNS): Likewise.
3107 (XCHARSET_DIMENSION): Likewise.
3108 (CHAR_CHARSET): Likewise.
3109 (CHAR_LEADING_BYTE): Likewise.
3110 (BREAKUP_CHAR): Likewise.
3111 (Vcharset_ascii): Likewise.
3113 * buffer.h: Include multibyte.h unconditionally.
3114 (VALID_CHARPTR_P): Moved to multibyte.h.
3115 (ASSERT_VALID_CHARPTR): Likewise.
3116 (REAL_INC_CHARPTR): Likewise.
3117 (REAL_INC_CHARBYTIND): Likewise.
3118 (REAL_DEC_CHARPTR): Likewise.
3119 (INC_CHARPTR): Likewise.
3120 (INC_CHARBYTIND): Likewise.
3121 (DEC_CHARPTR): Likewise.
3122 (VALIDATE_CHARPTR_BACKWARD): Likewise.
3123 (VALIDATE_CHARPTR_FORWARD): Likewise.
3124 (charptr_n_addr): Likewise.
3125 (MAX_EMCHAR_LEN): Moved to mb-*.h.
3126 (simple_charptr_emchar): Moved to multibyte.h.
3127 (simple_set_charptr_emchar): Likewise.
3128 (simple_charptr_copy_char): Likewise.
3129 (non_ascii_charptr_emchar): Likewise.
3130 (non_ascii_set_charptr_emchar): Likewise.
3131 (non_ascii_charptr_copy_char): Likewise.
3132 (charptr_emchar): Likewise.
3133 (set_charptr_emchar): Likewise.
3134 (charptr_copy_char): Likewise.
3135 (charptr_emchar_n): Likewise.
3136 (Charset_ID): Moved to char-1byte.h.
3137 (Vcharset_ascii): Likewise.
3138 (CHAR_CHARSET): Likewise.
3139 (CHAR_LEADING_BYTE): Likewise.
3140 (LEADING_BYTE_ASCII): Likewise.
3141 (NUM_LEADING_BYTES): Likewise.
3142 (MIN_LEADING_BYTE): Likewise.
3143 (CHARSETP): Likewise.
3144 (CHARSET_BY_LEADING_BYTE): Likewise.
3145 (XCHARSET_LEADING_BYTE): Likewise.
3146 (XCHARSET_GRAPHIC): Likewise.
3147 (XCHARSET_COLUMNS): Likewise.
3148 (XCHARSET_DIMENSION): Likewise.
3149 (BREAKUP_CHAR): Likewise.
3151 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3153 * character.h: Add document about interface for characters.
3155 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
3156 (MAKE_CHAR): Delete comment about
3157 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
3158 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
3159 (BREAKUP_CHAR): Modify name of arguments.
3160 (CHAR_CHARSET): Modify name of argument.
3162 * buffer.h: Delete document about Emchar accessors.
3164 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3166 * character.h (CHAR_INTP): Moved from buffer.h
3167 (CHAR_OR_CHAR_INTP): Likewise.
3168 (XCHAR_OR_CHAR_INT): Likewise.
3169 (CHECK_CHAR_COERCE_INT): Likewise.
3171 * buffer.h (CHAR_INTP): Moved to character.h
3172 (CHAR_OR_CHAR_INTP): Likewise.
3173 (XCHAR_OR_CHAR_INT): Likewise.
3174 (CHECK_CHAR_COERCE_INT): Likewise.
3176 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3179 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
3180 - Include char-1byte.h, char-lb.h or char-ucs.h.
3182 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
3184 * buffer.h: Include character unconditionally.
3185 (valid_char_p): Moved to char-*.h.
3186 (non_ascii_valid_char_p): Moved to char-lb.h.
3188 * char-1byte.h, char-lb.h, char-ucs.h: New files.
3190 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3192 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
3193 in UTF-2000 because it is not ported yet and not to use
3194 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
3195 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
3196 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
3198 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
3199 (CHAR_ASCII_P): Moved from character.h.
3201 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
3202 (CHAR_ASCII_P): Likewise.
3203 (CHAR_FIELD1_MASK): Deleted.
3204 (CHAR_FIELD2_MASK): Deleted.
3205 (CHAR_FIELD3_MASK): Deleted.
3206 (MAX_CHAR_BASIC_LATIN): New macro.
3207 (CHAR_FIELD1): Deleted.
3208 (CHAR_FIELD2_INTERNAL): Deleted.
3209 (CHAR_FIELD3_INTERNAL): Deleted.
3210 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
3211 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
3212 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
3213 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
3214 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
3215 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
3216 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
3217 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
3218 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
3219 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
3220 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
3221 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
3222 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
3223 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
3224 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
3225 (MIN_CHAR_COMPOSITION): Deleted.
3226 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
3227 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
3229 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3231 * buffer.h: Include mb-utf-8.h in UTF-2000.
3233 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
3235 * mb-utf-8.h: New file.
3237 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
3239 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
3242 * mule-charset.h, buffer.h (Charset_ID): New type.
3244 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3246 * mule-canna.c (c2mu): Use `MAKE_CHAR',
3247 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
3248 instead of `MULE_CHAR_PRIVATE_OFFSET',
3249 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
3250 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
3251 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
3253 * character.h (Vcharset_japanese_jisx0212): New variable
3256 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
3258 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
3259 (charset_by_attributes): Delete array about direction.
3260 (latin_a_char_to_charset): New variable in UTF-2000.
3261 (latin_a_char_to_byte1): New variable in UTF-2000.
3262 (latin_a_char_to_byte2): New variable in UTF-2000.
3263 (Qucs_bmp): New variable.
3264 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
3266 (next_allocated_2_byte_leading_byte): Likewise.
3267 (non_ascii_set_charptr_emchar): Likewise.
3268 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
3269 `CHARSET_TYPE_256X256' in UTF-2000; modify for
3270 `charset_by_attributes'.
3271 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
3272 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
3273 and `CHARSET_BY_LEADING_BYTE'.
3274 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
3275 `utf-2000-version' to `vars_of_mule_charset'.
3276 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
3277 define `leading-code-private-11' in UTF-2000; move setting of
3278 `utf-2000-version' from `syms_of_mule_charset'.
3279 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
3282 * character.h (Charset_ID): New type.
3283 (LEADING_BYTE_UCS_BMP): New macro.
3284 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
3285 (CHARSET_ID_OFFSET_94): New macro.
3286 (MIN_CHARSET_ID_PRIVATE_94): New macro.
3287 (MAX_CHARSET_ID_PRIVATE_94): New macro.
3288 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
3290 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
3291 (LEADING_BYTE_LATIN_JISX0201): Likewise.
3292 (CHARSET_ID_OFFSET_96): New macro.
3293 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
3294 CHARSET_ID_OFFSET_96 and final-byte.
3295 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
3296 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
3297 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
3298 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
3299 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
3300 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
3301 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
3302 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
3303 (LEADING_BYTE_THAI_TIS620): Likewise.
3304 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
3305 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
3306 (CHARSET_ID_OFFSET_94x94): New macro.
3307 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
3308 CHARSET_ID_OFFSET_94x94 and final-byte.
3309 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
3310 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
3311 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
3312 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
3313 (LEADING_BYTE_CHINESE_GB2312): Likewise.
3314 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
3315 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
3316 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
3317 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
3318 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
3319 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
3320 (CHARSET_TYPE_128X128): New macro.
3321 (CHARSET_TYPE_256X256): New macro.
3322 (XCHARSET_PRIVATE_P): Delete unconditionally.
3323 (charset_by_attributes): Delete array about direction.
3324 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3325 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3326 (MIN_CHAR_94): New macro.
3327 (MAX_CHAR_94): New macro.
3328 (MIN_CHAR_96): New macro.
3329 (MAX_CHAR_96): New macro.
3330 (MIN_CHAR_94x94): New macro.
3331 (MAX_CHAR_94x94): New macro.
3332 (MIN_CHAR_96x96): New macro.
3333 (MAX_CHAR_96x96): New macro.
3334 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3335 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3336 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3338 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3339 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3340 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3341 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3342 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3343 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3344 `XCHARSET_LEADING_BYTE' to make code-point.
3345 (latin_a_char_to_charset): New variable.
3346 (latin_a_char_to_byte1): New variable.
3347 (latin_a_char_to_byte2): New variable.
3348 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3349 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3350 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3352 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3353 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3354 (find_charsets_in_emchar_string): Likewise.
3355 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3357 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3359 (decode_coding_iso2022): Likewise.
3361 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3364 * redisplay.c (redisplay_text_width_emchar_string): Use
3365 `Charset_ID' instead of `unsigned char'.
3366 (redisplay_frame_text_width_string): Likewise.
3368 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3371 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3372 instead of `unsigned char'.
3373 (face_cachel_charset_font_metric_info): Likewise.
3375 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3376 (get_non_ascii_char_table_value): Likewise.
3377 (get_char_table): Likewise.
3378 (put_char_table): Likewise.
3379 (map_over_other_charset): Likewise.
3380 (map_char_table): Likewise.
3382 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3383 instead of `unsigned char'.
3385 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3387 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3388 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3390 * mule-charset.c (leading_code_private_11): Don't define in
3393 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3394 in UTF-2000 because it is not ported yet and not to use
3395 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3397 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3399 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3401 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3403 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3406 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3407 of unsigned char to store leading-byte.
3409 * chartab.c (get_non_ascii_char_table_value): Don't use
3410 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3412 * file-coding.c (encode_coding_big5): Delete bogus implementation
3415 * character.h (LEADING_BYTE_*): Delete definition for
3417 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3418 (LEADING_BYTE_PREFIX_P): Deleted.
3419 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3420 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3421 (BUFBYTE_LEADING_BYTE_P): Deleted.
3422 (CHARSET_PRIVATE_P): Deleted unconditionally.
3423 (rep_bytes_by_first_byte): Deleted unconditionally.
3424 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3425 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3426 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3427 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3428 (CHAR_FIELD2): Deleted.
3429 (CHAR_FIELD3): Deleted.
3430 (MAKE_CHAR): Delete definition for non-UTF-2000.
3431 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3432 (breakup_char_1): New implementation.
3433 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3434 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3436 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3438 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3441 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3443 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3444 (CHARSET_PRIVATE_P): Likewise.
3445 (XCHARSET_PRIVATE_P): Likewise.
3446 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3448 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3450 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3452 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3454 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3455 (NUM_LEADING_BYTES): Changed from 128 to 256.
3456 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3457 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3459 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3461 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3463 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3464 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3465 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3466 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3467 (Qchinese_cns11643_3): New variable in UTF2000.
3468 (Qchinese_cns11643_4): New variable in UTF2000.
3469 (Qchinese_cns11643_5): New variable in UTF2000.
3470 (Qchinese_cns11643_6): New variable in UTF2000.
3471 (Qchinese_cns11643_7): New variable in UTF2000.
3472 (syms_of_mule_charset): Define `chinese-cns11643-3',
3473 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3474 and `chinese-cns11643-7' in UTF2000.
3475 (vars_of_mule_charset): Initialize
3476 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3478 (complex_vars_of_mule_charset): Setup charset
3479 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3480 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3482 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3484 * mule-charset.c: Move setting for `leading-code-private-11' from
3485 `syms_of_mule_charset' to `vars_of_mule_charset'.
3487 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3489 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3490 and `NUM_LEADING_BYTES' in assert.
3492 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3494 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3496 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3497 `NUM_LEADING_BYTES' instead of 128.
3499 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3501 * mule-charset.h (charset_by_leading_byte): Use
3502 `NUM_LEADING_BYTES' instead of 128.
3503 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3505 * mule-charset.c (charset_by_leading_byte): Use
3506 `NUM_LEADING_BYTES' instead of 128.
3507 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3509 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3512 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * mule-charset.c (syms_of_mule_charset): Update to
3517 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3519 * file-coding.c (encode_coding_sjis): New implementation for
3520 UTF2000. (decode_coding_sjis): Ditto.
3522 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3524 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3525 Don't define in UTF2000.
3527 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3530 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3531 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3534 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3536 * config.h.in (CHAR_IS_UCS4): New macro.
3538 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3539 conventional MULE representation.
3540 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3542 * mule-charset.h: Reverted to original.
3544 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3545 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3546 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3548 * character.h: New file.
3550 * file-coding.c (Fmake_coding_system): Set 1 to
3551 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3553 (encode_coding_no_conversion): New implementation for UTF2000.
3555 * file-coding.h (struct Lisp_Coding_System): Add new member
3558 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3560 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3561 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3562 (encode_coding_iso2022): New implementation for UTF2000.
3564 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3566 * mule-canna.c (c2mu): New implementation for UTF2000.
3569 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3571 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3573 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3575 * file-coding.c (reset_encoding_stream): Set 0 to
3576 `str->iso2022.current_char_boundary' in UTF2000.
3577 (encode_utf8): Don't define in UTF2000.
3578 (encode_coding_utf8): New implementation for UTF-8 representation
3580 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3582 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3584 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3586 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3588 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3590 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3592 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3593 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3594 as UTF-8 in UTF2000.
3595 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3596 (non_ascii_valid_char_p): Don't define in UTF2000.
3597 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3598 (Lstream_get_emchar_1): Likewise.
3599 (utf-2000-version): New variable in UTF2000.
3601 * lread.c (read_escape): Add new reader `u'.
3603 * insdel.c (three_to_one_table): Don't define in UTF2000.
3604 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3605 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3607 (bytind_to_bufpos_func): Likewise.
3608 (buffer_mule_signal_inserted_region): Likewise.
3609 (vars_of_insdel): Don't initialize `three_to_one_table'.
3610 (init_buffer_text): Use `buf->text->mule_size' instead of
3611 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3614 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3615 UTF-8 representation in UTF2000.
3616 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3617 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3618 (decode_coding_iso2022): Don't define local variable `lb' in
3619 UTF2000; don't use LEADING_BYTE in UTF2000; use
3620 `DECODE_ADD_UCS_CHAR' in UTF2000.
3621 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3623 * config.h.in (UTF2000): New macro.
3625 * buffer.h (struct buffer_text): Add new member `mule_size' and
3626 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3627 (valid_char_p): Return always 1 in UTF2000.
3628 (MAX_EMCHAR_LEN): 6 in UTF2000.
3629 (three_to_one_table): Don't define in UTF2000.
3630 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3632 (real_bytind_to_bufpos): Likewise.
3634 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3636 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3638 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3639 representation change.
3640 (Vutf_2000_version): New variable.
3641 (leading_code_private_11): New variable.
3642 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3643 `leading-code-private-11'.
3645 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3646 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3647 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3648 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3649 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3650 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3651 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3652 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3653 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3654 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3655 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3656 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3657 (MIN_CHAR_GREEK): New macro.
3658 (MAX_CHAR_GREEK): New macro.
3659 (MIN_CHAR_CYRILLIC): New macro.
3660 (MAX_CHAR_CYRILLIC): New macro.
3661 (MIN_CHAR_HEBREW): New macro.
3662 (MAX_CHAR_HEBREW): New macro.
3663 (MIN_CHAR_THAI): New macro.
3664 (MAX_CHAR_THAI): New macro.
3665 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3666 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3667 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3668 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3669 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3670 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3671 (CHAR_FIELD2): New inline function.
3672 (CHAR_FIELD3): New inline function.
3673 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3674 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3675 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3676 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3677 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3678 (MIN_CHAR_COMPOSITION): Likewise.
3679 (CHAR_LEADING_BYTE): Modified for character representation change.
3680 (MAKE_CHAR): Likewise.
3682 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3683 (Vcharset_greek_iso8859_7): Likewise.
3684 (Vcharset_cyrillic_iso8859_5): Likewise.
3685 (Vcharset_hebrew_iso8859_8): Likewise.
3686 (Vcharset_thai_tis620): Likewise.
3687 (Vcharset_katakana_jisx0201): Likewise.
3689 2001-02-08 Martin Buchholz <martin@xemacs.org>
3691 * XEmacs 21.2.44 "Thalia" is released.
3693 2001-02-06 Martin Buchholz <martin@xemacs.org>
3695 Fixes crashes in kill-emacs on some systems.
3696 * process-unix.c (unix_kill_child_process):
3697 It's OK for kill() to fail with ESRCH.
3699 2001-02-07 Martin Buchholz <martin@xemacs.org>
3701 Contortions to make .gdbinit tricks work on most systems.
3702 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3703 * alloc.c (dbg_valmask): Make non-const.
3704 * alloc.c (dbg_typemask): Make non-const.
3705 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3706 * alloc.c (dbg_valbits): Make non-const.
3707 * alloc.c (dbg_gctypebits): Make non-const.
3708 * .gdbinit (decode_object): Make it work with AIX cc.
3710 2001-02-06 Martin Buchholz <martin@xemacs.org>
3712 * elhash.c (make_general_lisp_hash_table):
3713 Use simpler and more efficient calloc to clear entries.
3715 2001-02-07 Martin Buchholz <martin@xemacs.org>
3717 * window.c (window_scroll): Work around an AIX C compiler bug.
3718 Fixes 'scroll-up' does nothing problem with xlC.
3720 2001-02-05 Martin Buchholz <martin@xemacs.org>
3722 * .gdbinit: Remove obsolete comment.
3724 2001-01-31 Mike Alexander <mta@arbortext.com>
3726 * select.c (Fown_selection_internal): Set owned_p for device
3729 2001-02-01 Martin Buchholz <martin@xemacs.org>
3732 "not" cannot be used as a macro name as it is an operator in C++
3733 * config.h.in: Stop #defining `not'.
3734 * chartab.c (check_category_char): not ==> not_p
3735 * chartab.h: Likewise.
3736 * regex.c (re_match_2_internal): Likewise.
3738 2001-02-02 Martin Buchholz <martin@xemacs.org>
3740 * lisp-disunion.h: Fix up comments.
3742 2001-01-31 Martin Buchholz <martin@xemacs.org>
3744 * keymap.c (define_key_check_and_coerce_keysym):
3746 Support mouse-6 and mouse-7 bindings in the obvious way.
3748 2001-02-01 Martin Buchholz <martin@xemacs.org>
3750 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3752 2001-01-30 Martin Buchholz <martin@xemacs.org>
3754 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3755 Previous patch missed DEFVAR_INT_MAGIC.
3756 Make sure future DEFVAR_foo use correct types.
3757 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3758 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3759 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3760 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3761 * (DEFVAR_INT): Likewise.
3762 * redisplay.c (vertical_clip): Should be of type Fixnum.
3763 * redisplay.c (horizontal_clip): Likewise.
3764 * lisp.h (dump_add_opaque_int): New.
3765 (dump_add_opaque_fixnum): New.
3767 2001-01-29 Andy Piper <andy@xemacs.org>
3769 * glyphs-widget.c (check_valid_int_or_function): allow symbols
3770 since they can be eval'ed
3772 2001-01-29 Martin Buchholz <martin@xemacs.org>
3774 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
3775 Oops, XEmacs redefines `class'. Use `typename' instead.
3777 2001-01-28 Martin Buchholz <martin@xemacs.org>
3779 * dumper.c: Fix C++ compile errors.
3781 2001-01-29 Martin Buchholz <martin@xemacs.org>
3783 * tparam.c: Use correct prototypes.
3785 2001-01-28 Martin Buchholz <martin@xemacs.org>
3787 * sysproc.h: #include util.h for NetBSD's openpty.
3789 2001-01-27 Martin Buchholz <martin@xemacs.org>
3791 More 64-bit correctness.
3792 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
3793 Use a typedef `fixnum' for the type used for DEFVAR_INT.
3795 This finally finishes the 64-bit SGI port.
3796 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
3797 * symbols.c: Fix up comments and type casts.
3798 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
3799 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
3800 * symeval.h (Fixnum): New type.
3801 * symeval.h (symbol_value_type): Fix up comment.
3817 * mule-canna.c: A million DEFVAR_INTs here...
3818 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
3831 s/int/Fixnum/g in DEFVAR_INT declarations.
3833 2001-01-26 Martin Buchholz <martin@xemacs.org>
3835 Port pdump to SGI alignment-sensitive environment.
3836 Lisp Object sizeof methods now return aligned sizes. Rely on that.
3837 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
3839 Define and use aligned reading and writing macros.
3840 Use buffered stdio instead of posix i/o for faster dumping.
3841 Eliminate kludgy 256 byte space for header.
3842 Read and write from dump file using structs for alignment safety.
3843 * dumper.c (pdump_align_stream): New.
3844 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
3845 * dumper.c (PDUMP_READ_ALIGNED): New.
3846 * dumper.c (PDUMP_WRITE_ALIGNED): New.
3847 * dumper.c (pdump_static_Lisp_Object): New struct.
3848 * dumper.c (pdump_static_pointer): New struct.
3849 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
3850 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
3851 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
3852 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
3854 * dumper.c (pdump_backtrace):
3855 * dumper.c (pdump_get_indirect_count):
3856 * dumper.c (pdump_register_object):
3857 * dumper.c (pdump_register_struct):
3858 * dumper.c (pdump_reloc_one):
3859 * dumper.c (pdump_scan_by_alignment):
3860 * dumper.c (pdump_dump_from_root_struct_ptrs):
3861 * dumper.c (pdump_dump_opaques):
3862 * dumper.c (pdump_dump_rtables):
3863 * dumper.c (pdump_dump_from_root_objects):
3865 * dumper.c (pdump_load_finish):
3866 Use aligned reading and writing.
3868 * dumper.c (pdump_free): Make static.
3869 * dumper.c (pdump_hFile): Likewise.
3870 * dumper.c (pdump_hMap): Likewise.
3872 2001-01-26 Martin Buchholz <martin@xemacs.org>
3874 * XEmacs 21.2.43 "Terspichore" is released.
3876 2001-01-25 Martin Buchholz <martin@xemacs.org>
3878 Type fiddling for window_config.saved_windows_count
3879 * window.c (struct window_config):
3880 Make saved_windows_count member unsigned.
3881 * window.c (sizeof_window_config_for_n_windows):
3882 Make parameter unsigned.
3883 * window.c (mark_window_config):
3884 * window.c (window_config_equal):
3885 * window.c (free_window_configuration):
3886 * window.c (Fset_window_configuration):
3887 * window.c (count_windows):
3888 * window.c (Fcurrent_window_configuration):
3889 * window.c (reinit_vars_of_window):
3890 Update all callers and users.
3892 2001-01-25 Martin Buchholz <martin@xemacs.org>
3894 Alignment correctness for flexible arrays.
3895 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
3896 Make alignment-correct. Add interesting comments.
3897 * alloc.c (size_vector):
3898 * alloc.c (make_vector_internal):
3899 * alloc.c (make_bit_vector_internal):
3900 * alloc.c (sweep_bit_vectors_1):
3901 * fns.c (size_bit_vector):
3902 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
3903 * window.c (sizeof_window_config_for_n_windows):
3904 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
3906 2001-01-24 Martin Buchholz <martin@xemacs.org>
3908 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
3910 2001-01-23 Andy Piper <andy@xemacs.org>
3912 * select.c (Fown_selection_internal): pass owned_p
3914 * select-msw.c (mswindows_own_selection): New Signature.
3916 * console.h (struct console_methods): add owned_p to
3919 * select-x.c (x_own_selection): pass owned_p
3920 (hack_motif_clipboard_selection): use owned_p
3921 (vars_of_select_x): new variable -
3922 x_selection_strict_motif_ownership.
3924 2001-01-23 Martin Buchholz <martin@xemacs.org>
3926 * specifier.h (specifier_data_offset): Remove pointless parens.
3927 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
3929 2001-01-24 Martin Buchholz <martin@xemacs.org>
3931 Make Lisp_Object sizeof methods be alignment-correct.
3932 pdump must restore objects to the same alignment as the C compiler
3933 assumes. It really matters on SGIs.
3934 * lstream.c (aligned_sizeof_lstream): New.
3935 (sizeof_lstream): Use aligned_sizeof_lstream.
3936 (Lstream_new): Likewise.
3937 * opaque.c (aligned_sizeof_opaque): New.
3938 (sizeof_opaque): Use aligned_sizeof_opaque.
3939 (make_opaque): Likewise.
3940 * specifier.c (aligned_sizeof_specifier): New.
3941 (sizeof_specifier): Use aligned_sizeof_specifier.
3942 (make_specifier_internal): Likewise.
3944 2001-01-23 Martin Buchholz <martin@xemacs.org>
3946 * lstream.h (struct lstream): Use max_align_t for trailing data.
3947 * specifier.h (struct Lisp_Specifier): Likewise.
3949 2001-01-22 Martin Buchholz <martin@xemacs.org>
3951 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
3952 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
3953 (CCL_SUSPEND): Likewise.
3954 (CCL_INVALID_CMD): Likewise.
3955 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
3956 (ccl_driver): Likewise.
3957 (CCL_WRITE_CHAR): Macro hygiene.
3958 (CCL_WRITE_STRING): Macro hygiene.
3960 2001-01-22 Martin Buchholz <martin@xemacs.org>
3962 Port "portable" dumper to SunOS 4 and HP-UX.
3963 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
3964 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
3965 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
3967 2001-01-22 Martin Buchholz <martin@xemacs.org>
3969 * lisp.h (ALIGNOF): A better definition for C++.
3971 2001-01-20 Martin Buchholz <martin@xemacs.org>
3974 Fix printf warnings: int format, long int arg.
3975 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
3976 (PUSH_FAILURE_POINT): Use correct printf formats.
3977 (POP_FAILURE_POINT): Use correct printf formats.
3978 Use do {...} while (0)
3980 2001-01-20 Martin Buchholz <martin@xemacs.org>
3982 * XEmacs 21.2.42 "Poseidon" is released.
3984 2001-01-20 Martin Buchholz <martin@xemacs.org>
3986 * console-x.h: typo fix du jour. Remove #if 0'ed code.
3988 2001-01-19 Martin Buchholz <martin@xemacs.org>
3990 De-kludgify FIXED_TYPE free list frobbing.
3991 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
3992 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
3993 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
3994 * alloc.c (Lisp_Free): New pseudo lisp object definition.
3995 * alloc.c (LRECORD_FREE_P): New.
3996 * alloc.c (MARK_LRECORD_AS_FREE): New.
3997 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
3998 * alloc.c (STRUCT_FREE_P): Deleted.
3999 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
4000 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
4001 * alloc.c (STRING_CHARS_FREE_P): New.
4002 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
4003 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
4004 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
4005 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
4006 * alloc.c (resize_string): Use new definitions.
4007 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
4008 * alloc.c (verify_string_chars_integrity): Use new definitions.
4009 * alloc.c (compact_string_chars): Use new definitions.
4010 * alloc.c: Update monster comments.
4011 * lrecord.h (lrecord_type): Add some new lrecord types for
4014 2001-01-18 Martin Buchholz <martin@xemacs.org>
4016 Improve alignment hackery.
4017 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
4018 (max_align_t): Moved from opaque.h - general purpose.
4019 (ALIGN_PTR): Use size_t, not long.
4020 * opaque.h (max_align_t): Move to lisp.h.
4022 2001-01-18 Norbert Koch <nk@LF.net>
4024 * gui.h: Fix and add prototypes to fix build problems.
4026 2001-01-18 Martin Buchholz <martin@xemacs.org>
4028 temacs is going away, so `dump-temacs' is now a bad name.
4029 * .dbxrc (dump-temacs): Rename to `dmp'.
4030 * .gdbinit (dump-temacs): Rename to `dmp'.
4032 2001-01-17 Andy Piper <andy@xemacs.org>
4034 * glyphs.c (print_image_instance): comment to make martin happy.
4036 * glyphs-x.c (x_redisplay_widget): update faces after a frame
4039 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
4041 (mswindows_tab_control_redisplay): warning suppression.
4043 * glyphs-widget.c (widget_update): re-write to cope with updated
4045 (widget_instantiate): use new gui_item functions.
4046 (tab_control_update): deleted.
4047 (progress_gauge_update): deleted.
4048 (image_instantiator_progress_guage): take out update reference.
4049 (image_instantiator_tree_view): ditto.
4050 (image_instantiator_tab_control): ditto.
4052 * gui.c (widget_gui_parse_item_keywords): new function. Do things
4054 (gui_item_add_keyval_pair): re-write to cope with descriptors and
4055 return whether anything was changed.
4056 (update_gui_item_keywords): as it sounds.
4058 * gui.h: declare widget_gui_parse_item_keywords.
4060 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
4061 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
4063 2001-01-17 Martin Buchholz <martin@xemacs.org>
4065 * XEmacs 21.2.41 "Polyhymnia" is released.
4067 2001-01-16 Didier Verna <didier@xemacs.org>
4069 * glyphs.c (image_instantiate): don't use fallbacks when
4070 instantiating a face's background pixmap by inheritance.
4072 2001-01-14 Mike Sperber <mike@xemacs.org>
4074 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
4075 Conditionalize accordingly.
4077 2001-01-16 Martin Buchholz <martin@xemacs.org>
4079 * dumper.c (pdump_file_get): Fix a compiler warning.
4081 2001-01-15 Martin Buchholz <martin@xemacs.org>
4083 Make Purify happy when pdumping.
4084 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
4085 iniitalizing all bits of new lisp object memory.
4086 * symbols.c (Fmake_local_variable): Likewise.
4087 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
4088 * symbols.c (Fdefvaralias): Likewise.
4089 * mule-charset.c (vars_of_mule_charset): Likewise.
4091 2001-01-15 Martin Buchholz <martin@xemacs.org>
4092 Add the `-nd' flag when running pre-dump operations under the debugger.
4093 * .dbxrc (run-temacs): Add `-nd'.
4094 * .dbxrc (update-elc): Likewise.
4095 * .dbxrc (dump-temacs): Likewise.
4096 * .gdbinit (run-temacs): Likewise.
4097 * .gdbinit (check-temacs): Likewise.
4098 * .gdbinit (update-elc): Likewise.
4099 * .gdbinit (dump-temacs): Likewise.
4101 2001-01-14 Martin Buchholz <martin@xemacs.org>
4103 Allow building 64-bit executables on AIX with GNU malloc, e.g.
4104 export OBJECT_MODE=64
4105 configure --pdump --use-union-type=no
4106 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
4107 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
4109 * miscplay.c (sndcnv8U_2mono):
4110 Avoid two uses of `++' in the same expression.
4111 Suppresses a GCC warning.
4113 2001-01-13 Martin Buchholz <martin@xemacs.org>
4115 Make sure future compilers don't miscompile alloc.c.
4117 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
4118 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
4120 2001-01-12 Martin Buchholz <martin@xemacs.org>
4122 * dumper.c: A little post-pdump-rename comment fixup.
4124 2001-01-09 Jerry James <james@eecs.ku.edu>
4126 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
4128 2001-01-13 Martin Buchholz <martin@xemacs.org>
4130 * *.[ch]: Globally rename symbols using the following `pdump-rename'
4134 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
4137 replace_symbol pdump_wire_lists pdump_weak_object_chains
4138 replace_symbol pdump_wire_list dump_add_weak_object_chain
4140 replace_symbol pdump_wires pdump_root_objects
4141 replace_symbol pdump_wire dump_add_root_object
4143 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
4144 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
4146 replace_symbol dumpstructinfos pdump_root_struct_ptrs
4147 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
4148 replace_symbol dumpstructinfo pdump_root_struct_ptr
4149 replace_symbol dumpstruct dump_add_root_struct_ptr
4151 replace_symbol dumpopaque dump_add_opaque
4152 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
4153 replace_symbol dumpopaqueinfos pdump_opaques
4154 replace_symbol dumpopaqueinfo pdump_opaque
4156 replace_symbol nb_structdump nb_root_struct_ptrs
4157 replace_symbol nb_opaquedump nb_opaques
4159 replace_symbol align_table pdump_align_table
4160 replace_symbol dump_header pdump_header
4162 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
4163 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
4166 2001-01-12 Martin Buchholz <martin@xemacs.org>
4168 * s/aix4.h: Keep the C for AIX compiler from overaggressively
4169 optimizing bytecount_to_charcount().
4171 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4174 (HAVE_DLFCN_H): Removed.
4175 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
4177 2001-01-06 Martin Buchholz <martin@xemacs.org>
4179 Portable dumper maintainability improvements.
4180 * alloc.c (staticpro):
4181 * alloc.c (staticpro_nodump):
4182 * alloc.c (garbage_collect_1):
4183 * alloc.c (reinit_alloc_once_early):
4184 * alloc.c (init_alloc_once_early):
4185 * alloc.c: Move dumper functions to alloc.c.
4186 * dumper.c (pdump_backtrace):
4187 * dumper.c (pdump_dump_structs):
4188 * dumper.c (pdump_dump_opaques):
4189 * dumper.c (pdump_dump_rtables):
4190 * dumper.c (pdump_dump_wired):
4192 * dumper.c (pdump_load_check):
4193 * dumper.c (pdump_load_finish):
4194 * dumper.c (pdump_file_unmap):
4195 * dumper.c (pdump_file_get):
4196 * dumper.c (pdump_resource_free):
4197 * dumper.c (pdump_resource_get):
4198 * dumper.c (pdump_file_free):
4199 * dumper.c (pdump_file_try):
4200 * dumper.c (pdump_load):
4201 Remove fixed size limits on staticpro(), staticpro_nodump(),
4202 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
4203 Remove custom code for dumping lrecord_implementations_table - use
4205 Remove (most of the) custom code for dumping staticpros - dump it
4206 like any other dynarr.
4208 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
4209 * dumper.c: Moved functions from alloc.c.
4210 * alloc.c (dumpstruct): Moved to dumper.c.
4211 * alloc.c (dumpopaque): Likewise.
4212 * alloc.c (pdump_wire): Likewise.
4213 * alloc.c (pdump_wire_list): Likewise.
4215 * lisp.h (Dynarr_sizeof): New.
4216 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
4217 * lisp.h (Dynarr_end): New. Very slightly C++oid.
4218 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
4220 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
4221 * lisp.h (dumpopaque): ditto.
4222 * lisp.h (pdump_wire): ditto.
4223 * lisp.h (pdump_wire_list): ditto.
4225 2001-01-09 Martin Buchholz <martin@xemacs.org>
4227 * make-src-depend (PrintPatternDeps):
4228 Use `sort' to make output independent of perl version.
4230 2001-01-08 Martin Buchholz <martin@xemacs.org>
4233 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
4234 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
4236 2001-01-03 Didier Verna <didier@xemacs.org>
4238 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
4239 that `focus_frame' is alive before thinking of calling
4240 `redisplay_redraw_cursor' on it.
4242 2001-01-08 Martin Buchholz <martin@xemacs.org>
4244 * XEmacs 21.2.40 is released.
4246 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
4248 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
4250 2001-01-06 Martin Buchholz <martin@xemacs.org>
4252 * alloc.c (dbg_valmask): Make const.
4253 * alloc.c (dbg_typemask): Make const.
4254 * alloc.c (dbg_USE_UNION_TYPE): Make const.
4255 * alloc.c (dbg_valbits): Make const.
4256 * alloc.c (dbg_gctypebits): Make const.
4258 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
4260 * redisplay-x.c (x_bevel_area):
4261 redisplay.h (struct rune):
4262 Typo fixes in comments.
4264 2001-01-05 Andy Piper <andy@xemacs.org>
4266 * glyphs-x.c (x_redisplay_widget): use size changed for offset
4269 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
4271 2001-01-05 Martin Buchholz <martin@xemacs.org>
4273 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
4275 * mule-ccl.c (stack_idx_of_map_multiple):
4276 Non const global data must not be initialized!
4277 Found by MIYASHITA Hisashi.
4279 2001-01-02 Andy Piper <andy@xemacs.org>
4281 * frame.c (change_frame_size): make sure frame size is always
4284 * glyphs.c (image_instance_layout): minor code reuse.
4286 * window.c (Fcurrent_window_configuration): revert previous
4289 2001-01-02 Martin Buchholz <martin@xemacs.org>
4292 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
4294 2000-12-31 Andy Piper <andy@xemacs.org>
4296 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
4297 when widget gets unmapped.
4299 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
4300 function. Make sure widgets losing focus don't just drop it.
4301 (handle_focus_event_1): record the widget with focus.
4303 2000-12-31 Andy Piper <andy@xemacs.org>
4305 * window.c (allocate_window): use
4306 make_image_instance_cache_hash_table.
4307 (make_dummy_parent): ditto.
4308 (Fset_window_configuration): ditto.
4310 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
4312 * glyphs.c (process_image_string_instantiator): use
4314 (get_image_instantiator_governing_domain): ditto.
4315 (normalize_image_instantiator): ditto.
4316 (instantiate_image_instantiator): ditto.
4317 (make_image_instance_1): ditto.
4318 (image_instantiate): ditto. Key on glyph *and* instantiator type.
4319 (instantiator_eq_equal): new function for use with instance hash
4321 (instantiator_eq_hash): ditto.
4322 (make_image_instance_cache_hash_table): create a suitable hash
4323 table for storing image instances.
4325 * elhash.h (hash_table_weakness): new internal weakness type
4326 HASH_TABLE_KEY_CAR_VALUE_WEAK.
4327 declare new functions.
4329 * elhash.c (finish_marking_weak_hash_tables): introduce yet
4330 another weakness type for glyphs.
4331 (make_standard_lisp_hash_table): new function split out from
4332 make_general_lisp_hash_table.
4333 (make_lisp_hash_table): call make_standard_lisp_hash_table.
4334 (hash_table_instantiate): ditto.
4335 (Fmake_hash_table): ditto.
4337 2000-12-31 Martin Buchholz <martin@xemacs.org>
4339 * XEmacs 21.2.39 is released.
4341 2000-12-29 Andy Piper <andy@xemacs.org>
4343 * menubar.c (menubar_visible_p_changed): signal the frame changed.
4345 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
4346 the frame has changed so that we pick up geometry changes such as
4349 2000-12-28 Andy Piper <andy@xemacs.org>
4351 * lastfile.c (my_ebss): make a char array so we can pad the
4352 bss. Fixes cygwin unexec.
4354 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
4356 2000-12-26 Andy Piper <andy@xemacs.org>
4358 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
4359 comments and try and be more precise about a non-/SIGIO world.
4360 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
4363 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
4364 we don't normalize to zero width or height.
4366 2000-12-24 Andy Piper <andy@xemacs.org>
4368 * Makefile.in.in (ldflags): add -mwindows when appropriate.
4370 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
4372 * s/sco5.h: SCO 5 has pty support.
4374 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
4376 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
4377 input-method-xlib.c contains whole contents of input-method-xfs.c,
4378 so we can use input-method-xlib.c's code for USE_XFONTSET
4380 * input-method-xfs.c: removed.
4382 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
4384 * file-coding.h (enum coding_category_type): reorder enumerators to
4385 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
4386 (now one greater than largest real coding_category_type enumerator).
4387 * file-coding.c (coding_category_symbol, coding_category_by_priority,
4388 coding_category_system, fcd_descriptihon_1, decode_coding_category,
4389 Fcoding_category_list, Fset_coding_priority_list,
4390 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
4391 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
4393 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4395 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
4396 * redisplay-output.c (redisplay_output_window): Clear top of window
4397 when face is changed.
4398 * redisplay-x.c (x_redraw_exposed_window): Call
4399 redisplay_clear_top_of_window.
4400 * redisplay.h: Publish redisplay_clear_top_of_window.
4402 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
4404 * buffer.c (Fkill_buffer): Map over all devices.
4405 * window.c (window_loop): Remove UNSHOW_BUFFER code.
4406 (list_windows): New function.
4407 (list_all_windows): Ditto.
4408 (Freplace_buffer_in_windows): Use them.
4410 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4412 * database.c (berkdb_subtype): Recognize new subtype `queue'.
4413 (Fopen_database): Use `db_create' instead of `db_open'.
4414 (syms_of_database): Initialize Qqueue.
4416 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4418 * buffer.c (common_init_complex_vars_of_buffer): Initialize
4419 buffer_local_face_property.
4420 * buffer.h (struct buffer): New member buffer_local_face_property.
4421 * window.c (Fset_window_buffer): Mark window's face as changed
4422 when buffer has buffer local face.
4423 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
4424 * objects.c (color_after_change): Set buffer_local_face_property
4425 when locale of face specifier is buffer.
4426 * objects.c (font_after_change): Ditto.
4427 * objects.c (face_boolean_after_change): Ditto.
4428 * glyphs.c (image_after_change): Ditto.
4430 2000-12-09 Dan Holmsand <dan@eyebee.com>
4432 * nt.c (mswindows_fstat): Report file permissions, volume serial
4433 number, etc. Code adapted from FSF Emacs 20.7.
4435 2000-12-09 Dan Holmsand <dan@eyebee.com>
4437 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
4438 of stat when we don't have symbolic links, to make sure
4439 mswindows_stat is called on mswindows.
4441 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
4443 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
4445 2000-12-12 Martin Buchholz <martin@xemacs.org>
4447 * doprnt.c (emacs_doprnt_1): More printing fixes.
4448 Make printing of numbers compatible with libc and FSF Emacs.
4449 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
4450 Use the system printf to do most of the hard work of formatting,
4451 instead of doprnt_1().
4452 Calculate memory to allocate for format string.
4453 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
4454 (doprnt_1): Cleaner code and documentation.
4456 2000-12-01 Jerry James <james@eecs.ukans.edu>
4458 * Makefile.in.in: Use the loop variable to install headers.
4460 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4462 * window.c (Fsplit_window): Don't invalidate face cache.
4464 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4466 * minibuf.c (Fall_completions): Undo the previous change
4467 which removed checking elements start with space.
4469 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4471 * mule-canna.c: Didier suppression.
4473 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
4475 * mule-canna.c: rename static unsigned char buf[] to key_buffer
4476 (warning suppression). Add English comment translations.
4478 2000-12-05 Martin Buchholz <martin@xemacs.org>
4480 * unexelfsgi.c (unexec): Better test for mmap failure.
4482 2000-12-05 Martin Buchholz <martin@xemacs.org>
4484 * XEmacs 21.2.38 is released.
4486 2000-12-05 Martin Buchholz <martin@xemacs.org>
4488 * redisplay.c (bar-cursor): Make a user variable.
4490 * symsinit.h: Add init_postgresql_from_environment.
4492 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
4494 * regex.c: Convert to clean C.
4496 2000-12-05 Dan Holmsand <dan@eyebee.com>
4499 Don't #include sysfile.h. Revert to duplicating PATH_MAX
4501 (sys_readlink): renamed to system_readlink to avoid conflict with
4502 the other sys_readlink.
4504 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
4506 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
4508 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
4510 * postgresql.c (init_postgresql_from_environment): new function.
4511 (vars_of_postgresql): Move code initializing Lisp variables out and
4512 into init_postgresql_from_environment.
4513 emacs.c (main_1): Call init_postgresql_from_environment if and only
4514 if running a dumped XEmacs.
4516 2000-08-31 Dan Holmsand <dan@eyebee.com>
4518 * buffer.c: Make find-file-compare-truenames default to true on
4521 * realpath.c (win32_abs_start):
4523 (win32_readlink): New functions.
4524 (xrealpath): Return really real filenames on windows.
4526 * fileio.c (Ffile_truename): Make file-truename work on windows.
4528 2000-11-29 Didier Verna <didier@xemacs.org>
4530 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
4531 * faces.c (update_face_cachel_data): use it.
4532 * faces.c (add_face_cachel): use it. Complete background pixmap
4533 frobbing in face cache if `update_face_cachel_data' has not done so.
4535 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
4537 * search.c (string_match_1): Don't set last_thing_searched
4540 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
4542 * buffer.c: Include casetab.h
4543 (common_init_complex_vars_of_buffer): Use new case-table object.
4544 * buffer.h: Include casetab.h
4545 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
4546 (DOWNCASE_TABLE_OF): Ditto.
4547 * bufslots.h: Remove char-tables and add case-table.
4548 * casetab.c: Include casetab.h
4549 (CASE_TABLE_P): Removed.
4550 (mark_case_table): New function.
4551 (allocate_case_table): New function.
4552 (Fcase_table_p): Use new case-table.
4553 (case_table_char): New function.
4554 (Fget_case_table): Ditto.
4555 (Fput_case_table): Ditto.
4556 (Fput_case_table_pair): Ditto.
4557 (Fcopy_case_table): Ditto.
4558 (Fcurrent_case_table): Return case-table.
4559 (Fstandard_case_table): Return case-table.
4560 (Fset_case_table): Fix doc-string.
4561 (set_case_table): Use case-table
4562 (syms_of_casetab): DEFSUBR new functions.
4563 (complex_vars_of_casetab): Set up standard case-table.
4564 * casetab.h: New file.
4565 * editfns.c: Include casetab.h
4566 (Fcompare_buffer_substrings): Use case-table.
4567 * inline.c: Include casetab.h
4568 * lisp.h: Remove bogus extern.
4569 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4570 * search.c: Include casetab.h
4571 (TRANSLATE_ASCII): Removed.
4572 (TRANSLATE): Unconditionally translate character.
4573 (looking_at_1): Use case-table.
4574 (string_match_1): Ditto.
4575 (fast_string_match): Ditto.
4576 (search_command): Ditto.
4577 (search_buffer): Separate boyer_moore. Check whether
4578 boyer_moore is possible.
4579 (simple_search): New function.
4580 (boyer_moore): Separated from search_buffer. Translate char.
4582 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4584 * regex.c (RE_TR_ASCII): Removed.
4585 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4586 (PATFETCH): Call PATFETCH_RAW.
4587 (PATFETCH_RAW): Fetch Emchar.
4588 (PATUNFETCH): Decrement charptr.
4589 (GET_BUFFER_SPACE): Rename b to buf_end.
4591 (BUF_PUSH_2): Ditto.
4592 (BUF_PUSH_3): Ditto.
4593 (EXTEND_BUFFER): Ditto.
4594 (SET_LIST_BIT): Ditto.
4595 (regex_compile): Ditto. Translate non ASCII char.
4596 (compile_range): Ditto.
4597 (re_search_2): Ditto.
4598 (re_match_2_internal): Compare Emchar.
4599 (bcmp_translate): Ditto.
4601 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4603 * lisp.h (basic char/int typedefs): comment improvement.
4605 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4607 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4608 unstomp inhibit_site_lisp. Improve comments.
4610 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4612 * mule-charset.c (Fcharset_property): improve type checking, comments.
4614 2000-11-28 Andy Piper <andy@xemacs.org>
4616 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4617 clipped display for windows in the gutter also.
4618 (redisplay_display_boxes_in_window_p): change semantics of return
4619 codes to be more intuitive.
4621 * gutter.h: declare display_boxes_in_gutter_p.
4623 * gutter.c (display_boxes_in_gutter_p): new function for
4626 2000-11-22 Andy Piper <andy@xemacs.org>
4628 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4631 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4633 * callproc.c (Fold_call_process_internal):
4634 * gpm.c (Freceive_gpm_event):
4635 (tty_get_foreign_selection): Might be just warning supression.
4636 * fileio.c (Fwrite_region_internal):
4637 (Fset_visited_file_modtime):
4638 * keymap.c (event_matches_key_specifier_p):
4639 Initialize GCPROed variable.
4641 * menubar-x.c (command_builder_find_menu_accelerator):
4642 Initialize before use.
4644 2000-11-23 Andy Piper <andy@xemacs.org>
4646 * unexcw.c (unexec): make the resulting executable executable.
4648 2000-11-21 Martin Buchholz <martin@xemacs.org>
4650 * doc.c (get_doc_string):
4651 Use size_t, not int, for result of XSTRING_LENGTH.
4653 * cmds.c (Fdelete_char):
4654 * cmds.c (Fpoint_at_eol):
4655 * cmds.c (Fself_insert_command):
4656 Use EMACS_INT, not int, for result of XINT.
4657 Someday, someone will want to insert more than 2**31 identical characters.
4659 * cmds.c (Fdelete_char):
4660 * cmds.c (Fdelete_backward_char):
4661 * syntax.c (Fforward_word):
4662 * syntax.c (Fforward_comment):
4663 Make COUNT argument optional, for consistency with forward-char et al.
4665 2000-11-22 Martin Buchholz <martin@xemacs.org>
4668 * print.c (long_to_string):
4669 Return a useful value: the pointer at end of data written.
4672 Use `static const char * const' for constant strings.
4673 (union printf_arg): Delete `i', `ui' members.
4676 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4677 Do all printf-ing via the `l' specifier.
4678 Use EMACS_INT instead of int.
4681 2000-11-20 Didier Verna <didier@xemacs.org>
4683 * faces.c (update_face_cachel_data): don't frob the background
4684 pixmap when the window is being created. The face is needed but
4687 2000-11-20 Andy Piper <andy@xemacs.org>
4689 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4690 messing with a debug environment.
4692 2000-11-20 Martin Buchholz <martin@xemacs.org>
4694 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4696 2000-11-20 Martin Buchholz <martin@xemacs.org>
4698 * casetab.c (Fcase_table_p): Fix compile error and crash.
4700 2000-11-18 Philip Aston <philipa@mail.com>
4702 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4704 2000-11-18 Martin Buchholz <martin@xemacs.org>
4706 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4707 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4709 2000-11-17 Martin Buchholz <martin@xemacs.org>
4711 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4712 * unexelf.c: Use HAVE_ELF_H.
4713 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4714 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4715 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4716 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4718 So this is an unexelfsgi.c from a different line of development.
4720 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4722 * regex.c (RE_TR_ASCII): New function.
4723 (RE_TRANSLATE): Call it.
4725 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4727 * buffer.h (TRT_TABLE_OF): Remove assert.
4728 (IN_TRT_TABLE_DOMAIN): Removed.
4730 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4732 * free-hook.c (log_gcpro):
4733 (show_gcprohist): Add support for GCPRO5.
4735 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4737 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4739 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4741 * symeval.h: Declare flush_all_buffer_local_cache.
4743 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4744 (flush_buffer_local_cache): Added.
4745 (flush_all_buffer_local_cache): Added.
4747 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4749 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4750 (pdump_dump_data): Ditto.
4751 (pdump_reloc_one): Ditto.
4752 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4756 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4758 * buffer.c: Remove if 0'ed entry.
4759 * buffer.h: Rewrite TRT to use char-table.
4760 * bufslots.h: Remove mirror tables.
4761 * casetab.c: Remove mirror tables.
4762 (CASE_TABLE_P): New macro.
4763 (Fcase_table_p): Element of a case table is string or char-table.
4764 (make_mirror_trt_table): Removed.
4765 (set_case_table): Setup char-table from strings for backward
4767 * dired.c (Fdirectory_files):
4768 * dired-msw.c: (mswindows_get_files):
4769 * lisp.h: Change prototype of re_pattern_buffer.
4770 * regex.c: (RE_TRANSLATE): New macro.
4771 (TRANSLATE_P): Ditto.
4772 Change translate to type RE_TRANSLATE_TYPE.
4773 * regex.h: Define RE_TRANSLATE_TYPE
4774 * search.c (TRANSLATE): New macro.
4775 (TRANSLATE_ASCII): New macro.
4776 Translate table is changed to Lisp_Object.
4777 (signal_failure): Inhibit return.
4779 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4786 Do UNGCPRO before return.
4788 2000-11-14 Martin Buchholz <martin@xemacs.org>
4790 * XEmacs 21.2.37 is released.
4792 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4794 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
4795 Add comments about discarded return value.
4797 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4800 * event-stream.c: Fix comments. Remove some #if 0'ed part.
4802 2000-10-27 Andy Piper <andy@xemacs.org>
4804 * gutter.c (Fset_default_gutter_position): default left and right
4806 (calculate_gutter_size): calculate resonable heuristic for left
4807 and right gutter sizes.
4808 (specifier_vars_of_gutter): change left and right gutter sizes to
4810 (calculate_gutter_size_from_display_lines): new function.
4811 (output_gutter): check for resizing on left and right gutters.
4812 (clear_gutter): don't special case top and left gutters.
4813 (specifier_vars_of_gutter): use new signature for
4814 set_specifier_caching.
4816 * glyphs-x.c (x_redisplay_widget): spelling fix.
4817 * glyphs.c (specifier_vars_of_glyphs):
4818 * menubar.c (specifier_vars_of_menubar):
4819 * redisplay.c (specifier_vars_of_redisplay):
4820 * toolbar.c (specifier_vars_of_toolbar):
4821 * window.c (specifier_vars_of_window):
4822 * scrollbar.c (specifier_vars_of_scrollbar):
4823 (complex_vars_of_scrollbar): use new signature for
4824 set_specifier_caching.
4826 * specifier.c (set_specifier_caching): include recompute flag.
4827 (recompute_one_cached_specifier_in_window): always recompute if
4829 (recompute_one_cached_specifier_in_frame): ditto.
4831 * specifier.h (struct specifier_caching): add recompute flag.
4833 2000-10-24 Andy Piper <andy@xemacs.org>
4835 * unexcw.c (copy_executable_and_dump_data_section): add new
4836 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
4839 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4841 * console-x.h (x_device): New member modifier_release_time.
4842 * event-Xt.c (x_handle_sticky_modifiers):
4843 Bound interval modifier keys are sticky.
4844 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
4845 * events.h: extern it.
4847 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4849 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
4851 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4853 * event-stream.c (execute_command_event): Preserve current_events
4854 and the like when event is misc-user-event.
4855 Inhibit quit during the call to maybe_echo_keys.
4857 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4859 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
4860 symlink when buffer is killed.
4861 (inhibit_clash_detection): New variable.
4863 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4865 * console.c (Fset_input_method): Trigger redisplay on tty.
4867 2000-11-07 Martin Buchholz <martin@xemacs.org>
4869 * process.c (Fprocess_status): Revert to previous behavior:
4870 (process-status "nosuchprocess") ==> nil
4872 2000-11-06 Martin Buchholz <martin@xemacs.org>
4874 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
4875 Work around another GCC 2.95.2 optimizer bug.
4877 2000-11-02 Martin Buchholz <martin@xemacs.org>
4879 * process.c (Fget_process): Use LIST_LOOP_2.
4880 (kill_buffer_processes): Use LIST_LOOP_2.
4882 * minibuf.c (Fall_completions):
4883 Delete old non-functional code for FSF fourth argument.
4885 * frame.c (frame_matches_frame_spec):
4886 Renamed from `frame_matches_frametype'. Update all callers.
4887 (device_matches_device_spec):
4888 Renamed from 'device_matches_console_spec'. Update all callers.
4890 * doc.c (Fsubstitute_command_keys):
4891 Remove buffer overflow crash. Small code cleanups.
4893 * casetab.c (check_case_table): Simpler code.
4895 * window.c (Freplace_buffer_in_windows):
4896 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
4897 (and similar implementation) as Fdelete_windows_on.
4900 * alloc.c (Fmake_list):
4901 * alloc.c (make_vector):
4902 * alloc.c (Fmake_vector):
4903 * alloc.c (make_bit_vector):
4904 * alloc.c (Fmake_bit_vector):
4905 * alloc.c (Fbit_vector):
4906 * alloc.c (Fmake_string):
4907 * alloc.c (Fpurecopy):
4908 * alloc.c (Fmemory_limit):
4910 * buffer.c (Fget_buffer):
4911 * buffer.c (Fkill_buffer):
4912 * buffer.c (complex_vars_of_buffer):
4913 * bytecode.c (Fcompiled_function_stack_depth):
4914 * callint.c (Fprefix_numeric_value):
4916 * event-stream.c (Fread_key_sequence):
4918 * casetab.c (Fcase_table_p):
4919 * casetab.c (check_case_table):
4920 * casetab.c (Fset_case_table):
4921 * casetab.c (Fset_standard_case_table):
4923 * chartab.c (Fchar_table_type):
4924 * chartab.c (Freset_char_table):
4925 * chartab.c (Fget_char_table):
4926 * chartab.c (Fget_range_char_table):
4927 * chartab.c (Fput_char_table):
4928 * chartab.c (Fmap_char_table):
4929 * chartab.c (Fcategory_table_p):
4930 * chartab.c (Fcheck_category_at):
4931 * chartab.c (Fchar_in_category_p):
4932 * chartab.c (Fcategory_table):
4933 * chartab.c (Fcopy_category_table):
4934 * chartab.c (Fset_category_table):
4935 * chartab.c (Fcategory_designator_p):
4936 * chartab.c (Fcategory_table_value_p):
4937 * cmds.c (Fdelete_char):
4938 * cmds.c (Fdelete_backward_char):
4939 * cmds.c (Fself_insert_command):
4940 * cmds.c (Fself_insert_internal):
4941 * console.c (Fvalid_console_type_p):
4942 * console.c (Fcdfw_console):
4943 * console.c (Fconsole_type):
4944 * console.c (Fconsole_name):
4945 * console.c (Fconsole_device_list):
4946 * console.c (Fconsole_on_window_system_p):
4950 * data.c (Fsubr_interactive):
4951 * data.c (Fchar_to_int):
4952 * data.c (Fint_to_char):
4955 * data.c (Fnumber_to_string):
4956 * data.c (Fstring_to_number):
4958 * database.c (mark_database):
4959 * database.c (finalize_database):
4960 * database.c (Fdatabase_live_p):
4961 * database.c (Fdatabasep):
4962 * device-x.c (Fx_get_resource):
4963 * device.c (Fdfw_device):
4965 * dired.c (Ffile_name_completion):
4966 * dired.c (Ffile_name_all_completions):
4967 * dired.c (Fuser_name_completion):
4968 * dired.c (Fuser_name_completion_1):
4969 * dired.c (Fuser_name_all_completions):
4970 * doc.c (Fdocumentation):
4971 * doc.c (Fdocumentation_property):
4972 * doc.c (Fsubstitute_command_keys):
4974 * editfns.c (Fchar_to_string):
4975 * editfns.c (Fstring_to_char):
4976 * editfns.c (Ftemp_directory):
4977 * editfns.c (Finsert_char):
4978 * editfns.c (Fbuffer_substring_no_properties):
4979 * editfns.c (Fnarrow_to_region):
4980 * editfns.c (Fchar_equal):
4981 * editfns.c (Fchar_Equal):
4982 * editfns.c (Ftranspose_regions):
4983 * emacs.c (Fdump_emacs):
4985 * eval.c (Fcommand_execute):
4986 * eval.c (Fautoload):
4987 * eval.c (Fbacktrace):
4988 * eval.c (Fbacktrace_frame):
4990 * events.c (Fcopy_event):
4991 * events.c (Fcharacter_to_event):
4992 * events.c (Fevent_button):
4993 * events.c (Fevent_process):
4995 * extents.c (Fnext_extent_change):
4996 * extents.c (Fextent_property):
4998 * faces.c (Fmake_face):
5000 * file-coding.c (Fencode_shift_jis_char):
5001 * file-coding.c (Fencode_big5_char):
5002 * fileio.c (Ffile_name_directory):
5003 * fileio.c (Ffile_name_nondirectory):
5004 * fileio.c (Ffile_name_as_directory):
5005 * fileio.c (Fdirectory_file_name):
5006 * fileio.c (Ffile_truename):
5007 * fileio.c (Fsubstitute_in_file_name):
5008 * fileio.c (Ffile_modes):
5009 * fileio.c (Fset_file_modes):
5010 * fileio.c (Fset_default_file_modes):
5011 * fileio.c (Fverify_visited_file_modtime):
5012 * floatfns.c (Facos):
5013 * floatfns.c (Fasin):
5014 * floatfns.c (Fatan):
5015 * floatfns.c (Fcos):
5016 * floatfns.c (Fsin):
5017 * floatfns.c (Ftan):
5018 * floatfns.c (Fbessel_j0):
5019 * floatfns.c (Fbessel_j1):
5020 * floatfns.c (Fbessel_jn):
5021 * floatfns.c (Fbessel_y0):
5022 * floatfns.c (Fbessel_y1):
5023 * floatfns.c (Fbessel_yn):
5024 * floatfns.c (Ferf):
5025 * floatfns.c (Ferfc):
5026 * floatfns.c (Flog_gamma):
5027 * floatfns.c (Fexp):
5028 * floatfns.c (Fexpt):
5029 * floatfns.c (Flog):
5030 * floatfns.c (Flog10):
5031 * floatfns.c (Fsqrt):
5032 * floatfns.c (Fcube_root):
5033 * floatfns.c (Facosh):
5034 * floatfns.c (Fasinh):
5035 * floatfns.c (Fatanh):
5036 * floatfns.c (Fcosh):
5037 * floatfns.c (Fsinh):
5038 * floatfns.c (Ftanh):
5039 * floatfns.c (Fabs):
5040 * floatfns.c (Ffloat):
5041 * floatfns.c (Flogb):
5042 * floatfns.c (Fceiling):
5043 * floatfns.c (Ffloor):
5044 * floatfns.c (Fround):
5045 * floatfns.c (Ftruncate):
5046 * floatfns.c (Ffceiling):
5047 * floatfns.c (Fffloor):
5048 * floatfns.c (Ffround):
5049 * floatfns.c (Fftruncate):
5050 * fns.c (Fstring_equal):
5051 * fns.c (Fstring_lessp):
5056 * fns.c (Fsubstring):
5058 * fns.c (Fold_assoc):
5059 * fns.c (assoc_no_quit):
5061 * fns.c (Fold_assq):
5062 * fns.c (assq_no_quit):
5064 * fns.c (Fold_rassoc):
5066 * fns.c (Fold_rassq):
5067 * fns.c (rassq_no_quit):
5068 * fns.c (Fremassoc):
5069 * fns.c (remassoc_no_quit):
5071 * fns.c (remassq_no_quit):
5072 * fns.c (Fremrassoc):
5073 * fns.c (Fremrassq):
5074 * fns.c (remrassq_no_quit):
5076 * fns.c (Fplist_get):
5077 * fns.c (Fplist_put):
5078 * fns.c (Fplist_remprop):
5079 * fns.c (Fplist_member):
5080 * fns.c (Flax_plist_get):
5081 * fns.c (Flax_plist_put):
5082 * fns.c (Flax_plist_remprop):
5083 * fns.c (Flax_plist_member):
5085 * fns.c (Fold_equal):
5087 * fns.c (Fbase64_encode_region):
5088 * fns.c (Fbase64_encode_string):
5089 * fns.c (Fbase64_decode_region):
5091 * frame.c (frame_matches_frame_spec):
5092 * frame.c (device_matches_device_spec):
5093 * frame.c (next_frame):
5094 * frame.c (previous_frame):
5095 * frame.c (Fnext_frame):
5096 * frame.c (Fprevious_frame):
5097 * frame.c (Fframe_property):
5098 * frame.c (Fset_frame_height):
5099 * frame.c (Fset_frame_size):
5103 * glyphs.c (decode_error_behavior_flag):
5104 * glyphs.c (Fmake_image_instance):
5105 * indent.c (Findent_to):
5106 * intl.c (Fignore_defer_gettext):
5107 * keymap.c (Fkeymapp):
5108 * keymap.c (Flookup_key):
5110 * lread.c (Fload_internal):
5111 * lread.c (Feval_buffer):
5112 * lread.c (Feval_region):
5113 * macros.c (Fexecute_kbd_macro):
5114 * marker.c (set_marker_internal):
5115 * marker.c (Fset_marker):
5116 * marker.c (set_marker_restricted):
5117 * marker.c (Fcopy_marker):
5118 * marker.c (noseeum_copy_marker):
5120 * menubar.c (Fpopup_menu):
5122 * mule-charset.c (Fcharset_name):
5123 * mule-charset.c (Fchar_charset):
5124 * mule-charset.c (Fchar_octet):
5125 * mule-charset.c (Fsplit_char):
5126 * mule-wnnfns.c (Fwnn_open):
5127 * mule-wnnfns.c (Fwnn_dict_comment):
5128 * mule-wnnfns.c (Fwnn_quit_henkan):
5129 * mule-wnnfns.c (Fwnn_word_toroku):
5130 * mule-wnnfns.c (Fwnn_word_sakujo):
5131 * mule-wnnfns.c (Fwnn_word_use):
5132 * mule-wnnfns.c (Fwnn_hindo_set):
5134 * objects.c (Fmake_color_instance):
5135 * objects.c (Fmake_font_instance):
5136 * print.c (Fwrite_char):
5138 * process.c (mark_process):
5139 * process.c (print_process):
5140 * process.c (get_process_from_usid):
5141 * process.c (Fprocessp):
5142 * process.c (Fprocess_live_p):
5143 * process.c (Fget_process):
5144 * process.c (Fget_buffer_process):
5145 * process.c (get_process):
5146 * process.c (Fprocess_id):
5147 * process.c (Fprocess_name):
5148 * process.c (Fprocess_command):
5149 * process.c (init_process_io_handles):
5150 * process.c (start_process_unwind):
5151 * process.c (Fstart_process_internal):
5152 * process.c (Fopen_multicast_group_internal):
5153 * process.c (Fset_process_window_size):
5154 * process.c (read_process_output):
5155 * process.c (send_process):
5156 * process.c (Fprocess_tty_name):
5157 * process.c (Fset_process_buffer):
5158 * process.c (Fprocess_buffer):
5159 * process.c (Fprocess_mark):
5160 * process.c (set_process_filter):
5161 * process.c (Fset_process_filter):
5162 * process.c (Fprocess_filter):
5163 * process.c (Fprocess_send_region):
5164 * process.c (Fprocess_send_string):
5165 * process.c (exec_sentinel):
5166 * process.c (Fset_process_sentinel):
5167 * process.c (Fprocess_sentinel):
5168 * process.c (status_notify):
5169 * process.c (Fprocess_status):
5170 * process.c (Fprocess_exit_status):
5171 * process.c (process_send_signal):
5172 * process.c (Fprocess_send_eof):
5173 * process.c (deactivate_process):
5174 * process.c (remove_process):
5175 * process.c (Fdelete_process):
5176 * process.c (kill_buffer_processes):
5177 * process.c (Fprocess_kill_without_query):
5178 * process.c (Fprocess_kill_without_query_p):
5180 * rangetab.c (Fget_range_table):
5181 * rangetab.c (Fput_range_table):
5182 * rangetab.c (Fremove_range_table):
5183 * rangetab.c (Fclear_range_table):
5185 * search.c (Fskip_chars_forward):
5186 * search.c (Fskip_chars_backward):
5187 * search.c (Fskip_syntax_forward):
5188 * search.c (Fskip_syntax_backward):
5189 * search.c (search_command):
5190 * search.c (Freplace_match):
5191 * search.c (Fregexp_quote):
5192 * select.c (Fown_selection_internal):
5193 * select.c (Fselection_owner_p):
5194 * select.c (Fselection_exists_p):
5195 * select.c (Fget_selection_internal):
5198 * symbols.c (Fintern):
5199 * symbols.c (Fintern_soft):
5200 * symbols.c (Funintern):
5201 * symbols.c (Fapropos_internal):
5202 * symbols.c (Fset_default):
5204 * syntax.c (Fsyntax_table_p):
5205 * syntax.c (Fcopy_syntax_table):
5206 * syntax.c (Fset_syntax_table):
5207 * syntax.c (Fchar_syntax):
5208 * syntax.c (syntax_match):
5209 * syntax.c (Fmatching_paren):
5210 * syntax.c (Fforward_word):
5211 * syntax.c (scan_lists):
5212 * syntax.c (Fscan_lists):
5213 * syntax.c (Fscan_sexps):
5214 * syntax.c (Fparse_partial_sexp):
5215 * toolbar.c (Fcheck_toolbar_button_syntax):
5218 * window.c (Fwindowp):
5219 * window.c (Fwindow_live_p):
5220 * window.c (Fwindow_point):
5221 * window.c (Fdelete_window):
5222 * window.c (Fnext_window):
5223 * window.c (Fprevious_window):
5224 * window.c (Fother_window):
5225 * window.c (window_loop):
5226 * window.c (Fget_lru_window):
5227 * window.c (Fsplit_window):
5228 * window.c (Fenlarge_window):
5229 * window.c (Fenlarge_window_pixels):
5230 * window.c (Fshrink_window):
5231 * window.c (Fshrink_window_pixels):
5232 * window.c (change_window_height):
5233 * window.c (Fwindow_configuration_p):
5234 * window.c (Fcurrent_window_configuration):
5236 * casefiddle.c (casify_object):
5237 * casefiddle.c (Fupcase):
5238 * casefiddle.c (Fdowncase):
5239 * casefiddle.c (Fcapitalize):
5240 * casefiddle.c (Fupcase_initials):
5241 * casefiddle.c (casify_region_internal):
5242 * casefiddle.c (casify_region):
5243 * casefiddle.c (Fupcase_region):
5244 * casefiddle.c (Fdowncase_region):
5245 * casefiddle.c (Fcapitalize_region):
5246 * casefiddle.c (Fupcase_initials_region):
5247 * casefiddle.c (Fupcase_word):
5248 * casefiddle.c (Fdowncase_word):
5249 * casefiddle.c (Fcapitalize_word):
5250 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
5251 Replace 0 with '\0' when working with bytes.
5252 Replace initial "(" with "\(" in docstrings.
5254 2000-11-01 Martin Buchholz <martin@xemacs.org>
5256 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
5258 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
5260 2000-10-31 Martin Buchholz <martin@xemacs.org>
5262 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
5264 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5266 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
5269 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
5271 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
5272 (inhibit_auto_save_session): New variable.
5273 (vars_of_fileio): Declare and initialize them.
5274 * fileio.c (Fdo_auto_save): Don't create session file if
5275 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
5277 2000-10-31 Martin Buchholz <martin@xemacs.org>
5279 * sgiplay.c (play_internal): C++ compilability.
5280 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
5281 * callproc.c (Fold_call_process_internal):
5282 Remove unused vars `env', `first'.
5283 * scrollbar.c (update_scrollbar_instance):
5284 #### unused var `current_window'.
5285 * redisplay-tty.c: Put currently unused vars insert_mode_on,
5286 etc. within #ifdef NOT_YET.
5287 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
5288 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
5289 * specifier.c (specifier_instance):
5290 #### unused var `tag'.
5291 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
5293 2000-10-27 Martin Buchholz <martin@xemacs.org>
5296 * fns.c (list_sort):
5297 * fns.c (Ffillarray):
5298 * fns.c (bytecode_nconc2):
5301 * fns.c (Fmapconcat):
5302 Be pedantically 64-bit correct. For the time when someone will
5303 want to have a list with length > 2**32.
5305 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5306 Work around MIPSpro compiler bug.
5308 * process-unix.c (unix_kill_child_process): Add snarky comment.
5309 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
5311 * config.h.in: Oops, _getpt ==> _getpty
5313 2000-10-26 Martin Buchholz <martin@xemacs.org>
5317 Use void*, not char*, as return type of alloca().
5319 * alloc.c (free_marker): Side effect inside assert expression!
5321 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
5323 * mule-charset.c (Fset_charset_ccl_program): To check
5324 if the given ccl program is valid, use setup_ccl_program()
5325 instead of CHECK_VECTOR().
5326 (Fmake_charset): Likewise.
5328 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
5330 * faces.c (get_extent_fragment_face_cache_index):
5331 Fix cachel.merged_faces memory leak.
5333 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
5335 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
5336 Reset MSB of octets obtained by DECODE_SJIS
5337 because of the incompatibility with Emacs.
5338 (ccl_driver)<CCL_ENCODE_SJIS>:
5339 Set MSB of octets before passing them to
5340 ENCODE_SJIS because of the incompatibility
5343 2000-10-18 Daiki Ueno <ueno@unixuser.org>
5345 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
5346 (DECLARE_LRECORD): Undo the last change.
5347 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
5349 2000-10-17 Daiki Ueno <ueno@unixuser.org>
5351 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
5352 the implementation to lrecord_implementations_table.
5354 2000-10-14 Daiki Ueno <ueno@unixuser.org>
5356 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
5357 initial value of `lrecord_type_##c_name' and
5358 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
5359 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
5360 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
5361 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
5362 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
5364 2000-10-17 Martin Buchholz <martin@xemacs.org>
5366 * miscplay.c (sndcnv8S_2mono):
5367 (sndcnv2monounsigned):
5368 (sndcnvULaw_2linear):
5370 Remove implementation-defined behavior.
5372 2000-10-12 Martin Buchholz <martin@xemacs.org>
5374 * input-method-xlib.c: Warning suppression.
5376 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
5378 * mule-ccl.c: Sync up with Emacs 21.0.90.
5379 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
5381 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
5383 (ccl_driver[WriteMultibyteChar2]): Bug fix.
5384 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
5385 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
5386 leading char belongs to official 2-dimensional charset.
5387 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
5388 write the given character as is. Otherwise,
5389 if it is a multibyte char, convert it by
5390 non_ascii_set_charptr_emchar, then write it.
5391 (CCL_WRITE_STRING): Likewise.
5392 (ccl_get_compiled_code): New function.
5393 (setup_ccl_program): When ccl_prog is invalid,
5395 (Fregister_code_conversion_map): New function.
5396 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
5398 * mule-ccl.h: Sync up with Emacs 21.0.90.
5399 (Fregister_ccl_program): export it.
5401 * redisplay-msw.c (separate_textual_runs):
5402 If ccl program is not valid, don't do ccl conversion.
5404 * redisplay-x.c (separate_textual_runs): Ditto.
5406 * file-coding.c (Fmake_coding_system):
5407 When type is ccl and value is vector, register it
5408 with a proper symbol. And checks whether the
5409 given ccl program is valid.
5410 (mule_decode): When calling ccl_driver, if src indicates
5411 NULL pointer, set an empty string instead.
5412 (mule_encode): Likewise.
5414 2000-10-11 Martin Buchholz <martin@xemacs.org>
5416 The following large batch of changes gets us back to a state of
5417 C++ compilability. Extbyte is now a char, which means that
5418 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
5420 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
5422 * sound.c (Fplay_sound): Type correctness.
5424 * select-x.c (hack_motif_clipboard_selection): Type correctness.
5425 (x_get_window_property): Type correctness.
5426 (receive_incremental_selection): unsigned char ==> Extbyte
5427 (selection_data_to_lisp_data): unsigned char ==> Extbyte
5428 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
5429 (Fx_store_cutbuffer_internal): Type correctness.
5431 * process-unix.c (try_to_initialize_subtty): Type correctness.
5433 * objects-x.c (x_print_color_instance): Type correctness.
5434 (x_print_font_instance): Type correctness.
5435 (x_list_fonts): SExtbyte ==> Extbyte.
5436 (valid_x_font_name_p): SExtbyte ==> Extbyte.
5437 (x_find_charset_font): SExtbyte ==> Extbyte.
5438 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
5439 (truename_via_XListFonts): SExtbyte ==> Extbyte.
5440 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
5443 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
5444 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
5445 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
5446 (BYTE_C0_P): Use bit ops for char-signedness safety.
5447 (BYTE_C1_P): Use bit ops for char-signedness safety.
5448 (CHARSET_BY_LEADING_BYTE):
5449 (CHARSET_BY_ATTRIBUTES):
5450 Always use inline function.
5451 Use type_checking_assert.
5454 * mule-charset.c (non_ascii_charptr_copy_char):
5455 Modify to work with both ASCII and non-ASCII characters.
5456 Improve docs and variable names.
5457 Replace over-clever fall-through switch with a simple loop.
5458 (Lstream_get_emchar_1):
5459 Replace over-clever fall-through switch with a simple loop.
5461 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5462 Warning suppression.
5464 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
5465 the return value of Lstream_getc, which could be EOF as well.
5467 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
5469 * lisp.h: Make Extbyte a char, not unsigned char, so that external
5470 APIs can be used on Extbytes without casts. Risky!
5474 * input-method-xlib.c (XIM_init_device):
5475 Use Xlib.h instead of IntrinsicP.h.
5476 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
5477 which will break in X11R7.
5478 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
5479 to call XRegisterIMInstantiateCallback with correct types.
5481 * gui-x.c (button_item_to_widget_value): Type correctness.
5483 * glyphs.c (bitmap_to_lisp_data): Type correctness.
5485 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
5486 (xbm_instantiate_1): Type correctness.
5487 (BUILD_GLYPH_INST): Type correctness.
5489 * fileio.c (Fsubstitute_in_file_name): Type correctness.
5492 (decode_coding_sjis):
5493 (decode_coding_big5):
5494 (decode_coding_ucs4):
5495 (decode_coding_utf8):
5496 (decode_coding_iso2022):
5497 (decode_coding_no_conversion):
5498 Make all decoding functions take an Extbyte * arg.
5499 (encode_coding_sjis):
5500 (encode_coding_big5):
5501 (encode_coding_ucs4):
5502 (encode_coding_utf8):
5503 (encode_coding_iso2022):
5504 (encode_coding_no_conversion):
5505 Make all encoding functions take a Bufbyte * arg.
5506 Use size_t instead of unsigned int for memory sizes.
5507 Only cast to unsigned char whenever dereferencing Extbyte *.
5509 * doc.c (unparesseuxify_doc_string): Type correctness.
5511 * console-x.c (split_up_display_spec):
5512 Rewrite without using details of internal string representation.
5513 (x_semi_canonicalize_device_connection): Type correctness.
5516 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
5517 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
5518 (HAVE_XFREE386): Removed.
5520 * buffer.h (DEC_CHARPTR): `const' correctness.
5521 (bufbyte_strcmp): New.
5522 (bufbyte_memcmp): New.
5524 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
5526 * buffer.h (XCHAR_OR_CHAR_INT):
5527 Always use inline function.
5528 Remove redundant type checking assert() - XINT will abort quite nicely.
5530 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5532 * search.c (Freplace_match): Set newtext to an empty string.
5534 2000-10-10 Martin Buchholz <martin@xemacs.org>
5536 * s/decosf1-3.h: Remove #include of stropts.h
5537 * s/ptx.h: Remove #include of stropts.h
5538 * s/usg5-4.h: Remove #include of stropts.h
5541 Use stropts.h, not sys/stropts.h.
5542 Use strtio.h, not sys/strtio.h.
5544 2000-10-04 Martin Buchholz <martin@xemacs.org>
5546 * XEmacs 21.2.36 is released.
5548 2000-09-21 Andy Piper <andy@xemacs.org>
5550 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5551 changes still involve copying the widget tree.
5552 (update_widget_face): make sure a change is register in the widget
5553 tree. Call update_tab_widget_face appropriately.
5554 (update_tab_widget_face): ditto.
5555 (x_tab_control_redisplay): make sure non-structural changes still
5556 involve copying the widget tree.
5558 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5560 * lread.c (locate_file): Check the path element is non-nil.
5562 2000-10-02 Martin Buchholz <martin@xemacs.org>
5564 * lisp.h: Warning suppression for SCO compilers.
5566 * redisplay-tty.c (reset_tty_modes): Fix crash.
5567 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5569 2000-09-27 Martin Buchholz <martin@xemacs.org>
5571 Big signal/process handling overhaul. Bugs fixed:
5572 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5573 M-x comint-kill-subjob should work for both values nil and t of
5574 process-connection-type. It was broken on most platforms.
5575 Testing on Irix and Cygwin still needed. Other plaforms tested.
5576 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5577 * process-unix.c: Signal/Process handling overhaul.
5578 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5579 (allocate_pty): Use all available modern methods of allocating
5580 ptys, falling back to old style BSD allocation as a last resort.
5581 Use allegedly more secure Unix98 pty allocation by default.
5582 (allocate_pty_the_old_fashioned_way): New. the last resort.
5583 (unix_create_process): Push ptem, ldterm, ttcompat where
5584 available. Autoconfiscate.
5585 (try_to_initialize_subtty): New.
5586 (unix_kill_child_process): Proper signal handling for ptys on most
5587 platforms, using special knowledge of AIX, BSD, etc...
5588 (unix_create_process): Always disconnect_controlling_terminal() for
5589 subprocesses, whether using ptys or not.
5590 * process.h: Remove old getpt-dependent PTY code.
5591 * process.c (Fprocess_send_signal): New, obvious generic function.
5592 (decode_signal): New.
5593 (Finterrupt_process):
5597 (Fcontinue_process):
5598 (Fsignal_process): Use decode_signal.
5599 (process_send_signal):
5600 Many docstring corrections.
5601 Allow any signal to be sent to a process object.
5602 * config.h.in: Add symbols for big signal/process overhaul.
5603 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5604 * sysproc.h: Include process-related headers, where available:
5605 sys/stropts.h sys/strtio.h pty.h libutil.h
5613 Remove old S&M pty stuff.
5614 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5615 * systty.h: Simplify cpp hackery, improve comments.
5616 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5618 * editfns.c (Fformat_time_string):
5619 Be a little more paranoid with the return value of ctime.
5621 * fileio.c (check_executable):
5623 Use symbolic constants X_OK, W_OK.
5625 * console-x.c (split_up_display_spec): Fix a warning.
5627 2000-10-02 Martin Buchholz <martin@xemacs.org>
5629 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5630 * ntproc.c (sys_spawnve): make_string ==> build_string
5631 Small clarity improvements.
5633 2000-09-30 Martin Buchholz <martin@xemacs.org>
5635 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5637 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5639 * config.h.in (HAVE_STRCASECMP): Remove.
5641 2000-09-29 Martin Buchholz <martin@xemacs.org>
5643 * redisplay-output.c (redisplay_output_pixmap):
5644 Cleaner and possibly more 64-bit correct code.
5646 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5648 * dumper.c (pdump_load_finish): move restoration of
5649 `noninteractive1' to emacs.c (main_1).
5650 * emacs.c (main_1): protect LISP-visible command-line flags
5653 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5655 * Makefile.in.in (versionclean): Use EXE_TARGET and
5656 DUMP_TARGET instead of literal program names.
5658 2000-09-20 Martin Buchholz <martin@xemacs.org>
5660 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5662 2000-09-19 Martin Buchholz <martin@xemacs.org>
5664 * *: Spelling mega-patch
5666 2000-09-19 Martin Buchholz <martin@xemacs.org>
5668 * fns.c (bad_bad_turtle):
5669 Delete "Eek!" comment, since we fixed the bug to which it refers.
5671 2000-09-16 Martin Buchholz <martin@xemacs.org>
5673 * alloca.c: Replace REGISTER with register.
5675 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5677 * file-coding.c (ucs_to_char): Use countof.
5679 2000-09-16 Martin Buchholz <martin@xemacs.org>
5681 * file-coding.c: (ucs_to_char):
5682 (complex_vars_of_file_coding):
5683 Use countof instead of sizeof.
5684 Use CHECK_NATNUM instead of CHECK_INT.
5686 * sysdep.c (strcasecmp): Remove.
5687 * device-x.c (ascii_strcasecmp): New.
5688 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5689 Avoid using non-standard non-portable strcasecmp.
5691 2000-09-16 Martin Buchholz <martin@xemacs.org>
5693 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5694 * font-lock.c: remove reference to emacsfns.h.
5695 * search.c: small doc improvement.
5696 * event-Xt.c: correct file names in comments.
5697 * console-x.h Correct file names in comments.
5698 * frame.c: Correct file names in comments.
5699 * event-stream.c: remove Energize from comments.
5701 2000-09-15 Martin Buchholz <martin@xemacs.org>
5703 * symeval.h (DEFERROR_STANDARD):
5706 (DEFSYMBOL_NO_DUMP):
5707 (DEFSYMBOL_MULTIWORD_PREDICATE):
5708 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5710 The construct &##name is not sensible C.
5711 Fixes compilation errors with Unixware native compiler.
5713 2000-09-14 Martin Buchholz <martin@xemacs.org>
5715 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5716 (next_frame_internal): Removed. We now just have next_frame.
5718 Write a simpler and cleaner one-pass algorithm.
5719 Remove called_from_delete_device arg and #ifdefed-out code.
5721 Renamed from prev_frame. Update callers.
5722 Cleaned up to have an analogous implementation to next_frame.
5723 (other_visible_frames_internal): Remove the
5724 called_from_delete_device bogus arg, and hence, remove this
5725 function. Just use other_visible_frames().
5727 * window.c (Fnext_window):
5729 Since next_frame() is guaranteed to return a frame, remove check
5730 for nil inserted in previous patch.
5733 Make code look more like Fnext_window.
5735 Respect the `console' arg when iterating through windows.
5736 Fixes bug: (get-buffer-window buffer t device) not respecting
5738 This function needs more work, as others have pointed out.
5740 * frame.h: Rename prev_frame to previous_frame.
5741 device_matches_console_spec no longer takes a `frame' arg.
5746 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5747 From "Golubev I. N." <gin@mo.msk.ru>.
5749 * make-src-depend: Fix typo.
5751 2000-09-13 Martin Buchholz <martin@xemacs.org>
5753 * window.c (Fnext_window):
5754 next_frame() might return nil, not a frame.
5756 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5758 * frame.c (next_frame_internal):
5759 We've passed a frame if we've passed its device.
5761 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5762 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5764 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5766 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5767 Allow option to suppress accelerators in menu/dialog items.
5768 (populate_or_checksum_helper): Pass dialog title through above.
5770 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
5772 * event-msw.c (mswindows_key_to_emacs_keysym):
5773 Add "pause" key, fix "menu" key.
5775 2000-09-09 Martin Buchholz <martin@xemacs.org>
5777 * eval.c (reinit_vars_of_eval):
5778 Increase max_lisp_eval_depth to 1000,
5779 required for thai-xtis.el to byte-compile under some circumstances.
5781 2000-09-04 Martin Buchholz <martin@xemacs.org>
5783 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
5786 2000-09-01 Martin Buchholz <martin@xemacs.org>
5788 * make-src-depend: Make the generated Makefiles smaller.
5790 * s/hpux.h (SETUP_SLAVE_PTY):
5791 Provide a %d in the format string for the errno argument.
5793 * editfns.c (Ftemp_directory):
5795 Avoid buffer overrun on very long file name.
5797 * input-method-xlib.c (XIM_init_device):
5798 6th parameter of XRegisterIMInstantiateCallback has different
5799 pointer types on different OSes, so simply cast to (void *).
5801 * unexhp9k800.c: Warning fixes. Fiddly changes.
5803 * sysdll.c (dll_open):
5804 shl_load will hang hard if passed a NULL filename.
5805 Simply return NULL for compatibility with dlopen.
5806 * sysdll.c: Conform to XEmacs coding standards.
5808 * sysdep.c (get_pty_max_bytes):
5809 Support pty input lines longer than 512 bytes on HP-UX 10.20.
5811 2000-08-31 Martin Buchholz <martin@xemacs.org>
5813 * tooltalk.c: Add #include <syssignal.h>
5815 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5817 * s/hpux.h: Don't use undefined function sigunblock().
5819 2000-08-31 Martin Buchholz <martin@xemacs.org>
5821 * config.h.in: Add HAVE_BALLOON_HELP.
5822 * emacs.c: Use HAVE_BALLOON_HELP.
5823 * Makefile.in.in (x_objs):
5824 Make Balloon Help conditional on finding shape.h.
5826 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5828 * syntax.c (regex_emacs_buffer_p): New variable.
5829 * syntax.h (regex_emacs_buffer_p): extern.
5830 * search.c (looking_at_1):
5832 (fast_string_match):
5833 (search_buffer): Set regex_emacs_buffer_p.
5834 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
5835 when before_dot, at_dot, after_dot.
5837 2000-08-23 Andy Piper <andy@xemacs.org>
5839 * gui-x.c (popup_selection_callback): Only set action_occurred
5840 when we really have an image instance.
5841 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5843 2000-08-23 Andy Piper <andy@xemacs.org>
5845 * gui-msw.c (mswindows_handle_gui_wm_command): set
5847 * gui-x.c (popup_selection_callback): ditto.
5849 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
5850 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
5851 (struct Lisp_Image_Instance): add action_occurred flag.
5853 * glyphs.c (redisplay_subwindow): use action_occurred flag.
5854 (image_instance_changed): ditto.
5855 (reset_frame_subwindow_instance_cache): only unmap windows - do
5856 not remove them from the cache also.
5858 * glyphs-widget.c (tab_control_update): better debug.
5859 (progress_gauge_update): ditto.
5860 (layout_update): ditto.
5861 (layout_instantiate): ditto.
5862 (tab_control_order_only_changed): cope with null pending items.
5864 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
5865 debug. Force selection of an item when an action occurred. Cope
5866 with null pending_items.
5867 (mswindows_progress_gauge_redisplay): better debug.
5868 * glyphs-x.c (x_tab_control_redisplay): ditto.
5870 * redisplay.c (redisplay_frame): reset the frame cache if the
5873 * window.c (Fset_window_configuration): potentially re-enable
5875 (window_unmap_subwindows): need to finalize instances here since
5876 it is only used in mark_window_as_deleted.
5878 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
5880 * nas.c (SndOpenDataForReading):
5881 nas.c (WaveOpenDataForReading):
5882 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
5883 Somehow escaped from the 2000-08-14 patch.
5885 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5887 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
5888 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
5890 2000-08-21 Andy Piper <andy@xemacs.org>
5892 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
5893 window if it is not already displayed.
5895 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
5896 it is not already displayed.
5898 * window.c (Fset_window_configuration): don't reset the frame
5901 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
5902 instances from the frame cache if we are actually finalizing them.
5903 (reset_frame_subwindow_instance_cache): reset frame cache only
5904 after unmapping everything.
5905 (map_subwindow): set displayed flag after mapping.
5907 2000-08-21 Martin Buchholz <martin@xemacs.org>
5909 * data.c (indirect_function):
5910 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
5912 * eval.c (function_argcount):
5913 Use original function when signaling errors.
5915 2000-08-18 Andy Piper <andy@xemacs.org>
5917 * frame.c (delete_frame_internal): use new
5918 free_frame_subwindow_instances name.
5920 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
5921 (add_tab_item): make return type correct.
5922 (mswindows_tab_control_instantiate): assert index of tab.
5923 (mswindows_tab_control_redisplay): Re-code to use
5924 gui_item_equal_sans_selected and gui_item_list_find_selected.
5926 * glyphs-widget.c (tab_control_update): Correct comment.
5928 * window.c (window_unmap_subwindows): use new
5929 unmap_subwindow_instance_cache_mapper.
5930 (window_unmap_subwindows_cache_mapper): deleted.
5931 (Fset_window_configuration): comparisons should now be with
5932 EQ. Preserve the subwindow instance cache across configuration
5934 (allocate_window): ditto.
5935 (make_dummy_parent): ditto.
5937 * glyphs.c (free_frame_subwindow_instances): rename from
5938 free_frame_subwindow_instance_cache. finalize all instances rather
5939 than just those in the display cache.
5940 (finalize_all_subwindow_instances): walk windows unmapping and
5941 finalizing subwindows.
5942 (unmap_subwindow_instance_cache_mapper): moved from
5943 window.c. Allow finalization as well as unmapping.
5945 * gui.c (gui_item_list_find_selected): new function.
5947 * gui.h (gui_item_list_find_selected): declare.
5949 * glyphs-x.c (x_tab_control_redisplay): pick tab
5950 explicitly. Re-code to use gui_item_equal_sans_selected and
5951 gui_item_list_find_selected.
5953 * glyphs-x.h: add lwlib-utils.h
5955 * buffer.c (Frecord_buffer): undo previous change.
5957 2000-08-09 Vin Shelton <acs@xemacs.org>
5959 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
5960 possible. Create temporary files more securely. The patch was
5961 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
5962 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
5963 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
5966 2000-08-07 Ben Wing <ben@xemacs.org>
5968 * getloadavg.c: remove duplicate (and windows-breaking)
5969 includes of fcntl.h and sys/file.h.
5971 * nt.c: remove duplicate getloadavg() definition.
5973 * sysdll.h (Qdll_filename_encoding): add missing stand-in
5976 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
5978 * eval.c (function_argcount): If function needs to be autoloaded
5979 actually use the loaded definition.
5982 2000-08-05 Ben Wing <ben@xemacs.org>
5984 * getloadavg.c: add prototype for getloadavg(). remove
5985 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
5986 of the code). remove duplicate header includes.
5988 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
5990 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
5991 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
5992 useful load average.
5994 * alloc.c (reinit_alloc_once_early): removed references to
5995 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
5996 the lisp vars are the only things referencing the malloc_sbrk_*
5997 vars, and they were already if 0'd out. these vars only exist
5998 in the older malloc.c, which is basically unused, and they're
5999 only for informational purposes.
6001 * m\*.h: removed useless VIRT_ADDR_VARIES.
6003 * m\powerpc.h: removed stray NO_ARG_ARRAY.
6005 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
6007 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
6008 color if the image is a mono pixmap.
6010 2000-07-30 Ben Wing <ben@xemacs.org>
6012 * Makefile.in.in (release):
6015 * buffer.c (directory_is_current_directory):
6016 * dired-msw.c (mswindows_get_files):
6018 * dired.c (Fdirectory_files):
6019 * dired.c (file_name_completion_stat):
6020 * dired.c (Ffile_attributes):
6021 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
6022 preprocessor tricks, to avoid problems on some machines
6025 * callproc.c (egetenv): GC docs.
6028 * console-msw.h (struct mswindows_dialog_id):
6029 * lrecord.h (lrecord_type):
6030 New object for use with MSW dialogs.
6032 * console.h (struct console_methods):
6033 New enable/disable frame methods, for proper modal dialogs.
6035 * device-msw.c (msprinter_default_printer): Fix to follow
6036 proper Mule conventions.
6039 * device-msw.c (signal_open_printer_error):
6040 * device-msw.c (msprinter_init_device):
6041 * device-msw.c (ensure_not_printing):
6042 * device-msw.c (plist_get_margin):
6043 * device-msw.c (Fmsprinter_select_settings):
6044 * device-msw.c (finalize_devmode):
6045 * device-msw.c (Fmsprinter_settings_despecialize):
6046 * device-msw.c (signal_enum_priner_error):
6047 * extents.c (decode_extent):
6048 * extents.c (decode_map_extents_flags):
6049 * extents.c (decode_extent_at_flag):
6050 * extents.c (Fextent_at):
6051 * extents.c (Fextents_at):
6052 * extents.c (symbol_to_glyph_layout):
6053 [[[[2]]]] Use structured errors.
6056 * dialog-msw.c (mswindows_is_dialog_msg):
6057 * dialog-msw.c (mark_mswindows_dialog_id):
6058 * dialog-msw.c (dialog_proc):
6059 * dialog-msw.c (handle_question_dialog_box):
6060 * dialog-msw.c (syms_of_dialog_mswindows):
6061 Define new object to clean up marking; use it as a dialog identifier.
6062 Call new delete-dialog-box-hook.
6064 * dialog-x.c (dbox_selection_callback):
6065 * dialog-x.c (dbox_descriptor_to_widget_value):
6066 * dialog-x.c (x_make_dialog_box_internal):
6067 Call new delete-dialog-box-hook.
6071 * dialog.c (syms_of_dialog):
6072 * dialog.c (vars_of_dialog):
6073 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
6076 * eval.c (signal_call_debugger):
6077 when noninteractive, output stack traces on the console instead
6078 of in a (never-seen) buffer.
6080 * eval.c (signal_type_error):
6081 * eval.c (invalid_argument_2):
6083 new funs for use w/structured errors.
6086 * event-Xt.c (x_to_emacs_keysym):
6087 * event-Xt.c (describe_event):
6088 * event-Xt.c (emacs_Xt_event_handler):
6089 * event-Xt.c (vars_of_event_Xt):
6091 * event-msw.c (mswindows_wnd_proc):
6092 * event-msw.c (vars_of_event_mswindows):
6093 rename {x,mswindows}-debug-events to debug-{}-events for
6094 consistency with other debug-foo variables.
6097 document next-event more clearly.
6099 * fileio.c (Ffile_name_directory):
6100 * fileio.c (Ffile_name_nondirectory):
6101 * fileio.c (Funhandled_file_name_directory):
6102 * fileio.c (file_name_as_directory):
6103 * fileio.c (Ffile_name_as_directory):
6104 * fileio.c (directory_file_name):
6105 * fileio.c (Fdirectory_file_name):
6106 * fileio.c (Fmake_temp_name):
6107 * fileio.c (Ffile_truename):
6108 * fileio.c (Fsubstitute_in_file_name):
6109 * fileio.c (expand_and_dir_to_file):
6110 * fileio.c (barf_or_query_if_file_exists):
6111 * fileio.c (check_executable):
6112 * fileio.c (Ffile_exists_p):
6113 * fileio.c (Ffile_writable_p):
6114 * fileio.c (Ffile_directory_p):
6115 * fileio.c (Ffile_regular_p):
6116 * fileio.c (Ffile_modes):
6117 * fileio.c (Ffile_newer_than_file_p):
6118 * fileio.c (Fverify_visited_file_modtime):
6119 * fileio.c (Fset_visited_file_modtime):
6120 * fileio.c (auto_save_1):
6125 * frame-msw.c (mswindows_init_frame_1):
6126 * frame-msw.c (mswindows_enable_frame):
6127 * frame-msw.c (error_frame_unsizable):
6128 * frame-msw.c (msprinter_init_frame_1):
6129 * frame-msw.c (msprinter_init_frame_3):
6130 * frame-msw.c (console_type_create_frame_mswindows):
6132 implement new enable/disable frame methods.
6135 * frame-x.c (x_enable_frame):
6136 * frame-x.c (console_type_create_frame_x):
6137 implement new enable/disable frame methods.
6140 * frame.c (Fdisable_frame):
6141 * frame.c (syms_of_frame):
6142 * frame.h (struct frame):
6143 implement new enable/disable frame methods/functions.
6148 * glyphs-msw.c (mswindows_widget_instantiate):
6149 comment that initial-focus should be implemented.
6152 * glyphs-widget.c (check_valid_instantiator):
6153 * glyphs-widget.c (check_valid_orientation):
6154 * glyphs-widget.c (check_valid_tab_orientation):
6155 * glyphs-widget.c (check_valid_justification):
6156 * glyphs-widget.c (check_valid_border):
6157 * glyphs-widget.c (check_valid_callback):
6158 * glyphs-widget.c (check_valid_int_or_function):
6159 * glyphs-widget.c (check_valid_string_or_vector):
6160 * glyphs-widget.c (check_valid_item_list_1):
6161 * glyphs-widget.c (widget_validate):
6162 * glyphs-widget.c (combo_box_validate):
6163 * glyphs-widget.c (widget_instantiate):
6164 * glyphs-widget.c (syms_of_glyphs_widget):
6165 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
6166 * glyphs-widget.c (image_instantiator_combo_box):
6167 * glyphs-widget.c (image_instantiator_scrollbar):
6168 * glyphs-widget.c (image_instantiator_tab_control):
6169 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
6171 support (unimplemented) keyword initial-focus.
6172 reindent long macros.
6174 * glyphs-x.c (x_redisplay_widget):
6175 * glyphs-x.c (x_button_instantiate):
6176 * glyphs-x.c (x_button_redisplay):
6177 * glyphs-x.c (x_progress_gauge_instantiate):
6178 * glyphs-x.c (x_edit_field_instantiate):
6179 * glyphs-x.c (x_combo_box_instantiate):
6180 * glyphs-x.c (x_tab_control_instantiate):
6181 * glyphs-x.c (x_label_instantiate):
6183 * gui-x.c (button_item_to_widget_value):
6184 * gui-x.c (gui_items_to_widget_values_1):
6185 * gui-x.c (gui_item_children_to_widget_values):
6186 * gui-x.c (gui_items_to_widget_values):
6188 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6189 add new flag to gui-parsing routines to indicate whether
6190 accelerator specs should be supported.
6192 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
6194 * glyphs.h (struct Lisp_Image_Instance):
6195 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
6196 add initial-focus flag.
6199 * gui.c (syms_of_gui):
6200 * gui.c (vars_of_gui):
6201 clean up menu-no-selection-hook.
6204 support delete-dialog-box-hook.
6206 * lread.c (Fload_internal):
6207 * lread.c (locate_file_in_directory_mapper):
6211 * lrecord.h (struct toolbar_button):
6212 * lrecord.h (syms_of_toolbar):
6213 document how to create a new object.
6215 * menubar-msw.c (mswindows_char_is_accelerator):
6216 may be called on frames w/o menus.
6218 * menubar.c (vars_of_menubar):
6219 clean up :filter docs.
6226 * process-nt.c (validate_signal_number):
6227 * process-nt.c (signal_cannot_launch):
6228 * process-nt.c (nt_create_process):
6229 * process-nt.c (nt_send_process):
6230 * process-nt.c (nt_kill_child_process):
6231 * process-nt.c (nt_open_network_stream):
6232 * process-nt.c (syms_of_process_nt):
6234 delete quote-handling. call new lisp code that does it better.
6236 * process-unix.c (connect_to_file_descriptor):
6237 * process-unix.c (allocate_pty):
6238 * process-unix.c (unix_send_process):
6239 * process-unix.c (unix_kill_child_process):
6240 * process-unix.c (unix_open_network_stream):
6241 * process-unix.c (unix_open_multicast_group):
6245 * process.c (Fstart_process_internal):
6246 (2). need to canonicalize process path even if absolute.
6248 * select-msw.c (symbol_to_ms_cf):
6249 * select-msw.c (ms_cf_to_symbol):
6250 * select-msw.c (cf_is_autofreed):
6251 * select-msw.c (mswindows_destroy_selection):
6253 * select.c (syms_of_select):
6255 support dibv5, fix bugs. (from Mike Alexander)
6257 * select.c (Fget_selection_internal):
6258 * select.c (select_convert_out):
6261 * sysdep.c (xemacs_stat):
6266 but keep original stat() here because we provide encapsulation
6270 * sysfile.h (fstat):
6271 remove stat garbage.
6275 don't include tchar.h. it's inappropriate because it makes
6276 compile-time distinctions when we want runtime distinctions.
6277 (we provide our own tchar replacements)
6280 use default object printer for toolbar-button.
6283 make sure we don't encapsulate.
6285 * window.c (vars_of_window):
6286 emphasize that temp-buffer-show-hook is obsolete.
6288 2000-08-05 Martin Buchholz <martin@xemacs.org>
6290 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
6291 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
6293 * events.c (Fevent_timestamp_lessp):
6294 Not 64-bit clean. Use EMACS_INT, not int.
6296 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
6298 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
6299 unsigned int and changed the last enum to
6300 lrecord_type_last_built_in_type.
6301 (lrecord_implementations_table): changed prototype to know how
6302 long the array is supposed to be.
6303 (lrecord_type_count): new unsigned int to keep track of the
6304 current number of lisp lrecord types.
6305 (DEFINE_EXTERNAL_LRECORD):
6306 (DECLARE_EXTERNAL_LRECORD): Added these two for external
6307 dynamic-modules to declare new lisp types. They are the same
6308 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
6309 int for each new type, and increment lrecord_type_count by 1.
6311 * alloc.c (lrecord_implementations_table): Changed to reference
6312 lrecord_type_last_built_in_type for the size of the array.
6313 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
6315 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
6317 * glyphs.h (check_valid_item_list): Renamed from
6318 check_valid_item_list_1.
6320 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
6322 * select.c (Qselect_coerce): New.
6323 * select.c (Vselection_coercion_alist): New.
6324 * select.c (syms_of_select): Declare.
6325 * select.c (get-selection-internal): Use it.
6326 Use the new select-coerce functionality.
6328 * select.c (select_coerce): New.
6329 * select.h (select_coerce): Declare.
6330 New function to coerce one type of data into another.
6332 2000-08-03 Martin Buchholz <martin@xemacs.org>
6334 * callproc.c (Fcall_process_internal):
6335 (Fcall_process_internal):
6336 * process-unix.c (unix_create_process):
6337 Save and restore the value of errno, so that error messages are accurate.
6339 2000-08-01 Martin Buchholz <martin@xemacs.org>
6341 * elhash.c (print_hash_table):
6342 Fix printing of hash tables to also use `key-and-value' instead of `t'.
6343 Prettify docstrings and indentation.
6345 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
6347 * window.c (Fwindow_pixel_edges): Subtract frame border and
6350 2000-07-31 Andy Piper <andy@xemacs.org>
6352 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
6353 will acknowledge the change.
6355 * glyphs.h: declare tab_control_order_only_changed.
6357 * glyphs-x.c (x_tab_control_redisplay): use
6358 tab_control_order_only_changed.
6360 * glyphs-widget.c (tab_control_order_only_changed): new function.
6362 * glyphs-msw.c (mswindows_tab_control_redisplay): use
6363 tab_control_order_only_changed.
6365 * gui.c (gui_item_equal_sans_selected): new function.
6366 (gui_item_equal): use it.
6368 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
6369 :properties in favor of :items..
6371 * glyphs-widget.c (check_valid_item_list): rename from
6372 check_valid_item_list_1.
6373 (check_valid_item_list_1): renamed.
6374 (combo_box_validate): deprecate :properties in favor of :items.
6375 (widget_instantiate): ditto.
6376 (tab_control_update): ditto.
6377 (image_instantiator_combo_box): ditto.
6378 (image_instantiator_tree_view): ditto.
6379 (image_instantiator_tab_control): ditto.
6380 (layout_post_instantiate): remove dead code.
6382 * print.c (debug_print_no_newline): only write to debugger if in
6385 * elhash.c (Fmake_hash_table): update doc string.
6387 * event-msw.c (mswindows_wnd_proc): don't allow processing of
6388 messages whilst in GC. This at least stops XEmacs crashing but has
6389 the potential for wierd behaviour.
6391 2000-07-31 Martin Buchholz <martin@xemacs.org>
6394 Make existence of s&m files optional.
6396 * s/bsd386.h: Remove HAVE_GETLOADAVG.
6397 * s/freebsd.h: Remove HAVE_GETLOADAVG.
6398 * s/gnu.h: Remove HAVE_GETLOADAVG.
6399 * s/netbsd.h: Remove HAVE_GETLOADAVG.
6400 * s/sol2.h: Remove HAVE_GETLOADAVG.
6401 * lisp.h: Remove getloadavg() declaration.
6403 Include <sys/loadavg.h> if available.
6404 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
6405 * config.h.in: Group together getloadavg()-related macros.
6406 Use only configure-time tests to detect getloadavg().
6408 2000-07-30 Martin Buchholz <martin@xemacs.org>
6410 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
6412 2000-07-25 Andy Piper <andy@xemacs.org>
6414 * syswindows.h: add tchar.h for native builds.
6416 * frame.c (syms_of_frame): remove set-glyph-image.
6418 * general-slots.h: add Qset_glyph_image.
6420 * glyphs-widget.c (layout_update): add domain arg to
6422 (syms_of_glyphs_widget): remove set-glyph-image.
6424 2000-07-23 Ben Wing <ben@xemacs.org>
6426 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
6429 2000-07-22 Andy Piper <andy@xemacs.org>
6431 * symsinit.h: add syms_of_win32().
6433 * gui-msw.c (syms_of_gui_mswindows): remove
6434 Fmswindows_shell_execute.
6435 (Fmswindows_shell_execute): moved to win32.c.
6437 * emacs.c (main_1): add syms_of_win32 ().
6439 * win32.c (init_potentially_nonexistent_functions): rewrite in
6440 compiler-friendly terms.
6441 (Fmswindows_shell_execute): move here from gui-msw.c.
6442 (syms_of_win32): new.
6444 * device-msw.c (Fmswindows_printer_list): clean up args to
6446 Don't include tchar under cygwin or mingw.
6447 (msprinter_default_printer): make cygwin-friendly.
6449 2000-07-21 Andy Piper <andy@xemacs.org>
6451 * glyphs-widget.c (image_instantiator_tree_view): use tab
6452 control's update function.
6453 (layout_property): new function. Retrieve items.
6455 * glyphs-msw.c (mswindows_tree_view_redisplay): new
6456 function. Re-populate the tree view from the pending items.
6458 * glyphs.c (instantiate_image_instantiator): Make sure the domain
6459 is designated the parent if the domain is an image instance. This
6460 is needed so that dirtiness can be cascade up the hierarchy and
6461 thus for layout children to be redisplayed correctly.
6462 (allocate_image_instance): rename glyph -> parent.
6464 * redisplay.h: change redisplay_output_layout signature.
6466 * redisplay-msw.c (mswindows_output_display_block): use domain
6469 * redisplay-x.c (x_output_display_block): use domain arg.
6471 2000-07-10 Andy Piper <andy@xemacs.org>
6473 * window.c (Fset_window_configuration): add comment.
6475 * redisplay-output.c (compare_runes):
6476 (redisplay_output_subwindow): redisplay rather than update subwindow.
6477 (redisplay_output_layout): ditto.
6479 * redisplay-msw.c (mswindows_frame_output_end):
6480 (mswindows_frame_output_end): make defer window pos optional.
6482 * lisp.h: add Flast.
6484 * glyphs.h (struct image_instantiator_methods): add dest_mask top
6485 normalize method. Change update method to be for changed
6486 instantiators. Add redisplay method. Change signature of layout
6488 (struct Lisp_Image_Instance): add instantiator.
6489 (IMAGE_INSTANCE_INSTANTIATOR): new.
6490 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
6491 (XIMAGE_INSTANCE_INSTANTIATOR): new.
6492 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
6495 (find_instantiator_differences): new function.
6496 (Fset_instantiator_property): new convenience function.
6497 (check_image_instance_structure): strictly check for vector
6499 (normalize_image_instantiator): make non-static.
6500 (instantiate_image_instantiator): pass on dest_mask and use new
6501 signatures for image_instance_layout and friends.
6502 (mark_image_instance): mark the instantiator. Mark the subwindow
6503 face not the widget face.
6504 (image_instance_equal): add instantiator.
6505 (image_instance_hash): ditto.
6506 (allocate_image_instance): ditto.
6507 (Fset_image_instance_property): removed.
6508 (Fimage_instance_file_name): ditto.
6509 (Fcolorize_image_instance): ditto.
6510 (image_instance_layout): add offsets to be set.
6511 (update_image_instance): new function. update an image instance
6512 from its changed instantiator.
6513 (inherit_normalize): add dest_mask.
6514 (xbm_normalize): ditto.
6515 (xface_normalize): ditto.
6516 (xpm_normalize): ditto.
6517 (text_update): set_property -> update.
6518 (image_instantiate): use the glyph identity as a hash key, not the
6520 (glyph_width): use new image_instance_layout signature.
6521 (glyph_ascent): ditto.
6522 (glyph_descent): ditto.
6523 (glyph_height): ditto.
6524 (glyph_query_geometry): ressurrect.
6525 (glyph_layout): ditto.
6526 (redisplay_subwindow): update -> redisplay.
6527 (syms_of_glyphs): add Fset_instantiator_property.
6528 (image_instantiator_format_create): set_property -> update.
6531 (autodetect_normalize): add dest_maks to signature.
6532 (x_redisplay_subwindow): update -> redisplay.
6533 (x_redisplay_widget): ditto.
6534 (x_button_redisplay): ditto.
6535 (x_progress_gauge_redisplay): ditto.
6536 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
6538 (console_type_create_glyphs_x): update -> redisplay.
6539 (image_instantiator_format_create_glyphs_x): ditto.
6542 (check_valid_instantiator): disallow glyphs in the instantiator,
6543 they must now be vectors.
6544 (check_valid_instantiator_list): ditto.
6545 (glyph_instantiator_to_glyph): use internal symbol rather than
6547 (widget_update): renamed from widget_set_property. Call cascaded
6549 (redisplay_widget): renamed from update_widget.
6550 (widget_layout): image_instance_layout now takes position as well
6552 (widget_normalize): ditto.
6553 (widget_instantiate): ditto.
6554 (tab_control_query_geometry) ditto.:
6555 (tab_control_update): renamed from tab_control_set_property.
6556 (progress_gauge_update): set_property -> update.
6557 (layout_normalize): rewrite so that child instantiators are
6559 (layout_update): new function. Create glyphs from the normalized
6560 children and cope with any other layout keywords. We do not
6561 instantiate children here that will be take care of by
6562 redisplay_output_layout.
6563 (layout_instantiate): call layout_update and not much else.
6564 (layout_post_instantiate): not sure whether this is needed
6566 (layout_query_geometry): query glyph geometry rather than
6567 image_instance geometry.
6568 (layout_layout): set offsets from pass in parameters. Use glyph
6569 geometry and layout functions rather than image instance ones.
6570 (native_layout_layout): ditto.
6571 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6572 (image_instantiator_widget): set_property -> update.
6573 (image_instantiator_buttons): ditto.
6574 (image_instantiator_progress_guage): ditto.
6575 (image_instantiator_tab_control): ditto.
6576 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6577 (image_instantiator_layout): add update method.
6579 * glyphs-msw.c (bmp_normalize):
6580 (mswindows_resource_normalize): add dest_mask so that it can be
6581 proprogated by layout_normalize.
6582 (begin_defer_window_pos): make optional because it may not be the
6583 right thing to do and it introduces differences with X.
6584 (mswindows_unmap_subwindow): ditto.
6585 (mswindows_map_subwindow): ditto.
6586 (mswindows_redisplay_subwindow): renamed from
6587 mswindows_update_subwindow.
6588 (mswindows_redisplay_widget): ditto.
6589 (mswindows_button_redisplay): renamed from
6590 mswindows_button_update. Update is now what the instantiation
6591 function does for a changed instantiator.
6592 (mswindows_progress_gauge_instantiate): set the progress value
6593 here if appropriate.
6594 (mswindows_tab_control_redisplay): cope with re-ordering of the
6595 members of the tab widget by simply selecting the new top
6596 widget. This makes things appear ok if you click on a tab.
6597 (mswindows_combo_box_instantiate): image_instance_layout now takes
6598 position as well as size.
6599 (mswindows_progress_gauge_redisplay): renamed from
6600 mswindows_progress_gauge_update.
6601 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6602 (image_instantiator_format_create_glyphs_mswindows): ditto.
6604 * glyphs-eimage.c (jpeg_normalize):
6607 (tiff_normalize): add dest_mask so that it can be proprogated by
6612 (hash_table_weakness_validate):
6613 (decode_hash_table_weakness):
6614 (Fhash_table_weakness):
6616 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6618 * console.h (struct console_methods): move update_* to
6621 2000-07-20 Ben Wing <ben@xemacs.org>
6623 * *.[ch] (XSETOBJ): remove unused middle argument.
6624 lisp-disunion.h: correct wrap_object() to one argument.
6626 2000-07-15 Ben Wing <ben@xemacs.org>
6629 * s/cygwin32.h (CYGWIN_CONV_PATH):
6630 Add missing logb prototype for v1.1.
6631 Use post-b20 names and alias to pre-b20 names when pre-b20.
6633 * s/windowsnt.h: [5].
6635 2000-07-15 Ben Wing <ben@xemacs.org>
6637 * Makefile.in.in (x_objs):
6638 * Makefile.in.in (sheap_objs):
6639 * Makefile.in.in (objs):
6640 added win32.o, cosmetic cleanups.
6642 * alloc.c (Fmake_byte_code):
6643 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6644 etc. macros which declare their own args now.
6646 * alloc.c (syms_of_alloc):
6647 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6650 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6652 * buffer.c (Fget_file_buffer):
6653 Fixed GCPRO problem.
6655 * buffer.c (get_truename_buffer):
6656 Fixed comment about GC checking.
6658 * buffer.c (syms_of_buffer):
6659 Undeclared those dedicated frame funs.
6663 Define convenience macros for internal/external conversions.
6664 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6665 and Qenvironment_variable_encoding for cleaner code.
6668 Remove dedicated-frame; in lisp.
6670 * bytecode.c (funcall_compiled_function):
6673 * bytecode.c (syms_of_bytecode):
6677 * console-msw.c (mswindows_show_console): Rewrote.
6679 * console-msw.c (Fmswindows_debugging_output): New.
6680 Sends to OutputDebugString (special MSWin debugger interface).
6682 * console-msw.c (Fmswindows_message_box):
6683 Fixed stupid bugs so it works when called from kill-emacs.
6685 * console-msw.c (syms_of_console_mswindows):
6686 Declare Fmswindows_debugging_output.
6689 New MSWin prototypes.
6691 * console-msw.h (struct mswindows_frame):
6692 New entry last-click-mods for improved button-modifier support.
6694 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6695 New struct entry `popup' with corresponding accessor.
6698 * console-x.c (split_up_display_spec):
6699 * console-x.c (get_display_arg_connection):
6700 * console-x.c (x_semi_canonicalize_console_connection):
6701 * console-x.c (x_canonicalize_device_connection):
6702 [[[6]]]: Change char to more specific type.
6703 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6705 * console-x.c (x_semi_canonicalize_console_connection):
6706 * console-x.c (x_canonicalize_device_connection):
6707 [[[9]]]: Fix up error signalling to use new structured error system.
6710 [[[4]]]: Define codesys aliases:
6711 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6712 Qx_color_name_encoding, Qx_display_name_encoding.
6714 * console.h (struct console_methods):
6715 New method make_dialog_box_internal supersedes older
6716 popup_dialog_box method.
6719 Define many new errors, part of new structured errors.
6721 * data.c (init_errors_once_early):
6722 * data.c (syms_of_data):
6725 * device-msw.c (mswindows_init_device):
6726 [[[5]]]: Cleanup to support NT 3.51.
6728 * device-msw.c (decode_devmode): Cleanup.
6730 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6731 * device-msw.c (mswindows_handle_print_dialog_box):
6732 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6733 * device-msw.c (syms_of_device_mswindows):
6734 Delete the dialog box primitives recently introduced by Kirill and
6735 instead interface to general dialog box interface.
6738 * device-x.c (compute_x_app_name):
6739 * device-x.c (x_init_device):
6740 * device-x.c (Fx_valid_keysym_name_p):
6741 * device-x.c (Fx_set_font_path):
6745 * device.h (wrap_device): New.
6746 First of its kind; meant to replace XSETDEVICE.
6748 * dialog-msw.c: Many file-dialog symbols.
6750 * dialog-msw.c (mswindows_register_popup_frame): New.
6751 * dialog-msw.c (mswindows_is_dialog_msg): New.
6752 For supporting kbd traversal in dialog boxes.
6754 * dialog-msw.c (dialog_proc):
6755 Support hitting ESC in dialogs.
6757 * dialog-msw.c (struct):
6758 Common dialog box errors.
6760 * dialog-msw.c (handle_file_dialog_box): New.
6761 Add file dialog code.
6763 * dialog-msw.c (handle_question_dialog_box):
6764 Redo existing code to support new question dialog syntax.
6766 * dialog-msw.c (console_type_create_dialog_mswindows):
6767 We support new dialog console method.
6769 * dialog-msw.c (syms_of_dialog_mswindows):
6770 * dialog-msw.c (vars_of_dialog_mswindows):
6771 New file dialog symbols, vars.
6774 * dialog-x.c (maybe_run_dbox_text_callback):
6775 * dialog-x.c (dbox_descriptor_to_widget_value):
6776 * dialog-x.c (x_make_dialog_box_internal):
6777 * dialog-x.c (console_type_create_dialog_x):
6778 Mule-ize entire file.
6779 Redo to support question dialog syntax.
6783 * dialog.c (Fmake_dialog_box_internal):
6784 * dialog.c (syms_of_dialog):
6785 Kill old popup-dialog-box, replace with new primitive.
6786 Just call device method or signal error.
6788 * eldap.c (Fldap_open):
6789 * eldap.c (Fldap_search_basic):
6790 * eldap.c (Fldap_add):
6791 * eldap.c (Fldap_modify):
6796 * emacs.c (make_arg_list_1):
6797 * emacs.c (make_arg_list):
6798 Mule-ize call to dll_init().
6802 * emacs.c (make_argc_argv):
6803 * emacs.c (free_argc_argv):
6804 * emacs.c (init_cmdargs):
6806 * emacs.c (Fkill_emacs):
6807 * emacs.c (Fdump_emacs):
6808 Update comments about what can be used in syms_* etc.
6809 Call init_win32() when necessary.
6810 Fix up MS Win dialog box in kill-buffer to actually work right.
6821 * eval.c (condition_case_3):
6823 * eval.c (function_argcount):
6824 * eval.c (funcall_lambda):
6827 * eval.c (type_error): New.
6828 * eval.c (maybe_type_error): New.
6829 * eval.c (continuable_type_error): New.
6830 * eval.c (maybe_continuable_type_error): New.
6831 * eval.c (type_error_with_frob): New.
6832 * eval.c (maybe_type_error_with_frob): New.
6833 * eval.c (continuable_type_error_with_frob): New.
6834 * eval.c (maybe_continuable_type_error_with_frob): New.
6835 New functions for use with structured errors.
6838 * event-Xt.c (x_event_to_emacs_event):
6839 Buttons are now modifiers too.
6841 * event-Xt.c (emacs_Xt_current_event_timestamp):
6842 Implement new event method.
6843 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
6846 * event-msw.c (ntpipe_shove_writer): [5].
6847 * event-msw.c (mswindows_enqueue_mouse_button_event):
6848 * event-msw.c (mswindows_drain_windows_queue):
6849 * event-msw.c (mswindows_wnd_proc): [7].
6850 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
6851 * event-msw.c (mswindows_modifier_state):
6852 Throughout: support new button modifiers.
6854 * event-msw.c (emacs_mswindows_current_event_timestamp):
6855 Implement new event method.
6856 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
6859 * event-stream.c (event_stream_current_event_timestamp): New.
6860 * event-stream.c (maybe_kbd_translate): New functionality.
6861 * event-stream.c (vars_of_event_stream):
6862 Document new kbd-translate-table functionality.
6864 * event-stream.c (Fcurrent_event_timestamp): New.
6865 New primitive for use in fabricated events.
6866 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
6868 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
6871 * events.c (Fmake_event):
6872 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
6876 * events.c (format_event_object): fix gcc warnings.
6878 * events.c (Fevent_timestamp): Document new primitives.
6880 * events.c (TIMESTAMP_HALFSPACE): New.
6882 * events.c (Fevent_timestamp_lessp): New. New primitive for
6883 comparing timestamps correctly (half-space algorithm).
6885 * events.c (Fevent_modifier_bits): Doc fix.
6887 * events.c (Fevent_modifiers): Major doc addition.
6888 * events.c (event_x_y_pixel_internal): Typo fix.
6889 * events.c (syms_of_events): Declare new primitives.
6892 Update long comment for button modifiers, timestamps.
6894 * events.h (struct event_stream):
6895 New current_event_timestamp method.
6898 * extents.c (extent_in_region_p):
6899 * extents.c (decode_extent):
6900 * extents.c (Fset_extent_parent):
6901 * extents.c (decode_map_extents_flags):
6905 * extents.c (struct extent_at_arg):
6906 * extents.c (decode_extent_at_flag):
6907 * extents.c (extent_at_mapper):
6908 * extents.c (extent_at_bytind):
6909 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
6910 * extents.c (Fextents_at): New primitive. [9].
6911 * extents.c (symbol_to_glyph_layout): [9].
6912 Support new primitive `extents-at'.
6915 * extents.c (get_text_property_bytind):
6916 extent_at_bytind has another arg.
6919 * extents.c (syms_of_extents): New primitive.
6921 * file-coding.c (Fmake_coding_system): [1].
6922 * file-coding.c (subsidiary_coding_system): fix gcc warning
6923 * file-coding.c (syms_of_file_coding): [2].
6925 * fileio.c (Fexpand_file_name):
6926 * fileio.c (Fsysnetunam):
6927 * fileio.c (Ffile_exists_p):
6928 * fileio.c (Ffile_executable_p):
6929 * fileio.c (Fverify_visited_file_modtime):
6932 * fileio.c (syms_of_fileio): [2].
6934 * filelock.c (lock_file_1):
6935 * filelock.c (current_lock_owner):
6936 * filelock.c (lock_if_free):
6937 * filelock.c (lock_file):
6938 * filelock.c (unlock_file):
6941 * fns.c (concat): Fix gcc warning.
6944 * fns.c (Fold_member):
6946 * fns.c (Fold_memq):
6947 * fns.c (memq_no_quit):
6949 * fns.c (Fold_assoc):
6951 * fns.c (Fold_assq):
6952 * fns.c (assq_no_quit):
6954 * fns.c (Fold_rassoc):
6956 * fns.c (Fold_rassq):
6957 * fns.c (rassq_no_quit):
6959 * fns.c (Fold_delete):
6961 * fns.c (Fold_delq):
6962 * fns.c (delq_no_quit):
6963 * fns.c (Fremassoc):
6965 * fns.c (remassq_no_quit):
6966 * fns.c (Fremrassoc):
6967 * fns.c (Fremrassq):
6968 * fns.c (remrassq_no_quit):
6973 * frame-msw.c (mswindows_init_frame_1):
6974 * frame-msw.c (mswindows_delete_frame):
6975 Register popups with dialog code so keyboard traversing works.
6977 * frame-tty.c (tty_raise_frame_no_select): [1].
6980 * frame-x.c (x_set_frame_text_value):
6981 * frame-x.c (x_set_frame_properties):
6982 * frame-x.c (x_create_widgets):
6986 * frame.c (Fmouse_pixel_position): Minor doc fixes.
6988 * frame.h (wrap_frame): New.
6989 Macro like wrap_device.
6992 * general.c (SYMBOL):
6993 * general.c (syms_of_general):
6994 Major reorg. This is now just a wrapper and symbols themselves
6995 are listed in general-slots.h.
6997 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
6998 * glyphs-msw.c (mswindows_resource_instantiate): [5].
7000 * glyphs-msw.c (mswindows_native_layout_instantiate):
7001 Add DS_CONTROL so keyboard traversal will work.
7004 * glyphs-widget.c (syms_of_glyphs_widget):
7005 Move some symbols to general-slots.h.
7008 * glyphs-x.c (xbm_instantiate_1):
7009 * glyphs-x.c (x_xbm_instantiate):
7010 * glyphs-x.c (x_xface_instantiate):
7011 * glyphs-x.c (autodetect_instantiate):
7012 * glyphs-x.c (cursor_font_instantiate):
7013 * glyphs-x.c (x_update_widget):
7014 * glyphs-x.c (x_widget_instantiate):
7015 * glyphs.c (bitmap_to_lisp_data):
7016 * glyphs.c (pixmap_to_lisp_data):
7019 * glyphs.c (syms_of_glyphs):
7023 * gui-x.c (print_widget_value):
7024 * gui-x.c (menu_separator_style_and_to_external):
7025 * gui-x.c (add_accel_and_to_external):
7026 * gui-x.c (button_item_to_widget_value):
7027 * gui-x.c (gui_items_to_widget_values_1):
7028 * gui-x.c (gui_items_to_widget_values):
7029 * gui-x.c (syms_of_gui_x):
7030 * gui-x.c (vars_of_gui_x):
7031 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
7035 Muleize, prototype changes matching gui-x.c.
7038 * gui.c (separator_string_p):
7039 * gui.c (gui_item_add_keyval_pair):
7040 * gui.c (make_gui_item_from_keywords_internal):
7041 * gui.c (signal_too_long_error):
7042 * gui.c (parse_gui_item_tree_item):
7043 * gui.c (syms_of_gui):
7044 * gui.c (vars_of_gui):
7046 menu-no-selection-hook moved here (used by MSWin).
7047 Move some symbols to general-slots.h.
7051 * insdel.c (get_buffer_pos_char):
7052 * insdel.c (get_buffer_range_char):
7055 * keymap.c (keymap_lookup_directly):
7056 * keymap.c (keymap_store):
7057 * keymap.c (ensure_meta_prefix_char_keymapp):
7058 * keymap.c (describe_map):
7060 Support new button modifiers.
7062 * lisp-disunion.h (wrap_object):
7063 * lisp-disunion.h (XSETOBJ):
7064 Rename make_obj to wrap_object.
7067 * lisp-union.h (make_int):
7068 * lisp-union.h (make_char):
7069 Support wrap_object.
7072 * lisp.h (LIST_LOOP):
7073 * lisp.h (EXTERNAL_LIST_LOOP):
7074 * lisp.h (LIST_LOOP_2):
7075 * lisp.h (EXTERNAL_LIST_LOOP_1):
7076 * lisp.h (EXTERNAL_LIST_LOOP_2):
7077 * lisp.h (EXTERNAL_LIST_LOOP_3):
7078 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
7079 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
7080 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
7081 * lisp.h (EXTERNAL_ALIST_LOOP_5):
7082 * lisp.h (EXTERNAL_ALIST_LOOP_6):
7083 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
7084 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
7085 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
7086 * lisp.h (struct Lisp_Symbol):
7087 * lisp.h (maybe_continuable_error_with_frob):
7088 Fix up section comments.
7089 Add new types for char to indicate usage.
7090 Delete symbols auto-generated from general-slots.h.
7091 Add prototypes for structured error functions.
7092 Add long comments describing looping macros and change interface
7093 so that lvalues are automatically declared.
7094 Add NO_DECLARE macro in case callers want to declare lvalues
7097 * lread.c (read_syntax_error):
7098 * lread.c (continuable_read_syntax_error):
7099 * lread.c (read_structure):
7100 * lread.c (sequence_reader):
7101 * lread.c (read_list_conser):
7102 * lread.c (read_compiled_function):
7103 Rename syntax_error and continuable_syntax_error to avoid clash
7104 with same-named structured error functions.
7106 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7107 * menubar-msw.c (populate_menu_add_item):
7108 * menubar-msw.c (populate_or_checksum_helper):
7113 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7114 Mule-ize whole file.
7116 * menubar.c (Fnormalize_menu_item_name): Add optimization.
7118 * mule-charset.c (Fmake_charset):
7119 * mule-wnnfns.c (Fwnn_set_param):
7122 * ntproc.c (create_child):
7123 * ntproc.c (Fwin32_set_current_locale):
7124 Add comments portending doom.
7127 * objects-msw.c (old_font_enum_callback_2):
7128 * objects-msw.c (font_enum_callback_1):
7129 * objects-msw.c (mswindows_enumerate_fonts):
7133 * objects-x.c (allocate_nearest_color):
7134 * objects-x.c (x_parse_nearest_color):
7135 * objects-x.c (x_initialize_color_instance):
7136 * objects-x.c (x_print_color_instance):
7137 * objects-x.c (x_finalize_color_instance):
7138 * objects-x.c (x_valid_color_name_p):
7139 * objects-x.c (x_initialize_font_instance):
7140 * objects-x.c (x_print_font_instance):
7141 * objects-x.c (valid_x_font_name_p):
7142 * objects-x.c (truename_via_FONT_prop):
7143 * objects-x.c (truename_via_random_props):
7144 * objects-x.c (truename_via_XListFonts):
7145 * objects-x.c (x_font_truename):
7146 * objects-x.c (x_font_instance_truename):
7147 * objects-x.c (x_font_instance_properties):
7148 * objects-x.c (x_list_fonts):
7149 * objects-x.c (x_find_charset_font):
7150 Mule-ize entire file.
7157 * print.c (std_handle_out_external):
7158 * print.c (debug_print_no_newline):
7159 * print.c (syms_of_print):
7160 Output to all debugger kinds in debug-print.
7161 Fix console-output code under MSWin to actually work.
7163 * process-nt.c (send_signal):
7164 * process-nt.c (nt_create_process):
7165 Use newer Unicode macros.
7167 * process-unix.c (unix_create_process):
7168 * process-unix.c (unix_canonicalize_host_name):
7169 * process-unix.c (unix_open_network_stream):
7175 * search.c (syms_of_search):
7178 * select-msw.c (mswindows_destroy_selection):
7181 * select-x.c (symbol_to_x_atom):
7184 * select.c (syms_of_select):
7187 * sound.c (Fplay_sound_file):
7191 * specifier.c (decode_specifier_type):
7192 * specifier.c (Fvalid_specifier_locale_type_p):
7193 * specifier.c (check_valid_locale_or_locale_type):
7194 * specifier.c (decode_locale):
7195 * specifier.c (decode_locale_type):
7196 * specifier.c (decode_locale_list):
7197 * specifier.c (check_valid_domain):
7198 * specifier.c (decode_specifier_tag_set):
7199 * specifier.c (Fcanonicalize_tag_set):
7200 * specifier.c (Fdefine_specifier_tag):
7201 * specifier.c (Fspecifier_tag_predicate):
7202 * specifier.c (check_valid_inst_list):
7203 * specifier.c (check_valid_spec_list):
7204 * specifier.c (decode_how_to_add_specification):
7205 * specifier.c (check_modifiable_specifier):
7206 * specifier.c (specifier_add_spec):
7207 * specifier.c (boolean_validate):
7208 * specifier.c (display_table_validate):
7211 * specifier.c (syms_of_specifier):
7212 Move some symbols to general-slots.h.
7216 * symbols.c (Fmapatoms):
7217 * symbols.c (Fapropos_internal):
7220 * symbols.c (set_default_buffer_slot_variable):
7221 * symbols.c (set_default_console_slot_variable):
7224 * symbols.c (defsymbol_massage_name_1):
7225 * symbols.c (defkeyword_massage_name):
7226 * symbols.c (deferror_1):
7227 * symbols.c (deferror):
7228 * symbols.c (deferror_massage_name_and_message):
7230 * symeval.h (DEFSYMBOL):
7231 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
7233 * symbols.c (syms_of_symbols):
7237 * symsinit.h (init_win32): New.
7238 Also new is syms_of_dialog_mswindows.
7241 Add new Unicode macros, missing Cygwin wide-char functions,
7242 convenience conversion macros for Qmswindows_tstr, macros for
7243 encapsulating required MSWin <-> Cygwin filename conversions,
7244 prototype for dynamically-extracted (not in NT 3.51) functions.
7249 * tooltalk.c (Fadd_tooltalk_message_arg):
7250 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
7251 * tooltalk.c (Fadd_tooltalk_pattern_arg):
7254 * tooltalk.c (syms_of_tooltalk):
7258 * unexnt.c (unexec):
7259 Fix up headers, declaration of unexec() to be more standard.
7261 2000-07-20 Martin Buchholz <martin@xemacs.org>
7263 * offix.h: Revert change to guard macros - they're used in offix.c!
7265 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7267 * lisp.h: Defsubred Fdelete.
7269 * console-msw.h: (msprinter_default_printer): Added.
7271 * console-msw.c (msprinter_canonicalize_console_connection):
7272 (msprinter_canonicalize_device_connection): Added.
7274 * device-msw.c (msprinter_default_printer):
7275 (Fmswingows_get_default_printer):
7276 (signal_enum_priner_error):
7277 (Fmswingows_printer_list): Added.
7279 2000-07-19 Martin Buchholz <martin@xemacs.org>
7281 * XEmacs 21.2.35 is released.
7283 2000-07-19 Martin Buchholz <martin@xemacs.org>
7285 * select-x.c (x_handle_selection_request):
7286 Text selected in xemacs and pasted into xterm failed to appear.
7287 Spelling fixes and cosmetic changes.
7289 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7291 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
7292 XEmacs frame (fix for doubling chars in dialog boxes).
7294 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7296 * select.c (select_convert_in, select_convert_out):
7297 Don't call intern() every time.
7299 * select.c (Qselect_convert_in, Qselect_convert_out): New.
7300 * select.c (vars_of_select): Initialise them.
7302 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7304 * select.c (selection-coercible-types): New.
7306 * select.c (own-selection-internal):
7307 * select.c (get-selection-internal):
7308 MULE bug fix - these should default to COMPOUND_TEXT and not
7309 STRING for MULE. I think.
7311 * select.c (select_convert_out): Use selection-coercible-types
7312 to find types that we can attempt to perform coercions on.
7314 2000-07-18 Martin Buchholz <martin@xemacs.org>
7318 Add coding: cookie to identify encoding.
7320 * mule-canna.c (CANNA_mode_keys): make static.
7321 Use proper prototypes, even for functions of no arguments.
7322 Remove external prototype for Fding().
7324 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
7326 * select.c (syms_of_select): Add missing DEFSUBR.
7328 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
7330 * select.c (get_selection_internal, own_selection_internal):
7331 Make the type default to STRING, rather than placing a nil type
7332 into Vselection_alist.
7334 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
7336 * gpmevent.c (tty_selection_exists_p):
7337 * gpmevent.c (tty_own_selection):
7338 Updated parameter lists.
7340 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
7342 * select.h (selection-alist): Removed declaration.
7344 * select.h (get_local_selection):
7345 * select.c (get_local_selection):
7348 * select.h (convert_selection): Removed declaration.
7349 * select.c (convert_selection): Removed.
7350 This function belongs in Lisp.
7352 * select.h (select_convert_in): Declare.
7353 * select.h (select_convert_out): Declare.
7354 * select.c (select_convert_in): New.
7355 * select.c (select_convert_out): New.
7356 New conversion functions for other files to call.
7358 * select.h (select_notify_buffer_kill): Declare.
7359 * select.c (select_notify_buffer_kill): New.
7360 New functions that get called from kill-buffer.
7362 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
7363 X-specific lisp code.
7365 * select.h: Declare some of the lisp-visible functions for
7368 * select.c (clean_local_selection_data): Removed. This was
7369 a disgusting function, and previously should have been in
7370 select-x.c in any case. The functionality is now provided
7371 in select-convert-from-integer (select.el).
7373 * select.c (available-selection-types): Fixed stupidity where
7374 INTEGER and ATOM got added twice. Also add STRING when we see an
7377 * select.c (get-selection-internal): Removed symbol stripping. No
7378 longer causes conversion when data comes from the internal cache.
7380 * select.c (syms_of_select): Added new functions.
7382 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
7383 error checking - previously this called abort!
7385 * select-x.c (x_own_selection): Changed comment.
7387 * select-x.c (x_handle_selection_request): Use select_convert_out.
7388 Don't mess with selection-alist; it's an internal variable of select.c.
7390 * select-x.c (x_get_foreign_selection): Use select_convert_in.
7392 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
7393 rather than messing with selection-alist.
7395 * select-msw.c (mswindows_get_foreign_selection):
7396 Use TO_INTERNAL_FORMAT rather than hacking.
7398 2000-07-14 Martin Buchholz <martin@xemacs.org>
7400 * process-unix.c (unix_open_multicast_group):
7401 (unix_open_multicast_group): Remove useless casts.
7403 2000-07-13 Martin Buchholz <martin@xemacs.org>
7405 * sound.c (Fplay_sound): Fix `unused variable' warning.
7407 * emacs.c (main): Use correct type for _environ on SCO5.
7409 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
7411 * console.h (own_selection_method):
7412 * console.h (selection_exists_p_method):
7413 * console.h (available_selection_types_method): New.
7414 * console.h (register_selection_data_type_method): New.
7415 * console.h (selection_data_type_name): New.
7417 * console-msw.h (mswindows_destroy_selection): Declare it. New
7418 function & alist to track GlobalAlloc()'d handles that need
7419 releasing when the clipboard data gets replaced or emptied.
7421 * event-msw.c (mswindows_wnd_proc): Call it.
7423 * lisp.h, general.c (Qappend): New symbol representing a
7426 * select.c (own-selection-internal):
7427 * select.c (selection-exists-p):
7428 * select.c (available-selection-types): New.
7429 * select.c (register-selection-data-type): New.
7430 * select.c (selection-data-type-name): New. New functions to deal
7431 with device-specific selection data formats.
7432 * select.c (selection-converter-out-alist): Renamed.
7433 * select.c (selection-converter-in-alist): New.
7434 * select.c (selection-appender-alist): New. Added new alists.
7435 * select.c (syms_of_select, vars_of_select): Added new symbols &
7437 * select.c (get_local_selection): Split.
7438 * select.c: Removed spurious type checking - selections may now be
7439 of any type, not just strings.
7440 * select.c (own-selection-internal):
7442 * select.h, select.c (convert_selection): New. Created
7443 convert_selection() function based on get_local_selection().
7444 * select.h, select.c (QCF_*): New symbols representing mswindows
7446 * select.h, select.c (Qreplace_all, Qreplace_existing): New
7447 symbols representing `how-to-add' modes.
7449 * select-msw.c (x_sym_p): New.
7450 * select-msw.c (symbol_to_ms_cf): New.
7451 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
7452 symbols & clipboard formats. Can also handle string names.
7453 * select-msw.c (mswindows_own_selection):
7454 * select-msw.c (mswindows_selection_exists_p):
7455 Added `data-type' parameter. Use it.
7456 * select-msw.c (mswindows_available_selection_types): New.
7457 * select-msw.c (mswindows_register_selection_data_type): New.
7458 * select-msw.c (mswindows_selection_data_type_name): New.
7459 * select-msw.c (mswindows_own_selection):
7460 * select-msw.c (mswindows_get_foreign_selection):
7461 * select-msw.c (mswindows_selection_exists_p): Rewrote.
7462 * select-msw.c (console_create_select_mswindows): Added new methods.
7463 * select-msw.c (mswindows_destroy_selection): New.
7464 * select-msw.c (Vhandle_alist): New list.
7465 * select-msw.c (mswindows_own_selection):
7467 * select-x.c (x_own_selection):
7468 * select-x.c (x_selection_exists_p):
7469 * select-x.c: Added some comments about maybe using new
7471 * select-x.c (x_own_selection):
7473 * specifier.c: Remove definition of Qappend (now in general.c)
7474 * specifier.c (syms_of_specifier): Remove Qappend.
7476 2000-07-12 Martin Buchholz <martin@xemacs.org>
7478 * config.h.in: Add socklen_t.
7480 * s/decosf4-0.h: No special compiler flags needed or desired.
7481 In particular, undefine _BSD for DEC OSF 4.0.
7483 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7485 * redisplay-msw.c (msprinter_frame_output_end): Added.
7486 (console_type_create_redisplay_mswindows): Referred the above.
7488 * frame.c (setup_frame_without_minibuffer): Do not create a
7489 default minibuffer frame on a printer device.
7491 * frame-msw.c (apply_dc_geometry): Added.
7492 (msprinter_start_page):
7493 (msprinter_init_frame_3):
7494 (msprinter_eject_page): Use it.
7496 * console-msw.h (struct msprinter_frame): Added pix_left and top,
7497 and removed residual duplex and orientation properties.
7499 2000-07-11 Martin Buchholz <martin@xemacs.org>
7501 * eval.c (function_argcount): Work around a DEC CC compiler bug.
7503 * unexalpha.c: Remove system prototypes from C sources!
7505 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
7507 * eval.c: Remove references to M-x edit-options in DEFUNs for
7508 `defvar' and `defconst'.
7510 2000-07-09 Martin Buchholz <martin@xemacs.org>
7512 * config.h.in: Remove SMART_INCLUDE hackery.
7515 * config.h.in: Don't use SMART_INCLUDE.
7517 * postgresql.h: Include libpq-fe.h here. Fix typo.
7518 * inline.c: Simply #include "postgresql.h"
7520 - Don't use SMART_INCLUDE
7521 - Use simply "const".
7522 - Use standard doc string conventions.
7523 - Use correct type for result of PQstatus.
7525 2000-07-09 Martin Buchholz <martin@xemacs.org>
7527 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
7529 C++ compilation changes.
7530 * config.h.in (EXTERN_C): Define.
7531 * config.h.in (not): This is also a C++ keyword.
7532 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
7533 * cm.c: Use EXTERN_C.
7534 * redisplay-tty.c: Use EXTERN_C.
7535 * sysdep.c: Use EXTERN_C. Remove Gould support.
7537 2000-07-09 Martin Buchholz <martin@xemacs.org>
7539 * general.c: Remove duplicate definition for Qfunction.
7541 2000-07-08 Ben Wing <ben@xemacs.org>
7543 * device-msw.c (msprinter_init_device):
7544 * device-msw.c (sync_printer_with_devmode):
7545 * device-msw.c (handle_devmode_changes):
7546 * device-msw.c (print_dialog_worker):
7547 * device-msw.c (Fmsprinter_apply_settings):
7548 * device-msw.c (hash_devmode):
7549 * device-msw.c (Fmsprinter_settings_despecialize):
7550 use Qmswindows_tstr, not Qctext.
7552 * vm-limit.c (check_memory_limits):
7553 avoid infinite loop printing warning messages.
7555 2000-07-05 Craig Lanning <lanning@scra.org>
7557 * Makefile.in.in: Add support for including the Windows resources
7558 when building with the cygwin and mingw targets.
7560 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7561 not set or not correct.
7562 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7563 (init_initial_directory): Don't try to use $PWD on the
7564 WIN32_NATIVE target.
7567 [[Add -mwindows to eliminate console window.]] not required --ben
7568 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7569 (MAIL_USE_POP): removed; now handled by configure.
7571 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7572 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7573 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7574 (MAIL_USE_POP): removed; now handled by configure.
7575 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7576 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7577 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7579 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7580 up from <winsock.h> via systime.h.
7581 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7582 (getpagesize): from Dan Holmsand, added.
7583 Added #endif which was left dangling by Ben's mega patch; added
7584 comment to help prevent this in the future.
7586 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7588 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7590 * console-msw.h (struct mswindows_device): Removed unnecessary
7591 cached device geometry values.
7592 Added update_tick and an accessor macro.
7593 (Lisp_Devmode): Added lrecord declaration.
7594 (struct msprinter_device): Contain devmode as a Lisp object.
7595 Added mswindows_get_selected_frame_hwnd();
7597 * console.h (struct console_methods): Indentation nitpicking.
7599 * device-msw.c (mswindows_init_device): Do not initialize geometry
7600 cache. Initialize update tick.
7601 (mswindows_device_system_metrics): Ask the device for its geometry.
7602 (global_free_2_maybe):
7603 (devmode_to_hglobal):
7604 (handle_printer_changes):
7605 (ensure_not_printing):
7606 (print_dialog_worker):
7607 (Fmsprinter_print_setup_dialog):
7608 (Fmsprinter_print_dialog):
7611 (Fmsprinter_page_setup_dialog): Added functions.
7612 (sync_printer_with_devmode):
7613 (handle_devmode_changes):
7614 (Fmsprinter_get_settings):
7615 (Fmsprinter_select_settings):
7616 (Fmsprinter_apply_settings):
7618 (Fmsprinter_settings_copy):
7619 (Fmsprinter_settings_despecialize):
7623 (hash_devmode): Added functions
7624 (syms_of_device_mswindows): Init devmode lrecord class.
7626 * device.h: Added an exfun for find-device.
7628 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7629 geometry; although, recreate the device compatible DC.
7631 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7632 (msprinter_init_frame_3):
7633 (msprinter_frame_property):
7634 (msprinter_internal_frame_property_p):
7635 (msprinter_frame_properties):
7636 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7637 print job properties (will move to device settings).
7639 * lisp.h: Added symbols.
7641 * general.c (syms_of_general): Declared them.
7643 * hash.c (string_hash): Added.
7645 * lrecord.h (lrecord_type): Added devmode lrecord type.
7647 2000-07-02 Mike Sperber <mike@xemacs.org>
7649 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7652 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7654 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7657 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7659 * data.c (Fstring_to_number): Don't recognize floating point if
7662 2000-06-22 Martin Buchholz <martin@xemacs.org>
7664 * glyphs-widget.c (tab_control_query_geometry):
7665 (widget_query_geometry):
7666 (button_query_geometry):
7667 * glyphs.c (text_query_geometry):
7668 Enforce type correctness.
7670 2000-06-18 Martin Buchholz <martin@xemacs.org>
7672 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7673 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7675 2000-06-17 Martin Buchholz <martin@xemacs.org>
7677 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7678 conflicts with gcc's fixincluded version of FOO.h.
7680 * glyphs.h (image_instance_geometry): Remove trailing `,'
7682 2000-06-08 Mike Alexander <mta@arbortext.com>
7684 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7685 (shove_thread): Don't write the same output twice
7686 (make_ntpipe_output_stream): Increase priority of shove thread
7687 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7689 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7692 2000-06-12 Ben Wing <ben@xemacs.org>
7694 * s\mingw32.h (sigset):
7695 * s\windowsnt.h (sigset):
7696 rename msw_ to mswindows_ for consistency with general convention.
7698 2000-06-12 Ben Wing <ben@xemacs.org>
7701 * console-msw.c (mswindows_get_console_hwnd):
7702 * console-msw.c (mswindows_ensure_console_allocated):
7703 * console-msw.c (mswindows_hide_console):
7704 * console-msw.c (mswindows_show_console):
7705 * console-msw.c (mswindows_ensure_console_buffered):
7706 * console-msw.c (mswindows_output_console_string):
7707 * console-msw.c (mswindows_windows9x_p):
7709 * device-msw.c (mswindows_get_workspace_coords):
7710 * device-msw.c (mswindows_device_system_metrics):
7711 * dialog-msw.c (mswindows_popup_dialog_box):
7712 * event-msw.c (mswindows_wnd_proc):
7713 * frame-msw.c (mswindows_size_frame_internal):
7714 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7715 * menubar-msw.c (displayable_menu_item):
7716 * menubar-msw.c (mswindows_char_is_accelerator):
7718 * nt.c (mswindows_sigset):
7719 * nt.c (mswindows_sigrelse):
7720 * nt.c (mswindows_sigpause):
7721 * nt.c (mswindows_raise):
7722 * nt.c (timer_proc):
7724 * ntproc.c (find_child_console):
7725 * ntproc.c (sys_kill):
7727 * print.c (std_handle_out_external):
7728 * process-nt.c (find_child_console):
7729 * process-nt.c (send_signal_the_95_way):
7730 * process-nt.c (ensure_console_window_exists):
7731 * process-nt.c (nt_create_process):
7733 rename msw_ to mswindows_ for consistency with general convention.
7737 include nt.h, not syswindows.h.
7739 * nt.c (mswindows_fstat):
7740 * nt.c (mswindows_stat):
7741 prefix mswindows_ instead of attempting to directly override the
7742 library functions. fix declarations.
7745 include syswindows.h. move some sysdep.h stuff here.
7748 include syswindows.h, not <windows.h>.
7756 * sysdep.c (sys_fstat):
7757 * sysdep.c (sys_stat):
7758 call mswindows versions when appropriate.
7761 move mswin decls to nt.h.
7764 add long comment describing appropriate use of the various windows
7767 2000-06-11 Ben Wing <ben@xemacs.org>
7769 * device-x.c: Correct doc string for sixth arg of x-get-resource.
7771 2000-06-10 Ben Wing <ben@xemacs.org>
7773 * Makefile.in.in (release):
7774 Correction to make sure xemacs.exe always dumped when correct.
7778 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
7780 * buffer.c (set_buffer_internal):
7781 [[[[2]]]]: Remove HAVE_FEP code.
7783 * buffer.c (init_initial_directory):
7787 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
7791 * callproc.c (call_process_cleanup):
7792 * callproc.c (Fold_call_process_internal):
7793 * callproc.c (child_setup):
7794 * callproc.c (getenv_internal):
7795 * callproc.c (init_callproc):
7796 * callproc.c (vars_of_callproc):
7797 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
7798 __CYGWIN32__ -> CYGWIN.
7799 DOS_NT -> WIN32_NATIVE.
7800 Remove MSDOS support/references, converting to WIN32_NATIVE
7802 __MINGW32__ -> MINGW.
7803 Fix windows.h includes.
7804 Remove bogus HAVE_NTGUI.
7810 mswindows_message_outputted added for use in allowing startup
7811 errors on the console to be seen.
7813 * console-msw.c (msw_ensure_console_allocated):
7814 * console-msw.c (msw_output_console_string):
7815 * console-msw.c (DHEADER):
7816 * console-msw.c (DOPAQUE_DATA):
7817 * console-msw.c (DEVENT):
7818 * console-msw.c (DCONS):
7819 * console-msw.c (DCONSCDR):
7820 * console-msw.c (DSTRING):
7821 * console-msw.c (DVECTOR):
7822 * console-msw.c (DSYMBOL):
7823 * console-msw.c (DSYMNAME):
7826 * console-stream.c (stream_init_console):
7827 Fix text/binary problems.
7830 * device-msw.c (mswindows_finish_init_device):
7831 * device-msw.c (mswindows_delete_device):
7834 * device.c (handle_asynch_device_change):
7838 * dgif_lib.c (DGifOpenFileName):
7839 * dgif_lib.c (DGifOpenFileHandle):
7840 * dgif_lib.c (DGifGetLine):
7841 * dgif_lib.c (DGifGetPixel):
7842 Added config.h/lisp.h, fix up includes.
7849 * dired.c (file_name_completion):
7850 * dired.c (Ffile_attributes):
7851 * dired.c (syms_of_dired):
7855 * dumper.c (pdump_file_unmap):
7856 * dumper.c (pdump_load):
7860 * editfns.c (Ftemp_directory):
7861 * editfns.c (user_login_name):
7862 * editfns.c (Fuser_real_login_name):
7863 * editfns.c (get_home_directory):
7866 * elhash.c (finish_marking_weak_hash_tables):
7867 [[[[5]]]]: Fix GCC warnings.
7870 * emacs.c (mswindows_handle_hardware_exceptions):
7871 * emacs.c (make_arg_list_1):
7873 * emacs.c (Fkill_emacs):
7874 * emacs.c (Fdump_emacs):
7876 Fix problems with nested crashes, add long comment.
7878 * event-Xt.c (init_event_Xt_late):
7882 * event-msw.c (mswindows_dde_callback):
7883 * event-msw.c (mswindows_handle_sticky_modifiers):
7884 * event-msw.c (mswindows_wnd_proc):
7888 * events.c (character_to_event):
7892 * fileio.c (Ffile_name_directory):
7893 * fileio.c (Ffile_name_nondirectory):
7894 * fileio.c (directory_file_name):
7895 * fileio.c (Fexpand_file_name):
7896 * fileio.c (Fsubstitute_in_file_name):
7897 * fileio.c (Ffile_name_absolute_p):
7898 * fileio.c (check_executable):
7899 * fileio.c (Ffile_readable_p):
7900 * fileio.c (Ffile_accessible_directory_p):
7901 * fileio.c (Ffile_modes):
7902 * fileio.c (Funix_sync):
7903 * fileio.c (vars_of_fileio):
7906 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
7908 Expand getdefdir defn.
7909 Fix bogus rename() comment.
7911 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
7912 to use standard XEmacs include files, e.g. sysfile.h, rather
7913 than system-specific includes.
7919 * frame.c (vars_of_frame):
7923 * getloadavg.c (getloadavg):
7925 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
7926 (We don't use it elsewhere in the code; just add a comment.)
7933 * glyphs-msw.c (mswindows_resource_instantiate):
7936 * glyphs-x.c (x_native_layout_instantiate):
7939 * gui-msw.c (Fmswindows_shell_execute):
7948 * lread.c (locate_file_in_directory_mapper):
7955 * mem-limits.h (get_lim_data):
7967 * nt.c (rva_to_section):
7968 * nt.c (mswindows_executable_type):
7970 Fix closedir() defn.
7973 [[[[8]]]]: *_OK defs moved to sysfile.h.
7982 * print.c (std_handle_out_external):
7986 * process-nt.c (nt_create_process):
7988 try to fix process quoting somewhat.
7990 * process-unix.c (unix_create_process):
7994 * process.c (vars_of_process):
8001 * realpath.c (xrealpath):
8004 * redisplay-tty.c (init_tty_for_redisplay):
8014 * sheap.c (more_static_core):
8015 * sheap.c (report_sheap_usage):
8019 * signal.c (alarm_signal):
8026 * strftime.c (zone_name):
8029 * symsinit.h (init_sunpro):
8033 commctrl.h not in Cygwin b20.1.
8037 * sysdep.c (sys_subshell):
8038 * sysdep.c (init_baud_rate):
8039 * sysdep.c (emacs_get_tty):
8040 * sysdep.c (emacs_set_tty):
8041 * sysdep.c (tty_init_sys_modes_on_device):
8042 * sysdep.c (init_system_name):
8043 * sysdep.c (sys_open):
8044 * sysdep.c (interruptible_open):
8045 * sysdep.c (sys_fopen):
8046 * sysdep.c (sys_mkdir):
8047 * sysdep.c (sys_rename):
8048 * sysdep.c (get_process_times_1):
8055 * sysdir.h (DIRENTRY_NONEMPTY):
8058 * sysdll.c (dll_init):
8064 added text/binary defs.
8070 * sysproc.h (EDESTADDRREQ):
8071 * sysproc.h (poll_fds_for_input):
8088 Always define WIN32_LEAN_AND_MEAN.
8090 * unexcw.c (unexec):
8094 * unexec.c (copy_text_and_data):
8095 * unexec.c (adjust_lnnoptrs):
8099 * unexnt.c (_start):
8102 2000-06-07 Ben Wing <ben@xemacs.org>
8104 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
8105 was used only as a model. We've long since extracted any useful
8106 logic or code out of this. (I just did an exhaustive search.)
8108 * s\msdos.h: Removed.
8110 * s\windows95.h: Removed.
8112 2000-06-10 Ben Wing <ben@xemacs.org>
8116 Don't use extern with fun defs.
8120 Remove nt\inc include.
8121 Remove getdisk, getdefdir. (The former is unused, the latter
8122 expanded in fileio.h.)
8125 * s\windowsnt.h (WIN32_NATIVE):
8126 * s\windowsnt.h (HAVE_STRCASECMP):
8128 Add long comment about preprocessor changes.
8129 Remove getdisk, getdefdir. (The former is unused, the latter
8130 expanded in fileio.h.)
8132 2000-06-10 Ben Wing <ben@xemacs.org>
8141 Remove bogus/unused NO_SOCK_SIGIO.
8143 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
8145 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
8148 2000-06-04 Mike Sperber <mike@xemacs.org>
8150 * casetab.c (set_case_table): For `set-standard-case-table',
8151 actually deposit the new case tables where the rest of XEmacs can
8154 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
8156 * data.c (Faset): Don't cast XCHAR() to unsigned char.
8158 2000-06-05 Ben Wing <ben@xemacs.org>
8160 * callproc.c (child_setup): Don't do close_load_descs() under
8161 MS Windows. Put in a comment explaining why.
8163 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
8165 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
8166 Toolkit shell" which breaks `kill-compilation' on Windows NT
8167 native, retaining STDERR handling improvements.
8169 2000-06-01 Andreas Jaeger <aj@suse.de>
8171 * s/s390.h: Support for S390, based on a patch by Martin
8172 Schwidefsky <schwidefsky@de.ibm.com>.
8174 2000-05-30 Andy Piper <andy@xemacs.org>
8176 * window.c (allocate_window):
8177 (make_dummy_parent):
8178 (Fset_window_configuration): use new hashtable type.
8180 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
8181 (struct image_instantiator_methods):
8182 (struct Lisp_Image_Instance): make instance geometry signed.
8184 * glyphs.c (instantiate_image_instantiator):
8185 (image_instance_query_geometry):
8186 (image_instance_layout):
8187 (image_instance_layout):
8188 (query_string_geometry):
8189 (text_query_geometry):
8190 (image_instantiate):
8191 (image_instantiate):
8192 (cache_subwindow_instance_in_frame_maybe):
8193 (subwindow_query_geometry): make instance geometry signed.
8195 * glyphs-widget.c (widget_query_geometry):
8197 (button_query_geometry):
8198 (tree_view_query_geometry):
8199 (tab_control_query_geometry):
8200 (layout_query_geometry):
8202 (native_layout_layout): make instance geometry signed.
8204 2000-05-29 Olivier Galibert <galibert@pobox.com>
8206 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
8209 * general.c (syms_of_general): Add Qfull_assoc symbol.
8211 * data.c (finish_marking_weak_lists): Mark full-assoc lists
8213 (decode_weak_list_type): Decode full-assoc type.
8214 (encode_weak_list_type): Encode full-assoc type.
8215 (Fmake_weak_list): Update doc string.
8217 2000-05-30 Andy Piper <andy@xemacs.org>
8219 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
8221 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
8222 (decode_hash_table_weakness): ditto.
8223 (Fhash_table_weakness): ditto.
8224 (Fhash_table_type): ditto.
8225 (finish_marking_weak_hash_tables): ditto.
8226 (hash_table_weakness_validate): ditto.
8227 (syms_of_elhash): ditto.
8229 2000-05-28 Martin Buchholz <martin@xemacs.org>
8231 * XEmacs 21.2.34 is released.
8233 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8235 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
8237 (updating_line_start_cache): Gone.
8238 (regenerate_window): Replace resetting of VERTICAL_CLIP by
8239 generic code to force a minimum of 1 line laid out in the
8242 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
8244 * glyphs.c (instantiate_image_instantiator): Check for initialized
8245 height & width no longer special cases IMAGE_NOTHING.
8246 (nothing_instantiate): Set height and width of instance.
8248 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8250 * unexelf.c (unexec): Search for ".data" section.
8251 Initialize new_data2_offset from old_data_index.
8252 Remove redundant check for ElfW.
8254 2000-05-23 Andy Piper <andy@xemacs.org>
8256 * glyphs.c (get_image_instantiator_governing_domain): allow more
8257 specific domains as the governing domain rather than expecting an
8258 exact match. This fixes problems with layouts.
8260 2000-05-22 Andy Piper <andy@xemacs.org>
8262 * redisplay-output.c (compare_runes): check for non-images
8264 * glyphs.c (set_glyph_dirty_p): ditto.
8265 (update_glyph_cachel_data): ditto.
8267 * glyphs-widget.c (layout_post_instantiate): ditto.
8268 (layout_post_instantiate): ditto.
8270 * event-msw.c (mswindows_wnd_proc): warning removal.
8272 2000-05-12 Craig Lanning <CraigL@DyCon.com>
8274 * s\mingw32.h: Added #undef for CLASH_DETECTION.
8276 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
8278 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
8280 * nt.c (rva_to_section): mingw32 needs rva_to_section.
8281 (mswindows_executable_type): mingw32 now has enough headers for
8284 2000-05-20 Andy Piper <andy@xemacs.org>
8286 * console-msw.c (mswindows_output_last_error): ; -> ,
8288 2000-05-12 Andy Piper <andy@xemacs.org>
8290 * console-msw.c (FROB): compare ints with ints.
8292 2000-05-11 Andy Piper <andy@xemacs.org>
8294 * glyphs-x.c (x_finalize_image_instance): make minimal build
8297 2000-05-20 Ben Wing <ben@xemacs.org>
8300 * event-Xt.c (vars_of_event_Xt):
8301 move modifier-keys-are-sticky to event-stream.c.
8304 * event-msw.c (mswindows_enqueue_mouse_button_event):
8305 * event-msw.c (key_needs_default_processing_p):
8306 * event-msw.c (XEMSW_LCONTROL):
8307 * event-msw.c (mswindows_handle_sticky_modifiers):
8308 * event-msw.c (FROB):
8309 * event-msw.c (clear_sticky_modifiers):
8310 * event-msw.c (output_modifier_keyboard_state):
8311 * event-msw.c (output_alt_keyboard_state):
8312 * event-msw.c (mswindows_wnd_proc):
8313 * event-msw.c (mswindows_modifier_state):
8314 * event-msw.c (emacs_mswindows_handle_magic_event):
8315 implement sticky modifiers.
8318 * event-stream.c (vars_of_event_stream):
8319 move modifier-keys-are-sticky here.
8325 implement map-range-table.
8328 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
8330 * redisplay-tty.c (reset_tty_modes):
8331 (tty_redisplay_shutdown): Adjust argument type to
8332 tty_frame_output_end.
8334 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8336 * eval.c (Fbacktrace): Don't output a line with only right
8339 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
8341 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
8342 (Fpq_reset_poll): Ditto.
8344 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
8346 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
8348 2000-05-16 Ben Wing <ben@xemacs.org>
8351 * buffer.c (dfc_convert_to/from_internal_format):
8352 * buffer.c (reinit_vars_of_buffer):
8353 Fix conversion functions to allow reentrancy.
8356 * console-msw.c (mswindows_output_last_error):
8357 New fun, generally useful -- output a human-readable
8358 version of GetLastError() on the console.
8361 * console-msw.h (struct mswindows_frame):
8362 Changes for DeferWindowPos. Declare mswindows_output_last_error().
8364 * console-stream.c (stream_output_begin):
8365 * console-stream.c (stream_output_end):
8366 * console-stream.c (stream_output_vertical_divider):
8367 * console-stream.c (stream_clear_region):
8368 * console-stream.c (stream_flash):
8369 * console-stream.c (console_type_create_stream):
8370 Delete blank stream methods, not needed.
8372 * console.h (struct console_methods):
8373 Split begin/end methods into window and frame.
8376 * event-msw.c (mswindows_handle_paint):
8377 * event-msw.c (output_alt_keyboard_state):
8378 * event-msw.c (mswindows_wnd_proc):
8379 * event-msw.c (vars_of_event_mswindows):
8380 Comment about problems with ignored-expose.
8381 Define mswindows-debug-events; not really implemented.
8383 * frame-msw.c (mswindows_init_frame_1):
8387 * glyphs-msw.c (begin_defer_window_pos):
8388 * glyphs-msw.c (mswindows_unmap_subwindow):
8389 * glyphs-msw.c (mswindows_map_subwindow):
8390 * glyphs-msw.c (mswindows_resize_subwindow):
8391 Use DeferWindowPos to reduce flashing when mapping/unmapping.
8393 * glyphs.c (make_image_instance_1):
8396 * gutter.c (Fredisplay_gutter_area):
8397 Use new begin/end methods.
8399 * lisp.h (Dynarr_new2):
8403 * redisplay-msw.c (mswindows_frame_output_begin):
8404 * redisplay-msw.c (mswindows_frame_output_end):
8405 * redisplay-msw.c (console_type_create_redisplay_mswindows):
8406 New begin/end methods -- handle DeferWindowPos.
8408 * redisplay-output.c (redisplay_move_cursor):
8409 * redisplay-output.c (redraw_cursor_in_window):
8410 * redisplay-output.c (redisplay_update_line):
8411 * redisplay-output.c (redisplay_output_window):
8412 New begin/end methods.
8415 * redisplay-tty.c (tty_frame_output_begin):
8416 * redisplay-tty.c (tty_frame_output_end):
8417 * redisplay-tty.c (console_type_create_redisplay_tty):
8418 New begin/end methods.
8421 * redisplay-x.c (x_window_output_begin):
8422 * redisplay-x.c (x_window_output_end):
8423 * redisplay-x.c (console_type_create_redisplay_x):
8424 New begin/end methods.
8426 * redisplay.c (redisplay_frame):
8427 * redisplay.c (Fredisplay_echo_area):
8428 New begin/end methods.
8429 use MAYBE_DEVMETH for clear_frame; it may not exist.
8431 * window.h (WINDOW_XFRAME):
8432 WINDOW_XFOO macros -- get locale and decode struct pointer.
8435 2000-05-12 Ben Wing <ben@xemacs.org>
8438 * emacs.c (ensure_no_quitting_from_now_on):
8439 * emacs.c (fatal_error_signal):
8440 * emacs.c (mswindows_handle_hardware_exceptions):
8442 * emacs.c (Fkill_emacs):
8443 * emacs.c (shut_down_emacs):
8444 * emacs.c (assert_failed):
8445 various improvements in fatal error handling.
8448 move preparing_for_armageddon to emacs.c.
8451 declare fatal_error_in_progress.
8454 * print.c (std_handle_out_external):
8455 * print.c (std_handle_out_va):
8456 * print.c (stderr_out):
8457 * print.c (stdout_out):
8458 use console under mswin when no standard output.
8459 don't do code conversion during fatal error.
8461 * scrollbar.c (Fscrollbar_page_up):
8462 * scrollbar.c (Fscrollbar_page_down):
8463 fix missing else. reindent.
8465 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
8469 * glyphs.h (GLYPH_CACHEL_DESCENT):
8470 (GLYPH_CACHEL_DESCENT):
8471 (GLYPH_CACHEL_DESCENT):
8472 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
8473 used in case these are inline functions.
8474 Use more absurd values to error check.
8476 include window.h for error check functions.
8478 2000-05-11 Ben Wing <ben@xemacs.org>
8480 * cmdloop.c (Freally_early_error_handler):
8481 Display message box under windows; otherwise, message will disappear
8482 before it can be viewed.
8485 * console-msw.c (Fmswindows_message_box):
8486 * console-msw.c (FROB):
8487 * console-msw.c (syms_of_console_mswindows):
8488 Define new fun `mswindows-message-box'.
8489 #### I will merge this into `popup-dialog-box'; just give me
8493 * general.c (syms_of_general):
8494 Some new symbols used in `mswindows-message-box'.
8497 * glyphs.c (Fset_image_instance_property):
8498 put warning in this fun.
8501 * glyphs.h (GLYPH_CACHEL_WIDTH):
8502 * glyphs.h (GLYPH_CACHEL_ASCENT):
8503 * glyphs.h (GLYPH_CACHEL):
8504 * glyphs.h (GLYPH_CACHEL_GLYPH):
8505 define error-checking versions to try to catch a bug i've seen --
8506 redisplay gets in an infinite loop because the glyph width of the
8507 continuation glyph is 65535.
8510 Extern message-box stuff.
8512 * window.c (allocate_window):
8513 * window.c (make_dummy_parent):
8514 * window.c (Fset_window_configuration):
8515 Use EQUAL not EQ for subwindow caches to make them work a bit
8516 better. (Something is still very broken.)
8519 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8521 * glyphs.c (image_instantiate): Suppress gcc warnings.
8522 (Fmake_image_instance): Fix doc string.
8523 * specifier.c (Fmake_specifier): Ditto.
8525 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
8527 * paths.h.in (PATH_LOCK): Removed.
8528 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
8529 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
8531 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8533 * fns.c (Ffeaturep): Update e-mail address in doc-string.
8534 Document (featurep '(and xemacs 21.02)).
8536 2000-05-09 Ben Wing <ben@xemacs.org>
8538 * buffer.c (complex_vars_of_buffer):
8539 update modeline-format doc.
8542 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
8545 timeline of all released versions of Emacs, for use in creating
8546 authorship comments and in synching up.
8548 * glyphs-widget.c (image_instantiator_buttons):
8549 * glyphs-widget.c (image_instantiator_edit_fields):
8550 * glyphs-widget.c (image_instantiator_combo_box):
8551 * glyphs-widget.c (image_instantiator_scrollbar):
8552 * glyphs-widget.c (image_instantiator_progress_guage):
8553 * glyphs-widget.c (image_instantiator_tree_view):
8554 * glyphs-widget.c (image_instantiator_tab_control):
8555 * glyphs-widget.c (image_instantiator_labels):
8556 * glyphs-widget.c (image_instantiator_layout):
8557 * glyphs-widget.c (image_instantiator_native_layout):
8558 rename decode_domain method to governing_domain.
8561 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8562 * glyphs.c (add_entry_to_device_ii_format_list):
8563 make sure we don't put an entry more than once into the list.
8564 * glyphs.c (check_instance_cache_mapper):
8565 *************************************************************
8566 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8568 *************************************************************
8569 * glyphs.c (get_image_instantiator_governing_domain):
8570 clean up, expand on new concept of governing domain.
8571 * glyphs.c (instantiate_image_instantiator):
8572 * glyphs.c (allocate_image_instance):
8573 use governing_domain instead of cache_domain in naming.
8574 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8575 * glyphs.c (make_image_instance_1):
8576 * glyphs.c (Fmake_image_instance):
8577 allow for any domain (not just device), and process the
8578 governing domain correctly. very big doc fix.
8579 * glyphs.c (Fimage_instance_domain):
8580 new primitive, to retrieve the governing domain of an image instance.
8581 * glyphs.c (image_instantiate):
8582 use new governing_domain stuff. this fixes a crash you could get
8583 by instantiating certain widget glyphs in frame locales. (should
8584 signal an error instead of crashing.)
8585 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8586 * glyphs.c (Fglyphp): clean up doc.
8587 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8588 * glyphs.c (syms_of_glyphs):
8589 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8590 * glyphs.c (image_instantiator_format_create): add some comments about
8592 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8593 for current-display-table. (Apparently Hrjove implemented in 1998 a
8594 design I wrote up in 1996, but didn't update the doc string.)
8596 * glyphs.h: clean up a doc string.
8597 * glyphs.h (governing_domain):
8598 * glyphs.h (struct image_instantiator_methods):
8599 changes for governing_domain stuff.
8602 * gutter.c (Fgutter_specifier_p):
8603 * gutter.c (Fgutter_size_specifier_p):
8604 * gutter.c (Fgutter_visible_specifier_p):
8606 * objects.c (Fcolor_specifier_p):
8607 * objects.c (Ffont_specifier_p):
8608 * objects.c (Fface_boolean_specifier_p):
8609 doc strings moved to make-*-specifier.
8611 * redisplay.c (add_disp_table_entry_runes_1):
8612 * redisplay.c (generate_fstring_runes):
8613 * redisplay.c (screen):
8614 add random comments and doc strings.
8617 * specifier.c (Fmake_specifier):
8618 major overhaul of this doc string.
8620 * specifier.c (Fvalid_specifier_domain_p):
8621 comment about the bogosity of image instances being domains.
8622 * specifier.c (decode_domain):
8623 now non-static, used in glyphs.c.
8624 * specifier.c (specifier_instance):
8625 comment about the bogosity of image instances being domains.
8626 * specifier.c (Fgeneric_specifier_p):
8627 move doc string to make-generic-specifier.
8628 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8632 * specifier.h (DOMAIN_FRAME):
8633 * specifier.h (DOMAIN_LIVE_P):
8634 * specifier.h (DOMAIN_XDEVICE):
8636 add comments about problems with these macros.
8637 prototype for decode_domain.
8640 * toolbar.c (Ftoolbar_specifier_p):
8641 move doc string to `make-toolbar-specifier'.
8643 * window.c (window_unmap_subwindows_cache_mapper):
8644 *************************************************************
8645 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8647 *************************************************************
8649 2000-05-09 Andy Piper <andy@xemacs.org>
8651 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8653 * window.c (Fset_window_configuration): reset the frame subwindow
8654 cache and re-initialize the window subwindow caches.
8656 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8658 2000-05-09 Ben Wing <ben@xemacs.org>
8660 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8663 2000-04-26 Mike Woolley <mike@bulsara.com>
8665 * ntheap.c: Changed recreate_heap to limit the amount reserved
8666 for the heap to that which is actually available. Also now
8667 displays a message box (with some dignostics) in the event that
8668 it still can't start.
8670 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8672 * callproc.c (Fold_call_process_internal): GCPRO path
8674 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8676 Patch by Bill Perry.
8678 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8679 back data instead of #ifdef.
8680 (Fscrollbar_page_down): ditto.
8682 2000-05-07 Ben Wing <ben@xemacs.org>
8685 Kludge for defining Qmswindows_tstr.
8688 * nt.c (open_input_file):
8689 * nt.c (open_output_file):
8690 * nt.c (rva_to_section):
8691 * nt.c (mswindows_executable_type):
8692 Move all memory-mapped-file routines here (some were in unexnt.c,
8693 which is bad because they are used by process-nt.c, and unexnt
8694 won't be around when portable dumping). Synched the above routines
8698 Removed ifdef'd out bogus code.
8699 Fixed some prototypes.
8702 * nt.h (OFFSET_TO_RVA):
8703 * nt.h (RVA_TO_OFFSET):
8704 * nt.h (RVA_TO_PTR):
8705 Moved the memory-mapped-file structures, macros and prototypes
8706 here, to parallel nt.c. ntheap.h should really be removed
8707 entirely, and it's a non-portable-dumper specific file.
8709 * ntheap.h (round_to_next):
8710 Moved the memory-mapped-file structures, macros and prototypes
8713 * ntproc.c (compare_env):
8714 Moved rva_to_section and mswindows_executable_type to nt.c.
8715 Moved compare_env to process-nt.c.
8716 ntproc.c will die, one day.
8718 * ntproc.c (sys_spawnve):
8719 Account for win32_ -> mswindows_.
8722 * process-nt.c (struct nt_process_data):
8723 * process-nt.c (ensure_console_window_exists):
8724 * process-nt.c (compare_env):
8725 * process-nt.c (nt_create_process):
8726 * process-nt.c (nt_kill_process_by_pid):
8727 * process-nt.c (syms_of_process_nt):
8728 * process-nt.c (vars_of_process_nt):
8729 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8730 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8731 changes). Eliminate our old `nt-quote-process-args' mechanism.
8732 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8733 Move compare_env here from ntproc.c.
8735 * process.c (Fprocess_send_region):
8736 Takes an optional fourth argument, BUFFER, which should fix some
8737 problems with call-process.
8740 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8743 Move ICC_BAR_CLASSES to syscommctrl.h.
8744 Add preliminary macros for MSWindows/Mule. More to come.
8747 * unexnt.c (unexec):
8748 open_output_file moved to nt.c.
8751 2000-05-05 Andy Piper <andy@xemacs.org>
8753 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8754 instance from the frame cache also since GC may catch up too late
8755 to make frame deletion sane.
8757 2000-05-04 Andy Piper <andy@xemacs.org>
8759 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8760 (x_finalize_image_instance): ungcpro on deletion.
8762 * glyphs.c (image_instantiator_format_create): give pointers a
8763 query geometry method so that the geometry is at least set.
8765 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8766 initialize layouts if using widgets.
8768 2000-05-03 Andy Piper <andy@xemacs.org>
8770 * nt.c: remove bogus reference to sysmmsystem.h
8772 * gui-x.c (popup_selection_callback): fix no selection abort.
8774 2000-05-02 Andy Piper <andy@xemacs.org>
8776 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
8777 (mswindows_widget_instantiate): ditto.
8779 * glyphs-widget.c (initialize_widget_image_instance): initialize
8781 (widget_instantiate): cope with children and items in the same
8784 * glyphs.c (mark_image_instance): cope with children as a first
8786 (image_instance_equal): ditto.
8787 (image_instance_hash): ditto.
8788 (image_instance_changed): ditto.
8790 2000-04-30 Andy Piper <andy@xemacs.org>
8792 * glyphs.c (subwindow_query_geometry): new function. Return some
8794 (subwindow_instantiate): don't assign dimensions if none have been
8796 (image_instantiator_format_create): add subwindow_query_geometry.
8797 (print_image_instance): cope with layouts as widgets.
8799 2000-04-29 Andy Piper <andy@xemacs.org>
8801 * frame.c (delete_frame_internal): call
8802 free_frame_subwindow_instance_cache so that all subwindows are
8803 finalized before their parent.
8804 (mark_frame): remove subwindow_cachels.
8805 (Fmake_frame): remove subwindow_cachel manipulation.
8806 (allocate_frame_core): subwindow_instance_cache is a weak list.
8807 (delete_frame_internal): set subwindow_instance_cache to nil.
8809 * glyphs-msw.c (mswindows_finalize_image_instance): make double
8811 (mswindows_finalize_image_instance): use the device
8812 not the domain as the domain may have died already.
8814 * glyphs-x.c (x_finalize_image_instance): ditto.
8815 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8818 * redisplay-output.c (redisplay_unmap_subwindows): update for
8819 subwindow instance cache as a weak list.
8820 (redisplay_unmap_subwindows_maybe): ditto.
8821 (redisplay_unmap_subwindows_except_us): ditto.
8823 * glyphs.c (unmap_subwindow): error checking will check the domain
8824 so don't deal with it here. Don't use cachels anymore.
8825 (map_subwindow): ditto.
8826 (update_subwindow_cachel_data): remove old accessor names.
8827 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8828 (Fresize_subwindow): don't update cachel.
8829 (mark_subwindow_cachels):
8830 (update_subwindow_cachel_data):
8831 (add_subwindow_cachel):
8832 (get_subwindow_cachel_index):
8833 (update_subwindow_cachel):
8834 (reset_subwindow_cachels):
8835 (mark_subwindow_cachels_as_not_updated): deleted.
8836 (cache_subwindow_instance_in_frame_maybe): new function. Add a
8837 subwindow instance to the frame cache.
8838 (find_matching_subwindow): update for subwindow instance cache as
8840 (update_widget_instances): ditto.
8841 (image_instance_type_to_mask):inlined.
8842 (free_frame_subwindow_instance_cache): new function. finalize all
8843 subwindows that are instantiated.
8845 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
8846 of cachel information.
8847 (IMAGE_INSTANCE_DISPLAY_X):
8848 (IMAGE_INSTANCE_DISPLAY_Y):
8849 (IMAGE_INSTANCE_DISPLAY_WIDTH):
8850 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
8851 (XIMAGE_INSTANCE_DISPLAY_X):
8852 (XIMAGE_INSTANCE_DISPLAY_Y):
8853 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
8854 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
8855 remove subwindow_cachel structure and function references.
8856 (image_instance_type_to_mask): inline from glyphs.c
8858 * redisplay.c (redisplay_frame): remove subwindow_cachel
8861 * frame.h (struct frame): remove subwindow_cachels.
8862 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
8864 * frameslots.h: add subwindow_instance_cache.
8866 * window.c (replace_window): check subwindow cache of replacement.
8867 (window_unmap_subwindows_cache_mapper):
8868 (window_unmap_subwindows): new functions. Unmap all subwindows
8869 cached on this window.
8870 (mark_window_as_deleted): unmap all subwindows.
8872 2000-04-27 Andy Piper <andy@xemacs.org>
8874 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
8876 * glyphs-widget.c (widget_layout): return something.
8877 (layout_layout): return something. Fail if not initialized.
8878 (layout_query_geometry): ditto.
8879 (image_instantiator_native_layout): new function. Initialized the
8881 (widget_instantiate): don't do layout stuff here.
8883 * glyphs.c (instantiate_image_instantiator): reorded calling or
8884 instantiate and post_instantiate with layout in between.
8885 (image_instance_layout): be more selective about deciding whether
8886 the layout has been done or not.
8888 * glyphs.h (struct image_instantiator_methods): return a value
8891 2000-04-26 Andy Piper <andy@xemacs.org>
8893 * glyphs.c (allocate_image_instance): make initial width and
8894 height unspecified. Set initialized to 0.
8896 * syscommctrl.h new file. Encapsulates commctrl.h.
8898 * syswindows.h new file. Encapsulates windows.h.
8900 * ntplay.c: use new syswindows.h and syscommctrl.h header.
8902 * console-msw.h: ditto.
8904 * redisplay-tty.c (tty_output_display_block): remove layout references.
8906 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
8907 window handle rather than just the frame.
8909 * glyphs.c (mark_image_instance): remove layout references.
8910 (print_image_instance): ditto.
8911 (image_instance_equal): ditto.
8912 (image_instance_hash): ditto.
8913 (decode_image_instance_type): ditto.
8914 (encode_image_instance_type): ditto.
8915 (image_instantiate): ditto.
8916 (allocate_glyph): ditto.
8917 (Fimage_instance_height): ditto.
8918 (Fimage_instance_width): ditto.
8919 (update_subwindow): ditto.
8921 * redisplay-x.c (x_output_display_block): recode for layouts as
8924 * redisplay-output.c (redisplay_output_layout): recode for layouts
8926 (compare_runes): remove layout references.
8928 * redisplay-msw.c (mswindows_output_display_block): recode for
8931 * glyphs-widget.c (image_instantiator_layout): remove
8932 layout_possible_dest_types.
8933 (layout_possible_dest_types): deleted.
8935 * glyphs.h (image_instance_type): remove layout references.
8936 (struct Lisp_Image_Instance): ditto. Add initialized flag.
8937 (IMAGE_INSTANCE_INITIALIZED): new accessor.
8938 (XIMAGE_INSTANCE_INITIALIZED): ditto.
8940 2000-04-25 Andy Piper <andy@xemacs.org>
8942 * glyphs-widget.c (image_instantiator_buttons):
8943 (image_instantiator_edit_fields):
8944 (image_instantiator_combo_box):
8945 (image_instantiator_scrollbar):
8946 (image_instantiator_progress_guage):
8947 (image_instantiator_tree_view):
8948 (image_instantiator_tab_control):
8949 (image_instantiator_labels):
8950 (image_instantiator_layout): call default post_instantiate method.
8951 (widget_post_instantiate): new function. Simply lays out the
8954 * glyphs.h (struct image_instantiator_methods): add
8955 post_instantiate method.
8957 * glyphs.c (instantiate_image_instantiator): add post_instantiate
8960 2000-04-23 Andy Piper <andy@xemacs.org>
8962 * glyphs.h (struct image_instantiator_methods): add
8963 decode_domain_method.
8964 (struct Lisp_Image_Instance): remove subwindow frame - it can be
8965 derived from the domain.
8966 (IMAGE_INSTANCE_FRAME): new accessor.
8967 (XIMAGE_INSTANCE_FRAME): ditto.
8969 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
8970 instead of _SUBWINDOW_FRAME.
8971 (finalize_image_instance): ditto.
8972 (Fimage_instance_foreground): ditto.
8973 (Fimage_instance_background): ditto.
8974 (image_instantiate): ditto.
8975 (update_subwindow_cachel): ditto.
8976 (update_subwindow): ditto.
8977 (unmap_subwindow): ditto.
8978 (map_subwindow): ditto
8979 (subwindow_instantiate): ditto.
8980 * glyphs-msw.c (mswindows_update_widget): ditto.
8981 (mswindows_progress_gauge_instantiate): ditto.
8982 (mswindows_tab_control_update): ditto.
8983 * glyphs-x.c (x_update_widget): ditto.
8984 (x_widget_instantiate): ditto.
8985 (x_tab_control_instantiate): ditto.
8986 (x_tab_control_update): ditto.
8987 * event-msw.c (mswindows_wnd_proc): ditto
8989 * glyphs-widget.c (image_instantiator_layout): use
8990 subwindow_decode_domain.
8991 (image_instantiator_buttons): ditto.
8992 (image_instantiator_edit_fields): ditto.
8993 (image_instantiator_combo_box): ditto.
8994 (image_instantiator_scrollbar): ditto.
8995 (image_instantiator_progress_guage): ditto.
8996 (image_instantiator_tree_view): ditto.
8997 (image_instantiator_tab_control): ditto.
8998 (image_instantiator_labels): ditto.
8999 (image_instantiator_layout): ditto.
9001 * glyphs.c: add instance error checking to many functions.
9002 (instantiate_image_instantiator): decode device from cache_domain.
9003 (image_instantiate): partially rewrite by using
9004 decode_image_instantiator_domain to determine what domain the
9005 instance needs to be cached in.
9006 (decode_image_instantiator_domain): new function. Determine what
9007 domain the image needs to be cached in.
9008 (check_window_subwindow_cache): new error checking function.
9009 (check_instance_cache_mapper): ditto.
9010 (check_image_instance_structure): ditto.
9011 (subwindow_decode_domain): new function. Encodes a window as a
9012 subwindow's cache domain.
9013 (image_instantiator_format_create): use it for text and
9016 2000-04-21 Andy Piper <andy@xemacs.org>
9018 * glyphs.c (image_instance_device): new function.
9019 (image_instance_frame): new function.
9020 (image_instance_window): new function.
9021 (image_instance_live_p): new function.
9023 * window.c (mark_window_as_deleted): reset the subwindow_instance_
9026 * glyphs.h (struct Lisp_Image_Instance): device->domain.
9027 (IMAGE_INSTANCE_DOMAIN): new accessor.
9028 (XIMAGE_INSTANCE_DOMAIN): ditto.
9030 * glyphs-x.c (x_finalize_image_instance): device->domain.
9032 * glyphs-msw.c (init_image_instance_geometry): device->domain.
9033 (mswindows_finalize_image_instance): ditto.
9035 * glyphs-eimage.c (jpeg_instantiate): device->domain.
9036 (gif_instantiate): ditto.
9037 (png_instantiate): ditto.
9038 (tiff_instantiate): ditto.
9040 * glyphs.c (instantiate_image_instantiator): use domain rather
9042 (mark_image_instance): device -> domain.
9043 (print_image_instance): ditto.
9044 (finalize_image_instance): ditto.
9045 (image_instance_equal): ditto.
9046 (allocate_image_instance): ditto.
9047 (Fcolorize_image_instance): ditto.
9048 (query_string_geometry): ditto.
9049 (image_instantiate): ditto
9050 (query_string_font): ditto.
9051 (image_instantiate): ditto.
9052 (update_subwindow): ditto.
9053 (unmap_subwindow): ditto.
9054 (map_subwindow): ditto.
9055 (subwindow_instantiate): ditto.
9057 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
9058 (DOMAIN_FRAME): ditto.
9059 (DOMAIN_WINDOW): ditto.
9060 (DOMAIN_LIVE_P): ditto.
9061 (XDOMAIN_DEVICE): ditto.
9062 (XDOMAIN_FRAME): ditto.
9063 (XDOMAIN_WINDOW): ditto.
9065 * specifier.c (Fvalid_specifier_domain_p): add image instances as
9066 a valid specifier domain.
9068 2000-04-19 Andy Piper <andy@xemacs.org>
9070 * glyphs-widget.c (syms_of_glyphs_widget): remove
9071 widget-callback-current-channel.
9072 (vars_of_glyphs_widget): ditto.
9075 * gui.c (get_gui_callback): revert to previous behaviour.
9077 2000-04-18 Andy Piper <andy@xemacs.org>
9079 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
9080 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
9081 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
9083 * glyphs.c (image_instance_equal): add margin_width.
9084 (image_instance_hash): ditto.
9086 * glyphs-widget.c (widget_instantiate): deal with margin-width.
9087 (layout_query_geometry): ditto.
9088 (layout_layout): ditto.
9089 (syms_of_glyphs_widget): add margin-width.
9090 (image_instantiator_layout): allow margin-width.
9092 * glyphs.c (update_widget_instances): make a normal function.
9093 (syms_of_glyphs): remove Qupdate_widget_instances.
9096 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
9097 so that we don't corrupt ideas about the last event or
9098 command. Remove widget-callback-current-channel fiddling.
9099 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9101 2000-05-01 Martin Buchholz <martin@xemacs.org>
9103 * XEmacs 21.2.33 is released.
9105 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
9107 * make-src-depend: Allow dots in header file name.
9109 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
9111 * mule-charset.h (struct charset_lookup): Add
9112 next_allocated_1_byte_leading_byte and
9113 next_allocated_2_byte_leading_byte.
9114 * mule-charset.c: Move above two variables so that those values
9117 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
9119 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
9120 when string length is zero.
9121 (find_charsets_in_emchar_string): Ditto.
9123 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
9125 * lisp.h: extern Qdialog and Qmenubar.
9127 * gui-x.c: added events.h.
9128 also fixed typo which made the file uncompilable.
9130 * general.c: Added Qmenubar and Qdialog
9132 2000-04-28 Ben Wing <ben@xemacs.org>
9134 * frame-msw.c (mswindows_init_frame_1):
9135 * frame-msw.c (mswindows_mark_frame):
9136 * event-msw.c (mswindows_enqueue_dispatch_event):
9138 * console-msw.h (struct mswindows_frame):
9139 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
9140 there are now three hash tables for callbacks.
9141 mswindows_enqueue_dispatch_event is no longer static.
9143 * dialog-x.c (maybe_run_dbox_text_callback):
9144 * dialog-x.c (dbox_descriptor_to_widget_value):
9145 switch to new cons3 form for callbacks.
9147 * glyphs-msw.c (mswindows_register_gui_item):
9148 * glyphs-msw.c (mswindows_widget_instantiate):
9149 * glyphs-msw.c (add_tree_item):
9150 * glyphs-msw.c (add_tab_item):
9151 new image instance parameter, so it can be passed to callback-ex.
9152 respect :callback-ex as well as :callback.
9154 * glyphs-widget.c (VALID_GUI_KEYWORDS):
9157 * glyphs.c (print_image_instance):
9158 prettify, e.g. now prints widget type.
9161 certain funs have new image instance parameter.
9164 * gui.c (get_gui_callback):
9165 * gui.c (gui_item_add_keyval_pair):
9166 * gui.c (gui_item_init):
9167 * gui.c (gui_add_item_keywords_to_plist):
9168 * gui.c (mark_gui_item):
9169 * gui.c (gui_item_hash):
9170 * gui.c (gui_item_equal):
9171 * gui.c (copy_gui_item):
9172 * gui.c (syms_of_gui):
9173 recognize callback-ex in a number of places.
9174 also, fix the annoying "can't get out of yes-no dialog" bug.
9177 * gui.h (struct Lisp_Gui_Item):
9178 recognize callback-ex in a number of places.
9180 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9181 new parameter in button_item_to_widget_value.
9183 * glyphs-x.c (x_update_widget):
9184 * glyphs-x.c (x_button_instantiate):
9185 * glyphs-x.c (x_button_update):
9186 * glyphs-x.c (x_progress_gauge_instantiate):
9187 * glyphs-x.c (x_edit_field_instantiate):
9188 * glyphs-x.c (x_combo_box_instantiate):
9189 * glyphs-x.c (x_tab_control_instantiate):
9190 * glyphs-x.c (x_label_instantiate):
9191 new image instance parameter in various places.
9194 * event-Xt.c (enqueue_Xt_dispatch_event):
9195 this fun gets exported.
9198 * gui-msw.c (mswindows_handle_gui_wm_command):
9199 handle both :callback and :callback-ex, and generate our own
9200 event because it's one of the callback-ex arguments.
9203 * gui-x.c (popup_selection_callback):
9204 handle both :callback and :callback-ex, and generate our own
9205 event because it's one of the callback-ex arguments.
9206 * gui-x.c (button_item_to_widget_value):
9207 * gui-x.c (gui_items_to_widget_values_1):
9208 * gui-x.c (gui_item_children_to_widget_values):
9209 * gui-x.c (gui_items_to_widget_values):
9210 new image instance parameter in various places.
9212 * fns.c (Freplace_list):
9213 fix small typo in doc string.
9216 declare enqueue_Xt_dispatch_event.
9218 2000-04-28 Ben Wing <ben@xemacs.org>
9221 * buffer.c (Frecord_buffer):
9222 * buffer.c (syms_of_buffer):
9223 delete record-buffer-hook.
9226 * fns.c (Freplace_list):
9227 * fns.c (syms_of_fns):
9228 new primitive replace-list.
9231 slot for old buffer-alist.
9237 * redisplay.c (redisplay_frame):
9238 * redisplay.c (syms_of_redisplay):
9239 * redisplay.c (vars_of_redisplay):
9240 new hook buffer-list-changed-hook.
9243 2000-04-27 Ben Wing <ben@xemacs.org>
9245 * extents.h: extern in_modeline_generation.
9247 * redisplay.c (generate_formatted_string_db): set
9248 in_modeline_generation.
9250 * extents.c (extent_changed_for_redisplay): don't mark redisplay
9251 flags if in modeline generation. otherwise frame-modified-tick
9252 is ticked far too often.
9253 Declare in_modeline_generation.
9255 2000-04-26 Ben Wing <ben@xemacs.org>
9257 * emacs.c (vars_of_emacs): document quick-build "error-checking"
9259 (vars_of_emacs): add quick-build as an error-checking option.
9260 A bit kludgy, but there doesn't seem much point in creating
9261 a real var for this.
9263 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
9265 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
9267 * redisplay.h (struct display_line): Add a new variable,
9270 * redisplay.c (create_text_block): Set dl->line_continuation if
9272 (create_string_text_block): Ditto.
9273 (regenerate_window_incrementally): Use line_continuation instead
9274 of searching continuation glyph.
9275 (add_margin_runes): Call add_glyph_rune.
9276 (add_glyph_rune): Handle margin glyph.
9278 2000-04-20 Martin Buchholz <martin@xemacs.org>
9280 * filelock.c (fill_in_lock_file_name):
9282 Check for IS_ANY_SEP instead of '/'.
9284 Avoid generating gratuitous garbage. Call user_login_name() directly.
9285 Never check errno without first seeing that system call failed.
9286 (unlock_file): Add GCPRO.
9287 (Flock_buffer): Fix docstring.
9288 (Ffile_locked_p): Fix docstring. Add GCPRO.
9290 2000-04-19 Martin Buchholz <martin@xemacs.org>
9292 * sysdep.c (get_pty_max_bytes):
9293 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
9294 strings longer than 252 bytes.
9296 * md5.c: Unconditionally include ANSI header <limits.h>
9298 * glyphs-x.c (convert_EImage_to_XImage):
9299 * lisp-union.h (union Lisp_Object):
9300 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
9302 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9304 * filelock.c (current_lock_owner): Remove unused variable o, p.
9306 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
9308 * callint.c: Remove multiply defined symbol Qlet
9309 (syms_of_callint): ditto.
9311 2000-04-14 Andy Piper <andy@xemacs.org>
9313 * general.c (syms_of_general): add last-command, this-command, let
9316 * lisp.h: declare various symbols.
9318 * glyphs.h: declare Qwidget_callback_current_channel;
9320 * glyphs-widget.c (syms_of_glyphs_widget): add
9321 Qgui_callback_current_channel.
9322 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
9324 * gui-msw.c (mswindows_handle_gui_wm_command): bind
9325 widget-callback-current-channel when invoking the interactive
9326 arg. Also bind last-command and next-command when invoking the
9328 * gui-x.c (popup_selection_callback): ditto.
9330 * gui.c (get_gui_callback): massage args so that we are always
9331 calling eval. This allows us to add our own variable bindings
9334 * glyphs-x.c (x_button_instantiate): use
9335 gui_items_to_widget_values since this is GC safe.
9336 (x_progress_gauge_instantiate): ditto.
9337 (x_edit_field_instantiate): ditto.
9338 (x_label_instantiate): ditto.
9340 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
9341 (emacs_Xt_event_widget_focus_out): new function
9342 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
9344 (emacs_Xt_event_add_widget_actions): new function. add focus
9345 functions as actions.
9346 (init_event_Xt_late): use it.
9348 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
9350 * event-stream.c (Fdispatch_event): Doc fix.
9352 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
9354 * postgresql.c: Remove all references to PQsetenv*.
9356 * postgresql.h: Remove references to PGsetenvHandler object.
9357 * lrecord.h (lrecord_type): Ditto.
9359 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9361 * glyphs-msw.h (struct mswindows_image_instance_data): Added
9362 real_heigh and real_width members, and accessor macros for these.
9364 * glyphs-msw.c (init_image_instance_geometry): New function.
9365 (init_image_instance_from_dibitmap): Use it.
9366 (mswindows_resource_instantiate): Use it.
9367 (init_image_instance_from_xbm_inline): Use it.
9368 (mswindows_initialize_image_instance_mask): Use real bitmap
9370 (mswindows_create_resized_bitmap): Ditto.
9371 (mswindows_create_resized_mask): Ditto.
9373 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
9374 and bitmap to their surface size.
9376 2000-04-11 Jan Vroonhof <jan@xemacs.org>
9378 * process-unix.c (unix_send_process): Guard against process MIA
9379 after Faccept_process_output.
9381 2000-04-11 Ben Wing <ben@xemacs.org>
9383 * eval.c (unbind_to_hairy): fix brokenness introduced by
9384 nanosecond speed improvements.
9386 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
9388 * sunplay.c (init_device): To play sounds correctly, the device
9389 apparently needs to be initialized at least once by XEmacs. Make
9392 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
9394 * redisplay.c (add_margin_runes): Add text image glyph
9397 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9399 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
9400 gcc is newer than 2.5.
9402 2000-04-06 Colin Rafferty <colin@xemacs.org>
9404 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
9406 * fns.c (size_bit_vector):
9407 * alloc.c (size_vector):
9408 (make_vector_internal):
9409 (make_bit_vector_internal):
9410 (sweep_bit_vectors_1):
9411 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
9413 2000-04-06 Andy Piper <andy@xemacs.org>
9415 * gmalloc.c (malloc): undo previous change.
9420 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
9422 * line-number.c (buffer_line_number): Revert to former version.
9424 2000-04-06 Andy Piper <andy@xemacs.org>
9426 * gmalloc.c (malloc): add error checking.
9431 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
9432 button_item_to_widget_value arg.
9434 * glyphs-x.c (x_button_instantiate): add extra
9435 button_item_to_widget_value arg.
9436 (x_progress_gauge_instantiate): ditto.
9437 (x_edit_field_instantiate): ditto.
9438 (x_label_instantiate): ditto.
9440 * gui-x.c (gui_items_to_widget_values_1): add extra
9441 button_item_to_widget_value arg.
9442 (button_item_to_widget_value): add extra menu_item_p arg.
9444 * gui-x.h: change signature of button_item_to_widget_value.
9446 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
9447 button_item_to_widget_value arg.
9449 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9451 * buffer.h (struct buffer): auto_save_modified should be long.
9453 2000-04-05 Andy Piper <andy@xemacs.org>
9455 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
9457 (button_query_geometry): give a little more room so that athena
9460 2000-04-05 Andy Piper <andy@xemacs.org>
9462 * faces.c (complex_vars_of_faces): The widget face should inherit
9463 the font of the gui-element face.
9465 2000-04-04 Andy Piper <andy@xemacs.org>
9467 * glyphs-x.c (x_button_update): new function. unconditionally
9468 update a button's state when the instance is dirty.
9469 (image_instantiator_format_create_glyphs_x): add x_button_update.
9470 (x_widget_instantiate): remove old resize cruft.
9472 2000-04-02 Andy Piper <andy@xemacs.org>
9474 * frame.c (change_frame_size_1): The introduction of gutters means
9475 that we need to allow 0 as a potential frame dimension.
9477 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
9479 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
9480 image glyph if allow_cursor.
9481 (add_hscroll_rune): Don't allow cursor to border glyph.
9482 (create_text_block): Ditto.
9484 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
9486 (redisplay_output_layout): Call ensure_face_cachel_complete for
9490 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
9492 * redisplay.c (add_glyph_rune): Adding text image as text runes.
9494 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
9497 * redisplay-tty.c (tty_output_display_block): Delete the routine
9498 for text image glyph
9499 * redisplay-x.c (x_output_display_block): ditto
9500 * redisplay-msw.c (mswindows_output_display_block): ditto
9502 2000-02-02 Mike Alexander <mta@arbortext.com>
9504 Note: Some of these were committed by accident as part of other
9507 * regex.c (regex_compile): Avoid compiler warnings.
9509 * ntproc.c (sys_spawnve): Avoid compiler warnings.
9511 * nt.h: Declare term_ntproc correctly.
9513 * nt.c: Remove incorrect declaration of get_home_directory which
9514 is declared correctly in lisp.h.
9516 * keymap.c (get_keyelt): Avoid compiler warnings.
9517 (raw_lookup_key_mapper): Avoid compiler warnings.
9519 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
9521 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
9523 * filemode.c (mode_string): Avoid compiler warnings.
9525 * file-coding.c (Fcoding_system_aliasee): Add return statement to
9528 * events-mod.h: Undef some things that winuser.h defines differently.
9530 * data.c (Faset): Avoid compiler warnings.
9532 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
9534 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9536 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
9537 Fall through to simple beep on error.
9538 Replace "extern" by real header file.
9540 * linuxplay.c: Use nativesound.h
9541 (play_sound_data): Return error code. Be less verbose on error.
9543 * sunplay.c: Use nativesound.h
9544 (play_sound_data): Return error code. Be less verbose on error.
9546 * ntplay.c: Use nativesound.h
9547 (play_sound_data): Return fake error code
9549 * sgiplay.c: Use nativesound.h
9550 (play_sound_data): Return error code
9552 * hpplay.c: Use nativesound.h, partially implement
9553 new error code. Break compilation until finished.
9554 (play_sound_data): error code.
9556 * nativesound.h (play_sound_file):
9557 (play_sound_data): Prototype in new header.
9559 2000-03-31 Andy Piper <andy@xemacs.org>
9561 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9562 for toggle and radio buttons.
9563 (image_instantiator_buttons): use it.
9565 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9567 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9568 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9569 found. Scrollbar event probably belonged to some old config.
9571 2000-03-31 Andy Piper <andy@xemacs.org>
9573 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9575 (initialize_widget_image_instance): default layout to
9576 LAYOUT_HORIZONTAL rather than 0.
9577 (widget_instantiate): reverse the item list at the end rather than
9579 (layout_layout): re-code for the border text at the front of the
9580 item list rather than at the end.
9581 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9582 provided by the user.
9583 (widget_query_geometry): comment.
9585 2000-03-30 Andy Piper <andy@xemacs.org>
9587 * glyphs-widget.c (image_instantiator_layout): allow standard
9588 widget keywords in layouts.
9590 * gutter.c (output_gutter): cope with nil gutter contents.
9592 * frame.c (Fset_frame_properties): add gutter docs.
9594 2000-03-29 Andy Piper <andy@xemacs.org>
9596 * toolbar-msw.c (TBSTYLE_FLAT): add.
9597 (mswindows_output_toolbar): minor fiddling.
9599 2000-03-29 Andy Piper <andy@xemacs.org>
9601 * gutter.c (output_gutter): force gutter size recalculation if
9602 what we are trying to display won't fit.
9603 (update_gutter_geometry): new function. A per-gutter version of
9604 update_frame_gutter_geometry.
9605 (update_frame_gutter_geometry): use it.
9606 (redraw_exposed_gutter): add extra debugging output.
9608 2000-03-28 Mike Alexander <mta@arbortext.com>
9610 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9611 (pdump_file_unmap): Implement it on Windows
9612 (pdump_file_get): Save alocated handles for pdump_file_unmap
9614 2000-03-28 Andy Piper <andy@xemacs.org>
9616 * gui.c (get_gui_callback): treat Quit specially.
9618 2000-03-27 Andy Piper <andy@xemacs.org>
9620 * glyphs.c (image_instantiate): be careful to check in the same
9623 2000-03-27 Didier Verna <didier@xemacs.org>
9625 * config.h.in: define the proper SMART_INCLUDE macro.
9626 handle renaming of `foo_h_path' to `foo_h_file'.
9628 * database.c: ditto.
9632 * linuxplay.c: ditto.
9634 * terminfo.c: ditto.
9636 * tooltalk.h: ditto.
9638 2000-03-27 Andy Piper <andy@xemacs.org>
9640 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9641 gets updated whenever the face might have changed.
9643 2000-03-26 Mike Alexander <mta@arbortext.com>
9645 * dumper.c (pdump_resource_free): Fix the comment.
9647 2000-03-21 Olivier Galibert <galibert@pobox.com>
9649 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9651 2000-03-22 Mike Alexander <mta@arbortext.com>
9653 * dumper.c: Include Windows headers on Windows
9654 (pdump_resource_free): Add a body to the function
9655 (pdump_load): exe_name -> exe_path and add some comments.
9657 2000-03-25 Mike Alexander <mta@arbortext.com>
9659 * gui.c (copy_gui_item_tree): Return a value in all cases
9661 2000-03-21 Didier Verna <didier@xemacs.org>
9663 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9665 (SMART_INCLUDE): new macro.
9666 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9667 the proper location.
9669 * postgresql.c: use it.
9673 2000-03-24 Andy Piper <andy@xemacs.org>
9675 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9678 2000-03-24 Andy Piper <andy@xemacs.org>
9680 * redisplay-output.c (compare_runes): use image_instance_changed
9681 to detect changes. Do not depend on glyphs_changed, only depend on
9683 (redisplay_output_layout): add debug messages.
9684 (compare_runes): ditto.
9686 * glyphs.h: declare new functions.
9687 (struct Lisp_Image_Instance): remove percent and associated
9690 * gui.h: declare new copying functions.
9692 * gui.c (copy_gui_item_tree): new function.
9693 (copy_gui_item): new function.
9694 (gui_item_id_hash): revert to standard hash.
9695 (gui_item_hash): ditto.
9696 (gui_item_hash_internal): deleted.
9697 (mark_gui_item): mark value.
9698 (gui_item_add_keyval_pair): add value.
9699 (gui_item_init): ditto.
9700 (gui_add_item_keywords_to_plist): ditto.
9701 (gui_item_equal): ditto.
9702 (syms_of_gui): add Q_value.
9704 * glyphs-x.c (x_progress_gauge_update): use pending items and
9705 value for setting the state.
9706 (x_update_widget): don't set items from pending here.
9708 * glyphs-widget.c (update_widget): update items here.
9709 (progress_gauge_set_property): use items for storing value. Put
9710 new value in pending items.
9712 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9713 items for new value. Convert percent -> value.
9714 (mswindows_tab_control_update): don't update items here.
9716 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9717 (update_subwindow): ditto.
9718 (image_instance_changed): new function. Compare hash values and
9719 past and present widget items.
9720 (image_instantiate): We more careful about where we instantiate
9722 (image_instantiate): add error checking.
9724 * gutter.c (syms_of_gutter): use -hook.
9726 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9728 * console-tty.c (Fset_console_tty_input_coding_system): Use
9730 (Fset_console_tty_output_coding_system): Use Qterminal.
9731 (tty_init_console): Use Qkeyboard and Qterminal.
9733 2000-03-21 Ben Wing <ben@xemacs.org>
9735 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9736 From Mike Alexander <mta@arbortext.com>.
9738 2000-03-21 Ben Wing <ben@xemacs.org>
9740 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9741 process brokenness. Proper implementation to come.
9743 Rename call-process-internal to old-call-process-internal.
9744 New impl. in process.el.
9746 2000-03-21 Martin Buchholz <martin@xemacs.org>
9748 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9750 2000-03-20 Andy Piper <andy@xemacs.org>
9752 * glyphs.c (full_list_hash): make hashes of the same elements in
9753 different orders return different values.
9755 2000-03-20 Martin Buchholz <martin@xemacs.org>
9757 * XEmacs 21.2.32 is released.
9759 2000-03-20 Martin Buchholz <martin@xemacs.org>
9761 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9762 (DFC_MALLOC_USE_CONVERTED_DATA):
9763 Add aliasing-safe casts to allow use with char* or unsigned char*
9766 * eldap.c (Fldap_open):
9767 (Fldap_search_basic):
9770 Make C++-compilable.
9771 Make sure GCPRO'ed variables are initialized.
9772 Use temp variables to avoid repeated calls to Flength.
9774 2000-03-16 Martin Buchholz <martin@xemacs.org>
9777 Make sure PATH_MAX is always defined.
9778 Include limits.h for PATH_MAX.
9779 Deprecate use of MAXPATHLEN.
9781 2000-03-10 Martin Buchholz <martin@xemacs.org>
9783 * emacs.c: Add reinit_vars_of_fileio.
9784 * symsinit.h: Add reinit_vars_of_fileio.
9785 * fileio.c (reinit_vars_of_fileio): New.
9786 * fileio.c (Fmake_temp_name):
9787 Initialize temp_name random number from microseconds to make
9788 collisions even less likely. Initialize always at process startup
9789 time. (make-temp-name) used to return the same file name twice in
9791 Random stylistic fiddling.
9794 2000-03-20 Andy Piper <andy@xemacs.org>
9796 * glyphs.c (image_instantiate): allow text glyphs to be
9797 instantiated in the minibuffer window.
9799 2000-03-19 Andy Piper <andy@xemacs.org>
9801 * glyphs.c (image_instance_hash): be careful about which items we
9804 * glyphs-widget.c (tab_control_set_property): record into pending
9805 items rather than the actual items.
9807 * glyphs-x.c (x_update_widget): use pending items to update with.
9809 * glyphs-msw.c (mswindows_tab_control_update): use pending items
9812 * glyphs.c (mark_image_instance): mark pending items.
9814 * window.c (Fset_window_configuration): record the buffer.
9815 (Fselect_window): totally revert previous change which breaks many
9818 2000-03-18 Andy Piper <andy@xemacs.org>
9820 * glyphs-msw.c (mswindows_tab_control_update): force selected
9823 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9824 window domain cache, otherwise we get inconsistencies at
9825 startup. There is something fishy at startup which can lead to the
9826 minibuffer being the selected window when the gutter content is
9829 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9831 (parse_gui_item_tree_children): ditto.
9832 (parse_gui_item_tree_item): ditto.
9834 * glyphs.c (Fupdate_widget_instances): return something.
9836 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9838 * window.c (Fselect_window): Undo 2000-03-17 change.
9840 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
9842 * postgresql.c (Fpq_setenv): Remove this turkey when linking
9843 against v7.0 libraries. Insta-coredump city until the postgres
9846 2000-03-17 Andy Piper <andy@xemacs.org>
9848 * faces.c (complex_vars_of_faces): don't give the widget face an
9849 inherited background pixmap.
9851 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
9854 * event-stream.c (Fdispatch_non_command_events): return something.
9856 * gutter.c (output_gutter): use widget face.
9857 (clear_gutter): ditto.
9859 * NEWS: adjust again.
9861 * window.c (Fselect_window): make sure this runs to completion to
9862 avoid oddities with Fset_window_configuration.
9863 (Fcurrent_window_configuration): in general do not save the
9864 minibuffer as the selected window.
9866 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
9868 2000-03-16 Olivier Galibert <galibert@pobox.com>
9870 * emacs.c (Frunning_temacs_p): Revert previous patch.
9871 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
9873 2000-03-16 Andy Piper <andy@xemacs.org>
9875 * glyphs-x.c (x_tab_control_update): if no widget values then
9878 * NEWS: update for new features.
9880 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
9881 synthetic event to the native system.
9882 (reinit_vars_of_event_Xt): set force_event_pending to
9883 emacs_Xt_force_event_pending.
9885 * events.h (struct event_stream): add force_event_pending.
9887 * specifier.c (recompute_one_cached_specifier_in_window): add
9890 * redisplay.c (redisplay_frame): don't call
9891 update_frame_subwindows. Reset subwindow cachels when
9892 subwindows_changed, removing this was an optimization too far.
9894 * redisplay-output.c (compare_runes): reorganize so that we catch
9895 glyph changes when we want them. Set optimize_output when this
9897 (redisplay_output_layout): remove frame_really_changed, use
9898 optimize_output instead.
9900 * redisplay-msw.c (mswindows_output_display_block): reset
9901 optimize_output after outputting a glyph.
9902 * redisplay-x.c (x_output_display_block): ditto.
9903 * redisplay-tty.c (tty_output_display_block): ditto.
9905 * gutter.c: (specifier_vars_of_gutter): use new spec changed
9907 (gutter_specs_changed): do specific gutter positions.
9908 (top_gutter_specs_changed): new function. Only update the
9909 specified gutter specs.
9910 (bottom_gutter_specs_changed): ditto.
9911 (left_gutter_specs_changed): ditto.
9912 (right_gutter_specs_changed): ditto.
9914 * gui.c (gui_item_hash_internal): new function, does a real hash.
9915 (gui_item_id_hash): use it.
9916 (gui_item_hash): hash the eval'ed gui_item.
9918 * gui-x.c (popup_selection_callback): send an eval event to call
9919 Fupdate_widget_instances.
9921 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
9922 to call Fupdate_widget_instances.
9924 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
9925 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
9927 * glyphs.c: (update_frame_subwindows): deleted.
9928 (Fupdate_widget_instances): new function for updating the dirty
9929 state of widgets that might have changed.
9930 (syms_of_glyphs): add Qupdate_widget_instances.
9931 (full_list_hash): hash a list completely.
9932 (image_instance_hash): use it for items and properties.
9934 * frame-msw.c (mswindows_size_frame_internal): remove unused
9937 * faces.h (struct face_cachel): fix comment.
9939 * event-stream.c (Fdispatch_non_command_events): new
9940 function. Process non-command events, forcing an event cycle
9942 (syms_of_event_stream): declare.
9943 (event_stream_force_event_pending): new function. Force an event
9944 on the native event queue so that an event cycle will occur next
9948 (struct ntpipe_shove_stream):
9949 (mswindows_enqueue_dispatch_event):
9950 (mswindows_dequeue_dispatch_event):
9951 (mswindows_cancel_dispatch_event):
9952 (mswindows_pump_outstanding_events):
9953 (mswindows_drain_windows_queue):
9954 (mswindows_handle_paint):
9955 (mswindows_wnd_proc):
9956 (mswindows_key_to_emacs_keysym):
9957 (get_process_input_waitable):
9958 (emacs_mswindows_delete_stream_pair): re-indent file.
9959 (mswindows_need_event): do not process further fds if the windows
9960 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
9961 fixes the 100% cpu problem.
9962 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
9964 2000-03-15 Olivier Galibert <galibert@pobox.com>
9970 * emacs.c: Moved dump file searching to dumper.c.
9971 (Frunning_temacs_p): Fixed.
9973 * alloc.c: Moved everything pdump-related to dumper.c. Removed
9974 last_lrecord_type_index_assigned.
9976 2000-02-20 Olivier Galibert <galibert@pobox.com>
9978 * symsinit.h: Added reinit parameter to init_console_stream
9981 * lisp.h: Added file parameter to pdump_load declaration.
9983 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
9984 support. Added dump file searching.
9986 * config.h.in: Added EMACS_PROGNAME.
9988 * console-stream.c (init_console_stream): Fix reinitialisation
9989 when running from temacs.
9991 * alloc.c (pdump): Add id support.
9992 (pdump_load): Add file parameter and signature/id support.
9994 * Makefile.in.in: Add full pdump support.
9996 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
9998 * postgresql.c: Update documentation to reflect latest code
10000 (print_result): Show tuple counts in printed representation when
10002 (Fpq_put_nbytes): MULE-ize.
10003 (Fpq_get_line_async): Ditto.
10005 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10007 * postgresql.c (Fpq_lo_import): Fix return value.
10008 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
10010 2000-03-13 Ben Wing <ben@xemacs.org>
10012 * alloc.c (pdump_load):
10013 Fix compile warning under mswin.
10015 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
10017 * postgresql.c: Mule-ization, bug fixes.
10018 Use PG_CODING to encapsulate coding system name changes.
10019 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
10020 (pg-coding-system): Create.
10022 (Fpq_conn_defaults): Mule-ize.
10023 (Fpq_connectdb): Mule-ize & bug fix.
10024 (Fpq_connect_start): Mule-ize.
10025 (Fpq_set_client_encoding): Mule-ize.
10026 (Fpq_finish): Document `DEAD' connection status.
10027 (Fpq_clear): Ditto.
10028 (Fpq_pgconn): Mule-ize.
10029 (Fpq_exec): Mule-ize & bug fix.
10030 (Fpq_send_query): Ditto.
10031 (Fpq_get_result): Ditto.
10032 (Fpq_res_status): Mule-ize.
10033 (Fpq_result_error_message): Mule-ize.
10034 (Fpq_ntuples): fix comments.
10035 (Fpq_fname): Mule-ize.
10036 (Fpq_fnumber): Mule-ize.
10037 (Fpq_ftype): fix comments.
10038 (Fpq_get_value): Mule-ize.
10039 (Fpq_cmd_status): Ditto.
10040 (Fpq_cmd_tuples): Ditto.
10041 (Fpq_oid_value): Ditto.
10042 (Fpq_notifies): Ditto.
10043 (Fpq_lo_import): Ditto.
10044 (Fpq_lo_export): Ditto.
10045 (Fpq_get_line): Ditto.
10046 (Fpq_put_line): Mule-ize and bug fix.
10047 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
10049 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10051 * postgresql.c (vars_of_postgresql): Mule-ize.
10052 (Fpq_conn_defaults): Ditto.
10054 2000-03-12 Ben Wing <ben@xemacs.org>
10056 * alloc.c (Fmake_byte_code):
10057 * alloc.c (debug_string_purity_print):
10058 * alloc.c (pdump_backtrace):
10059 * alloc.c (pdump_get_indirect_count):
10060 * alloc.c (pdump_register_sub):
10061 * alloc.c (pdump_register_object):
10062 * alloc.c (pdump_register_struct):
10063 * alloc.c (pdump_dump_data):
10064 * alloc.c (pdump_reloc_one):
10068 * console-msw.c (GetConsoleHwnd):
10069 * console-msw.c (msw_hide_console):
10070 * console-msw.c (msw_show_console):
10071 * console-msw.c (msw_ensure_console_buffered):
10072 * console-msw.c (msw_output_console_string):
10073 * console-msw.c (console_type_create_mswindows):
10075 a) Added functions to manipulate the console window for use with
10078 b) Added support for writing text to the console, which is now
10079 used under Windows when xemacs is not being run non-interactively,
10080 to write text that would otherwise be destined for stdout because
10081 under these circumstances, text written to stdout tends to
10082 disappear and not be seen.
10086 * event-Xt.c (x_event_to_emacs_event):
10087 * event-Xt.c (describe_event_window):
10088 * events-mod.h (XEMACS_MOD_CONTROL):
10090 * events.c (Fmake_event):
10091 * events.c (character_to_event):
10092 * events.c (event_to_character):
10093 * events.c (format_event_object):
10094 * events.c (Fevent_modifiers):
10096 * events.h (struct key_data):
10097 * events.h (struct button_data):
10098 * events.h (struct misc_user_data):
10099 * frame-x.c (Fcde_start_drag_internal):
10100 * frame-x.c (Foffix_start_drag_internal):
10101 * gpmevent.c (Freceive_gpm_event):
10103 * keymap.c (bucky_sym_to_bucky_bit):
10104 * keymap.c (control_meta_superify):
10105 * keymap.c (make_key_description):
10106 * keymap.c (keymap_lookup_directly):
10107 * keymap.c (create_bucky_submap):
10108 * keymap.c (keymap_store):
10109 * keymap.c (define_key_check_and_coerce_keysym):
10110 * keymap.c (define_key_parser):
10111 * keymap.c (define_key_alternate_name):
10112 * keymap.c (Fdefine_key):
10113 * keymap.c (raw_lookup_key_mapper):
10114 * keymap.c (struct map_keymap_unsorted_closure):
10115 * keymap.c (map_keymap_unsorted_mapper):
10116 * keymap.c (map_keymap_sort_predicate):
10117 * keymap.c (map_keymap_sorted):
10118 * keymap.c (accessible_keymaps_mapper_1):
10119 * keymap.c (where_is_recursive_mapper):
10120 * keymap.c (describe_map_mapper):
10121 * keymap.c (describe_map_sort_predicate):
10122 * keymap.c (describe_map):
10123 * keymap.c (complex_vars_of_keymap):
10124 And a number of other files, the key modifier preprocessor
10125 constants that xemacs uses have names that conflict with constants
10126 defined under MS Windows for other purposes, so they were renamed
10127 to begin with the prefix XEMACS_. The variables that hold such
10128 modifiers were changed to consistently be of type int to fix
10129 various compile warnings.
10131 * console.c (complex_vars_of_console):
10134 * device-msw.c (mswindows_finish_init_device):
10135 * device-msw.c (msw_get_workspace_coords):
10136 * device-msw.c (mswindows_device_system_metrics):
10137 and various other files, added support for a new
10138 device property called offset-workspace which returns the position
10139 of the upper left corner of the workspace area and goes along with
10140 the existing size-workspace property.
10143 * dialog-msw.c (push_bufbyte_string_as_unicode):
10144 * dialog-msw.c (mswindows_popup_dialog_box):
10145 Added support for XEmacs-style accelerator specifications in
10146 button text. Note: I didn't add support for this under X Windows,
10147 and somebody needs to do this.
10150 * dialog.c (Fpopup_dialog_box):
10151 Documented the support for accelerators that was just mentioned.
10153 editfns.c (get_home_directory): Changed behavior under Windows
10154 when HOME not defined; former behavior was irretrievably broken.
10157 * emacs.c (main_1):
10159 * minibuf.c (clear_echo_area_internal):
10160 * minibuf.c (echo_area_append):
10162 * print.c (std_handle_out_external):
10163 * print.c (std_handle_out_va):
10165 * print.c (write_string_to_stdio_stream):
10166 * print.c (output_string):
10167 * print.c (debug_print):
10168 * print.c (debug_backtrace):
10169 * print.c (debug_short_backtrace):
10170 Cleaned up the code that prints text to stdout so that this can be
10171 changed to output into a console window instead under MS Windows,
10172 as described above.
10175 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
10176 * eval.c (internal_catch):
10177 * eval.c (unwind_to_catch):
10178 * eval.c (throw_or_bomb_out):
10179 * eval.c (condition_case_1):
10180 * eval.c (signal_1):
10181 * eval.c (check_error_state_sanity):
10182 * eval.c (call_with_suspended_errors_1):
10183 * eval.c (call_with_suspended_errors):
10184 * eval.c (reinit_vars_of_eval):
10185 Added code to catch throw loops and check for a pesky bug that may
10189 * event-msw.c (key_needs_default_processing_p):
10190 * event-msw.c (mswindows_wnd_proc):
10191 * event-msw.c (mswindows_modifier_state):
10192 * event-msw.c (emacs_mswindows_quit_p):
10193 * event-msw.c (vars_of_event_mswindows):
10194 a) Added support for using the alt key to select menu items as is
10195 standard under MS Windows. This is controlled using the variable
10196 menu-accelerator-enabled, just like under X Windows. There is an
10197 option on the options menu to turn this support on. I really
10198 think that it should be on by default under Windows, but I'm not
10199 going to make this change yet.
10201 b) Added support for dynamic display size changes under Windows.
10204 * event-stream.c (maybe_echo_keys):
10205 * event-stream.c (Fnext_event):
10206 * event-stream.c (command_builder_find_leaf):
10207 * event-stream.c (lookup_command_event):
10208 * event-stream.c (execute_command_event):
10209 * event-stream.c (pre_command_hook):
10210 * event-stream.c (post_command_hook):
10211 * event-stream.c (syms_of_event_stream):
10212 * event-stream.c (vars_of_event_stream):
10213 * event-stream.c (complex_vars_of_event_stream):
10214 * events.h (struct command_builder):
10216 a) Tried to clean up a little bit the horribly written x-specific
10217 accelerator code that crept into this file. I moved this code
10218 into menubar-x.c where it belongs. I also needed to move the
10219 command builder structure into the file events.h because it is
10220 accessed directly by this accelerator code. What I didn't do, but
10221 which should be done at some point, is to properly abstract this
10222 code using device methods instead of the kludgy way that it
10223 currently hooks into the event code.
10225 b) Added the lisp variables this-command-properties and
10226 last-command- properties, which should be used to synchronize two
10227 adjacent commands in preference to playing games with the variable
10228 this-command, which is typically what happens.
10230 c) Added some slightly nasty code to hook into the lisp support
10231 for shifted- motion-key selection. This is actually necessary for
10232 somewhat complicated reasons, which are described in
10233 simple.el. (NB: I think the proper thing would be to have the code
10234 that calls the pre and post command hooks also call out to generic
10235 lisp functions in simple.el, where all built-in stuff could be
10236 added. I will think about this more.)
10238 * event-unixoid.c (poll_fds_for_input):
10239 * lread.c (readchar):
10240 * redisplay-tty.c (tty_clear_frame):
10241 * redisplay-x.c (x_get_gc):
10242 * signal.c (interrupt_signal):
10243 And a whole bunch of other files: fixed up places that printed
10244 directly to stderr to instead call the function stderr_out so that
10245 the changes I made under Windows work correctly.
10247 * filemode.c (mode_string):
10251 * frame-msw.c (mswindows_size_frame_internal):
10252 Fixed the computation of frame size and position to keep the frame
10253 within the workspace area, rather than within the physical
10254 dimensions of the screen, so that the frame doesn't overlap window
10255 manager decorations, such as the start menu and toolbar, typically
10256 at the bottom of the screen.
10258 * frame.c (vars_of_frame):
10259 Changed the default frame title format under MS Windows to consist
10260 of buffername-XEmacs, which is standard under MS Windows. I think
10261 it might be a good idea to change this everywhere because I think
10262 it is superior to the current frame title format, but this is the
10263 kind of change that is likely to cause some people to get annoyed,
10264 so I'm not making it.
10266 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
10268 * gui-msw.c (mswindows_handle_gui_wm_command):
10269 Fixed compile warnings.
10272 * gui-x.c (strdup_and_add_accel):
10273 * gui-x.c (button_item_to_widget_value):
10275 Added code to automatically put an accelerator onto the beginning
10276 of menu items that don't have one as is now the standard, and is
10277 described more later. Also fixed things so that the menu item
10278 name can be an evaluated expression, again a new standard.
10281 * gui.c (gui_item_add_keyval_pair):
10282 * gui.c (make_gui_item_from_keywords_internal):
10283 * gui.c (gui_add_item_keywords_to_plist):
10284 * gui.c (gui_item_accelerator):
10285 * gui.c (gui_name_accelerator):
10286 * gui.c (gui_item_included_p):
10287 * gui.c (gui_item_display_flush_left):
10288 * gui.c (gui_item_display_flush_right):
10289 * gui.c (parse_gui_item_tree_item):
10290 * gui.c (parse_gui_item_tree_children):
10291 * gui.c (parse_gui_item_tree_list):
10292 Mule-ized. Cleanup. GCPRO addition.
10294 * line-number.c (buffer_line_number):
10296 * lisp.h (EMACS_INT_MAX):
10297 Added the manifest constant EMACS_INT_MIN corresponding to the
10298 existing constant EMACS_INT_MAX. This is partially to fix compile
10299 warnings under Windows, and partly for cleanliness.
10302 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
10303 * menubar-msw.c (msw_translate_menu_or_dialog_item):
10304 * menubar-msw.c (displayable_menu_item):
10305 * menubar-msw.c (populate_menu_add_item):
10306 * menubar-msw.c (populate_or_checksum_helper):
10307 * menubar-msw.c (populate_menu):
10308 * menubar-msw.c (update_frame_menubar_maybe):
10309 * menubar-msw.c (prune_menubar):
10310 * menubar-msw.c (msw_char_is_accelerator):
10311 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
10312 * menubar-msw.c (mswindows_handle_wm_command):
10313 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
10314 * menubar-msw.c (mswindows_handle_wm_initmenu):
10315 * menubar-msw.c (mswindows_update_frame_menubars):
10316 * menubar-msw.c (mswindows_free_frame_menubars):
10317 * menubar-msw.c (mswindows_popup_menu):
10318 Fixed a bug in handling accelerators where an extra character
10319 would be displayed in the menu item. Also generalized the
10320 function displayable_menu_item because it is now used by the
10321 dialog box code as well. And finally, added code in the functions
10322 that create the menubar to extract a list of accelerators for the
10323 top level menubar, which is used in the event code to determine
10324 whether a particular alt-key combination should be used to invoke
10325 a menu item, or should be passed through to access the standard
10326 XEmacs keymap binding for this key combination.
10328 Much needed GCPROing.
10331 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10332 * menubar-x.c (menu_item_descriptor_to_widget_value):
10333 * menubar-x.c (restore_in_menu_callback):
10334 * menubar-x.c (x_popup_menu):
10335 * menubar-x.c (menu_move_up):
10336 * menubar-x.c (menu_move_down):
10337 * menubar-x.c (menu_move_left):
10338 * menubar-x.c (menu_move_right):
10339 * menubar-x.c (menu_select_item):
10340 * menubar-x.c (command_builder_operate_menu_accelerator):
10341 * menubar-x.c (menu_accelerator_junk_on_error):
10342 * menubar-x.c (command_builder_find_menu_accelerator):
10343 * menubar-x.c (Faccelerate_menu):
10345 Moved a whole bunch of code here that was previously in
10346 event-stream.c as described above. There is also code connected
10347 to the new standard of adding an accelerator to the beginning of
10348 menu items that don't have one as described above and below.
10351 * menubar.c (menu_parse_submenu_keywords):
10352 * menubar.c (Fmenu_find_real_submenu):
10353 * menubar.c (Fnormalize_menu_item_name):
10354 * menubar.c (syms_of_menubar):
10355 * menubar.c (vars_of_menubar):
10356 * menubar.c (complex_vars_of_menubar):
10358 a) Cleaned up a bunch of documentation and improved it.
10360 b) XEmacs now automatically adds an accelerator onto the beginning
10361 of any menu items that don't have one. I did this because there
10362 will inevitably be some menu items on the main menubar that don't
10363 have accelerators on them because the package that adds that
10364 particular menu item hasn't yet been fixed up to have accelerators
10365 in them and it looked rather strange to have some items with and
10366 some items without accelerators, especially since even in items
10367 without accelerators, you can, at least under windows, still
10368 access the item through an accelerator corresponding to the first
10369 character in the item's name. If people don't like this behavior,
10370 I can add a variable to turn it off optionally, but I'm not sure
10371 this is a good idea because we really do need to have accelerators
10372 on all of the menu items, and if a package doesn't like the
10373 accelerators being put on the first character, then it should put
10374 the accelerators where they belong.
10376 c) I made a behavior change, which is that the descriptor that
10377 specifies the text of the menu item, which formerly was just a
10378 string, can now also be an evaluated expression. This makes this
10379 descriptor parallel with all of the others, which could also be
10380 evaluated expressions. This also obviates the need for the
10381 keyword :label, which was previously listed in the documentation
10382 as unimplemented, and which was for the same purpose.
10387 * ntproc.c (new_child):
10388 * ntproc.c (sys_spawnve):
10389 * ntproc.c (find_child_console):
10390 * ntproc.c (sys_kill):
10391 Fixed compile warnings. By the way, this file should really go
10392 away entirely, and this will happen as soon as Kirill makes his
10393 final round of process cleanups, which affect the function
10397 * process-nt.c (struct nt_process_data):
10398 * process-nt.c (find_process_from_pid):
10399 * process-nt.c (send_signal_the_nt_way):
10400 * process-nt.c (enable_child_signals):
10401 * process-nt.c (find_child_console):
10402 * process-nt.c (send_signal_the_95_way):
10403 * process-nt.c (nt_finalize_process_data):
10404 * process-nt.c (ensure_console_window_exists):
10405 * process-nt.c (nt_create_process):
10406 * process-nt.c (nt_kill_child_process):
10407 * process-nt.c (nt_kill_process_by_pid):
10408 * process-nt.c (nt_open_network_stream):
10409 * process-nt.c (vars_of_process_nt):
10410 Copied over code from Emacs 20.5 to correctly send signals to sub-
10411 processes under Windows 95. Also added code to automatically
10412 create and hide console window when a sub-process is created under
10413 Windows 95, which obviates the need for the separate runemacs.exe
10414 executable, and finally implemented some variables that were
10415 implemented in Emacs 20.5, but previously not in XEmacs. These
10416 include mswindows- start-process-share-console and
10417 mswindows-start-process-inherit-error-mode. (Both of these only
10418 apply to Windows 95.)
10420 * regex.c (regex_compile): Fixed a compile warning.
10423 * select-msw.c (mswindows_own_selection):
10424 * select-msw.c (mswindows_get_foreign_selection):
10425 * select-msw.c (mswindows_disown_selection):
10426 * select-msw.c (console_type_create_select_mswindows):
10427 * select-msw.c (syms_of_select_mswindows):
10428 Cleaned up the file and implemented the device method
10429 selection_exists_p, which had accidentally been left out. Also
10430 removed four lisp functions that were remnants from before the
10431 time when the selection code was properly device abstracted.
10432 These functions are no longer needed because there are generic
10433 equivalents, and because they were added recently and don't exist
10434 in FSF Emacs, I don't think there's any problem with just deleting
10438 * sysdep.c (sys_subshell):
10439 Fixed a compile warning, although in this case there's probably
10440 something wrong with this code, and it ought to be looked into
10441 more thoroughly by somebody who understands it.
10444 * window.c (Fwindow_text_area_height):
10445 * window.c (Fwindow_width):
10446 * window.c (Fwindow_full_width):
10447 * window.c (Fwindow_pixel_width):
10448 * window.c (debug_print_window):
10449 * window.c (syms_of_window):
10450 Added functions window-text-area-height and window-full-width,
10451 which are functions for returning various width and height
10452 characteristics of a window. (One of these functions is necessary
10453 for making the file dialog box work correctly, and the other one
10454 was added for completeness.) Also added a table to the
10455 documentation for window-height which describes the entire scheme
10456 for accessing width and height characteristics of a window.
10458 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10460 * nt.c (fstat): Added a comment for another problem with
10461 non-encapsulated [f]stat(), reported by Adrian Aichner
10462 <aichner@ecf.teradyne.com>.
10464 2000-03-11 Andy Piper <andy@xemacs.org>
10466 * window.c (make_dummy_parent): initialize subwindow instance
10468 (Fset_window_configuration): zero extent_modiff.
10470 2000-03-10 Andy Piper <andy@xemacs.org>
10472 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
10473 more changes can be triggered.
10474 (Fredisplay_frame): ditto.
10475 (Fredraw_device): ditto.
10476 (Fredisplay_device): ditto.
10477 (redisplay_frame): make non-static.
10478 (redisplay_frame): call update_frame_gutter_geometry outside of
10481 * gutter.h: declare update_frame_gutter_geometry.
10483 * redisplay.h: declare redisplay_frame.
10485 * gutter.c (update_frame_gutter_geometry): move geometry changes
10486 in update_frame_gutters here. Geometry changes can only occur
10487 outside of redisplay.
10488 (update_frame_gutters): remove geometry change code.
10489 (Fredisplay_gutter_area): make sure that we are in display when we
10490 update and that we have flushed any size changes.
10492 2000-03-11 Andy Piper <andy@xemacs.org>
10494 * alloc.c (pdump_dump_data): remove i & count shadows.
10496 2000-02-27 Mike Alexander <mta@arbortext.com>
10498 * sysdep.h: Declare pdump_read_file
10500 * sysdep.c (pdump_read_file): New function
10502 * alloc.c (pdump_load): Call pdump_read_file to get the portable
10505 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
10507 * lrecord.h: add `lrecord_type_pgsetenv'.
10509 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
10511 * symsinit.h: declare (vars|syms)_of* functions.
10512 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
10514 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
10516 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
10518 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
10521 * emacs.c (main_1): Call postgres initialization code.
10523 * postgresql.h: New file. PostgreSQL RDBMS support.
10524 * postgresql.c: New file.
10526 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
10528 * redisplay-output.c (redisplay_output_display_block): Disable
10531 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10533 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
10534 (Fcanna_henkan_next): Ditto.
10535 (Fcanna_bunsetu_henkou): Ditto.
10536 (Fcanna_henkan_kakutei): Ditto.
10537 (Fcanna_henkan_end): Ditto.
10538 (Fcanna_henkan_quit): Ditto.
10539 (Fcanna_henkan_next): Set retun value correctly.
10540 (c2mu): Use unsigned char instead of signed char.
10542 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10544 * emacs.c (main_1): Always call syms_of_gui.
10545 * inline.c: include gui.h
10547 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10549 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10550 converted to Lisp_Object.
10551 (Qtop_bottom): New variable.
10552 (syms_of_redisplay): Initialize it.
10553 * redisplay.h (Vvisible_bell): Ditto.
10554 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10555 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10556 only flash top and bottom.
10558 2000-03-08 Andy Piper <andy@xemacs.org>
10560 * buffer.c (Frename_buffer): record new buffer name the right way.
10562 2000-03-08 Andy Piper <andy@xemacs.org>
10564 * glyphs.c (update_subwindow): increase hash depth so that widget
10565 items get picked up properly.
10567 * redisplay-output.c (compare_runes): increase hash depth so that
10568 widget items get picked up properly.
10570 2000-03-08 Andy Piper <andy@xemacs.org>
10572 * gutter.c (output_gutter): add some debug.
10574 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10575 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10576 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10578 * redisplay-output.c (compare_runes): use display_hash to
10579 determine if glyphs really are not the same.
10581 * glyphs.c (update_subwindow): check display_hash to see if
10582 anything really needs to be updated. If not then do
10583 nothing. Record the display_hash after updating.
10584 (image_instance_equal): compare the image_instance face also.
10586 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10588 * redisplay.h: Fix comment style.
10590 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10592 * consle-msw.h (struct mswindows_frame):
10593 Added new member paint_pending to indicate whether a WM_PAINT
10594 magic event has been queued for this frame.
10596 * event-msw.c (mswindows_drain_windows_queue):
10597 Don't queue a WM_PAINT magic event if one is already queued.
10598 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10600 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10602 2000-03-07 Didier Verna <didier@xemacs.org>
10604 * dired.c: #include `regex.h' after `sysfile.h'.
10606 2000-03-06 Martin Buchholz <martin@xemacs.org>
10608 * sound.c (init_nas_sound): Fix compiler warning.
10610 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10612 (MARK_STRUCT_AS_FREE):
10613 (MARK_STRUCT_AS_NOT_FREE):
10614 Make `gcc -fstrict-aliasing' work properly.
10616 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10618 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10619 (mswindows_delete_device): Call CoUnnitialize().
10621 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10623 2000-02-25 <CraigL@DyCon.com>
10625 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10628 * sysdep.c: This extern declaration for environ prevents MinGW
10629 from finding the variable in CRTDLL.DLL.
10631 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10633 (SHGFI_EXETYPE): ..
10634 (WM_MOUSEWHEEL): ..
10635 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10637 (MMRESULT): Removed, now defined in cygwin's windows headers.
10639 (uid_t,gid_t,pid_t,ssize_t): ..
10640 (_timeb): Removed, MinGW defines both _timeb and timeb.
10641 (HAVE_H_ERRNO): Added.
10642 (HAVE_TZNAME): Added, configure is not detecting this.
10644 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10646 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10647 * syntax.c (syntax_match): Use it.
10649 * cmds.c: Import auto-fill-chars from FSF Emacs.
10650 (Vauto_fill_chars): New variables.
10651 (internal_self_insert): Check Vauto_fill_chars.
10653 Declare auto-fill-chars as a Lisp variable and initialize it.
10655 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10657 * fileio.c (Fmake_symbolic_link):
10659 Run handlers even if local machine doesn't have symlinks.
10661 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10663 * event-msw.c (mswindows_drain_windows_queue):
10664 Don't generate paint magic events for non-XEmacs frames.
10666 2000-03-05 Andy Piper <andy@xemacs.org>
10668 * redisplay.c (redisplay_frame): generate_displayable_area and
10669 friends assumes that we are not in GC, we therefore have to make
10670 sure that this doesn't happen.
10672 * gutter.c (calculate_gutter_size): generate_displayable_area
10673 assumes that we are not in GC, we therefore have to make sure that
10674 this doesn't happen.
10676 2000-03-05 Martin Buchholz <martin@xemacs.org>
10678 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10680 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10682 * redisplay.c (regenerate_window): Make sure we set a sane value
10683 for end_pos even if we jump out of the loop.
10684 (regenerate_window): Answer Ben's question :-).
10685 (start_end_of_last_line): Add may_error argument.
10686 (start_of_last_line):
10687 (end_of_last_line): Pass may_error = 0.
10688 (end_of_last_line_may_error): New function.
10689 (pixel_to_glyph_translation): Use it, so we don't crash in
10692 2000-03-04 Andy Piper <andy@xemacs.org>
10694 * window.h (struct window): add gutter_extent_modiff.
10696 * window.c (allocate_window): zero out gutter_extent_modiff.
10698 * redisplay.h: declare sync_display_line_structs.
10700 * redisplay.c (add_glyph_rune): add a better comment.
10702 * redisplay-output.c (sync_display_line_structs): made non-static.
10703 (compare_runes): remove unneccesary glyph cachel access.
10705 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10707 * gutter.c (output_gutter): don't output the gutter if extent
10708 changes only involve extents in buffers. use 4 sets of display
10710 (gutter_extent_signal_changed_region_maybe): new function. Mark
10711 extents in gutters as changed.
10712 (update_frame_gutters): use 4 sets of display lines.
10713 (reset_gutter_display_lines): ditto.
10714 (free_frame_gutters): ditto.
10715 (redraw_exposed_gutter): force output of gutters.
10717 * frame.h (struct frame): add 4 sets of gutter display lines.
10719 * extents.c: (extent_changed_for_redisplay): signal changes to
10720 extents in strings in the gutter as well as extents in buffers.
10722 2000-03-02 Andy Piper <andy@xemacs.org>
10724 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10726 * frame.c (Fmake_frame): make sure the gutters get initialized
10727 after the frame is visible.
10728 (set_frame_selected_window): re-arrange compilation macros a
10730 (change_frame_size_1): mark gutters changed.
10732 * device.c (Fset_device_class): mark gutters changed.
10734 2000-03-01 Andy Piper <andy@xemacs.org>
10736 * window.c (window_top_frame_gutter_height): deleted.
10737 (window_bottom_frame_gutter_height): ditto.
10738 (window_left_frame_gutter_height): ditto.
10739 (window_right_frame_gutter_height): ditto.
10740 (window_top_gutter_height): don't use them.
10741 (window_bottom_gutter_height): ditto.
10742 (window_left_gutter_width): ditto.
10743 (window_right_gutter_width): ditto.
10744 (Fsplit_window): ditto.
10745 (Fwindow_pixel_edges): don't use border dimensions here.
10747 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10748 (update_scrollbar_instance): ditto.
10750 * redisplay.c (generate_modeline): don't take gutters into account.
10751 (generate_modeline): ditto.
10752 (redisplay_frame): small gutter display optimization.
10754 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10756 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10757 gutters into account.
10759 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10760 for window position and type.
10762 * gutter.c (get_gutter_coords): fix for frame gutters.
10763 (update_frame_gutters): update frame geometry if the gutters have
10765 (init_frame_gutters): record current gutter geometries.
10767 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10769 (mswindows_widget_instantiate): ditto.
10771 * frame.h (struct frame): add current_gutter_bounds.
10773 * frame.c (change_frame_size_1): position window and minibuffer
10774 appropriately taking into account the frame gutters.
10776 * frame-x.c: (x_initialize_frame_size): take into account the
10779 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10781 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
10783 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10785 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
10787 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10789 * file-coding.c (reset_decoding_stream): Clear previous
10790 detection state when autodetect.
10792 2000-02-29 Didier Verna <didier@xemacs.org>
10794 * extents.c (set_extent_glyph_1): don't require extents to be
10797 2000-02-27 Andy Piper <andy@xemacs.org>
10799 * gutter.c (Fset_default_gutter_position): don't default left and
10800 right gutter visibility to t.
10801 (Fset_default_gutter_position): run
10802 default-gutter-position-changed-hook.
10803 (syms_of_gutter): add default-gutter-position-changed-hook.
10805 2000-02-26 Andy Piper <andy@xemacs.org>
10807 * specifier.c (Fmake_specifier): add gutter references.
10809 * gutter.h (RAW_WINDOW_GUTTER): new macro.
10811 * lisp.h: declare Fvalid_plist_p.
10813 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10815 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10816 well as its visibility so that it gets reconstructed.
10817 (construct_window_gutter_spec): new function. Construct a string
10818 to be displayed in the gutter from a plist of strings. Take care
10819 to only use elements that are declared as visible.
10820 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10822 (gutter_validate): allow plists of strings in the specifier.
10823 (gutter_specs_changed): construct the real_gutter from the gutter
10824 specs using construct_window_gutter_spec.
10825 (gutter_visible_validate): gutter-visible is a new specifier type.
10826 (Fgutter_visible_specifier_p): new function for the new specifier.
10827 (syms_of_gutter): declare gutter-visible and
10828 Fgutter_visible_specifier_p.
10829 (specifier_type_create_gutter): intitalize new gutter-visible
10831 (reinit_specifier_type_create_gutter): ditto.
10832 (specifier_vars_of_gutter): use new specifier type for gutter
10834 (init_frame_gutters): construct real_gutter correctly.
10835 (Fgutter_specifier_p): beef up documentation.
10836 (Fgutter_size_specifier_p): ditto.
10838 * winslots.h: add real_gutter slots.
10840 2000-02-25 Andy Piper <andy@xemacs.org>
10842 * device-msw.c: Be kind to older cygwin versions. From Raymond
10843 Toy <toy@rtp.ericsson.se>.
10845 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
10846 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
10848 2000-02-25 Martin Buchholz <martin@xemacs.org>
10850 * elhash.c (MARK_OBJ): Practice macro hygiene.
10852 2000-02-24 Martin Buchholz <martin@xemacs.org>
10854 * miscplay.c: s/__inline__/inline/g;
10855 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
10856 (get_device_compdc): INLINE ==> static inline
10857 * *.[ch]: Change INLINE to INLINE_HEADER globally.
10858 find -name '*.h' | \
10859 xargs global-replace \
10860 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
10862 2000-02-25 Andy Piper <andy@xemacs.org>
10864 * window.c (window_top_frame_gutter_height): new function.
10865 (window_top_window_gutter_height): ditto.
10866 (window_top_gutter_height): use them.
10867 (window_bottom_frame_gutter_height): new function.
10868 (window_bottom_window_gutter_height): ditto.
10869 (window_bottom_gutter_height): use them.
10870 (window_left_window_gutter_width): new function.
10871 (window_left_frame_gutter_width): ditto.
10872 (window_left_gutter_width): use them.
10873 (window_right_window_gutter_width): new function.
10874 (window_right_frame_gutter_width): ditto.
10875 (window_right_gutter_width): use them.
10876 (window_pixel_height): new function. calulate window pixel height
10877 with frame gutter involvement.
10878 (Fsplit_window): calculate new sizes taking frame gutters into
10880 (window_char_height_to_pixel_height): don't include frame gutters.
10881 (window_char_height): use window_pixel_height.
10882 (window_pixheight): rename from window_pixel_height.
10883 (change_window_height): use it.
10884 (window_pixel_height_to_char_height): don't include frame gutters.
10885 (window_char_width_to_pixel_width): ditto.
10887 2000-02-25 Andy Piper <andy@xemacs.org>
10889 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
10892 2000-02-24 Martin Buchholz <martin@xemacs.org>
10894 * alloc.c (staticpro):
10895 (staticpro_nodump):
10900 (compact_string_chars):
10901 (pdump_dump_wired):
10902 Convert: if (foo) abort(); ==> assert (! foo);
10904 * eldap.c (Fldap_search_basic):
10908 Fix compiler warnings, and possible crashes if (random) return
10909 value were to be used.
10911 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10913 * device-msw.c: Workaround ResetDC failure.
10915 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
10916 applying a devmode.
10918 * redisplay-msw.c (get_frame_dc): Added start_page_p.
10919 (mswindows_text_width): Do not start printer page.
10921 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
10923 * glyphs-msw.c: Added image methods to msprinter console and
10924 msprinter-specific image instantiation.
10926 2000-02-20 Mike Alexander <mta@arbortext.com>
10928 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
10929 to avoid crashes when selection-sets-clipboard is on
10930 (mswindows_own_selection): ditto
10932 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10935 * redisplay-msw.c (get_frame_dc):
10936 (get_frame_compdc):
10938 * device-msw.c (mswindows_init_device):
10939 (mswindows_delete_device):
10940 (msprinter_init_device):
10941 (msprinter_delete_device):
10942 * frame-msw.c (mswindows_init_frame_1):
10943 (mswindows_delete_frame):
10944 (msprinter_init_frame_3):
10945 (msprinter_delete_frame): Move compatible DC to device object from
10946 frame object, for both mswindows and msprinter. Only one at a time
10947 is needed, it is a real waste to have one per frame!
10949 2000-02-23 Andy Piper <andy@xemacs.org>
10951 * glyphs.c: add dynamic width and height elements.
10952 (image_instance_equal): ditto.
10954 * glyphs-widget.c (widget_query_geometry): calculate width and
10955 height dynamically if required.
10956 (initialize_widget_image_instance): initialize dynamic dimensions.
10957 (widget_instantiate): pick-up dynamic dimensions.
10959 * glyphs.h (struct Lisp_Image_Instance): add width and height for
10960 dynamic determination. Add appropriate macros.
10962 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
10964 (WINDOW_GUTTER_SIZE): ditto.
10965 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
10967 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
10969 (get_frame_dc): ditto.
10971 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
10974 2000-02-23 Martin Buchholz <martin@xemacs.org>
10976 * XEmacs 21.2.31 is released.
10978 2000-02-22 Ben Wing <ben@xemacs.org>
10980 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
10982 2000-02-22 Andy Piper <andy@xemacs.org>
10984 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
10986 2000-02-21 Mike Sperber <mike@xemacs.org>
10990 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
10993 2000-02-21 Mike Sperber <mike@xemacs.org>
10995 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
10997 2000-02-21 Martin Buchholz <martin@xemacs.org>
10999 * XEmacs 21.2.30 is released.
11001 2000-02-20 Martin Buchholz <martin@xemacs.org>
11003 Performance hacking.
11005 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
11006 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11007 * emacs.c (main_1):
11009 * console.c (DEFVAR_CONSOLE_LOCAL_1):
11010 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
11011 * symeval.h (DEFVAR_SYMVAL_FWD):
11012 * symbols.c (guts_of_unbound_marker):
11013 Make all c_readonly objects also lisp_readonly and marked for life.
11014 * lrecord.h (struct lrecord_implementation):
11015 Document flags better.
11016 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
11017 * lrecord.h (DECLARE_LRECORD):
11018 * lrecord.h (XSETRECORD):
11019 * lrecord.h (RECORDP):
11020 * lrecord.h (RECORD_TYPEP):
11021 * lrecord.h (RECORD_MARKER): New.
11022 * lrecord.h (error_check_*):
11023 * lrecord.h (CONCHECK_NONRECORD):
11024 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
11025 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
11026 * lrecord.h (set_lheader_implementation):
11027 * lrecord.h (enum lrecord_type): New.
11028 * symeval.h (SYMBOL_VALUE_MAGIC_P):
11029 * alloc.c (disksave_object_finalization_1):
11030 * alloc.c (mark_object):
11031 * alloc.c (lrecord_type_index):
11032 * alloc.c (tick_lcrecord_stats):
11033 * alloc.c (Fgarbage_collect):
11034 * alloc.c (init_alloc_once_early):
11035 * alloc.c (pdump_load):
11036 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
11037 * alloc.c (lrecord_type_index): Delete.
11038 Make lisp object type indexes be constant.
11039 Makes (byte-compile) 5% faster.
11040 Put all marker functions into their own array.
11041 Makes (garbage-collect) 5% faster.
11042 Optimize SYMBOL_VALUE_MAGIC_P.
11043 Makes (byte-compile) 2-3% faster.
11044 * config.h.in (gc_checking_assert): New.
11045 * alloc.c: Use gc_checking_assert().
11046 * .dbxrc: Make compatible with new object type implementation.
11047 * .gdbinit: Make compatible with new object type implementation.
11048 * alloc.c: Delete all symbols defined only for debugging, such as
11049 Lisp_Type_Vector and lrecord_charset.
11051 2000-02-21 Andy Piper <andy@xemacs.org>
11053 * gui-msw.c (Fmswindows_shell_execute): fix file location
11056 * buffer.c (Fkill_buffer): remove buffer from alist buffer
11057 unshowing so that set_window_buffer doesn't undo
11058 kill_buffer_hook's hard work.
11060 * glyphs-widget.c (tab_control_query_geometry): don't count the
11061 first item when calculating geometry.
11063 * glyphs.c (map_subwindow): remove redundant code.
11064 (update_frame_subwindows): be more circumspect about when to
11067 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
11068 when items haven't changed. Update faces if faces have changed as
11069 well as just the widget face.
11070 (x_tab_control_update): Update faces if faces have changed as well
11071 as just the widget face.
11073 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11075 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
11077 (build_syscolor_string): Use mswindows_color_to_string to try to
11079 (mswindows_device_system_metrics): Reverse the foreground and
11080 background colors so that they match the documentation.
11082 * objects-msw.c: (mswindows_X_color_map): tweak some values so
11083 they match the default Windows palette.
11084 (mswindows_color_to_string): New function.
11086 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
11088 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
11090 2000-02-18 Olivier Galibert <galibert@pobox.com>
11092 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
11093 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
11095 * symbols.c (init_symbols_once_early): Removed obsolete
11096 DATA_SEG_BITS related kludge.
11097 (defvar_magic): Ditto.
11099 * malloc.c: Removed obsolete DATA_SEG_BITS
11101 * mem-limits.h: Ditto.
11103 * Makefile.in.in: Removed obsolete HAVE_SHM
11106 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11108 * device-msw.c (mswindows_delete_device): Free DDE string
11111 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11113 * keymap.c (get_keyelt):
11114 * unexnt.c (unexec):
11115 * vm-limit.c (memory_warnings):
11116 * ntheap.c (recreate_heap):
11117 * ntheap.h (UNINIT_PTR):
11118 * select-msw.c (Fmswindows_get_clipboard):
11119 (Fmswindows_set_clipboard):
11120 * objects-msw.h (MSWINDOWS_BAD_HFONT):
11122 * menubar-msw.c (displayable_menu_item):
11124 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
11125 * sysdep.c (sys_subshell):
11126 * process-nt.c (nt_create_process):
11127 * nt.c (normalize_filename):
11128 (dostounix_filename):
11129 (unixtodos_filename):
11130 * ntproc.c (win32_executable_type):
11131 * ntplay.c (play_sound_data_1):
11133 * editfns.c (get_home_directory):
11134 * event-msw.c (struct winsock_stream):
11135 (mswindows_dde_callback):
11136 * device-msw.c (msprinter_init_device):
11137 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
11139 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
11140 mswindows_clear_toolbar were swapped!
11142 * objects-msw.c:(colormap_t):
11144 * emacs.c (struct standard_args): Fixed const jumble.
11146 * glyphs-widget.c (update_widget): Fixed comparison notation.
11148 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
11150 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
11151 __declspec(noreturn) syntax.
11153 2000-02-19 Martin Buchholz <martin@xemacs.org>
11155 * eldap.c (Fldap_open):
11156 (Fldap_search_basic):
11159 Use new coding system conversion macros.
11161 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11163 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
11165 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
11167 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
11168 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11170 * eldap.c (Qadd, Qreplace): New constant symbols
11171 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
11172 interruptions by XEmacs signals
11173 Remove unnecessary calls to slow_down_interrupts and
11174 speed_up_interrupts
11175 (Fldap_search_basic): Renamed from Fldap_search_internal
11176 Added new optional parameter VERBOSE that triggers the
11177 display of progress messages
11178 Remove unnecessary calls to slow_down_interrupts and
11179 speed_up_interrupts
11180 LDAP result code analysis rewritten
11181 (Fldap_add, Fldap_modify, Fldap_delete): New functions
11182 (syms_of_eldap): Define the new symbols and functions
11185 2000-02-17 Martin Buchholz <martin@xemacs.org>
11187 * realpath.c: Determine PATH_MAX maximally portably.
11189 * insdel.c (bytecount_to_charcount): Optimize.
11190 The function used to be optimized for entirely ASCII sequences.
11191 Now it is optimized for successive characters from the same
11192 charset. This also wins big for _mostly_ ASCII sequences.
11194 * fileio.c (Ffile_truename): convert return from realpath() using
11195 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
11196 - Rewrite GCPROing slightly.
11198 * sysdep.c (sys_open): Do filename conversion, like all other
11199 sys_* functions. Fixes bug:
11200 (let ((file-name-coding-system 'iso-8859-2))
11201 (write-region x y latin2-name))
11202 ==> writes filename using internal encoding.
11204 2000-02-18 Martin Buchholz <martin@xemacs.org>
11206 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
11207 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
11208 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
11209 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
11210 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
11211 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
11212 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
11213 (CONST_IF_NOT_DEBUG): Delete.
11214 * alloc.c (this_one_is_unmarkable): Delete.
11215 (mark_object): Don't check for this_one_is_unmarkable. Use the
11216 c_readonly flag instead.
11217 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
11219 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
11221 * event-msw.c (mswindows_drain_windows_queue):
11222 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
11223 away redundant repaint events.
11225 2000-02-17 Andy Piper <andy@xemacs.org>
11227 * redisplay.h: declare mark_redisplay_structs.
11229 * redisplay.c (redisplay_window):
11230 (redisplay_frame): don't check subwindows_state_changed.
11231 (mark_redisplay): mark gutters here.
11233 * glyphs.c: (instantiate_image_instantiator): always layout if we
11234 haven't done so already.
11235 (allocate_image_instance): don't mark as dirty.
11236 (update_subwindow): bind inhibit_quit.
11238 * gutter.c (mark_gutters): new function.
11240 * glyphs-x.c (x_update_widget): Always resize to get round a
11243 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
11244 breaking absolutely everything.
11246 * gutter.h: declare mark_gutters.
11248 2000-02-16 Martin Buchholz <martin@xemacs.org>
11250 * XEmacs 21.2.29 is released.
11252 2000-02-15 Olivier Galibert <galibert@pobox.com>
11254 * fns.c (size_bit_vector): Fix computation of the size.
11256 2000-02-15 Martin Buchholz <martin@xemacs.org>
11258 * *.[ch]: Change CONST to const globally.
11259 find -name '*.[ch]' | \
11260 xargs global-replace \
11261 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
11262 - Remove vestigial references to CONST_IS_LOSING
11264 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11266 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
11267 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
11268 events instead of dispatching them directly.
11269 (mswindows_handle_paint): New function to do repainting.
11270 (mswindows_wnd_proc):
11271 (emacs_mswindows_handle_magic_event): Call above function.
11273 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
11275 * objects-msw.c (mswindows_create_font_variant): Return the new
11277 (initialize_font_instance): Get font metrics from the underlined
11278 variant of the font to cope with the case where the underlined
11279 font has a bigger descent.
11281 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11283 * gui.c (gui_item_accelerator): Return the first underlined
11284 character in item name.
11286 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11288 * lisp.h: Added Qprinter.
11290 * general.c (syms_of_general): Initialized it.
11292 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
11294 (get_frame_compdc): Made inline.
11296 * console.h (struct console_methods): Added eject_page method.
11298 * frame.h: Added FRAME_DISPLAY_P and friends.
11299 Aligned backslahes in many macros in more readable fashion.
11300 Added page_number to struct frame, and an accessor macro
11303 * defice.h: Added DEVICE_DISPLAY_P and friends.
11305 * device.c (Fdevice_printer_p): Used these.
11307 * frame.c (allocate_frame_core): Initialize page number.
11308 (Fprint_job_page_number):
11309 (Fprint_job_eject_page): Implemented.
11311 * frame-msw.c (msprinter_eject_page): Added method.
11312 (msprinter_start_page): Added.
11314 * window.c (Fwindow_truncated_p): Fixed docstring.
11315 (Fwindow_last_line_visible_height): Implemented.
11317 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
11319 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
11321 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11323 * syntax.c (scan_words): Always advance at least one character.
11325 2000-02-13 Andy Piper <andy@xemacs.org>
11327 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
11328 to make sure the glyph is in the cachels.
11330 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
11331 global image instance flag.
11332 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
11333 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
11335 * glyphs.c (allocate_image_instance): set dirty bits correctly.
11336 (Fset_image_instance_property): mark layout as changed.
11337 (invalidate_glyph_geometry_maybe): mark layout as changed.
11338 (glyph_width): use new NEEDS_LAYOUT macro.
11339 (glyph_ascent): ditto.
11340 (glyph_descent): ditto.
11341 (glyph_height): ditto.
11342 (image_instance_layout): mark layout as clean after laying out.
11343 (update_subwindow): don't mark layout as clean here.
11345 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
11346 should no longer be needed.
11348 * glyphs-x.c (x_update_widget): sanitize asserts.
11349 (x_finalize_image_instance): sanitize assignment to widgets.
11351 * glyphs-widget.c (widget_instantiate): don't need to clear the
11354 2000-02-13 Martin Buchholz <martin@xemacs.org>
11356 * sysdep.c (getcwd): Use standard prototype.
11357 * sysdep.h (getcwd): Use standard prototype.
11359 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
11360 (sequence, start, end).
11361 Remove redundant type checking.
11362 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
11363 view of `caller-protects') to avoid a crash where the real fix was
11366 2000-02-12 Martin Buchholz <martin@xemacs.org>
11368 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
11370 * s/sol2.h: Remove feature macro initialization.
11372 * alloc.c (alloc_lcrecord): Add more type checking assertions.
11373 (vector_hash): New. Code from internal_hash.
11375 Fix up allocation subsystem comments.
11377 * config.h.in: Add __EXTENSIONS__ for Solaris.
11379 * systime.h (EMACS_GETTIMEOFDAY): New.
11380 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
11381 Remove Solaris-specific code.
11382 Use void* for the (ignored) second arg for gettimeofday().
11384 * elhash.c (hash_table_hash): Implement it, finally.
11385 * elhash.c: Use hashcode_t.
11387 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
11388 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
11390 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
11391 * fns.c (size_bit_vector):
11392 * alloc.c (size_vector):
11393 (make_vector_internal):
11394 (make_bit_vector_internal):
11395 (sweep_bit_vectors_1):
11396 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
11398 2000-02-10 Martin Buchholz <martin@xemacs.org>
11400 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
11401 Include strings.h to avoid warnings for bzero and strcasecmp.
11403 2000-02-10 Olivier Galibert <galibert@pobox.com>
11405 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
11406 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
11408 * fns.c (size_bit_vector): New. Declare bit vectors as a
11411 2000-02-10 Olivier Galibert <galibert@pobox.com>
11413 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
11414 use a value field instead.
11415 (symbol_value_forward_forward): Use value field.
11416 (DEFVAR_SYMVAL_FWD): Use value field.
11417 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
11418 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
11419 (DEFVAR_CONST_INT): Ditto.
11420 (DEFVAR_BOOL): Ditto.
11421 (DEFVAR_CONST_BOOL): Ditto.
11422 (DEFVAR_INT_MAGIC): Ditto.
11423 (DEFVAR_BOOL_MAGIC): Ditto.
11425 * symbols.c (guts_of_unbound_marker): Use value field.
11426 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
11427 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
11429 * lisp.h: Declare dumpopaque and noninteractive1.
11431 * alloc.c (dumpopaque): Added.
11432 (pdump_dump_opaquevec): Added.
11433 (pdump): Call pdump_dump_opaquevec to dump opaque data.
11434 (pdump_load): Reload opaque data. Sync noninteractive1 with
11437 2000-02-10 Andy Piper <andy@xemacs.org>
11439 * glyphs.c (image_instance_layout): if the size changes, mark it
11442 * redisplay-output.c (redisplay_output_layout): Update the
11444 (redisplay_output_subwindow): ditto.
11446 * glyphs.c (update_subwindow): make sure we reset flags for
11447 layouts as well as everything else.
11449 * glyphs-widget.c (layout_layout): don't need to set the instances
11452 2000-02-09 Martin Buchholz <martin@xemacs.org>
11454 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
11455 not HAVE_DLOPEN, which is a lower-level thing.
11457 * .cvsignore: Ignore gmon.out
11459 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
11461 * .cvsignore: Ignore portable dumper xemacs.dmp file
11463 2000-02-09 Andy Piper <andy@xemacs.org>
11465 * redisplay-output.c (redisplay_output_layout): be more clever
11466 about when we output based on the changed flags.
11468 * glyphs.h (struct image_instantiator_methods): add update_method.
11469 (struct Lisp_Image_Instance): add changed flags. Declare new
11470 macros for manipulating them.
11472 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
11473 (image_instance_parent_glyph): find an image_instance's parent
11474 glyph or image_instance.
11475 (image_instance_layout): mark the size as changed.
11476 (set_image_instance_dirty_p): new function. mark an image
11477 instance, plus all of its parents, as dirty.
11478 (Fset_image_instance_property): use it.
11479 (Fglyph_animated_timeout_handler): use it.
11480 (update_subwindow): call update_widget and device methods for
11481 update_subwindow. Mark all changed flags as clean.
11482 (Fresize_subwindow): mark size as changed.
11484 * glyphs-x.c (x_finalize_image_instance): try and detect gc
11486 (x_update_subwindow): only resize subwindows here.
11487 (x_update_widget): new function. Update all changed properties of
11489 (x_resize_subwindow): deleted.
11490 (x_widget_set_property): deleted.
11491 (x_progress_gauge_set_property): deleted.
11492 (x_progress_gauge_update): new function. Implement recorded
11494 (x_tab_control_update): ditto.
11495 (x_tab_control_set_property): deleted.
11496 (console_type_create_glyphs_x): declare new functions.
11497 (image_instantiator_format_create_glyphs_x): ditto.
11499 * glyphs-widget.c (widget_set_property): mark text changed.
11500 (update_widget): new function. Update properties of a widget.
11501 (widget_instantiate): for layouts make sure we set their
11502 children's parent correctly.
11503 (tab_control_set_property): new function. Record changes that will
11504 take place under redisplay's control.
11505 (progress_gauge_set_property): ditto.
11506 (image_instantiator_progress_guage): declare new functions.
11507 (image_instantiator_tab_control): ditto.
11509 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
11511 (mswindows_update_widget): new function. Update all properties on
11512 a widget that have changed.
11513 (mswindows_button_update): new function. Update a button's set
11515 (mswindows_tab_control_update): new function. Update the items in
11517 (mswindows_tab_control_set_property): deleted.
11518 (mswindows_progress_gauge_update): new function. Update the
11519 progress gauge's progress.
11520 (mswindows_widget_set_property): deleted. This is all done
11521 asynchronously now.
11522 (mswindows_progress_gauge_set_property): ditto.
11523 (console_type_create_glyphs_mswindows): declare new methods.
11524 (image_instantiator_format_create_glyphs_mswindows): ditto.
11526 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
11527 (msprinter_set_frame_properties): ditto.
11529 * console.h (struct console_methods): Add update_widget_method.
11531 2000-02-09 Andy Piper <andy@xemacs.org>
11533 * gui-msw.c (Fmswindows_shell_execute): Make
11534 mswindows-shell-execute industrial strength.
11536 2000-02-08 Martin Buchholz <martin@xemacs.org>
11538 * lrecord.h: Make macro argument `props' match member function `plist'.
11541 * fns.c (Fremprop):
11542 * fns.c (Fobject_plist):
11545 Object property list frobbing cleanup.
11546 - Allow any lisp object (compared with `eq'), not just symbols, as
11547 keys in object plists.
11548 - Move symbol plist frobbing into symbols.c, where it belongs.
11549 - Move string plist frobbing into alloc.c, where it belongs.
11550 - Everything's an lrecord now, so no need to test for symbolp, etc.
11551 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11553 * extents.c: Reorder code to remove declarations.
11555 * frame.h (store_in_alist): Remove useless declaration.
11557 2000-02-07 Martin Buchholz <martin@xemacs.org>
11559 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11560 * config.h.in: Add HAVE_XCONVERTCASE.
11562 2000-02-07 Andy Piper <andy@xemacs.org>
11564 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11565 it breaks many things.
11567 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11569 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11570 actually can start a common comment type.
11571 * src/syntax.h (SYNTAX_END_P): ditto for end.
11573 2000-02-07 Martin Buchholz <martin@xemacs.org>
11575 * XEmacs 21.2.28 is released.
11577 2000-02-06 Martin Buchholz <martin@xemacs.org>
11579 * event-Xt.c (x_keysym_to_character): New.
11580 (maybe_define_x_key_as_self_inserting_character): New.
11581 (x_has_keysym): New.
11582 Auto-define all keys on the keyboard as self-insert-key.
11584 2000-02-02 Martin Buchholz <martin@xemacs.org>
11586 * menubar.c (vars_of_menubar): A small code simplification.
11588 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11591 * ExternalClient.c:
11592 * EmacsShell-sub.c:
11595 Use consistent style for specifying X resources.
11597 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11598 This makes (dontusethis-set-symbol-value-handler) actually usable.
11600 * lrecord.h (lrecord_decription_type):
11601 * alloc.c (pdump_register_sub):
11604 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11605 Comply with XEmacs coding style.
11606 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11607 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11609 * keymap.c (Faccessible_keymaps):
11610 Make (accessible-keymaps map "\C-h") do the Right Thing.
11611 Make (accessible-keymaps map []) do the Right Thing.
11612 Make (accessible-keymaps map "") do the Right Thing.
11613 (check_keymap_definition_loop): New function.
11614 (keymap_store_internal): Keep luser from shooting self in foot,
11615 via (define-key ctl-x-4-map "p" global-map).
11616 Remove fullness slot from struct Lisp_Keymap, since hash tables
11618 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11620 2000-01-30 Martin Buchholz <martin@xemacs.org>
11622 * redisplay.c (init_redisplay): Fix small memory leak.
11624 * elhash.c (pdump_reorganize_hash_table):
11625 Rename from reorganize_hash_table. Change prototype.
11626 Reuse the original memory for hentries. Save 100k.
11627 * alloc.c (PDUMP_READ): new macro.
11628 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11629 * alloc.c: No need to #ifndef before #undef.
11631 * print.c: Allow debug_print() to print readably by modifying
11632 debug_print_readably. Use consistent variable names.
11634 * .dbxrc: Try to get things to work even if stopped in a function
11635 without source available by explicitly specifying source files.
11636 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11638 * unexnt.c (_start): Removed bogus code which caused loading heap
11639 from differrent executable file.
11640 Removed bogus assignment to _fmode, which caused inconsistencies.
11642 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11644 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11645 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11646 Do not preliminary `#define signal sigset'.
11648 * systime.h: Do not prototype environ on windows nt and cygwin,
11649 this conflicts with system header.
11651 * syssignal.h: Use correct define for WINDOWSNT
11653 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11654 with system header.
11656 * sysdep.c (near start of file): Fixed commentary and rearranged
11657 ifdefs in readable order.
11658 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11661 (end_of_data): Do not compile in if using PDUMP.
11663 * symsinit.h: Prototyped vars_of_nt().
11665 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11666 (find_child_console): Use it.
11667 (sys_kill): Use it.
11669 * ntheap.h: Do not extern os_subtype.
11671 * ntheap.c (cache_system_info): Do not cache unneeded:
11672 nt_major_version, nt_minor_version and os_subtype.
11673 (recreate_heap): Do not compile in when PDUMPing.
11675 * nt.c (geteuid and friends): Use the new varibale
11676 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11677 (init_user_info): Removed the above mentioned hackery.
11678 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11679 stat has been fixed in the C runtime.
11680 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11682 * file-coding.c (struct file_coding_dump): Do not define
11683 ucs_to_mule_table in the struct if not MULE.
11684 (struct struct lrecord_description fcd_description_1): Do not dump
11687 * emacs.c (main_1): Call vars_of_nt().
11688 (right before Fdump_emacs_data): Don't need lastfile if using both
11689 portabe dumper and system malloc.
11691 * alloc.c (Fmemory_limit): Conditionalized out.
11692 (pdump): Use OPEN_BINARY for the portable dump file.
11693 (pdump_load): Ditto.
11695 2000-02-02 Mike Alexander <mta@arbortext.com>
11697 * nt.c (convert_time): Set tm_isdst before calling mktime and
11698 avoid calling it at all if the compiler supports 64 bit integers.
11699 Also initialize utc_base_ft before using it.
11701 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11703 * frame.c (change_frame_size_1): Take f->internal_border_width
11704 into consideration when calculating the width of the frame.
11706 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11708 * window.c (frame_min_height):
11709 (frame_size_valid_p):
11710 (frame_pixsize_valid_p): Added.
11711 (check_frame_size): Generalized.
11713 * window.h: Prototyped the above.
11716 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11717 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11718 Deleted Vwin32_* and Vbinary_process_* unused variables.
11720 * device-msw.c (msprinter_init_device): Do not get printer font
11721 list; Added DEVMODE functions.
11723 * frame-msw.c: Added lots of printer code.
11725 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11728 * console-msw.h: Added more msprinter device private slots.
11730 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11732 * event-msw.c (key_needs_default_processing_p): Added.
11733 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11735 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11737 * glyphs.c (image_instance_layout): Mark image instance as clean
11739 (glyph_dirty_p): Removed redundant function.
11740 (invalidate_glyph_geometry_maybe): Added.
11741 (update_glyph_cachel_data): Call it.
11743 * glyphs.h: Prototyped it.
11745 * redisplay.c (add_glyph_rune): Call it.
11746 (redisplay_window): Reset glyphs cachels when frame faces have
11747 changed, thus forcing recomputation of built-in border glyphs.
11749 2000-01-30 Martin Buchholz <martin@xemacs.org>
11751 * Makefile.in.in: Make portable dumper and purify play well together.
11752 Add imperfect, but better than nothing, support for pdump.
11753 Remove xemacs.dmp when temacs is re-generated.
11754 Don't ignore errors when dumping xemacs.
11756 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11758 2000-01-28 Andy Piper <andy@xemacs.org>
11760 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11761 (setup_normal_frame): ditto.
11762 (setup_frame_without_minibuffer): ditto.
11763 (setup_minibuffer_frame): ditto.
11764 (delete_frame_internal): ditto.
11765 (Fmake_frame_invisible): ditto.
11766 (Ficonify_frame): ditto.
11768 * window.h: change Fset_window_buffer signature.
11770 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
11771 (Fset_window_buffer): allow recording of buffer if the window is
11772 the selected window.
11773 (window_loop): Use new Fset_window signature.
11775 2000-01-23 Daniel Pittman <daniel@danann.net>
11777 * config.h.in: Added template for `HAVE_ATHENA_3D'
11779 2000-01-29 Andy Piper <andy@xemacs.org>
11781 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
11783 * gutter.c (output_gutter): Don't output if the window isn't live.
11785 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11787 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
11788 of 01/12/00: Moved SetFocus back here where it belongs.
11790 2000-01-23 Andy Piper <andy@xemacs.org>
11792 * s/cygwin32.h: declare printer things.
11794 2000-01-26 Andy Piper <andy@xemacs.org>
11796 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
11799 2000-01-24 Andy Piper <andy@xemacs.org>
11801 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
11802 (mswindows_button_instantiate): Make sure glyph is a pixmap.
11804 * glyphs-widget.c (widget_instantiate): Avoid shadows.
11806 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
11808 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
11810 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
11811 (mswindows_output_display_block): Avoid local shadows.
11813 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
11814 (mswindows_enqueue_mouse_button_event): ditto.
11815 (mswindows_handle_gui_wm_command): remove declaration.
11817 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11820 * console-msw.h: Avoid shadows.
11821 (mswindows_get_toolbar_button_text):
11822 (emacs_mswindows_create_stream_pair):
11823 (emacs_mswindows_delete_stream_pair):
11824 (mswindows_handle_toolbar_wm_command): declare.
11826 * device-msw.c (build_syscolor_string): Avoid shadows.
11828 2000-01-23 Andy Piper <andy@xemacs.org>
11830 * glyphs-widget.c (widget_instantiate): reverse the items for
11831 layouts so that children are in the expected order.
11833 2000-01-28 Martin Buchholz <martin@xemacs.org>
11835 * ralloc.c: safe_bcopy ==> memmove
11836 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
11837 * s/msdos.h: Remove BCOPY macros.
11838 * insdel.c (gap_right): Remove BCOPY conditional code.
11839 * insdel.c (gap_left): Remove BCOPY conditional code.
11840 XEmacs demands a working ANSI C compiler - hence memmove.
11842 * regex.c (regex_compile): Remove accidental use of trigraphs.
11844 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11846 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
11849 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11851 * event-msw.c (mswindows_drain_windows_queue): Added the
11853 (mswindows_need_event): Commented the call to
11854 mswindows_drain_windows_queue().
11855 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
11858 * console-msw.h: Moved a few function prototypes here from
11861 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
11862 parameter from unsigned short to unsigned long.
11863 (Fmswindows_shell_execute): Added return value.
11865 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11867 * sysdep.c (init_system_name):
11868 process-unix.c (unix_canonicalized_host_name):
11869 Don't call freeaddrinfo() if getaddrinfo() fails.
11871 * process-unix.c (unix_open_unix_network_stream):
11872 Moved the code to get a port # into address loop.
11874 2000-01-27 Martin Buchholz <martin@xemacs.org>
11876 * buffer.c (reinit_vars_of_buffer):
11877 The right place to initialize conversion_in_dynarr and
11878 conversion_out_dynarr.
11880 * alloc.c (pdump): Use the real open() till sys_open() is functional.
11882 * process-unix.c (unix_canonicalize_host_name): Muleize.
11883 (unix_open_network_stream): Muleize.
11885 * buffer.h: Fix up prototypes for ralloc.c functions.
11887 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11888 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
11889 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
11890 instead of gethostbyname()
11891 * process-unix.c: In unix_canonicalize_host_name() and
11892 unix_open_network_stream(), add code to use getaddrinfo()
11893 instead of gethostbyname().
11895 2000-01-27 Daniel Pittman <daniel@danann.net>
11897 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
11898 libs when built with flat Athena.
11900 2000-01-27 Martin Buchholz <martin@xemacs.org>
11902 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
11903 Use coding standards for function prototypes.
11905 2000-01-25 Martin Buchholz <martin@xemacs.org>
11907 * dialog-msw.c (push_lisp_string_as_unicode):
11908 * doc.c (unparesseuxify_doc_string):
11909 * dired.c (Fuser_name_completion_1):
11910 * dired.c (Fuser_name_all_completions):
11911 * dired.c (free_user_cache):
11912 * dired.c (user_name_completion):
11913 * console-x.c (get_display_arg_connection):
11914 * minibuf.c (clear_echo_area_internal):
11915 * minibuf.c (echo_area_append):
11916 * eldap.c (Fldap_open):
11917 * eldap.c (Fldap_search_internal):
11918 * frame-x.c (x_set_frame_text_value):
11919 * frame-x.c (x_set_frame_properties):
11920 * frame-x.c (x_create_widgets):
11921 * redisplay-tty.c (term_get_fkeys_1):
11922 * objects-x.c (x_parse_nearest_color):
11923 * objects-x.c (x_valid_color_name_p):
11924 * objects-x.c (x_initialize_font_instance):
11925 * objects-x.c (x_list_fonts):
11926 * objects-x.c (x_find_charset_font):
11927 * tooltalk.c (Fadd_tooltalk_message_arg):
11928 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11929 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11930 * process-unix.c (unix_create_process):
11931 * ntproc.c (sys_spawnve):
11932 * sound.c (Fplay_sound_file):
11933 * sound.c (Fplay_sound):
11934 * buffer.c (init_initial_directory):
11935 * buffer.c (init_buffer):
11936 * editfns.c (init_editfns):
11937 * editfns.c (Ftemp_directory):
11938 * editfns.c (Fuser_full_name):
11939 * editfns.c (uncache_home_directory):
11940 * editfns.c (get_home_directory):
11941 * editfns.c (Fuser_home_directory):
11942 * editfns.c (Fformat_time_string):
11943 * editfns.c (Fcurrent_time_string):
11944 * gui-x.c (button_item_to_widget_value):
11945 * database.c (Fopen_database):
11946 * event-Xt.c (x_to_emacs_keysym):
11947 * event-Xt.c (x_event_to_emacs_event):
11948 * event-Xt.c (describe_event_window):
11949 * event-msw.c (mswindows_wnd_proc):
11950 * glyphs-eimage.c (jpeg_instantiate):
11951 * glyphs-eimage.c (gif_instantiate):
11952 * glyphs-eimage.c (png_instantiate):
11953 * glyphs-eimage.c (tiff_instantiate):
11954 * glyphs-x.c (xbm_instantiate_1):
11955 * glyphs-x.c (x_xbm_instantiate):
11956 * glyphs-x.c (x_xface_instantiate):
11957 * glyphs-x.c (autodetect_instantiate):
11958 * glyphs-x.c (cursor_font_instantiate):
11959 * glyphs-x.c (x_widget_instantiate):
11960 * glyphs-x.c (x_widget_set_property):
11961 * glyphs-x.c (x_widget_property):
11962 * glyphs-x.c (BUILD_GLYPH_INST):
11963 * print.c (write_string_to_stdio_stream):
11964 * print.c (output_string):
11965 * print.c (Falternate_debugging_output):
11966 * print.c (Fexternal_debugging_output):
11967 * glyphs-msw.c (extract_xpm_color_names):
11968 * glyphs-msw.c (mswindows_xpm_instantiate):
11969 * glyphs-msw.c (bmp_instantiate):
11970 * glyphs-msw.c (resource_name_to_resource):
11971 * glyphs-msw.c (mswindows_resource_instantiate):
11972 * glyphs-msw.c (xbm_instantiate_1):
11973 * glyphs-msw.c (mswindows_xbm_instantiate):
11974 * glyphs-msw.c (mswindows_xface_instantiate):
11975 * glyphs-msw.c (mswindows_widget_instantiate):
11976 * glyphs-msw.c (add_tree_item):
11977 * glyphs-msw.c (add_tab_item):
11978 * glyphs-msw.c (mswindows_combo_box_instantiate):
11979 * glyphs-msw.c (mswindows_widget_property):
11980 * glyphs-msw.c (mswindows_combo_box_property):
11981 * glyphs-msw.c (mswindows_widget_set_property):
11982 * console.c (stuff_buffered_input):
11983 * objects-msw.c (mswindows_initialize_color_instance):
11984 * objects-msw.c (mswindows_valid_color_name_p):
11985 * objects-msw.c (mswindows_list_fonts):
11986 * objects-msw.c (mswindows_font_instance_truename):
11987 * bytecode.c (optimize_compiled_function):
11988 * select-x.c (symbol_to_x_atom):
11989 * select-x.c (x_atom_to_symbol):
11990 * select-x.c (hack_motif_clipboard_selection):
11991 * select-x.c (selection_data_to_lisp_data):
11992 * select-x.c (lisp_data_to_selection_data):
11993 * select-x.c (Fx_get_cutbuffer_internal):
11994 * select-x.c (Fx_store_cutbuffer_internal):
11995 * buffer.h (TO_EXTERNAL_FORMAT): New function.
11996 * buffer.h (TO_INTERNAL_FORMAT): New function.
11997 * emacs.c (make_arg_list_1):
11998 * emacs.c (make_argc_argv):
11999 * emacs.c (main_1):
12000 * emacs.c (Fdump_emacs):
12001 * emacs.c (split_string_by_emchar_1):
12006 * device-x.c (x_init_device):
12007 * device-x.c (Fx_valid_keysym_name_p):
12008 * device-x.c (Fx_get_font_path):
12009 * device-x.c (Fx_set_font_path):
12010 * glyphs.c (bitmap_to_lisp_data):
12011 * glyphs.c (pixmap_to_lisp_data):
12012 * alloc.c (make_ext_string): Use coding system arguments. Update
12014 * alloc.c (build_string):
12015 * callproc.c (child_setup):
12016 * callproc.c (init_callproc):
12017 * fileio.c (lisp_strerror):
12018 * fileio.c (directory_file_name):
12019 * fileio.c (Fexpand_file_name):
12020 * fileio.c (Ffile_truename):
12021 * fileio.c (Fsysnetunam):
12022 * fileio.c (Fdo_auto_save):
12023 * sysdep.c (sys_readdir):
12024 * tests.c: New file. Allow adding C tests.
12025 Replace GET_* macros with a more comprehensible and flexible
12026 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
12028 Any coding system can be used to do format conversion.
12029 Eliminate enum external_data_format.
12030 Eliminate convert_to_external_format.
12031 Eliminate convert_to_internal_format.
12032 Make sure file-name, keyboard, terminal, and ctext are always
12033 defined as coding systems or aliases. Make
12034 file-name-coding-system, terminal-coding-system, and
12035 keyboard-coding-system magical variables that are equivalent to
12036 defining the corresponding coding system aliases.
12038 * file-coding.c (Fcoding_system_canonical_name_p): New function.
12039 * file-coding.c (Fcoding_system_alias_p): New function.
12040 * file-coding.c (Fcoding_system_aliasee): New function.
12041 * file-coding.c (append_suffix_to_symbol): New function.
12042 * file-coding.c (dangling_coding_system_alias_p): New function.
12043 * file-coding.c (Ffind_coding_system):
12044 * file-coding.c (Fcopy_coding_system):
12045 * file-coding.c (encode_coding_no_conversion):
12046 * file-coding.c (syms_of_file_coding):
12047 * file-coding.c (vars_of_file_coding):
12048 Rewrite coding system alias code.
12049 Allow nested aliases, like symbolic links.
12050 Allow redefinition of coding system aliases.
12051 Prevent existence of dangling coding system aliases.
12053 * dired.c (Fuser_name_completion_1):
12054 * dired.c (Fuser_name_all_completions):
12055 A crash would happen if user did QUIT in the middle of building
12056 user_name_cache. Remove redundant code in mainline and unwind_protect.
12059 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
12061 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
12062 an unsigned char *. Update all callers.
12064 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12066 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
12068 2000-01-25 Martin Buchholz <martin@xemacs.org>
12070 * elhash.c (hentry_description): Use more portable definition.
12071 (resize_hash_table): Initialize new hentries using
12072 xnew_array_and_zero, thereby simplifying the code.
12074 * mule-charset.c (make_charset): Make sure entire object is
12075 initialized, to avoid Purify warnings.
12077 * alloc.c (resize_string): Fix unlikely crash with big strings.
12079 2000-01-24 Martin Buchholz <martin@xemacs.org>
12081 * realpath.c (xrealpath):
12082 Don't call getwd().
12084 2000-01-25 Martin Buchholz <martin@xemacs.org>
12086 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
12088 1999-12-28 Max Matveev <max@melbourne.sgi.com>
12090 * unexelfsgi.c (unexec): Change the way we decide which segment
12091 should be extended.
12093 Assumption that .bss section should be outside the PT_LOADable
12094 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
12095 it's present) is inside the 'data' segment. This would fail the
12096 test which was used to find a segment to grow and cover new
12097 heap. Instead of this assumption, I created another one - on IRIX
12098 the segment to grow should start below .bss and it's address
12099 should extent above the end of .bss. Once this segment is
12100 identified, it's grown to accommodate the new heap and new
12101 zero-length .bss section is added at the end of .data2.
12103 2000-01-25 Martin Buchholz <martin@xemacs.org>
12105 * eval.c (Feval): Wrong number of arguments should use original
12106 function, not the indirect_function version of it.
12108 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12110 * glyphs-x.c (x_button_instantiate): Don't add image if
12111 it is not a pixmap.
12112 (x_locate_pixmap_file): Call Fexpand_file_name when file name
12115 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
12117 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
12119 (DEFVAR_INT_MAGIC): Ditto.
12120 (DEFVAR_BOOL_MAGIC): Ditto.
12121 * glyphs.h: Reindent backslash.
12123 2000-01-24 Martin Buchholz <martin@xemacs.org>
12125 * glyphs-widget.c (layout_query_geometry):
12126 (layout_layout): Use correct types for gheight, gwidth.
12128 2000-01-24 Martin Buchholz <martin@xemacs.org>
12130 * EmacsManager.c (QueryGeometry): Purified.
12132 2000-01-23 Martin Buchholz <martin@xemacs.org>
12134 * alloc.c (make_float): Make sure entire object is initialized, to
12135 avoid Purify warnings.
12136 (pdump_register_sub): Remove useless assignment.
12137 (pdump): Use xmalloc, not malloc.
12138 (pdump_load): Use xmalloc, not malloc.
12140 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12147 * sysdep.c: Removed redundant #include <windows.h>
12149 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12151 * frame.c (delete_frame_internal): Do not delete device when its
12152 implementation so declares.
12153 (delete_frame_internal): Set device selected frame to nil when
12154 last frame goes away.
12156 * device-msw.c (msprinter_device_system_metrics): Implemented.
12157 (mswindows_device_system_metrics): Added 'device-dpi property.
12159 * device.c: (Fdevice_printer_p): Added.
12160 Added 'offset-workspace device metric.
12162 * console.h (device_metrics): Declared DM_offset_workspace.
12164 2000-01-23 Martin Buchholz <martin@xemacs.org>
12166 * fileio.c (Ffile_truename): Remove pointless and confusing
12167 initialization of elen.
12169 * glyphs-widget.c: Compiler warning fixes.
12171 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
12173 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
12174 instead of a Lisp_Object as argument to make it consistent with
12175 the other LIVE_P macros.
12176 (CHECK_LIVE_PROCESS): New macro.
12178 * process.c: Declare Qprocess_live_p.
12179 (Fprocess_live_p): New function.
12180 (create_process): Use PROCESS_LIVE_P.
12181 (read_process_output): Ditto.
12182 (set_process_filter): Ditto.
12183 (Fdelete_process): Ditto.
12184 (kill_buffer_processes): Ditto
12185 (process_send_signal): Use CHECK_LIVE_PROCESS.
12186 (Fprocess_input_coding_system): Check whether process is still
12187 alive (fix PR#1061).
12188 (Fprocess_output_coding_system): Ditto.
12189 (Fprocess_coding_system): Ditto.
12190 (Fset_process_input_coding_system): Ditto.
12191 (Fset_process_output_coding_system): Ditto.
12193 2000-01-23 Andy Piper <andy@xemacs.org>
12195 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
12198 * glyphs.c (mark_image_instance): take into account changed
12199 image_instance format.
12200 (image_instance_equal): ditto.
12201 (image_instance_hash): ditto.
12203 * glyphs-widget.c (widget_instantiate): Incorporate layout
12204 instantiation here. Delay layout of the layout until later.
12205 (layout_instantiate): deleted.
12206 (layout_query_geometry): new function. get the geometry of a
12208 (layout_layout): layout a layout dynamically.
12209 (image_instantiator_widget): New function - splitting up
12210 image_instantiator_format_create_glyphs_widget for netwinder
12212 (image_instantiator_buttons):
12213 (image_instantiator_edit_fields):
12214 (image_instantiator_combo_box):
12215 (image_instantiator_scrollbar):
12216 (image_instantiator_progress_guage):
12217 (image_instantiator_tree_view):
12218 (image_instantiator_tab_control):
12219 (image_instantiator_labels):
12220 (image_instantiator_layout): ditto.
12221 (image_instantiator_format_create_glyphs_widget): Call preceding
12224 2000-01-22 Martin Buchholz <martin@xemacs.org>
12226 * process.c (Fset_process_coding_system):
12227 * device-x.c (Fx_keysym_hash_table):
12230 * lstream.c (Lstream_write): Return documented value, not 0.
12232 * fileio.c (directory_file_name):
12233 (Fsubstitute_in_file_name):
12234 (Fsubstitute_insert_file_contents_internal):
12235 (Fwrite_region_internal):
12240 Remove vestigial APOLLO-conditional code.
12242 2000-01-21 Martin Buchholz <martin@xemacs.org>
12244 * getpagesize.h: Add guard macros.
12245 * libsst.h: Add guard macros.
12246 * libst.h: Add guard macros.
12247 * line-number.h: Add guard macros.
12248 * ndir.h: Add guard macros.
12249 * sysfloat.h: Add guard macros.
12250 * sysfile.h: Add guard macros.
12251 * sysproc.h: Add guard macros.
12252 * syswait.h: Add guard macros.
12253 * xintrinsic.h: Add guard macros.
12254 * xintrinsicp.h: Add guard macros.
12255 * xmmanager.h: Add guard macros.
12256 * xmmanagerp.h: Add guard macros.
12257 * xmprimitive.h: Add guard macros.
12258 * xmu.h: Add guard macros.
12259 * gpmevent.h: Add copyright statement. Add guard macros.
12260 * miscplay.h: Add guard macros.
12261 * *.h: Use consistent C-standards-approved guard macro names.
12263 * opaque.c (make_opaque): Switch parameter order.
12264 * opaque.h (make_opaque): Switch parameter order.
12265 Update all callers.
12266 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
12268 * config.h.in (type_checking_assert): Added.
12269 (bufpos_checking_assert): Added.
12271 2000-01-21 Martin Buchholz <martin@xemacs.org>
12273 * alloc.c: Harmless pdump changes.
12275 - spell alignment correctly.
12276 * sysdep.c: Use countof()
12278 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12280 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
12281 initially_selected_for_input() console method, default to 0.
12282 (semi_canonicalize_console_connection): Try to delegate to
12283 canonicalize_console_connection if no such console method.
12284 (canonicalize_console_connection): Vice versa.
12285 (print_console): Do not print nil connection.
12287 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
12288 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
12289 (XDEVIMPF_FRAMELESS_OK): Added.
12290 (CONSOLE_INHERITS_METHOD): Added.
12292 * console-msw.c (mswindows_canonicalize_console_connection):
12294 (mswindows_canonicalize_device_connection): Added.
12296 * console-msw.h (struct msprinter_device): Added this struct and
12298 (mswindows_device): Made fontlist a lisp object.
12300 * device.c (semi_canonicalize_device_connection): Try to delegate
12301 to canonicalize_device_connection if no such console method.
12302 (canonicalize_device_connection): Vice versa.
12303 (print_device): Do not print nil connection.
12305 * device-msw.c (mswindows_init_device): Call InitCommonControls
12307 (mswindows_delete_device): Removed fontlist deallocation.
12308 (mswindows_mark_device): Added.
12310 * events.c (event_equal): Added abort() at unreached code.
12311 (event_hash): Ditto.
12313 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
12314 fallback tags of Windows devices.
12316 * general.c (syms_of_general): Initialized Qmsprinter.
12318 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
12319 of fallback tags of Windows devices.
12321 * lisp.h: Declared Qmsprinter.
12323 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
12325 (mswindows_list_fonts): Ditto.
12326 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
12327 that it can be used by both mswindows and msprinter devices.
12328 (initialize_font_instance): Added.
12329 (mswindows_initialize_font_instance): Use it.
12330 (msprinter_initialize_font_instance): Added.
12332 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
12333 and implementation flags check.
12334 (redisplay_without_hooks): Changed the call to the above.
12335 (Fredraw_device): Ditto.
12336 (Fredisplay_device): Ditto.
12338 * redisplay-msw.c (get_frame_dc): Implemented.
12339 (get_frame_compdc): Implemented.
12340 (many functions): Use the two functions above to get device
12341 contexts, ether for a window or a printer.
12343 2000-01-21 Olivier Galibert <galibert@pobox.com>
12345 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
12346 initialization here.
12347 (init_symbols_once_early): Call it.
12348 * emacs.c (main_1): Call it.
12349 * symsinit.h: Declare it.
12351 2000-01-19 Olivier Galibert <galibert@pobox.com>
12353 * alloc.c: Use a lrecord_header * in the backtrace instead of a
12355 (pdump_backtrace): Ditto.
12356 (pdump_register_object): Ditto. Cleanup use of the pointers.
12357 (pdump_get_entry): Abort if trying to register a null pointer.
12358 (pdump_dump_data): Cleanup types when relocating.
12359 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
12360 (pdump_dump_rtables): Remove bad casts.
12361 (pdump_load): Cleanup relocation w.r.t union type. Use a
12362 Lisp_Object instead of a EMACS_INT for the hashtable
12365 2000-01-20 Martin Buchholz <martin@xemacs.org>
12367 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
12369 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
12371 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
12373 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
12375 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12377 * faces.h (FACE_STRIKETHRU_P): Added.
12379 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
12382 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
12383 (mswindows_set_dc_font): New function, aware of font variants,
12384 separated from mswindows_update_dc.
12386 * objects-msw.h (struct mswindows_font_instance_data): Added
12389 * objects-msw.c (mswindows_finalize_font_instance): Delete all
12390 cached fonts and the data structure.
12391 (mswindows_initialize_font_instance): Added creation of font data
12393 (mswindows_print_font_instance): Print at least something.
12394 (mswindows_create_font_variant): Implemented.
12395 (mswindows_get_hfont): Implemented.
12397 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
12399 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
12400 prototyping problem with msvc.
12402 * emacs.c (main_1): added syms_of_gui_mswindows() call
12404 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
12405 syms_of_gui_mswindows() function
12407 * symsinit.h: added the prototype for syms_of_gui_mswindows()
12409 2000-01-18 Martin Buchholz <martin@xemacs.org>
12411 * XEmacs 21.2.27 is released.
12413 2000-01-18 Martin Buchholz <martin@xemacs.org>
12415 * glyphs-eimage.c (struct tiff_error_struct):
12417 (tiff_warning_func):
12418 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
12423 * unexec.c: Remove vestigial Lucid C code.
12427 * libsst.c: Ansify.
12428 Remove declarations of errno and strerror().
12430 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
12432 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
12434 2000-01-16 Martin Buchholz <martin@xemacs.org>
12436 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
12439 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12444 Change enum eol_type to eol_type_t.
12446 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12448 * gui.c (get_gui_callback): Check cons before accessing car.
12450 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12452 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
12453 (XSETSPECIFIER_TYPE): Ditto.
12455 2000-01-17 Didier Verna <didier@xemacs.org>
12457 * redisplay.c (generate_fstring_runes): compute string size in
12458 characters, not bytes.
12460 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12462 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
12464 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
12466 * print.c (print_error_message): Call print_prepare().
12468 2000-01-14 Martin Buchholz <martin@xemacs.org>
12470 * .dbxrc: Renamed from dbxrc.
12472 * events.c (event_to_character):
12473 Use `assert (foo)' instead of `if (!foo) abort()'
12475 * .gdbinit (xtype): Add documentation.
12476 * .gdbinit (check-temacs): New function.
12477 * .gdbinit (check-xemacs): New function.
12478 * dbxrc (check-xemacs): New function.
12479 * dbxrc (check-xemacs): New function.
12481 2000-01-14 Andy Piper <andy@xemacs.org>
12483 * glyphs-widget.c (widget_query_geometry): Make sure that we
12484 calculate default dimensions correctly.
12486 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12488 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
12490 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
12491 pdump_wire'd variable.
12493 * emacs.c: (main_1): Conditionalized calls to
12494 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
12496 2000-01-13 Martin Buchholz <martin@xemacs.org>
12498 * window.c (Fset_window_configuration):
12499 * sysdep.c (_start):
12500 * input-method-motif.c (res):
12501 * event-Xt.c (Xt_process_to_emacs_event):
12502 Simple compiler warning fixes.
12504 * bytecode.c (funcall_compiled_function): Use the original
12505 function symbol on the backtrace list in preference to the
12506 compiled_function object in error messages.
12508 2000-01-13 Andy Piper <andy@xemacs.org>
12510 * glyphs-x.c (update_widget_face): Make sure we update the widget
12511 background as well as foreground.
12513 2000-01-13 Andy Piper <andy@xemacs.org>
12515 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
12516 fields to subwindow.
12517 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
12518 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
12519 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12520 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
12522 * glyphs-widget.c (check_valid_tab_orientation): new function.
12523 (initialize_widget_image_instance): zero orientation and
12525 (widget_instantiate): pick up orientation.
12526 (tab_control_query_geometry): return appropriate values for
12529 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
12530 appropriate creation flags for left, right and bottom tabs.
12532 * s/cygwin32.h: add tab definitions.
12534 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12536 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
12537 frame upon hiding a subwindow.
12538 (mswindows_button_instantiate): Changed the push button style to
12540 (mswindows_button_instantiate): Removed button BS_NOTIFY
12542 (mswindows_button_instantiate): Removed redundant check for
12543 a disabled gui item.
12544 (mswindows_button_instantiate): Made use of WS_TABSTOP
12545 consistent: "operable" controls (edit, button, tree, scroll) have
12546 this style, "display-only" ones (static, progress gauge) do
12547 not. This style is currently ignored by XEmacs though. Also,
12548 removed the WS_EX_CONTROLPARENT style - it is not for children,
12549 it is for their parents!
12550 (mswindows_edit_field_instantiate): Ditto.
12551 (mswindows_progress_gauge_instantiate): Ditto.
12552 (mswindows_tree_view_instantiate): Ditto.
12553 (mswindows_tab_control_instantiate): Ditto.
12554 (mswindows_scrollbar_instantiate): Ditto.
12555 (mswindows_combo_box_instantiate): Ditto.
12556 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12557 style to the "clip" window.
12558 (mswindows_button_instantiate): Removed compilation warning by
12559 equally typing terms of the ?: operator.
12561 2000-01-12 Didier Verna <didier@xemacs.org>
12563 * redisplay.c (generate_fstring_runes): new parameter holding the
12564 last modeline-format extent.
12565 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12566 extent, fill the glyph block with it.
12567 (generate_fstring_runes): handle these parameters.
12568 (generate_formatted_string_db): ditto.
12570 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12571 glyphs'extents in the modeline.
12573 1999-01-11 Mike Woolley <mike@bulsara.com>
12575 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12576 256Mb, as a workaround for the non-starting problem many people
12579 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12581 * console-tty.c (Fset_console_tty_output_coding_system):
12582 Force redrawing tty frame.
12584 2000-01-10 Didier Verna <didier@xemacs.org>
12586 * redisplay.c (generate_fstring_runes): fix size computation bug.
12588 2000-01-09 William M. Perry <wmperry@aventail.com>
12590 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12592 2000-01-09 Andy Piper <andy@xemacs.org>
12594 * glyphs-msw.c: index -> i to avoid shadows.
12595 (xbm_create_bitmap_from_data): make static.
12596 (check_valid_string_or_int): deleted.
12597 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12599 * glyphs-x.c (x_update_subwindow): remove unused args.
12601 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12602 back pointer - this is done in allocate_image_instance.
12603 (query_string_font): return Qnil to make the compiler happy.
12604 (unmap_subwindow): set to ~0 to make the compiler happy.
12605 (glyph_query_geometry): comment out until used.
12606 (glyph_layout): ditto.
12608 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12610 * insdel.c (signal_after_change): Remove extraneous unbind_to().