1 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (map_char_id_table): Deleted.
4 (Fmap_char_attribute): Use `map_char_table' instead of
7 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
11 (update_syntax_table): Deleted in XEmacs UTF-2000.
13 * syntax.c (find_defun_start): Use `syntax_table' instead of
14 `mirror_syntax_table' in XEmacs UTF-2000.
15 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
17 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
19 (Fmatching_paren): Likewise.
20 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
22 (find_start_of_comment): Likewise.
23 (find_end_of_comment): Likewise.
24 (Fforward_comment): Likewise.
25 (scan_lists): Likewise.
26 (char_quoted): Likewise.
27 (Fbackward_prefix_chars): Likewise.
28 (scan_sexps_forward): Likewise.
29 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
30 (update_syntax_table): Likewise.
32 * search.c (skip_chars): Use `syntax_table' instead of
33 `mirror_syntax_table' in XEmacs UTF-2000.
35 (Freplace_match): Likewise.
37 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
38 `mirror_syntax_table' in XEmacs UTF-2000.
39 (WORDCHAR_P_UNSAFE): Likewise.
40 (re_match_2_internal): Likewise.
42 * font-lock.c (find_context): Use `buf->syntax_table' instead of
43 `buf->mirror_syntax_table' in XEmacs UTF-2000.
45 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
46 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
48 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
51 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
53 (print_char_table): Print `default_value' in XEmacs UTF-2000.
54 (char_table_description): Delete `mirror_table' in XEmacs
56 (fill_char_table): Don't call `update_syntax_table' in XEmacs
58 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
59 (Fcopy_char_table): Likewise.
60 (put_char_table): Don't call `update_syntax_table' in XEmacs
63 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
64 `buf->mirror_syntax_table' in XEmacs UTF-2000.
65 (casify_region_internal): Likewise.
67 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
69 * buffer.c (common_init_complex_vars_of_buffer): Don't use
70 `mirror_syntax_table' in XEmacs UTF-2000.
72 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
73 `buf->mirror_syntax_table' in XEmacs UTF-2000.
74 (Fexpand_abbrev): Likewise.
76 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
80 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
83 (map_over_uint16_byte_table): Likewise.
84 (map_over_byte_table): Likewise.
85 (get_char_id_table): Refer `cit->default_value'.
86 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
87 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
88 of character-id ranges.
89 (mark_char_table): Mark `ct->default_value'.
90 (char_table_description): Add `default_value'.
91 (fill_char_table): Use `default_value'.
92 (decode_char_table_range): Decode `nil' as
93 `CHARTAB_RANGE_DEFAULT'.
94 (get_char_id_table): Refer `cit->default_value'.
95 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
96 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
97 temporary hack; check value of char-table is bound or not.
98 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
100 * chartab.h (struct Lisp_Char_Table): Add new member
101 `default_value' in XEmacs UTF-2000.
102 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
103 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
106 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * chartab.h (Lisp_Char_ID_Table): Deleted.
110 * chartab.c (char_table_description): Fix typo.
111 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
112 `Lisp_Char_ID_Table'.
114 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
119 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
122 * chartab.h (XCHAR_ID_TABLE): Deleted.
123 (XSETCHAR_ID_TABLE): Deleted.
124 (CHAR_ID_TABLE_P): Deleted.
126 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
128 (Fget_composite_char): Likewise.
129 (put_char_table): Likewise.
130 (add_char_attribute_alist_mapper): Fixed.
131 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
133 (Fget_char_attribute): Likewise.
134 (Fget_char_attribute): Likewise.
135 (Fmap_char_attribute): Likewise.
137 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
139 (encode_char_1): Likewise.
141 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
146 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
147 instead of `XCHAR_ID_TABLE'.
148 (remove_char_ccs): Likewise.
150 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
152 (Fget_composite_char): Likewise.
153 (Fchar_variants): Likewise.
154 (put_char_table): Likewise.
155 (add_char_attribute_alist_mapper): Likewise.
156 (Fchar_attribute_alist): Likewise.
157 (Fget_char_attribute): Likewise.
158 (Fput_char_attribute): Likewise.
159 (Fmap_char_attribute): Likewise.
160 (Fmap_char_attribute): Likewise.
162 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
164 (encode_char_1): Likewise.
166 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
169 `Lisp_Char_ID_Table'.
170 (mark_char_id_table): Deleted.
171 (print_char_id_table): Likewise.
172 (char_id_table_equal): Likewise.
173 (char_id_table_hash): Likewise.
174 (char_id_table_description): Likewise.
175 (char_id_table): Likewise.
176 (make_char_id_table): Use `Fmake_char_table' and
178 (get_char_id_table): Use `Lisp_Char_Table' instead of
179 `Lisp_Char_ID_Table'.
180 (put_char_id_table): Likewise.
181 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
183 (Fremove_char_attribute): Likewise.
184 (syms_of_chartab): Don't define type `char-id-table'.
186 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
187 (char_id_table): Likewise.
188 (GC_CHAR_ID_TABLE_P): Likewise.
189 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
190 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
191 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
192 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
193 (get_char_id_table): Use `Lisp_Char_Table' instead of
194 `Lisp_Char_ID_Table'.
195 (put_char_id_table_0): Likewise.
196 (put_char_id_table): Likewise.
198 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
200 * chartab.h: Lisp_Byte_Table related codes are moved from
203 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
205 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
207 * chartab.h: Don't include "chartab.h".
208 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
209 (Lisp_Char_ID_Table): Likewise.
210 (char_id_table): Likewise.
211 (XCHAR_ID_TABLE): Likewise.
212 (XSETCHAR_ID_TABLE): Likewise.
213 (CHAR_ID_TABLE_P): Likewise.
214 (GC_CHAR_ID_TABLE_P): Likewise.
215 (get_char_id_table): Likewise.
217 * char-ucs.h: Include "chartab.h".
218 (struct Lisp_Char_ID_Table): Moved to chartab.h.
219 (Lisp_Char_ID_Table): Likewise.
220 (char_id_table): Likewise.
221 (XCHAR_ID_TABLE): Likewise.
222 (XSETCHAR_ID_TABLE): Likewise.
223 (CHAR_ID_TABLE_P): Likewise.
224 (GC_CHAR_ID_TABLE_P): Likewise.
225 (get_char_id_table): Likewise.
227 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
229 * chartab.c (copy_uint8_byte_table): New function.
230 (copy_uint16_byte_table): New function.
231 (copy_byte_table): New function.
232 (map_over_uint8_byte_table): Modify to avoid huge numbers of
234 (map_over_uint16_byte_table): Likewise.
235 (map_over_byte_table): Likewise.
236 (get_byte_table): Move prototype to chartab.h.
237 (put_byte_table): Likewise.
238 (put_char_id_table_0): Moved to chartab.h.
239 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
240 (char_table_entry_equal): Likewise.
241 (char_table_entry_hash): Likewise.
242 (char_table_entry_description): Likewise.
243 (char_table_entry): Likewise.
244 (make_char_table_entry): Likewise.
245 (copy_char_table_entry): Likewise.
246 (get_non_ascii_char_table_value): Likewise.
247 (map_over_charset_ascii): Likewise.
248 (map_over_charset_control_1): Likewise.
249 (map_over_charset_row): Likewise.
250 (map_over_other_charset): Likewise.
251 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
252 (print_char_table): Likewise.
253 (char_table_equal): Likewise.
254 (char_table_hash): Likewise.
255 (char_table_description): Likewise.
256 (fill_char_table): Likewise.
257 (Fcopy_char_table): Likewise.
258 (get_char_table): Likewise.
259 (Fget_range_char_table): Likewise.
260 (put_char_table): Likewise.
261 (map_char_table): Likewise.
262 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
265 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
268 `Vauto_fill_chars' in XEmacs UTF-2000.
270 * chartab.h (get_byte_table): New prototype [moved from
272 (put_byte_table): Likewise [moved from chartab.c].
273 (put_char_id_table_0): New inline function [moved from chartab.c].
274 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
275 (Lisp_Char_Table_Entry): Likewise.
276 (char_table_entry): Likewise.
277 (XCHAR_TABLE_ENTRY): Likewise.
278 (XSETCHAR_TABLE_ENTRY): Likewise.
279 (CHAR_TABLE_ENTRYP): Likewise.
280 (CHECK_CHAR_TABLE_ENTRY): Likewise.
281 (NUM_ASCII_CHARS): Likewise.
282 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
283 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
285 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * chartab.c (get_char_id_table): Change interface.
288 (put_char_id_table_0): New function.
289 (put_char_id_table): Change interface; new implementation.
290 (Fget_composite_char): Modify for interface change of
292 (Fchar_variants): Likewise.
293 (add_char_attribute_alist_mapper): Likewise.
294 (Fchar_attribute_alist): Likewise.
295 (Fget_char_attribute): Likewise.
296 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
297 as same as character as the first argument like `put-char-table';
298 modify for interface change of `put_char_id_table'.
299 (Fremove_char_attribute): Modify for interface change of
302 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * text-coding.c: Sync up with XEmacs 21.2.41.
305 (COMPOSE_ADD_CHAR): Modify for interface change of
308 * mule-charset.c (put_char_ccs_code_point): Modify for interface
309 change of `put_char_id_table'.
310 (remove_char_ccs): Likewise.
312 * chartab.h (put_char_id_table): Change interface.
314 * char-ucs.h (get_char_id_table): Change interface.
315 (charset_code_point): Modify for interface change of
317 (encode_char_1): Likewise.
319 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
323 (map_over_uint16_byte_table): Likewise.
324 (map_over_byte_table): Likewise.
325 (map_char_id_table): Add new argument `range' like
327 (Fmap_char_attribute): Add new argument `range' like
330 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
332 * chartab.c (map_over_uint8_byte_table): Change interface of
333 mapping function to use struct chartab_range instead of Emchar.
334 (map_over_uint16_byte_table): Likewise.
335 (map_over_byte_table): Likewise.
336 (map_char_id_table): Likewise.
337 (struct slow_map_char_id_table_arg): Deleted.
338 (slow_map_char_id_table_fun): Deleted.
339 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
340 function `slow_map_char_table_fun' instead of struct
341 `slow_map_char_id_table_arg' and function
342 `slow_map_char_id_table_fun'.
344 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * mule-charset.c: Move char-it-table related codes to chartab.c.
347 (Vutf_2000_version): Moved to chartab.c.
348 (Fdefine_char): Likewise.
349 (Ffind_char): Likewise.
350 (syms_of_mule_charset): Move types `uint8-byte-table',
351 `uint16-byte-table', `byte-table' and `char-id-table' to
352 chartab.c; move functions `char_attribute_list,
353 `find_char_attribute_table, `char_attribute_alist,
354 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
355 `map_char_attribute, `define_char, `find_char, `char_variants and
356 `get_composite_char to chartab.c; move symbols `=>ucs',
357 `->decomposition', `compat', `isolated', `initial', `medial',
358 `final', `vertical', `noBreak', `fraction', `super', `sub',
359 `circle', `square', `wide', `narrow', `small' and `font' to
361 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
362 setting codes for `Vcharacter_composition_table' and
363 `Vcharacter_variant_table' to chartab.c.
364 (complex_vars_of_mule_charset): Move setting code for
365 `Vchar_attribute_hash_table' to chartab.c.
367 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
368 (make_char_id_table): New prototype.
369 (put_char_id_table): Likewise.
370 (Fget_char_attribute): Likewise.
372 * chartab.c: Move char-id-table related code from mule-charset.c.
373 (Vutf_2000_version): Moved from mule-charset.c.
375 * char-ucs.h (Qucs): New external variable.
376 (put_char_ccs_code_point): New prototype.
377 (remove_char_ccs): Likewise.
379 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
381 * mule-charset.c (Vcharset_ucs_jis): New variable.
382 (Qucs_jis): Likewise.
383 (syms_of_mule_charset): Add new symbol `ucs-jis'.
384 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
386 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
388 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * mule-charset.c (map_over_uint8_byte_table): New function.
391 (map_over_uint16_byte_table): Likewise.
392 (map_over_byte_table): Likewise.
393 (map_char_id_table): Likewise.
394 (slow_map_char_id_table_fun): Likewise.
395 (Fmap_char_attribute): Likewise.
396 (syms_of_mule_charset): Add new function `map-char-attribute'.
398 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
401 (syms_of_mule_charset): Add new function `find-char'.
403 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
407 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
408 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
410 (complex_vars_of_mule_charset): Add new coded-charset
411 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
414 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
416 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * mule-charset.c (encode_builtin_char_1): Purge codes about
419 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
420 {MIN|MAX}_CHAR_HEBREW.
421 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
422 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
424 * char-ucs.h (MIN_CHAR_GREEK): Purged.
425 (MAX_CHAR_GREEK): Purged.
426 (MIN_CHAR_CYRILLIC): Purged.
427 (MAX_CHAR_CYRILLIC): Purged.
428 (MIN_CHAR_HEBREW): Commented out.
429 (MAX_CHAR_HEBREW): Likewise.
431 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * mule-charset.c (Qto_ucs): New variable.
434 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
435 (Fdefine_char): Likewise.
436 (syms_of_mule_charset): Add new symbol `=>ucs'.
438 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * mule-charset.c (Fdecode_char): Fixed.
442 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
445 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
448 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * mule-charset.c (Vcharset_ucs_big5): New variable.
451 (Qucs_big5): Likewise.
452 (syms_of_mule_charset): Add new symbol `ucs-big5'.
453 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
455 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
457 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * mule-charset.c (decode_builtin_char): Check Big5 code range
460 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
462 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
465 (Qchinese_gb12345): Likewise.
466 (Fdecode_builtin_char): Fixed.
467 (syms_of_mule_charset): Add `chinese-gb12345'.
468 (complex_vars_of_mule_charset): Add coded-charset
471 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
472 (LEADING_BYTE_CHINESE_GB12345): New macro.
474 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
477 and `latin-viscii-upper' for `latin-viscii'.
479 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * mule-charset.c (Fdecode_builtin_char): Comment out
482 regularization code for ISO-IR GR representation.
484 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
486 * mule-charset.c (decode_builtin_char): New function; renamed from
487 `make_builtin_char'; return -1 instead of signal.
488 (Fdecode_builtin_char): Use `decode_builtin_char'.
490 * char-ucs.h (decode_builtin_char): New prototype; renamed from
492 (DECODE_CHAR): Use `decode_builtin_char' instead of
493 `make_builtin_char'; use mapping table of `chinese-big5' for
494 `chinese-big5-{1,2}'.
496 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * text-coding.c (char_encode_big5): New function.
499 (char_finish_big5): Likewise.
500 (reset_encoding_stream): Use `char_encode_big5' and
501 `char_finish_big5' for CODESYS_BIG5.
502 (mule_encode): Don't use `encode_coding_big5'.
503 (encode_coding_big5): Deleted.
505 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
508 0x81- in XEmacs UTF-2000.
509 (detect_coding_big5): Likewise.
511 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * mule-charset.c (Fdefine_char): Don't use a CCS property to
514 generate character-id if the CCS property does not have
515 corresponding predefined character.
516 (make_builtin_char): Return -1 if corresponding predefined
517 character is not found.
518 (Fdecode_char): Return nil if corresponding character is not
520 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
521 don't map to builtin ucs space.
523 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
525 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
526 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
528 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-charset.c (Vcharset_ideograph_gt): New variable.
531 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
532 (Qideograph_gt): Likewise.
533 (Qideograph_gt_pj_{1..11}): Likewise.
534 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
535 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
536 `ideograph-gt-pj-11'.
537 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
538 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
539 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
541 * char-ucs.h (LEADING_BYTE_GT): New macro.
542 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
543 (MIN_CHAR_GT): Likewise.
544 (MAX_CHAR_GT): Likewise.
546 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
549 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
551 * doprnt.c (unsigned_int_converters): Add `c'.
552 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
554 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
555 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
557 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
558 (MAX_CHAR_MOJIKYO_0): New macro.
559 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
561 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * mule-charset.c (Fdefine_char): Delete cemented out code.
564 (encode_builtin_char_1): Modify for new allocation of builtin
567 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
569 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
571 * mule-charset.c (Vcharset_ucs_cns): New variable.
572 (Qucs_cns): New variable.
573 (syms_of_mule_charset): Add new symbol `ucs-cns'.
574 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
576 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
580 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
582 * search.c (search_buffer): Make `charset_base_code' as
583 character-id >> 6 to eliminate the corresponding last byte in
584 UTF-8 representation [I'm not sure it is right thing].
585 (boyer_moore): Likewise.
587 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
589 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
590 representation in MULE.
592 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * text-coding.c (Fmake_coding_system): Use
595 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
596 `EXTERNAL_PROPERTY_LIST_LOOP'.
598 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
600 * text-coding.c (decode_output_utf8_partial_char): New function.
601 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
603 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
605 * text-coding.c (decode_coding_utf8): Output original byte
606 sequence if it is broken; change order of conditions.
608 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
611 * mb-multibyte.h (BYTE_ASCII_P):
612 Use bit ops for char-signedness safety.
613 (BYTE_C0_P): Use bit ops for char-signedness safety.
614 (BYTE_C1_P): Use bit ops for char-signedness safety.
616 * character.h: (XCHAR_OR_CHAR_INT):
617 Always use inline function.
618 Remove redundant type checking assert() - XINT will abort quite
621 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * text-coding.c: (Fencode_shift_jis_char):
625 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
626 Replace 0 with '\0' when working with bytes.
627 Replace initial "(" with "\(" in docstrings.
629 (Fmake_coding_system):
630 When type is ccl and value is vector, register it with a proper
631 symbol. And checks whether the given ccl program is valid.
632 (mule_decode): When calling ccl_driver, if src indicates
633 NULL pointer, set an empty string instead.
634 (mule_encode): Likewise.
637 (detect_coding_sjis):
638 (decode_coding_sjis):
639 (detect_coding_big5):
640 (decode_coding_big5):
641 (detect_coding_ucs4):
642 (decode_coding_ucs4):
643 (detect_coding_utf8):
644 (decode_coding_utf8):
645 (detect_coding_iso2022):
646 (decode_coding_iso2022):
647 (decode_coding_no_conversion):
649 Make all detecting and decoding functions take an Extbyte * arg.
650 (text_encode_generic):
651 (encode_coding_big5):
652 (encode_coding_no_conversion):
654 Make all encoding functions take a Bufbyte * arg.
655 Use size_t instead of unsigned int for memory sizes.
656 Only cast to unsigned char whenever dereferencing Extbyte *.
658 (struct lrecord_description fcd_description_1): Use countof.
659 (complex_vars_of_file_coding):
660 Use countof instead of sizeof.
661 Use CHECK_NATNUM instead of CHECK_INT.
663 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * mule-charset.c (Fget_char_attribute): Add new optional argument
667 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
668 (remove_char_ccs): Likewise.
670 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
672 * text-coding.c (char_encode_shift_jis): New implementation in
674 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
677 * mule-charset.c (Vcharset_chinese_big5): New variable in
679 (Qchinese_big5): New variable in UTF-2000.
680 (BIG5_SAME_ROW): New macro in UTF-2000.
681 (make_builtin_char): Use builtin characters of
682 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
683 characters of `Vcharset_chinese_big5'.
684 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
685 (complex_vars_of_mule_charset): Add new coded-charset
686 `chinese-big5' in UTF-2000.
688 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
689 (Vcharset_chinese_big5): New external variable declaration.
690 (Vcharset_japanese_jisx0208_1990): Likewise.
692 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
696 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
698 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
700 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
701 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
702 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
705 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
709 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
714 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
717 for `CHARSET_BY_ATTRIBUTES'.
718 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
719 `CHARSET_BY_ATTRIBUTES'.
721 * text-coding.c (struct decoding_stream): Rename member `CH' to
723 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
724 (decode_coding_sjis): Likewise.
725 (decode_coding_big5): Likewise.
726 (decode_coding_ucs4): Likewise.
727 (decode_coding_utf8): Likewise.
728 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
729 `CHARSET_BY_ATTRIBUTES'.
730 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
731 `str->counter'; decode 3, 4 bytes sets.
732 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
734 (decode_coding_no_conversion): Use `str->cpos' instead of
737 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
738 (Qmojikyo_2022_1): New variable.
739 (make_charset): Don't use `CHARSET_TYPE_*'.
740 (range_charset_code_point): Support coded-charset
742 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
743 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
744 `CHARSET_BY_ATTRIBUTES'.
745 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
746 `CHARSET_BY_ATTRIBUTES'.
747 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
748 (complex_vars_of_mule_charset): Add new coded-charset
751 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
752 interface; changed to inline function.
754 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
755 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
756 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
757 (CHARSET_TYPE_94): Deleted.
758 (CHARSET_TYPE_94X94): Deleted.
759 (CHARSET_TYPE_96): Deleted.
760 (CHARSET_TYPE_96X96): Deleted.
761 (CHARSET_TYPE_128): Deleted.
762 (CHARSET_TYPE_128X128): Deleted.
763 (CHARSET_TYPE_256): Deleted.
764 (CHARSET_TYPE_256X256): Deleted.
765 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
767 (DECODE_MOJIKYO_2022): New inline function.
768 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
769 `Vcharset_mojikyo_2022_1'.
771 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
775 (put_byte_table): Likewise.
776 (char_id_table_equal): Use `get_byte_table' [new implementation].
778 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * mule-charset.c: Include <limits.h> in UTF-2000.
781 (BT_UINT8_MIN): New macro in UTF-2000.
782 (BT_UINT8_MAX): New macro in UTF-2000.
783 (BT_UINT8_t): New macro in UTF-2000.
784 (BT_UINT8_nil): New macro in UTF-2000.
785 (BT_UINT8_unbound): New macro in UTF-2000.
786 (INT_UINT8_P): New inline function in UTF-2000.
787 (UINT8_VALUE_P): New inline function in UTF-2000.
788 (UINT8_ENCODE): New inline function in UTF-2000.
789 (UINT8_DECODE): New inline function in UTF-2000.
790 (mark_uint8_byte_table): New function in UTF-2000.
791 (print_uint8_byte_table): New function in UTF-2000.
792 (uint8_byte_table_equal): New function in UTF-2000.
793 (uint8_byte_table_hash): New function in UTF-2000.
794 (make_uint8_byte_table): New function in UTF-2000.
795 (uint8_byte_table_same_value_p): New function in UTF-2000.
796 (BT_UINT16_MIN): New macro in UTF-2000.
797 (BT_UINT16_MAX): New macro in UTF-2000.
798 (BT_UINT16_t): New macro in UTF-2000.
799 (BT_UINT16_nil): New macro in UTF-2000.
800 (BT_UINT16_unbound): New macro in UTF-2000.
801 (INT_UINT16_P): New inline function in UTF-2000.
802 (UINT16_VALUE_P): New inline function in UTF-2000.
803 (UINT16_ENCODE): New inline function in UTF-2000.
804 (UINT16_DECODE): New inline function in UTF-2000.
805 (UINT8_TO_UINT16): New inline function in UTF-2000.
806 (mark_uint16_byte_table): New function in UTF-2000.
807 (print_uint16_byte_table): New function in UTF-2000.
808 (uint16_byte_table_equal): New function in UTF-2000.
809 (uint16_byte_table_hash): New function in UTF-2000.
810 (make_uint16_byte_table): New function in UTF-2000.
811 (uint16_byte_table_same_value_p): New function in UTF-2000.
812 (print_byte_table): New function in UTF-2000.
813 (byte-table): Use `print_byte_table' as printer.
814 (make_byte_table): Delete second argument `older'.
815 (byte_table_same_value_p): New function in UTF-2000.
816 (copy_byte_table): Deleted.
817 (get_byte_table): New function in UTF-2000.
818 (put_byte_table): New function in UTF-2000.
819 (print_char_id_table): New function in UTF-2000.
820 (char-id-table): Use `print_char_id_table' as printer.
821 (make_char_id_table): Delete second argument `older'.
822 (get_char_id_table): Use `get_byte_table [new implementation].
823 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
825 (Ffind_char_attribute_table): New function in UTF-2000.
826 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
827 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
828 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
829 (syms_of_mule_charset): Add new function
830 `find-char-attribute-table' in UTF-2000.
832 * lrecord.h (enum lrecord_type): Add
833 `lrecord_type_uint16_byte_table' and
834 `lrecord_type_uint8_byte_table'.
836 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
837 (Lisp_Uint8_Byte_Table): New type.
838 (XUINT8_BYTE_TABLE): New macro.
839 (XSETUINT8_BYTE_TABLE): New macro.
840 (UINT8_BYTE_TABLE_P): New macro.
841 (GC_UINT8_BYTE_TABLE_P): New macro.
842 (struct Lisp_Uint16_Byte_Table): New structure.
843 (Lisp_Uint16_Byte_Table): New type.
844 (XUINT16_BYTE_TABLE): New macro.
845 (XSETUINT16_BYTE_TABLE): New macro.
846 (UINT16_BYTE_TABLE_P): New macro.
847 (GC_UINT16_BYTE_TABLE_P): New macro.
849 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
851 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
852 (Vcharacter_ideographic_strokes_table): Deleted.
853 (Vcharacter_total_strokes_table): Deleted.
854 (Vcharacter_morohashi_daikanwa_table): Deleted.
855 (Vcharacter_decomposition_table): Deleted.
856 (Qname): Deleted because it is duplicated.
857 (Qideographic_radical): Deleted.
858 (Qideographic_strokes): Deleted.
859 (Qtotal_strokes): Deleted.
860 (Qmorohashi_daikanwa): Deleted.
861 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
862 `ideographic-radical', `ideographic-strokes', `total-strokes',
863 `morohashi-daikanwa' and `->decomposition'.
864 (Fget_char_attribute): Likewise.
865 (Fput_char_attribute): Likewise; use `make-vector' instead of
866 `make_older_vector' for `->decomposition' value.
867 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
868 `ideograph-daikanwa'.
869 (syms_of_mule_charset): Delete builtin symbols `name',
870 `ideographic-radical', `ideographic-strokes', `total-strokes' and
871 `morohashi-daikanwa'.
872 (vars_of_mule_charset): Don't setup
873 `Vcharacter_ideographic_radical_table',
874 `Vcharacter_ideographic_strokes_table',
875 `Vcharacter_total_strokes_table',
876 `Vcharacter_morohashi_daikanwa_table' and
877 `Vcharacter_decomposition_table'.
879 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
881 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
882 `make_older_vector', `make_vector_newer_1' and
885 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
886 `make_older_vector' and `make_vector_newer'.
888 * config.h.in (HAVE_GGC): New macro.
890 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
892 * mule-charset.c (struct char_attribute_list_closure): New
893 structure in UTF-2000.
894 (add_char_attribute_to_list_mapper): New function in UTF-2000.
895 (Fchar_attribute_list): Likewise.
896 (Fset_charset_mapping_table): Use `make_vector_newer'.
897 (Fdecode_builtin_char): New function in UTF-2000.
898 (syms_of_mule_charset): Add new function `char-attribute-list' and
899 `decode-builtin-char' in UTF-2000.
901 * lisp.h (make_vector_newer): New prototype.
903 * alloc.c (make_vector_newer_1): New function.
904 (make_vector_newer): New function.
906 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
911 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * mule-charset.c (Vchar_attribute_hash_table): New variable.
914 (Vcharacter_attribute_table): Deleted.
915 (Vcharacter_name_table): Deleted.
916 (put_char_attribute): Deleted.
917 (remove_char_attribute): Deleted.
918 (struct char_attribute_alist_closure): New structure.
919 (add_char_attribute_alist_mapper): New function.
920 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
921 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
922 (Fget_char_attribute): Likewise.
923 (Fput_char_attribute): Likewise.
924 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
925 of `remove_char_attribute'.
926 (Fdefine_char): Return character.
927 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
928 and `Vcharacter_name_table'.
929 (complex_vars_of_mule_charset): Likewise
930 `Vchar_attribute_hash_table'.
932 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * character.h (CHARC_CHARSET): New macro.
935 (CHARC_CHARSET_ID): New macro.
936 (CHARC_CODE_POINT): New macro.
937 (CHARC_COLUMNS): New macro.
938 (CHARC_TO_CHAR): New inline function.
939 (CHARC_EQ): New inline function.
940 (CHARC_ASCII_EQ): New inline function.
941 (CHARC_IS_SPACE): New inline function.
942 (ASCII_TO_CHARC): New inline function.
944 * char-ucs.h (encode_char_2): Deleted.
945 (ENCODE_CHAR): Use `encode_char_1' again.
946 (breakup_char_1): Likewise.
947 (CHAR_TO_CHARC): New inline function.
949 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
951 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
953 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
954 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
955 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
956 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
957 (create_string_text_block): Use `CHARC_ASCII_EQ' and
959 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
961 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
963 (x_output_display_block): Use `CHARC_CHARSET' and
966 * redisplay-tty.c (tty_output_display_block): Use
968 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
970 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
972 * insdel.c (find_charsets_in_charc_string): Use
974 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
975 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
976 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
977 (convert_charc_string_into_malloced_string): Likewise.
979 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
981 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
982 instead of <Emchar_dynarr *> for buf; use
983 `convert_bufbyte_string_into_charc_dynarr' instead of
984 `convert_bufbyte_string_into_emchar_dynarr'; use
985 `find_charsets_in_charc_string' instead of
986 `find_charsets_in_emchar_string'.
989 - Include "character.h".
990 (struct rune): New member `cglyph'; delete member `chr'.
992 * redisplay.c (redisplay_text_width_charc_string): New function;
993 delete `redisplay_text_width_emchar_string'.
994 (rtw_charc_dynarr): New variable; renamed from
996 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
997 `rtw_emchar_dynarr'; use
998 `convert_bufbyte_string_into_charc_dynarr' instead of
999 `convert_bufbyte_string_into_emchar_dynarr'; use
1000 `redisplay_text_width_charc_string' instead of
1001 `redisplay_text_width_emchar_string'.
1002 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1003 instead of `rtw_emchar_dynarr'; use
1004 `convert_bufbyte_string_into_charc_dynarr' instead of
1005 `convert_bufbyte_string_into_emchar_dynarr'.
1006 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1007 `redisplay_text_width_charc_string' instead of
1008 `redisplay_text_width_emchar_string'.
1009 (create_text_block): Modify for <struct rune> change.
1010 (generate_formatted_string_db): Likewise.
1011 (create_string_text_block): Likewise.
1012 (pixel_to_glyph_translation): Likewise.
1014 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1015 instead of <const Emchar *>.
1016 (x_text_width): Likewise.
1017 (x_output_display_block): Use <Charc_dynarr *> instead
1018 <Emchar_dynarr *>; modify for <structure rune> change.
1019 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1022 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1023 <const Emchar *>; use `charc_string_displayed_columns' instead of
1024 `emchar_string_displayed_columns'.
1025 (tty_output_display_block): Use <Charc_dynarr *> instead of
1026 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1027 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1028 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1029 `tty_output_emchar_dynarr_dynarr'.
1030 (tty_output_charc_dynarr): New function; delete
1031 `tty_output_charc_dynarr'.
1033 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1034 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1035 <Emchar_dynarr *> for buf; use
1036 `convert_bufbyte_string_into_charc_dynarr' instead of
1037 `convert_bufbyte_string_into_emchar_dynarr'.
1039 * frame.c (title_string_charc_dynarr): New variable; renamed from
1040 `title_string_emchar_dynarr'.
1041 (generate_title_string): Use `title_string_charc_dynarr' instead
1042 of `title_string_emchar_dynarr'; use
1043 `convert_charc_string_into_malloced_string' instead of
1044 `convert_emchar_string_into_malloced_string'.
1045 (init_frame): Use `title_string_charc_dynarr' instead of
1046 `title_string_emchar_dynarr'.
1049 - Include "character.h".
1050 (struct console_methods): Use <const Charc *> instead of <const
1051 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1052 <Emchar_dynarr *> in output_string_method.
1054 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1057 * console-stream.c (stream_text_width): Use <const Charc *>
1058 instead of <const Emchar *>.
1060 * character.h (Charc_dynarr): New type.
1062 * char-ucs.h (structure Charc): New structure; define new type
1065 * char-lb.h (DECODE_CHAR): New inline function.
1066 (encode_char_1): New inline function.
1067 (ENCODE_CHAR): New macro.
1068 (structure Charc): New structure; define new type `Charc'.
1070 * char-1byte.h (Vcharset_control_1): New macro.
1071 (Vcharset_latin_iso8859_1): New macro.
1072 (DECODE_CHAR): New inline function.
1073 (encode_char_1): New inline function.
1074 (ENCODE_CHAR): New macro.
1075 (structure Charc): New structure; define new type `Charc'.
1077 * insdel.c (find_charsets_in_charc_string): New function; delete
1078 `find_charsets_in_emchar_string'.
1079 (charc_string_displayed_columns): New function; delete
1080 `emchar_string_displayed_columns'.
1081 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1082 `convert_bufbyte_string_into_emchar_dynarr'.
1083 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1084 `convert_charc_string_into_bufbyte_dynarr'.
1085 (convert_charc_string_into_malloced_string): New function; delete
1086 `convert_charc_string_into_malloced_string'.
1088 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1089 `find_charsets_in_emchar_string'.
1090 (charc_string_displayed_columns): New prototype; delete
1091 `emchar_string_displayed_columns'.
1092 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1093 `convert_charc_string_into_bufbyte_dynarr'.
1094 (convert_charc_string_into_malloced_string): New prototype; delete
1095 `convert_charc_string_into_malloced_string'.
1097 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1099 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1101 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1103 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1105 * char-ucs.h: Use <short> for <Charset_ID>.
1107 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1110 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1112 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1115 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1117 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1119 (Qmorohashi_daikanwa): New variable.
1120 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1121 for `morohashi-daikanwa' attribute.
1122 (Fget_char_attribute): Likewise.
1123 (Fput_char_attribute): Likewise.
1124 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1125 has the same value of `ideograph-daikanwa'.
1126 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1127 (vars_of_mule_charset): Setup
1128 `Vcharacter_morohashi_daikanwa_table'.
1130 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1132 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1134 (add_charset_to_list_mapper): Add `key' instead of
1135 `XCHARSET_NAME (value)' to return aliases.
1137 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1141 (Vcharacter_ideographic_strokes_table): New variable.
1142 (Qideographic_radical): New variable.
1143 (Qideographic_strokes): New variable.
1144 (Fchar_attribute_alist): Use
1145 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1146 attribute; use `Vcharacter_ideographic_strokes_table' for
1147 `ideographic-strokes' attribute.
1148 (Fget_char_attribute): Likewise.
1149 (Fput_char_attribute): Likewise.
1150 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1151 `ideographic-strokes'.
1152 (vars_of_mule_charset): Setup
1153 `Vcharacter_ideographic_radical_table' and
1154 `Vcharacter_ideographic_strokes_table'.
1156 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1158 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1159 (Qtotal_strokes): New variable.
1160 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1161 `total-strokes' attribute.
1162 (Fget_char_attribute): Likewise.
1163 (Fput_char_attribute): Likewise.
1164 (syms_of_mule_charset): Add new symbol `total-strokes'.
1165 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1167 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1169 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1170 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1172 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1173 `->decomposition' attribute.
1174 (Fput_char_attribute): Likewise.
1175 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1177 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1179 * mule-charset.c (decoding_table_check_elements): New function.
1180 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1182 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * mule-charset.c (Fset_charset_mapping_table): Use
1185 `put_char_ccs_code_point'.
1187 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (decoding_table_put_char): New inline function.
1190 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1192 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1194 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1195 (XCHARSET_BYTE_SIZE): New macro.
1196 (decoding_table_remove_char): New inline function.
1197 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1198 `decoding_table_remove_char'.
1199 (remove_char_ccs): Use `decoding_table_remove_char'.
1200 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1202 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * mule-charset.c (Vcharacter_name_table): New variable.
1205 (Qname): New variable.
1206 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1208 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1209 `Vcharacter_name_table' for `name' attribute.
1210 (Fremove_char_attribute): Use function `remove_char_ccs'.
1211 (put_char_ccs_code_point): New function.
1212 (remove_char_ccs): New function.
1213 (syms_of_mule_charset): Add new symbol `name'.
1214 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1216 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1218 * mule-charset.c (make_byte_table): Add new argument `older'.
1219 (make_char_id_table): Likewise.
1220 (copy_char_id_table): Comment out because it is not used.
1221 (put_char_id_table): Modify for `make_byte_table'.
1222 (Fput_char_attribute): Make encoding_table as older object;
1223 inherit older bit of `Vcharacter_composition_table'.
1224 (mark_charset): Don't mark `cs->encoding_table'.
1225 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1226 normal object; make `Vcharacter_composition_table' as an older
1227 object; delete staticpro for `Vcharacter_composition_table'; make
1228 `Vcharacter_variant_table' as a normal object.
1230 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1231 (mark_object): Don't check older object in UTF-2000.
1233 * lrecord.h (struct lrecord_header): Add new member `older' in
1235 (set_lheader_implementation): Setup `SLI_header->older' in
1237 (set_lheader_older_implementation): New macro in UTF-2000.
1238 (OLDER_RECORD_P): New macro in UTF-2000.
1239 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1240 (alloc_older_lcrecord): New prototype in UTF-2000.
1241 (alloc_older_lcrecord_type): New macro in UTF-2000.
1243 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1245 * mule-charset.c (byte_table_description): Use
1246 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1247 (char_id_table_description): Delete bogus `, 1'.
1248 (Fget_char_attribute): Refer encoding_table of each coded-charset
1249 to get value of coded-charset attribute of a character.
1250 (Fput_char_attribute): Use `make_older_vector' instead of
1251 `make_vector'; use encoding_table of each coded-charset to store
1252 value of coded-charset attribute of a character.
1253 (Fremove_char_attribute): Use encoding_table of each coded-charset
1254 to store value of coded-charset attribute of a character.
1255 (mark_charset): Mark `cs->encoding_table'; don't mark
1256 `cs->decoding_table'.
1257 (charset_description): Add description of new member
1259 (make_charset): Initialize `encoding_table'.
1261 * char-ucs.h (struct Lisp_Charset): Add new member
1263 (CHARSET_ENCODING_TABLE): New macro.
1264 (XCHARSET_ENCODING_TABLE): New macro.
1265 (charset_code_point): New implementation.
1266 (encode_char_1): Likewise.
1268 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1269 (disksave_object_finalization_1): Call finalizers of
1270 `all_older_lcrecords' in UTF-2000.
1271 (make_older_vector): New function in UTF-2000.
1272 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1275 * lisp.h (make_older_vector): New prototype in UTF-2000.
1277 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1279 * lrecord.h (enum lrecord_type): Rename
1280 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1282 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1283 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1284 `get_char_code_table'.
1286 * mule-charset.c (mark_char_id_table): Renamed from
1287 `mark_char_code_table'.
1288 (char_id_table_equal): Renamed from `char_code_table_equal'.
1289 (char_id_table_hash): Renamed from `char_code_table_hash'.
1290 (make_char_id_table): Renamed from `make_char_code_table'.
1291 (copy_char_id_table): Renamed from `copy_char_code_table'.
1292 (get_char_id_table): Renamed from `get_char_code_table'.
1293 (put_char_id_table): Renamed from `put_char_code_table'.
1294 (to_char_id): Renamed from `to_char_code'.
1296 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1297 `Lisp_Char_Code_Table'.
1298 (char_id_table): Renamed from `char_code_table'.
1299 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1300 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1301 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1302 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1303 (get_char_id_table): Renamed from `get_char_code_table'.
1305 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1307 * lrecord.h (enum lrecord_type): Rename
1308 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1310 * mule-charset.c (mark_byte_table): Renamed from
1311 `mark_char_byte_table'.
1312 (byte_table_equal): Renamed from `char_byte_table_equal'.
1313 (byte_table_hash): Renamed from `byte_table_hash'.
1314 (make_byte_table): Renamed from `make_byte_table'.
1315 (copy_byte_table): Renamed from `copy_char_byte_table'.
1317 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1318 `Lisp_Char_Byte_Table'.
1319 (byte_table): Renamed from `char_byte_table'.
1320 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1321 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1322 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1323 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
1325 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1327 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
1328 (dfc_convert_to_internal_format): Likewise.
1330 * text-coding.c (Fcoding_system_canonical_name_p): New function.
1331 * text-coding.c (Fcoding_system_alias_p): New function.
1332 * text-coding.c (Fcoding_system_aliasee): New function.
1333 * text-coding.c (append_suffix_to_symbol): New function.
1334 * text-coding.c (dangling_coding_system_alias_p): New function.
1335 * text-coding.c (Ffind_coding_system):
1336 * text-coding.c (Fcopy_coding_system):
1337 * text-coding.c (encode_coding_no_conversion):
1338 * text-coding.c (syms_of_file_coding):
1339 * text-coding.c (vars_of_file_coding):
1340 Rewrite coding system alias code.
1341 Allow nested aliases, like symbolic links.
1342 Allow redefinition of coding system aliases.
1343 Prevent existence of dangling coding system aliases.
1344 Eliminate convert_to_external_format.
1345 Eliminate convert_to_internal_format.
1347 * text-coding.c: Change enum eol_type to eol_type_t.
1349 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1351 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
1352 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1354 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
1355 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1357 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1359 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
1360 `ideograph-daikanwa'.
1362 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
1363 (Vcharset_ucs_bmp): Likewise.
1364 (Vcharset_mojikyo): Add new extern variable definition.
1365 (Vcharset_latin_iso8859_2): Deleted because it is not used.
1366 (Vcharset_latin_iso8859_3): Likewise.
1367 (Vcharset_latin_iso8859_4): Likewise.
1368 (Vcharset_latin_iso8859_9): Likewise.
1369 (Vcharset_latin_viscii_lower): Likewise.
1370 (Vcharset_latin_viscii_upper): Likewise.
1371 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
1372 `mojikyo' code-point is used to decode.
1373 (encode_char_2): New function [to convert `mojikyo' code-point to
1374 Mojikyo font encoding].
1375 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
1376 (breakup_char_1): Likewise.
1377 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
1379 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * text-coding.c (Fmake_coding_system): Add document about
1382 `disable-composition' property.
1384 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1386 * text-coding.c (Qdisable_composition): New variable; delete
1388 (Fmake_coding_system): Add new property `disable-composite';
1389 delete property `composite'.
1390 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
1391 instead of `!CODING_SYSTEM_COMPOSITE'.
1392 (syms_of_file_coding): Add new symbol `disable-composition';
1393 delete symbol `composite'.
1395 * file-coding.h (struct Lisp_Coding_System): Add
1396 `disable_composition'; delete `enable_composition'.
1397 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1398 `CODING_SYSTEM_COMPOSITE'.
1399 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1400 `XCODING_SYSTEM_COMPOSITE'.
1402 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1404 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1407 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1409 * text-coding.c (Qcomposite): New variable.
1410 (Fmake_coding_system): Add new property `composite'.
1411 (struct decoding_stream): Add `combined_char_count',
1412 `combined_chars' and `combining_table' in UTF-2000.
1413 (COMPOSE_FLUSH_CHARS): New macro.
1414 (COMPOSE_ADD_CHAR): New macro.
1415 (reset_decoding_stream): Reset `str->combined_char_count' and
1416 `str->combining_table' in UTF-2000.
1417 (decode_coding_iso2022): Modify for character-decomposition.
1418 (syms_of_file_coding): Add new symbol `composite'.
1420 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
1423 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
1424 of `Vcharacter_composition_table' if `->decomposition' property
1426 (Qlatin_tcvn5712): New variable.
1427 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
1428 (complex_vars_of_mule_charset): Add new coded-charset
1431 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
1433 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * file-coding.h (struct Lisp_Coding_System): Add
1436 `enable_composition'.
1437 (CODING_SYSTEM_COMPOSITE): New macro.
1438 (XCODING_SYSTEM_COMPOSITE): New macro.
1440 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
1442 * mule-canna.c (c2mu): Fix problem with UTF-2000.
1444 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
1446 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
1447 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
1449 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1451 * mule-charset.c (Vcharset_mojikyo): New variable.
1452 (Fdefine_char): Don't use coded-charset which does not have
1453 non-builtin character range to allocate character-id.
1454 (Qmojikyo): New variable.
1455 (syms_of_mule_charset): Add new symbol `mojikyo'.
1456 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
1458 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
1459 (LEADING_BYTE_MOJIKYO): New macro.
1460 (MIN_CHAR_MOJIKYO): New macro.
1461 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
1462 (MAX_CHAR_MOJIKYO): New macro.
1464 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
1466 * mule-charset.c (remove_char_attribute): Fixed.
1468 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
1470 * mule-charset.c (remove_char_attribute): New function.
1471 (Fremove_char_attribute): New function.
1472 (encode_builtin_char_1): Comment out builtin-support for
1473 greek-iso8859-7 and cyrillic-iso8859-5.
1474 (Fdecode_char): Check `code' is an integer.
1475 (syms_of_mule_charset): Add `remove-char-attribute'.
1476 (MIN_CHAR_GREEK): Deleted.
1477 (MAX_CHAR_GREEK): Likewise.
1478 (MIN_CHAR_CYRILLIC): Likewise.
1479 (MAX_CHAR_CYRILLIC): Likewise.
1480 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1481 MAX_CHAR_GREEK for `greek-iso8859-7'.
1483 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1484 (MAX_CHAR_GREEK): Likewise.
1485 (MIN_CHAR_CYRILLIC): Likewise.
1486 (MAX_CHAR_CYRILLIC): Likewise.
1488 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1490 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1491 format is used without `ucs' property.
1492 (Fdecode_char): Fix problem with GR representation.
1493 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1494 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1496 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1498 * mule-charset.c (make_builtin_char): New function.
1499 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1500 (Fset_charset_mapping_table): Modify for new representation of
1502 (Fdecode_char): New function.
1503 (syms_of_mule_charset): Add new builtin function `decode-char' in
1506 * char-ucs.h (make_builtin_char): New prototype.
1507 (DECODE_CHAR): New inline function.
1508 (MAKE_CHAR): Use `DECODE_CHAR'.
1510 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1512 * text-coding.c (parse_charset_conversion_specs): Use
1513 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1515 (iso2022_designate): Likewise.
1517 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1518 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1520 * mule-charset.c (Vcharset_ucs): New variable.
1521 (print_charset): Change design; use `CHARSET_CHARS' and
1522 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1523 (make_charset): Change signature to specify `chars' and
1524 `dimension' instead of `type'.
1525 (range_charset_code_point): Modify for 256^n-set.
1526 (encode_builtin_char_1): Encode as `ucs' in default.
1527 (Fmake_charset): Modify for `make_charset'.
1528 (Fmake_reverse_direction_charset): Likewise.
1529 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1531 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1534 * char-ucs.h (Vcharset_ucs): New variable.
1535 (LEADING_BYTE_UCS): New macro.
1536 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1537 and `chars' to `unsigned short' from `unsigned int'.
1538 (CHARSET_TYPE): Deleted.
1539 (XCHARSET_TYPE): Deleted.
1541 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1543 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1545 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1546 (ENCODE_CHAR): New macro.
1548 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1550 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1551 to 0.14 (Kawachi-Katakami).
1553 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1555 * text-coding.c (char_encode_shift_jis): Modify for
1556 `charset_code_point'.
1557 (char_encode_iso2022): Likewise.
1559 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1560 (integer) instead of list of <Lisp_Object>s (integers) as the
1561 format of code-point of a coded-charset.
1562 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1563 (encode_builtin_char_1): New function; delete
1564 `split_builtin_char'.
1565 (charset_code_point): Return <int> instead of <Lisp_Object>.
1566 (Fsplit_char): Don't use `SPLIT_CHAR'.
1568 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1569 prototype for `split_builtin_char'.
1570 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1571 (charset_code_point): Likewise.
1572 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1573 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1575 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1577 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1578 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1580 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1582 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1584 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1585 (MAX_CHAR_OBS_94x94): Deleted.
1587 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1589 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1591 * char-ucs.h (MAX_CHAR_BMP): New macro.
1593 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1595 * text-coding.c: Sync with r21-2-24.
1597 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1599 * file-coding.c: Modify for UTF-2000.
1601 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1603 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1606 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1608 * mule-charset.c (split_builtin_char): Delete builtin support for
1609 `katakana-jisx0201'.
1610 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1611 BMP area in builtin representation.
1613 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1614 `Vcharset_katakana_jisx0201'.
1616 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1618 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1619 (Qisolated): New variable.
1620 (Qinitial): New variable.
1621 (Qmedial): New variable.
1622 (Qfinal): New variable.
1623 (Qvertical): New variable.
1624 (Qsmall): New variable.
1625 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1626 `Qvertical' and `Qsmall'.
1627 (Qmojikyo_pj_[1 .. 21]): New variable.
1628 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1629 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1630 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1633 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1635 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1636 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1637 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1639 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1641 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1642 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1644 (Qjapanese_jisx0208_1990): New variable.
1645 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1646 (complex_vars_of_mule_charset): Add new coded-charset
1647 `japanese-jisx0208-1990'.
1649 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1650 (MIN_CHAR_JIS_X0208_1990): New macro.
1651 (MAX_CHAR_JIS_X0208_1990): New macro.
1653 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1655 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1656 coded-charset is not found.
1658 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1660 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1661 (Fdefine_char): Use `Fmake_char'.
1663 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1665 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1666 (Vcharset_hiragana_jisx0208): Deleted.
1667 (Vcharset_katakana_jisx0208): Deleted.
1668 (Qideograph_daikanwa): New variable.
1669 (Qhiragana_jisx0208): Deleted.
1670 (Qkatakana_jisx0208): Deleted.
1671 (split_builtin_char): Split `ideograph-daikanwa'.
1672 (Fsplit_char): New implementation for UTF-2000.
1673 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1674 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1675 (complex_vars_of_mule_charset): Add new coded-charset
1676 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1677 `katakana-jisx0208'.
1679 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1680 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1681 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1682 (MIN_CHAR_DAIKANWA): New macro.
1683 (MAX_CHAR_DAIKANWA): New macro.
1685 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1687 * data.c (Fstring_to_number): Don't recognize floating point if
1690 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1692 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1694 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1696 * mule-charset.c (Qsquare): New variable.
1697 (to_char_code): Add `Qsquare'.
1698 (syms_of_mule_charset): Add new symbol `square'.
1700 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1702 * mule-charset.c (Qcircle): New variable.
1703 (to_char_code): Add `Qcircle'.
1704 (syms_of_mule_charset): Add new symbol `circle'.
1706 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1708 * mule-charset.c (Qfont): New variable.
1709 (to_char_code): Add `Qfont'.
1710 (syms_of_mule_charset): Add new symbol `font'.
1712 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1714 * mule-charset.c (Qsub): New variable.
1715 (to_char_code): Add `Qsub'.
1716 (syms_of_mule_charset): Add new symbol `sub'.
1718 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1720 * mule-charset.c (Fput_char_attribute): Convert each element of
1721 VALUE to GL position if ATTRIBUTE is a GR-set,
1723 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1725 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1726 coded-charset is a GR-set.
1728 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1730 * mule-charset.c (Fput_char_attribute): Check each element of
1731 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1733 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1735 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1737 (Qethiopic_ucs): New variable in UTF-2000.
1738 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1739 (complex_vars_of_mule_charset): Add new coded-charset
1740 `ethiopic-ucs' in UTF-2000.
1742 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1743 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1745 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1747 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1749 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1751 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1754 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1756 * mule-charset.c (Vcharacter_variant_table): New variable.
1757 (Q_ucs): New variable.
1758 (Fchar_variants): New function.
1759 (Fput_char_attribute): Register `->ucs' value to
1760 `Vcharacter_variant_table'.
1761 (syms_of_mule_charset): Add new function `char-variants' and new
1763 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1765 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1767 * mule-charset.c (get_char_code_table): Allow negative character
1769 (put_char_code_table): Likewise.
1770 (Vcharacter_composition_table): New variable.
1771 (Q_decomposition): New variable.
1772 (Qwide): New variable.
1773 (Qnarrow): New variable.
1774 (Qcompat): New variable.
1775 (QnoBreak): New variable.
1776 (Qsuper): New variable.
1777 (Qfraction): New variable.
1778 (to_char_code): New function.
1779 (Fget_composite_char): New function.
1780 (Fput_char_attribute): Register `->decomposition' value to
1781 `Vcharacter_composition_table'.
1782 (syms_of_mule_charset): Add new function `get-composite-char', new
1783 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1784 `super' and `fraction'.
1785 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1787 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1789 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1790 character; copy the return value.
1792 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1794 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1796 * mule-charset.c (range_charset_code_point): Must use make_int.
1797 (split_builtin_char): New function.
1799 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1801 * mule-charset.c (char_byte_table): Change name from
1802 "char-code-table" to "char-byte-table".
1803 (mark_char_code_table): New function.
1804 (char_code_table_equal): New function.
1805 (char_code_table_hash): New function.
1806 (char_code_table_description): New constant.
1807 (char_code_table): New type.
1808 (make_char_code_table): New function.
1809 (copy_char_code_table): New function.
1810 (get_char_code_table): Modify for `char_code_table' type.
1811 (put_char_code_table): Likewise.
1812 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1815 * char-ucs.h (char_code_table): New type.
1816 (XCHAR_CODE_TABLE): New macro.
1817 (XSETCHAR_CODE_TABLE): New macro.
1818 (CHAR_CODE_TABLE_P): New macro.
1819 (GC_CHAR_CODE_TABLE_P): New macro.
1820 (struct Lisp_Char_Code_Table): New structure.
1822 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1824 * mule-charset.c (Fmake_charset): Setup byte_offset for
1827 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1829 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1832 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1834 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1837 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1839 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1840 charset, it is regarded as a charset.
1841 (put_char_attribute): New function in UTF-2000.
1842 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1843 charset, mapping-table of the charset is modified.
1844 (Fdefine_char): New function in UTF-2000.
1845 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1846 `Fput_char_attribute'.
1847 (syms_of_mule_charset): Add new function `define-char' and new
1848 symbol `ucs' in UTF-2000.
1849 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1851 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1853 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1854 non-UTF-2000 configuration.
1856 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1858 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1859 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1861 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1863 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1864 (Fset_charset_mapping_table): Likewise.
1866 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1867 (CHARSET_ENCODING_TABLE): Delete.
1868 (XCHARSET_ENCODING_TABLE): Delete.
1869 (charset_code_point): New interface.
1871 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1873 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1874 instead of `charset_get_byte1' and `charset_get_byte2'.
1876 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1877 (charset_get_byte2): Deleted.
1879 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1881 * char-ucs.h (SPLIT_CHAR): New inline function.
1882 (breakup_char_1): Use `SPLIT_CHAR'.
1884 * mule-charset.c (range_charset_code_point): New function.
1885 (charset_code_point): New function.
1887 * char-ucs.h (range_charset_code_point): New interface.
1888 (breakup_char_1): Use `range_charset_code_point'.
1890 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1892 * mule-charset.c (Fmake_charset): Delete unused local variable
1895 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1896 (breakup_char_1): Find a charset and code-point in
1897 `Vcharacter_attribute_table'.
1899 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1901 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1904 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1906 * mule-charset.c (Vcharacter_attribute_table): New variable.
1907 (Fchar_attribute_alist): New function.
1908 (Fget_char_attribute): New function.
1909 (Fput_char_attribute): New function.
1910 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1912 (syms_of_mule_charset): Add new function `char-attribute-alist',
1913 `get-char-attribute' and `put-char-attribute'.
1914 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1916 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1918 * mule-charset.c (Fmake_charset): Just use
1919 `get_unallocated_leading_byte'.
1921 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1922 sets; don't use final-byte based number for private sets.
1924 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1926 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1929 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1931 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1934 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1936 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1937 of `CHAR_LEADING_BYTE' in UTF-2000.
1939 * insdel.c (find_charsets_in_bufbyte_string): Use
1940 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1941 (find_charsets_in_emchar_string): Likewise.
1943 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1944 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1946 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1947 (CHAR_CHARSET_ID): New macro.
1949 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1951 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1952 charset-id - MIN_LEADING_BYTE.
1953 (put_char_table): Likewise.
1955 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1957 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1958 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1959 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1960 (CHARSET_ID_OFFSET): New macro.
1961 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1962 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1963 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1964 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1966 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1968 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1969 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1970 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1971 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1972 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1974 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1976 * mule-charset.c (next_allocated_leading_byte): New variable in
1978 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1979 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1980 (get_unallocated_leading_byte): Simply use
1981 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1982 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1985 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1986 (MAX_LEADING_BYTE_PRIVATE): New macro.
1987 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1988 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1990 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1992 * mule-charset.c (Fmake_charset): Allocate final-byte based
1993 charset-id for 94-set, 96-set and 94x94-set.
1995 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1997 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1999 (Fmake_charset): Likewise.
2000 (complex_vars_of_mule_charset): Modify the font registry of
2001 `ucs-bmp' not to match `Ethiopic-Unicode'.
2003 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2005 * mule-charset.c (complex_vars_of_mule_charset): Add font
2006 registory of `ucs-bmp'.
2008 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2010 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2011 coded-charsets in `default-coded-charset-priority-list' when
2012 breaking up a character.
2014 * mule-charset.c (Vcharset_latin_viscii): New variable.
2015 (Qlatin_viscii): New variable.
2016 (make_charset): Don't use `decoding_table'.
2017 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2019 (Fset_charset_mapping_table): New implementation.
2020 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2021 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2022 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2023 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2024 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2025 charset `latin_viscii'.
2027 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2028 (CHARSET_TYPE_94X94): Change to 1 from 2.
2029 (CHARSET_TYPE_96): Change to 2 from 1.
2030 (CHARSET_TYPE_128): New macro.
2031 (CHARSET_TYPE_128X128): Change to 5 from 4.
2032 (CHARSET_TYPE_256): New macro.
2033 (CHARSET_TYPE_256X256): Change to 7 from 5.
2034 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2036 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2038 * text-coding.c (char_encode_shift_jis): Refer
2039 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2040 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2042 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2043 (char_byte_table_equal): New function in UTF-2000.
2044 (char_byte_table_hash): New function in UTF-2000.
2045 (char_byte_table_description): New constant in UTF-2000.
2046 (char_byte_table): New type in UTF-2000.
2047 (make_char_byte_table): New function in UTF-2000.
2048 (copy_char_byte_table): New function in UTF-2000.
2049 (make_char_code_table): New macro in UTF-2000.
2050 (get_char_code_table): New function in UTF-2000.
2051 (put_char_code_table): New function in UTF-2000.
2052 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2053 (charset_description): Add setting in UTF-2000.
2054 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2055 `CHARSET_TO_BYTE1_TABLE(cs)'.
2056 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2057 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2058 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2059 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2060 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2061 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2062 `CHARSET_TO_BYTE2_TABLE(cs)'.
2064 * char-ucs.h (char_byte_table): New type.
2065 (XCHAR_BYTE_TABLE): New macro.
2066 (XSETCHAR_BYTE_TABLE): New macro.
2067 (CHAR_BYTE_TABLE_P): New macro.
2068 (GC_CHAR_BYTE_TABLE_P): New macro.
2069 (struct Lisp_Char_Byte_Table): New structure.
2070 (get_char_code_table): New interface.
2071 (Emchar_to_byte_table): Deleted.
2072 (get_byte_from_character_table): Deleted.
2073 (struct Lisp_Charset): Add `encoding_table'; delete
2074 `to_byte1_table' and `to_byte2_table'.
2075 (CHARSET_ENCODING_TABLE): New macro.
2076 (CHARSET_TO_BYTE1_TABLE): Deleted.
2077 (CHARSET_TO_BYTE2_TABLE): Deleted.
2078 (XCHARSET_ENCODING_TABLE): New macro.
2079 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2080 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2082 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2084 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2085 `vietnamese-viscii-*'.
2087 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2089 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2090 (Qvietnamese_viscii_upper): New variable.
2091 (Fdefine_charset_alias): New function.
2092 (syms_of_mule_charset): Add new function `define-charset-alias'.
2093 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2094 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2097 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2099 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2100 (MAX_CHAR_OBS_94x94): New macro.
2101 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2104 * mule-charset.c (put_byte_from_character_table): Change unit size
2106 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2108 (Fmake_reverse_direction_charset): Modify dummy argument of
2109 `make_charset' for non-UTF-2000 environment.
2111 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2113 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2115 * mule-charset.c (destroy_byte_from_character_table): New macro.
2116 (latin_jisx0201_to_ucs): Deleted.
2117 (latin_iso8859_2_to_ucs): Deleted.
2118 (latin_iso8859_3_to_ucs): Deleted.
2119 (latin_iso8859_4_to_ucs): Deleted.
2120 (latin_iso8859_9_to_ucs): Deleted.
2121 (latin_viscii_lower_to_ucs): Deleted.
2122 (latin_viscii_upper_to_ucs): Deleted.
2123 (mark_charset): Mark `cs->decoding_table'.
2124 (Fcharset_mapping_table): Fix DOC-string.
2125 (Fset_charset_mapping_table): New function.
2126 (syms_of_mule_charset): Add nwe function
2127 `set-charset-mapping-table'.
2128 (complex_vars_of_mule_charset): Don't setup and use
2131 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2133 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2136 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2138 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2139 (Vcharset_katakana_jisx0208): New variable.
2140 (Qhiragana_jisx0208): New variable.
2141 (Qkatakana_jisx0208): New variable.
2142 (make_charset): Add new argument `byte_offset'.
2143 (charset_get_byte1): Modify for new coded-charset definition; use
2144 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2145 `XCHARSET_BYTE_OFFSET'.
2146 (Fmake_charset): Modify for `make_charset'.
2147 (Fmake_reverse_direction_charset): Likewise.
2148 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2149 `katakana-jisx0208'.
2150 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2151 `.' in font registry of charset `katakana-jisx0201',
2152 `latin-jisx0201', `vietnamese-viscii-lower' and
2153 `vietnamese-viscii-upper'; modify DOC-string of charset
2154 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2155 registry of charset `japanese-jisx0208' not to use font for JIS
2156 X0208:1990; add new charset `hiragana-jisx0208' and
2157 `katakana-jisx0208'.
2159 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2160 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2161 (struct Lisp_Charset): Add `byte_offset'.
2162 (CHARSET_BYTE_OFFSET): New macro.
2163 (XCHARSET_UCS_MIN): New macro.
2164 (XCHARSET_UCS_MAX): New macro.
2165 (XCHARSET_CODE_OFFSET): New macro.
2166 (XCHARSET_BYTE_OFFSET): New macro.
2167 (MIN_CHAR_HIRAGANA): New macro.
2168 (MAX_CHAR_HIRAGANA): New macro.
2169 (MIN_CHAR_KATAKANA): New macro.
2170 (MAX_CHAR_KATAKANA): New macro.
2171 (MAKE_CHAR): Modify for new coded-charset definition; use
2172 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2173 `XCHARSET_BYTE_OFFSET'.
2175 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2177 * mule-charset.c (CHAR96): Deleted.
2178 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2180 (latin_iso8859_2_to_ucs): Likewise.
2181 (latin_iso8859_3_to_ucs): Likewise.
2182 (latin_iso8859_4_to_ucs): Likewise.
2183 (latin_iso8859_9_to_ucs): Likewise.
2184 (latin_viscii_lower_to_ucs): Likewise.
2185 (latin_viscii_upper_to_ucs): Likewise.
2186 (latin_tcvn5712_to_ucs): Commented out.
2187 (make_charset): Change type of argument `decoding_table' from
2188 <Emchar*> to <Lisp_Object> [vector of characters].
2189 (Fmake_charset): Modify for `make_charset'.
2190 (Fmake_reverse_direction_charset): Likewise.
2191 (Fcharset_mapping_table): New function in UTF-2000.
2192 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2194 (complex_vars_of_mule_charset): Modify for type change of
2195 `*_to_ucs'; modify for `make_charset'.
2197 * char-ucs.h (struct Lisp_Charset): Change type of
2198 `decoding_table' from <Emchar*> to <Lisp_Object>.
2199 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2201 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2203 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2204 error with non-UTF-2000-Mule.
2206 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2208 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2210 (Vcharset_chinese_cns11643_4): Likewise.
2211 (Vcharset_chinese_cns11643_5): Likewise.
2212 (Vcharset_chinese_cns11643_6): Likewise.
2213 (Vcharset_chinese_cns11643_7): Likewise.
2214 (Qchinese_cns11643_3): Likewise.
2215 (Qchinese_cns11643_4): Likewise.
2216 (Qchinese_cns11643_5): Likewise.
2217 (Qchinese_cns11643_6): Likewise.
2218 (Qchinese_cns11643_7): Likewise.
2219 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2220 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2221 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2222 (complex_vars_of_mule_charset): Likewise.
2224 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2226 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2228 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2229 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2231 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2233 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2235 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2236 (breakup_char_1): Likewise.
2238 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2239 one of them includes the specified character.
2241 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2243 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2245 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2247 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2249 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2251 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2252 definition for non-UTF-2000 Mule.
2253 (latin_iso8859_3_to_ucs): Likewise.
2254 (latin_iso8859_4_to_ucs): Likewise.
2255 (latin_iso8859_9_to_ucs): Likewise.
2256 (latin_jisx0201_to_ucs): Likewise.
2257 (MIN_CHAR_THAI): Likewise.
2258 (MAX_CHAR_THAI): Likewise.
2259 (MIN_CHAR_GREEK): Likewise.
2260 (MAX_CHAR_GREEK): Likewise.
2261 (MIN_CHAR_HEBREW): Likewise.
2262 (MAX_CHAR_HEBREW): Likewise.
2263 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2264 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2265 (MIN_CHAR_CYRILLIC): Likewise.
2266 (MAX_CHAR_CYRILLIC): Likewise.
2268 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2270 * char-ucs.h (breakup_char_1): Use
2271 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2272 thai-tis620 and katakana-jisx0201 area.
2274 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2276 * char-ucs.h (breakup_char_1): Use
2277 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2280 * text-coding.c (reset_encoding_stream): Fixed.
2281 (char_encode_ucs4): Delete `& 255'.
2283 * char-ucs.h (breakup_char_1): Use
2284 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2286 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2288 * file-coding.c (Fmake_coding_system): Don't set up
2289 `codesys->fixed.size'.
2290 (encode_coding_no_conversion): Don't refer
2291 `str->codesys->fixed.size'.
2293 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2295 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2296 (latin_a_char_to_byte1): Deleted.
2297 (latin_a_char_to_byte2): Deleted.
2299 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2301 * mule-charset.c (make_charset): Add new argument `ucs_min',
2302 `ucs_max' and `code_offset'.
2303 (charset_get_byte1): New implementation [delete specific charset
2304 depended implementations].
2305 (Fmake_charset): Modify for `make_charset'.
2306 (Fmake_reverse_direction_charset): Likewise.
2307 (complex_vars_of_mule_charset): Likewise.
2309 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2311 (CHARSET_UCS_MIN): New macro.
2312 (CHARSET_UCS_MAX): New macro.
2313 (CHARSET_CODE_OFFSET): New macro.
2314 (MAKE_CHAR): Delete charset depended definitions [except
2317 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2319 * char-ucs.h (breakup_char_1): Use
2320 `Vdefault_coded_charset_priority_list' for C0-Controls,
2321 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2323 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2325 * char-ucs.h (charset_get_byte1): New function.
2326 (XCHARSET_GET_BYTE1): Deleted.
2327 (charset_get_byte2): New function.
2328 (XCHARSET_GET_BYTE2): Deleted.
2329 (Vdefault_coded_charset_priority_list): New external variable.
2330 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
2331 `Vdefault_preferred_coded_charset_list'.
2333 * mule-charset.c (charset_get_byte1): New function.
2334 (charset_get_byte2): New function.
2335 (Vdefault_coded_charset_priority_list): New variable.
2336 (vars_of_mule_charset): Add new variable
2337 `default-coded-charset-priority-list'.
2339 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2341 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
2342 (XCHARSET_GET_BYTE2): New inline function.
2343 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
2344 `XCHARSET_GET_BYTE2'.
2346 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2348 * mule-charset.c (make_charset): Initialize
2349 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
2350 NULL if table is not defined.
2352 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2354 * text-coding.c (char_encode_shift_jis): Use
2355 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
2356 `ucs_to_latin_jisx0201'.
2358 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
2359 (ucs_to_latin_iso8859_2): Deleted.
2360 (ucs_to_latin_iso8859_3): Deleted.
2361 (ucs_to_latin_iso8859_4): Deleted.
2362 (ucs_to_latin_iso8859_9): Deleted.
2363 (ucs_to_latin_viscii_lower): Deleted.
2364 (ucs_to_latin_viscii_upper): Deleted.
2365 (ucs_to_latin_tcvn5712): Deleted.
2366 (make_charset): Add new argument `decoding_table'; set up
2367 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
2368 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
2369 `decoding_table' is defined in UTF-2000.
2370 (Fmake_charset): Modify for `make_charset'.
2371 (Fmake_reverse_direction_charset): Likewise.
2372 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
2373 and `GENERATE_96_SET'.
2375 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
2376 (ucs_to_latin_jisx0201): Deleted.
2377 (latin_iso8859_2_to_ucs): Deleted.
2378 (ucs_to_latin_iso8859_2): Deleted.
2379 (latin_iso8859_3_to_ucs): Deleted.
2380 (ucs_to_latin_iso8859_3): Deleted.
2381 (latin_iso8859_4_to_ucs): Deleted.
2382 (ucs_to_latin_iso8859_4): Deleted.
2383 (latin_iso8859_9_to_ucs): Deleted.
2384 (ucs_to_latin_iso8859_9): Deleted.
2385 (latin_viscii_lower_to_ucs): Deleted.
2386 (ucs_to_latin_viscii_lower): Deleted.
2387 (latin_viscii_upper_to_ucs): Deleted.
2388 (ucs_to_latin_viscii_upper): Deleted.
2389 (struct Lisp_Charset): Renamed `encoding_table' to
2390 `to_byte1_table'; add `to_byte2_table'.
2391 (CHARSET_DECODING_TABLE): New macro.
2392 (CHARSET_TO_BYTE1_TABLE): New macro.
2393 (CHARSET_TO_BYTE2_TABLE): New macro.
2394 (XCHARSET_DECODING_TABLE): New macro.
2395 (XCHARSET_TO_BYTE1_TABLE): New macro.
2396 (XCHARSET_TO_BYTE2_TABLE): New macro.
2397 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
2399 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
2400 don't use `ucs_to_*' tables.
2402 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2404 * text-coding.c (Fmake_coding_system): Don't set up
2405 `codesys->fixed.size'.
2406 (encode_coding_no_conversion): Use `if' instead of `switch'.
2408 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
2410 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2412 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
2413 (Fmake_charset): Modify for `make_charset'.
2414 (Fmake_reverse_direction_charset): Likewise.
2415 (complex_vars_of_mule_charset): Likewise.
2417 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2419 * text-coding.c (char_encode_shift_jis): Use table
2420 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
2422 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2424 * text-coding.c (text_encode_generic): Use `if' instead of
2426 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
2429 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2431 * text-coding.c (encode_coding_sjis): Deleted.
2432 (char_encode_shift_jis): New function.
2433 (char_finish_shift_jis): New function.
2434 (reset_encoding_stream): Set up `encode_char' and `finish' for
2435 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
2436 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
2437 (char_encode_utf8): Treat `eol_type'.
2439 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2441 * file-coding.c (decode_coding_iso2022): Use
2442 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
2444 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2446 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2449 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2451 * char-lb.h (CHAR_COLUMNS): New macro.
2453 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2455 * text-coding.c (char_encode_ucs4): New function.
2456 (char_finish_ucs4): New function.
2457 (encode_coding_ucs4): Deleted.
2458 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
2459 (text_encode_generic): Delete local variable `charset' and `half'.
2460 (ucs_to_mule_table): Deleted.
2461 (mule_to_ucs_table): Deleted.
2462 (Fset_ucs_char): Deleted.
2463 (ucs_to_char): Deleted.
2464 (Fucs_char): Deleted.
2465 (Fset_char_ucs): Deleted.
2466 (Fchar_ucs): Deleted.
2467 (decode_ucs4): Deleted.
2468 (mule_char_to_ucs4): Deleted.
2469 (encode_ucs4): Deleted.
2470 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
2471 (decode_coding_utf8): Likewise.
2472 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2473 (char_encode_iso2022): Fixed.
2474 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2475 `Fset_char_ucs' and `Fchar_ucs'.
2476 (complex_vars_of_file_coding): Don't initialize
2477 `ucs_to_mule_table'.
2479 * objects-tty.c (tty_initialize_font_instance): Don't use
2482 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2485 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2486 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2488 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2489 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2490 (emchar_string_displayed_columns): Likewise.
2492 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2493 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2494 (string_column_at_point): Likewise.
2495 (Fmove_to_column): Likewise.
2497 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2498 `encoding_table' and `decoding_table'.
2499 (CHARSET_REP_BYTES): Deleted.
2500 (XCHARSET_REP_BYTES): Deleted.
2501 (XCHARSET_COLUMNS): Deleted.
2502 (CHAR_COLUMNS): New macro.
2503 (lookup_composite_char): Deleted unconditionally.
2504 (composite_char_string): Likewise.
2506 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2508 * char-ucs.h (Emchar_to_byte_table): New type.
2509 (get_byte_from_character_table): New function interface.
2510 (Vcharset_latin_jisx0201): New variable.
2511 (latin_jisx0201_to_ucs): New variable.
2512 (ucs_to_latin_jisx0201): New variable.
2513 (Vcharset_latin_iso8859_2): New variable.
2514 (latin_iso8859_2_to_ucs): New variable.
2515 (ucs_to_latin_iso8859_2): New variable.
2516 (Vcharset_latin_iso8859_3): New variable.
2517 (latin_iso8859_3_to_ucs): New variable.
2518 (ucs_to_latin_iso8859_3): New variable.
2519 (Vcharset_latin_iso8859_4): New variable.
2520 (latin_iso8859_4_to_ucs): New variable.
2521 (ucs_to_latin_iso8859_4): New variable.
2522 (Vcharset_latin_iso8859_9): New variable.
2523 (latin_iso8859_9_to_ucs): New variable.
2524 (ucs_to_latin_iso8859_9): New variable.
2525 (Vcharset_latin_viscii_lower): New variable.
2526 (latin_viscii_lower_to_ucs): New variable.
2527 (ucs_to_latin_viscii_lower): New variable.
2528 (Vcharset_latin_viscii_upper): New variable.
2529 (latin_viscii_upper_to_ucs): New variable.
2530 (ucs_to_latin_viscii_upper): New variable.
2531 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2532 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2533 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2534 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2535 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2536 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2537 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2538 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2539 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2540 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2542 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2543 (Vcharset_latin_viscii_upper): New variable.
2544 (make_byte_from_character_table): New function.
2545 (put_byte_from_character_table): New function.
2546 (get_byte_from_character_table): New function.
2547 (CHAR96): New macro.
2548 (ucs_to_latin_jisx0201): New variable.
2549 (latin_jisx0201_to_ucs): New variable.
2550 (ucs_to_latin_iso8859_2): New variable.
2551 (latin_iso8859_2_to_ucs): New variable.
2552 (ucs_to_latin_iso8859_3): New variable.
2553 (latin_iso8859_3_to_ucs): New variable.
2554 (ucs_to_latin_iso8859_4): New variable.
2555 (latin_iso8859_4_to_ucs): New variable.
2556 (ucs_to_latin_iso8859_9): New variable.
2557 (latin_iso8859_9_to_ucs): New variable.
2558 (ucs_to_latin_viscii_lower): New variable.
2559 (latin_viscii_lower_to_ucs): New variable.
2560 (ucs_to_latin_viscii_upper): New variable.
2561 (latin_viscii_upper_to_ucs): New variable.
2562 (ucs_to_latin_tcvn5712): New variable.
2563 (latin_tcvn5712_to_ucs): New variable.
2564 (Qlatin_viscii_lower): New variable.
2565 (Qlatin_viscii_upper): New variable.
2566 (syms_of_mule_charset): Set up new symbol
2567 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2568 (complex_vars_of_mule_charset): Set up new charset
2569 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2570 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2571 `ucs_to_<CHARSET>' tables.
2573 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2575 * text-coding.c: New file.
2577 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2579 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2581 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2582 (MAKE_CHAR): Modify for `ucs-bmp'.
2583 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2584 non-MULE characters of BMP.
2586 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2588 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2591 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2594 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2595 - Include character.h for `CHAR_ASCII_P'.
2597 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2599 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2600 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2602 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2603 (BYTE_C0_P): Likewise.
2604 (BYTE_C1_P): Likewise.
2605 (Lstream_get_emchar_1): Likewise.
2606 (Lstream_fput_emchar): Likewise.
2607 (Lstream_funget_emchar): Likewise.
2608 (copy_internal_to_external): Likewise.
2609 (copy_external_to_internal): Likewise.
2611 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2612 (BYTE_C0_P): Likewise.
2613 (BYTE_C1_P): Likewise.
2614 (Lstream_get_emchar_1): Likewise.
2615 (Lstream_fput_emchar): Likewise.
2616 (Lstream_funget_emchar): Likewise.
2617 (copy_internal_to_external): Likewise.
2618 (copy_external_to_internal): Likewise.
2620 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2621 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2623 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2624 (BYTE_ASCII_P): Moved to mb-1byte.h.
2626 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2628 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2630 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2631 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2632 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2633 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2634 (VALIDATE_CHARPTR_FORWARD): Likewise.
2635 (simple_charptr_emchar): Moved to mb-multibyte.h.
2636 (simple_set_charptr_emchar): Likewise.
2637 (simple_charptr_copy_char): Likewise.
2638 (non_ascii_charptr_emchar): Likewise.
2639 (non_ascii_set_charptr_emchar): Likewise.
2640 (non_ascii_charptr_copy_char): Likewise.
2641 (charptr_emchar): Moved to mb-*byte.h.
2642 (set_charptr_emchar): Likewise.
2643 (charptr_copy_char): Likewise.
2645 * mb-1byte.h, mb-multibyte.h: New files.
2647 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2649 * mb-utf-8.h (MULTIBYTE): New macro.
2650 (MAX_EMCHAR_LEN): Moved from buffer.h.
2651 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2653 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2655 * mb-lb.h, multibyte.h: New files.
2657 * char-1byte.h (Charset_ID): Moved from buffer.h.
2658 (MIN_LEADING_BYTE): Likewise.
2659 (LEADING_BYTE_ASCII): Likewise.
2660 (NUM_LEADING_BYTES): Likewise.
2661 (CHARSETP): Likewise.
2662 (CHARSET_BY_LEADING_BYTE): Likewise.
2663 (XCHARSET_LEADING_BYTE): Likewise.
2664 (XCHARSET_GRAPHIC): Likewise.
2665 (XCHARSET_COLUMNS): Likewise.
2666 (XCHARSET_DIMENSION): Likewise.
2667 (CHAR_CHARSET): Likewise.
2668 (CHAR_LEADING_BYTE): Likewise.
2669 (BREAKUP_CHAR): Likewise.
2670 (Vcharset_ascii): Likewise.
2672 * buffer.h: Include multibyte.h unconditionally.
2673 (VALID_CHARPTR_P): Moved to multibyte.h.
2674 (ASSERT_VALID_CHARPTR): Likewise.
2675 (REAL_INC_CHARPTR): Likewise.
2676 (REAL_INC_CHARBYTIND): Likewise.
2677 (REAL_DEC_CHARPTR): Likewise.
2678 (INC_CHARPTR): Likewise.
2679 (INC_CHARBYTIND): Likewise.
2680 (DEC_CHARPTR): Likewise.
2681 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2682 (VALIDATE_CHARPTR_FORWARD): Likewise.
2683 (charptr_n_addr): Likewise.
2684 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2685 (simple_charptr_emchar): Moved to multibyte.h.
2686 (simple_set_charptr_emchar): Likewise.
2687 (simple_charptr_copy_char): Likewise.
2688 (non_ascii_charptr_emchar): Likewise.
2689 (non_ascii_set_charptr_emchar): Likewise.
2690 (non_ascii_charptr_copy_char): Likewise.
2691 (charptr_emchar): Likewise.
2692 (set_charptr_emchar): Likewise.
2693 (charptr_copy_char): Likewise.
2694 (charptr_emchar_n): Likewise.
2695 (Charset_ID): Moved to char-1byte.h.
2696 (Vcharset_ascii): Likewise.
2697 (CHAR_CHARSET): Likewise.
2698 (CHAR_LEADING_BYTE): Likewise.
2699 (LEADING_BYTE_ASCII): Likewise.
2700 (NUM_LEADING_BYTES): Likewise.
2701 (MIN_LEADING_BYTE): Likewise.
2702 (CHARSETP): Likewise.
2703 (CHARSET_BY_LEADING_BYTE): Likewise.
2704 (XCHARSET_LEADING_BYTE): Likewise.
2705 (XCHARSET_GRAPHIC): Likewise.
2706 (XCHARSET_COLUMNS): Likewise.
2707 (XCHARSET_DIMENSION): Likewise.
2708 (BREAKUP_CHAR): Likewise.
2710 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2712 * character.h: Add document about interface for characters.
2714 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2715 (MAKE_CHAR): Delete comment about
2716 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2717 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2718 (BREAKUP_CHAR): Modify name of arguments.
2719 (CHAR_CHARSET): Modify name of argument.
2721 * buffer.h: Delete document about Emchar accessors.
2723 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2725 * character.h (CHAR_INTP): Moved from buffer.h
2726 (CHAR_OR_CHAR_INTP): Likewise.
2727 (XCHAR_OR_CHAR_INT): Likewise.
2728 (CHECK_CHAR_COERCE_INT): Likewise.
2730 * buffer.h (CHAR_INTP): Moved to character.h
2731 (CHAR_OR_CHAR_INTP): Likewise.
2732 (XCHAR_OR_CHAR_INT): Likewise.
2733 (CHECK_CHAR_COERCE_INT): Likewise.
2735 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2738 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2739 - Include char-1byte.h, char-lb.h or char-ucs.h.
2741 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2743 * buffer.h: Include character unconditionally.
2744 (valid_char_p): Moved to char-*.h.
2745 (non_ascii_valid_char_p): Moved to char-lb.h.
2747 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2749 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2751 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2752 in UTF-2000 because it is not ported yet and not to use
2753 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2754 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2755 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2757 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2758 (CHAR_ASCII_P): Moved from character.h.
2760 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2761 (CHAR_ASCII_P): Likewise.
2762 (CHAR_FIELD1_MASK): Deleted.
2763 (CHAR_FIELD2_MASK): Deleted.
2764 (CHAR_FIELD3_MASK): Deleted.
2765 (MAX_CHAR_BASIC_LATIN): New macro.
2766 (CHAR_FIELD1): Deleted.
2767 (CHAR_FIELD2_INTERNAL): Deleted.
2768 (CHAR_FIELD3_INTERNAL): Deleted.
2769 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2770 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2771 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2772 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2773 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2774 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2775 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2776 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2777 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2778 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2779 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2780 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2781 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2782 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2783 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2784 (MIN_CHAR_COMPOSITION): Deleted.
2785 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2786 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2788 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2790 * buffer.h: Include mb-utf-8.h in UTF-2000.
2792 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2794 * mb-utf-8.h: New file.
2796 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2798 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2801 * mule-charset.h, buffer.h (Charset_ID): New type.
2803 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2805 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2806 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2807 instead of `MULE_CHAR_PRIVATE_OFFSET',
2808 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2809 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2810 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2812 * character.h (Vcharset_japanese_jisx0212): New variable
2815 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2817 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2818 (charset_by_attributes): Delete array about direction.
2819 (latin_a_char_to_charset): New variable in UTF-2000.
2820 (latin_a_char_to_byte1): New variable in UTF-2000.
2821 (latin_a_char_to_byte2): New variable in UTF-2000.
2822 (Qucs_bmp): New variable.
2823 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2825 (next_allocated_2_byte_leading_byte): Likewise.
2826 (non_ascii_set_charptr_emchar): Likewise.
2827 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2828 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2829 `charset_by_attributes'.
2830 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2831 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2832 and `CHARSET_BY_LEADING_BYTE'.
2833 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2834 `utf-2000-version' to `vars_of_mule_charset'.
2835 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2836 define `leading-code-private-11' in UTF-2000; move setting of
2837 `utf-2000-version' from `syms_of_mule_charset'.
2838 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2841 * character.h (Charset_ID): New type.
2842 (LEADING_BYTE_UCS_BMP): New macro.
2843 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2844 (CHARSET_ID_OFFSET_94): New macro.
2845 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2846 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2847 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2849 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2850 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2851 (CHARSET_ID_OFFSET_96): New macro.
2852 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2853 CHARSET_ID_OFFSET_96 and final-byte.
2854 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2855 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2856 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2857 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2858 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2859 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2860 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2861 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2862 (LEADING_BYTE_THAI_TIS620): Likewise.
2863 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2864 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2865 (CHARSET_ID_OFFSET_94x94): New macro.
2866 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2867 CHARSET_ID_OFFSET_94x94 and final-byte.
2868 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2869 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2870 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2871 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2872 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2873 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2874 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2875 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2876 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2877 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2878 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2879 (CHARSET_TYPE_128X128): New macro.
2880 (CHARSET_TYPE_256X256): New macro.
2881 (XCHARSET_PRIVATE_P): Delete unconditionally.
2882 (charset_by_attributes): Delete array about direction.
2883 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2884 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2885 (MIN_CHAR_94): New macro.
2886 (MAX_CHAR_94): New macro.
2887 (MIN_CHAR_96): New macro.
2888 (MAX_CHAR_96): New macro.
2889 (MIN_CHAR_94x94): New macro.
2890 (MAX_CHAR_94x94): New macro.
2891 (MIN_CHAR_96x96): New macro.
2892 (MAX_CHAR_96x96): New macro.
2893 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2894 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2895 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2897 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2898 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2899 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2900 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2901 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2902 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2903 `XCHARSET_LEADING_BYTE' to make code-point.
2904 (latin_a_char_to_charset): New variable.
2905 (latin_a_char_to_byte1): New variable.
2906 (latin_a_char_to_byte2): New variable.
2907 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2908 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2909 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2911 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2912 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2913 (find_charsets_in_emchar_string): Likewise.
2914 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2916 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2918 (decode_coding_iso2022): Likewise.
2920 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2923 * redisplay.c (redisplay_text_width_emchar_string): Use
2924 `Charset_ID' instead of `unsigned char'.
2925 (redisplay_frame_text_width_string): Likewise.
2927 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2930 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2931 instead of `unsigned char'.
2932 (face_cachel_charset_font_metric_info): Likewise.
2934 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2935 (get_non_ascii_char_table_value): Likewise.
2936 (get_char_table): Likewise.
2937 (put_char_table): Likewise.
2938 (map_over_other_charset): Likewise.
2939 (map_char_table): Likewise.
2941 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2942 instead of `unsigned char'.
2944 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2946 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2947 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2949 * mule-charset.c (leading_code_private_11): Don't define in
2952 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2953 in UTF-2000 because it is not ported yet and not to use
2954 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2956 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2958 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2960 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2962 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2965 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2966 of unsigned char to store leading-byte.
2968 * chartab.c (get_non_ascii_char_table_value): Don't use
2969 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2971 * file-coding.c (encode_coding_big5): Delete bogus implementation
2974 * character.h (LEADING_BYTE_*): Delete definition for
2976 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2977 (LEADING_BYTE_PREFIX_P): Deleted.
2978 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2979 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2980 (BUFBYTE_LEADING_BYTE_P): Deleted.
2981 (CHARSET_PRIVATE_P): Deleted unconditionally.
2982 (rep_bytes_by_first_byte): Deleted unconditionally.
2983 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2984 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2985 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2986 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2987 (CHAR_FIELD2): Deleted.
2988 (CHAR_FIELD3): Deleted.
2989 (MAKE_CHAR): Delete definition for non-UTF-2000.
2990 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2991 (breakup_char_1): New implementation.
2992 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2993 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2995 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2997 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3000 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3002 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3003 (CHARSET_PRIVATE_P): Likewise.
3004 (XCHARSET_PRIVATE_P): Likewise.
3005 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3007 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3009 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3011 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3013 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3014 (NUM_LEADING_BYTES): Changed from 128 to 256.
3015 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3016 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3018 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3020 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3022 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3023 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3024 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3025 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3026 (Qchinese_cns11643_3): New variable in UTF2000.
3027 (Qchinese_cns11643_4): New variable in UTF2000.
3028 (Qchinese_cns11643_5): New variable in UTF2000.
3029 (Qchinese_cns11643_6): New variable in UTF2000.
3030 (Qchinese_cns11643_7): New variable in UTF2000.
3031 (syms_of_mule_charset): Define `chinese-cns11643-3',
3032 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3033 and `chinese-cns11643-7' in UTF2000.
3034 (vars_of_mule_charset): Initialize
3035 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3037 (complex_vars_of_mule_charset): Setup charset
3038 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3039 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3041 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3043 * mule-charset.c: Move setting for `leading-code-private-11' from
3044 `syms_of_mule_charset' to `vars_of_mule_charset'.
3046 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3048 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3049 and `NUM_LEADING_BYTES' in assert.
3051 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3053 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3055 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3056 `NUM_LEADING_BYTES' instead of 128.
3058 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3060 * mule-charset.h (charset_by_leading_byte): Use
3061 `NUM_LEADING_BYTES' instead of 128.
3062 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3064 * mule-charset.c (charset_by_leading_byte): Use
3065 `NUM_LEADING_BYTES' instead of 128.
3066 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3068 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3071 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3073 * mule-charset.c (syms_of_mule_charset): Update to
3076 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3078 * file-coding.c (encode_coding_sjis): New implementation for
3079 UTF2000. (decode_coding_sjis): Ditto.
3081 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3083 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3084 Don't define in UTF2000.
3086 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3089 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3090 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3093 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3095 * config.h.in (CHAR_IS_UCS4): New macro.
3097 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3098 conventional MULE representation.
3099 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3101 * mule-charset.h: Reverted to original.
3103 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3104 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3105 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3107 * character.h: New file.
3109 * file-coding.c (Fmake_coding_system): Set 1 to
3110 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3112 (encode_coding_no_conversion): New implementation for UTF2000.
3114 * file-coding.h (struct Lisp_Coding_System): Add new member
3117 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3119 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3120 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3121 (encode_coding_iso2022): New implementation for UTF2000.
3123 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3125 * mule-canna.c (c2mu): New implementation for UTF2000.
3128 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3130 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3132 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3134 * file-coding.c (reset_encoding_stream): Set 0 to
3135 `str->iso2022.current_char_boundary' in UTF2000.
3136 (encode_utf8): Don't define in UTF2000.
3137 (encode_coding_utf8): New implementation for UTF-8 representation
3139 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3141 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3143 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3145 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3147 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3149 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3151 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3152 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3153 as UTF-8 in UTF2000.
3154 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3155 (non_ascii_valid_char_p): Don't define in UTF2000.
3156 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3157 (Lstream_get_emchar_1): Likewise.
3158 (utf-2000-version): New variable in UTF2000.
3160 * lread.c (read_escape): Add new reader `u'.
3162 * insdel.c (three_to_one_table): Don't define in UTF2000.
3163 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3164 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3166 (bytind_to_bufpos_func): Likewise.
3167 (buffer_mule_signal_inserted_region): Likewise.
3168 (vars_of_insdel): Don't initialize `three_to_one_table'.
3169 (init_buffer_text): Use `buf->text->mule_size' instead of
3170 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3173 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3174 UTF-8 representation in UTF2000.
3175 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3176 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3177 (decode_coding_iso2022): Don't define local variable `lb' in
3178 UTF2000; don't use LEADING_BYTE in UTF2000; use
3179 `DECODE_ADD_UCS_CHAR' in UTF2000.
3180 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3182 * config.h.in (UTF2000): New macro.
3184 * buffer.h (struct buffer_text): Add new member `mule_size' and
3185 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3186 (valid_char_p): Return always 1 in UTF2000.
3187 (MAX_EMCHAR_LEN): 6 in UTF2000.
3188 (three_to_one_table): Don't define in UTF2000.
3189 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3191 (real_bytind_to_bufpos): Likewise.
3193 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3195 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3197 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3198 representation change.
3199 (Vutf_2000_version): New variable.
3200 (leading_code_private_11): New variable.
3201 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3202 `leading-code-private-11'.
3204 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3205 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3206 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3207 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3208 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3209 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3210 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3211 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3212 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3213 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3214 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3215 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3216 (MIN_CHAR_GREEK): New macro.
3217 (MAX_CHAR_GREEK): New macro.
3218 (MIN_CHAR_CYRILLIC): New macro.
3219 (MAX_CHAR_CYRILLIC): New macro.
3220 (MIN_CHAR_HEBREW): New macro.
3221 (MAX_CHAR_HEBREW): New macro.
3222 (MIN_CHAR_THAI): New macro.
3223 (MAX_CHAR_THAI): New macro.
3224 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3225 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3226 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3227 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3228 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3229 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3230 (CHAR_FIELD2): New inline function.
3231 (CHAR_FIELD3): New inline function.
3232 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3233 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3234 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3235 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3236 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3237 (MIN_CHAR_COMPOSITION): Likewise.
3238 (CHAR_LEADING_BYTE): Modified for character representation change.
3239 (MAKE_CHAR): Likewise.
3241 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3242 (Vcharset_greek_iso8859_7): Likewise.
3243 (Vcharset_cyrillic_iso8859_5): Likewise.
3244 (Vcharset_hebrew_iso8859_8): Likewise.
3245 (Vcharset_thai_tis620): Likewise.
3246 (Vcharset_katakana_jisx0201): Likewise.
3248 2001-01-17 Martin Buchholz <martin@xemacs.org>
3250 * XEmacs 21.2.41 "Polyhymnia" is released.
3252 2001-01-16 Didier Verna <didier@xemacs.org>
3254 * glyphs.c (image_instantiate): don't use fallbacks when
3255 instantiating a face's background pixmap by inheritance.
3257 2001-01-14 Mike Sperber <mike@xemacs.org>
3259 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
3260 Conditionalize accordingly.
3262 2001-01-16 Martin Buchholz <martin@xemacs.org>
3264 * dumper.c (pdump_file_get): Fix a compiler warning.
3266 2001-01-15 Martin Buchholz <martin@xemacs.org>
3268 Make Purify happy when pdumping.
3269 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
3270 iniitalizing all bits of new lisp object memory.
3271 * symbols.c (Fmake_local_variable): Likewise.
3272 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
3273 * symbols.c (Fdefvaralias): Likewise.
3274 * mule-charset.c (vars_of_mule_charset): Likewise.
3276 2001-01-15 Martin Buchholz <martin@xemacs.org>
3277 Add the `-nd' flag when running pre-dump operations under the debugger.
3278 * .dbxrc (run-temacs): Add `-nd'.
3279 * .dbxrc (update-elc): Likewise.
3280 * .dbxrc (dump-temacs): Likewise.
3281 * .gdbinit (run-temacs): Likewise.
3282 * .gdbinit (check-temacs): Likewise.
3283 * .gdbinit (update-elc): Likewise.
3284 * .gdbinit (dump-temacs): Likewise.
3286 2001-01-14 Martin Buchholz <martin@xemacs.org>
3288 Allow building 64-bit executables on AIX with GNU malloc, e.g.
3289 export OBJECT_MODE=64
3290 configure --pdump --use-union-type=no
3291 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
3292 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
3294 * miscplay.c (sndcnv8U_2mono):
3295 Avoid two uses of `++' in the same expression.
3296 Suppresses a GCC warning.
3298 2001-01-13 Martin Buchholz <martin@xemacs.org>
3300 Make sure future compilers don't miscompile alloc.c.
3302 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
3303 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
3305 2001-01-12 Martin Buchholz <martin@xemacs.org>
3307 * dumper.c: A little post-pdump-rename comment fixup.
3309 2001-01-09 Jerry James <james@eecs.ku.edu>
3311 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
3313 2001-01-13 Martin Buchholz <martin@xemacs.org>
3315 * *.[ch]: Globally rename symbols using the following `pdump-rename'
3319 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
3322 replace_symbol pdump_wire_lists pdump_weak_object_chains
3323 replace_symbol pdump_wire_list dump_add_weak_object_chain
3325 replace_symbol pdump_wires pdump_root_objects
3326 replace_symbol pdump_wire dump_add_root_object
3328 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
3329 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
3331 replace_symbol dumpstructinfos pdump_root_struct_ptrs
3332 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
3333 replace_symbol dumpstructinfo pdump_root_struct_ptr
3334 replace_symbol dumpstruct dump_add_root_struct_ptr
3336 replace_symbol dumpopaque dump_add_opaque
3337 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
3338 replace_symbol dumpopaqueinfos pdump_opaques
3339 replace_symbol dumpopaqueinfo pdump_opaque
3341 replace_symbol nb_structdump nb_root_struct_ptrs
3342 replace_symbol nb_opaquedump nb_opaques
3344 replace_symbol align_table pdump_align_table
3345 replace_symbol dump_header pdump_header
3347 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
3348 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
3351 2001-01-12 Martin Buchholz <martin@xemacs.org>
3353 * s/aix4.h: Keep the C for AIX compiler from overaggressively
3354 optimizing bytecount_to_charcount().
3356 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3359 (HAVE_DLFCN_H): Removed.
3360 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
3362 2001-01-06 Martin Buchholz <martin@xemacs.org>
3364 Portable dumper maintainability improvements.
3365 * alloc.c (staticpro):
3366 * alloc.c (staticpro_nodump):
3367 * alloc.c (garbage_collect_1):
3368 * alloc.c (reinit_alloc_once_early):
3369 * alloc.c (init_alloc_once_early):
3370 * alloc.c: Move dumper functions to alloc.c.
3371 * dumper.c (pdump_backtrace):
3372 * dumper.c (pdump_dump_structs):
3373 * dumper.c (pdump_dump_opaques):
3374 * dumper.c (pdump_dump_rtables):
3375 * dumper.c (pdump_dump_wired):
3377 * dumper.c (pdump_load_check):
3378 * dumper.c (pdump_load_finish):
3379 * dumper.c (pdump_file_unmap):
3380 * dumper.c (pdump_file_get):
3381 * dumper.c (pdump_resource_free):
3382 * dumper.c (pdump_resource_get):
3383 * dumper.c (pdump_file_free):
3384 * dumper.c (pdump_file_try):
3385 * dumper.c (pdump_load):
3386 Remove fixed size limits on staticpro(), staticpro_nodump(),
3387 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
3388 Remove custom code for dumping lrecord_implementations_table - use
3390 Remove (most of the) custom code for dumping staticpros - dump it
3391 like any other dynarr.
3393 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
3394 * dumper.c: Moved functions from alloc.c.
3395 * alloc.c (dumpstruct): Moved to dumper.c.
3396 * alloc.c (dumpopaque): Likewise.
3397 * alloc.c (pdump_wire): Likewise.
3398 * alloc.c (pdump_wire_list): Likewise.
3400 * lisp.h (Dynarr_sizeof): New.
3401 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
3402 * lisp.h (Dynarr_end): New. Very slightly C++oid.
3403 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
3405 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
3406 * lisp.h (dumpopaque): ditto.
3407 * lisp.h (pdump_wire): ditto.
3408 * lisp.h (pdump_wire_list): ditto.
3410 2001-01-09 Martin Buchholz <martin@xemacs.org>
3412 * make-src-depend (PrintPatternDeps):
3413 Use `sort' to make output independent of perl version.
3415 2001-01-08 Martin Buchholz <martin@xemacs.org>
3418 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
3419 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
3421 2001-01-03 Didier Verna <didier@xemacs.org>
3423 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
3424 that `focus_frame' is alive before thinking of calling
3425 `redisplay_redraw_cursor' on it.
3427 2001-01-08 Martin Buchholz <martin@xemacs.org>
3429 * XEmacs 21.2.40 is released.
3431 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3433 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
3435 2001-01-06 Martin Buchholz <martin@xemacs.org>
3437 * alloc.c (dbg_valmask): Make const.
3438 * alloc.c (dbg_typemask): Make const.
3439 * alloc.c (dbg_USE_UNION_TYPE): Make const.
3440 * alloc.c (dbg_valbits): Make const.
3441 * alloc.c (dbg_gctypebits): Make const.
3443 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
3445 * redisplay-x.c (x_bevel_area):
3446 redisplay.h (struct rune):
3447 Typo fixes in comments.
3449 2001-01-05 Andy Piper <andy@xemacs.org>
3451 * glyphs-x.c (x_redisplay_widget): use size changed for offset
3454 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
3456 2001-01-05 Martin Buchholz <martin@xemacs.org>
3458 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
3460 * mule-ccl.c (stack_idx_of_map_multiple):
3461 Non const global data must not be initialized!
3462 Found by MIYASHITA Hisashi.
3464 2001-01-02 Andy Piper <andy@xemacs.org>
3466 * frame.c (change_frame_size): make sure frame size is always
3469 * glyphs.c (image_instance_layout): minor code reuse.
3471 * window.c (Fcurrent_window_configuration): revert previous
3474 2001-01-02 Martin Buchholz <martin@xemacs.org>
3477 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
3479 2000-12-31 Andy Piper <andy@xemacs.org>
3481 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
3482 when widget gets unmapped.
3484 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
3485 function. Make sure widgets losing focus don't just drop it.
3486 (handle_focus_event_1): record the widget with focus.
3488 2000-12-31 Andy Piper <andy@xemacs.org>
3490 * window.c (allocate_window): use
3491 make_image_instance_cache_hash_table.
3492 (make_dummy_parent): ditto.
3493 (Fset_window_configuration): ditto.
3495 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
3497 * glyphs.c (process_image_string_instantiator): use
3499 (get_image_instantiator_governing_domain): ditto.
3500 (normalize_image_instantiator): ditto.
3501 (instantiate_image_instantiator): ditto.
3502 (make_image_instance_1): ditto.
3503 (image_instantiate): ditto. Key on glyph *and* instantiator type.
3504 (instantiator_eq_equal): new function for use with instance hash
3506 (instantiator_eq_hash): ditto.
3507 (make_image_instance_cache_hash_table): create a suitable hash
3508 table for storing image instances.
3510 * elhash.h (hash_table_weakness): new internal weakness type
3511 HASH_TABLE_KEY_CAR_VALUE_WEAK.
3512 declare new functions.
3514 * elhash.c (finish_marking_weak_hash_tables): introduce yet
3515 another weakness type for glyphs.
3516 (make_standard_lisp_hash_table): new function split out from
3517 make_general_lisp_hash_table.
3518 (make_lisp_hash_table): call make_standard_lisp_hash_table.
3519 (hash_table_instantiate): ditto.
3520 (Fmake_hash_table): ditto.
3522 2000-12-31 Martin Buchholz <martin@xemacs.org>
3524 * XEmacs 21.2.39 is released.
3526 2000-12-29 Andy Piper <andy@xemacs.org>
3528 * menubar.c (menubar_visible_p_changed): signal the frame changed.
3530 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
3531 the frame has changed so that we pick up geometry changes such as
3534 2000-12-28 Andy Piper <andy@xemacs.org>
3536 * lastfile.c (my_ebss): make a char array so we can pad the
3537 bss. Fixes cygwin unexec.
3539 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
3541 2000-12-26 Andy Piper <andy@xemacs.org>
3543 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
3544 comments and try and be more precise about a non-/SIGIO world.
3545 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
3548 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
3549 we don't normalize to zero width or height.
3551 2000-12-24 Andy Piper <andy@xemacs.org>
3553 * Makefile.in.in (ldflags): add -mwindows when appropriate.
3555 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
3557 * s/sco5.h: SCO 5 has pty support.
3559 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
3561 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
3562 input-method-xlib.c contains whole contents of input-method-xfs.c,
3563 so we can use input-method-xlib.c's code for USE_XFONTSET
3565 * input-method-xfs.c: removed.
3567 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
3569 * file-coding.h (enum coding_category_type): reorder enumerators to
3570 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
3571 (now one greater than largest real coding_category_type enumerator).
3572 * file-coding.c (coding_category_symbol, coding_category_by_priority,
3573 coding_category_system, fcd_descriptihon_1, decode_coding_category,
3574 Fcoding_category_list, Fset_coding_priority_list,
3575 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
3576 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
3578 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3580 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
3581 * redisplay-output.c (redisplay_output_window): Clear top of window
3582 when face is changed.
3583 * redisplay-x.c (x_redraw_exposed_window): Call
3584 redisplay_clear_top_of_window.
3585 * redisplay.h: Publish redisplay_clear_top_of_window.
3587 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3589 * buffer.c (Fkill_buffer): Map over all devices.
3590 * window.c (window_loop): Remove UNSHOW_BUFFER code.
3591 (list_windows): New function.
3592 (list_all_windows): Ditto.
3593 (Freplace_buffer_in_windows): Use them.
3595 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3597 * database.c (berkdb_subtype): Recognize new subtype `queue'.
3598 (Fopen_database): Use `db_create' instead of `db_open'.
3599 (syms_of_database): Initialize Qqueue.
3601 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3603 * buffer.c (common_init_complex_vars_of_buffer): Initialize
3604 buffer_local_face_property.
3605 * buffer.h (struct buffer): New member buffer_local_face_property.
3606 * window.c (Fset_window_buffer): Mark window's face as changed
3607 when buffer has buffer local face.
3608 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
3609 * objects.c (color_after_change): Set buffer_local_face_property
3610 when locale of face specifier is buffer.
3611 * objects.c (font_after_change): Ditto.
3612 * objects.c (face_boolean_after_change): Ditto.
3613 * glyphs.c (image_after_change): Ditto.
3615 2000-12-09 Dan Holmsand <dan@eyebee.com>
3617 * nt.c (mswindows_fstat): Report file permissions, volume serial
3618 number, etc. Code adapted from FSF Emacs 20.7.
3620 2000-12-09 Dan Holmsand <dan@eyebee.com>
3622 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
3623 of stat when we don't have symbolic links, to make sure
3624 mswindows_stat is called on mswindows.
3626 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
3628 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
3630 2000-12-12 Martin Buchholz <martin@xemacs.org>
3632 * doprnt.c (emacs_doprnt_1): More printing fixes.
3633 Make printing of numbers compatible with libc and FSF Emacs.
3634 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
3635 Use the system printf to do most of the hard work of formatting,
3636 instead of doprnt_1().
3637 Calculate memory to allocate for format string.
3638 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
3639 (doprnt_1): Cleaner code and documentation.
3641 2000-12-01 Jerry James <james@eecs.ukans.edu>
3643 * Makefile.in.in: Use the loop variable to install headers.
3645 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3647 * window.c (Fsplit_window): Don't invalidate face cache.
3649 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3651 * minibuf.c (Fall_completions): Undo the previous change
3652 which removed checking elements start with space.
3654 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3656 * mule-canna.c: Didier suppression.
3658 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3660 * mule-canna.c: rename static unsigned char buf[] to key_buffer
3661 (warning suppression). Add English comment translations.
3663 2000-12-05 Martin Buchholz <martin@xemacs.org>
3665 * unexelfsgi.c (unexec): Better test for mmap failure.
3667 2000-12-05 Martin Buchholz <martin@xemacs.org>
3669 * XEmacs 21.2.38 is released.
3671 2000-12-05 Martin Buchholz <martin@xemacs.org>
3673 * redisplay.c (bar-cursor): Make a user variable.
3675 * symsinit.h: Add init_postgresql_from_environment.
3677 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3679 * regex.c: Convert to clean C.
3681 2000-12-05 Dan Holmsand <dan@eyebee.com>
3684 Don't #include sysfile.h. Revert to duplicating PATH_MAX
3686 (sys_readlink): renamed to system_readlink to avoid conflict with
3687 the other sys_readlink.
3689 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
3691 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
3693 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
3695 * postgresql.c (init_postgresql_from_environment): new function.
3696 (vars_of_postgresql): Move code initializing Lisp variables out and
3697 into init_postgresql_from_environment.
3698 emacs.c (main_1): Call init_postgresql_from_environment if and only
3699 if running a dumped XEmacs.
3701 2000-08-31 Dan Holmsand <dan@eyebee.com>
3703 * buffer.c: Make find-file-compare-truenames default to true on
3706 * realpath.c (win32_abs_start):
3708 (win32_readlink): New functions.
3709 (xrealpath): Return really real filenames on windows.
3711 * fileio.c (Ffile_truename): Make file-truename work on windows.
3713 2000-11-29 Didier Verna <didier@xemacs.org>
3715 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
3716 * faces.c (update_face_cachel_data): use it.
3717 * faces.c (add_face_cachel): use it. Complete background pixmap
3718 frobbing in face cache if `update_face_cachel_data' has not done so.
3720 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
3722 * search.c (string_match_1): Don't set last_thing_searched
3725 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
3727 * buffer.c: Include casetab.h
3728 (common_init_complex_vars_of_buffer): Use new case-table object.
3729 * buffer.h: Include casetab.h
3730 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
3731 (DOWNCASE_TABLE_OF): Ditto.
3732 * bufslots.h: Remove char-tables and add case-table.
3733 * casetab.c: Include casetab.h
3734 (CASE_TABLE_P): Removed.
3735 (mark_case_table): New function.
3736 (allocate_case_table): New function.
3737 (Fcase_table_p): Use new case-table.
3738 (case_table_char): New function.
3739 (Fget_case_table): Ditto.
3740 (Fput_case_table): Ditto.
3741 (Fput_case_table_pair): Ditto.
3742 (Fcopy_case_table): Ditto.
3743 (Fcurrent_case_table): Return case-table.
3744 (Fstandard_case_table): Return case-table.
3745 (Fset_case_table): Fix doc-string.
3746 (set_case_table): Use case-table
3747 (syms_of_casetab): DEFSUBR new functions.
3748 (complex_vars_of_casetab): Set up standard case-table.
3749 * casetab.h: New file.
3750 * editfns.c: Include casetab.h
3751 (Fcompare_buffer_substrings): Use case-table.
3752 * inline.c: Include casetab.h
3753 * lisp.h: Remove bogus extern.
3754 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
3755 * search.c: Include casetab.h
3756 (TRANSLATE_ASCII): Removed.
3757 (TRANSLATE): Unconditionally translate character.
3758 (looking_at_1): Use case-table.
3759 (string_match_1): Ditto.
3760 (fast_string_match): Ditto.
3761 (search_command): Ditto.
3762 (search_buffer): Separate boyer_moore. Check whether
3763 boyer_moore is poosible.
3764 (simple_search): New function.
3765 (boyer_moore): Separated from search_buffer. Translate char.
3767 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
3769 * regex.c (RE_TR_ASCII): Removed.
3770 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
3771 (PATFETCH): Call PATFETCH_RAW.
3772 (PATFETCH_RAW): Fetch Emchar.
3773 (PATUNFETCH): Decrement charptr.
3774 (GET_BUFFER_SPACE): Rename b to buf_end.
3776 (BUF_PUSH_2): Ditto.
3777 (BUF_PUSH_3): Ditto.
3778 (EXTEND_BUFFER): Ditto.
3779 (SET_LIST_BIT): Ditto.
3780 (regex_compile): Ditto. Translate non ASCII char.
3781 (compile_range): Ditto.
3782 (re_search_2): Ditto.
3783 (re_match_2_internal): Compare Emchar.
3784 (bcmp_translate): Ditto.
3786 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
3788 * lisp.h (basic char/int typedefs): comment improvement.
3790 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
3792 * emacs.c (main_1): unconditional pdump unstomping; don't save and
3793 unstomp inhibit_site_lisp. Improve comments.
3795 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
3797 * mule-charset.c (Fcharset_property): improve type checking, comments.
3799 2000-11-28 Andy Piper <andy@xemacs.org>
3801 * redisplay-output.c (redisplay_output_subwindow): make sure we do
3802 clipped display for windows in the gutter also.
3803 (redisplay_display_boxes_in_window_p): change semantics of return
3804 codes to be more intuitive.
3806 * gutter.h: declare display_boxes_in_gutter_p.
3808 * gutter.c (display_boxes_in_gutter_p): new function for
3811 2000-11-22 Andy Piper <andy@xemacs.org>
3813 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
3816 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
3818 * callproc.c (Fold_call_process_internal):
3819 * gpm.c (Freceive_gpm_event):
3820 (tty_get_foreign_selection): Might be just warning supression.
3821 * fileio.c (Fwrite_region_internal):
3822 (Fset_visited_file_modtime):
3823 * keymap.c (event_matches_key_specifier_p):
3824 Initialize GCPROed variable.
3826 * menubar-x.c (command_builder_find_menu_accelerator):
3827 Initialize before use.
3829 2000-11-23 Andy Piper <andy@xemacs.org>
3831 * unexcw.c (unexec): make the resulting executable executable.
3833 2000-11-21 Martin Buchholz <martin@xemacs.org>
3835 * doc.c (get_doc_string):
3836 Use size_t, not int, for result of XSTRING_LENGTH.
3838 * cmds.c (Fdelete_char):
3839 * cmds.c (Fpoint_at_eol):
3840 * cmds.c (Fself_insert_command):
3841 Use EMACS_INT, not int, for result of XINT.
3842 Someday, someone will want to insert more than 2**31 identical characters.
3844 * cmds.c (Fdelete_char):
3845 * cmds.c (Fdelete_backward_char):
3846 * syntax.c (Fforward_word):
3847 * syntax.c (Fforward_comment):
3848 Make COUNT argument optional, for consistency with forward-char et al.
3850 2000-11-22 Martin Buchholz <martin@xemacs.org>
3853 * print.c (long_to_string):
3854 Return a useful value: the pointer at end of data written.
3857 Use `static const char * const' for constant strings.
3858 (union printf_arg): Delete `i', `ui' members.
3861 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
3862 Do all printf-ing via the `l' specifier.
3863 Use EMACS_INT instead of int.
3866 2000-11-20 Didier Verna <didier@xemacs.org>
3868 * faces.c (update_face_cachel_data): don't frob the background
3869 pixmap when the window is being created. The face is needed but
3872 2000-11-20 Andy Piper <andy@xemacs.org>
3874 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
3875 messing with a debug environment.
3877 2000-11-20 Martin Buchholz <martin@xemacs.org>
3879 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
3881 2000-11-20 Martin Buchholz <martin@xemacs.org>
3883 * casetab.c (Fcase_table_p): Fix compile error and crash.
3885 2000-11-18 Philip Aston <philipa@mail.com>
3887 * s/cygwin32.h: Cygwin has SVR4-like pty support.
3889 2000-11-18 Martin Buchholz <martin@xemacs.org>
3891 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
3892 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
3894 2000-11-17 Martin Buchholz <martin@xemacs.org>
3896 * config.h.in: Define HAVE_ELF_H if elf.h exists.
3897 * unexelf.c: Use HAVE_ELF_H.
3898 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
3899 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
3900 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
3901 Greg Harrington <greg_harrington@hotmail.com> provided a machine
3903 So this is an unexelfsgi.c from a different line of development.
3905 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3907 * regex.c (RE_TR_ASCII): New function.
3908 (RE_TRANSLATE): Call it.
3910 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3912 * buffer.h (TRT_TABLE_OF): Remove assert.
3913 (IN_TRT_TABLE_DOMAIN): Removed.
3915 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3917 * free-hook.c (log_gcpro):
3918 (show_gcprohist): Add support for GCPRO5.
3920 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3922 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3924 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3926 * symeval.h: Declare flush_all_buffer_local_cache.
3928 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3929 (flush_buffer_local_cache): Added.
3930 (flush_all_buffer_local_cache): Added.
3932 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3934 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3935 (pdump_dump_data): Ditto.
3936 (pdump_reloc_one): Ditto.
3937 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3941 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3943 * buffer.c: Remove if 0'ed entry.
3944 * buffer.h: Rewrite TRT to use char-table.
3945 * bufslots.h: Remove mirror tables.
3946 * casetab.c: Remove mirror tables.
3947 (CASE_TABLE_P): New macro.
3948 (Fcase_table_p): Element of a case table is string or char-table.
3949 (make_mirror_trt_table): Removed.
3950 (set_case_table): Setup char-table from strings for backward
3952 * dired.c (Fdirectory_files):
3953 * dired-msw.c: (mswindows_get_files):
3954 * lisp.h: Change prototype of re_pattern_buffer.
3955 * regex.c: (RE_TRANSLATE): New macro.
3956 (TRANSLATE_P): Ditto.
3957 Change translate to type RE_TRANSLATE_TYPE.
3958 * regex.h: Define RE_TRANSLATE_TYPE
3959 * search.c (TRANSLATE): New macro.
3960 (TRANSLATE_ASCII): New macro.
3961 Translate table is changed to Lisp_Object.
3962 (signal_failure): Inhibit return.
3964 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3971 Do UNGCPRO before return.
3973 2000-11-14 Martin Buchholz <martin@xemacs.org>
3975 * XEmacs 21.2.37 is released.
3977 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3979 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3980 Add comments about discarded return value.
3982 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3985 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3987 2000-10-27 Andy Piper <andy@xemacs.org>
3989 * gutter.c (Fset_default_gutter_position): default left and right
3991 (calculate_gutter_size): calculate resonable heuristic for left
3992 and right gutter sizes.
3993 (specifier_vars_of_gutter): change left and right gutter sizes to
3995 (calculate_gutter_size_from_display_lines): new function.
3996 (output_gutter): check for resizing on left and right gutters.
3997 (clear_gutter): don't special case top and left gutters.
3998 (specifier_vars_of_gutter): use new signature for
3999 set_specifier_caching.
4001 * glyphs-x.c (x_redisplay_widget): spelling fix.
4002 * glyphs.c (specifier_vars_of_glyphs):
4003 * menubar.c (specifier_vars_of_menubar):
4004 * redisplay.c (specifier_vars_of_redisplay):
4005 * toolbar.c (specifier_vars_of_toolbar):
4006 * window.c (specifier_vars_of_window):
4007 * scrollbar.c (specifier_vars_of_scrollbar):
4008 (complex_vars_of_scrollbar): use new signature for
4009 set_specifier_caching.
4011 * specifier.c (set_specifier_caching): include recompute flag.
4012 (recompute_one_cached_specifier_in_window): always recompute if
4014 (recompute_one_cached_specifier_in_frame): ditto.
4016 * specifier.h (struct specifier_caching): add recompute flag.
4018 2000-10-24 Andy Piper <andy@xemacs.org>
4020 * unexcw.c (copy_executable_and_dump_data_section): add new
4021 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
4024 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4026 * console-x.h (x_device): New member modifier_release_time.
4027 * event-Xt.c (x_handle_sticky_modifiers):
4028 Bound interval modifier keys are sticky.
4029 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
4030 * events.h: extern it.
4032 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4034 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
4036 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4038 * event-stream.c (execute_command_event): Preserve current_events
4039 and the like when event is misc-user-event.
4040 Inhibit quit during the call to maybe_echo_keys.
4042 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4044 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
4045 symlink when buffer is killed.
4046 (inhibit_clash_detection): New variable.
4048 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4050 * console.c (Fset_input_method): Trigger redisplay on tty.
4052 2000-11-07 Martin Buchholz <martin@xemacs.org>
4054 * process.c (Fprocess_status): Revert to previous behavior:
4055 (process-status "nosuchprocess") ==> nil
4057 2000-11-06 Martin Buchholz <martin@xemacs.org>
4059 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
4060 Work around another GCC 2.95.2 optimizer bug.
4062 2000-11-02 Martin Buchholz <martin@xemacs.org>
4064 * process.c (Fget_process): Use LIST_LOOP_2.
4065 (kill_buffer_processes): Use LIST_LOOP_2.
4067 * minibuf.c (Fall_completions):
4068 Delete old non-functional code for FSF fourth argument.
4070 * frame.c (frame_matches_frame_spec):
4071 Renamed from `frame_matches_frametype'. Update all callers.
4072 (device_matches_device_spec):
4073 Renamed from 'device_matches_console_spec'. Update all callers.
4075 * doc.c (Fsubstitute_command_keys):
4076 Remove buffer overflow crash. Small code cleanups.
4078 * casetab.c (check_case_table): Simpler code.
4080 * window.c (Freplace_buffer_in_windows):
4081 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
4082 (and similar implementation) as Fdelete_windows_on.
4085 * alloc.c (Fmake_list):
4086 * alloc.c (make_vector):
4087 * alloc.c (Fmake_vector):
4088 * alloc.c (make_bit_vector):
4089 * alloc.c (Fmake_bit_vector):
4090 * alloc.c (Fbit_vector):
4091 * alloc.c (Fmake_string):
4092 * alloc.c (Fpurecopy):
4093 * alloc.c (Fmemory_limit):
4095 * buffer.c (Fget_buffer):
4096 * buffer.c (Fkill_buffer):
4097 * buffer.c (complex_vars_of_buffer):
4098 * bytecode.c (Fcompiled_function_stack_depth):
4099 * callint.c (Fprefix_numeric_value):
4101 * event-stream.c (Fread_key_sequence):
4103 * casetab.c (Fcase_table_p):
4104 * casetab.c (check_case_table):
4105 * casetab.c (Fset_case_table):
4106 * casetab.c (Fset_standard_case_table):
4108 * chartab.c (Fchar_table_type):
4109 * chartab.c (Freset_char_table):
4110 * chartab.c (Fget_char_table):
4111 * chartab.c (Fget_range_char_table):
4112 * chartab.c (Fput_char_table):
4113 * chartab.c (Fmap_char_table):
4114 * chartab.c (Fcategory_table_p):
4115 * chartab.c (Fcheck_category_at):
4116 * chartab.c (Fchar_in_category_p):
4117 * chartab.c (Fcategory_table):
4118 * chartab.c (Fcopy_category_table):
4119 * chartab.c (Fset_category_table):
4120 * chartab.c (Fcategory_designator_p):
4121 * chartab.c (Fcategory_table_value_p):
4122 * cmds.c (Fdelete_char):
4123 * cmds.c (Fdelete_backward_char):
4124 * cmds.c (Fself_insert_command):
4125 * cmds.c (Fself_insert_internal):
4126 * console.c (Fvalid_console_type_p):
4127 * console.c (Fcdfw_console):
4128 * console.c (Fconsole_type):
4129 * console.c (Fconsole_name):
4130 * console.c (Fconsole_device_list):
4131 * console.c (Fconsole_on_window_system_p):
4135 * data.c (Fsubr_interactive):
4136 * data.c (Fchar_to_int):
4137 * data.c (Fint_to_char):
4140 * data.c (Fnumber_to_string):
4141 * data.c (Fstring_to_number):
4143 * database.c (mark_database):
4144 * database.c (finalize_database):
4145 * database.c (Fdatabase_live_p):
4146 * database.c (Fdatabasep):
4147 * device-x.c (Fx_get_resource):
4148 * device.c (Fdfw_device):
4150 * dired.c (Ffile_name_completion):
4151 * dired.c (Ffile_name_all_completions):
4152 * dired.c (Fuser_name_completion):
4153 * dired.c (Fuser_name_completion_1):
4154 * dired.c (Fuser_name_all_completions):
4155 * doc.c (Fdocumentation):
4156 * doc.c (Fdocumentation_property):
4157 * doc.c (Fsubstitute_command_keys):
4159 * editfns.c (Fchar_to_string):
4160 * editfns.c (Fstring_to_char):
4161 * editfns.c (Ftemp_directory):
4162 * editfns.c (Finsert_char):
4163 * editfns.c (Fbuffer_substring_no_properties):
4164 * editfns.c (Fnarrow_to_region):
4165 * editfns.c (Fchar_equal):
4166 * editfns.c (Fchar_Equal):
4167 * editfns.c (Ftranspose_regions):
4168 * emacs.c (Fdump_emacs):
4170 * eval.c (Fcommand_execute):
4171 * eval.c (Fautoload):
4172 * eval.c (Fbacktrace):
4173 * eval.c (Fbacktrace_frame):
4175 * events.c (Fcopy_event):
4176 * events.c (Fcharacter_to_event):
4177 * events.c (Fevent_button):
4178 * events.c (Fevent_process):
4180 * extents.c (Fnext_extent_change):
4181 * extents.c (Fextent_property):
4183 * faces.c (Fmake_face):
4185 * file-coding.c (Fencode_shift_jis_char):
4186 * file-coding.c (Fencode_big5_char):
4187 * fileio.c (Ffile_name_directory):
4188 * fileio.c (Ffile_name_nondirectory):
4189 * fileio.c (Ffile_name_as_directory):
4190 * fileio.c (Fdirectory_file_name):
4191 * fileio.c (Ffile_truename):
4192 * fileio.c (Fsubstitute_in_file_name):
4193 * fileio.c (Ffile_modes):
4194 * fileio.c (Fset_file_modes):
4195 * fileio.c (Fset_default_file_modes):
4196 * fileio.c (Fverify_visited_file_modtime):
4197 * floatfns.c (Facos):
4198 * floatfns.c (Fasin):
4199 * floatfns.c (Fatan):
4200 * floatfns.c (Fcos):
4201 * floatfns.c (Fsin):
4202 * floatfns.c (Ftan):
4203 * floatfns.c (Fbessel_j0):
4204 * floatfns.c (Fbessel_j1):
4205 * floatfns.c (Fbessel_jn):
4206 * floatfns.c (Fbessel_y0):
4207 * floatfns.c (Fbessel_y1):
4208 * floatfns.c (Fbessel_yn):
4209 * floatfns.c (Ferf):
4210 * floatfns.c (Ferfc):
4211 * floatfns.c (Flog_gamma):
4212 * floatfns.c (Fexp):
4213 * floatfns.c (Fexpt):
4214 * floatfns.c (Flog):
4215 * floatfns.c (Flog10):
4216 * floatfns.c (Fsqrt):
4217 * floatfns.c (Fcube_root):
4218 * floatfns.c (Facosh):
4219 * floatfns.c (Fasinh):
4220 * floatfns.c (Fatanh):
4221 * floatfns.c (Fcosh):
4222 * floatfns.c (Fsinh):
4223 * floatfns.c (Ftanh):
4224 * floatfns.c (Fabs):
4225 * floatfns.c (Ffloat):
4226 * floatfns.c (Flogb):
4227 * floatfns.c (Fceiling):
4228 * floatfns.c (Ffloor):
4229 * floatfns.c (Fround):
4230 * floatfns.c (Ftruncate):
4231 * floatfns.c (Ffceiling):
4232 * floatfns.c (Fffloor):
4233 * floatfns.c (Ffround):
4234 * floatfns.c (Fftruncate):
4235 * fns.c (Fstring_equal):
4236 * fns.c (Fstring_lessp):
4241 * fns.c (Fsubstring):
4243 * fns.c (Fold_assoc):
4244 * fns.c (assoc_no_quit):
4246 * fns.c (Fold_assq):
4247 * fns.c (assq_no_quit):
4249 * fns.c (Fold_rassoc):
4251 * fns.c (Fold_rassq):
4252 * fns.c (rassq_no_quit):
4253 * fns.c (Fremassoc):
4254 * fns.c (remassoc_no_quit):
4256 * fns.c (remassq_no_quit):
4257 * fns.c (Fremrassoc):
4258 * fns.c (Fremrassq):
4259 * fns.c (remrassq_no_quit):
4261 * fns.c (Fplist_get):
4262 * fns.c (Fplist_put):
4263 * fns.c (Fplist_remprop):
4264 * fns.c (Fplist_member):
4265 * fns.c (Flax_plist_get):
4266 * fns.c (Flax_plist_put):
4267 * fns.c (Flax_plist_remprop):
4268 * fns.c (Flax_plist_member):
4270 * fns.c (Fold_equal):
4272 * fns.c (Fbase64_encode_region):
4273 * fns.c (Fbase64_encode_string):
4274 * fns.c (Fbase64_decode_region):
4276 * frame.c (frame_matches_frame_spec):
4277 * frame.c (device_matches_device_spec):
4278 * frame.c (next_frame):
4279 * frame.c (previous_frame):
4280 * frame.c (Fnext_frame):
4281 * frame.c (Fprevious_frame):
4282 * frame.c (Fframe_property):
4283 * frame.c (Fset_frame_height):
4284 * frame.c (Fset_frame_size):
4288 * glyphs.c (decode_error_behavior_flag):
4289 * glyphs.c (Fmake_image_instance):
4290 * indent.c (Findent_to):
4291 * intl.c (Fignore_defer_gettext):
4292 * keymap.c (Fkeymapp):
4293 * keymap.c (Flookup_key):
4295 * lread.c (Fload_internal):
4296 * lread.c (Feval_buffer):
4297 * lread.c (Feval_region):
4298 * macros.c (Fexecute_kbd_macro):
4299 * marker.c (set_marker_internal):
4300 * marker.c (Fset_marker):
4301 * marker.c (set_marker_restricted):
4302 * marker.c (Fcopy_marker):
4303 * marker.c (noseeum_copy_marker):
4305 * menubar.c (Fpopup_menu):
4307 * mule-charset.c (Fcharset_name):
4308 * mule-charset.c (Fchar_charset):
4309 * mule-charset.c (Fchar_octet):
4310 * mule-charset.c (Fsplit_char):
4311 * mule-wnnfns.c (Fwnn_open):
4312 * mule-wnnfns.c (Fwnn_dict_comment):
4313 * mule-wnnfns.c (Fwnn_quit_henkan):
4314 * mule-wnnfns.c (Fwnn_word_toroku):
4315 * mule-wnnfns.c (Fwnn_word_sakujo):
4316 * mule-wnnfns.c (Fwnn_word_use):
4317 * mule-wnnfns.c (Fwnn_hindo_set):
4319 * objects.c (Fmake_color_instance):
4320 * objects.c (Fmake_font_instance):
4321 * print.c (Fwrite_char):
4323 * process.c (mark_process):
4324 * process.c (print_process):
4325 * process.c (get_process_from_usid):
4326 * process.c (Fprocessp):
4327 * process.c (Fprocess_live_p):
4328 * process.c (Fget_process):
4329 * process.c (Fget_buffer_process):
4330 * process.c (get_process):
4331 * process.c (Fprocess_id):
4332 * process.c (Fprocess_name):
4333 * process.c (Fprocess_command):
4334 * process.c (init_process_io_handles):
4335 * process.c (start_process_unwind):
4336 * process.c (Fstart_process_internal):
4337 * process.c (Fopen_multicast_group_internal):
4338 * process.c (Fset_process_window_size):
4339 * process.c (read_process_output):
4340 * process.c (send_process):
4341 * process.c (Fprocess_tty_name):
4342 * process.c (Fset_process_buffer):
4343 * process.c (Fprocess_buffer):
4344 * process.c (Fprocess_mark):
4345 * process.c (set_process_filter):
4346 * process.c (Fset_process_filter):
4347 * process.c (Fprocess_filter):
4348 * process.c (Fprocess_send_region):
4349 * process.c (Fprocess_send_string):
4350 * process.c (exec_sentinel):
4351 * process.c (Fset_process_sentinel):
4352 * process.c (Fprocess_sentinel):
4353 * process.c (status_notify):
4354 * process.c (Fprocess_status):
4355 * process.c (Fprocess_exit_status):
4356 * process.c (process_send_signal):
4357 * process.c (Fprocess_send_eof):
4358 * process.c (deactivate_process):
4359 * process.c (remove_process):
4360 * process.c (Fdelete_process):
4361 * process.c (kill_buffer_processes):
4362 * process.c (Fprocess_kill_without_query):
4363 * process.c (Fprocess_kill_without_query_p):
4365 * rangetab.c (Fget_range_table):
4366 * rangetab.c (Fput_range_table):
4367 * rangetab.c (Fremove_range_table):
4368 * rangetab.c (Fclear_range_table):
4370 * search.c (Fskip_chars_forward):
4371 * search.c (Fskip_chars_backward):
4372 * search.c (Fskip_syntax_forward):
4373 * search.c (Fskip_syntax_backward):
4374 * search.c (search_command):
4375 * search.c (Freplace_match):
4376 * search.c (Fregexp_quote):
4377 * select.c (Fown_selection_internal):
4378 * select.c (Fselection_owner_p):
4379 * select.c (Fselection_exists_p):
4380 * select.c (Fget_selection_internal):
4383 * symbols.c (Fintern):
4384 * symbols.c (Fintern_soft):
4385 * symbols.c (Funintern):
4386 * symbols.c (Fapropos_internal):
4387 * symbols.c (Fset_default):
4389 * syntax.c (Fsyntax_table_p):
4390 * syntax.c (Fcopy_syntax_table):
4391 * syntax.c (Fset_syntax_table):
4392 * syntax.c (Fchar_syntax):
4393 * syntax.c (syntax_match):
4394 * syntax.c (Fmatching_paren):
4395 * syntax.c (Fforward_word):
4396 * syntax.c (scan_lists):
4397 * syntax.c (Fscan_lists):
4398 * syntax.c (Fscan_sexps):
4399 * syntax.c (Fparse_partial_sexp):
4400 * toolbar.c (Fcheck_toolbar_button_syntax):
4403 * window.c (Fwindowp):
4404 * window.c (Fwindow_live_p):
4405 * window.c (Fwindow_point):
4406 * window.c (Fdelete_window):
4407 * window.c (Fnext_window):
4408 * window.c (Fprevious_window):
4409 * window.c (Fother_window):
4410 * window.c (window_loop):
4411 * window.c (Fget_lru_window):
4412 * window.c (Fsplit_window):
4413 * window.c (Fenlarge_window):
4414 * window.c (Fenlarge_window_pixels):
4415 * window.c (Fshrink_window):
4416 * window.c (Fshrink_window_pixels):
4417 * window.c (change_window_height):
4418 * window.c (Fwindow_configuration_p):
4419 * window.c (Fcurrent_window_configuration):
4421 * casefiddle.c (casify_object):
4422 * casefiddle.c (Fupcase):
4423 * casefiddle.c (Fdowncase):
4424 * casefiddle.c (Fcapitalize):
4425 * casefiddle.c (Fupcase_initials):
4426 * casefiddle.c (casify_region_internal):
4427 * casefiddle.c (casify_region):
4428 * casefiddle.c (Fupcase_region):
4429 * casefiddle.c (Fdowncase_region):
4430 * casefiddle.c (Fcapitalize_region):
4431 * casefiddle.c (Fupcase_initials_region):
4432 * casefiddle.c (Fupcase_word):
4433 * casefiddle.c (Fdowncase_word):
4434 * casefiddle.c (Fcapitalize_word):
4435 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
4436 Replace 0 with '\0' when working with bytes.
4437 Replace initial "(" with "\(" in docstrings.
4439 2000-11-01 Martin Buchholz <martin@xemacs.org>
4441 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
4443 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
4445 2000-10-31 Martin Buchholz <martin@xemacs.org>
4447 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
4449 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4451 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
4454 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4456 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
4457 (inhibit_auto_save_session): New variable.
4458 (vars_of_fileio): Declare and initialize them.
4459 * fileio.c (Fdo_auto_save): Don't create session file if
4460 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
4462 2000-10-31 Martin Buchholz <martin@xemacs.org>
4464 * sgiplay.c (play_internal): C++ compilability.
4465 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
4466 * callproc.c (Fold_call_process_internal):
4467 Remove unused vars `env', `first'.
4468 * scrollbar.c (update_scrollbar_instance):
4469 #### unused var `current_window'.
4470 * redisplay-tty.c: Put currently unused vars insert_mode_on,
4471 etc. within #ifdef NOT_YET.
4472 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
4473 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
4474 * specifier.c (specifier_instance):
4475 #### unused var `tag'.
4476 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
4478 2000-10-27 Martin Buchholz <martin@xemacs.org>
4481 * fns.c (list_sort):
4482 * fns.c (Ffillarray):
4483 * fns.c (bytecode_nconc2):
4486 * fns.c (Fmapconcat):
4487 Be pedantically 64-bit correct. For the time when someone will
4488 want to have a list with length > 2**32.
4490 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
4491 Work around MIPSpro compiler bug.
4493 * process-unix.c (unix_kill_child_process): Add snarky comment.
4494 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
4496 * config.h.in: Oops, _getpt ==> _getpty
4498 2000-10-26 Martin Buchholz <martin@xemacs.org>
4502 Use void*, not char*, as return type of alloca().
4504 * alloc.c (free_marker): Side effect inside assert expression!
4506 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
4508 * mule-charset.c (Fset_charset_ccl_program): To check
4509 if the given ccl program is valid, use setup_ccl_program()
4510 instead of CHECK_VECTOR().
4511 (Fmake_charset): Likewise.
4513 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
4515 * faces.c (get_extent_fragment_face_cache_index):
4516 Fix cachel.merged_faces memory leak.
4518 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
4520 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
4521 Reset MSB of octets obtained by DECODE_SJIS
4522 because of the incompatibility with Emacs.
4523 (ccl_driver)<CCL_ENCODE_SJIS>:
4524 Set MSB of octets before passing them to
4525 ENCODE_SJIS because of the incompatibility
4528 2000-10-18 Daiki Ueno <ueno@unixuser.org>
4530 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
4531 (DECLARE_LRECORD): Undo the last change.
4532 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
4534 2000-10-17 Daiki Ueno <ueno@unixuser.org>
4536 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
4537 the implementation to lrecord_implementations_table.
4539 2000-10-14 Daiki Ueno <ueno@unixuser.org>
4541 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
4542 initial value of `lrecord_type_##c_name' and
4543 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
4544 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
4545 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
4546 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
4547 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
4549 2000-10-17 Martin Buchholz <martin@xemacs.org>
4551 * miscplay.c (sndcnv8S_2mono):
4552 (sndcnv2monounsigned):
4553 (sndcnvULaw_2linear):
4555 Remove implementation-defined behavior.
4557 2000-10-12 Martin Buchholz <martin@xemacs.org>
4559 * input-method-xlib.c: Warning suppression.
4561 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
4563 * mule-ccl.c: Sync up with Emacs 21.0.90.
4564 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
4566 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
4568 (ccl_driver[WriteMultibyteChar2]): Bug fix.
4569 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
4570 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
4571 leading char belongs to official 2-dimensional charset.
4572 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
4573 write the given character as is. Otherwise,
4574 if it is a multibyte char, convert it by
4575 non_ascii_set_charptr_emchar, then write it.
4576 (CCL_WRITE_STRING): Likewise.
4577 (ccl_get_compiled_code): New function.
4578 (setup_ccl_program): When ccl_prog is invalid,
4580 (Fregister_code_conversion_map): New function.
4581 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
4583 * mule-ccl.h: Sync up with Emacs 21.0.90.
4584 (Fregister_ccl_program): export it.
4586 * redisplay-msw.c (separate_textual_runs):
4587 If ccl program is not valid, don't do ccl conversion.
4589 * redisplay-x.c (separate_textual_runs): Ditto.
4591 * file-coding.c (Fmake_coding_system):
4592 When type is ccl and value is vector, register it
4593 with a proper symbol. And checks whether the
4594 given ccl program is valid.
4595 (mule_decode): When calling ccl_driver, if src indicates
4596 NULL pointer, set an empty string instead.
4597 (mule_encode): Likewise.
4599 2000-10-11 Martin Buchholz <martin@xemacs.org>
4601 The following large batch of changes gets us back to a state of
4602 C++ compilability. Extbyte is now a char, which means that
4603 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
4605 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
4607 * sound.c (Fplay_sound): Type correctness.
4609 * select-x.c (hack_motif_clipboard_selection): Type correctness.
4610 (x_get_window_property): Type correctness.
4611 (receive_incremental_selection): unsigned char ==> Extbyte
4612 (selection_data_to_lisp_data): unsigned char ==> Extbyte
4613 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
4614 (Fx_store_cutbuffer_internal): Type correctness.
4616 * process-unix.c (try_to_initialize_subtty): Type correctness.
4618 * objects-x.c (x_print_color_instance): Type correctness.
4619 (x_print_font_instance): Type correctness.
4620 (x_list_fonts): SExtbyte ==> Extbyte.
4621 (valid_x_font_name_p): SExtbyte ==> Extbyte.
4622 (x_find_charset_font): SExtbyte ==> Extbyte.
4623 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
4624 (truename_via_XListFonts): SExtbyte ==> Extbyte.
4625 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
4628 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
4629 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
4630 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
4631 (BYTE_C0_P): Use bit ops for char-signedness safety.
4632 (BYTE_C1_P): Use bit ops for char-signedness safety.
4633 (CHARSET_BY_LEADING_BYTE):
4634 (CHARSET_BY_ATTRIBUTES):
4635 Always use inline function.
4636 Use type_checking_assert.
4639 * mule-charset.c (non_ascii_charptr_copy_char):
4640 Modify to work with both ASCII and non-ASCII characters.
4641 Improve docs and variable names.
4642 Replace over-clever fall-through switch with a simple loop.
4643 (Lstream_get_emchar_1):
4644 Replace over-clever fall-through switch with a simple loop.
4646 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4647 Warning suppression.
4649 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
4650 the return value of Lstream_getc, which could be EOF as well.
4652 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
4654 * lisp.h: Make Extbyte a char, not unsigned char, so that external
4655 APIs can be used on Extbytes without casts. Risky!
4659 * input-method-xlib.c (XIM_init_device):
4660 Use Xlib.h instead of IntrinsicP.h.
4661 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
4662 which will break in X11R7.
4663 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
4664 to call XRegisterIMInstantiateCallback with correct types.
4666 * gui-x.c (button_item_to_widget_value): Type correctness.
4668 * glyphs.c (bitmap_to_lisp_data): Type correctness.
4670 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
4671 (xbm_instantiate_1): Type correctness.
4672 (BUILD_GLYPH_INST): Type correctness.
4674 * fileio.c (Fsubstitute_in_file_name): Type correctness.
4677 (decode_coding_sjis):
4678 (decode_coding_big5):
4679 (decode_coding_ucs4):
4680 (decode_coding_utf8):
4681 (decode_coding_iso2022):
4682 (decode_coding_no_conversion):
4683 Make all decoding functions take an Extbyte * arg.
4684 (encode_coding_sjis):
4685 (encode_coding_big5):
4686 (encode_coding_ucs4):
4687 (encode_coding_utf8):
4688 (encode_coding_iso2022):
4689 (encode_coding_no_conversion):
4690 Make all encoding functions take a Bufbyte * arg.
4691 Use size_t instead of unsigned int for memory sizes.
4692 Only cast to unsigned char whenever dereferencing Extbyte *.
4694 * doc.c (unparesseuxify_doc_string): Type correctness.
4696 * console-x.c (split_up_display_spec):
4697 Rewrite without using details of internal string representation.
4698 (x_semi_canonicalize_device_connection): Type correctness.
4701 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
4702 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
4703 (HAVE_XFREE386): Removed.
4705 * buffer.h (DEC_CHARPTR): `const' correctness.
4706 (bufbyte_strcmp): New.
4707 (bufbyte_memcmp): New.
4709 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
4711 * buffer.h (XCHAR_OR_CHAR_INT):
4712 Always use inline function.
4713 Remove redundant type checking assert() - XINT will abort quite nicely.
4715 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4717 * search.c (Freplace_match): Set newtext to an empty string.
4719 2000-10-10 Martin Buchholz <martin@xemacs.org>
4721 * s/decosf1-3.h: Remove #include of stropts.h
4722 * s/ptx.h: Remove #include of stropts.h
4723 * s/usg5-4.h: Remove #include of stropts.h
4726 Use stropts.h, not sys/stropts.h.
4727 Use strtio.h, not sys/strtio.h.
4729 2000-10-04 Martin Buchholz <martin@xemacs.org>
4731 * XEmacs 21.2.36 is released.
4733 2000-09-21 Andy Piper <andy@xemacs.org>
4735 * glyphs-x.c (x_redisplay_widget): make sure non-structural
4736 changes still involve copying the widget tree.
4737 (update_widget_face): make sure a change is register in the widget
4738 tree. Call update_tab_widget_face appropriately.
4739 (update_tab_widget_face): ditto.
4740 (x_tab_control_redisplay): make sure non-structural changes still
4741 involve copying the widget tree.
4743 2000-08-31 Daiki Ueno <ueno@unixuser.org>
4745 * lread.c (locate_file): Check the path element is non-nil.
4747 2000-10-02 Martin Buchholz <martin@xemacs.org>
4749 * lisp.h: Warning suppression for SCO compilers.
4751 * redisplay-tty.c (reset_tty_modes): Fix crash.
4752 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
4754 2000-09-27 Martin Buchholz <martin@xemacs.org>
4756 Big signal/process handling overhaul. Bugs fixed:
4757 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
4758 M-x comint-kill-subjob should work for both values nil and t of
4759 process-connection-type. It was broken on most platforms.
4760 Testing on Irix and Cygwin still needed. Other plaforms tested.
4761 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
4762 * process-unix.c: Signal/Process handling overhaul.
4763 (pty_name): make 64 bytes, as `expect' does, for paranoia.
4764 (allocate_pty): Use all available modern methods of allocating
4765 ptys, falling back to old style BSD allocation as a last resort.
4766 Use allegedly more secure Unix98 pty allocation by default.
4767 (allocate_pty_the_old_fashioned_way): New. the last resort.
4768 (unix_create_process): Push ptem, ldterm, ttcompat where
4769 available. Autoconfiscate.
4770 (try_to_initialize_subtty): New.
4771 (unix_kill_child_process): Proper signal handling for ptys on most
4772 platforms, using special knowledge of AIX, BSD, etc...
4773 (unix_create_process): Always disconnect_controlling_terminal() for
4774 subprocesses, whether using ptys or not.
4775 * process.h: Remove old getpt-dependent PTY code.
4776 * process.c (Fprocess_send_signal): New, obvious generic function.
4777 (decode_signal): New.
4778 (Finterrupt_process):
4782 (Fcontinue_process):
4783 (Fsignal_process): Use decode_signal.
4784 (process_send_signal):
4785 Many docstring corrections.
4786 Allow any signal to be sent to a process object.
4787 * config.h.in: Add symbols for big signal/process overhaul.
4788 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
4789 * sysproc.h: Include process-related headers, where available:
4790 sys/stropts.h sys/strtio.h pty.h libutil.h
4798 Remove old S&M pty stuff.
4799 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
4800 * systty.h: Simplify cpp hackery, improve comments.
4801 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
4803 * editfns.c (Fformat_time_string):
4804 Be a little more paranoid with the return value of ctime.
4806 * fileio.c (check_executable):
4808 Use symbolic constants X_OK, W_OK.
4810 * console-x.c (split_up_display_spec): Fix a warning.
4812 2000-10-02 Martin Buchholz <martin@xemacs.org>
4814 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
4815 * ntproc.c (sys_spawnve): make_string ==> build_string
4816 Small clarity improvements.
4818 2000-09-30 Martin Buchholz <martin@xemacs.org>
4820 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
4822 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
4824 * config.h.in (HAVE_STRCASECMP): Remove.
4826 2000-09-29 Martin Buchholz <martin@xemacs.org>
4828 * redisplay-output.c (redisplay_output_pixmap):
4829 Cleaner and possibly more 64-bit correct code.
4831 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4833 * dumper.c (pdump_load_finish): move restoration of
4834 `noninteractive1' to emacs.c (main_1).
4835 * emacs.c (main_1): protect LISP-visible command-line flags
4838 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
4840 * Makefile.in.in (versionclean): Use EXE_TARGET and
4841 DUMP_TARGET instead of literal program names.
4843 2000-09-20 Martin Buchholz <martin@xemacs.org>
4845 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
4847 2000-09-19 Martin Buchholz <martin@xemacs.org>
4849 * *: Spelling mega-patch
4851 2000-09-19 Martin Buchholz <martin@xemacs.org>
4853 * fns.c (bad_bad_turtle):
4854 Delete "Eek!" comment, since we fixed the bug to which it refers.
4856 2000-09-16 Martin Buchholz <martin@xemacs.org>
4858 * alloca.c: Replace REGISTER with register.
4860 2000-09-16 Daiki Ueno <ueno@unixuser.org>
4862 * file-coding.c (ucs_to_char): Use countof.
4864 2000-09-16 Martin Buchholz <martin@xemacs.org>
4866 * file-coding.c: (ucs_to_char):
4867 (complex_vars_of_file_coding):
4868 Use countof instead of sizeof.
4869 Use CHECK_NATNUM instead of CHECK_INT.
4871 * sysdep.c (strcasecmp): Remove.
4872 * device-x.c (ascii_strcasecmp): New.
4873 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
4874 Avoid using non-standard non-portable strcasecmp.
4876 2000-09-16 Martin Buchholz <martin@xemacs.org>
4878 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
4879 * font-lock.c: remove reference to emacsfns.h.
4880 * search.c: small doc improvement.
4881 * event-Xt.c: correct file names in comments.
4882 * console-x.h Correct file names in comments.
4883 * frame.c: Correct file names in comments.
4884 * event-stream.c: remove Energize from comments.
4886 2000-09-15 Martin Buchholz <martin@xemacs.org>
4888 * symeval.h (DEFERROR_STANDARD):
4891 (DEFSYMBOL_NO_DUMP):
4892 (DEFSYMBOL_MULTIWORD_PREDICATE):
4893 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
4895 The construct &##name is not sensible C.
4896 Fixes compilation errors with Unixware native compiler.
4898 2000-09-14 Martin Buchholz <martin@xemacs.org>
4900 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
4901 (next_frame_internal): Removed. We now just have next_frame.
4903 Write a simpler and cleaner one-pass algorithm.
4904 Remove called_from_delete_device arg and #ifdefed-out code.
4906 Renamed from prev_frame. Update callers.
4907 Cleaned up to have an analogous implementation to next_frame.
4908 (other_visible_frames_internal): Remove the
4909 called_from_delete_device bogus arg, and hence, remove this
4910 function. Just use other_visible_frames().
4912 * window.c (Fnext_window):
4914 Since next_frame() is guaranteed to return a frame, remove check
4915 for nil inserted in previous patch.
4918 Make code look more like Fnext_window.
4920 Respect the `console' arg when iterating through windows.
4921 Fixes bug: (get-buffer-window buffer t device) not respecting
4923 This function needs more work, as others have pointed out.
4925 * frame.h: Rename prev_frame to previous_frame.
4926 device_matches_console_spec no longer takes a `frame' arg.
4931 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4932 From "Golubev I. N." <gin@mo.msk.ru>.
4934 * make-src-depend: Fix typo.
4936 2000-09-13 Martin Buchholz <martin@xemacs.org>
4938 * window.c (Fnext_window):
4939 next_frame() might return nil, not a frame.
4941 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4943 * frame.c (next_frame_internal):
4944 We've passed a frame if we've passed its device.
4946 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4947 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4949 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4951 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4952 Allow option to suppress accelerators in menu/dialog items.
4953 (populate_or_checksum_helper): Pass dialog title through above.
4955 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4957 * event-msw.c (mswindows_key_to_emacs_keysym):
4958 Add "pause" key, fix "menu" key.
4960 2000-09-09 Martin Buchholz <martin@xemacs.org>
4962 * eval.c (reinit_vars_of_eval):
4963 Increase max_lisp_eval_depth to 1000,
4964 required for thai-xtis.el to byte-compile under some circumstances.
4966 2000-09-04 Martin Buchholz <martin@xemacs.org>
4968 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4971 2000-09-01 Martin Buchholz <martin@xemacs.org>
4973 * make-src-depend: Make the generated Makefiles smaller.
4975 * s/hpux.h (SETUP_SLAVE_PTY):
4976 Provide a %d in the format string for the errno argument.
4978 * editfns.c (Ftemp_directory):
4980 Avoid buffer overrun on very long file name.
4982 * input-method-xlib.c (XIM_init_device):
4983 6th parameter of XRegisterIMInstantiateCallback has different
4984 pointer types on different OSes, so simply cast to (void *).
4986 * unexhp9k800.c: Warning fixes. Fiddly changes.
4988 * sysdll.c (dll_open):
4989 shl_load will hang hard if passed a NULL filename.
4990 Simply return NULL for compatibility with dlopen.
4991 * sysdll.c: Conform to XEmacs coding standards.
4993 * sysdep.c (get_pty_max_bytes):
4994 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4996 2000-08-31 Martin Buchholz <martin@xemacs.org>
4998 * tooltalk.c: Add #include <syssignal.h>
5000 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5002 * s/hpux.h: Don't use undefined function sigunblock().
5004 2000-08-31 Martin Buchholz <martin@xemacs.org>
5006 * config.h.in: Add HAVE_BALLOON_HELP.
5007 * emacs.c: Use HAVE_BALLOON_HELP.
5008 * Makefile.in.in (x_objs):
5009 Make Balloon Help conditional on finding shape.h.
5011 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5013 * syntax.c (regex_emacs_buffer_p): New variable.
5014 * syntax.h (regex_emacs_buffer_p): extern.
5015 * search.c (looking_at_1):
5017 (fast_string_match):
5018 (search_buffer): Set regex_emacs_buffer_p.
5019 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
5020 when before_dot, at_dot, after_dot.
5022 2000-08-23 Andy Piper <andy@xemacs.org>
5024 * gui-x.c (popup_selection_callback): Only set action_occurred
5025 when we really have an image instance.
5026 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5028 2000-08-23 Andy Piper <andy@xemacs.org>
5030 * gui-msw.c (mswindows_handle_gui_wm_command): set
5032 * gui-x.c (popup_selection_callback): ditto.
5034 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
5035 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
5036 (struct Lisp_Image_Instance): add action_occurred flag.
5038 * glyphs.c (redisplay_subwindow): use action_occurred flag.
5039 (image_instance_changed): ditto.
5040 (reset_frame_subwindow_instance_cache): only unmap windows - do
5041 not remove them from the cache also.
5043 * glyphs-widget.c (tab_control_update): better debug.
5044 (progress_gauge_update): ditto.
5045 (layout_update): ditto.
5046 (layout_instantiate): ditto.
5047 (tab_control_order_only_changed): cope with null pending items.
5049 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
5050 debug. Force selection of an item when an action occurred. Cope
5051 with null pending_items.
5052 (mswindows_progress_gauge_redisplay): better debug.
5053 * glyphs-x.c (x_tab_control_redisplay): ditto.
5055 * redisplay.c (redisplay_frame): reset the frame cache if the
5058 * window.c (Fset_window_configuration): potentially re-enable
5060 (window_unmap_subwindows): need to finalize instances here since
5061 it is only used in mark_window_as_deleted.
5063 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
5065 * nas.c (SndOpenDataForReading):
5066 nas.c (WaveOpenDataForReading):
5067 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
5068 Somehow escaped from the 2000-08-14 patch.
5070 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5072 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
5073 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
5075 2000-08-21 Andy Piper <andy@xemacs.org>
5077 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
5078 window if it is not already displayed.
5080 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
5081 it is not already displayed.
5083 * window.c (Fset_window_configuration): don't reset the frame
5086 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
5087 instances from the frame cache if we are actually finalizing them.
5088 (reset_frame_subwindow_instance_cache): reset frame cache only
5089 after unmapping everything.
5090 (map_subwindow): set displayed flag after mapping.
5092 2000-08-21 Martin Buchholz <martin@xemacs.org>
5094 * data.c (indirect_function):
5095 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
5097 * eval.c (function_argcount):
5098 Use original function when signaling errors.
5100 2000-08-18 Andy Piper <andy@xemacs.org>
5102 * frame.c (delete_frame_internal): use new
5103 free_frame_subwindow_instances name.
5105 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
5106 (add_tab_item): make return type correct.
5107 (mswindows_tab_control_instantiate): assert index of tab.
5108 (mswindows_tab_control_redisplay): Re-code to use
5109 gui_item_equal_sans_selected and gui_item_list_find_selected.
5111 * glyphs-widget.c (tab_control_update): Correct comment.
5113 * window.c (window_unmap_subwindows): use new
5114 unmap_subwindow_instance_cache_mapper.
5115 (window_unmap_subwindows_cache_mapper): deleted.
5116 (Fset_window_configuration): comparisons should now be with
5117 EQ. Preserve the subwindow instance cache across configuration
5119 (allocate_window): ditto.
5120 (make_dummy_parent): ditto.
5122 * glyphs.c (free_frame_subwindow_instances): rename from
5123 free_frame_subwindow_instance_cache. finalize all instances rather
5124 than just those in the display cache.
5125 (finalize_all_subwindow_instances): walk windows unmapping and
5126 finalizing subwindows.
5127 (unmap_subwindow_instance_cache_mapper): moved from
5128 window.c. Allow finalization as well as unmapping.
5130 * gui.c (gui_item_list_find_selected): new function.
5132 * gui.h (gui_item_list_find_selected): declare.
5134 * glyphs-x.c (x_tab_control_redisplay): pick tab
5135 explicitly. Re-code to use gui_item_equal_sans_selected and
5136 gui_item_list_find_selected.
5138 * glyphs-x.h: add lwlib-utils.h
5140 * buffer.c (Frecord_buffer): undo previous change.
5142 2000-08-09 Vin Shelton <acs@xemacs.org>
5144 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
5145 possible. Create temporary files more securely. The patch was
5146 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
5147 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
5148 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
5151 2000-08-07 Ben Wing <ben@xemacs.org>
5153 * getloadavg.c: remove duplicate (and windows-breaking)
5154 includes of fcntl.h and sys/file.h.
5156 * nt.c: remove duplicate getloadavg() definition.
5158 * sysdll.h (Qdll_filename_encoding): add missing stand-in
5161 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
5163 * eval.c (function_argcount): If function needs to be autoloaded
5164 actually use the loaded definition.
5167 2000-08-05 Ben Wing <ben@xemacs.org>
5169 * getloadavg.c: add prototype for getloadavg(). remove
5170 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
5171 of the code). remove duplicate header includes.
5173 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
5175 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
5176 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
5177 useful load average.
5179 * alloc.c (reinit_alloc_once_early): removed references to
5180 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
5181 the lisp vars are the only things referencing the malloc_sbrk_*
5182 vars, and they were already if 0'd out. these vars only exist
5183 in the older malloc.c, which is basically unused, and they're
5184 only for informational purposes.
5186 * m\*.h: removed useless VIRT_ADDR_VARIES.
5188 * m\powerpc.h: removed stray NO_ARG_ARRAY.
5190 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
5192 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
5193 color if the image is a mono pixmap.
5195 2000-07-30 Ben Wing <ben@xemacs.org>
5197 * Makefile.in.in (release):
5200 * buffer.c (directory_is_current_directory):
5201 * dired-msw.c (mswindows_get_files):
5203 * dired.c (Fdirectory_files):
5204 * dired.c (file_name_completion_stat):
5205 * dired.c (Ffile_attributes):
5206 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
5207 preprocessor tricks, to avoid problems on some machines
5210 * callproc.c (egetenv): GC docs.
5213 * console-msw.h (struct mswindows_dialog_id):
5214 * lrecord.h (lrecord_type):
5215 New object for use with MSW dialogs.
5217 * console.h (struct console_methods):
5218 New enable/disable frame methods, for proper modal dialogs.
5220 * device-msw.c (msprinter_default_printer): Fix to follow
5221 proper Mule conventions.
5224 * device-msw.c (signal_open_printer_error):
5225 * device-msw.c (msprinter_init_device):
5226 * device-msw.c (ensure_not_printing):
5227 * device-msw.c (plist_get_margin):
5228 * device-msw.c (Fmsprinter_select_settings):
5229 * device-msw.c (finalize_devmode):
5230 * device-msw.c (Fmsprinter_settings_despecialize):
5231 * device-msw.c (signal_enum_priner_error):
5232 * extents.c (decode_extent):
5233 * extents.c (decode_map_extents_flags):
5234 * extents.c (decode_extent_at_flag):
5235 * extents.c (Fextent_at):
5236 * extents.c (Fextents_at):
5237 * extents.c (symbol_to_glyph_layout):
5238 [[[[2]]]] Use structured errors.
5241 * dialog-msw.c (mswindows_is_dialog_msg):
5242 * dialog-msw.c (mark_mswindows_dialog_id):
5243 * dialog-msw.c (dialog_proc):
5244 * dialog-msw.c (handle_question_dialog_box):
5245 * dialog-msw.c (syms_of_dialog_mswindows):
5246 Define new object to clean up marking; use it as a dialog identifier.
5247 Call new delete-dialog-box-hook.
5249 * dialog-x.c (dbox_selection_callback):
5250 * dialog-x.c (dbox_descriptor_to_widget_value):
5251 * dialog-x.c (x_make_dialog_box_internal):
5252 Call new delete-dialog-box-hook.
5256 * dialog.c (syms_of_dialog):
5257 * dialog.c (vars_of_dialog):
5258 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
5261 * eval.c (signal_call_debugger):
5262 when noninteractive, output stack traces on the console instead
5263 of in a (never-seen) buffer.
5265 * eval.c (signal_type_error):
5266 * eval.c (invalid_argument_2):
5268 new funs for use w/structured errors.
5271 * event-Xt.c (x_to_emacs_keysym):
5272 * event-Xt.c (describe_event):
5273 * event-Xt.c (emacs_Xt_event_handler):
5274 * event-Xt.c (vars_of_event_Xt):
5276 * event-msw.c (mswindows_wnd_proc):
5277 * event-msw.c (vars_of_event_mswindows):
5278 rename {x,mswindows}-debug-events to debug-{}-events for
5279 consistency with other debug-foo variables.
5282 document next-event more clearly.
5284 * fileio.c (Ffile_name_directory):
5285 * fileio.c (Ffile_name_nondirectory):
5286 * fileio.c (Funhandled_file_name_directory):
5287 * fileio.c (file_name_as_directory):
5288 * fileio.c (Ffile_name_as_directory):
5289 * fileio.c (directory_file_name):
5290 * fileio.c (Fdirectory_file_name):
5291 * fileio.c (Fmake_temp_name):
5292 * fileio.c (Ffile_truename):
5293 * fileio.c (Fsubstitute_in_file_name):
5294 * fileio.c (expand_and_dir_to_file):
5295 * fileio.c (barf_or_query_if_file_exists):
5296 * fileio.c (check_executable):
5297 * fileio.c (Ffile_exists_p):
5298 * fileio.c (Ffile_writable_p):
5299 * fileio.c (Ffile_directory_p):
5300 * fileio.c (Ffile_regular_p):
5301 * fileio.c (Ffile_modes):
5302 * fileio.c (Ffile_newer_than_file_p):
5303 * fileio.c (Fverify_visited_file_modtime):
5304 * fileio.c (Fset_visited_file_modtime):
5305 * fileio.c (auto_save_1):
5310 * frame-msw.c (mswindows_init_frame_1):
5311 * frame-msw.c (mswindows_enable_frame):
5312 * frame-msw.c (error_frame_unsizable):
5313 * frame-msw.c (msprinter_init_frame_1):
5314 * frame-msw.c (msprinter_init_frame_3):
5315 * frame-msw.c (console_type_create_frame_mswindows):
5317 implement new enable/disable frame methods.
5320 * frame-x.c (x_enable_frame):
5321 * frame-x.c (console_type_create_frame_x):
5322 implement new enable/disable frame methods.
5325 * frame.c (Fdisable_frame):
5326 * frame.c (syms_of_frame):
5327 * frame.h (struct frame):
5328 implement new enable/disable frame methods/functions.
5333 * glyphs-msw.c (mswindows_widget_instantiate):
5334 comment that initial-focus should be implemented.
5337 * glyphs-widget.c (check_valid_instantiator):
5338 * glyphs-widget.c (check_valid_orientation):
5339 * glyphs-widget.c (check_valid_tab_orientation):
5340 * glyphs-widget.c (check_valid_justification):
5341 * glyphs-widget.c (check_valid_border):
5342 * glyphs-widget.c (check_valid_callback):
5343 * glyphs-widget.c (check_valid_int_or_function):
5344 * glyphs-widget.c (check_valid_string_or_vector):
5345 * glyphs-widget.c (check_valid_item_list_1):
5346 * glyphs-widget.c (widget_validate):
5347 * glyphs-widget.c (combo_box_validate):
5348 * glyphs-widget.c (widget_instantiate):
5349 * glyphs-widget.c (syms_of_glyphs_widget):
5350 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
5351 * glyphs-widget.c (image_instantiator_combo_box):
5352 * glyphs-widget.c (image_instantiator_scrollbar):
5353 * glyphs-widget.c (image_instantiator_tab_control):
5354 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
5356 support (unimplemented) keyword initial-focus.
5357 reindent long macros.
5359 * glyphs-x.c (x_redisplay_widget):
5360 * glyphs-x.c (x_button_instantiate):
5361 * glyphs-x.c (x_button_redisplay):
5362 * glyphs-x.c (x_progress_gauge_instantiate):
5363 * glyphs-x.c (x_edit_field_instantiate):
5364 * glyphs-x.c (x_combo_box_instantiate):
5365 * glyphs-x.c (x_tab_control_instantiate):
5366 * glyphs-x.c (x_label_instantiate):
5368 * gui-x.c (button_item_to_widget_value):
5369 * gui-x.c (gui_items_to_widget_values_1):
5370 * gui-x.c (gui_item_children_to_widget_values):
5371 * gui-x.c (gui_items_to_widget_values):
5373 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5374 add new flag to gui-parsing routines to indicate whether
5375 accelerator specs should be supported.
5377 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
5379 * glyphs.h (struct Lisp_Image_Instance):
5380 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
5381 add initial-focus flag.
5384 * gui.c (syms_of_gui):
5385 * gui.c (vars_of_gui):
5386 clean up menu-no-selection-hook.
5389 support delete-dialog-box-hook.
5391 * lread.c (Fload_internal):
5392 * lread.c (locate_file_in_directory_mapper):
5396 * lrecord.h (struct toolbar_button):
5397 * lrecord.h (syms_of_toolbar):
5398 document how to create a new object.
5400 * menubar-msw.c (mswindows_char_is_accelerator):
5401 may be called on frames w/o menus.
5403 * menubar.c (vars_of_menubar):
5404 clean up :filter docs.
5411 * process-nt.c (validate_signal_number):
5412 * process-nt.c (signal_cannot_launch):
5413 * process-nt.c (nt_create_process):
5414 * process-nt.c (nt_send_process):
5415 * process-nt.c (nt_kill_child_process):
5416 * process-nt.c (nt_open_network_stream):
5417 * process-nt.c (syms_of_process_nt):
5419 delete quote-handling. call new lisp code that does it better.
5421 * process-unix.c (connect_to_file_descriptor):
5422 * process-unix.c (allocate_pty):
5423 * process-unix.c (unix_send_process):
5424 * process-unix.c (unix_kill_child_process):
5425 * process-unix.c (unix_open_network_stream):
5426 * process-unix.c (unix_open_multicast_group):
5430 * process.c (Fstart_process_internal):
5431 (2). need to canonicalize process path even if absolute.
5433 * select-msw.c (symbol_to_ms_cf):
5434 * select-msw.c (ms_cf_to_symbol):
5435 * select-msw.c (cf_is_autofreed):
5436 * select-msw.c (mswindows_destroy_selection):
5438 * select.c (syms_of_select):
5440 support dibv5, fix bugs. (from Mike Alexander)
5442 * select.c (Fget_selection_internal):
5443 * select.c (select_convert_out):
5446 * sysdep.c (xemacs_stat):
5451 but keep original stat() here because we provide encapsulation
5455 * sysfile.h (fstat):
5456 remove stat garbage.
5460 don't include tchar.h. it's inappropriate because it makes
5461 compile-time distinctions when we want runtime distinctions.
5462 (we provide our own tchar replacements)
5465 use default object printer for toolbar-button.
5468 make sure we don't encapsulate.
5470 * window.c (vars_of_window):
5471 emphasize that temp-buffer-show-hook is obsolete.
5473 2000-08-05 Martin Buchholz <martin@xemacs.org>
5475 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
5476 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
5478 * events.c (Fevent_timestamp_lessp):
5479 Not 64-bit clean. Use EMACS_INT, not int.
5481 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
5483 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
5484 unsigned int and changed the last enum to
5485 lrecord_type_last_built_in_type.
5486 (lrecord_implementations_table): changed prototype to know how
5487 long the array is supposed to be.
5488 (lrecord_type_count): new unsigned int to keep track of the
5489 current number of lisp lrecord types.
5490 (DEFINE_EXTERNAL_LRECORD):
5491 (DECLARE_EXTERNAL_LRECORD): Added these two for external
5492 dynamic-modules to declare new lisp types. They are the same
5493 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
5494 int for each new type, and increment lrecord_type_count by 1.
5496 * alloc.c (lrecord_implementations_table): Changed to reference
5497 lrecord_type_last_built_in_type for the size of the array.
5498 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
5500 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5502 * glyphs.h (check_valid_item_list): Renamed from
5503 check_valid_item_list_1.
5505 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
5507 * select.c (Qselect_coerce): New.
5508 * select.c (Vselection_coercion_alist): New.
5509 * select.c (syms_of_select): Declare.
5510 * select.c (get-selection-internal): Use it.
5511 Use the new select-coerce functionality.
5513 * select.c (select_coerce): New.
5514 * select.h (select_coerce): Declare.
5515 New function to coerce one type of data into another.
5517 2000-08-03 Martin Buchholz <martin@xemacs.org>
5519 * callproc.c (Fcall_process_internal):
5520 (Fcall_process_internal):
5521 * process-unix.c (unix_create_process):
5522 Save and restore the value of errno, so that error messages are accurate.
5524 2000-08-01 Martin Buchholz <martin@xemacs.org>
5526 * elhash.c (print_hash_table):
5527 Fix printing of hash tables to also use `key-and-value' instead of `t'.
5528 Prettify docstrings and indentation.
5530 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5532 * window.c (Fwindow_pixel_edges): Subtract frame border and
5535 2000-07-31 Andy Piper <andy@xemacs.org>
5537 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
5538 will acknowledge the change.
5540 * glyphs.h: declare tab_control_order_only_changed.
5542 * glyphs-x.c (x_tab_control_redisplay): use
5543 tab_control_order_only_changed.
5545 * glyphs-widget.c (tab_control_order_only_changed): new function.
5547 * glyphs-msw.c (mswindows_tab_control_redisplay): use
5548 tab_control_order_only_changed.
5550 * gui.c (gui_item_equal_sans_selected): new function.
5551 (gui_item_equal): use it.
5553 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
5554 :properties in favor of :items..
5556 * glyphs-widget.c (check_valid_item_list): rename from
5557 check_valid_item_list_1.
5558 (check_valid_item_list_1): renamed.
5559 (combo_box_validate): deprecate :properties in favor of :items.
5560 (widget_instantiate): ditto.
5561 (tab_control_update): ditto.
5562 (image_instantiator_combo_box): ditto.
5563 (image_instantiator_tree_view): ditto.
5564 (image_instantiator_tab_control): ditto.
5565 (layout_post_instantiate): remove dead code.
5567 * print.c (debug_print_no_newline): only write to debugger if in
5570 * elhash.c (Fmake_hash_table): update doc string.
5572 * event-msw.c (mswindows_wnd_proc): don't allow processing of
5573 messages whilst in GC. This at least stops XEmacs crashing but has
5574 the potential for wierd behaviour.
5576 2000-07-31 Martin Buchholz <martin@xemacs.org>
5579 Make existence of s&m files optional.
5581 * s/bsd386.h: Remove HAVE_GETLOADAVG.
5582 * s/freebsd.h: Remove HAVE_GETLOADAVG.
5583 * s/gnu.h: Remove HAVE_GETLOADAVG.
5584 * s/netbsd.h: Remove HAVE_GETLOADAVG.
5585 * s/sol2.h: Remove HAVE_GETLOADAVG.
5586 * lisp.h: Remove getloadavg() declaration.
5588 Include <sys/loadavg.h> if available.
5589 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
5590 * config.h.in: Group together getloadavg()-related macros.
5591 Use only configure-time tests to detect getloadavg().
5593 2000-07-30 Martin Buchholz <martin@xemacs.org>
5595 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
5597 2000-07-25 Andy Piper <andy@xemacs.org>
5599 * syswindows.h: add tchar.h for native builds.
5601 * frame.c (syms_of_frame): remove set-glyph-image.
5603 * general-slots.h: add Qset_glyph_image.
5605 * glyphs-widget.c (layout_update): add domain arg to
5607 (syms_of_glyphs_widget): remove set-glyph-image.
5609 2000-07-23 Ben Wing <ben@xemacs.org>
5611 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
5614 2000-07-22 Andy Piper <andy@xemacs.org>
5616 * symsinit.h: add syms_of_win32().
5618 * gui-msw.c (syms_of_gui_mswindows): remove
5619 Fmswindows_shell_execute.
5620 (Fmswindows_shell_execute): moved to win32.c.
5622 * emacs.c (main_1): add syms_of_win32 ().
5624 * win32.c (init_potentially_nonexistent_functions): rewrite in
5625 compiler-friendly terms.
5626 (Fmswindows_shell_execute): move here from gui-msw.c.
5627 (syms_of_win32): new.
5629 * device-msw.c (Fmswindows_printer_list): clean up args to
5631 Don't include tchar under cygwin or mingw.
5632 (msprinter_default_printer): make cygwin-friendly.
5634 2000-07-21 Andy Piper <andy@xemacs.org>
5636 * glyphs-widget.c (image_instantiator_tree_view): use tab
5637 control's update function.
5638 (layout_property): new function. Retrieve items.
5640 * glyphs-msw.c (mswindows_tree_view_redisplay): new
5641 function. Re-populate the tree view from the pending items.
5643 * glyphs.c (instantiate_image_instantiator): Make sure the domain
5644 is designated the parent if the domain is an image instance. This
5645 is needed so that dirtiness can be cascade up the hierarchy and
5646 thus for layout children to be redisplayed correctly.
5647 (allocate_image_instance): rename glyph -> parent.
5649 * redisplay.h: change redisplay_output_layout signature.
5651 * redisplay-msw.c (mswindows_output_display_block): use domain
5654 * redisplay-x.c (x_output_display_block): use domain arg.
5656 2000-07-10 Andy Piper <andy@xemacs.org>
5658 * window.c (Fset_window_configuration): add comment.
5660 * redisplay-output.c (compare_runes):
5661 (redisplay_output_subwindow): redisplay rather than update subwindow.
5662 (redisplay_output_layout): ditto.
5664 * redisplay-msw.c (mswindows_frame_output_end):
5665 (mswindows_frame_output_end): make defer window pos optional.
5667 * lisp.h: add Flast.
5669 * glyphs.h (struct image_instantiator_methods): add dest_mask top
5670 normalize method. Change update method to be for changed
5671 instantiators. Add redisplay method. Change signature of layout
5673 (struct Lisp_Image_Instance): add instantiator.
5674 (IMAGE_INSTANCE_INSTANTIATOR): new.
5675 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
5676 (XIMAGE_INSTANCE_INSTANTIATOR): new.
5677 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
5680 (find_instantiator_differences): new function.
5681 (Fset_instantiator_property): new convenience function.
5682 (check_image_instance_structure): strictly check for vector
5684 (normalize_image_instantiator): make non-static.
5685 (instantiate_image_instantiator): pass on dest_mask and use new
5686 signatures for image_instance_layout and friends.
5687 (mark_image_instance): mark the instantiator. Mark the subwindow
5688 face not the widget face.
5689 (image_instance_equal): add instantiator.
5690 (image_instance_hash): ditto.
5691 (allocate_image_instance): ditto.
5692 (Fset_image_instance_property): removed.
5693 (Fimage_instance_file_name): ditto.
5694 (Fcolorize_image_instance): ditto.
5695 (image_instance_layout): add offsets to be set.
5696 (update_image_instance): new function. update an image instance
5697 from its changed instantiator.
5698 (inherit_normalize): add dest_mask.
5699 (xbm_normalize): ditto.
5700 (xface_normalize): ditto.
5701 (xpm_normalize): ditto.
5702 (text_update): set_property -> update.
5703 (image_instantiate): use the glyph identity as a hash key, not the
5705 (glyph_width): use new image_instance_layout signature.
5706 (glyph_ascent): ditto.
5707 (glyph_descent): ditto.
5708 (glyph_height): ditto.
5709 (glyph_query_geometry): ressurrect.
5710 (glyph_layout): ditto.
5711 (redisplay_subwindow): update -> redisplay.
5712 (syms_of_glyphs): add Fset_instantiator_property.
5713 (image_instantiator_format_create): set_property -> update.
5716 (autodetect_normalize): add dest_maks to signature.
5717 (x_redisplay_subwindow): update -> redisplay.
5718 (x_redisplay_widget): ditto.
5719 (x_button_redisplay): ditto.
5720 (x_progress_gauge_redisplay): ditto.
5721 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
5723 (console_type_create_glyphs_x): update -> redisplay.
5724 (image_instantiator_format_create_glyphs_x): ditto.
5727 (check_valid_instantiator): disallow glyphs in the instantiator,
5728 they must now be vectors.
5729 (check_valid_instantiator_list): ditto.
5730 (glyph_instantiator_to_glyph): use internal symbol rather than
5732 (widget_update): renamed from widget_set_property. Call cascaded
5734 (redisplay_widget): renamed from update_widget.
5735 (widget_layout): image_instance_layout now takes position as well
5737 (widget_normalize): ditto.
5738 (widget_instantiate): ditto.
5739 (tab_control_query_geometry) ditto.:
5740 (tab_control_update): renamed from tab_control_set_property.
5741 (progress_gauge_update): set_property -> update.
5742 (layout_normalize): rewrite so that child instantiators are
5744 (layout_update): new function. Create glyphs from the normalized
5745 children and cope with any other layout keywords. We do not
5746 instantiate children here that will be take care of by
5747 redisplay_output_layout.
5748 (layout_instantiate): call layout_update and not much else.
5749 (layout_post_instantiate): not sure whether this is needed
5751 (layout_query_geometry): query glyph geometry rather than
5752 image_instance geometry.
5753 (layout_layout): set offsets from pass in parameters. Use glyph
5754 geometry and layout functions rather than image instance ones.
5755 (native_layout_layout): ditto.
5756 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
5757 (image_instantiator_widget): set_property -> update.
5758 (image_instantiator_buttons): ditto.
5759 (image_instantiator_progress_guage): ditto.
5760 (image_instantiator_tab_control): ditto.
5761 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
5762 (image_instantiator_layout): add update method.
5764 * glyphs-msw.c (bmp_normalize):
5765 (mswindows_resource_normalize): add dest_mask so that it can be
5766 proprogated by layout_normalize.
5767 (begin_defer_window_pos): make optional because it may not be the
5768 right thing to do and it introduces differences with X.
5769 (mswindows_unmap_subwindow): ditto.
5770 (mswindows_map_subwindow): ditto.
5771 (mswindows_redisplay_subwindow): renamed from
5772 mswindows_update_subwindow.
5773 (mswindows_redisplay_widget): ditto.
5774 (mswindows_button_redisplay): renamed from
5775 mswindows_button_update. Update is now what the instantiation
5776 function does for a changed instantiator.
5777 (mswindows_progress_gauge_instantiate): set the progress value
5778 here if appropriate.
5779 (mswindows_tab_control_redisplay): cope with re-ordering of the
5780 members of the tab widget by simply selecting the new top
5781 widget. This makes things appear ok if you click on a tab.
5782 (mswindows_combo_box_instantiate): image_instance_layout now takes
5783 position as well as size.
5784 (mswindows_progress_gauge_redisplay): renamed from
5785 mswindows_progress_gauge_update.
5786 (console_type_create_glyphs_mswindows): fix update -> redisplay.
5787 (image_instantiator_format_create_glyphs_mswindows): ditto.
5789 * glyphs-eimage.c (jpeg_normalize):
5792 (tiff_normalize): add dest_mask so that it can be proprogated by
5797 (hash_table_weakness_validate):
5798 (decode_hash_table_weakness):
5799 (Fhash_table_weakness):
5801 (syms_of_elhash): use Ben's naming scheme for hashtable types..
5803 * console.h (struct console_methods): move update_* to
5806 2000-07-20 Ben Wing <ben@xemacs.org>
5808 * *.[ch] (XSETOBJ): remove unused middle argument.
5809 lisp-disunion.h: correct wrap_object() to one argument.
5811 2000-07-15 Ben Wing <ben@xemacs.org>
5814 * s/cygwin32.h (CYGWIN_CONV_PATH):
5815 Add missing logb prototype for v1.1.
5816 Use post-b20 names and alias to pre-b20 names when pre-b20.
5818 * s/windowsnt.h: [5].
5820 2000-07-15 Ben Wing <ben@xemacs.org>
5822 * Makefile.in.in (x_objs):
5823 * Makefile.in.in (sheap_objs):
5824 * Makefile.in.in (objs):
5825 added win32.o, cosmetic cleanups.
5827 * alloc.c (Fmake_byte_code):
5828 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
5829 etc. macros which declare their own args now.
5831 * alloc.c (syms_of_alloc):
5832 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
5835 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
5837 * buffer.c (Fget_file_buffer):
5838 Fixed GCPRO problem.
5840 * buffer.c (get_truename_buffer):
5841 Fixed comment about GC checking.
5843 * buffer.c (syms_of_buffer):
5844 Undeclared those dedicated frame funs.
5848 Define convenience macros for internal/external conversions.
5849 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
5850 and Qenvironment_variable_encoding for cleaner code.
5853 Remove dedicated-frame; in lisp.
5855 * bytecode.c (funcall_compiled_function):
5858 * bytecode.c (syms_of_bytecode):
5862 * console-msw.c (mswindows_show_console): Rewrote.
5864 * console-msw.c (Fmswindows_debugging_output): New.
5865 Sends to OutputDebugString (special MSWin debugger interface).
5867 * console-msw.c (Fmswindows_message_box):
5868 Fixed stupid bugs so it works when called from kill-emacs.
5870 * console-msw.c (syms_of_console_mswindows):
5871 Declare Fmswindows_debugging_output.
5874 New MSWin prototypes.
5876 * console-msw.h (struct mswindows_frame):
5877 New entry last-click-mods for improved button-modifier support.
5879 * console-msw.h (FRAME_MSWINDOWS_POPUP):
5880 New struct entry `popup' with corresponding accessor.
5883 * console-x.c (split_up_display_spec):
5884 * console-x.c (get_display_arg_connection):
5885 * console-x.c (x_semi_canonicalize_console_connection):
5886 * console-x.c (x_canonicalize_device_connection):
5887 [[[6]]]: Change char to more specific type.
5888 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
5890 * console-x.c (x_semi_canonicalize_console_connection):
5891 * console-x.c (x_canonicalize_device_connection):
5892 [[[9]]]: Fix up error signalling to use new structured error system.
5895 [[[4]]]: Define codesys aliases:
5896 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
5897 Qx_color_name_encoding, Qx_display_name_encoding.
5899 * console.h (struct console_methods):
5900 New method make_dialog_box_internal supersedes older
5901 popup_dialog_box method.
5904 Define many new errors, part of new structured errors.
5906 * data.c (init_errors_once_early):
5907 * data.c (syms_of_data):
5910 * device-msw.c (mswindows_init_device):
5911 [[[5]]]: Cleanup to support NT 3.51.
5913 * device-msw.c (decode_devmode): Cleanup.
5915 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5916 * device-msw.c (mswindows_handle_print_dialog_box):
5917 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5918 * device-msw.c (syms_of_device_mswindows):
5919 Delete the dialog box primitives recently introduced by Kirill and
5920 instead interface to general dialog box interface.
5923 * device-x.c (compute_x_app_name):
5924 * device-x.c (x_init_device):
5925 * device-x.c (Fx_valid_keysym_name_p):
5926 * device-x.c (Fx_set_font_path):
5930 * device.h (wrap_device): New.
5931 First of its kind; meant to replace XSETDEVICE.
5933 * dialog-msw.c: Many file-dialog symbols.
5935 * dialog-msw.c (mswindows_register_popup_frame): New.
5936 * dialog-msw.c (mswindows_is_dialog_msg): New.
5937 For supporting kbd traversal in dialog boxes.
5939 * dialog-msw.c (dialog_proc):
5940 Support hitting ESC in dialogs.
5942 * dialog-msw.c (struct):
5943 Common dialog box errors.
5945 * dialog-msw.c (handle_file_dialog_box): New.
5946 Add file dialog code.
5948 * dialog-msw.c (handle_question_dialog_box):
5949 Redo existing code to support new question dialog syntax.
5951 * dialog-msw.c (console_type_create_dialog_mswindows):
5952 We support new dialog console method.
5954 * dialog-msw.c (syms_of_dialog_mswindows):
5955 * dialog-msw.c (vars_of_dialog_mswindows):
5956 New file dialog symbols, vars.
5959 * dialog-x.c (maybe_run_dbox_text_callback):
5960 * dialog-x.c (dbox_descriptor_to_widget_value):
5961 * dialog-x.c (x_make_dialog_box_internal):
5962 * dialog-x.c (console_type_create_dialog_x):
5963 Mule-ize entire file.
5964 Redo to support question dialog syntax.
5968 * dialog.c (Fmake_dialog_box_internal):
5969 * dialog.c (syms_of_dialog):
5970 Kill old popup-dialog-box, replace with new primitive.
5971 Just call device method or signal error.
5973 * eldap.c (Fldap_open):
5974 * eldap.c (Fldap_search_basic):
5975 * eldap.c (Fldap_add):
5976 * eldap.c (Fldap_modify):
5981 * emacs.c (make_arg_list_1):
5982 * emacs.c (make_arg_list):
5983 Mule-ize call to dll_init().
5987 * emacs.c (make_argc_argv):
5988 * emacs.c (free_argc_argv):
5989 * emacs.c (init_cmdargs):
5991 * emacs.c (Fkill_emacs):
5992 * emacs.c (Fdump_emacs):
5993 Update comments about what can be used in syms_* etc.
5994 Call init_win32() when necessary.
5995 Fix up MS Win dialog box in kill-buffer to actually work right.
6006 * eval.c (condition_case_3):
6008 * eval.c (function_argcount):
6009 * eval.c (funcall_lambda):
6012 * eval.c (type_error): New.
6013 * eval.c (maybe_type_error): New.
6014 * eval.c (continuable_type_error): New.
6015 * eval.c (maybe_continuable_type_error): New.
6016 * eval.c (type_error_with_frob): New.
6017 * eval.c (maybe_type_error_with_frob): New.
6018 * eval.c (continuable_type_error_with_frob): New.
6019 * eval.c (maybe_continuable_type_error_with_frob): New.
6020 New functions for use with structured errors.
6023 * event-Xt.c (x_event_to_emacs_event):
6024 Buttons are now modifiers too.
6026 * event-Xt.c (emacs_Xt_current_event_timestamp):
6027 Implement new event method.
6028 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
6031 * event-msw.c (ntpipe_shove_writer): [5].
6032 * event-msw.c (mswindows_enqueue_mouse_button_event):
6033 * event-msw.c (mswindows_drain_windows_queue):
6034 * event-msw.c (mswindows_wnd_proc): [7].
6035 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
6036 * event-msw.c (mswindows_modifier_state):
6037 Throughout: support new button modifiers.
6039 * event-msw.c (emacs_mswindows_current_event_timestamp):
6040 Implement new event method.
6041 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
6044 * event-stream.c (event_stream_current_event_timestamp): New.
6045 * event-stream.c (maybe_kbd_translate): New functionality.
6046 * event-stream.c (vars_of_event_stream):
6047 Document new kbd-translate-table functionality.
6049 * event-stream.c (Fcurrent_event_timestamp): New.
6050 New primitive for use in fabricated events.
6051 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
6053 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
6056 * events.c (Fmake_event):
6057 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
6061 * events.c (format_event_object): fix gcc warnings.
6063 * events.c (Fevent_timestamp): Document new primitives.
6065 * events.c (TIMESTAMP_HALFSPACE): New.
6067 * events.c (Fevent_timestamp_lessp): New. New primitive for
6068 comparing timestamps correctly (half-space algorithm).
6070 * events.c (Fevent_modifier_bits): Doc fix.
6072 * events.c (Fevent_modifiers): Major doc addition.
6073 * events.c (event_x_y_pixel_internal): Typo fix.
6074 * events.c (syms_of_events): Declare new primitives.
6077 Update long comment for button modifiers, timestamps.
6079 * events.h (struct event_stream):
6080 New current_event_timestamp method.
6083 * extents.c (extent_in_region_p):
6084 * extents.c (decode_extent):
6085 * extents.c (Fset_extent_parent):
6086 * extents.c (decode_map_extents_flags):
6090 * extents.c (struct extent_at_arg):
6091 * extents.c (decode_extent_at_flag):
6092 * extents.c (extent_at_mapper):
6093 * extents.c (extent_at_bytind):
6094 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
6095 * extents.c (Fextents_at): New primitive. [9].
6096 * extents.c (symbol_to_glyph_layout): [9].
6097 Support new primitive `extents-at'.
6100 * extents.c (get_text_property_bytind):
6101 extent_at_bytind has another arg.
6104 * extents.c (syms_of_extents): New primitive.
6106 * file-coding.c (Fmake_coding_system): [1].
6107 * file-coding.c (subsidiary_coding_system): fix gcc warning
6108 * file-coding.c (syms_of_file_coding): [2].
6110 * fileio.c (Fexpand_file_name):
6111 * fileio.c (Fsysnetunam):
6112 * fileio.c (Ffile_exists_p):
6113 * fileio.c (Ffile_executable_p):
6114 * fileio.c (Fverify_visited_file_modtime):
6117 * fileio.c (syms_of_fileio): [2].
6119 * filelock.c (lock_file_1):
6120 * filelock.c (current_lock_owner):
6121 * filelock.c (lock_if_free):
6122 * filelock.c (lock_file):
6123 * filelock.c (unlock_file):
6126 * fns.c (concat): Fix gcc warning.
6129 * fns.c (Fold_member):
6131 * fns.c (Fold_memq):
6132 * fns.c (memq_no_quit):
6134 * fns.c (Fold_assoc):
6136 * fns.c (Fold_assq):
6137 * fns.c (assq_no_quit):
6139 * fns.c (Fold_rassoc):
6141 * fns.c (Fold_rassq):
6142 * fns.c (rassq_no_quit):
6144 * fns.c (Fold_delete):
6146 * fns.c (Fold_delq):
6147 * fns.c (delq_no_quit):
6148 * fns.c (Fremassoc):
6150 * fns.c (remassq_no_quit):
6151 * fns.c (Fremrassoc):
6152 * fns.c (Fremrassq):
6153 * fns.c (remrassq_no_quit):
6158 * frame-msw.c (mswindows_init_frame_1):
6159 * frame-msw.c (mswindows_delete_frame):
6160 Register popups with dialog code so keyboard traversing works.
6162 * frame-tty.c (tty_raise_frame_no_select): [1].
6165 * frame-x.c (x_set_frame_text_value):
6166 * frame-x.c (x_set_frame_properties):
6167 * frame-x.c (x_create_widgets):
6171 * frame.c (Fmouse_pixel_position): Minor doc fixes.
6173 * frame.h (wrap_frame): New.
6174 Macro like wrap_device.
6177 * general.c (SYMBOL):
6178 * general.c (syms_of_general):
6179 Major reorg. This is now just a wrapper and symbols themselves
6180 are listed in general-slots.h.
6182 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
6183 * glyphs-msw.c (mswindows_resource_instantiate): [5].
6185 * glyphs-msw.c (mswindows_native_layout_instantiate):
6186 Add DS_CONTROL so keyboard traversal will work.
6189 * glyphs-widget.c (syms_of_glyphs_widget):
6190 Move some symbols to general-slots.h.
6193 * glyphs-x.c (xbm_instantiate_1):
6194 * glyphs-x.c (x_xbm_instantiate):
6195 * glyphs-x.c (x_xface_instantiate):
6196 * glyphs-x.c (autodetect_instantiate):
6197 * glyphs-x.c (cursor_font_instantiate):
6198 * glyphs-x.c (x_update_widget):
6199 * glyphs-x.c (x_widget_instantiate):
6200 * glyphs.c (bitmap_to_lisp_data):
6201 * glyphs.c (pixmap_to_lisp_data):
6204 * glyphs.c (syms_of_glyphs):
6208 * gui-x.c (print_widget_value):
6209 * gui-x.c (menu_separator_style_and_to_external):
6210 * gui-x.c (add_accel_and_to_external):
6211 * gui-x.c (button_item_to_widget_value):
6212 * gui-x.c (gui_items_to_widget_values_1):
6213 * gui-x.c (gui_items_to_widget_values):
6214 * gui-x.c (syms_of_gui_x):
6215 * gui-x.c (vars_of_gui_x):
6216 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
6220 Muleize, prototype changes matching gui-x.c.
6223 * gui.c (separator_string_p):
6224 * gui.c (gui_item_add_keyval_pair):
6225 * gui.c (make_gui_item_from_keywords_internal):
6226 * gui.c (signal_too_long_error):
6227 * gui.c (parse_gui_item_tree_item):
6228 * gui.c (syms_of_gui):
6229 * gui.c (vars_of_gui):
6231 menu-no-selection-hook moved here (used by MSWin).
6232 Move some symbols to general-slots.h.
6236 * insdel.c (get_buffer_pos_char):
6237 * insdel.c (get_buffer_range_char):
6240 * keymap.c (keymap_lookup_directly):
6241 * keymap.c (keymap_store):
6242 * keymap.c (ensure_meta_prefix_char_keymapp):
6243 * keymap.c (describe_map):
6245 Support new button modifiers.
6247 * lisp-disunion.h (wrap_object):
6248 * lisp-disunion.h (XSETOBJ):
6249 Rename make_obj to wrap_object.
6252 * lisp-union.h (make_int):
6253 * lisp-union.h (make_char):
6254 Support wrap_object.
6257 * lisp.h (LIST_LOOP):
6258 * lisp.h (EXTERNAL_LIST_LOOP):
6259 * lisp.h (LIST_LOOP_2):
6260 * lisp.h (EXTERNAL_LIST_LOOP_1):
6261 * lisp.h (EXTERNAL_LIST_LOOP_2):
6262 * lisp.h (EXTERNAL_LIST_LOOP_3):
6263 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
6264 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6265 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
6266 * lisp.h (EXTERNAL_ALIST_LOOP_5):
6267 * lisp.h (EXTERNAL_ALIST_LOOP_6):
6268 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
6269 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
6270 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
6271 * lisp.h (struct Lisp_Symbol):
6272 * lisp.h (maybe_continuable_error_with_frob):
6273 Fix up section comments.
6274 Add new types for char to indicate usage.
6275 Delete symbols auto-generated from general-slots.h.
6276 Add prototypes for structured error functions.
6277 Add long comments describing looping macros and change interface
6278 so that lvalues are automatically declared.
6279 Add NO_DECLARE macro in case callers want to declare lvalues
6282 * lread.c (read_syntax_error):
6283 * lread.c (continuable_read_syntax_error):
6284 * lread.c (read_structure):
6285 * lread.c (sequence_reader):
6286 * lread.c (read_list_conser):
6287 * lread.c (read_compiled_function):
6288 Rename syntax_error and continuable_syntax_error to avoid clash
6289 with same-named structured error functions.
6291 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6292 * menubar-msw.c (populate_menu_add_item):
6293 * menubar-msw.c (populate_or_checksum_helper):
6298 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6299 Mule-ize whole file.
6301 * menubar.c (Fnormalize_menu_item_name): Add optimization.
6303 * mule-charset.c (Fmake_charset):
6304 * mule-wnnfns.c (Fwnn_set_param):
6307 * ntproc.c (create_child):
6308 * ntproc.c (Fwin32_set_current_locale):
6309 Add comments portending doom.
6312 * objects-msw.c (old_font_enum_callback_2):
6313 * objects-msw.c (font_enum_callback_1):
6314 * objects-msw.c (mswindows_enumerate_fonts):
6318 * objects-x.c (allocate_nearest_color):
6319 * objects-x.c (x_parse_nearest_color):
6320 * objects-x.c (x_initialize_color_instance):
6321 * objects-x.c (x_print_color_instance):
6322 * objects-x.c (x_finalize_color_instance):
6323 * objects-x.c (x_valid_color_name_p):
6324 * objects-x.c (x_initialize_font_instance):
6325 * objects-x.c (x_print_font_instance):
6326 * objects-x.c (valid_x_font_name_p):
6327 * objects-x.c (truename_via_FONT_prop):
6328 * objects-x.c (truename_via_random_props):
6329 * objects-x.c (truename_via_XListFonts):
6330 * objects-x.c (x_font_truename):
6331 * objects-x.c (x_font_instance_truename):
6332 * objects-x.c (x_font_instance_properties):
6333 * objects-x.c (x_list_fonts):
6334 * objects-x.c (x_find_charset_font):
6335 Mule-ize entire file.
6342 * print.c (std_handle_out_external):
6343 * print.c (debug_print_no_newline):
6344 * print.c (syms_of_print):
6345 Output to all debugger kinds in debug-print.
6346 Fix console-output code under MSWin to actually work.
6348 * process-nt.c (send_signal):
6349 * process-nt.c (nt_create_process):
6350 Use newer Unicode macros.
6352 * process-unix.c (unix_create_process):
6353 * process-unix.c (unix_canonicalize_host_name):
6354 * process-unix.c (unix_open_network_stream):
6360 * search.c (syms_of_search):
6363 * select-msw.c (mswindows_destroy_selection):
6366 * select-x.c (symbol_to_x_atom):
6369 * select.c (syms_of_select):
6372 * sound.c (Fplay_sound_file):
6376 * specifier.c (decode_specifier_type):
6377 * specifier.c (Fvalid_specifier_locale_type_p):
6378 * specifier.c (check_valid_locale_or_locale_type):
6379 * specifier.c (decode_locale):
6380 * specifier.c (decode_locale_type):
6381 * specifier.c (decode_locale_list):
6382 * specifier.c (check_valid_domain):
6383 * specifier.c (decode_specifier_tag_set):
6384 * specifier.c (Fcanonicalize_tag_set):
6385 * specifier.c (Fdefine_specifier_tag):
6386 * specifier.c (Fspecifier_tag_predicate):
6387 * specifier.c (check_valid_inst_list):
6388 * specifier.c (check_valid_spec_list):
6389 * specifier.c (decode_how_to_add_specification):
6390 * specifier.c (check_modifiable_specifier):
6391 * specifier.c (specifier_add_spec):
6392 * specifier.c (boolean_validate):
6393 * specifier.c (display_table_validate):
6396 * specifier.c (syms_of_specifier):
6397 Move some symbols to general-slots.h.
6401 * symbols.c (Fmapatoms):
6402 * symbols.c (Fapropos_internal):
6405 * symbols.c (set_default_buffer_slot_variable):
6406 * symbols.c (set_default_console_slot_variable):
6409 * symbols.c (defsymbol_massage_name_1):
6410 * symbols.c (defkeyword_massage_name):
6411 * symbols.c (deferror_1):
6412 * symbols.c (deferror):
6413 * symbols.c (deferror_massage_name_and_message):
6415 * symeval.h (DEFSYMBOL):
6416 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
6418 * symbols.c (syms_of_symbols):
6422 * symsinit.h (init_win32): New.
6423 Also new is syms_of_dialog_mswindows.
6426 Add new Unicode macros, missing Cygwin wide-char functions,
6427 convenience conversion macros for Qmswindows_tstr, macros for
6428 encapsulating required MSWin <-> Cygwin filename conversions,
6429 prototype for dynamically-extracted (not in NT 3.51) functions.
6434 * tooltalk.c (Fadd_tooltalk_message_arg):
6435 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
6436 * tooltalk.c (Fadd_tooltalk_pattern_arg):
6439 * tooltalk.c (syms_of_tooltalk):
6443 * unexnt.c (unexec):
6444 Fix up headers, declaration of unexec() to be more standard.
6446 2000-07-20 Martin Buchholz <martin@xemacs.org>
6448 * offix.h: Revert change to guard macros - they're used in offix.c!
6450 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6452 * lisp.h: Defsubred Fdelete.
6454 * console-msw.h: (msprinter_default_printer): Added.
6456 * console-msw.c (msprinter_canonicalize_console_connection):
6457 (msprinter_canonicalize_device_connection): Added.
6459 * device-msw.c (msprinter_default_printer):
6460 (Fmswingows_get_default_printer):
6461 (signal_enum_priner_error):
6462 (Fmswingows_printer_list): Added.
6464 2000-07-19 Martin Buchholz <martin@xemacs.org>
6466 * XEmacs 21.2.35 is released.
6468 2000-07-19 Martin Buchholz <martin@xemacs.org>
6470 * select-x.c (x_handle_selection_request):
6471 Text selected in xemacs and pasted into xterm failed to appear.
6472 Spelling fixes and cosmetic changes.
6474 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6476 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
6477 XEmacs frame (fix for doubling chars in dialog boxes).
6479 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6481 * select.c (select_convert_in, select_convert_out):
6482 Don't call intern() every time.
6484 * select.c (Qselect_convert_in, Qselect_convert_out): New.
6485 * select.c (vars_of_select): Initialise them.
6487 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6489 * select.c (selection-coercible-types): New.
6491 * select.c (own-selection-internal):
6492 * select.c (get-selection-internal):
6493 MULE bug fix - these should default to COMPOUND_TEXT and not
6494 STRING for MULE. I think.
6496 * select.c (select_convert_out): Use selection-coercible-types
6497 to find types that we can attempt to perform coercions on.
6499 2000-07-18 Martin Buchholz <martin@xemacs.org>
6503 Add coding: cookie to identify encoding.
6505 * mule-canna.c (CANNA_mode_keys): make static.
6506 Use proper prototypes, even for functions of no arguments.
6507 Remove external prototype for Fding().
6509 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
6511 * select.c (syms_of_select): Add missing DEFSUBR.
6513 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6515 * select.c (get_selection_internal, own_selection_internal):
6516 Make the type default to STRING, rather than placing a nil type
6517 into Vselection_alist.
6519 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6521 * gpmevent.c (tty_selection_exists_p):
6522 * gpmevent.c (tty_own_selection):
6523 Updated parameter lists.
6525 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
6527 * select.h (selection-alist): Removed declaration.
6529 * select.h (get_local_selection):
6530 * select.c (get_local_selection):
6533 * select.h (convert_selection): Removed declaration.
6534 * select.c (convert_selection): Removed.
6535 This function belongs in Lisp.
6537 * select.h (select_convert_in): Declare.
6538 * select.h (select_convert_out): Declare.
6539 * select.c (select_convert_in): New.
6540 * select.c (select_convert_out): New.
6541 New conversion functions for other files to call.
6543 * select.h (select_notify_buffer_kill): Declare.
6544 * select.c (select_notify_buffer_kill): New.
6545 New functions that get called from kill-buffer.
6547 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
6548 X-specific lisp code.
6550 * select.h: Declare some of the lisp-visible functions for
6553 * select.c (clean_local_selection_data): Removed. This was
6554 a disgusting function, and previously should have been in
6555 select-x.c in any case. The functionality is now provided
6556 in select-convert-from-integer (select.el).
6558 * select.c (available-selection-types): Fixed stupidity where
6559 INTEGER and ATOM got added twice. Also add STRING when we see an
6562 * select.c (get-selection-internal): Removed symbol stripping. No
6563 longer causes conversion when data comes from the internal cache.
6565 * select.c (syms_of_select): Added new functions.
6567 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
6568 error checking - previously this called abort!
6570 * select-x.c (x_own_selection): Changed comment.
6572 * select-x.c (x_handle_selection_request): Use select_convert_out.
6573 Don't mess with selection-alist; it's an internal variable of select.c.
6575 * select-x.c (x_get_foreign_selection): Use select_convert_in.
6577 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
6578 rather than messing with selection-alist.
6580 * select-msw.c (mswindows_get_foreign_selection):
6581 Use TO_INTERNAL_FORMAT rather than hacking.
6583 2000-07-14 Martin Buchholz <martin@xemacs.org>
6585 * process-unix.c (unix_open_multicast_group):
6586 (unix_open_multicast_group): Remove useless casts.
6588 2000-07-13 Martin Buchholz <martin@xemacs.org>
6590 * sound.c (Fplay_sound): Fix `unused variable' warning.
6592 * emacs.c (main): Use correct type for _environ on SCO5.
6594 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
6596 * console.h (own_selection_method):
6597 * console.h (selection_exists_p_method):
6598 * console.h (available_selection_types_method): New.
6599 * console.h (register_selection_data_type_method): New.
6600 * console.h (selection_data_type_name): New.
6602 * console-msw.h (mswindows_destroy_selection): Declare it. New
6603 function & alist to track GlobalAlloc()'d handles that need
6604 releasing when the clipboard data gets replaced or emptied.
6606 * event-msw.c (mswindows_wnd_proc): Call it.
6608 * lisp.h, general.c (Qappend): New symbol representing a
6611 * select.c (own-selection-internal):
6612 * select.c (selection-exists-p):
6613 * select.c (available-selection-types): New.
6614 * select.c (register-selection-data-type): New.
6615 * select.c (selection-data-type-name): New. New functions to deal
6616 with device-specific selection data formats.
6617 * select.c (selection-converter-out-alist): Renamed.
6618 * select.c (selection-converter-in-alist): New.
6619 * select.c (selection-appender-alist): New. Added new alists.
6620 * select.c (syms_of_select, vars_of_select): Added new symbols &
6622 * select.c (get_local_selection): Split.
6623 * select.c: Removed spurious type checking - selections may now be
6624 of any type, not just strings.
6625 * select.c (own-selection-internal):
6627 * select.h, select.c (convert_selection): New. Created
6628 convert_selection() function based on get_local_selection().
6629 * select.h, select.c (QCF_*): New symbols representing mswindows
6631 * select.h, select.c (Qreplace_all, Qreplace_existing): New
6632 symbols representing `how-to-add' modes.
6634 * select-msw.c (x_sym_p): New.
6635 * select-msw.c (symbol_to_ms_cf): New.
6636 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
6637 symbols & clipboard formats. Can also handle string names.
6638 * select-msw.c (mswindows_own_selection):
6639 * select-msw.c (mswindows_selection_exists_p):
6640 Added `data-type' parameter. Use it.
6641 * select-msw.c (mswindows_available_selection_types): New.
6642 * select-msw.c (mswindows_register_selection_data_type): New.
6643 * select-msw.c (mswindows_selection_data_type_name): New.
6644 * select-msw.c (mswindows_own_selection):
6645 * select-msw.c (mswindows_get_foreign_selection):
6646 * select-msw.c (mswindows_selection_exists_p): Rewrote.
6647 * select-msw.c (console_create_select_mswindows): Added new methods.
6648 * select-msw.c (mswindows_destroy_selection): New.
6649 * select-msw.c (Vhandle_alist): New list.
6650 * select-msw.c (mswindows_own_selection):
6652 * select-x.c (x_own_selection):
6653 * select-x.c (x_selection_exists_p):
6654 * select-x.c: Added some comments about maybe using new
6656 * select-x.c (x_own_selection):
6658 * specifier.c: Remove definition of Qappend (now in general.c)
6659 * specifier.c (syms_of_specifier): Remove Qappend.
6661 2000-07-12 Martin Buchholz <martin@xemacs.org>
6663 * config.h.in: Add socklen_t.
6665 * s/decosf4-0.h: No special compiler flags needed or desired.
6666 In particular, undefine _BSD for DEC OSF 4.0.
6668 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6670 * redisplay-msw.c (msprinter_frame_output_end): Added.
6671 (console_type_create_redisplay_mswindows): Referred the above.
6673 * frame.c (setup_frame_without_minibuffer): Do not create a
6674 default minibuffer frame on a printer device.
6676 * frame-msw.c (apply_dc_geometry): Added.
6677 (msprinter_start_page):
6678 (msprinter_init_frame_3):
6679 (msprinter_eject_page): Use it.
6681 * console-msw.h (struct msprinter_frame): Added pix_left and top,
6682 and removed residual duplex and orientation properties.
6684 2000-07-11 Martin Buchholz <martin@xemacs.org>
6686 * eval.c (function_argcount): Work around a DEC CC compiler bug.
6688 * unexalpha.c: Remove system prototypes from C sources!
6690 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
6692 * eval.c: Remove references to M-x edit-options in DEFUNs for
6693 `defvar' and `defconst'.
6695 2000-07-09 Martin Buchholz <martin@xemacs.org>
6697 * config.h.in: Remove SMART_INCLUDE hackery.
6700 * config.h.in: Don't use SMART_INCLUDE.
6702 * postgresql.h: Include libpq-fe.h here. Fix typo.
6703 * inline.c: Simply #include "postgresql.h"
6705 - Don't use SMART_INCLUDE
6706 - Use simply "const".
6707 - Use standard doc string conventions.
6708 - Use correct type for result of PQstatus.
6710 2000-07-09 Martin Buchholz <martin@xemacs.org>
6712 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
6714 C++ compilation changes.
6715 * config.h.in (EXTERN_C): Define.
6716 * config.h.in (not): This is also a C++ keyword.
6717 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
6718 * cm.c: Use EXTERN_C.
6719 * redisplay-tty.c: Use EXTERN_C.
6720 * sysdep.c: Use EXTERN_C. Remove Gould support.
6722 2000-07-09 Martin Buchholz <martin@xemacs.org>
6724 * general.c: Remove duplicate definition for Qfunction.
6726 2000-07-08 Ben Wing <ben@xemacs.org>
6728 * device-msw.c (msprinter_init_device):
6729 * device-msw.c (sync_printer_with_devmode):
6730 * device-msw.c (handle_devmode_changes):
6731 * device-msw.c (print_dialog_worker):
6732 * device-msw.c (Fmsprinter_apply_settings):
6733 * device-msw.c (hash_devmode):
6734 * device-msw.c (Fmsprinter_settings_despecialize):
6735 use Qmswindows_tstr, not Qctext.
6737 * vm-limit.c (check_memory_limits):
6738 avoid infinite loop printing warning messages.
6740 2000-07-05 Craig Lanning <lanning@scra.org>
6742 * Makefile.in.in: Add support for including the Windows resources
6743 when building with the cygwin and mingw targets.
6745 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
6746 not set or not correct.
6747 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
6748 (init_initial_directory): Don't try to use $PWD on the
6749 WIN32_NATIVE target.
6752 [[Add -mwindows to eliminate console window.]] not required --ben
6753 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6754 (MAIL_USE_POP): removed; now handled by configure.
6756 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
6757 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
6758 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6759 (MAIL_USE_POP): removed; now handled by configure.
6760 (ENCAPSULATE_STAT): from Dan Holmsand, added.
6761 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
6762 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
6764 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
6765 up from <winsock.h> via systime.h.
6766 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
6767 (getpagesize): from Dan Holmsand, added.
6768 Added #endif which was left dangling by Ben's mega patch; added
6769 comment to help prevent this in the future.
6771 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
6773 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6775 * console-msw.h (struct mswindows_device): Removed unnecessary
6776 cached device geometry values.
6777 Added update_tick and an accessor macro.
6778 (Lisp_Devmode): Added lrecord declaration.
6779 (struct msprinter_device): Contain devmode as a Lisp object.
6780 Added mswindows_get_selected_frame_hwnd();
6782 * console.h (struct console_methods): Indentation nitpicking.
6784 * device-msw.c (mswindows_init_device): Do not initialize geometry
6785 cache. Initialize update tick.
6786 (mswindows_device_system_metrics): Ask the device for its geometry.
6787 (global_free_2_maybe):
6788 (devmode_to_hglobal):
6789 (handle_printer_changes):
6790 (ensure_not_printing):
6791 (print_dialog_worker):
6792 (Fmsprinter_print_setup_dialog):
6793 (Fmsprinter_print_dialog):
6796 (Fmsprinter_page_setup_dialog): Added functions.
6797 (sync_printer_with_devmode):
6798 (handle_devmode_changes):
6799 (Fmsprinter_get_settings):
6800 (Fmsprinter_select_settings):
6801 (Fmsprinter_apply_settings):
6803 (Fmsprinter_settings_copy):
6804 (Fmsprinter_settings_despecialize):
6808 (hash_devmode): Added functions
6809 (syms_of_device_mswindows): Init devmode lrecord class.
6811 * device.h: Added an exfun for find-device.
6813 * event-msw.c (mswindows_wnd_proc): Do not update the cached
6814 geometry; although, recreate the device compatible DC.
6816 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
6817 (msprinter_init_frame_3):
6818 (msprinter_frame_property):
6819 (msprinter_internal_frame_property_p):
6820 (msprinter_frame_properties):
6821 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
6822 print job properties (will move to device settings).
6824 * lisp.h: Added symbols.
6826 * general.c (syms_of_general): Declared them.
6828 * hash.c (string_hash): Added.
6830 * lrecord.h (lrecord_type): Added devmode lrecord type.
6832 2000-07-02 Mike Sperber <mike@xemacs.org>
6834 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
6837 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
6839 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
6842 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
6844 * data.c (Fstring_to_number): Don't recognize floating point if
6847 2000-06-22 Martin Buchholz <martin@xemacs.org>
6849 * glyphs-widget.c (tab_control_query_geometry):
6850 (widget_query_geometry):
6851 (button_query_geometry):
6852 * glyphs.c (text_query_geometry):
6853 Enforce type correctness.
6855 2000-06-18 Martin Buchholz <martin@xemacs.org>
6857 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
6858 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
6860 2000-06-17 Martin Buchholz <martin@xemacs.org>
6862 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
6863 conflicts with gcc's fixincluded version of FOO.h.
6865 * glyphs.h (image_instance_geometry): Remove trailing `,'
6867 2000-06-08 Mike Alexander <mta@arbortext.com>
6869 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
6870 (shove_thread): Don't write the same output twice
6871 (make_ntpipe_output_stream): Increase priority of shove thread
6872 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
6874 (ntpipe_shove_closer): Don't delete the pipe until we're done with
6877 2000-06-12 Ben Wing <ben@xemacs.org>
6879 * s\mingw32.h (sigset):
6880 * s\windowsnt.h (sigset):
6881 rename msw_ to mswindows_ for consistency with general convention.
6883 2000-06-12 Ben Wing <ben@xemacs.org>
6886 * console-msw.c (mswindows_get_console_hwnd):
6887 * console-msw.c (mswindows_ensure_console_allocated):
6888 * console-msw.c (mswindows_hide_console):
6889 * console-msw.c (mswindows_show_console):
6890 * console-msw.c (mswindows_ensure_console_buffered):
6891 * console-msw.c (mswindows_output_console_string):
6892 * console-msw.c (mswindows_windows9x_p):
6894 * device-msw.c (mswindows_get_workspace_coords):
6895 * device-msw.c (mswindows_device_system_metrics):
6896 * dialog-msw.c (mswindows_popup_dialog_box):
6897 * event-msw.c (mswindows_wnd_proc):
6898 * frame-msw.c (mswindows_size_frame_internal):
6899 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6900 * menubar-msw.c (displayable_menu_item):
6901 * menubar-msw.c (mswindows_char_is_accelerator):
6903 * nt.c (mswindows_sigset):
6904 * nt.c (mswindows_sigrelse):
6905 * nt.c (mswindows_sigpause):
6906 * nt.c (mswindows_raise):
6907 * nt.c (timer_proc):
6909 * ntproc.c (find_child_console):
6910 * ntproc.c (sys_kill):
6912 * print.c (std_handle_out_external):
6913 * process-nt.c (find_child_console):
6914 * process-nt.c (send_signal_the_95_way):
6915 * process-nt.c (ensure_console_window_exists):
6916 * process-nt.c (nt_create_process):
6918 rename msw_ to mswindows_ for consistency with general convention.
6922 include nt.h, not syswindows.h.
6924 * nt.c (mswindows_fstat):
6925 * nt.c (mswindows_stat):
6926 prefix mswindows_ instead of attempting to directly override the
6927 library functions. fix declarations.
6930 include syswindows.h. move some sysdep.h stuff here.
6933 include syswindows.h, not <windows.h>.
6941 * sysdep.c (sys_fstat):
6942 * sysdep.c (sys_stat):
6943 call mswindows versions when appropriate.
6946 move mswin decls to nt.h.
6949 add long comment describing appropriate use of the various windows
6952 2000-06-11 Ben Wing <ben@xemacs.org>
6954 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6956 2000-06-10 Ben Wing <ben@xemacs.org>
6958 * Makefile.in.in (release):
6959 Correction to make sure xemacs.exe always dumped when correct.
6963 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6965 * buffer.c (set_buffer_internal):
6966 [[[[2]]]]: Remove HAVE_FEP code.
6968 * buffer.c (init_initial_directory):
6972 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6976 * callproc.c (call_process_cleanup):
6977 * callproc.c (Fold_call_process_internal):
6978 * callproc.c (child_setup):
6979 * callproc.c (getenv_internal):
6980 * callproc.c (init_callproc):
6981 * callproc.c (vars_of_callproc):
6982 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6983 __CYGWIN32__ -> CYGWIN.
6984 DOS_NT -> WIN32_NATIVE.
6985 Remove MSDOS support/references, converting to WIN32_NATIVE
6987 __MINGW32__ -> MINGW.
6988 Fix windows.h includes.
6989 Remove bogus HAVE_NTGUI.
6995 mswindows_message_outputted added for use in allowing startup
6996 errors on the console to be seen.
6998 * console-msw.c (msw_ensure_console_allocated):
6999 * console-msw.c (msw_output_console_string):
7000 * console-msw.c (DHEADER):
7001 * console-msw.c (DOPAQUE_DATA):
7002 * console-msw.c (DEVENT):
7003 * console-msw.c (DCONS):
7004 * console-msw.c (DCONSCDR):
7005 * console-msw.c (DSTRING):
7006 * console-msw.c (DVECTOR):
7007 * console-msw.c (DSYMBOL):
7008 * console-msw.c (DSYMNAME):
7011 * console-stream.c (stream_init_console):
7012 Fix text/binary problems.
7015 * device-msw.c (mswindows_finish_init_device):
7016 * device-msw.c (mswindows_delete_device):
7019 * device.c (handle_asynch_device_change):
7023 * dgif_lib.c (DGifOpenFileName):
7024 * dgif_lib.c (DGifOpenFileHandle):
7025 * dgif_lib.c (DGifGetLine):
7026 * dgif_lib.c (DGifGetPixel):
7027 Added config.h/lisp.h, fix up includes.
7034 * dired.c (file_name_completion):
7035 * dired.c (Ffile_attributes):
7036 * dired.c (syms_of_dired):
7040 * dumper.c (pdump_file_unmap):
7041 * dumper.c (pdump_load):
7045 * editfns.c (Ftemp_directory):
7046 * editfns.c (user_login_name):
7047 * editfns.c (Fuser_real_login_name):
7048 * editfns.c (get_home_directory):
7051 * elhash.c (finish_marking_weak_hash_tables):
7052 [[[[5]]]]: Fix GCC warnings.
7055 * emacs.c (mswindows_handle_hardware_exceptions):
7056 * emacs.c (make_arg_list_1):
7058 * emacs.c (Fkill_emacs):
7059 * emacs.c (Fdump_emacs):
7061 Fix problems with nested crashes, add long comment.
7063 * event-Xt.c (init_event_Xt_late):
7067 * event-msw.c (mswindows_dde_callback):
7068 * event-msw.c (mswindows_handle_sticky_modifiers):
7069 * event-msw.c (mswindows_wnd_proc):
7073 * events.c (character_to_event):
7077 * fileio.c (Ffile_name_directory):
7078 * fileio.c (Ffile_name_nondirectory):
7079 * fileio.c (directory_file_name):
7080 * fileio.c (Fexpand_file_name):
7081 * fileio.c (Fsubstitute_in_file_name):
7082 * fileio.c (Ffile_name_absolute_p):
7083 * fileio.c (check_executable):
7084 * fileio.c (Ffile_readable_p):
7085 * fileio.c (Ffile_accessible_directory_p):
7086 * fileio.c (Ffile_modes):
7087 * fileio.c (Funix_sync):
7088 * fileio.c (vars_of_fileio):
7091 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
7093 Expand getdefdir defn.
7094 Fix bogus rename() comment.
7096 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
7097 to use standard XEmacs include files, e.g. sysfile.h, rather
7098 than system-specific includes.
7104 * frame.c (vars_of_frame):
7108 * getloadavg.c (getloadavg):
7110 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
7111 (We don't use it elsewhere in the code; just add a comment.)
7118 * glyphs-msw.c (mswindows_resource_instantiate):
7121 * glyphs-x.c (x_native_layout_instantiate):
7124 * gui-msw.c (Fmswindows_shell_execute):
7133 * lread.c (locate_file_in_directory_mapper):
7140 * mem-limits.h (get_lim_data):
7152 * nt.c (rva_to_section):
7153 * nt.c (mswindows_executable_type):
7155 Fix closedir() defn.
7158 [[[[8]]]]: *_OK defs moved to sysfile.h.
7167 * print.c (std_handle_out_external):
7171 * process-nt.c (nt_create_process):
7173 try to fix process quoting somewhat.
7175 * process-unix.c (unix_create_process):
7179 * process.c (vars_of_process):
7186 * realpath.c (xrealpath):
7189 * redisplay-tty.c (init_tty_for_redisplay):
7199 * sheap.c (more_static_core):
7200 * sheap.c (report_sheap_usage):
7204 * signal.c (alarm_signal):
7211 * strftime.c (zone_name):
7214 * symsinit.h (init_sunpro):
7218 commctrl.h not in Cygwin b20.1.
7222 * sysdep.c (sys_subshell):
7223 * sysdep.c (init_baud_rate):
7224 * sysdep.c (emacs_get_tty):
7225 * sysdep.c (emacs_set_tty):
7226 * sysdep.c (tty_init_sys_modes_on_device):
7227 * sysdep.c (init_system_name):
7228 * sysdep.c (sys_open):
7229 * sysdep.c (interruptible_open):
7230 * sysdep.c (sys_fopen):
7231 * sysdep.c (sys_mkdir):
7232 * sysdep.c (sys_rename):
7233 * sysdep.c (get_process_times_1):
7240 * sysdir.h (DIRENTRY_NONEMPTY):
7243 * sysdll.c (dll_init):
7249 added text/binary defs.
7255 * sysproc.h (EDESTADDRREQ):
7256 * sysproc.h (poll_fds_for_input):
7273 Always define WIN32_LEAN_AND_MEAN.
7275 * unexcw.c (unexec):
7279 * unexec.c (copy_text_and_data):
7280 * unexec.c (adjust_lnnoptrs):
7284 * unexnt.c (_start):
7287 2000-06-07 Ben Wing <ben@xemacs.org>
7289 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
7290 was used only as a model. We've long since extracted any useful
7291 logic or code out of this. (I just did an exhaustive search.)
7293 * s\msdos.h: Removed.
7295 * s\windows95.h: Removed.
7297 2000-06-10 Ben Wing <ben@xemacs.org>
7301 Don't use extern with fun defs.
7305 Remove nt\inc include.
7306 Remove getdisk, getdefdir. (The former is unused, the latter
7307 expanded in fileio.h.)
7310 * s\windowsnt.h (WIN32_NATIVE):
7311 * s\windowsnt.h (HAVE_STRCASECMP):
7313 Add long comment about preprocessor changes.
7314 Remove getdisk, getdefdir. (The former is unused, the latter
7315 expanded in fileio.h.)
7317 2000-06-10 Ben Wing <ben@xemacs.org>
7326 Remove bogus/unused NO_SOCK_SIGIO.
7328 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
7330 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
7333 2000-06-04 Mike Sperber <mike@xemacs.org>
7335 * casetab.c (set_case_table): For `set-standard-case-table',
7336 actually deposit the new case tables where the rest of XEmacs can
7339 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
7341 * data.c (Faset): Don't cast XCHAR() to unsigned char.
7343 2000-06-05 Ben Wing <ben@xemacs.org>
7345 * callproc.c (child_setup): Don't do close_load_descs() under
7346 MS Windows. Put in a comment explaining why.
7348 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
7350 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
7351 Toolkit shell" which breaks `kill-compilation' on Windows NT
7352 native, retaining STDERR handling improvements.
7354 2000-06-01 Andreas Jaeger <aj@suse.de>
7356 * s/s390.h: Support for S390, based on a patch by Martin
7357 Schwidefsky <schwidefsky@de.ibm.com>.
7359 2000-05-30 Andy Piper <andy@xemacs.org>
7361 * window.c (allocate_window):
7362 (make_dummy_parent):
7363 (Fset_window_configuration): use new hashtable type.
7365 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
7366 (struct image_instantiator_methods):
7367 (struct Lisp_Image_Instance): make instance geometry signed.
7369 * glyphs.c (instantiate_image_instantiator):
7370 (image_instance_query_geometry):
7371 (image_instance_layout):
7372 (image_instance_layout):
7373 (query_string_geometry):
7374 (text_query_geometry):
7375 (image_instantiate):
7376 (image_instantiate):
7377 (cache_subwindow_instance_in_frame_maybe):
7378 (subwindow_query_geometry): make instance geometry signed.
7380 * glyphs-widget.c (widget_query_geometry):
7382 (button_query_geometry):
7383 (tree_view_query_geometry):
7384 (tab_control_query_geometry):
7385 (layout_query_geometry):
7387 (native_layout_layout): make instance geometry signed.
7389 2000-05-29 Olivier Galibert <galibert@pobox.com>
7391 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
7394 * general.c (syms_of_general): Add Qfull_assoc symbol.
7396 * data.c (finish_marking_weak_lists): Mark full-assoc lists
7398 (decode_weak_list_type): Decode full-assoc type.
7399 (encode_weak_list_type): Encode full-assoc type.
7400 (Fmake_weak_list): Update doc string.
7402 2000-05-30 Andy Piper <andy@xemacs.org>
7404 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
7406 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
7407 (decode_hash_table_weakness): ditto.
7408 (Fhash_table_weakness): ditto.
7409 (Fhash_table_type): ditto.
7410 (finish_marking_weak_hash_tables): ditto.
7411 (hash_table_weakness_validate): ditto.
7412 (syms_of_elhash): ditto.
7414 2000-05-28 Martin Buchholz <martin@xemacs.org>
7416 * XEmacs 21.2.34 is released.
7418 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7420 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
7422 (updating_line_start_cache): Gone.
7423 (regenerate_window): Replace resetting of VERTICAL_CLIP by
7424 generic code to force a minimum of 1 line laid out in the
7427 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7429 * glyphs.c (instantiate_image_instantiator): Check for initialized
7430 height & width no longer special cases IMAGE_NOTHING.
7431 (nothing_instantiate): Set height and width of instance.
7433 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7435 * unexelf.c (unexec): Search for ".data" section.
7436 Initialize new_data2_offset from old_data_index.
7437 Remove redundant check for ElfW.
7439 2000-05-23 Andy Piper <andy@xemacs.org>
7441 * glyphs.c (get_image_instantiator_governing_domain): allow more
7442 specific domains as the governing domain rather than expecting an
7443 exact match. This fixes problems with layouts.
7445 2000-05-22 Andy Piper <andy@xemacs.org>
7447 * redisplay-output.c (compare_runes): check for non-images
7449 * glyphs.c (set_glyph_dirty_p): ditto.
7450 (update_glyph_cachel_data): ditto.
7452 * glyphs-widget.c (layout_post_instantiate): ditto.
7453 (layout_post_instantiate): ditto.
7455 * event-msw.c (mswindows_wnd_proc): warning removal.
7457 2000-05-12 Craig Lanning <CraigL@DyCon.com>
7459 * s\mingw32.h: Added #undef for CLASH_DETECTION.
7461 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
7463 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
7465 * nt.c (rva_to_section): mingw32 needs rva_to_section.
7466 (mswindows_executable_type): mingw32 now has enough headers for
7469 2000-05-20 Andy Piper <andy@xemacs.org>
7471 * console-msw.c (mswindows_output_last_error): ; -> ,
7473 2000-05-12 Andy Piper <andy@xemacs.org>
7475 * console-msw.c (FROB): compare ints with ints.
7477 2000-05-11 Andy Piper <andy@xemacs.org>
7479 * glyphs-x.c (x_finalize_image_instance): make minimal build
7482 2000-05-20 Ben Wing <ben@xemacs.org>
7485 * event-Xt.c (vars_of_event_Xt):
7486 move modifier-keys-are-sticky to event-stream.c.
7489 * event-msw.c (mswindows_enqueue_mouse_button_event):
7490 * event-msw.c (key_needs_default_processing_p):
7491 * event-msw.c (XEMSW_LCONTROL):
7492 * event-msw.c (mswindows_handle_sticky_modifiers):
7493 * event-msw.c (FROB):
7494 * event-msw.c (clear_sticky_modifiers):
7495 * event-msw.c (output_modifier_keyboard_state):
7496 * event-msw.c (output_alt_keyboard_state):
7497 * event-msw.c (mswindows_wnd_proc):
7498 * event-msw.c (mswindows_modifier_state):
7499 * event-msw.c (emacs_mswindows_handle_magic_event):
7500 implement sticky modifiers.
7503 * event-stream.c (vars_of_event_stream):
7504 move modifier-keys-are-sticky here.
7510 implement map-range-table.
7513 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
7515 * redisplay-tty.c (reset_tty_modes):
7516 (tty_redisplay_shutdown): Adjust argument type to
7517 tty_frame_output_end.
7519 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7521 * eval.c (Fbacktrace): Don't output a line with only right
7524 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
7526 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
7527 (Fpq_reset_poll): Ditto.
7529 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
7531 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
7533 2000-05-16 Ben Wing <ben@xemacs.org>
7536 * buffer.c (dfc_convert_to/from_internal_format):
7537 * buffer.c (reinit_vars_of_buffer):
7538 Fix conversion functions to allow reentrancy.
7541 * console-msw.c (mswindows_output_last_error):
7542 New fun, generally useful -- output a human-readable
7543 version of GetLastError() on the console.
7546 * console-msw.h (struct mswindows_frame):
7547 Changes for DeferWindowPos. Declare mswindows_output_last_error().
7549 * console-stream.c (stream_output_begin):
7550 * console-stream.c (stream_output_end):
7551 * console-stream.c (stream_output_vertical_divider):
7552 * console-stream.c (stream_clear_region):
7553 * console-stream.c (stream_flash):
7554 * console-stream.c (console_type_create_stream):
7555 Delete blank stream methods, not needed.
7557 * console.h (struct console_methods):
7558 Split begin/end methods into window and frame.
7561 * event-msw.c (mswindows_handle_paint):
7562 * event-msw.c (output_alt_keyboard_state):
7563 * event-msw.c (mswindows_wnd_proc):
7564 * event-msw.c (vars_of_event_mswindows):
7565 Comment about problems with ignored-expose.
7566 Define mswindows-debug-events; not really implemented.
7568 * frame-msw.c (mswindows_init_frame_1):
7572 * glyphs-msw.c (begin_defer_window_pos):
7573 * glyphs-msw.c (mswindows_unmap_subwindow):
7574 * glyphs-msw.c (mswindows_map_subwindow):
7575 * glyphs-msw.c (mswindows_resize_subwindow):
7576 Use DeferWindowPos to reduce flashing when mapping/unmapping.
7578 * glyphs.c (make_image_instance_1):
7581 * gutter.c (Fredisplay_gutter_area):
7582 Use new begin/end methods.
7584 * lisp.h (Dynarr_new2):
7588 * redisplay-msw.c (mswindows_frame_output_begin):
7589 * redisplay-msw.c (mswindows_frame_output_end):
7590 * redisplay-msw.c (console_type_create_redisplay_mswindows):
7591 New begin/end methods -- handle DeferWindowPos.
7593 * redisplay-output.c (redisplay_move_cursor):
7594 * redisplay-output.c (redraw_cursor_in_window):
7595 * redisplay-output.c (redisplay_update_line):
7596 * redisplay-output.c (redisplay_output_window):
7597 New begin/end methods.
7600 * redisplay-tty.c (tty_frame_output_begin):
7601 * redisplay-tty.c (tty_frame_output_end):
7602 * redisplay-tty.c (console_type_create_redisplay_tty):
7603 New begin/end methods.
7606 * redisplay-x.c (x_window_output_begin):
7607 * redisplay-x.c (x_window_output_end):
7608 * redisplay-x.c (console_type_create_redisplay_x):
7609 New begin/end methods.
7611 * redisplay.c (redisplay_frame):
7612 * redisplay.c (Fredisplay_echo_area):
7613 New begin/end methods.
7614 use MAYBE_DEVMETH for clear_frame; it may not exist.
7616 * window.h (WINDOW_XFRAME):
7617 WINDOW_XFOO macros -- get locale and decode struct pointer.
7620 2000-05-12 Ben Wing <ben@xemacs.org>
7623 * emacs.c (ensure_no_quitting_from_now_on):
7624 * emacs.c (fatal_error_signal):
7625 * emacs.c (mswindows_handle_hardware_exceptions):
7627 * emacs.c (Fkill_emacs):
7628 * emacs.c (shut_down_emacs):
7629 * emacs.c (assert_failed):
7630 various improvements in fatal error handling.
7633 move preparing_for_armageddon to emacs.c.
7636 declare fatal_error_in_progress.
7639 * print.c (std_handle_out_external):
7640 * print.c (std_handle_out_va):
7641 * print.c (stderr_out):
7642 * print.c (stdout_out):
7643 use console under mswin when no standard output.
7644 don't do code conversion during fatal error.
7646 * scrollbar.c (Fscrollbar_page_up):
7647 * scrollbar.c (Fscrollbar_page_down):
7648 fix missing else. reindent.
7650 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
7654 * glyphs.h (GLYPH_CACHEL_DESCENT):
7655 (GLYPH_CACHEL_DESCENT):
7656 (GLYPH_CACHEL_DESCENT):
7657 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
7658 used in case these are inline functions.
7659 Use more absurd values to error check.
7661 include window.h for error check functions.
7663 2000-05-11 Ben Wing <ben@xemacs.org>
7665 * cmdloop.c (Freally_early_error_handler):
7666 Display message box under windows; otherwise, message will disappear
7667 before it can be viewed.
7670 * console-msw.c (Fmswindows_message_box):
7671 * console-msw.c (FROB):
7672 * console-msw.c (syms_of_console_mswindows):
7673 Define new fun `mswindows-message-box'.
7674 #### I will merge this into `popup-dialog-box'; just give me
7678 * general.c (syms_of_general):
7679 Some new symbols used in `mswindows-message-box'.
7682 * glyphs.c (Fset_image_instance_property):
7683 put warning in this fun.
7686 * glyphs.h (GLYPH_CACHEL_WIDTH):
7687 * glyphs.h (GLYPH_CACHEL_ASCENT):
7688 * glyphs.h (GLYPH_CACHEL):
7689 * glyphs.h (GLYPH_CACHEL_GLYPH):
7690 define error-checking versions to try to catch a bug i've seen --
7691 redisplay gets in an infinite loop because the glyph width of the
7692 continuation glyph is 65535.
7695 Extern message-box stuff.
7697 * window.c (allocate_window):
7698 * window.c (make_dummy_parent):
7699 * window.c (Fset_window_configuration):
7700 Use EQUAL not EQ for subwindow caches to make them work a bit
7701 better. (Something is still very broken.)
7704 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7706 * glyphs.c (image_instantiate): Suppress gcc warnings.
7707 (Fmake_image_instance): Fix doc string.
7708 * specifier.c (Fmake_specifier): Ditto.
7710 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7712 * paths.h.in (PATH_LOCK): Removed.
7713 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
7714 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
7716 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7718 * fns.c (Ffeaturep): Update e-mail address in doc-string.
7719 Document (featurep '(and xemacs 21.02)).
7721 2000-05-09 Ben Wing <ben@xemacs.org>
7723 * buffer.c (complex_vars_of_buffer):
7724 update modeline-format doc.
7727 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
7730 timeline of all released versions of Emacs, for use in creating
7731 authorship comments and in synching up.
7733 * glyphs-widget.c (image_instantiator_buttons):
7734 * glyphs-widget.c (image_instantiator_edit_fields):
7735 * glyphs-widget.c (image_instantiator_combo_box):
7736 * glyphs-widget.c (image_instantiator_scrollbar):
7737 * glyphs-widget.c (image_instantiator_progress_guage):
7738 * glyphs-widget.c (image_instantiator_tree_view):
7739 * glyphs-widget.c (image_instantiator_tab_control):
7740 * glyphs-widget.c (image_instantiator_labels):
7741 * glyphs-widget.c (image_instantiator_layout):
7742 * glyphs-widget.c (image_instantiator_native_layout):
7743 rename decode_domain method to governing_domain.
7746 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
7747 * glyphs.c (add_entry_to_device_ii_format_list):
7748 make sure we don't put an entry more than once into the list.
7749 * glyphs.c (check_instance_cache_mapper):
7750 *************************************************************
7751 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7753 *************************************************************
7754 * glyphs.c (get_image_instantiator_governing_domain):
7755 clean up, expand on new concept of governing domain.
7756 * glyphs.c (instantiate_image_instantiator):
7757 * glyphs.c (allocate_image_instance):
7758 use governing_domain instead of cache_domain in naming.
7759 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
7760 * glyphs.c (make_image_instance_1):
7761 * glyphs.c (Fmake_image_instance):
7762 allow for any domain (not just device), and process the
7763 governing domain correctly. very big doc fix.
7764 * glyphs.c (Fimage_instance_domain):
7765 new primitive, to retrieve the governing domain of an image instance.
7766 * glyphs.c (image_instantiate):
7767 use new governing_domain stuff. this fixes a crash you could get
7768 by instantiating certain widget glyphs in frame locales. (should
7769 signal an error instead of crashing.)
7770 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
7771 * glyphs.c (Fglyphp): clean up doc.
7772 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
7773 * glyphs.c (syms_of_glyphs):
7774 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
7775 * glyphs.c (image_instantiator_format_create): add some comments about
7777 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
7778 for current-display-table. (Apparently Hrjove implemented in 1998 a
7779 design I wrote up in 1996, but didn't update the doc string.)
7781 * glyphs.h: clean up a doc string.
7782 * glyphs.h (governing_domain):
7783 * glyphs.h (struct image_instantiator_methods):
7784 changes for governing_domain stuff.
7787 * gutter.c (Fgutter_specifier_p):
7788 * gutter.c (Fgutter_size_specifier_p):
7789 * gutter.c (Fgutter_visible_specifier_p):
7791 * objects.c (Fcolor_specifier_p):
7792 * objects.c (Ffont_specifier_p):
7793 * objects.c (Fface_boolean_specifier_p):
7794 doc strings moved to make-*-specifier.
7796 * redisplay.c (add_disp_table_entry_runes_1):
7797 * redisplay.c (generate_fstring_runes):
7798 * redisplay.c (screen):
7799 add random comments and doc strings.
7802 * specifier.c (Fmake_specifier):
7803 major overhaul of this doc string.
7805 * specifier.c (Fvalid_specifier_domain_p):
7806 comment about the bogosity of image instances being domains.
7807 * specifier.c (decode_domain):
7808 now non-static, used in glyphs.c.
7809 * specifier.c (specifier_instance):
7810 comment about the bogosity of image instances being domains.
7811 * specifier.c (Fgeneric_specifier_p):
7812 move doc string to make-generic-specifier.
7813 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
7817 * specifier.h (DOMAIN_FRAME):
7818 * specifier.h (DOMAIN_LIVE_P):
7819 * specifier.h (DOMAIN_XDEVICE):
7821 add comments about problems with these macros.
7822 prototype for decode_domain.
7825 * toolbar.c (Ftoolbar_specifier_p):
7826 move doc string to `make-toolbar-specifier'.
7828 * window.c (window_unmap_subwindows_cache_mapper):
7829 *************************************************************
7830 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7832 *************************************************************
7834 2000-05-09 Andy Piper <andy@xemacs.org>
7836 * glyphs.h: declare reset_frame_subwindow_instance_cache.
7838 * window.c (Fset_window_configuration): reset the frame subwindow
7839 cache and re-initialize the window subwindow caches.
7841 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
7843 2000-05-09 Ben Wing <ben@xemacs.org>
7845 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
7848 2000-04-26 Mike Woolley <mike@bulsara.com>
7850 * ntheap.c: Changed recreate_heap to limit the amount reserved
7851 for the heap to that which is actually available. Also now
7852 displays a message box (with some dignostics) in the event that
7853 it still can't start.
7855 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
7857 * callproc.c (Fold_call_process_internal): GCPRO path
7859 2000-05-08 Jan Vroonhof <jan@xemacs.org>
7861 Patch by Bill Perry.
7863 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
7864 back data instead of #ifdef.
7865 (Fscrollbar_page_down): ditto.
7867 2000-05-07 Ben Wing <ben@xemacs.org>
7870 Kludge for defining Qmswindows_tstr.
7873 * nt.c (open_input_file):
7874 * nt.c (open_output_file):
7875 * nt.c (rva_to_section):
7876 * nt.c (mswindows_executable_type):
7877 Move all memory-mapped-file routines here (some were in unexnt.c,
7878 which is bad because they are used by process-nt.c, and unexnt
7879 won't be around when portable dumping). Synched the above routines
7883 Removed ifdef'd out bogus code.
7884 Fixed some prototypes.
7887 * nt.h (OFFSET_TO_RVA):
7888 * nt.h (RVA_TO_OFFSET):
7889 * nt.h (RVA_TO_PTR):
7890 Moved the memory-mapped-file structures, macros and prototypes
7891 here, to parallel nt.c. ntheap.h should really be removed
7892 entirely, and it's a non-portable-dumper specific file.
7894 * ntheap.h (round_to_next):
7895 Moved the memory-mapped-file structures, macros and prototypes
7898 * ntproc.c (compare_env):
7899 Moved rva_to_section and mswindows_executable_type to nt.c.
7900 Moved compare_env to process-nt.c.
7901 ntproc.c will die, one day.
7903 * ntproc.c (sys_spawnve):
7904 Account for win32_ -> mswindows_.
7907 * process-nt.c (struct nt_process_data):
7908 * process-nt.c (ensure_console_window_exists):
7909 * process-nt.c (compare_env):
7910 * process-nt.c (nt_create_process):
7911 * process-nt.c (nt_kill_process_by_pid):
7912 * process-nt.c (syms_of_process_nt):
7913 * process-nt.c (vars_of_process_nt):
7914 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7915 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7916 changes). Eliminate our old `nt-quote-process-args' mechanism.
7917 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7918 Move compare_env here from ntproc.c.
7920 * process.c (Fprocess_send_region):
7921 Takes an optional fourth argument, BUFFER, which should fix some
7922 problems with call-process.
7925 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7928 Move ICC_BAR_CLASSES to syscommctrl.h.
7929 Add preliminary macros for MSWindows/Mule. More to come.
7932 * unexnt.c (unexec):
7933 open_output_file moved to nt.c.
7936 2000-05-05 Andy Piper <andy@xemacs.org>
7938 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7939 instance from the frame cache also since GC may catch up too late
7940 to make frame deletion sane.
7942 2000-05-04 Andy Piper <andy@xemacs.org>
7944 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7945 (x_finalize_image_instance): ungcpro on deletion.
7947 * glyphs.c (image_instantiator_format_create): give pointers a
7948 query geometry method so that the geometry is at least set.
7950 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7951 initialize layouts if using widgets.
7953 2000-05-03 Andy Piper <andy@xemacs.org>
7955 * nt.c: remove bogus reference to sysmmsystem.h
7957 * gui-x.c (popup_selection_callback): fix no selection abort.
7959 2000-05-02 Andy Piper <andy@xemacs.org>
7961 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7962 (mswindows_widget_instantiate): ditto.
7964 * glyphs-widget.c (initialize_widget_image_instance): initialize
7966 (widget_instantiate): cope with children and items in the same
7969 * glyphs.c (mark_image_instance): cope with children as a first
7971 (image_instance_equal): ditto.
7972 (image_instance_hash): ditto.
7973 (image_instance_changed): ditto.
7975 2000-04-30 Andy Piper <andy@xemacs.org>
7977 * glyphs.c (subwindow_query_geometry): new function. Return some
7979 (subwindow_instantiate): don't assign dimensions if none have been
7981 (image_instantiator_format_create): add subwindow_query_geometry.
7982 (print_image_instance): cope with layouts as widgets.
7984 2000-04-29 Andy Piper <andy@xemacs.org>
7986 * frame.c (delete_frame_internal): call
7987 free_frame_subwindow_instance_cache so that all subwindows are
7988 finalized before their parent.
7989 (mark_frame): remove subwindow_cachels.
7990 (Fmake_frame): remove subwindow_cachel manipulation.
7991 (allocate_frame_core): subwindow_instance_cache is a weak list.
7992 (delete_frame_internal): set subwindow_instance_cache to nil.
7994 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7996 (mswindows_finalize_image_instance): use the device
7997 not the domain as the domain may have died already.
7999 * glyphs-x.c (x_finalize_image_instance): ditto.
8000 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8003 * redisplay-output.c (redisplay_unmap_subwindows): update for
8004 subwindow instance cache as a weak list.
8005 (redisplay_unmap_subwindows_maybe): ditto.
8006 (redisplay_unmap_subwindows_except_us): ditto.
8008 * glyphs.c (unmap_subwindow): error checking will check the domain
8009 so don't deal with it here. Don't use cachels anymore.
8010 (map_subwindow): ditto.
8011 (update_subwindow_cachel_data): remove old accessor names.
8012 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8013 (Fresize_subwindow): don't update cachel.
8014 (mark_subwindow_cachels):
8015 (update_subwindow_cachel_data):
8016 (add_subwindow_cachel):
8017 (get_subwindow_cachel_index):
8018 (update_subwindow_cachel):
8019 (reset_subwindow_cachels):
8020 (mark_subwindow_cachels_as_not_updated): deleted.
8021 (cache_subwindow_instance_in_frame_maybe): new function. Add a
8022 subwindow instance to the frame cache.
8023 (find_matching_subwindow): update for subwindow instance cache as
8025 (update_widget_instances): ditto.
8026 (image_instance_type_to_mask):inlined.
8027 (free_frame_subwindow_instance_cache): new function. finalize all
8028 subwindows that are instantiated.
8030 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
8031 of cachel information.
8032 (IMAGE_INSTANCE_DISPLAY_X):
8033 (IMAGE_INSTANCE_DISPLAY_Y):
8034 (IMAGE_INSTANCE_DISPLAY_WIDTH):
8035 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
8036 (XIMAGE_INSTANCE_DISPLAY_X):
8037 (XIMAGE_INSTANCE_DISPLAY_Y):
8038 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
8039 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
8040 remove subwindow_cachel structure and function references.
8041 (image_instance_type_to_mask): inline from glyphs.c
8043 * redisplay.c (redisplay_frame): remove subwindow_cachel
8046 * frame.h (struct frame): remove subwindow_cachels.
8047 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
8049 * frameslots.h: add subwindow_instance_cache.
8051 * window.c (replace_window): check subwindow cache of replacement.
8052 (window_unmap_subwindows_cache_mapper):
8053 (window_unmap_subwindows): new functions. Unmap all subwindows
8054 cached on this window.
8055 (mark_window_as_deleted): unmap all subwindows.
8057 2000-04-27 Andy Piper <andy@xemacs.org>
8059 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
8061 * glyphs-widget.c (widget_layout): return something.
8062 (layout_layout): return something. Fail if not initialized.
8063 (layout_query_geometry): ditto.
8064 (image_instantiator_native_layout): new function. Initialized the
8066 (widget_instantiate): don't do layout stuff here.
8068 * glyphs.c (instantiate_image_instantiator): reorded calling or
8069 instantiate and post_instantiate with layout in between.
8070 (image_instance_layout): be more selective about deciding whether
8071 the layout has been done or not.
8073 * glyphs.h (struct image_instantiator_methods): return a value
8076 2000-04-26 Andy Piper <andy@xemacs.org>
8078 * glyphs.c (allocate_image_instance): make initial width and
8079 height unspecified. Set initialized to 0.
8081 * syscommctrl.h new file. Encapsulates commctrl.h.
8083 * syswindows.h new file. Encapsulates windows.h.
8085 * ntplay.c: use new syswindows.h and syscommctrl.h header.
8087 * console-msw.h: ditto.
8089 * redisplay-tty.c (tty_output_display_block): remove layout references.
8091 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
8092 window handle rather than just the frame.
8094 * glyphs.c (mark_image_instance): remove layout references.
8095 (print_image_instance): ditto.
8096 (image_instance_equal): ditto.
8097 (image_instance_hash): ditto.
8098 (decode_image_instance_type): ditto.
8099 (encode_image_instance_type): ditto.
8100 (image_instantiate): ditto.
8101 (allocate_glyph): ditto.
8102 (Fimage_instance_height): ditto.
8103 (Fimage_instance_width): ditto.
8104 (update_subwindow): ditto.
8106 * redisplay-x.c (x_output_display_block): recode for layouts as
8109 * redisplay-output.c (redisplay_output_layout): recode for layouts
8111 (compare_runes): remove layout references.
8113 * redisplay-msw.c (mswindows_output_display_block): recode for
8116 * glyphs-widget.c (image_instantiator_layout): remove
8117 layout_possible_dest_types.
8118 (layout_possible_dest_types): deleted.
8120 * glyphs.h (image_instance_type): remove layout references.
8121 (struct Lisp_Image_Instance): ditto. Add initialized flag.
8122 (IMAGE_INSTANCE_INITIALIZED): new accessor.
8123 (XIMAGE_INSTANCE_INITIALIZED): ditto.
8125 2000-04-25 Andy Piper <andy@xemacs.org>
8127 * glyphs-widget.c (image_instantiator_buttons):
8128 (image_instantiator_edit_fields):
8129 (image_instantiator_combo_box):
8130 (image_instantiator_scrollbar):
8131 (image_instantiator_progress_guage):
8132 (image_instantiator_tree_view):
8133 (image_instantiator_tab_control):
8134 (image_instantiator_labels):
8135 (image_instantiator_layout): call default post_instantiate method.
8136 (widget_post_instantiate): new function. Simply lays out the
8139 * glyphs.h (struct image_instantiator_methods): add
8140 post_instantiate method.
8142 * glyphs.c (instantiate_image_instantiator): add post_instantiate
8145 2000-04-23 Andy Piper <andy@xemacs.org>
8147 * glyphs.h (struct image_instantiator_methods): add
8148 decode_domain_method.
8149 (struct Lisp_Image_Instance): remove subwindow frame - it can be
8150 derived from the domain.
8151 (IMAGE_INSTANCE_FRAME): new accessor.
8152 (XIMAGE_INSTANCE_FRAME): ditto.
8154 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
8155 instead of _SUBWINDOW_FRAME.
8156 (finalize_image_instance): ditto.
8157 (Fimage_instance_foreground): ditto.
8158 (Fimage_instance_background): ditto.
8159 (image_instantiate): ditto.
8160 (update_subwindow_cachel): ditto.
8161 (update_subwindow): ditto.
8162 (unmap_subwindow): ditto.
8163 (map_subwindow): ditto
8164 (subwindow_instantiate): ditto.
8165 * glyphs-msw.c (mswindows_update_widget): ditto.
8166 (mswindows_progress_gauge_instantiate): ditto.
8167 (mswindows_tab_control_update): ditto.
8168 * glyphs-x.c (x_update_widget): ditto.
8169 (x_widget_instantiate): ditto.
8170 (x_tab_control_instantiate): ditto.
8171 (x_tab_control_update): ditto.
8172 * event-msw.c (mswindows_wnd_proc): ditto
8174 * glyphs-widget.c (image_instantiator_layout): use
8175 subwindow_decode_domain.
8176 (image_instantiator_buttons): ditto.
8177 (image_instantiator_edit_fields): ditto.
8178 (image_instantiator_combo_box): ditto.
8179 (image_instantiator_scrollbar): ditto.
8180 (image_instantiator_progress_guage): ditto.
8181 (image_instantiator_tree_view): ditto.
8182 (image_instantiator_tab_control): ditto.
8183 (image_instantiator_labels): ditto.
8184 (image_instantiator_layout): ditto.
8186 * glyphs.c: add instance error checking to many functions.
8187 (instantiate_image_instantiator): decode device from cache_domain.
8188 (image_instantiate): partially rewrite by using
8189 decode_image_instantiator_domain to determine what domain the
8190 instance needs to be cached in.
8191 (decode_image_instantiator_domain): new function. Determine what
8192 domain the image needs to be cached in.
8193 (check_window_subwindow_cache): new error checking function.
8194 (check_instance_cache_mapper): ditto.
8195 (check_image_instance_structure): ditto.
8196 (subwindow_decode_domain): new function. Encodes a window as a
8197 subwindow's cache domain.
8198 (image_instantiator_format_create): use it for text and
8201 2000-04-21 Andy Piper <andy@xemacs.org>
8203 * glyphs.c (image_instance_device): new function.
8204 (image_instance_frame): new function.
8205 (image_instance_window): new function.
8206 (image_instance_live_p): new function.
8208 * window.c (mark_window_as_deleted): reset the subwindow_instance_
8211 * glyphs.h (struct Lisp_Image_Instance): device->domain.
8212 (IMAGE_INSTANCE_DOMAIN): new accessor.
8213 (XIMAGE_INSTANCE_DOMAIN): ditto.
8215 * glyphs-x.c (x_finalize_image_instance): device->domain.
8217 * glyphs-msw.c (init_image_instance_geometry): device->domain.
8218 (mswindows_finalize_image_instance): ditto.
8220 * glyphs-eimage.c (jpeg_instantiate): device->domain.
8221 (gif_instantiate): ditto.
8222 (png_instantiate): ditto.
8223 (tiff_instantiate): ditto.
8225 * glyphs.c (instantiate_image_instantiator): use domain rather
8227 (mark_image_instance): device -> domain.
8228 (print_image_instance): ditto.
8229 (finalize_image_instance): ditto.
8230 (image_instance_equal): ditto.
8231 (allocate_image_instance): ditto.
8232 (Fcolorize_image_instance): ditto.
8233 (query_string_geometry): ditto.
8234 (image_instantiate): ditto
8235 (query_string_font): ditto.
8236 (image_instantiate): ditto.
8237 (update_subwindow): ditto.
8238 (unmap_subwindow): ditto.
8239 (map_subwindow): ditto.
8240 (subwindow_instantiate): ditto.
8242 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
8243 (DOMAIN_FRAME): ditto.
8244 (DOMAIN_WINDOW): ditto.
8245 (DOMAIN_LIVE_P): ditto.
8246 (XDOMAIN_DEVICE): ditto.
8247 (XDOMAIN_FRAME): ditto.
8248 (XDOMAIN_WINDOW): ditto.
8250 * specifier.c (Fvalid_specifier_domain_p): add image instances as
8251 a valid specifier domain.
8253 2000-04-19 Andy Piper <andy@xemacs.org>
8255 * glyphs-widget.c (syms_of_glyphs_widget): remove
8256 widget-callback-current-channel.
8257 (vars_of_glyphs_widget): ditto.
8260 * gui.c (get_gui_callback): revert to previous behaviour.
8262 2000-04-18 Andy Piper <andy@xemacs.org>
8264 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
8265 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
8266 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
8268 * glyphs.c (image_instance_equal): add margin_width.
8269 (image_instance_hash): ditto.
8271 * glyphs-widget.c (widget_instantiate): deal with margin-width.
8272 (layout_query_geometry): ditto.
8273 (layout_layout): ditto.
8274 (syms_of_glyphs_widget): add margin-width.
8275 (image_instantiator_layout): allow margin-width.
8277 * glyphs.c (update_widget_instances): make a normal function.
8278 (syms_of_glyphs): remove Qupdate_widget_instances.
8281 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
8282 so that we don't corrupt ideas about the last event or
8283 command. Remove widget-callback-current-channel fiddling.
8284 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8286 2000-05-01 Martin Buchholz <martin@xemacs.org>
8288 * XEmacs 21.2.33 is released.
8290 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
8292 * make-src-depend: Allow dots in header file name.
8294 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
8296 * mule-charset.h (struct charset_lookup): Add
8297 next_allocated_1_byte_leading_byte and
8298 next_allocated_2_byte_leading_byte.
8299 * mule-charset.c: Move above two variables so that those values
8302 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
8304 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
8305 when string length is zero.
8306 (find_charsets_in_emchar_string): Ditto.
8308 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
8310 * lisp.h: extern Qdialog and Qmenubar.
8312 * gui-x.c: added events.h.
8313 also fixed typo which made the file uncompilable.
8315 * general.c: Added Qmenubar and Qdialog
8317 2000-04-28 Ben Wing <ben@xemacs.org>
8319 * frame-msw.c (mswindows_init_frame_1):
8320 * frame-msw.c (mswindows_mark_frame):
8321 * event-msw.c (mswindows_enqueue_dispatch_event):
8323 * console-msw.h (struct mswindows_frame):
8324 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
8325 there are now three hash tables for callbacks.
8326 mswindows_enqueue_dispatch_event is no longer static.
8328 * dialog-x.c (maybe_run_dbox_text_callback):
8329 * dialog-x.c (dbox_descriptor_to_widget_value):
8330 switch to new cons3 form for callbacks.
8332 * glyphs-msw.c (mswindows_register_gui_item):
8333 * glyphs-msw.c (mswindows_widget_instantiate):
8334 * glyphs-msw.c (add_tree_item):
8335 * glyphs-msw.c (add_tab_item):
8336 new image instance parameter, so it can be passed to callback-ex.
8337 respect :callback-ex as well as :callback.
8339 * glyphs-widget.c (VALID_GUI_KEYWORDS):
8342 * glyphs.c (print_image_instance):
8343 prettify, e.g. now prints widget type.
8346 certain funs have new image instance parameter.
8349 * gui.c (get_gui_callback):
8350 * gui.c (gui_item_add_keyval_pair):
8351 * gui.c (gui_item_init):
8352 * gui.c (gui_add_item_keywords_to_plist):
8353 * gui.c (mark_gui_item):
8354 * gui.c (gui_item_hash):
8355 * gui.c (gui_item_equal):
8356 * gui.c (copy_gui_item):
8357 * gui.c (syms_of_gui):
8358 recognize callback-ex in a number of places.
8359 also, fix the annoying "can't get out of yes-no dialog" bug.
8362 * gui.h (struct Lisp_Gui_Item):
8363 recognize callback-ex in a number of places.
8365 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8366 new parameter in button_item_to_widget_value.
8368 * glyphs-x.c (x_update_widget):
8369 * glyphs-x.c (x_button_instantiate):
8370 * glyphs-x.c (x_button_update):
8371 * glyphs-x.c (x_progress_gauge_instantiate):
8372 * glyphs-x.c (x_edit_field_instantiate):
8373 * glyphs-x.c (x_combo_box_instantiate):
8374 * glyphs-x.c (x_tab_control_instantiate):
8375 * glyphs-x.c (x_label_instantiate):
8376 new image instance parameter in various places.
8379 * event-Xt.c (enqueue_Xt_dispatch_event):
8380 this fun gets exported.
8383 * gui-msw.c (mswindows_handle_gui_wm_command):
8384 handle both :callback and :callback-ex, and generate our own
8385 event because it's one of the callback-ex arguments.
8388 * gui-x.c (popup_selection_callback):
8389 handle both :callback and :callback-ex, and generate our own
8390 event because it's one of the callback-ex arguments.
8391 * gui-x.c (button_item_to_widget_value):
8392 * gui-x.c (gui_items_to_widget_values_1):
8393 * gui-x.c (gui_item_children_to_widget_values):
8394 * gui-x.c (gui_items_to_widget_values):
8395 new image instance parameter in various places.
8397 * fns.c (Freplace_list):
8398 fix small typo in doc string.
8401 declare enqueue_Xt_dispatch_event.
8403 2000-04-28 Ben Wing <ben@xemacs.org>
8406 * buffer.c (Frecord_buffer):
8407 * buffer.c (syms_of_buffer):
8408 delete record-buffer-hook.
8411 * fns.c (Freplace_list):
8412 * fns.c (syms_of_fns):
8413 new primitive replace-list.
8416 slot for old buffer-alist.
8422 * redisplay.c (redisplay_frame):
8423 * redisplay.c (syms_of_redisplay):
8424 * redisplay.c (vars_of_redisplay):
8425 new hook buffer-list-changed-hook.
8428 2000-04-27 Ben Wing <ben@xemacs.org>
8430 * extents.h: extern in_modeline_generation.
8432 * redisplay.c (generate_formatted_string_db): set
8433 in_modeline_generation.
8435 * extents.c (extent_changed_for_redisplay): don't mark redisplay
8436 flags if in modeline generation. otherwise frame-modified-tick
8437 is ticked far too often.
8438 Declare in_modeline_generation.
8440 2000-04-26 Ben Wing <ben@xemacs.org>
8442 * emacs.c (vars_of_emacs): document quick-build "error-checking"
8444 (vars_of_emacs): add quick-build as an error-checking option.
8445 A bit kludgy, but there doesn't seem much point in creating
8446 a real var for this.
8448 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
8450 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
8452 * redisplay.h (struct display_line): Add a new variable,
8455 * redisplay.c (create_text_block): Set dl->line_continuation if
8457 (create_string_text_block): Ditto.
8458 (regenerate_window_incrementally): Use line_continuation instead
8459 of searching continuation glyph.
8460 (add_margin_runes): Call add_glyph_rune.
8461 (add_glyph_rune): Handle margin glyph.
8463 2000-04-20 Martin Buchholz <martin@xemacs.org>
8465 * filelock.c (fill_in_lock_file_name):
8467 Check for IS_ANY_SEP instead of '/'.
8469 Avoid generating gratuitous garbage. Call user_login_name() directly.
8470 Never check errno without first seeing that system call failed.
8471 (unlock_file): Add GCPRO.
8472 (Flock_buffer): Fix docstring.
8473 (Ffile_locked_p): Fix docstring. Add GCPRO.
8475 2000-04-19 Martin Buchholz <martin@xemacs.org>
8477 * sysdep.c (get_pty_max_bytes):
8478 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
8479 strings longer than 252 bytes.
8481 * md5.c: Unconditionally include ANSI header <limits.h>
8483 * glyphs-x.c (convert_EImage_to_XImage):
8484 * lisp-union.h (union Lisp_Object):
8485 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
8487 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8489 * filelock.c (current_lock_owner): Remove unused variable o, p.
8491 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
8493 * callint.c: Remove multiply defined symbol Qlet
8494 (syms_of_callint): ditto.
8496 2000-04-14 Andy Piper <andy@xemacs.org>
8498 * general.c (syms_of_general): add last-command, this-command, let
8501 * lisp.h: declare various symbols.
8503 * glyphs.h: declare Qwidget_callback_current_channel;
8505 * glyphs-widget.c (syms_of_glyphs_widget): add
8506 Qgui_callback_current_channel.
8507 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
8509 * gui-msw.c (mswindows_handle_gui_wm_command): bind
8510 widget-callback-current-channel when invoking the interactive
8511 arg. Also bind last-command and next-command when invoking the
8513 * gui-x.c (popup_selection_callback): ditto.
8515 * gui.c (get_gui_callback): massage args so that we are always
8516 calling eval. This allows us to add our own variable bindings
8519 * glyphs-x.c (x_button_instantiate): use
8520 gui_items_to_widget_values since this is GC safe.
8521 (x_progress_gauge_instantiate): ditto.
8522 (x_edit_field_instantiate): ditto.
8523 (x_label_instantiate): ditto.
8525 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
8526 (emacs_Xt_event_widget_focus_out): new function
8527 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
8529 (emacs_Xt_event_add_widget_actions): new function. add focus
8530 functions as actions.
8531 (init_event_Xt_late): use it.
8533 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
8535 * event-stream.c (Fdispatch_event): Doc fix.
8537 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
8539 * postgresql.c: Remove all references to PQsetenv*.
8541 * postgresql.h: Remove references to PGsetenvHandler object.
8542 * lrecord.h (lrecord_type): Ditto.
8544 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8546 * glyphs-msw.h (struct mswindows_image_instance_data): Added
8547 real_heigh and real_width members, and accessor macros for these.
8549 * glyphs-msw.c (init_image_instance_geometry): New function.
8550 (init_image_instance_from_dibitmap): Use it.
8551 (mswindows_resource_instantiate): Use it.
8552 (init_image_instance_from_xbm_inline): Use it.
8553 (mswindows_initialize_image_instance_mask): Use real bitmap
8555 (mswindows_create_resized_bitmap): Ditto.
8556 (mswindows_create_resized_mask): Ditto.
8558 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
8559 and bitmap to their surface size.
8561 2000-04-11 Jan Vroonhof <jan@xemacs.org>
8563 * process-unix.c (unix_send_process): Guard against process MIA
8564 after Faccept_process_output.
8566 2000-04-11 Ben Wing <ben@xemacs.org>
8568 * eval.c (unbind_to_hairy): fix brokenness introduced by
8569 nanosecond speed improvements.
8571 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
8573 * sunplay.c (init_device): To play sounds correctly, the device
8574 apparently needs to be initialized at least once by XEmacs. Make
8577 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
8579 * redisplay.c (add_margin_runes): Add text image glyph
8582 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8584 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
8585 gcc is newer than 2.5.
8587 2000-04-06 Colin Rafferty <colin@xemacs.org>
8589 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
8591 * fns.c (size_bit_vector):
8592 * alloc.c (size_vector):
8593 (make_vector_internal):
8594 (make_bit_vector_internal):
8595 (sweep_bit_vectors_1):
8596 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
8598 2000-04-06 Andy Piper <andy@xemacs.org>
8600 * gmalloc.c (malloc): undo previous change.
8605 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
8607 * line-number.c (buffer_line_number): Revert to former version.
8609 2000-04-06 Andy Piper <andy@xemacs.org>
8611 * gmalloc.c (malloc): add error checking.
8616 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
8617 button_item_to_widget_value arg.
8619 * glyphs-x.c (x_button_instantiate): add extra
8620 button_item_to_widget_value arg.
8621 (x_progress_gauge_instantiate): ditto.
8622 (x_edit_field_instantiate): ditto.
8623 (x_label_instantiate): ditto.
8625 * gui-x.c (gui_items_to_widget_values_1): add extra
8626 button_item_to_widget_value arg.
8627 (button_item_to_widget_value): add extra menu_item_p arg.
8629 * gui-x.h: change signature of button_item_to_widget_value.
8631 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
8632 button_item_to_widget_value arg.
8634 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8636 * buffer.h (struct buffer): auto_save_modified should be long.
8638 2000-04-05 Andy Piper <andy@xemacs.org>
8640 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
8642 (button_query_geometry): give a little more room so that athena
8645 2000-04-05 Andy Piper <andy@xemacs.org>
8647 * faces.c (complex_vars_of_faces): The widget face should inherit
8648 the font of the gui-element face.
8650 2000-04-04 Andy Piper <andy@xemacs.org>
8652 * glyphs-x.c (x_button_update): new function. unconditionally
8653 update a button's state when the instance is dirty.
8654 (image_instantiator_format_create_glyphs_x): add x_button_update.
8655 (x_widget_instantiate): remove old resize cruft.
8657 2000-04-02 Andy Piper <andy@xemacs.org>
8659 * frame.c (change_frame_size_1): The introduction of gutters means
8660 that we need to allow 0 as a potential frame dimension.
8662 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
8664 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
8665 image glyph if allow_cursor.
8666 (add_hscroll_rune): Don't allow cursor to border glyph.
8667 (create_text_block): Ditto.
8669 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
8671 (redisplay_output_layout): Call ensure_face_cachel_complete for
8675 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
8677 * redisplay.c (add_glyph_rune): Adding text image as text runes.
8679 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
8682 * redisplay-tty.c (tty_output_display_block): Delete the routine
8683 for text image glyph
8684 * redisplay-x.c (x_output_display_block): ditto
8685 * redisplay-msw.c (mswindows_output_display_block): ditto
8687 2000-02-02 Mike Alexander <mta@arbortext.com>
8689 Note: Some of these were committed by accident as part of other
8692 * regex.c (regex_compile): Avoid compiler warnings.
8694 * ntproc.c (sys_spawnve): Avoid compiler warnings.
8696 * nt.h: Declare term_ntproc correctly.
8698 * nt.c: Remove incorrect declaration of get_home_directory which
8699 is declared correctly in lisp.h.
8701 * keymap.c (get_keyelt): Avoid compiler warnings.
8702 (raw_lookup_key_mapper): Avoid compiler warnings.
8704 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
8706 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
8708 * filemode.c (mode_string): Avoid compiler warnings.
8710 * file-coding.c (Fcoding_system_aliasee): Add return statement to
8713 * events-mod.h: Undef some things that winuser.h defines differently.
8715 * data.c (Faset): Avoid compiler warnings.
8717 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
8719 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8721 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
8722 Fall through to simple beep on error.
8723 Replace "extern" by real header file.
8725 * linuxplay.c: Use nativesound.h
8726 (play_sound_data): Return error code. Be less verbose on error.
8728 * sunplay.c: Use nativesound.h
8729 (play_sound_data): Return error code. Be less verbose on error.
8731 * ntplay.c: Use nativesound.h
8732 (play_sound_data): Return fake error code
8734 * sgiplay.c: Use nativesound.h
8735 (play_sound_data): Return error code
8737 * hpplay.c: Use nativesound.h, partially implement
8738 new error code. Break compilation until finished.
8739 (play_sound_data): error code.
8741 * nativesound.h (play_sound_file):
8742 (play_sound_data): Prototype in new header.
8744 2000-03-31 Andy Piper <andy@xemacs.org>
8746 * glyphs-widget.c: (button_query_geometry): new function. Adjust
8747 for toggle and radio buttons.
8748 (image_instantiator_buttons): use it.
8750 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8752 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
8753 (x_update_horizontal_scrollbar_callback): Return if no mirror was
8754 found. Scrollbar event probably belonged to some old config.
8756 2000-03-31 Andy Piper <andy@xemacs.org>
8758 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
8760 (initialize_widget_image_instance): default layout to
8761 LAYOUT_HORIZONTAL rather than 0.
8762 (widget_instantiate): reverse the item list at the end rather than
8764 (layout_layout): re-code for the border text at the front of the
8765 item list rather than at the end.
8766 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
8767 provided by the user.
8768 (widget_query_geometry): comment.
8770 2000-03-30 Andy Piper <andy@xemacs.org>
8772 * glyphs-widget.c (image_instantiator_layout): allow standard
8773 widget keywords in layouts.
8775 * gutter.c (output_gutter): cope with nil gutter contents.
8777 * frame.c (Fset_frame_properties): add gutter docs.
8779 2000-03-29 Andy Piper <andy@xemacs.org>
8781 * toolbar-msw.c (TBSTYLE_FLAT): add.
8782 (mswindows_output_toolbar): minor fiddling.
8784 2000-03-29 Andy Piper <andy@xemacs.org>
8786 * gutter.c (output_gutter): force gutter size recalculation if
8787 what we are trying to display won't fit.
8788 (update_gutter_geometry): new function. A per-gutter version of
8789 update_frame_gutter_geometry.
8790 (update_frame_gutter_geometry): use it.
8791 (redraw_exposed_gutter): add extra debugging output.
8793 2000-03-28 Mike Alexander <mta@arbortext.com>
8795 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
8796 (pdump_file_unmap): Implement it on Windows
8797 (pdump_file_get): Save alocated handles for pdump_file_unmap
8799 2000-03-28 Andy Piper <andy@xemacs.org>
8801 * gui.c (get_gui_callback): treat Quit specially.
8803 2000-03-27 Andy Piper <andy@xemacs.org>
8805 * glyphs.c (image_instantiate): be careful to check in the same
8808 2000-03-27 Didier Verna <didier@xemacs.org>
8810 * config.h.in: define the proper SMART_INCLUDE macro.
8811 handle renaming of `foo_h_path' to `foo_h_file'.
8813 * database.c: ditto.
8817 * linuxplay.c: ditto.
8819 * terminfo.c: ditto.
8821 * tooltalk.h: ditto.
8823 2000-03-27 Andy Piper <andy@xemacs.org>
8825 * glyphs-msw.c (mswindows_update_widget): make sure the widget
8826 gets updated whenever the face might have changed.
8828 2000-03-26 Mike Alexander <mta@arbortext.com>
8830 * dumper.c (pdump_resource_free): Fix the comment.
8832 2000-03-21 Olivier Galibert <galibert@pobox.com>
8834 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
8836 2000-03-22 Mike Alexander <mta@arbortext.com>
8838 * dumper.c: Include Windows headers on Windows
8839 (pdump_resource_free): Add a body to the function
8840 (pdump_load): exe_name -> exe_path and add some comments.
8842 2000-03-25 Mike Alexander <mta@arbortext.com>
8844 * gui.c (copy_gui_item_tree): Return a value in all cases
8846 2000-03-21 Didier Verna <didier@xemacs.org>
8848 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
8850 (SMART_INCLUDE): new macro.
8851 (POSTGRES_INCLUDE): new macro to include postgresql headers from
8852 the proper location.
8854 * postgresql.c: use it.
8858 2000-03-24 Andy Piper <andy@xemacs.org>
8860 * gutter.c (redraw_exposed_gutters): must be "in display" when we
8863 2000-03-24 Andy Piper <andy@xemacs.org>
8865 * redisplay-output.c (compare_runes): use image_instance_changed
8866 to detect changes. Do not depend on glyphs_changed, only depend on
8868 (redisplay_output_layout): add debug messages.
8869 (compare_runes): ditto.
8871 * glyphs.h: declare new functions.
8872 (struct Lisp_Image_Instance): remove percent and associated
8875 * gui.h: declare new copying functions.
8877 * gui.c (copy_gui_item_tree): new function.
8878 (copy_gui_item): new function.
8879 (gui_item_id_hash): revert to standard hash.
8880 (gui_item_hash): ditto.
8881 (gui_item_hash_internal): deleted.
8882 (mark_gui_item): mark value.
8883 (gui_item_add_keyval_pair): add value.
8884 (gui_item_init): ditto.
8885 (gui_add_item_keywords_to_plist): ditto.
8886 (gui_item_equal): ditto.
8887 (syms_of_gui): add Q_value.
8889 * glyphs-x.c (x_progress_gauge_update): use pending items and
8890 value for setting the state.
8891 (x_update_widget): don't set items from pending here.
8893 * glyphs-widget.c (update_widget): update items here.
8894 (progress_gauge_set_property): use items for storing value. Put
8895 new value in pending items.
8897 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
8898 items for new value. Convert percent -> value.
8899 (mswindows_tab_control_update): don't update items here.
8901 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
8902 (update_subwindow): ditto.
8903 (image_instance_changed): new function. Compare hash values and
8904 past and present widget items.
8905 (image_instantiate): We more careful about where we instantiate
8907 (image_instantiate): add error checking.
8909 * gutter.c (syms_of_gutter): use -hook.
8911 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8913 * console-tty.c (Fset_console_tty_input_coding_system): Use
8915 (Fset_console_tty_output_coding_system): Use Qterminal.
8916 (tty_init_console): Use Qkeyboard and Qterminal.
8918 2000-03-21 Ben Wing <ben@xemacs.org>
8920 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8921 From Mike Alexander <mta@arbortext.com>.
8923 2000-03-21 Ben Wing <ben@xemacs.org>
8925 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8926 process brokenness. Proper implementation to come.
8928 Rename call-process-internal to old-call-process-internal.
8929 New impl. in process.el.
8931 2000-03-21 Martin Buchholz <martin@xemacs.org>
8933 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8935 2000-03-20 Andy Piper <andy@xemacs.org>
8937 * glyphs.c (full_list_hash): make hashes of the same elements in
8938 different orders return different values.
8940 2000-03-20 Martin Buchholz <martin@xemacs.org>
8942 * XEmacs 21.2.32 is released.
8944 2000-03-20 Martin Buchholz <martin@xemacs.org>
8946 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8947 (DFC_MALLOC_USE_CONVERTED_DATA):
8948 Add aliasing-safe casts to allow use with char* or unsigned char*
8951 * eldap.c (Fldap_open):
8952 (Fldap_search_basic):
8955 Make C++-compilable.
8956 Make sure GCPRO'ed variables are initialized.
8957 Use temp variables to avoid repeated calls to Flength.
8959 2000-03-16 Martin Buchholz <martin@xemacs.org>
8962 Make sure PATH_MAX is always defined.
8963 Include limits.h for PATH_MAX.
8964 Deprecate use of MAXPATHLEN.
8966 2000-03-10 Martin Buchholz <martin@xemacs.org>
8968 * emacs.c: Add reinit_vars_of_fileio.
8969 * symsinit.h: Add reinit_vars_of_fileio.
8970 * fileio.c (reinit_vars_of_fileio): New.
8971 * fileio.c (Fmake_temp_name):
8972 Initialize temp_name random number from microseconds to make
8973 collisions even less likely. Initialize always at process startup
8974 time. (make-temp-name) used to return the same file name twice in
8976 Random stylistic fiddling.
8979 2000-03-20 Andy Piper <andy@xemacs.org>
8981 * glyphs.c (image_instantiate): allow text glyphs to be
8982 instantiated in the minibuffer window.
8984 2000-03-19 Andy Piper <andy@xemacs.org>
8986 * glyphs.c (image_instance_hash): be careful about which items we
8989 * glyphs-widget.c (tab_control_set_property): record into pending
8990 items rather than the actual items.
8992 * glyphs-x.c (x_update_widget): use pending items to update with.
8994 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8997 * glyphs.c (mark_image_instance): mark pending items.
8999 * window.c (Fset_window_configuration): record the buffer.
9000 (Fselect_window): totally revert previous change which breaks many
9003 2000-03-18 Andy Piper <andy@xemacs.org>
9005 * glyphs-msw.c (mswindows_tab_control_update): force selected
9008 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9009 window domain cache, otherwise we get inconsistencies at
9010 startup. There is something fishy at startup which can lead to the
9011 minibuffer being the selected window when the gutter content is
9014 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9016 (parse_gui_item_tree_children): ditto.
9017 (parse_gui_item_tree_item): ditto.
9019 * glyphs.c (Fupdate_widget_instances): return something.
9021 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9023 * window.c (Fselect_window): Undo 2000-03-17 change.
9025 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
9027 * postgresql.c (Fpq_setenv): Remove this turkey when linking
9028 against v7.0 libraries. Insta-coredump city until the postgres
9031 2000-03-17 Andy Piper <andy@xemacs.org>
9033 * faces.c (complex_vars_of_faces): don't give the widget face an
9034 inherited background pixmap.
9036 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
9039 * event-stream.c (Fdispatch_non_command_events): return something.
9041 * gutter.c (output_gutter): use widget face.
9042 (clear_gutter): ditto.
9044 * NEWS: adjust again.
9046 * window.c (Fselect_window): make sure this runs to completion to
9047 avoid oddities with Fset_window_configuration.
9048 (Fcurrent_window_configuration): in general do not save the
9049 minibuffer as the selected window.
9051 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
9053 2000-03-16 Olivier Galibert <galibert@pobox.com>
9055 * emacs.c (Frunning_temacs_p): Revert previous patch.
9056 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
9058 2000-03-16 Andy Piper <andy@xemacs.org>
9060 * glyphs-x.c (x_tab_control_update): if no widget values then
9063 * NEWS: update for new features.
9065 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
9066 synthetic event to the native system.
9067 (reinit_vars_of_event_Xt): set force_event_pending to
9068 emacs_Xt_force_event_pending.
9070 * events.h (struct event_stream): add force_event_pending.
9072 * specifier.c (recompute_one_cached_specifier_in_window): add
9075 * redisplay.c (redisplay_frame): don't call
9076 update_frame_subwindows. Reset subwindow cachels when
9077 subwindows_changed, removing this was an optimization too far.
9079 * redisplay-output.c (compare_runes): reorganize so that we catch
9080 glyph changes when we want them. Set optimize_output when this
9082 (redisplay_output_layout): remove frame_really_changed, use
9083 optimize_output instead.
9085 * redisplay-msw.c (mswindows_output_display_block): reset
9086 optimize_output after outputting a glyph.
9087 * redisplay-x.c (x_output_display_block): ditto.
9088 * redisplay-tty.c (tty_output_display_block): ditto.
9090 * gutter.c: (specifier_vars_of_gutter): use new spec changed
9092 (gutter_specs_changed): do specific gutter positions.
9093 (top_gutter_specs_changed): new function. Only update the
9094 specified gutter specs.
9095 (bottom_gutter_specs_changed): ditto.
9096 (left_gutter_specs_changed): ditto.
9097 (right_gutter_specs_changed): ditto.
9099 * gui.c (gui_item_hash_internal): new function, does a real hash.
9100 (gui_item_id_hash): use it.
9101 (gui_item_hash): hash the eval'ed gui_item.
9103 * gui-x.c (popup_selection_callback): send an eval event to call
9104 Fupdate_widget_instances.
9106 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
9107 to call Fupdate_widget_instances.
9109 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
9110 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
9112 * glyphs.c: (update_frame_subwindows): deleted.
9113 (Fupdate_widget_instances): new function for updating the dirty
9114 state of widgets that might have changed.
9115 (syms_of_glyphs): add Qupdate_widget_instances.
9116 (full_list_hash): hash a list completely.
9117 (image_instance_hash): use it for items and properties.
9119 * frame-msw.c (mswindows_size_frame_internal): remove unused
9122 * faces.h (struct face_cachel): fix comment.
9124 * event-stream.c (Fdispatch_non_command_events): new
9125 function. Process non-command events, forcing an event cycle
9127 (syms_of_event_stream): declare.
9128 (event_stream_force_event_pending): new function. Force an event
9129 on the native event queue so that an event cycle will occur next
9133 (struct ntpipe_shove_stream):
9134 (mswindows_enqueue_dispatch_event):
9135 (mswindows_dequeue_dispatch_event):
9136 (mswindows_cancel_dispatch_event):
9137 (mswindows_pump_outstanding_events):
9138 (mswindows_drain_windows_queue):
9139 (mswindows_handle_paint):
9140 (mswindows_wnd_proc):
9141 (mswindows_key_to_emacs_keysym):
9142 (get_process_input_waitable):
9143 (emacs_mswindows_delete_stream_pair): re-indent file.
9144 (mswindows_need_event): do not process further fds if the windows
9145 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
9146 fixes the 100% cpu problem.
9147 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
9149 2000-03-15 Olivier Galibert <galibert@pobox.com>
9155 * emacs.c: Moved dump file searching to dumper.c.
9156 (Frunning_temacs_p): Fixed.
9158 * alloc.c: Moved everything pdump-related to dumper.c. Removed
9159 last_lrecord_type_index_assigned.
9161 2000-02-20 Olivier Galibert <galibert@pobox.com>
9163 * symsinit.h: Added reinit parameter to init_console_stream
9166 * lisp.h: Added file parameter to pdump_load declaration.
9168 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
9169 support. Added dump file searching.
9171 * config.h.in: Added EMACS_PROGNAME.
9173 * console-stream.c (init_console_stream): Fix reinitialisation
9174 when running from temacs.
9176 * alloc.c (pdump): Add id support.
9177 (pdump_load): Add file parameter and signature/id support.
9179 * Makefile.in.in: Add full pdump support.
9181 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
9183 * postgresql.c: Update documentation to reflect latest code
9185 (print_result): Show tuple counts in printed representation when
9187 (Fpq_put_nbytes): MULE-ize.
9188 (Fpq_get_line_async): Ditto.
9190 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9192 * postgresql.c (Fpq_lo_import): Fix return value.
9193 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
9195 2000-03-13 Ben Wing <ben@xemacs.org>
9197 * alloc.c (pdump_load):
9198 Fix compile warning under mswin.
9200 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9202 * postgresql.c: Mule-ization, bug fixes.
9203 Use PG_CODING to encapsulate coding system name changes.
9204 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
9205 (pg-coding-system): Create.
9207 (Fpq_conn_defaults): Mule-ize.
9208 (Fpq_connectdb): Mule-ize & bug fix.
9209 (Fpq_connect_start): Mule-ize.
9210 (Fpq_set_client_encoding): Mule-ize.
9211 (Fpq_finish): Document `DEAD' connection status.
9213 (Fpq_pgconn): Mule-ize.
9214 (Fpq_exec): Mule-ize & bug fix.
9215 (Fpq_send_query): Ditto.
9216 (Fpq_get_result): Ditto.
9217 (Fpq_res_status): Mule-ize.
9218 (Fpq_result_error_message): Mule-ize.
9219 (Fpq_ntuples): fix comments.
9220 (Fpq_fname): Mule-ize.
9221 (Fpq_fnumber): Mule-ize.
9222 (Fpq_ftype): fix comments.
9223 (Fpq_get_value): Mule-ize.
9224 (Fpq_cmd_status): Ditto.
9225 (Fpq_cmd_tuples): Ditto.
9226 (Fpq_oid_value): Ditto.
9227 (Fpq_notifies): Ditto.
9228 (Fpq_lo_import): Ditto.
9229 (Fpq_lo_export): Ditto.
9230 (Fpq_get_line): Ditto.
9231 (Fpq_put_line): Mule-ize and bug fix.
9232 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
9234 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9236 * postgresql.c (vars_of_postgresql): Mule-ize.
9237 (Fpq_conn_defaults): Ditto.
9239 2000-03-12 Ben Wing <ben@xemacs.org>
9241 * alloc.c (Fmake_byte_code):
9242 * alloc.c (debug_string_purity_print):
9243 * alloc.c (pdump_backtrace):
9244 * alloc.c (pdump_get_indirect_count):
9245 * alloc.c (pdump_register_sub):
9246 * alloc.c (pdump_register_object):
9247 * alloc.c (pdump_register_struct):
9248 * alloc.c (pdump_dump_data):
9249 * alloc.c (pdump_reloc_one):
9253 * console-msw.c (GetConsoleHwnd):
9254 * console-msw.c (msw_hide_console):
9255 * console-msw.c (msw_show_console):
9256 * console-msw.c (msw_ensure_console_buffered):
9257 * console-msw.c (msw_output_console_string):
9258 * console-msw.c (console_type_create_mswindows):
9260 a) Added functions to manipulate the console window for use with
9263 b) Added support for writing text to the console, which is now
9264 used under Windows when xemacs is not being run non-interactively,
9265 to write text that would otherwise be destined for stdout because
9266 under these circumstances, text written to stdout tends to
9267 disappear and not be seen.
9271 * event-Xt.c (x_event_to_emacs_event):
9272 * event-Xt.c (describe_event_window):
9273 * events-mod.h (XEMACS_MOD_CONTROL):
9275 * events.c (Fmake_event):
9276 * events.c (character_to_event):
9277 * events.c (event_to_character):
9278 * events.c (format_event_object):
9279 * events.c (Fevent_modifiers):
9281 * events.h (struct key_data):
9282 * events.h (struct button_data):
9283 * events.h (struct misc_user_data):
9284 * frame-x.c (Fcde_start_drag_internal):
9285 * frame-x.c (Foffix_start_drag_internal):
9286 * gpmevent.c (Freceive_gpm_event):
9288 * keymap.c (bucky_sym_to_bucky_bit):
9289 * keymap.c (control_meta_superify):
9290 * keymap.c (make_key_description):
9291 * keymap.c (keymap_lookup_directly):
9292 * keymap.c (create_bucky_submap):
9293 * keymap.c (keymap_store):
9294 * keymap.c (define_key_check_and_coerce_keysym):
9295 * keymap.c (define_key_parser):
9296 * keymap.c (define_key_alternate_name):
9297 * keymap.c (Fdefine_key):
9298 * keymap.c (raw_lookup_key_mapper):
9299 * keymap.c (struct map_keymap_unsorted_closure):
9300 * keymap.c (map_keymap_unsorted_mapper):
9301 * keymap.c (map_keymap_sort_predicate):
9302 * keymap.c (map_keymap_sorted):
9303 * keymap.c (accessible_keymaps_mapper_1):
9304 * keymap.c (where_is_recursive_mapper):
9305 * keymap.c (describe_map_mapper):
9306 * keymap.c (describe_map_sort_predicate):
9307 * keymap.c (describe_map):
9308 * keymap.c (complex_vars_of_keymap):
9309 And a number of other files, the key modifier preprocessor
9310 constants that xemacs uses have names that conflict with constants
9311 defined under MS Windows for other purposes, so they were renamed
9312 to begin with the prefix XEMACS_. The variables that hold such
9313 modifiers were changed to consistently be of type int to fix
9314 various compile warnings.
9316 * console.c (complex_vars_of_console):
9319 * device-msw.c (mswindows_finish_init_device):
9320 * device-msw.c (msw_get_workspace_coords):
9321 * device-msw.c (mswindows_device_system_metrics):
9322 and various other files, added support for a new
9323 device property called offset-workspace which returns the position
9324 of the upper left corner of the workspace area and goes along with
9325 the existing size-workspace property.
9328 * dialog-msw.c (push_bufbyte_string_as_unicode):
9329 * dialog-msw.c (mswindows_popup_dialog_box):
9330 Added support for XEmacs-style accelerator specifications in
9331 button text. Note: I didn't add support for this under X Windows,
9332 and somebody needs to do this.
9335 * dialog.c (Fpopup_dialog_box):
9336 Documented the support for accelerators that was just mentioned.
9338 editfns.c (get_home_directory): Changed behavior under Windows
9339 when HOME not defined; former behavior was irretrievably broken.
9344 * minibuf.c (clear_echo_area_internal):
9345 * minibuf.c (echo_area_append):
9347 * print.c (std_handle_out_external):
9348 * print.c (std_handle_out_va):
9350 * print.c (write_string_to_stdio_stream):
9351 * print.c (output_string):
9352 * print.c (debug_print):
9353 * print.c (debug_backtrace):
9354 * print.c (debug_short_backtrace):
9355 Cleaned up the code that prints text to stdout so that this can be
9356 changed to output into a console window instead under MS Windows,
9360 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
9361 * eval.c (internal_catch):
9362 * eval.c (unwind_to_catch):
9363 * eval.c (throw_or_bomb_out):
9364 * eval.c (condition_case_1):
9365 * eval.c (signal_1):
9366 * eval.c (check_error_state_sanity):
9367 * eval.c (call_with_suspended_errors_1):
9368 * eval.c (call_with_suspended_errors):
9369 * eval.c (reinit_vars_of_eval):
9370 Added code to catch throw loops and check for a pesky bug that may
9374 * event-msw.c (key_needs_default_processing_p):
9375 * event-msw.c (mswindows_wnd_proc):
9376 * event-msw.c (mswindows_modifier_state):
9377 * event-msw.c (emacs_mswindows_quit_p):
9378 * event-msw.c (vars_of_event_mswindows):
9379 a) Added support for using the alt key to select menu items as is
9380 standard under MS Windows. This is controlled using the variable
9381 menu-accelerator-enabled, just like under X Windows. There is an
9382 option on the options menu to turn this support on. I really
9383 think that it should be on by default under Windows, but I'm not
9384 going to make this change yet.
9386 b) Added support for dynamic display size changes under Windows.
9389 * event-stream.c (maybe_echo_keys):
9390 * event-stream.c (Fnext_event):
9391 * event-stream.c (command_builder_find_leaf):
9392 * event-stream.c (lookup_command_event):
9393 * event-stream.c (execute_command_event):
9394 * event-stream.c (pre_command_hook):
9395 * event-stream.c (post_command_hook):
9396 * event-stream.c (syms_of_event_stream):
9397 * event-stream.c (vars_of_event_stream):
9398 * event-stream.c (complex_vars_of_event_stream):
9399 * events.h (struct command_builder):
9401 a) Tried to clean up a little bit the horribly written x-specific
9402 accelerator code that crept into this file. I moved this code
9403 into menubar-x.c where it belongs. I also needed to move the
9404 command builder structure into the file events.h because it is
9405 accessed directly by this accelerator code. What I didn't do, but
9406 which should be done at some point, is to properly abstract this
9407 code using device methods instead of the kludgy way that it
9408 currently hooks into the event code.
9410 b) Added the lisp variables this-command-properties and
9411 last-command- properties, which should be used to synchronize two
9412 adjacent commands in preference to playing games with the variable
9413 this-command, which is typically what happens.
9415 c) Added some slightly nasty code to hook into the lisp support
9416 for shifted- motion-key selection. This is actually necessary for
9417 somewhat complicated reasons, which are described in
9418 simple.el. (NB: I think the proper thing would be to have the code
9419 that calls the pre and post command hooks also call out to generic
9420 lisp functions in simple.el, where all built-in stuff could be
9421 added. I will think about this more.)
9423 * event-unixoid.c (poll_fds_for_input):
9424 * lread.c (readchar):
9425 * redisplay-tty.c (tty_clear_frame):
9426 * redisplay-x.c (x_get_gc):
9427 * signal.c (interrupt_signal):
9428 And a whole bunch of other files: fixed up places that printed
9429 directly to stderr to instead call the function stderr_out so that
9430 the changes I made under Windows work correctly.
9432 * filemode.c (mode_string):
9436 * frame-msw.c (mswindows_size_frame_internal):
9437 Fixed the computation of frame size and position to keep the frame
9438 within the workspace area, rather than within the physical
9439 dimensions of the screen, so that the frame doesn't overlap window
9440 manager decorations, such as the start menu and toolbar, typically
9441 at the bottom of the screen.
9443 * frame.c (vars_of_frame):
9444 Changed the default frame title format under MS Windows to consist
9445 of buffername-XEmacs, which is standard under MS Windows. I think
9446 it might be a good idea to change this everywhere because I think
9447 it is superior to the current frame title format, but this is the
9448 kind of change that is likely to cause some people to get annoyed,
9449 so I'm not making it.
9451 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
9453 * gui-msw.c (mswindows_handle_gui_wm_command):
9454 Fixed compile warnings.
9457 * gui-x.c (strdup_and_add_accel):
9458 * gui-x.c (button_item_to_widget_value):
9460 Added code to automatically put an accelerator onto the beginning
9461 of menu items that don't have one as is now the standard, and is
9462 described more later. Also fixed things so that the menu item
9463 name can be an evaluated expression, again a new standard.
9466 * gui.c (gui_item_add_keyval_pair):
9467 * gui.c (make_gui_item_from_keywords_internal):
9468 * gui.c (gui_add_item_keywords_to_plist):
9469 * gui.c (gui_item_accelerator):
9470 * gui.c (gui_name_accelerator):
9471 * gui.c (gui_item_included_p):
9472 * gui.c (gui_item_display_flush_left):
9473 * gui.c (gui_item_display_flush_right):
9474 * gui.c (parse_gui_item_tree_item):
9475 * gui.c (parse_gui_item_tree_children):
9476 * gui.c (parse_gui_item_tree_list):
9477 Mule-ized. Cleanup. GCPRO addition.
9479 * line-number.c (buffer_line_number):
9481 * lisp.h (EMACS_INT_MAX):
9482 Added the manifest constant EMACS_INT_MIN corresponding to the
9483 existing constant EMACS_INT_MAX. This is partially to fix compile
9484 warnings under Windows, and partly for cleanliness.
9487 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
9488 * menubar-msw.c (msw_translate_menu_or_dialog_item):
9489 * menubar-msw.c (displayable_menu_item):
9490 * menubar-msw.c (populate_menu_add_item):
9491 * menubar-msw.c (populate_or_checksum_helper):
9492 * menubar-msw.c (populate_menu):
9493 * menubar-msw.c (update_frame_menubar_maybe):
9494 * menubar-msw.c (prune_menubar):
9495 * menubar-msw.c (msw_char_is_accelerator):
9496 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
9497 * menubar-msw.c (mswindows_handle_wm_command):
9498 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
9499 * menubar-msw.c (mswindows_handle_wm_initmenu):
9500 * menubar-msw.c (mswindows_update_frame_menubars):
9501 * menubar-msw.c (mswindows_free_frame_menubars):
9502 * menubar-msw.c (mswindows_popup_menu):
9503 Fixed a bug in handling accelerators where an extra character
9504 would be displayed in the menu item. Also generalized the
9505 function displayable_menu_item because it is now used by the
9506 dialog box code as well. And finally, added code in the functions
9507 that create the menubar to extract a list of accelerators for the
9508 top level menubar, which is used in the event code to determine
9509 whether a particular alt-key combination should be used to invoke
9510 a menu item, or should be passed through to access the standard
9511 XEmacs keymap binding for this key combination.
9513 Much needed GCPROing.
9516 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9517 * menubar-x.c (menu_item_descriptor_to_widget_value):
9518 * menubar-x.c (restore_in_menu_callback):
9519 * menubar-x.c (x_popup_menu):
9520 * menubar-x.c (menu_move_up):
9521 * menubar-x.c (menu_move_down):
9522 * menubar-x.c (menu_move_left):
9523 * menubar-x.c (menu_move_right):
9524 * menubar-x.c (menu_select_item):
9525 * menubar-x.c (command_builder_operate_menu_accelerator):
9526 * menubar-x.c (menu_accelerator_junk_on_error):
9527 * menubar-x.c (command_builder_find_menu_accelerator):
9528 * menubar-x.c (Faccelerate_menu):
9530 Moved a whole bunch of code here that was previously in
9531 event-stream.c as described above. There is also code connected
9532 to the new standard of adding an accelerator to the beginning of
9533 menu items that don't have one as described above and below.
9536 * menubar.c (menu_parse_submenu_keywords):
9537 * menubar.c (Fmenu_find_real_submenu):
9538 * menubar.c (Fnormalize_menu_item_name):
9539 * menubar.c (syms_of_menubar):
9540 * menubar.c (vars_of_menubar):
9541 * menubar.c (complex_vars_of_menubar):
9543 a) Cleaned up a bunch of documentation and improved it.
9545 b) XEmacs now automatically adds an accelerator onto the beginning
9546 of any menu items that don't have one. I did this because there
9547 will inevitably be some menu items on the main menubar that don't
9548 have accelerators on them because the package that adds that
9549 particular menu item hasn't yet been fixed up to have accelerators
9550 in them and it looked rather strange to have some items with and
9551 some items without accelerators, especially since even in items
9552 without accelerators, you can, at least under windows, still
9553 access the item through an accelerator corresponding to the first
9554 character in the item's name. If people don't like this behavior,
9555 I can add a variable to turn it off optionally, but I'm not sure
9556 this is a good idea because we really do need to have accelerators
9557 on all of the menu items, and if a package doesn't like the
9558 accelerators being put on the first character, then it should put
9559 the accelerators where they belong.
9561 c) I made a behavior change, which is that the descriptor that
9562 specifies the text of the menu item, which formerly was just a
9563 string, can now also be an evaluated expression. This makes this
9564 descriptor parallel with all of the others, which could also be
9565 evaluated expressions. This also obviates the need for the
9566 keyword :label, which was previously listed in the documentation
9567 as unimplemented, and which was for the same purpose.
9572 * ntproc.c (new_child):
9573 * ntproc.c (sys_spawnve):
9574 * ntproc.c (find_child_console):
9575 * ntproc.c (sys_kill):
9576 Fixed compile warnings. By the way, this file should really go
9577 away entirely, and this will happen as soon as Kirill makes his
9578 final round of process cleanups, which affect the function
9582 * process-nt.c (struct nt_process_data):
9583 * process-nt.c (find_process_from_pid):
9584 * process-nt.c (send_signal_the_nt_way):
9585 * process-nt.c (enable_child_signals):
9586 * process-nt.c (find_child_console):
9587 * process-nt.c (send_signal_the_95_way):
9588 * process-nt.c (nt_finalize_process_data):
9589 * process-nt.c (ensure_console_window_exists):
9590 * process-nt.c (nt_create_process):
9591 * process-nt.c (nt_kill_child_process):
9592 * process-nt.c (nt_kill_process_by_pid):
9593 * process-nt.c (nt_open_network_stream):
9594 * process-nt.c (vars_of_process_nt):
9595 Copied over code from Emacs 20.5 to correctly send signals to sub-
9596 processes under Windows 95. Also added code to automatically
9597 create and hide console window when a sub-process is created under
9598 Windows 95, which obviates the need for the separate runemacs.exe
9599 executable, and finally implemented some variables that were
9600 implemented in Emacs 20.5, but previously not in XEmacs. These
9601 include mswindows- start-process-share-console and
9602 mswindows-start-process-inherit-error-mode. (Both of these only
9603 apply to Windows 95.)
9605 * regex.c (regex_compile): Fixed a compile warning.
9608 * select-msw.c (mswindows_own_selection):
9609 * select-msw.c (mswindows_get_foreign_selection):
9610 * select-msw.c (mswindows_disown_selection):
9611 * select-msw.c (console_type_create_select_mswindows):
9612 * select-msw.c (syms_of_select_mswindows):
9613 Cleaned up the file and implemented the device method
9614 selection_exists_p, which had accidentally been left out. Also
9615 removed four lisp functions that were remnants from before the
9616 time when the selection code was properly device abstracted.
9617 These functions are no longer needed because there are generic
9618 equivalents, and because they were added recently and don't exist
9619 in FSF Emacs, I don't think there's any problem with just deleting
9623 * sysdep.c (sys_subshell):
9624 Fixed a compile warning, although in this case there's probably
9625 something wrong with this code, and it ought to be looked into
9626 more thoroughly by somebody who understands it.
9629 * window.c (Fwindow_text_area_height):
9630 * window.c (Fwindow_width):
9631 * window.c (Fwindow_full_width):
9632 * window.c (Fwindow_pixel_width):
9633 * window.c (debug_print_window):
9634 * window.c (syms_of_window):
9635 Added functions window-text-area-height and window-full-width,
9636 which are functions for returning various width and height
9637 characteristics of a window. (One of these functions is necessary
9638 for making the file dialog box work correctly, and the other one
9639 was added for completeness.) Also added a table to the
9640 documentation for window-height which describes the entire scheme
9641 for accessing width and height characteristics of a window.
9643 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9645 * nt.c (fstat): Added a comment for another problem with
9646 non-encapsulated [f]stat(), reported by Adrian Aichner
9647 <aichner@ecf.teradyne.com>.
9649 2000-03-11 Andy Piper <andy@xemacs.org>
9651 * window.c (make_dummy_parent): initialize subwindow instance
9653 (Fset_window_configuration): zero extent_modiff.
9655 2000-03-10 Andy Piper <andy@xemacs.org>
9657 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
9658 more changes can be triggered.
9659 (Fredisplay_frame): ditto.
9660 (Fredraw_device): ditto.
9661 (Fredisplay_device): ditto.
9662 (redisplay_frame): make non-static.
9663 (redisplay_frame): call update_frame_gutter_geometry outside of
9666 * gutter.h: declare update_frame_gutter_geometry.
9668 * redisplay.h: declare redisplay_frame.
9670 * gutter.c (update_frame_gutter_geometry): move geometry changes
9671 in update_frame_gutters here. Geometry changes can only occur
9672 outside of redisplay.
9673 (update_frame_gutters): remove geometry change code.
9674 (Fredisplay_gutter_area): make sure that we are in display when we
9675 update and that we have flushed any size changes.
9677 2000-03-11 Andy Piper <andy@xemacs.org>
9679 * alloc.c (pdump_dump_data): remove i & count shadows.
9681 2000-02-27 Mike Alexander <mta@arbortext.com>
9683 * sysdep.h: Declare pdump_read_file
9685 * sysdep.c (pdump_read_file): New function
9687 * alloc.c (pdump_load): Call pdump_read_file to get the portable
9690 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9692 * lrecord.h: add `lrecord_type_pgsetenv'.
9694 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
9696 * symsinit.h: declare (vars|syms)_of* functions.
9697 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
9699 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
9701 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
9703 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
9706 * emacs.c (main_1): Call postgres initialization code.
9708 * postgresql.h: New file. PostgreSQL RDBMS support.
9709 * postgresql.c: New file.
9711 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9713 * redisplay-output.c (redisplay_output_display_block): Disable
9716 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9718 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
9719 (Fcanna_henkan_next): Ditto.
9720 (Fcanna_bunsetu_henkou): Ditto.
9721 (Fcanna_henkan_kakutei): Ditto.
9722 (Fcanna_henkan_end): Ditto.
9723 (Fcanna_henkan_quit): Ditto.
9724 (Fcanna_henkan_next): Set retun value correctly.
9725 (c2mu): Use unsigned char instead of signed char.
9727 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9729 * emacs.c (main_1): Always call syms_of_gui.
9730 * inline.c: include gui.h
9732 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9734 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
9735 converted to Lisp_Object.
9736 (Qtop_bottom): New variable.
9737 (syms_of_redisplay): Initialize it.
9738 * redisplay.h (Vvisible_bell): Ditto.
9739 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
9740 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
9741 only flash top and bottom.
9743 2000-03-08 Andy Piper <andy@xemacs.org>
9745 * buffer.c (Frename_buffer): record new buffer name the right way.
9747 2000-03-08 Andy Piper <andy@xemacs.org>
9749 * glyphs.c (update_subwindow): increase hash depth so that widget
9750 items get picked up properly.
9752 * redisplay-output.c (compare_runes): increase hash depth so that
9753 widget items get picked up properly.
9755 2000-03-08 Andy Piper <andy@xemacs.org>
9757 * gutter.c (output_gutter): add some debug.
9759 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
9760 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
9761 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
9763 * redisplay-output.c (compare_runes): use display_hash to
9764 determine if glyphs really are not the same.
9766 * glyphs.c (update_subwindow): check display_hash to see if
9767 anything really needs to be updated. If not then do
9768 nothing. Record the display_hash after updating.
9769 (image_instance_equal): compare the image_instance face also.
9771 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
9773 * redisplay.h: Fix comment style.
9775 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
9777 * consle-msw.h (struct mswindows_frame):
9778 Added new member paint_pending to indicate whether a WM_PAINT
9779 magic event has been queued for this frame.
9781 * event-msw.c (mswindows_drain_windows_queue):
9782 Don't queue a WM_PAINT magic event if one is already queued.
9783 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
9785 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
9787 2000-03-07 Didier Verna <didier@xemacs.org>
9789 * dired.c: #include `regex.h' after `sysfile.h'.
9791 2000-03-06 Martin Buchholz <martin@xemacs.org>
9793 * sound.c (init_nas_sound): Fix compiler warning.
9795 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
9797 (MARK_STRUCT_AS_FREE):
9798 (MARK_STRUCT_AS_NOT_FREE):
9799 Make `gcc -fstrict-aliasing' work properly.
9801 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
9803 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
9804 (mswindows_delete_device): Call CoUnnitialize().
9806 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
9808 2000-02-25 <CraigL@DyCon.com>
9810 * process-nt.c: MinGW now has <shellapi.h>, but still needs
9813 * sysdep.c: This extern declaration for environ prevents MinGW
9814 from finding the variable in CRTDLL.DLL.
9816 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
9820 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
9822 (MMRESULT): Removed, now defined in cygwin's windows headers.
9824 (uid_t,gid_t,pid_t,ssize_t): ..
9825 (_timeb): Removed, MinGW defines both _timeb and timeb.
9826 (HAVE_H_ERRNO): Added.
9827 (HAVE_TZNAME): Added, configure is not detecting this.
9829 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
9831 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
9832 * syntax.c (syntax_match): Use it.
9834 * cmds.c: Import auto-fill-chars from FSF Emacs.
9835 (Vauto_fill_chars): New variables.
9836 (internal_self_insert): Check Vauto_fill_chars.
9838 Declare auto-fill-chars as a Lisp variable and initialize it.
9840 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9842 * fileio.c (Fmake_symbolic_link):
9844 Run handlers even if local machine doesn't have symlinks.
9846 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9848 * event-msw.c (mswindows_drain_windows_queue):
9849 Don't generate paint magic events for non-XEmacs frames.
9851 2000-03-05 Andy Piper <andy@xemacs.org>
9853 * redisplay.c (redisplay_frame): generate_displayable_area and
9854 friends assumes that we are not in GC, we therefore have to make
9855 sure that this doesn't happen.
9857 * gutter.c (calculate_gutter_size): generate_displayable_area
9858 assumes that we are not in GC, we therefore have to make sure that
9859 this doesn't happen.
9861 2000-03-05 Martin Buchholz <martin@xemacs.org>
9863 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
9865 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9867 * redisplay.c (regenerate_window): Make sure we set a sane value
9868 for end_pos even if we jump out of the loop.
9869 (regenerate_window): Answer Ben's question :-).
9870 (start_end_of_last_line): Add may_error argument.
9871 (start_of_last_line):
9872 (end_of_last_line): Pass may_error = 0.
9873 (end_of_last_line_may_error): New function.
9874 (pixel_to_glyph_translation): Use it, so we don't crash in
9877 2000-03-04 Andy Piper <andy@xemacs.org>
9879 * window.h (struct window): add gutter_extent_modiff.
9881 * window.c (allocate_window): zero out gutter_extent_modiff.
9883 * redisplay.h: declare sync_display_line_structs.
9885 * redisplay.c (add_glyph_rune): add a better comment.
9887 * redisplay-output.c (sync_display_line_structs): made non-static.
9888 (compare_runes): remove unneccesary glyph cachel access.
9890 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
9892 * gutter.c (output_gutter): don't output the gutter if extent
9893 changes only involve extents in buffers. use 4 sets of display
9895 (gutter_extent_signal_changed_region_maybe): new function. Mark
9896 extents in gutters as changed.
9897 (update_frame_gutters): use 4 sets of display lines.
9898 (reset_gutter_display_lines): ditto.
9899 (free_frame_gutters): ditto.
9900 (redraw_exposed_gutter): force output of gutters.
9902 * frame.h (struct frame): add 4 sets of gutter display lines.
9904 * extents.c: (extent_changed_for_redisplay): signal changes to
9905 extents in strings in the gutter as well as extents in buffers.
9907 2000-03-02 Andy Piper <andy@xemacs.org>
9909 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9911 * frame.c (Fmake_frame): make sure the gutters get initialized
9912 after the frame is visible.
9913 (set_frame_selected_window): re-arrange compilation macros a
9915 (change_frame_size_1): mark gutters changed.
9917 * device.c (Fset_device_class): mark gutters changed.
9919 2000-03-01 Andy Piper <andy@xemacs.org>
9921 * window.c (window_top_frame_gutter_height): deleted.
9922 (window_bottom_frame_gutter_height): ditto.
9923 (window_left_frame_gutter_height): ditto.
9924 (window_right_frame_gutter_height): ditto.
9925 (window_top_gutter_height): don't use them.
9926 (window_bottom_gutter_height): ditto.
9927 (window_left_gutter_width): ditto.
9928 (window_right_gutter_width): ditto.
9929 (Fsplit_window): ditto.
9930 (Fwindow_pixel_edges): don't use border dimensions here.
9932 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9933 (update_scrollbar_instance): ditto.
9935 * redisplay.c (generate_modeline): don't take gutters into account.
9936 (generate_modeline): ditto.
9937 (redisplay_frame): small gutter display optimization.
9939 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9941 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9942 gutters into account.
9944 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9945 for window position and type.
9947 * gutter.c (get_gutter_coords): fix for frame gutters.
9948 (update_frame_gutters): update frame geometry if the gutters have
9950 (init_frame_gutters): record current gutter geometries.
9952 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9954 (mswindows_widget_instantiate): ditto.
9956 * frame.h (struct frame): add current_gutter_bounds.
9958 * frame.c (change_frame_size_1): position window and minibuffer
9959 appropriately taking into account the frame gutters.
9961 * frame-x.c: (x_initialize_frame_size): take into account the
9964 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9966 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9968 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9970 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9972 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9974 * file-coding.c (reset_decoding_stream): Clear previous
9975 detection state when autodetect.
9977 2000-02-29 Didier Verna <didier@xemacs.org>
9979 * extents.c (set_extent_glyph_1): don't require extents to be
9982 2000-02-27 Andy Piper <andy@xemacs.org>
9984 * gutter.c (Fset_default_gutter_position): don't default left and
9985 right gutter visibility to t.
9986 (Fset_default_gutter_position): run
9987 default-gutter-position-changed-hook.
9988 (syms_of_gutter): add default-gutter-position-changed-hook.
9990 2000-02-26 Andy Piper <andy@xemacs.org>
9992 * specifier.c (Fmake_specifier): add gutter references.
9994 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9996 * lisp.h: declare Fvalid_plist_p.
9998 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10000 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10001 well as its visibility so that it gets reconstructed.
10002 (construct_window_gutter_spec): new function. Construct a string
10003 to be displayed in the gutter from a plist of strings. Take care
10004 to only use elements that are declared as visible.
10005 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10007 (gutter_validate): allow plists of strings in the specifier.
10008 (gutter_specs_changed): construct the real_gutter from the gutter
10009 specs using construct_window_gutter_spec.
10010 (gutter_visible_validate): gutter-visible is a new specifier type.
10011 (Fgutter_visible_specifier_p): new function for the new specifier.
10012 (syms_of_gutter): declare gutter-visible and
10013 Fgutter_visible_specifier_p.
10014 (specifier_type_create_gutter): intitalize new gutter-visible
10016 (reinit_specifier_type_create_gutter): ditto.
10017 (specifier_vars_of_gutter): use new specifier type for gutter
10019 (init_frame_gutters): construct real_gutter correctly.
10020 (Fgutter_specifier_p): beef up documentation.
10021 (Fgutter_size_specifier_p): ditto.
10023 * winslots.h: add real_gutter slots.
10025 2000-02-25 Andy Piper <andy@xemacs.org>
10027 * device-msw.c: Be kind to older cygwin versions. From Raymond
10028 Toy <toy@rtp.ericsson.se>.
10030 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
10031 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
10033 2000-02-25 Martin Buchholz <martin@xemacs.org>
10035 * elhash.c (MARK_OBJ): Practice macro hygiene.
10037 2000-02-24 Martin Buchholz <martin@xemacs.org>
10039 * miscplay.c: s/__inline__/inline/g;
10040 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
10041 (get_device_compdc): INLINE ==> static inline
10042 * *.[ch]: Change INLINE to INLINE_HEADER globally.
10043 find -name '*.h' | \
10044 xargs global-replace \
10045 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
10047 2000-02-25 Andy Piper <andy@xemacs.org>
10049 * window.c (window_top_frame_gutter_height): new function.
10050 (window_top_window_gutter_height): ditto.
10051 (window_top_gutter_height): use them.
10052 (window_bottom_frame_gutter_height): new function.
10053 (window_bottom_window_gutter_height): ditto.
10054 (window_bottom_gutter_height): use them.
10055 (window_left_window_gutter_width): new function.
10056 (window_left_frame_gutter_width): ditto.
10057 (window_left_gutter_width): use them.
10058 (window_right_window_gutter_width): new function.
10059 (window_right_frame_gutter_width): ditto.
10060 (window_right_gutter_width): use them.
10061 (window_pixel_height): new function. calulate window pixel height
10062 with frame gutter involvement.
10063 (Fsplit_window): calculate new sizes taking frame gutters into
10065 (window_char_height_to_pixel_height): don't include frame gutters.
10066 (window_char_height): use window_pixel_height.
10067 (window_pixheight): rename from window_pixel_height.
10068 (change_window_height): use it.
10069 (window_pixel_height_to_char_height): don't include frame gutters.
10070 (window_char_width_to_pixel_width): ditto.
10072 2000-02-25 Andy Piper <andy@xemacs.org>
10074 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
10077 2000-02-24 Martin Buchholz <martin@xemacs.org>
10079 * alloc.c (staticpro):
10080 (staticpro_nodump):
10085 (compact_string_chars):
10086 (pdump_dump_wired):
10087 Convert: if (foo) abort(); ==> assert (! foo);
10089 * eldap.c (Fldap_search_basic):
10093 Fix compiler warnings, and possible crashes if (random) return
10094 value were to be used.
10096 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10098 * device-msw.c: Workaround ResetDC failure.
10100 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
10101 applying a devmode.
10103 * redisplay-msw.c (get_frame_dc): Added start_page_p.
10104 (mswindows_text_width): Do not start printer page.
10106 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
10108 * glyphs-msw.c: Added image methods to msprinter console and
10109 msprinter-specific image instantiation.
10111 2000-02-20 Mike Alexander <mta@arbortext.com>
10113 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
10114 to avoid crashes when selection-sets-clipboard is on
10115 (mswindows_own_selection): ditto
10117 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10120 * redisplay-msw.c (get_frame_dc):
10121 (get_frame_compdc):
10123 * device-msw.c (mswindows_init_device):
10124 (mswindows_delete_device):
10125 (msprinter_init_device):
10126 (msprinter_delete_device):
10127 * frame-msw.c (mswindows_init_frame_1):
10128 (mswindows_delete_frame):
10129 (msprinter_init_frame_3):
10130 (msprinter_delete_frame): Move compatible DC to device object from
10131 frame object, for both mswindows and msprinter. Only one at a time
10132 is needed, it is a real waste to have one per frame!
10134 2000-02-23 Andy Piper <andy@xemacs.org>
10136 * glyphs.c: add dynamic width and height elements.
10137 (image_instance_equal): ditto.
10139 * glyphs-widget.c (widget_query_geometry): calculate width and
10140 height dynamically if required.
10141 (initialize_widget_image_instance): initialize dynamic dimensions.
10142 (widget_instantiate): pick-up dynamic dimensions.
10144 * glyphs.h (struct Lisp_Image_Instance): add width and height for
10145 dynamic determination. Add appropriate macros.
10147 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
10149 (WINDOW_GUTTER_SIZE): ditto.
10150 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
10152 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
10154 (get_frame_dc): ditto.
10156 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
10159 2000-02-23 Martin Buchholz <martin@xemacs.org>
10161 * XEmacs 21.2.31 is released.
10163 2000-02-22 Ben Wing <ben@xemacs.org>
10165 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
10167 2000-02-22 Andy Piper <andy@xemacs.org>
10169 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
10171 2000-02-21 Mike Sperber <mike@xemacs.org>
10175 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
10178 2000-02-21 Mike Sperber <mike@xemacs.org>
10180 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
10182 2000-02-21 Martin Buchholz <martin@xemacs.org>
10184 * XEmacs 21.2.30 is released.
10186 2000-02-20 Martin Buchholz <martin@xemacs.org>
10188 Performance hacking.
10190 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
10191 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
10192 * emacs.c (main_1):
10194 * console.c (DEFVAR_CONSOLE_LOCAL_1):
10195 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
10196 * symeval.h (DEFVAR_SYMVAL_FWD):
10197 * symbols.c (guts_of_unbound_marker):
10198 Make all c_readonly objects also lisp_readonly and marked for life.
10199 * lrecord.h (struct lrecord_implementation):
10200 Document flags better.
10201 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
10202 * lrecord.h (DECLARE_LRECORD):
10203 * lrecord.h (XSETRECORD):
10204 * lrecord.h (RECORDP):
10205 * lrecord.h (RECORD_TYPEP):
10206 * lrecord.h (RECORD_MARKER): New.
10207 * lrecord.h (error_check_*):
10208 * lrecord.h (CONCHECK_NONRECORD):
10209 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
10210 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
10211 * lrecord.h (set_lheader_implementation):
10212 * lrecord.h (enum lrecord_type): New.
10213 * symeval.h (SYMBOL_VALUE_MAGIC_P):
10214 * alloc.c (disksave_object_finalization_1):
10215 * alloc.c (mark_object):
10216 * alloc.c (lrecord_type_index):
10217 * alloc.c (tick_lcrecord_stats):
10218 * alloc.c (Fgarbage_collect):
10219 * alloc.c (init_alloc_once_early):
10220 * alloc.c (pdump_load):
10221 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
10222 * alloc.c (lrecord_type_index): Delete.
10223 Make lisp object type indexes be constant.
10224 Makes (byte-compile) 5% faster.
10225 Put all marker functions into their own array.
10226 Makes (garbage-collect) 5% faster.
10227 Optimize SYMBOL_VALUE_MAGIC_P.
10228 Makes (byte-compile) 2-3% faster.
10229 * config.h.in (gc_checking_assert): New.
10230 * alloc.c: Use gc_checking_assert().
10231 * .dbxrc: Make compatible with new object type implementation.
10232 * .gdbinit: Make compatible with new object type implementation.
10233 * alloc.c: Delete all symbols defined only for debugging, such as
10234 Lisp_Type_Vector and lrecord_charset.
10236 2000-02-21 Andy Piper <andy@xemacs.org>
10238 * gui-msw.c (Fmswindows_shell_execute): fix file location
10241 * buffer.c (Fkill_buffer): remove buffer from alist buffer
10242 unshowing so that set_window_buffer doesn't undo
10243 kill_buffer_hook's hard work.
10245 * glyphs-widget.c (tab_control_query_geometry): don't count the
10246 first item when calculating geometry.
10248 * glyphs.c (map_subwindow): remove redundant code.
10249 (update_frame_subwindows): be more circumspect about when to
10252 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
10253 when items haven't changed. Update faces if faces have changed as
10254 well as just the widget face.
10255 (x_tab_control_update): Update faces if faces have changed as well
10256 as just the widget face.
10258 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10260 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
10262 (build_syscolor_string): Use mswindows_color_to_string to try to
10264 (mswindows_device_system_metrics): Reverse the foreground and
10265 background colors so that they match the documentation.
10267 * objects-msw.c: (mswindows_X_color_map): tweak some values so
10268 they match the default Windows palette.
10269 (mswindows_color_to_string): New function.
10271 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10273 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
10275 2000-02-18 Olivier Galibert <galibert@pobox.com>
10277 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
10278 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
10280 * symbols.c (init_symbols_once_early): Removed obsolete
10281 DATA_SEG_BITS related kludge.
10282 (defvar_magic): Ditto.
10284 * malloc.c: Removed obsolete DATA_SEG_BITS
10286 * mem-limits.h: Ditto.
10288 * Makefile.in.in: Removed obsolete HAVE_SHM
10291 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10293 * device-msw.c (mswindows_delete_device): Free DDE string
10296 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10298 * keymap.c (get_keyelt):
10299 * unexnt.c (unexec):
10300 * vm-limit.c (memory_warnings):
10301 * ntheap.c (recreate_heap):
10302 * ntheap.h (UNINIT_PTR):
10303 * select-msw.c (Fmswindows_get_clipboard):
10304 (Fmswindows_set_clipboard):
10305 * objects-msw.h (MSWINDOWS_BAD_HFONT):
10307 * menubar-msw.c (displayable_menu_item):
10309 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
10310 * sysdep.c (sys_subshell):
10311 * process-nt.c (nt_create_process):
10312 * nt.c (normalize_filename):
10313 (dostounix_filename):
10314 (unixtodos_filename):
10315 * ntproc.c (win32_executable_type):
10316 * ntplay.c (play_sound_data_1):
10318 * editfns.c (get_home_directory):
10319 * event-msw.c (struct winsock_stream):
10320 (mswindows_dde_callback):
10321 * device-msw.c (msprinter_init_device):
10322 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
10324 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
10325 mswindows_clear_toolbar were swapped!
10327 * objects-msw.c:(colormap_t):
10329 * emacs.c (struct standard_args): Fixed const jumble.
10331 * glyphs-widget.c (update_widget): Fixed comparison notation.
10333 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
10335 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
10336 __declspec(noreturn) syntax.
10338 2000-02-19 Martin Buchholz <martin@xemacs.org>
10340 * eldap.c (Fldap_open):
10341 (Fldap_search_basic):
10344 Use new coding system conversion macros.
10346 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10348 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
10350 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
10352 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
10353 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10355 * eldap.c (Qadd, Qreplace): New constant symbols
10356 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
10357 interruptions by XEmacs signals
10358 Remove unnecessary calls to slow_down_interrupts and
10359 speed_up_interrupts
10360 (Fldap_search_basic): Renamed from Fldap_search_internal
10361 Added new optional parameter VERBOSE that triggers the
10362 display of progress messages
10363 Remove unnecessary calls to slow_down_interrupts and
10364 speed_up_interrupts
10365 LDAP result code analysis rewritten
10366 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10367 (syms_of_eldap): Define the new symbols and functions
10370 2000-02-17 Martin Buchholz <martin@xemacs.org>
10372 * realpath.c: Determine PATH_MAX maximally portably.
10374 * insdel.c (bytecount_to_charcount): Optimize.
10375 The function used to be optimized for entirely ASCII sequences.
10376 Now it is optimized for successive characters from the same
10377 charset. This also wins big for _mostly_ ASCII sequences.
10379 * fileio.c (Ffile_truename): convert return from realpath() using
10380 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
10381 - Rewrite GCPROing slightly.
10383 * sysdep.c (sys_open): Do filename conversion, like all other
10384 sys_* functions. Fixes bug:
10385 (let ((file-name-coding-system 'iso-8859-2))
10386 (write-region x y latin2-name))
10387 ==> writes filename using internal encoding.
10389 2000-02-18 Martin Buchholz <martin@xemacs.org>
10391 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
10392 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
10393 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
10394 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
10395 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
10396 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
10397 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
10398 (CONST_IF_NOT_DEBUG): Delete.
10399 * alloc.c (this_one_is_unmarkable): Delete.
10400 (mark_object): Don't check for this_one_is_unmarkable. Use the
10401 c_readonly flag instead.
10402 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
10404 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
10406 * event-msw.c (mswindows_drain_windows_queue):
10407 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
10408 away redundant repaint events.
10410 2000-02-17 Andy Piper <andy@xemacs.org>
10412 * redisplay.h: declare mark_redisplay_structs.
10414 * redisplay.c (redisplay_window):
10415 (redisplay_frame): don't check subwindows_state_changed.
10416 (mark_redisplay): mark gutters here.
10418 * glyphs.c: (instantiate_image_instantiator): always layout if we
10419 haven't done so already.
10420 (allocate_image_instance): don't mark as dirty.
10421 (update_subwindow): bind inhibit_quit.
10423 * gutter.c (mark_gutters): new function.
10425 * glyphs-x.c (x_update_widget): Always resize to get round a
10428 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
10429 breaking absolutely everything.
10431 * gutter.h: declare mark_gutters.
10433 2000-02-16 Martin Buchholz <martin@xemacs.org>
10435 * XEmacs 21.2.29 is released.
10437 2000-02-15 Olivier Galibert <galibert@pobox.com>
10439 * fns.c (size_bit_vector): Fix computation of the size.
10441 2000-02-15 Martin Buchholz <martin@xemacs.org>
10443 * *.[ch]: Change CONST to const globally.
10444 find -name '*.[ch]' | \
10445 xargs global-replace \
10446 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
10447 - Remove vestigial references to CONST_IS_LOSING
10449 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10451 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
10452 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
10453 events instead of dispatching them directly.
10454 (mswindows_handle_paint): New function to do repainting.
10455 (mswindows_wnd_proc):
10456 (emacs_mswindows_handle_magic_event): Call above function.
10458 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10460 * objects-msw.c (mswindows_create_font_variant): Return the new
10462 (initialize_font_instance): Get font metrics from the underlined
10463 variant of the font to cope with the case where the underlined
10464 font has a bigger descent.
10466 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10468 * gui.c (gui_item_accelerator): Return the first underlined
10469 character in item name.
10471 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10473 * lisp.h: Added Qprinter.
10475 * general.c (syms_of_general): Initialized it.
10477 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
10479 (get_frame_compdc): Made inline.
10481 * console.h (struct console_methods): Added eject_page method.
10483 * frame.h: Added FRAME_DISPLAY_P and friends.
10484 Aligned backslahes in many macros in more readable fashion.
10485 Added page_number to struct frame, and an accessor macro
10488 * defice.h: Added DEVICE_DISPLAY_P and friends.
10490 * device.c (Fdevice_printer_p): Used these.
10492 * frame.c (allocate_frame_core): Initialize page number.
10493 (Fprint_job_page_number):
10494 (Fprint_job_eject_page): Implemented.
10496 * frame-msw.c (msprinter_eject_page): Added method.
10497 (msprinter_start_page): Added.
10499 * window.c (Fwindow_truncated_p): Fixed docstring.
10500 (Fwindow_last_line_visible_height): Implemented.
10502 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10504 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
10506 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10508 * syntax.c (scan_words): Always advance at least one character.
10510 2000-02-13 Andy Piper <andy@xemacs.org>
10512 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
10513 to make sure the glyph is in the cachels.
10515 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
10516 global image instance flag.
10517 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
10518 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
10520 * glyphs.c (allocate_image_instance): set dirty bits correctly.
10521 (Fset_image_instance_property): mark layout as changed.
10522 (invalidate_glyph_geometry_maybe): mark layout as changed.
10523 (glyph_width): use new NEEDS_LAYOUT macro.
10524 (glyph_ascent): ditto.
10525 (glyph_descent): ditto.
10526 (glyph_height): ditto.
10527 (image_instance_layout): mark layout as clean after laying out.
10528 (update_subwindow): don't mark layout as clean here.
10530 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
10531 should no longer be needed.
10533 * glyphs-x.c (x_update_widget): sanitize asserts.
10534 (x_finalize_image_instance): sanitize assignment to widgets.
10536 * glyphs-widget.c (widget_instantiate): don't need to clear the
10539 2000-02-13 Martin Buchholz <martin@xemacs.org>
10541 * sysdep.c (getcwd): Use standard prototype.
10542 * sysdep.h (getcwd): Use standard prototype.
10544 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
10545 (sequence, start, end).
10546 Remove redundant type checking.
10547 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
10548 view of `caller-protects') to avoid a crash where the real fix was
10551 2000-02-12 Martin Buchholz <martin@xemacs.org>
10553 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
10555 * s/sol2.h: Remove feature macro initialization.
10557 * alloc.c (alloc_lcrecord): Add more type checking assertions.
10558 (vector_hash): New. Code from internal_hash.
10560 Fix up allocation subsystem comments.
10562 * config.h.in: Add __EXTENSIONS__ for Solaris.
10564 * systime.h (EMACS_GETTIMEOFDAY): New.
10565 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
10566 Remove Solaris-specific code.
10567 Use void* for the (ignored) second arg for gettimeofday().
10569 * elhash.c (hash_table_hash): Implement it, finally.
10570 * elhash.c: Use hashcode_t.
10572 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
10573 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
10575 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
10576 * fns.c (size_bit_vector):
10577 * alloc.c (size_vector):
10578 (make_vector_internal):
10579 (make_bit_vector_internal):
10580 (sweep_bit_vectors_1):
10581 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
10583 2000-02-10 Martin Buchholz <martin@xemacs.org>
10585 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
10586 Include strings.h to avoid warnings for bzero and strcasecmp.
10588 2000-02-10 Olivier Galibert <galibert@pobox.com>
10590 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
10591 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
10593 * fns.c (size_bit_vector): New. Declare bit vectors as a
10596 2000-02-10 Olivier Galibert <galibert@pobox.com>
10598 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
10599 use a value field instead.
10600 (symbol_value_forward_forward): Use value field.
10601 (DEFVAR_SYMVAL_FWD): Use value field.
10602 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
10603 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
10604 (DEFVAR_CONST_INT): Ditto.
10605 (DEFVAR_BOOL): Ditto.
10606 (DEFVAR_CONST_BOOL): Ditto.
10607 (DEFVAR_INT_MAGIC): Ditto.
10608 (DEFVAR_BOOL_MAGIC): Ditto.
10610 * symbols.c (guts_of_unbound_marker): Use value field.
10611 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
10612 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
10614 * lisp.h: Declare dumpopaque and noninteractive1.
10616 * alloc.c (dumpopaque): Added.
10617 (pdump_dump_opaquevec): Added.
10618 (pdump): Call pdump_dump_opaquevec to dump opaque data.
10619 (pdump_load): Reload opaque data. Sync noninteractive1 with
10622 2000-02-10 Andy Piper <andy@xemacs.org>
10624 * glyphs.c (image_instance_layout): if the size changes, mark it
10627 * redisplay-output.c (redisplay_output_layout): Update the
10629 (redisplay_output_subwindow): ditto.
10631 * glyphs.c (update_subwindow): make sure we reset flags for
10632 layouts as well as everything else.
10634 * glyphs-widget.c (layout_layout): don't need to set the instances
10637 2000-02-09 Martin Buchholz <martin@xemacs.org>
10639 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
10640 not HAVE_DLOPEN, which is a lower-level thing.
10642 * .cvsignore: Ignore gmon.out
10644 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
10646 * .cvsignore: Ignore portable dumper xemacs.dmp file
10648 2000-02-09 Andy Piper <andy@xemacs.org>
10650 * redisplay-output.c (redisplay_output_layout): be more clever
10651 about when we output based on the changed flags.
10653 * glyphs.h (struct image_instantiator_methods): add update_method.
10654 (struct Lisp_Image_Instance): add changed flags. Declare new
10655 macros for manipulating them.
10657 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
10658 (image_instance_parent_glyph): find an image_instance's parent
10659 glyph or image_instance.
10660 (image_instance_layout): mark the size as changed.
10661 (set_image_instance_dirty_p): new function. mark an image
10662 instance, plus all of its parents, as dirty.
10663 (Fset_image_instance_property): use it.
10664 (Fglyph_animated_timeout_handler): use it.
10665 (update_subwindow): call update_widget and device methods for
10666 update_subwindow. Mark all changed flags as clean.
10667 (Fresize_subwindow): mark size as changed.
10669 * glyphs-x.c (x_finalize_image_instance): try and detect gc
10671 (x_update_subwindow): only resize subwindows here.
10672 (x_update_widget): new function. Update all changed properties of
10674 (x_resize_subwindow): deleted.
10675 (x_widget_set_property): deleted.
10676 (x_progress_gauge_set_property): deleted.
10677 (x_progress_gauge_update): new function. Implement recorded
10679 (x_tab_control_update): ditto.
10680 (x_tab_control_set_property): deleted.
10681 (console_type_create_glyphs_x): declare new functions.
10682 (image_instantiator_format_create_glyphs_x): ditto.
10684 * glyphs-widget.c (widget_set_property): mark text changed.
10685 (update_widget): new function. Update properties of a widget.
10686 (widget_instantiate): for layouts make sure we set their
10687 children's parent correctly.
10688 (tab_control_set_property): new function. Record changes that will
10689 take place under redisplay's control.
10690 (progress_gauge_set_property): ditto.
10691 (image_instantiator_progress_guage): declare new functions.
10692 (image_instantiator_tab_control): ditto.
10694 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
10696 (mswindows_update_widget): new function. Update all properties on
10697 a widget that have changed.
10698 (mswindows_button_update): new function. Update a button's set
10700 (mswindows_tab_control_update): new function. Update the items in
10702 (mswindows_tab_control_set_property): deleted.
10703 (mswindows_progress_gauge_update): new function. Update the
10704 progress gauge's progress.
10705 (mswindows_widget_set_property): deleted. This is all done
10706 asynchronously now.
10707 (mswindows_progress_gauge_set_property): ditto.
10708 (console_type_create_glyphs_mswindows): declare new methods.
10709 (image_instantiator_format_create_glyphs_mswindows): ditto.
10711 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
10712 (msprinter_set_frame_properties): ditto.
10714 * console.h (struct console_methods): Add update_widget_method.
10716 2000-02-09 Andy Piper <andy@xemacs.org>
10718 * gui-msw.c (Fmswindows_shell_execute): Make
10719 mswindows-shell-execute industrial strength.
10721 2000-02-08 Martin Buchholz <martin@xemacs.org>
10723 * lrecord.h: Make macro argument `props' match member function `plist'.
10726 * fns.c (Fremprop):
10727 * fns.c (Fobject_plist):
10730 Object property list frobbing cleanup.
10731 - Allow any lisp object (compared with `eq'), not just symbols, as
10732 keys in object plists.
10733 - Move symbol plist frobbing into symbols.c, where it belongs.
10734 - Move string plist frobbing into alloc.c, where it belongs.
10735 - Everything's an lrecord now, so no need to test for symbolp, etc.
10736 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
10738 * extents.c: Reorder code to remove declarations.
10740 * frame.h (store_in_alist): Remove useless declaration.
10742 2000-02-07 Martin Buchholz <martin@xemacs.org>
10744 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
10745 * config.h.in: Add HAVE_XCONVERTCASE.
10747 2000-02-07 Andy Piper <andy@xemacs.org>
10749 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
10750 it breaks many things.
10752 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
10754 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
10755 actually can start a common comment type.
10756 * src/syntax.h (SYNTAX_END_P): ditto for end.
10758 2000-02-07 Martin Buchholz <martin@xemacs.org>
10760 * XEmacs 21.2.28 is released.
10762 2000-02-06 Martin Buchholz <martin@xemacs.org>
10764 * event-Xt.c (x_keysym_to_character): New.
10765 (maybe_define_x_key_as_self_inserting_character): New.
10766 (x_has_keysym): New.
10767 Auto-define all keys on the keyboard as self-insert-key.
10769 2000-02-02 Martin Buchholz <martin@xemacs.org>
10771 * menubar.c (vars_of_menubar): A small code simplification.
10773 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
10776 * ExternalClient.c:
10777 * EmacsShell-sub.c:
10780 Use consistent style for specifying X resources.
10782 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
10783 This makes (dontusethis-set-symbol-value-handler) actually usable.
10785 * lrecord.h (lrecord_decription_type):
10786 * alloc.c (pdump_register_sub):
10789 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
10790 Comply with XEmacs coding style.
10791 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
10792 args, and XD_LISP_OBJECT_ARRAY with 3 args.
10794 * keymap.c (Faccessible_keymaps):
10795 Make (accessible-keymaps map "\C-h") do the Right Thing.
10796 Make (accessible-keymaps map []) do the Right Thing.
10797 Make (accessible-keymaps map "") do the Right Thing.
10798 (check_keymap_definition_loop): New function.
10799 (keymap_store_internal): Keep luser from shooting self in foot,
10800 via (define-key ctl-x-4-map "p" global-map).
10801 Remove fullness slot from struct Lisp_Keymap, since hash tables
10803 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
10805 2000-01-30 Martin Buchholz <martin@xemacs.org>
10807 * redisplay.c (init_redisplay): Fix small memory leak.
10809 * elhash.c (pdump_reorganize_hash_table):
10810 Rename from reorganize_hash_table. Change prototype.
10811 Reuse the original memory for hentries. Save 100k.
10812 * alloc.c (PDUMP_READ): new macro.
10813 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
10814 * alloc.c: No need to #ifndef before #undef.
10816 * print.c: Allow debug_print() to print readably by modifying
10817 debug_print_readably. Use consistent variable names.
10819 * .dbxrc: Try to get things to work even if stopped in a function
10820 without source available by explicitly specifying source files.
10821 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10823 * unexnt.c (_start): Removed bogus code which caused loading heap
10824 from differrent executable file.
10825 Removed bogus assignment to _fmode, which caused inconsistencies.
10827 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10829 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
10830 Have spawnve encapsulation regard DONT_ENCAPSULATE.
10831 Do not preliminary `#define signal sigset'.
10833 * systime.h: Do not prototype environ on windows nt and cygwin,
10834 this conflicts with system header.
10836 * syssignal.h: Use correct define for WINDOWSNT
10838 * sysdep.h: Do not prototype environ on windows nt, this conflicts
10839 with system header.
10841 * sysdep.c (near start of file): Fixed commentary and rearranged
10842 ifdefs in readable order.
10843 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
10846 (end_of_data): Do not compile in if using PDUMP.
10848 * symsinit.h: Prototyped vars_of_nt().
10850 * ntproc.c (windows9x_p): Added, instead of os_subtype.
10851 (find_child_console): Use it.
10852 (sys_kill): Use it.
10854 * ntheap.h: Do not extern os_subtype.
10856 * ntheap.c (cache_system_info): Do not cache unneeded:
10857 nt_major_version, nt_minor_version and os_subtype.
10858 (recreate_heap): Do not compile in when PDUMPing.
10860 * nt.c (geteuid and friends): Use the new varibale
10861 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
10862 (init_user_info): Removed the above mentioned hackery.
10863 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
10864 stat has been fixed in the C runtime.
10865 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
10867 * file-coding.c (struct file_coding_dump): Do not define
10868 ucs_to_mule_table in the struct if not MULE.
10869 (struct struct lrecord_description fcd_description_1): Do not dump
10872 * emacs.c (main_1): Call vars_of_nt().
10873 (right before Fdump_emacs_data): Don't need lastfile if using both
10874 portabe dumper and system malloc.
10876 * alloc.c (Fmemory_limit): Conditionalized out.
10877 (pdump): Use OPEN_BINARY for the portable dump file.
10878 (pdump_load): Ditto.
10880 2000-02-02 Mike Alexander <mta@arbortext.com>
10882 * nt.c (convert_time): Set tm_isdst before calling mktime and
10883 avoid calling it at all if the compiler supports 64 bit integers.
10884 Also initialize utc_base_ft before using it.
10886 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10888 * frame.c (change_frame_size_1): Take f->internal_border_width
10889 into consideration when calculating the width of the frame.
10891 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10893 * window.c (frame_min_height):
10894 (frame_size_valid_p):
10895 (frame_pixsize_valid_p): Added.
10896 (check_frame_size): Generalized.
10898 * window.h: Prototyped the above.
10901 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
10902 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
10903 Deleted Vwin32_* and Vbinary_process_* unused variables.
10905 * device-msw.c (msprinter_init_device): Do not get printer font
10906 list; Added DEVMODE functions.
10908 * frame-msw.c: Added lots of printer code.
10910 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10913 * console-msw.h: Added more msprinter device private slots.
10915 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10917 * event-msw.c (key_needs_default_processing_p): Added.
10918 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10920 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10922 * glyphs.c (image_instance_layout): Mark image instance as clean
10924 (glyph_dirty_p): Removed redundant function.
10925 (invalidate_glyph_geometry_maybe): Added.
10926 (update_glyph_cachel_data): Call it.
10928 * glyphs.h: Prototyped it.
10930 * redisplay.c (add_glyph_rune): Call it.
10931 (redisplay_window): Reset glyphs cachels when frame faces have
10932 changed, thus forcing recomputation of built-in border glyphs.
10934 2000-01-30 Martin Buchholz <martin@xemacs.org>
10936 * Makefile.in.in: Make portable dumper and purify play well together.
10937 Add imperfect, but better than nothing, support for pdump.
10938 Remove xemacs.dmp when temacs is re-generated.
10939 Don't ignore errors when dumping xemacs.
10941 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10943 2000-01-28 Andy Piper <andy@xemacs.org>
10945 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10946 (setup_normal_frame): ditto.
10947 (setup_frame_without_minibuffer): ditto.
10948 (setup_minibuffer_frame): ditto.
10949 (delete_frame_internal): ditto.
10950 (Fmake_frame_invisible): ditto.
10951 (Ficonify_frame): ditto.
10953 * window.h: change Fset_window_buffer signature.
10955 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10956 (Fset_window_buffer): allow recording of buffer if the window is
10957 the selected window.
10958 (window_loop): Use new Fset_window signature.
10960 2000-01-23 Daniel Pittman <daniel@danann.net>
10962 * config.h.in: Added template for `HAVE_ATHENA_3D'
10964 2000-01-29 Andy Piper <andy@xemacs.org>
10966 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10968 * gutter.c (output_gutter): Don't output if the window isn't live.
10970 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10972 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10973 of 01/12/00: Moved SetFocus back here where it belongs.
10975 2000-01-23 Andy Piper <andy@xemacs.org>
10977 * s/cygwin32.h: declare printer things.
10979 2000-01-26 Andy Piper <andy@xemacs.org>
10981 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10984 2000-01-24 Andy Piper <andy@xemacs.org>
10986 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10987 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10989 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10991 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10993 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10995 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10996 (mswindows_output_display_block): Avoid local shadows.
10998 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10999 (mswindows_enqueue_mouse_button_event): ditto.
11000 (mswindows_handle_gui_wm_command): remove declaration.
11002 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11005 * console-msw.h: Avoid shadows.
11006 (mswindows_get_toolbar_button_text):
11007 (emacs_mswindows_create_stream_pair):
11008 (emacs_mswindows_delete_stream_pair):
11009 (mswindows_handle_toolbar_wm_command): declare.
11011 * device-msw.c (build_syscolor_string): Avoid shadows.
11013 2000-01-23 Andy Piper <andy@xemacs.org>
11015 * glyphs-widget.c (widget_instantiate): reverse the items for
11016 layouts so that children are in the expected order.
11018 2000-01-28 Martin Buchholz <martin@xemacs.org>
11020 * ralloc.c: safe_bcopy ==> memmove
11021 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
11022 * s/msdos.h: Remove BCOPY macros.
11023 * insdel.c (gap_right): Remove BCOPY conditional code.
11024 * insdel.c (gap_left): Remove BCOPY conditional code.
11025 XEmacs demands a working ANSI C compiler - hence memmove.
11027 * regex.c (regex_compile): Remove accidental use of trigraphs.
11029 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11031 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
11034 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11036 * event-msw.c (mswindows_drain_windows_queue): Added the
11038 (mswindows_need_event): Commented the call to
11039 mswindows_drain_windows_queue().
11040 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
11043 * console-msw.h: Moved a few function prototypes here from
11046 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
11047 parameter from unsigned short to unsigned long.
11048 (Fmswindows_shell_execute): Added return value.
11050 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11052 * sysdep.c (init_system_name):
11053 process-unix.c (unix_canonicalized_host_name):
11054 Don't call freeaddrinfo() if getaddrinfo() fails.
11056 * process-unix.c (unix_open_unix_network_stream):
11057 Moved the code to get a port # into address loop.
11059 2000-01-27 Martin Buchholz <martin@xemacs.org>
11061 * buffer.c (reinit_vars_of_buffer):
11062 The right place to initialize conversion_in_dynarr and
11063 conversion_out_dynarr.
11065 * alloc.c (pdump): Use the real open() till sys_open() is functional.
11067 * process-unix.c (unix_canonicalize_host_name): Muleize.
11068 (unix_open_network_stream): Muleize.
11070 * buffer.h: Fix up prototypes for ralloc.c functions.
11072 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11073 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
11074 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
11075 instead of gethostbyname()
11076 * process-unix.c: In unix_canonicalize_host_name() and
11077 unix_open_network_stream(), add code to use getaddrinfo()
11078 instead of gethostbyname().
11080 2000-01-27 Daniel Pittman <daniel@danann.net>
11082 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
11083 libs when built with flat Athena.
11085 2000-01-27 Martin Buchholz <martin@xemacs.org>
11087 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
11088 Use coding standards for function prototypes.
11090 2000-01-25 Martin Buchholz <martin@xemacs.org>
11092 * dialog-msw.c (push_lisp_string_as_unicode):
11093 * doc.c (unparesseuxify_doc_string):
11094 * dired.c (Fuser_name_completion_1):
11095 * dired.c (Fuser_name_all_completions):
11096 * dired.c (free_user_cache):
11097 * dired.c (user_name_completion):
11098 * console-x.c (get_display_arg_connection):
11099 * minibuf.c (clear_echo_area_internal):
11100 * minibuf.c (echo_area_append):
11101 * eldap.c (Fldap_open):
11102 * eldap.c (Fldap_search_internal):
11103 * frame-x.c (x_set_frame_text_value):
11104 * frame-x.c (x_set_frame_properties):
11105 * frame-x.c (x_create_widgets):
11106 * redisplay-tty.c (term_get_fkeys_1):
11107 * objects-x.c (x_parse_nearest_color):
11108 * objects-x.c (x_valid_color_name_p):
11109 * objects-x.c (x_initialize_font_instance):
11110 * objects-x.c (x_list_fonts):
11111 * objects-x.c (x_find_charset_font):
11112 * tooltalk.c (Fadd_tooltalk_message_arg):
11113 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11114 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11115 * process-unix.c (unix_create_process):
11116 * ntproc.c (sys_spawnve):
11117 * sound.c (Fplay_sound_file):
11118 * sound.c (Fplay_sound):
11119 * buffer.c (init_initial_directory):
11120 * buffer.c (init_buffer):
11121 * editfns.c (init_editfns):
11122 * editfns.c (Ftemp_directory):
11123 * editfns.c (Fuser_full_name):
11124 * editfns.c (uncache_home_directory):
11125 * editfns.c (get_home_directory):
11126 * editfns.c (Fuser_home_directory):
11127 * editfns.c (Fformat_time_string):
11128 * editfns.c (Fcurrent_time_string):
11129 * gui-x.c (button_item_to_widget_value):
11130 * database.c (Fopen_database):
11131 * event-Xt.c (x_to_emacs_keysym):
11132 * event-Xt.c (x_event_to_emacs_event):
11133 * event-Xt.c (describe_event_window):
11134 * event-msw.c (mswindows_wnd_proc):
11135 * glyphs-eimage.c (jpeg_instantiate):
11136 * glyphs-eimage.c (gif_instantiate):
11137 * glyphs-eimage.c (png_instantiate):
11138 * glyphs-eimage.c (tiff_instantiate):
11139 * glyphs-x.c (xbm_instantiate_1):
11140 * glyphs-x.c (x_xbm_instantiate):
11141 * glyphs-x.c (x_xface_instantiate):
11142 * glyphs-x.c (autodetect_instantiate):
11143 * glyphs-x.c (cursor_font_instantiate):
11144 * glyphs-x.c (x_widget_instantiate):
11145 * glyphs-x.c (x_widget_set_property):
11146 * glyphs-x.c (x_widget_property):
11147 * glyphs-x.c (BUILD_GLYPH_INST):
11148 * print.c (write_string_to_stdio_stream):
11149 * print.c (output_string):
11150 * print.c (Falternate_debugging_output):
11151 * print.c (Fexternal_debugging_output):
11152 * glyphs-msw.c (extract_xpm_color_names):
11153 * glyphs-msw.c (mswindows_xpm_instantiate):
11154 * glyphs-msw.c (bmp_instantiate):
11155 * glyphs-msw.c (resource_name_to_resource):
11156 * glyphs-msw.c (mswindows_resource_instantiate):
11157 * glyphs-msw.c (xbm_instantiate_1):
11158 * glyphs-msw.c (mswindows_xbm_instantiate):
11159 * glyphs-msw.c (mswindows_xface_instantiate):
11160 * glyphs-msw.c (mswindows_widget_instantiate):
11161 * glyphs-msw.c (add_tree_item):
11162 * glyphs-msw.c (add_tab_item):
11163 * glyphs-msw.c (mswindows_combo_box_instantiate):
11164 * glyphs-msw.c (mswindows_widget_property):
11165 * glyphs-msw.c (mswindows_combo_box_property):
11166 * glyphs-msw.c (mswindows_widget_set_property):
11167 * console.c (stuff_buffered_input):
11168 * objects-msw.c (mswindows_initialize_color_instance):
11169 * objects-msw.c (mswindows_valid_color_name_p):
11170 * objects-msw.c (mswindows_list_fonts):
11171 * objects-msw.c (mswindows_font_instance_truename):
11172 * bytecode.c (optimize_compiled_function):
11173 * select-x.c (symbol_to_x_atom):
11174 * select-x.c (x_atom_to_symbol):
11175 * select-x.c (hack_motif_clipboard_selection):
11176 * select-x.c (selection_data_to_lisp_data):
11177 * select-x.c (lisp_data_to_selection_data):
11178 * select-x.c (Fx_get_cutbuffer_internal):
11179 * select-x.c (Fx_store_cutbuffer_internal):
11180 * buffer.h (TO_EXTERNAL_FORMAT): New function.
11181 * buffer.h (TO_INTERNAL_FORMAT): New function.
11182 * emacs.c (make_arg_list_1):
11183 * emacs.c (make_argc_argv):
11184 * emacs.c (main_1):
11185 * emacs.c (Fdump_emacs):
11186 * emacs.c (split_string_by_emchar_1):
11191 * device-x.c (x_init_device):
11192 * device-x.c (Fx_valid_keysym_name_p):
11193 * device-x.c (Fx_get_font_path):
11194 * device-x.c (Fx_set_font_path):
11195 * glyphs.c (bitmap_to_lisp_data):
11196 * glyphs.c (pixmap_to_lisp_data):
11197 * alloc.c (make_ext_string): Use coding system arguments. Update
11199 * alloc.c (build_string):
11200 * callproc.c (child_setup):
11201 * callproc.c (init_callproc):
11202 * fileio.c (lisp_strerror):
11203 * fileio.c (directory_file_name):
11204 * fileio.c (Fexpand_file_name):
11205 * fileio.c (Ffile_truename):
11206 * fileio.c (Fsysnetunam):
11207 * fileio.c (Fdo_auto_save):
11208 * sysdep.c (sys_readdir):
11209 * tests.c: New file. Allow adding C tests.
11210 Replace GET_* macros with a more comprehensible and flexible
11211 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
11213 Any coding system can be used to do format conversion.
11214 Eliminate enum external_data_format.
11215 Eliminate convert_to_external_format.
11216 Eliminate convert_to_internal_format.
11217 Make sure file-name, keyboard, terminal, and ctext are always
11218 defined as coding systems or aliases. Make
11219 file-name-coding-system, terminal-coding-system, and
11220 keyboard-coding-system magical variables that are equivalent to
11221 defining the corresponding coding system aliases.
11223 * file-coding.c (Fcoding_system_canonical_name_p): New function.
11224 * file-coding.c (Fcoding_system_alias_p): New function.
11225 * file-coding.c (Fcoding_system_aliasee): New function.
11226 * file-coding.c (append_suffix_to_symbol): New function.
11227 * file-coding.c (dangling_coding_system_alias_p): New function.
11228 * file-coding.c (Ffind_coding_system):
11229 * file-coding.c (Fcopy_coding_system):
11230 * file-coding.c (encode_coding_no_conversion):
11231 * file-coding.c (syms_of_file_coding):
11232 * file-coding.c (vars_of_file_coding):
11233 Rewrite coding system alias code.
11234 Allow nested aliases, like symbolic links.
11235 Allow redefinition of coding system aliases.
11236 Prevent existence of dangling coding system aliases.
11238 * dired.c (Fuser_name_completion_1):
11239 * dired.c (Fuser_name_all_completions):
11240 A crash would happen if user did QUIT in the middle of building
11241 user_name_cache. Remove redundant code in mainline and unwind_protect.
11244 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
11246 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
11247 an unsigned char *. Update all callers.
11249 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11251 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
11253 2000-01-25 Martin Buchholz <martin@xemacs.org>
11255 * elhash.c (hentry_description): Use more portable definition.
11256 (resize_hash_table): Initialize new hentries using
11257 xnew_array_and_zero, thereby simplifying the code.
11259 * mule-charset.c (make_charset): Make sure entire object is
11260 initialized, to avoid Purify warnings.
11262 * alloc.c (resize_string): Fix unlikely crash with big strings.
11264 2000-01-24 Martin Buchholz <martin@xemacs.org>
11266 * realpath.c (xrealpath):
11267 Don't call getwd().
11269 2000-01-25 Martin Buchholz <martin@xemacs.org>
11271 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
11273 1999-12-28 Max Matveev <max@melbourne.sgi.com>
11275 * unexelfsgi.c (unexec): Change the way we decide which segment
11276 should be extended.
11278 Assumption that .bss section should be outside the PT_LOADable
11279 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
11280 it's present) is inside the 'data' segment. This would fail the
11281 test which was used to find a segment to grow and cover new
11282 heap. Instead of this assumption, I created another one - on IRIX
11283 the segment to grow should start below .bss and it's address
11284 should extent above the end of .bss. Once this segment is
11285 identified, it's grown to accommodate the new heap and new
11286 zero-length .bss section is added at the end of .data2.
11288 2000-01-25 Martin Buchholz <martin@xemacs.org>
11290 * eval.c (Feval): Wrong number of arguments should use original
11291 function, not the indirect_function version of it.
11293 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11295 * glyphs-x.c (x_button_instantiate): Don't add image if
11296 it is not a pixmap.
11297 (x_locate_pixmap_file): Call Fexpand_file_name when file name
11300 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
11302 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
11304 (DEFVAR_INT_MAGIC): Ditto.
11305 (DEFVAR_BOOL_MAGIC): Ditto.
11306 * glyphs.h: Reindent backslash.
11308 2000-01-24 Martin Buchholz <martin@xemacs.org>
11310 * glyphs-widget.c (layout_query_geometry):
11311 (layout_layout): Use correct types for gheight, gwidth.
11313 2000-01-24 Martin Buchholz <martin@xemacs.org>
11315 * EmacsManager.c (QueryGeometry): Purified.
11317 2000-01-23 Martin Buchholz <martin@xemacs.org>
11319 * alloc.c (make_float): Make sure entire object is initialized, to
11320 avoid Purify warnings.
11321 (pdump_register_sub): Remove useless assignment.
11322 (pdump): Use xmalloc, not malloc.
11323 (pdump_load): Use xmalloc, not malloc.
11325 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11332 * sysdep.c: Removed redundant #include <windows.h>
11334 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11336 * frame.c (delete_frame_internal): Do not delete device when its
11337 implementation so declares.
11338 (delete_frame_internal): Set device selected frame to nil when
11339 last frame goes away.
11341 * device-msw.c (msprinter_device_system_metrics): Implemented.
11342 (mswindows_device_system_metrics): Added 'device-dpi property.
11344 * device.c: (Fdevice_printer_p): Added.
11345 Added 'offset-workspace device metric.
11347 * console.h (device_metrics): Declared DM_offset_workspace.
11349 2000-01-23 Martin Buchholz <martin@xemacs.org>
11351 * fileio.c (Ffile_truename): Remove pointless and confusing
11352 initialization of elen.
11354 * glyphs-widget.c: Compiler warning fixes.
11356 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
11358 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
11359 instead of a Lisp_Object as argument to make it consistent with
11360 the other LIVE_P macros.
11361 (CHECK_LIVE_PROCESS): New macro.
11363 * process.c: Declare Qprocess_live_p.
11364 (Fprocess_live_p): New function.
11365 (create_process): Use PROCESS_LIVE_P.
11366 (read_process_output): Ditto.
11367 (set_process_filter): Ditto.
11368 (Fdelete_process): Ditto.
11369 (kill_buffer_processes): Ditto
11370 (process_send_signal): Use CHECK_LIVE_PROCESS.
11371 (Fprocess_input_coding_system): Check whether process is still
11372 alive (fix PR#1061).
11373 (Fprocess_output_coding_system): Ditto.
11374 (Fprocess_coding_system): Ditto.
11375 (Fset_process_input_coding_system): Ditto.
11376 (Fset_process_output_coding_system): Ditto.
11378 2000-01-23 Andy Piper <andy@xemacs.org>
11380 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
11383 * glyphs.c (mark_image_instance): take into account changed
11384 image_instance format.
11385 (image_instance_equal): ditto.
11386 (image_instance_hash): ditto.
11388 * glyphs-widget.c (widget_instantiate): Incorporate layout
11389 instantiation here. Delay layout of the layout until later.
11390 (layout_instantiate): deleted.
11391 (layout_query_geometry): new function. get the geometry of a
11393 (layout_layout): layout a layout dynamically.
11394 (image_instantiator_widget): New function - splitting up
11395 image_instantiator_format_create_glyphs_widget for netwinder
11397 (image_instantiator_buttons):
11398 (image_instantiator_edit_fields):
11399 (image_instantiator_combo_box):
11400 (image_instantiator_scrollbar):
11401 (image_instantiator_progress_guage):
11402 (image_instantiator_tree_view):
11403 (image_instantiator_tab_control):
11404 (image_instantiator_labels):
11405 (image_instantiator_layout): ditto.
11406 (image_instantiator_format_create_glyphs_widget): Call preceding
11409 2000-01-22 Martin Buchholz <martin@xemacs.org>
11411 * process.c (Fset_process_coding_system):
11412 * device-x.c (Fx_keysym_hash_table):
11415 * lstream.c (Lstream_write): Return documented value, not 0.
11417 * fileio.c (directory_file_name):
11418 (Fsubstitute_in_file_name):
11419 (Fsubstitute_insert_file_contents_internal):
11420 (Fwrite_region_internal):
11425 Remove vestigial APOLLO-conditional code.
11427 2000-01-21 Martin Buchholz <martin@xemacs.org>
11429 * getpagesize.h: Add guard macros.
11430 * libsst.h: Add guard macros.
11431 * libst.h: Add guard macros.
11432 * line-number.h: Add guard macros.
11433 * ndir.h: Add guard macros.
11434 * sysfloat.h: Add guard macros.
11435 * sysfile.h: Add guard macros.
11436 * sysproc.h: Add guard macros.
11437 * syswait.h: Add guard macros.
11438 * xintrinsic.h: Add guard macros.
11439 * xintrinsicp.h: Add guard macros.
11440 * xmmanager.h: Add guard macros.
11441 * xmmanagerp.h: Add guard macros.
11442 * xmprimitive.h: Add guard macros.
11443 * xmu.h: Add guard macros.
11444 * gpmevent.h: Add copyright statement. Add guard macros.
11445 * miscplay.h: Add guard macros.
11446 * *.h: Use consistent C-standards-approved guard macro names.
11448 * opaque.c (make_opaque): Switch parameter order.
11449 * opaque.h (make_opaque): Switch parameter order.
11450 Update all callers.
11451 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
11453 * config.h.in (type_checking_assert): Added.
11454 (bufpos_checking_assert): Added.
11456 2000-01-21 Martin Buchholz <martin@xemacs.org>
11458 * alloc.c: Harmless pdump changes.
11460 - spell alignment correctly.
11461 * sysdep.c: Use countof()
11463 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11465 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
11466 initially_selected_for_input() console method, default to 0.
11467 (semi_canonicalize_console_connection): Try to delegate to
11468 canonicalize_console_connection if no such console method.
11469 (canonicalize_console_connection): Vice versa.
11470 (print_console): Do not print nil connection.
11472 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
11473 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
11474 (XDEVIMPF_FRAMELESS_OK): Added.
11475 (CONSOLE_INHERITS_METHOD): Added.
11477 * console-msw.c (mswindows_canonicalize_console_connection):
11479 (mswindows_canonicalize_device_connection): Added.
11481 * console-msw.h (struct msprinter_device): Added this struct and
11483 (mswindows_device): Made fontlist a lisp object.
11485 * device.c (semi_canonicalize_device_connection): Try to delegate
11486 to canonicalize_device_connection if no such console method.
11487 (canonicalize_device_connection): Vice versa.
11488 (print_device): Do not print nil connection.
11490 * device-msw.c (mswindows_init_device): Call InitCommonControls
11492 (mswindows_delete_device): Removed fontlist deallocation.
11493 (mswindows_mark_device): Added.
11495 * events.c (event_equal): Added abort() at unreached code.
11496 (event_hash): Ditto.
11498 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
11499 fallback tags of Windows devices.
11501 * general.c (syms_of_general): Initialized Qmsprinter.
11503 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
11504 of fallback tags of Windows devices.
11506 * lisp.h: Declared Qmsprinter.
11508 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
11510 (mswindows_list_fonts): Ditto.
11511 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
11512 that it can be used by both mswindows and msprinter devices.
11513 (initialize_font_instance): Added.
11514 (mswindows_initialize_font_instance): Use it.
11515 (msprinter_initialize_font_instance): Added.
11517 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
11518 and implementation flags check.
11519 (redisplay_without_hooks): Changed the call to the above.
11520 (Fredraw_device): Ditto.
11521 (Fredisplay_device): Ditto.
11523 * redisplay-msw.c (get_frame_dc): Implemented.
11524 (get_frame_compdc): Implemented.
11525 (many functions): Use the two functions above to get device
11526 contexts, ether for a window or a printer.
11528 2000-01-21 Olivier Galibert <galibert@pobox.com>
11530 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
11531 initialization here.
11532 (init_symbols_once_early): Call it.
11533 * emacs.c (main_1): Call it.
11534 * symsinit.h: Declare it.
11536 2000-01-19 Olivier Galibert <galibert@pobox.com>
11538 * alloc.c: Use a lrecord_header * in the backtrace instead of a
11540 (pdump_backtrace): Ditto.
11541 (pdump_register_object): Ditto. Cleanup use of the pointers.
11542 (pdump_get_entry): Abort if trying to register a null pointer.
11543 (pdump_dump_data): Cleanup types when relocating.
11544 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
11545 (pdump_dump_rtables): Remove bad casts.
11546 (pdump_load): Cleanup relocation w.r.t union type. Use a
11547 Lisp_Object instead of a EMACS_INT for the hashtable
11550 2000-01-20 Martin Buchholz <martin@xemacs.org>
11552 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
11554 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
11556 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
11558 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
11560 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11562 * faces.h (FACE_STRIKETHRU_P): Added.
11564 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
11567 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
11568 (mswindows_set_dc_font): New function, aware of font variants,
11569 separated from mswindows_update_dc.
11571 * objects-msw.h (struct mswindows_font_instance_data): Added
11574 * objects-msw.c (mswindows_finalize_font_instance): Delete all
11575 cached fonts and the data structure.
11576 (mswindows_initialize_font_instance): Added creation of font data
11578 (mswindows_print_font_instance): Print at least something.
11579 (mswindows_create_font_variant): Implemented.
11580 (mswindows_get_hfont): Implemented.
11582 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
11584 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
11585 prototyping problem with msvc.
11587 * emacs.c (main_1): added syms_of_gui_mswindows() call
11589 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
11590 syms_of_gui_mswindows() function
11592 * symsinit.h: added the prototype for syms_of_gui_mswindows()
11594 2000-01-18 Martin Buchholz <martin@xemacs.org>
11596 * XEmacs 21.2.27 is released.
11598 2000-01-18 Martin Buchholz <martin@xemacs.org>
11600 * glyphs-eimage.c (struct tiff_error_struct):
11602 (tiff_warning_func):
11603 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
11608 * unexec.c: Remove vestigial Lucid C code.
11612 * libsst.c: Ansify.
11613 Remove declarations of errno and strerror().
11615 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
11617 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
11619 2000-01-16 Martin Buchholz <martin@xemacs.org>
11621 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
11624 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11629 Change enum eol_type to eol_type_t.
11631 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11633 * gui.c (get_gui_callback): Check cons before accessing car.
11635 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11637 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
11638 (XSETSPECIFIER_TYPE): Ditto.
11640 2000-01-17 Didier Verna <didier@xemacs.org>
11642 * redisplay.c (generate_fstring_runes): compute string size in
11643 characters, not bytes.
11645 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11647 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
11649 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
11651 * print.c (print_error_message): Call print_prepare().
11653 2000-01-14 Martin Buchholz <martin@xemacs.org>
11655 * .dbxrc: Renamed from dbxrc.
11657 * events.c (event_to_character):
11658 Use `assert (foo)' instead of `if (!foo) abort()'
11660 * .gdbinit (xtype): Add documentation.
11661 * .gdbinit (check-temacs): New function.
11662 * .gdbinit (check-xemacs): New function.
11663 * dbxrc (check-xemacs): New function.
11664 * dbxrc (check-xemacs): New function.
11666 2000-01-14 Andy Piper <andy@xemacs.org>
11668 * glyphs-widget.c (widget_query_geometry): Make sure that we
11669 calculate default dimensions correctly.
11671 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11673 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
11675 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
11676 pdump_wire'd variable.
11678 * emacs.c: (main_1): Conditionalized calls to
11679 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
11681 2000-01-13 Martin Buchholz <martin@xemacs.org>
11683 * window.c (Fset_window_configuration):
11684 * sysdep.c (_start):
11685 * input-method-motif.c (res):
11686 * event-Xt.c (Xt_process_to_emacs_event):
11687 Simple compiler warning fixes.
11689 * bytecode.c (funcall_compiled_function): Use the original
11690 function symbol on the backtrace list in preference to the
11691 compiled_function object in error messages.
11693 2000-01-13 Andy Piper <andy@xemacs.org>
11695 * glyphs-x.c (update_widget_face): Make sure we update the widget
11696 background as well as foreground.
11698 2000-01-13 Andy Piper <andy@xemacs.org>
11700 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
11701 fields to subwindow.
11702 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
11703 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
11704 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11705 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11707 * glyphs-widget.c (check_valid_tab_orientation): new function.
11708 (initialize_widget_image_instance): zero orientation and
11710 (widget_instantiate): pick up orientation.
11711 (tab_control_query_geometry): return appropriate values for
11714 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
11715 appropriate creation flags for left, right and bottom tabs.
11717 * s/cygwin32.h: add tab definitions.
11719 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11721 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
11722 frame upon hiding a subwindow.
11723 (mswindows_button_instantiate): Changed the push button style to
11725 (mswindows_button_instantiate): Removed button BS_NOTIFY
11727 (mswindows_button_instantiate): Removed redundant check for
11728 a disabled gui item.
11729 (mswindows_button_instantiate): Made use of WS_TABSTOP
11730 consistent: "operable" controls (edit, button, tree, scroll) have
11731 this style, "display-only" ones (static, progress gauge) do
11732 not. This style is currently ignored by XEmacs though. Also,
11733 removed the WS_EX_CONTROLPARENT style - it is not for children,
11734 it is for their parents!
11735 (mswindows_edit_field_instantiate): Ditto.
11736 (mswindows_progress_gauge_instantiate): Ditto.
11737 (mswindows_tree_view_instantiate): Ditto.
11738 (mswindows_tab_control_instantiate): Ditto.
11739 (mswindows_scrollbar_instantiate): Ditto.
11740 (mswindows_combo_box_instantiate): Ditto.
11741 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
11742 style to the "clip" window.
11743 (mswindows_button_instantiate): Removed compilation warning by
11744 equally typing terms of the ?: operator.
11746 2000-01-12 Didier Verna <didier@xemacs.org>
11748 * redisplay.c (generate_fstring_runes): new parameter holding the
11749 last modeline-format extent.
11750 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
11751 extent, fill the glyph block with it.
11752 (generate_fstring_runes): handle these parameters.
11753 (generate_formatted_string_db): ditto.
11755 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
11756 glyphs'extents in the modeline.
11758 1999-01-11 Mike Woolley <mike@bulsara.com>
11760 * ntheap.c: Reduced the reserved heap space from 1Gb down to
11761 256Mb, as a workaround for the non-starting problem many people
11764 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11766 * console-tty.c (Fset_console_tty_output_coding_system):
11767 Force redrawing tty frame.
11769 2000-01-10 Didier Verna <didier@xemacs.org>
11771 * redisplay.c (generate_fstring_runes): fix size computation bug.
11773 2000-01-09 William M. Perry <wmperry@aventail.com>
11775 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
11777 2000-01-09 Andy Piper <andy@xemacs.org>
11779 * glyphs-msw.c: index -> i to avoid shadows.
11780 (xbm_create_bitmap_from_data): make static.
11781 (check_valid_string_or_int): deleted.
11782 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
11784 * glyphs-x.c (x_update_subwindow): remove unused args.
11786 * glyphs.c (glyph_image_instance): return the thing. Don't set the
11787 back pointer - this is done in allocate_image_instance.
11788 (query_string_font): return Qnil to make the compiler happy.
11789 (unmap_subwindow): set to ~0 to make the compiler happy.
11790 (glyph_query_geometry): comment out until used.
11791 (glyph_layout): ditto.
11793 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11795 * insdel.c (signal_after_change): Remove extraneous unbind_to().