1 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Vcharset_china3_jef): Renamed from
4 `Vcharset_japanese_jef_china3'.
5 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
6 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
7 `{MIN|MAX}_CHAR_JEF_CHINA3'..
8 (syms_of_mule_charset): Rename `china3-jef' from
10 (complex_vars_of_mule_charset): Likewise; rename
11 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
13 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
14 `LEADING_BYTE_JEF_CHINA3'.
15 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
16 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
18 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * mule-charset.c (encode_builtin_char_1): Comment out special code
21 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
23 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
24 (MAX_CHAR_MOJIKYO_0): Comment out.
25 (MIN_CHAR_CBETA): Changed to 0x00E20000.
26 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
27 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
28 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
30 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
33 (Qideograph_cbeta): New variable.
34 (encode_builtin_char_1): Comment out special code for
35 coded-charset `mojikyo' and `japanese-jef-china3'.
36 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
37 (complex_vars_of_mule_charset): Add new coded-charset
40 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
41 (MIN_CHAR_CBETA): New macro.
42 (MAX_CHAR_CBETA): New macro.
44 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
47 (LEADING_BYTE_JEF_CHINA3): New macro.
48 (MIN_CHAR_JEF_CHINA3): New macro.
49 (MAX_CHAR_JEF_CHINA3): Likewise.
52 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
55 (Qjapanese_jef_china3): New variable.
56 (encode_builtin_char_1): Support `japanese-jef-china3'.
57 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
58 (complex_vars_of_mule_charset): Add new coded-charset
59 `japanese-jef-china3'.
61 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
64 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
65 94^4, 96^3, 96^4, 128^n and 256^n set.
66 (put_char_table): Use `XCHARSET_CELL_RANGE'.
67 (map_char_table): Likewise.
69 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
74 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.h (get_char_id_table): New inline function.
78 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
81 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * chartab.h (decode_char_table_range): New prototype in XEmacs
85 (put_char_id_table): New inline function in XEmacs UTF-2000.
87 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
89 (decode_char_table_range): Delete static declaration in XEmacs
92 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * chartab.c (put_char_id_table): Use `put_char_table'.
96 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
99 (map_over_uint16_byte_table): Likewise.
100 (map_over_byte_table): Likewise.
101 (map_char_table): Modify for `map_over_uint8_byte_table',
102 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
105 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * chartab.c (struct map_char_table_for_charset_arg): New
109 (map_char_table_for_charset_fun): New function.
110 (map_char_table): Use `map_char_table' for encoding_table of
113 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * chartab.c (map_char_table): Check a character is found in
116 range->charset instead of non default value is defined in
117 char-table when range is CHARTAB_RANGE_ROW.
119 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * chartab.c (map_char_id_table): Deleted.
122 (Fmap_char_attribute): Use `map_char_table' instead of
125 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
127 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
129 (update_syntax_table): Deleted in XEmacs UTF-2000.
131 * syntax.c (find_defun_start): Use `syntax_table' instead of
132 `mirror_syntax_table' in XEmacs UTF-2000.
133 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
135 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
137 (Fmatching_paren): Likewise.
138 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
140 (find_start_of_comment): Likewise.
141 (find_end_of_comment): Likewise.
142 (Fforward_comment): Likewise.
143 (scan_lists): Likewise.
144 (char_quoted): Likewise.
145 (Fbackward_prefix_chars): Likewise.
146 (scan_sexps_forward): Likewise.
147 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
148 (update_syntax_table): Likewise.
150 * search.c (skip_chars): Use `syntax_table' instead of
151 `mirror_syntax_table' in XEmacs UTF-2000.
153 (Freplace_match): Likewise.
155 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
156 `mirror_syntax_table' in XEmacs UTF-2000.
157 (WORDCHAR_P_UNSAFE): Likewise.
158 (re_match_2_internal): Likewise.
160 * font-lock.c (find_context): Use `buf->syntax_table' instead of
161 `buf->mirror_syntax_table' in XEmacs UTF-2000.
163 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
164 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
166 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
169 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
171 (print_char_table): Print `default_value' in XEmacs UTF-2000.
172 (char_table_description): Delete `mirror_table' in XEmacs
174 (fill_char_table): Don't call `update_syntax_table' in XEmacs
176 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
177 (Fcopy_char_table): Likewise.
178 (put_char_table): Don't call `update_syntax_table' in XEmacs
181 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
182 `buf->mirror_syntax_table' in XEmacs UTF-2000.
183 (casify_region_internal): Likewise.
185 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
187 * buffer.c (common_init_complex_vars_of_buffer): Don't use
188 `mirror_syntax_table' in XEmacs UTF-2000.
190 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
191 `buf->mirror_syntax_table' in XEmacs UTF-2000.
192 (Fexpand_abbrev): Likewise.
194 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
198 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
201 (map_over_uint16_byte_table): Likewise.
202 (map_over_byte_table): Likewise.
203 (get_char_id_table): Refer `cit->default_value'.
204 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
205 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
206 of character-id ranges.
207 (mark_char_table): Mark `ct->default_value'.
208 (char_table_description): Add `default_value'.
209 (fill_char_table): Use `default_value'.
210 (decode_char_table_range): Decode `nil' as
211 `CHARTAB_RANGE_DEFAULT'.
212 (get_char_id_table): Refer `cit->default_value'.
213 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
214 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
215 temporary hack; check value of char-table is bound or not.
216 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
218 * chartab.h (struct Lisp_Char_Table): Add new member
219 `default_value' in XEmacs UTF-2000.
220 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
221 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
224 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * chartab.h (Lisp_Char_ID_Table): Deleted.
228 * chartab.c (char_table_description): Fix typo.
229 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
230 `Lisp_Char_ID_Table'.
232 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
237 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
240 * chartab.h (XCHAR_ID_TABLE): Deleted.
241 (XSETCHAR_ID_TABLE): Deleted.
242 (CHAR_ID_TABLE_P): Deleted.
244 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
246 (Fget_composite_char): Likewise.
247 (put_char_table): Likewise.
248 (add_char_attribute_alist_mapper): Fixed.
249 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
251 (Fget_char_attribute): Likewise.
252 (Fget_char_attribute): Likewise.
253 (Fmap_char_attribute): Likewise.
255 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
257 (encode_char_1): Likewise.
259 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
264 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
265 instead of `XCHAR_ID_TABLE'.
266 (remove_char_ccs): Likewise.
268 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
270 (Fget_composite_char): Likewise.
271 (Fchar_variants): Likewise.
272 (put_char_table): Likewise.
273 (add_char_attribute_alist_mapper): Likewise.
274 (Fchar_attribute_alist): Likewise.
275 (Fget_char_attribute): Likewise.
276 (Fput_char_attribute): Likewise.
277 (Fmap_char_attribute): Likewise.
278 (Fmap_char_attribute): Likewise.
280 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
282 (encode_char_1): Likewise.
284 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
287 `Lisp_Char_ID_Table'.
288 (mark_char_id_table): Deleted.
289 (print_char_id_table): Likewise.
290 (char_id_table_equal): Likewise.
291 (char_id_table_hash): Likewise.
292 (char_id_table_description): Likewise.
293 (char_id_table): Likewise.
294 (make_char_id_table): Use `Fmake_char_table' and
296 (get_char_id_table): Use `Lisp_Char_Table' instead of
297 `Lisp_Char_ID_Table'.
298 (put_char_id_table): Likewise.
299 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
301 (Fremove_char_attribute): Likewise.
302 (syms_of_chartab): Don't define type `char-id-table'.
304 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
305 (char_id_table): Likewise.
306 (GC_CHAR_ID_TABLE_P): Likewise.
307 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
308 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
309 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
310 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
311 (get_char_id_table): Use `Lisp_Char_Table' instead of
312 `Lisp_Char_ID_Table'.
313 (put_char_id_table_0): Likewise.
314 (put_char_id_table): Likewise.
316 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
318 * chartab.h: Lisp_Byte_Table related codes are moved from
321 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
323 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
325 * chartab.h: Don't include "chartab.h".
326 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
327 (Lisp_Char_ID_Table): Likewise.
328 (char_id_table): Likewise.
329 (XCHAR_ID_TABLE): Likewise.
330 (XSETCHAR_ID_TABLE): Likewise.
331 (CHAR_ID_TABLE_P): Likewise.
332 (GC_CHAR_ID_TABLE_P): Likewise.
333 (get_char_id_table): Likewise.
335 * char-ucs.h: Include "chartab.h".
336 (struct Lisp_Char_ID_Table): Moved to chartab.h.
337 (Lisp_Char_ID_Table): Likewise.
338 (char_id_table): Likewise.
339 (XCHAR_ID_TABLE): Likewise.
340 (XSETCHAR_ID_TABLE): Likewise.
341 (CHAR_ID_TABLE_P): Likewise.
342 (GC_CHAR_ID_TABLE_P): Likewise.
343 (get_char_id_table): Likewise.
345 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
347 * chartab.c (copy_uint8_byte_table): New function.
348 (copy_uint16_byte_table): New function.
349 (copy_byte_table): New function.
350 (map_over_uint8_byte_table): Modify to avoid huge numbers of
352 (map_over_uint16_byte_table): Likewise.
353 (map_over_byte_table): Likewise.
354 (get_byte_table): Move prototype to chartab.h.
355 (put_byte_table): Likewise.
356 (put_char_id_table_0): Moved to chartab.h.
357 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
358 (char_table_entry_equal): Likewise.
359 (char_table_entry_hash): Likewise.
360 (char_table_entry_description): Likewise.
361 (char_table_entry): Likewise.
362 (make_char_table_entry): Likewise.
363 (copy_char_table_entry): Likewise.
364 (get_non_ascii_char_table_value): Likewise.
365 (map_over_charset_ascii): Likewise.
366 (map_over_charset_control_1): Likewise.
367 (map_over_charset_row): Likewise.
368 (map_over_other_charset): Likewise.
369 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
370 (print_char_table): Likewise.
371 (char_table_equal): Likewise.
372 (char_table_hash): Likewise.
373 (char_table_description): Likewise.
374 (fill_char_table): Likewise.
375 (Fcopy_char_table): Likewise.
376 (get_char_table): Likewise.
377 (Fget_range_char_table): Likewise.
378 (put_char_table): Likewise.
379 (map_char_table): Likewise.
380 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
383 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
386 `Vauto_fill_chars' in XEmacs UTF-2000.
388 * chartab.h (get_byte_table): New prototype [moved from
390 (put_byte_table): Likewise [moved from chartab.c].
391 (put_char_id_table_0): New inline function [moved from chartab.c].
392 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
393 (Lisp_Char_Table_Entry): Likewise.
394 (char_table_entry): Likewise.
395 (XCHAR_TABLE_ENTRY): Likewise.
396 (XSETCHAR_TABLE_ENTRY): Likewise.
397 (CHAR_TABLE_ENTRYP): Likewise.
398 (CHECK_CHAR_TABLE_ENTRY): Likewise.
399 (NUM_ASCII_CHARS): Likewise.
400 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
401 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
403 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * chartab.c (get_char_id_table): Change interface.
406 (put_char_id_table_0): New function.
407 (put_char_id_table): Change interface; new implementation.
408 (Fget_composite_char): Modify for interface change of
410 (Fchar_variants): Likewise.
411 (add_char_attribute_alist_mapper): Likewise.
412 (Fchar_attribute_alist): Likewise.
413 (Fget_char_attribute): Likewise.
414 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
415 as same as character as the first argument like `put-char-table';
416 modify for interface change of `put_char_id_table'.
417 (Fremove_char_attribute): Modify for interface change of
420 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * text-coding.c: Sync up with XEmacs 21.2.41.
423 (COMPOSE_ADD_CHAR): Modify for interface change of
426 * mule-charset.c (put_char_ccs_code_point): Modify for interface
427 change of `put_char_id_table'.
428 (remove_char_ccs): Likewise.
430 * chartab.h (put_char_id_table): Change interface.
432 * char-ucs.h (get_char_id_table): Change interface.
433 (charset_code_point): Modify for interface change of
435 (encode_char_1): Likewise.
437 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
441 (map_over_uint16_byte_table): Likewise.
442 (map_over_byte_table): Likewise.
443 (map_char_id_table): Add new argument `range' like
445 (Fmap_char_attribute): Add new argument `range' like
448 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * chartab.c (map_over_uint8_byte_table): Change interface of
451 mapping function to use struct chartab_range instead of Emchar.
452 (map_over_uint16_byte_table): Likewise.
453 (map_over_byte_table): Likewise.
454 (map_char_id_table): Likewise.
455 (struct slow_map_char_id_table_arg): Deleted.
456 (slow_map_char_id_table_fun): Deleted.
457 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
458 function `slow_map_char_table_fun' instead of struct
459 `slow_map_char_id_table_arg' and function
460 `slow_map_char_id_table_fun'.
462 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * mule-charset.c: Move char-it-table related codes to chartab.c.
465 (Vutf_2000_version): Moved to chartab.c.
466 (Fdefine_char): Likewise.
467 (Ffind_char): Likewise.
468 (syms_of_mule_charset): Move types `uint8-byte-table',
469 `uint16-byte-table', `byte-table' and `char-id-table' to
470 chartab.c; move functions `char_attribute_list,
471 `find_char_attribute_table, `char_attribute_alist,
472 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
473 `map_char_attribute, `define_char, `find_char, `char_variants and
474 `get_composite_char to chartab.c; move symbols `=>ucs',
475 `->decomposition', `compat', `isolated', `initial', `medial',
476 `final', `vertical', `noBreak', `fraction', `super', `sub',
477 `circle', `square', `wide', `narrow', `small' and `font' to
479 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
480 setting codes for `Vcharacter_composition_table' and
481 `Vcharacter_variant_table' to chartab.c.
482 (complex_vars_of_mule_charset): Move setting code for
483 `Vchar_attribute_hash_table' to chartab.c.
485 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
486 (make_char_id_table): New prototype.
487 (put_char_id_table): Likewise.
488 (Fget_char_attribute): Likewise.
490 * chartab.c: Move char-id-table related code from mule-charset.c.
491 (Vutf_2000_version): Moved from mule-charset.c.
493 * char-ucs.h (Qucs): New external variable.
494 (put_char_ccs_code_point): New prototype.
495 (remove_char_ccs): Likewise.
497 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
499 * mule-charset.c (Vcharset_ucs_jis): New variable.
500 (Qucs_jis): Likewise.
501 (syms_of_mule_charset): Add new symbol `ucs-jis'.
502 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
504 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
506 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (map_over_uint8_byte_table): New function.
509 (map_over_uint16_byte_table): Likewise.
510 (map_over_byte_table): Likewise.
511 (map_char_id_table): Likewise.
512 (slow_map_char_id_table_fun): Likewise.
513 (Fmap_char_attribute): Likewise.
514 (syms_of_mule_charset): Add new function `map-char-attribute'.
516 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
519 (syms_of_mule_charset): Add new function `find-char'.
521 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
525 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
526 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
528 (complex_vars_of_mule_charset): Add new coded-charset
529 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
532 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
534 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * mule-charset.c (encode_builtin_char_1): Purge codes about
537 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
538 {MIN|MAX}_CHAR_HEBREW.
539 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
540 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
542 * char-ucs.h (MIN_CHAR_GREEK): Purged.
543 (MAX_CHAR_GREEK): Purged.
544 (MIN_CHAR_CYRILLIC): Purged.
545 (MAX_CHAR_CYRILLIC): Purged.
546 (MIN_CHAR_HEBREW): Commented out.
547 (MAX_CHAR_HEBREW): Likewise.
549 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * mule-charset.c (Qto_ucs): New variable.
552 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
553 (Fdefine_char): Likewise.
554 (syms_of_mule_charset): Add new symbol `=>ucs'.
556 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
558 * mule-charset.c (Fdecode_char): Fixed.
560 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
563 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
566 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * mule-charset.c (Vcharset_ucs_big5): New variable.
569 (Qucs_big5): Likewise.
570 (syms_of_mule_charset): Add new symbol `ucs-big5'.
571 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
573 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
575 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * mule-charset.c (decode_builtin_char): Check Big5 code range
578 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
580 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
583 (Qchinese_gb12345): Likewise.
584 (Fdecode_builtin_char): Fixed.
585 (syms_of_mule_charset): Add `chinese-gb12345'.
586 (complex_vars_of_mule_charset): Add coded-charset
589 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
590 (LEADING_BYTE_CHINESE_GB12345): New macro.
592 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
594 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
595 and `latin-viscii-upper' for `latin-viscii'.
597 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * mule-charset.c (Fdecode_builtin_char): Comment out
600 regularization code for ISO-IR GR representation.
602 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * mule-charset.c (decode_builtin_char): New function; renamed from
605 `make_builtin_char'; return -1 instead of signal.
606 (Fdecode_builtin_char): Use `decode_builtin_char'.
608 * char-ucs.h (decode_builtin_char): New prototype; renamed from
610 (DECODE_CHAR): Use `decode_builtin_char' instead of
611 `make_builtin_char'; use mapping table of `chinese-big5' for
612 `chinese-big5-{1,2}'.
614 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
616 * text-coding.c (char_encode_big5): New function.
617 (char_finish_big5): Likewise.
618 (reset_encoding_stream): Use `char_encode_big5' and
619 `char_finish_big5' for CODESYS_BIG5.
620 (mule_encode): Don't use `encode_coding_big5'.
621 (encode_coding_big5): Deleted.
623 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
626 0x81- in XEmacs UTF-2000.
627 (detect_coding_big5): Likewise.
629 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * mule-charset.c (Fdefine_char): Don't use a CCS property to
632 generate character-id if the CCS property does not have
633 corresponding predefined character.
634 (make_builtin_char): Return -1 if corresponding predefined
635 character is not found.
636 (Fdecode_char): Return nil if corresponding character is not
638 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
639 don't map to builtin ucs space.
641 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
644 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
646 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
648 * mule-charset.c (Vcharset_ideograph_gt): New variable.
649 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
650 (Qideograph_gt): Likewise.
651 (Qideograph_gt_pj_{1..11}): Likewise.
652 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
653 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
654 `ideograph-gt-pj-11'.
655 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
656 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
657 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
659 * char-ucs.h (LEADING_BYTE_GT): New macro.
660 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
661 (MIN_CHAR_GT): Likewise.
662 (MAX_CHAR_GT): Likewise.
664 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
667 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
669 * doprnt.c (unsigned_int_converters): Add `c'.
670 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
672 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
673 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
675 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
676 (MAX_CHAR_MOJIKYO_0): New macro.
677 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
679 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * mule-charset.c (Fdefine_char): Delete cemented out code.
682 (encode_builtin_char_1): Modify for new allocation of builtin
685 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
687 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * mule-charset.c (Vcharset_ucs_cns): New variable.
690 (Qucs_cns): New variable.
691 (syms_of_mule_charset): Add new symbol `ucs-cns'.
692 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
694 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
698 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
700 * search.c (search_buffer): Make `charset_base_code' as
701 character-id >> 6 to eliminate the corresponding last byte in
702 UTF-8 representation [I'm not sure it is right thing].
703 (boyer_moore): Likewise.
705 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
707 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
708 representation in MULE.
710 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * text-coding.c (Fmake_coding_system): Use
713 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
714 `EXTERNAL_PROPERTY_LIST_LOOP'.
716 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * text-coding.c (decode_output_utf8_partial_char): New function.
719 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
721 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * text-coding.c (decode_coding_utf8): Output original byte
724 sequence if it is broken; change order of conditions.
726 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
729 * mb-multibyte.h (BYTE_ASCII_P):
730 Use bit ops for char-signedness safety.
731 (BYTE_C0_P): Use bit ops for char-signedness safety.
732 (BYTE_C1_P): Use bit ops for char-signedness safety.
734 * character.h: (XCHAR_OR_CHAR_INT):
735 Always use inline function.
736 Remove redundant type checking assert() - XINT will abort quite
739 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * text-coding.c: (Fencode_shift_jis_char):
743 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
744 Replace 0 with '\0' when working with bytes.
745 Replace initial "(" with "\(" in docstrings.
747 (Fmake_coding_system):
748 When type is ccl and value is vector, register it with a proper
749 symbol. And checks whether the given ccl program is valid.
750 (mule_decode): When calling ccl_driver, if src indicates
751 NULL pointer, set an empty string instead.
752 (mule_encode): Likewise.
755 (detect_coding_sjis):
756 (decode_coding_sjis):
757 (detect_coding_big5):
758 (decode_coding_big5):
759 (detect_coding_ucs4):
760 (decode_coding_ucs4):
761 (detect_coding_utf8):
762 (decode_coding_utf8):
763 (detect_coding_iso2022):
764 (decode_coding_iso2022):
765 (decode_coding_no_conversion):
767 Make all detecting and decoding functions take an Extbyte * arg.
768 (text_encode_generic):
769 (encode_coding_big5):
770 (encode_coding_no_conversion):
772 Make all encoding functions take a Bufbyte * arg.
773 Use size_t instead of unsigned int for memory sizes.
774 Only cast to unsigned char whenever dereferencing Extbyte *.
776 (struct lrecord_description fcd_description_1): Use countof.
777 (complex_vars_of_file_coding):
778 Use countof instead of sizeof.
779 Use CHECK_NATNUM instead of CHECK_INT.
781 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * mule-charset.c (Fget_char_attribute): Add new optional argument
785 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
786 (remove_char_ccs): Likewise.
788 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
790 * text-coding.c (char_encode_shift_jis): New implementation in
792 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
795 * mule-charset.c (Vcharset_chinese_big5): New variable in
797 (Qchinese_big5): New variable in UTF-2000.
798 (BIG5_SAME_ROW): New macro in UTF-2000.
799 (make_builtin_char): Use builtin characters of
800 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
801 characters of `Vcharset_chinese_big5'.
802 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
803 (complex_vars_of_mule_charset): Add new coded-charset
804 `chinese-big5' in UTF-2000.
806 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
807 (Vcharset_chinese_big5): New external variable declaration.
808 (Vcharset_japanese_jisx0208_1990): Likewise.
810 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
812 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
814 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
816 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
818 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
819 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
820 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
823 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
827 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
832 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
835 for `CHARSET_BY_ATTRIBUTES'.
836 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
837 `CHARSET_BY_ATTRIBUTES'.
839 * text-coding.c (struct decoding_stream): Rename member `CH' to
841 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
842 (decode_coding_sjis): Likewise.
843 (decode_coding_big5): Likewise.
844 (decode_coding_ucs4): Likewise.
845 (decode_coding_utf8): Likewise.
846 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
847 `CHARSET_BY_ATTRIBUTES'.
848 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
849 `str->counter'; decode 3, 4 bytes sets.
850 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
852 (decode_coding_no_conversion): Use `str->cpos' instead of
855 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
856 (Qmojikyo_2022_1): New variable.
857 (make_charset): Don't use `CHARSET_TYPE_*'.
858 (range_charset_code_point): Support coded-charset
860 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
861 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
862 `CHARSET_BY_ATTRIBUTES'.
863 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
864 `CHARSET_BY_ATTRIBUTES'.
865 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
866 (complex_vars_of_mule_charset): Add new coded-charset
869 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
870 interface; changed to inline function.
872 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
873 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
874 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
875 (CHARSET_TYPE_94): Deleted.
876 (CHARSET_TYPE_94X94): Deleted.
877 (CHARSET_TYPE_96): Deleted.
878 (CHARSET_TYPE_96X96): Deleted.
879 (CHARSET_TYPE_128): Deleted.
880 (CHARSET_TYPE_128X128): Deleted.
881 (CHARSET_TYPE_256): Deleted.
882 (CHARSET_TYPE_256X256): Deleted.
883 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
885 (DECODE_MOJIKYO_2022): New inline function.
886 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
887 `Vcharset_mojikyo_2022_1'.
889 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
891 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
893 (put_byte_table): Likewise.
894 (char_id_table_equal): Use `get_byte_table' [new implementation].
896 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * mule-charset.c: Include <limits.h> in UTF-2000.
899 (BT_UINT8_MIN): New macro in UTF-2000.
900 (BT_UINT8_MAX): New macro in UTF-2000.
901 (BT_UINT8_t): New macro in UTF-2000.
902 (BT_UINT8_nil): New macro in UTF-2000.
903 (BT_UINT8_unbound): New macro in UTF-2000.
904 (INT_UINT8_P): New inline function in UTF-2000.
905 (UINT8_VALUE_P): New inline function in UTF-2000.
906 (UINT8_ENCODE): New inline function in UTF-2000.
907 (UINT8_DECODE): New inline function in UTF-2000.
908 (mark_uint8_byte_table): New function in UTF-2000.
909 (print_uint8_byte_table): New function in UTF-2000.
910 (uint8_byte_table_equal): New function in UTF-2000.
911 (uint8_byte_table_hash): New function in UTF-2000.
912 (make_uint8_byte_table): New function in UTF-2000.
913 (uint8_byte_table_same_value_p): New function in UTF-2000.
914 (BT_UINT16_MIN): New macro in UTF-2000.
915 (BT_UINT16_MAX): New macro in UTF-2000.
916 (BT_UINT16_t): New macro in UTF-2000.
917 (BT_UINT16_nil): New macro in UTF-2000.
918 (BT_UINT16_unbound): New macro in UTF-2000.
919 (INT_UINT16_P): New inline function in UTF-2000.
920 (UINT16_VALUE_P): New inline function in UTF-2000.
921 (UINT16_ENCODE): New inline function in UTF-2000.
922 (UINT16_DECODE): New inline function in UTF-2000.
923 (UINT8_TO_UINT16): New inline function in UTF-2000.
924 (mark_uint16_byte_table): New function in UTF-2000.
925 (print_uint16_byte_table): New function in UTF-2000.
926 (uint16_byte_table_equal): New function in UTF-2000.
927 (uint16_byte_table_hash): New function in UTF-2000.
928 (make_uint16_byte_table): New function in UTF-2000.
929 (uint16_byte_table_same_value_p): New function in UTF-2000.
930 (print_byte_table): New function in UTF-2000.
931 (byte-table): Use `print_byte_table' as printer.
932 (make_byte_table): Delete second argument `older'.
933 (byte_table_same_value_p): New function in UTF-2000.
934 (copy_byte_table): Deleted.
935 (get_byte_table): New function in UTF-2000.
936 (put_byte_table): New function in UTF-2000.
937 (print_char_id_table): New function in UTF-2000.
938 (char-id-table): Use `print_char_id_table' as printer.
939 (make_char_id_table): Delete second argument `older'.
940 (get_char_id_table): Use `get_byte_table [new implementation].
941 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
943 (Ffind_char_attribute_table): New function in UTF-2000.
944 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
945 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
946 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
947 (syms_of_mule_charset): Add new function
948 `find-char-attribute-table' in UTF-2000.
950 * lrecord.h (enum lrecord_type): Add
951 `lrecord_type_uint16_byte_table' and
952 `lrecord_type_uint8_byte_table'.
954 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
955 (Lisp_Uint8_Byte_Table): New type.
956 (XUINT8_BYTE_TABLE): New macro.
957 (XSETUINT8_BYTE_TABLE): New macro.
958 (UINT8_BYTE_TABLE_P): New macro.
959 (GC_UINT8_BYTE_TABLE_P): New macro.
960 (struct Lisp_Uint16_Byte_Table): New structure.
961 (Lisp_Uint16_Byte_Table): New type.
962 (XUINT16_BYTE_TABLE): New macro.
963 (XSETUINT16_BYTE_TABLE): New macro.
964 (UINT16_BYTE_TABLE_P): New macro.
965 (GC_UINT16_BYTE_TABLE_P): New macro.
967 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
969 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
970 (Vcharacter_ideographic_strokes_table): Deleted.
971 (Vcharacter_total_strokes_table): Deleted.
972 (Vcharacter_morohashi_daikanwa_table): Deleted.
973 (Vcharacter_decomposition_table): Deleted.
974 (Qname): Deleted because it is duplicated.
975 (Qideographic_radical): Deleted.
976 (Qideographic_strokes): Deleted.
977 (Qtotal_strokes): Deleted.
978 (Qmorohashi_daikanwa): Deleted.
979 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
980 `ideographic-radical', `ideographic-strokes', `total-strokes',
981 `morohashi-daikanwa' and `->decomposition'.
982 (Fget_char_attribute): Likewise.
983 (Fput_char_attribute): Likewise; use `make-vector' instead of
984 `make_older_vector' for `->decomposition' value.
985 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
986 `ideograph-daikanwa'.
987 (syms_of_mule_charset): Delete builtin symbols `name',
988 `ideographic-radical', `ideographic-strokes', `total-strokes' and
989 `morohashi-daikanwa'.
990 (vars_of_mule_charset): Don't setup
991 `Vcharacter_ideographic_radical_table',
992 `Vcharacter_ideographic_strokes_table',
993 `Vcharacter_total_strokes_table',
994 `Vcharacter_morohashi_daikanwa_table' and
995 `Vcharacter_decomposition_table'.
997 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
1000 `make_older_vector', `make_vector_newer_1' and
1001 `make_vector_newer'.
1003 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
1004 `make_older_vector' and `make_vector_newer'.
1006 * config.h.in (HAVE_GGC): New macro.
1008 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * mule-charset.c (struct char_attribute_list_closure): New
1011 structure in UTF-2000.
1012 (add_char_attribute_to_list_mapper): New function in UTF-2000.
1013 (Fchar_attribute_list): Likewise.
1014 (Fset_charset_mapping_table): Use `make_vector_newer'.
1015 (Fdecode_builtin_char): New function in UTF-2000.
1016 (syms_of_mule_charset): Add new function `char-attribute-list' and
1017 `decode-builtin-char' in UTF-2000.
1019 * lisp.h (make_vector_newer): New prototype.
1021 * alloc.c (make_vector_newer_1): New function.
1022 (make_vector_newer): New function.
1024 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
1029 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * mule-charset.c (Vchar_attribute_hash_table): New variable.
1032 (Vcharacter_attribute_table): Deleted.
1033 (Vcharacter_name_table): Deleted.
1034 (put_char_attribute): Deleted.
1035 (remove_char_attribute): Deleted.
1036 (struct char_attribute_alist_closure): New structure.
1037 (add_char_attribute_alist_mapper): New function.
1038 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
1039 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
1040 (Fget_char_attribute): Likewise.
1041 (Fput_char_attribute): Likewise.
1042 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
1043 of `remove_char_attribute'.
1044 (Fdefine_char): Return character.
1045 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
1046 and `Vcharacter_name_table'.
1047 (complex_vars_of_mule_charset): Likewise
1048 `Vchar_attribute_hash_table'.
1050 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1052 * character.h (CHARC_CHARSET): New macro.
1053 (CHARC_CHARSET_ID): New macro.
1054 (CHARC_CODE_POINT): New macro.
1055 (CHARC_COLUMNS): New macro.
1056 (CHARC_TO_CHAR): New inline function.
1057 (CHARC_EQ): New inline function.
1058 (CHARC_ASCII_EQ): New inline function.
1059 (CHARC_IS_SPACE): New inline function.
1060 (ASCII_TO_CHARC): New inline function.
1062 * char-ucs.h (encode_char_2): Deleted.
1063 (ENCODE_CHAR): Use `encode_char_1' again.
1064 (breakup_char_1): Likewise.
1065 (CHAR_TO_CHARC): New inline function.
1067 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
1069 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
1072 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
1073 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
1074 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
1075 (create_string_text_block): Use `CHARC_ASCII_EQ' and
1077 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
1079 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
1081 (x_output_display_block): Use `CHARC_CHARSET' and
1084 * redisplay-tty.c (tty_output_display_block): Use
1086 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
1088 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
1090 * insdel.c (find_charsets_in_charc_string): Use
1092 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
1093 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
1094 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
1095 (convert_charc_string_into_malloced_string): Likewise.
1097 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1099 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
1100 instead of <Emchar_dynarr *> for buf; use
1101 `convert_bufbyte_string_into_charc_dynarr' instead of
1102 `convert_bufbyte_string_into_emchar_dynarr'; use
1103 `find_charsets_in_charc_string' instead of
1104 `find_charsets_in_emchar_string'.
1107 - Include "character.h".
1108 (struct rune): New member `cglyph'; delete member `chr'.
1110 * redisplay.c (redisplay_text_width_charc_string): New function;
1111 delete `redisplay_text_width_emchar_string'.
1112 (rtw_charc_dynarr): New variable; renamed from
1113 `rtw_emchar_dynarr'.
1114 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
1115 `rtw_emchar_dynarr'; use
1116 `convert_bufbyte_string_into_charc_dynarr' instead of
1117 `convert_bufbyte_string_into_emchar_dynarr'; use
1118 `redisplay_text_width_charc_string' instead of
1119 `redisplay_text_width_emchar_string'.
1120 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
1121 instead of `rtw_emchar_dynarr'; use
1122 `convert_bufbyte_string_into_charc_dynarr' instead of
1123 `convert_bufbyte_string_into_emchar_dynarr'.
1124 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
1125 `redisplay_text_width_charc_string' instead of
1126 `redisplay_text_width_emchar_string'.
1127 (create_text_block): Modify for <struct rune> change.
1128 (generate_formatted_string_db): Likewise.
1129 (create_string_text_block): Likewise.
1130 (pixel_to_glyph_translation): Likewise.
1132 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
1133 instead of <const Emchar *>.
1134 (x_text_width): Likewise.
1135 (x_output_display_block): Use <Charc_dynarr *> instead
1136 <Emchar_dynarr *>; modify for <structure rune> change.
1137 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
1140 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
1141 <const Emchar *>; use `charc_string_displayed_columns' instead of
1142 `emchar_string_displayed_columns'.
1143 (tty_output_display_block): Use <Charc_dynarr *> instead of
1144 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
1145 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
1146 (tty_output_charc_dynarr_dynarr): New variable; renamed from
1147 `tty_output_emchar_dynarr_dynarr'.
1148 (tty_output_charc_dynarr): New function; delete
1149 `tty_output_charc_dynarr'.
1151 * redisplay-output.c (compare_runes): Modify for `struct rune'.
1152 (redisplay_output_layout): Use <Charc_dynarr *> instead of
1153 <Emchar_dynarr *> for buf; use
1154 `convert_bufbyte_string_into_charc_dynarr' instead of
1155 `convert_bufbyte_string_into_emchar_dynarr'.
1157 * frame.c (title_string_charc_dynarr): New variable; renamed from
1158 `title_string_emchar_dynarr'.
1159 (generate_title_string): Use `title_string_charc_dynarr' instead
1160 of `title_string_emchar_dynarr'; use
1161 `convert_charc_string_into_malloced_string' instead of
1162 `convert_emchar_string_into_malloced_string'.
1163 (init_frame): Use `title_string_charc_dynarr' instead of
1164 `title_string_emchar_dynarr'.
1167 - Include "character.h".
1168 (struct console_methods): Use <const Charc *> instead of <const
1169 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
1170 <Emchar_dynarr *> in output_string_method.
1172 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
1175 * console-stream.c (stream_text_width): Use <const Charc *>
1176 instead of <const Emchar *>.
1178 * character.h (Charc_dynarr): New type.
1180 * char-ucs.h (structure Charc): New structure; define new type
1183 * char-lb.h (DECODE_CHAR): New inline function.
1184 (encode_char_1): New inline function.
1185 (ENCODE_CHAR): New macro.
1186 (structure Charc): New structure; define new type `Charc'.
1188 * char-1byte.h (Vcharset_control_1): New macro.
1189 (Vcharset_latin_iso8859_1): New macro.
1190 (DECODE_CHAR): New inline function.
1191 (encode_char_1): New inline function.
1192 (ENCODE_CHAR): New macro.
1193 (structure Charc): New structure; define new type `Charc'.
1195 * insdel.c (find_charsets_in_charc_string): New function; delete
1196 `find_charsets_in_emchar_string'.
1197 (charc_string_displayed_columns): New function; delete
1198 `emchar_string_displayed_columns'.
1199 (convert_bufbyte_string_into_charc_dynarr): New function; delete
1200 `convert_bufbyte_string_into_emchar_dynarr'.
1201 (convert_charc_string_into_bufbyte_dynarr): New function; delete
1202 `convert_charc_string_into_bufbyte_dynarr'.
1203 (convert_charc_string_into_malloced_string): New function; delete
1204 `convert_charc_string_into_malloced_string'.
1206 * buffer.h (find_charsets_in_charc_string): New prototype; delete
1207 `find_charsets_in_emchar_string'.
1208 (charc_string_displayed_columns): New prototype; delete
1209 `emchar_string_displayed_columns'.
1210 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
1211 `convert_charc_string_into_bufbyte_dynarr'.
1212 (convert_charc_string_into_malloced_string): New prototype; delete
1213 `convert_charc_string_into_malloced_string'.
1215 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1217 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
1219 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1221 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
1223 * char-ucs.h: Use <short> for <Charset_ID>.
1225 * mule-charset.h, char-1byte.h: Use <unsigned char> for
1228 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1233 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
1237 (Qmorohashi_daikanwa): New variable.
1238 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
1239 for `morohashi-daikanwa' attribute.
1240 (Fget_char_attribute): Likewise.
1241 (Fput_char_attribute): Likewise.
1242 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
1243 has the same value of `ideograph-daikanwa'.
1244 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
1245 (vars_of_mule_charset): Setup
1246 `Vcharacter_morohashi_daikanwa_table'.
1248 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
1252 (add_charset_to_list_mapper): Add `key' instead of
1253 `XCHARSET_NAME (value)' to return aliases.
1255 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1257 * mule-charset.c (Vcharacter_ideographic_radical_table): New
1259 (Vcharacter_ideographic_strokes_table): New variable.
1260 (Qideographic_radical): New variable.
1261 (Qideographic_strokes): New variable.
1262 (Fchar_attribute_alist): Use
1263 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
1264 attribute; use `Vcharacter_ideographic_strokes_table' for
1265 `ideographic-strokes' attribute.
1266 (Fget_char_attribute): Likewise.
1267 (Fput_char_attribute): Likewise.
1268 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
1269 `ideographic-strokes'.
1270 (vars_of_mule_charset): Setup
1271 `Vcharacter_ideographic_radical_table' and
1272 `Vcharacter_ideographic_strokes_table'.
1274 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1276 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
1277 (Qtotal_strokes): New variable.
1278 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
1279 `total-strokes' attribute.
1280 (Fget_char_attribute): Likewise.
1281 (Fput_char_attribute): Likewise.
1282 (syms_of_mule_charset): Add new symbol `total-strokes'.
1283 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
1285 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * mule-charset.c (Vcharacter_decomposition_table): New variable.
1288 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
1290 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
1291 `->decomposition' attribute.
1292 (Fput_char_attribute): Likewise.
1293 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
1295 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1297 * mule-charset.c (decoding_table_check_elements): New function.
1298 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
1300 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1302 * mule-charset.c (Fset_charset_mapping_table): Use
1303 `put_char_ccs_code_point'.
1305 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1307 * mule-charset.c (decoding_table_put_char): New inline function.
1308 (put_char_ccs_code_point): Use `decoding_table_put_char'.
1310 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1312 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
1313 (XCHARSET_BYTE_SIZE): New macro.
1314 (decoding_table_remove_char): New inline function.
1315 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
1316 `decoding_table_remove_char'.
1317 (remove_char_ccs): Use `decoding_table_remove_char'.
1318 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
1320 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1322 * mule-charset.c (Vcharacter_name_table): New variable.
1323 (Qname): New variable.
1324 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
1326 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
1327 `Vcharacter_name_table' for `name' attribute.
1328 (Fremove_char_attribute): Use function `remove_char_ccs'.
1329 (put_char_ccs_code_point): New function.
1330 (remove_char_ccs): New function.
1331 (syms_of_mule_charset): Add new symbol `name'.
1332 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
1334 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1336 * mule-charset.c (make_byte_table): Add new argument `older'.
1337 (make_char_id_table): Likewise.
1338 (copy_char_id_table): Comment out because it is not used.
1339 (put_char_id_table): Modify for `make_byte_table'.
1340 (Fput_char_attribute): Make encoding_table as older object;
1341 inherit older bit of `Vcharacter_composition_table'.
1342 (mark_charset): Don't mark `cs->encoding_table'.
1343 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
1344 normal object; make `Vcharacter_composition_table' as an older
1345 object; delete staticpro for `Vcharacter_composition_table'; make
1346 `Vcharacter_variant_table' as a normal object.
1348 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
1349 (mark_object): Don't check older object in UTF-2000.
1351 * lrecord.h (struct lrecord_header): Add new member `older' in
1353 (set_lheader_implementation): Setup `SLI_header->older' in
1355 (set_lheader_older_implementation): New macro in UTF-2000.
1356 (OLDER_RECORD_P): New macro in UTF-2000.
1357 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
1358 (alloc_older_lcrecord): New prototype in UTF-2000.
1359 (alloc_older_lcrecord_type): New macro in UTF-2000.
1361 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1363 * mule-charset.c (byte_table_description): Use
1364 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
1365 (char_id_table_description): Delete bogus `, 1'.
1366 (Fget_char_attribute): Refer encoding_table of each coded-charset
1367 to get value of coded-charset attribute of a character.
1368 (Fput_char_attribute): Use `make_older_vector' instead of
1369 `make_vector'; use encoding_table of each coded-charset to store
1370 value of coded-charset attribute of a character.
1371 (Fremove_char_attribute): Use encoding_table of each coded-charset
1372 to store value of coded-charset attribute of a character.
1373 (mark_charset): Mark `cs->encoding_table'; don't mark
1374 `cs->decoding_table'.
1375 (charset_description): Add description of new member
1377 (make_charset): Initialize `encoding_table'.
1379 * char-ucs.h (struct Lisp_Charset): Add new member
1381 (CHARSET_ENCODING_TABLE): New macro.
1382 (XCHARSET_ENCODING_TABLE): New macro.
1383 (charset_code_point): New implementation.
1384 (encode_char_1): Likewise.
1386 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
1387 (disksave_object_finalization_1): Call finalizers of
1388 `all_older_lcrecords' in UTF-2000.
1389 (make_older_vector): New function in UTF-2000.
1390 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
1393 * lisp.h (make_older_vector): New prototype in UTF-2000.
1395 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1397 * lrecord.h (enum lrecord_type): Rename
1398 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
1400 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
1401 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
1402 `get_char_code_table'.
1404 * mule-charset.c (mark_char_id_table): Renamed from
1405 `mark_char_code_table'.
1406 (char_id_table_equal): Renamed from `char_code_table_equal'.
1407 (char_id_table_hash): Renamed from `char_code_table_hash'.
1408 (make_char_id_table): Renamed from `make_char_code_table'.
1409 (copy_char_id_table): Renamed from `copy_char_code_table'.
1410 (get_char_id_table): Renamed from `get_char_code_table'.
1411 (put_char_id_table): Renamed from `put_char_code_table'.
1412 (to_char_id): Renamed from `to_char_code'.
1414 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
1415 `Lisp_Char_Code_Table'.
1416 (char_id_table): Renamed from `char_code_table'.
1417 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
1418 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
1419 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
1420 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
1421 (get_char_id_table): Renamed from `get_char_code_table'.
1423 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * lrecord.h (enum lrecord_type): Rename
1426 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
1428 * mule-charset.c (mark_byte_table): Renamed from
1429 `mark_char_byte_table'.
1430 (byte_table_equal): Renamed from `char_byte_table_equal'.
1431 (byte_table_hash): Renamed from `byte_table_hash'.
1432 (make_byte_table): Renamed from `make_byte_table'.
1433 (copy_byte_table): Renamed from `copy_char_byte_table'.
1435 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
1436 `Lisp_Char_Byte_Table'.
1437 (byte_table): Renamed from `char_byte_table'.
1438 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
1439 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
1440 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
1441 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
1443 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1445 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
1446 (dfc_convert_to_internal_format): Likewise.
1448 * text-coding.c (Fcoding_system_canonical_name_p): New function.
1449 * text-coding.c (Fcoding_system_alias_p): New function.
1450 * text-coding.c (Fcoding_system_aliasee): New function.
1451 * text-coding.c (append_suffix_to_symbol): New function.
1452 * text-coding.c (dangling_coding_system_alias_p): New function.
1453 * text-coding.c (Ffind_coding_system):
1454 * text-coding.c (Fcopy_coding_system):
1455 * text-coding.c (encode_coding_no_conversion):
1456 * text-coding.c (syms_of_file_coding):
1457 * text-coding.c (vars_of_file_coding):
1458 Rewrite coding system alias code.
1459 Allow nested aliases, like symbolic links.
1460 Allow redefinition of coding system aliases.
1461 Prevent existence of dangling coding system aliases.
1462 Eliminate convert_to_external_format.
1463 Eliminate convert_to_internal_format.
1465 * text-coding.c: Change enum eol_type to eol_type_t.
1467 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1469 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
1470 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1472 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
1473 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
1475 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
1478 `ideograph-daikanwa'.
1480 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
1481 (Vcharset_ucs_bmp): Likewise.
1482 (Vcharset_mojikyo): Add new extern variable definition.
1483 (Vcharset_latin_iso8859_2): Deleted because it is not used.
1484 (Vcharset_latin_iso8859_3): Likewise.
1485 (Vcharset_latin_iso8859_4): Likewise.
1486 (Vcharset_latin_iso8859_9): Likewise.
1487 (Vcharset_latin_viscii_lower): Likewise.
1488 (Vcharset_latin_viscii_upper): Likewise.
1489 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
1490 `mojikyo' code-point is used to decode.
1491 (encode_char_2): New function [to convert `mojikyo' code-point to
1492 Mojikyo font encoding].
1493 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
1494 (breakup_char_1): Likewise.
1495 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
1497 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1499 * text-coding.c (Fmake_coding_system): Add document about
1500 `disable-composition' property.
1502 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1504 * text-coding.c (Qdisable_composition): New variable; delete
1506 (Fmake_coding_system): Add new property `disable-composite';
1507 delete property `composite'.
1508 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
1509 instead of `!CODING_SYSTEM_COMPOSITE'.
1510 (syms_of_file_coding): Add new symbol `disable-composition';
1511 delete symbol `composite'.
1513 * file-coding.h (struct Lisp_Coding_System): Add
1514 `disable_composition'; delete `enable_composition'.
1515 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1516 `CODING_SYSTEM_COMPOSITE'.
1517 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
1518 `XCODING_SYSTEM_COMPOSITE'.
1520 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1525 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * text-coding.c (Qcomposite): New variable.
1528 (Fmake_coding_system): Add new property `composite'.
1529 (struct decoding_stream): Add `combined_char_count',
1530 `combined_chars' and `combining_table' in UTF-2000.
1531 (COMPOSE_FLUSH_CHARS): New macro.
1532 (COMPOSE_ADD_CHAR): New macro.
1533 (reset_decoding_stream): Reset `str->combined_char_count' and
1534 `str->combining_table' in UTF-2000.
1535 (decode_coding_iso2022): Modify for character-decomposition.
1536 (syms_of_file_coding): Add new symbol `composite'.
1538 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
1541 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
1542 of `Vcharacter_composition_table' if `->decomposition' property
1544 (Qlatin_tcvn5712): New variable.
1545 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
1546 (complex_vars_of_mule_charset): Add new coded-charset
1549 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
1551 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1553 * file-coding.h (struct Lisp_Coding_System): Add
1554 `enable_composition'.
1555 (CODING_SYSTEM_COMPOSITE): New macro.
1556 (XCODING_SYSTEM_COMPOSITE): New macro.
1558 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
1560 * mule-canna.c (c2mu): Fix problem with UTF-2000.
1562 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
1564 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
1565 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
1567 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
1569 * mule-charset.c (Vcharset_mojikyo): New variable.
1570 (Fdefine_char): Don't use coded-charset which does not have
1571 non-builtin character range to allocate character-id.
1572 (Qmojikyo): New variable.
1573 (syms_of_mule_charset): Add new symbol `mojikyo'.
1574 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
1576 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
1577 (LEADING_BYTE_MOJIKYO): New macro.
1578 (MIN_CHAR_MOJIKYO): New macro.
1579 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
1580 (MAX_CHAR_MOJIKYO): New macro.
1582 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
1584 * mule-charset.c (remove_char_attribute): Fixed.
1586 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
1588 * mule-charset.c (remove_char_attribute): New function.
1589 (Fremove_char_attribute): New function.
1590 (encode_builtin_char_1): Comment out builtin-support for
1591 greek-iso8859-7 and cyrillic-iso8859-5.
1592 (Fdecode_char): Check `code' is an integer.
1593 (syms_of_mule_charset): Add `remove-char-attribute'.
1594 (MIN_CHAR_GREEK): Deleted.
1595 (MAX_CHAR_GREEK): Likewise.
1596 (MIN_CHAR_CYRILLIC): Likewise.
1597 (MAX_CHAR_CYRILLIC): Likewise.
1598 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1599 MAX_CHAR_GREEK for `greek-iso8859-7'.
1601 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1602 (MAX_CHAR_GREEK): Likewise.
1603 (MIN_CHAR_CYRILLIC): Likewise.
1604 (MAX_CHAR_CYRILLIC): Likewise.
1606 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1608 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1609 format is used without `ucs' property.
1610 (Fdecode_char): Fix problem with GR representation.
1611 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1612 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1614 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1616 * mule-charset.c (make_builtin_char): New function.
1617 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1618 (Fset_charset_mapping_table): Modify for new representation of
1620 (Fdecode_char): New function.
1621 (syms_of_mule_charset): Add new builtin function `decode-char' in
1624 * char-ucs.h (make_builtin_char): New prototype.
1625 (DECODE_CHAR): New inline function.
1626 (MAKE_CHAR): Use `DECODE_CHAR'.
1628 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1630 * text-coding.c (parse_charset_conversion_specs): Use
1631 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1633 (iso2022_designate): Likewise.
1635 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1636 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1638 * mule-charset.c (Vcharset_ucs): New variable.
1639 (print_charset): Change design; use `CHARSET_CHARS' and
1640 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1641 (make_charset): Change signature to specify `chars' and
1642 `dimension' instead of `type'.
1643 (range_charset_code_point): Modify for 256^n-set.
1644 (encode_builtin_char_1): Encode as `ucs' in default.
1645 (Fmake_charset): Modify for `make_charset'.
1646 (Fmake_reverse_direction_charset): Likewise.
1647 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1649 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1652 * char-ucs.h (Vcharset_ucs): New variable.
1653 (LEADING_BYTE_UCS): New macro.
1654 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1655 and `chars' to `unsigned short' from `unsigned int'.
1656 (CHARSET_TYPE): Deleted.
1657 (XCHARSET_TYPE): Deleted.
1659 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1661 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1663 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1664 (ENCODE_CHAR): New macro.
1666 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1668 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1669 to 0.14 (Kawachi-Katakami).
1671 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1673 * text-coding.c (char_encode_shift_jis): Modify for
1674 `charset_code_point'.
1675 (char_encode_iso2022): Likewise.
1677 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1678 (integer) instead of list of <Lisp_Object>s (integers) as the
1679 format of code-point of a coded-charset.
1680 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1681 (encode_builtin_char_1): New function; delete
1682 `split_builtin_char'.
1683 (charset_code_point): Return <int> instead of <Lisp_Object>.
1684 (Fsplit_char): Don't use `SPLIT_CHAR'.
1686 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1687 prototype for `split_builtin_char'.
1688 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1689 (charset_code_point): Likewise.
1690 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1691 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1693 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1695 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1696 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1698 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1700 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1702 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1703 (MAX_CHAR_OBS_94x94): Deleted.
1705 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1707 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1709 * char-ucs.h (MAX_CHAR_BMP): New macro.
1711 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1713 * text-coding.c: Sync with r21-2-24.
1715 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1717 * file-coding.c: Modify for UTF-2000.
1719 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1721 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1724 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1726 * mule-charset.c (split_builtin_char): Delete builtin support for
1727 `katakana-jisx0201'.
1728 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1729 BMP area in builtin representation.
1731 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1732 `Vcharset_katakana_jisx0201'.
1734 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1736 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1737 (Qisolated): New variable.
1738 (Qinitial): New variable.
1739 (Qmedial): New variable.
1740 (Qfinal): New variable.
1741 (Qvertical): New variable.
1742 (Qsmall): New variable.
1743 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1744 `Qvertical' and `Qsmall'.
1745 (Qmojikyo_pj_[1 .. 21]): New variable.
1746 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1747 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1748 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1751 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1753 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1754 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1755 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1757 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1759 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1760 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1762 (Qjapanese_jisx0208_1990): New variable.
1763 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1764 (complex_vars_of_mule_charset): Add new coded-charset
1765 `japanese-jisx0208-1990'.
1767 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1768 (MIN_CHAR_JIS_X0208_1990): New macro.
1769 (MAX_CHAR_JIS_X0208_1990): New macro.
1771 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1773 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1774 coded-charset is not found.
1776 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1778 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1779 (Fdefine_char): Use `Fmake_char'.
1781 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1783 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1784 (Vcharset_hiragana_jisx0208): Deleted.
1785 (Vcharset_katakana_jisx0208): Deleted.
1786 (Qideograph_daikanwa): New variable.
1787 (Qhiragana_jisx0208): Deleted.
1788 (Qkatakana_jisx0208): Deleted.
1789 (split_builtin_char): Split `ideograph-daikanwa'.
1790 (Fsplit_char): New implementation for UTF-2000.
1791 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1792 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1793 (complex_vars_of_mule_charset): Add new coded-charset
1794 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1795 `katakana-jisx0208'.
1797 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1798 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1799 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1800 (MIN_CHAR_DAIKANWA): New macro.
1801 (MAX_CHAR_DAIKANWA): New macro.
1803 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1805 * data.c (Fstring_to_number): Don't recognize floating point if
1808 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1810 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1812 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1814 * mule-charset.c (Qsquare): New variable.
1815 (to_char_code): Add `Qsquare'.
1816 (syms_of_mule_charset): Add new symbol `square'.
1818 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1820 * mule-charset.c (Qcircle): New variable.
1821 (to_char_code): Add `Qcircle'.
1822 (syms_of_mule_charset): Add new symbol `circle'.
1824 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1826 * mule-charset.c (Qfont): New variable.
1827 (to_char_code): Add `Qfont'.
1828 (syms_of_mule_charset): Add new symbol `font'.
1830 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1832 * mule-charset.c (Qsub): New variable.
1833 (to_char_code): Add `Qsub'.
1834 (syms_of_mule_charset): Add new symbol `sub'.
1836 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1838 * mule-charset.c (Fput_char_attribute): Convert each element of
1839 VALUE to GL position if ATTRIBUTE is a GR-set,
1841 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1843 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1844 coded-charset is a GR-set.
1846 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1848 * mule-charset.c (Fput_char_attribute): Check each element of
1849 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1851 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1853 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1855 (Qethiopic_ucs): New variable in UTF-2000.
1856 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1857 (complex_vars_of_mule_charset): Add new coded-charset
1858 `ethiopic-ucs' in UTF-2000.
1860 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1861 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1863 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1865 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1867 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1869 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1872 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1874 * mule-charset.c (Vcharacter_variant_table): New variable.
1875 (Q_ucs): New variable.
1876 (Fchar_variants): New function.
1877 (Fput_char_attribute): Register `->ucs' value to
1878 `Vcharacter_variant_table'.
1879 (syms_of_mule_charset): Add new function `char-variants' and new
1881 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1883 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1885 * mule-charset.c (get_char_code_table): Allow negative character
1887 (put_char_code_table): Likewise.
1888 (Vcharacter_composition_table): New variable.
1889 (Q_decomposition): New variable.
1890 (Qwide): New variable.
1891 (Qnarrow): New variable.
1892 (Qcompat): New variable.
1893 (QnoBreak): New variable.
1894 (Qsuper): New variable.
1895 (Qfraction): New variable.
1896 (to_char_code): New function.
1897 (Fget_composite_char): New function.
1898 (Fput_char_attribute): Register `->decomposition' value to
1899 `Vcharacter_composition_table'.
1900 (syms_of_mule_charset): Add new function `get-composite-char', new
1901 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1902 `super' and `fraction'.
1903 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1905 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1907 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1908 character; copy the return value.
1910 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1912 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1914 * mule-charset.c (range_charset_code_point): Must use make_int.
1915 (split_builtin_char): New function.
1917 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1919 * mule-charset.c (char_byte_table): Change name from
1920 "char-code-table" to "char-byte-table".
1921 (mark_char_code_table): New function.
1922 (char_code_table_equal): New function.
1923 (char_code_table_hash): New function.
1924 (char_code_table_description): New constant.
1925 (char_code_table): New type.
1926 (make_char_code_table): New function.
1927 (copy_char_code_table): New function.
1928 (get_char_code_table): Modify for `char_code_table' type.
1929 (put_char_code_table): Likewise.
1930 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1933 * char-ucs.h (char_code_table): New type.
1934 (XCHAR_CODE_TABLE): New macro.
1935 (XSETCHAR_CODE_TABLE): New macro.
1936 (CHAR_CODE_TABLE_P): New macro.
1937 (GC_CHAR_CODE_TABLE_P): New macro.
1938 (struct Lisp_Char_Code_Table): New structure.
1940 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1942 * mule-charset.c (Fmake_charset): Setup byte_offset for
1945 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1947 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1950 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1952 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1955 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1957 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1958 charset, it is regarded as a charset.
1959 (put_char_attribute): New function in UTF-2000.
1960 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1961 charset, mapping-table of the charset is modified.
1962 (Fdefine_char): New function in UTF-2000.
1963 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1964 `Fput_char_attribute'.
1965 (syms_of_mule_charset): Add new function `define-char' and new
1966 symbol `ucs' in UTF-2000.
1967 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1969 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1971 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1972 non-UTF-2000 configuration.
1974 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1976 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1977 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1979 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1981 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1982 (Fset_charset_mapping_table): Likewise.
1984 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1985 (CHARSET_ENCODING_TABLE): Delete.
1986 (XCHARSET_ENCODING_TABLE): Delete.
1987 (charset_code_point): New interface.
1989 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1991 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1992 instead of `charset_get_byte1' and `charset_get_byte2'.
1994 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1995 (charset_get_byte2): Deleted.
1997 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1999 * char-ucs.h (SPLIT_CHAR): New inline function.
2000 (breakup_char_1): Use `SPLIT_CHAR'.
2002 * mule-charset.c (range_charset_code_point): New function.
2003 (charset_code_point): New function.
2005 * char-ucs.h (range_charset_code_point): New interface.
2006 (breakup_char_1): Use `range_charset_code_point'.
2008 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2010 * mule-charset.c (Fmake_charset): Delete unused local variable
2013 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
2014 (breakup_char_1): Find a charset and code-point in
2015 `Vcharacter_attribute_table'.
2017 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2019 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2022 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2024 * mule-charset.c (Vcharacter_attribute_table): New variable.
2025 (Fchar_attribute_alist): New function.
2026 (Fget_char_attribute): New function.
2027 (Fput_char_attribute): New function.
2028 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
2030 (syms_of_mule_charset): Add new function `char-attribute-alist',
2031 `get-char-attribute' and `put-char-attribute'.
2032 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
2034 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
2036 * mule-charset.c (Fmake_charset): Just use
2037 `get_unallocated_leading_byte'.
2039 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
2040 sets; don't use final-byte based number for private sets.
2042 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2044 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
2047 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2049 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2052 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2054 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
2055 of `CHAR_LEADING_BYTE' in UTF-2000.
2057 * insdel.c (find_charsets_in_bufbyte_string): Use
2058 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2059 (find_charsets_in_emchar_string): Likewise.
2061 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
2062 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
2064 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
2065 (CHAR_CHARSET_ID): New macro.
2067 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2069 * chartab.c (get_char_table): Don't use type `Charset_ID' for
2070 charset-id - MIN_LEADING_BYTE.
2071 (put_char_table): Likewise.
2073 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2075 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
2076 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
2077 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
2078 (CHARSET_ID_OFFSET): New macro.
2079 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
2080 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
2081 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
2082 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2084 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
2086 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
2087 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
2088 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
2089 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
2090 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
2092 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2094 * mule-charset.c (next_allocated_leading_byte): New variable in
2096 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
2097 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
2098 (get_unallocated_leading_byte): Simply use
2099 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
2100 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
2103 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
2104 (MAX_LEADING_BYTE_PRIVATE): New macro.
2105 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
2106 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
2108 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2110 * mule-charset.c (Fmake_charset): Allocate final-byte based
2111 charset-id for 94-set, 96-set and 94x94-set.
2113 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2115 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
2117 (Fmake_charset): Likewise.
2118 (complex_vars_of_mule_charset): Modify the font registry of
2119 `ucs-bmp' not to match `Ethiopic-Unicode'.
2121 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2123 * mule-charset.c (complex_vars_of_mule_charset): Add font
2124 registory of `ucs-bmp'.
2126 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2128 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
2129 coded-charsets in `default-coded-charset-priority-list' when
2130 breaking up a character.
2132 * mule-charset.c (Vcharset_latin_viscii): New variable.
2133 (Qlatin_viscii): New variable.
2134 (make_charset): Don't use `decoding_table'.
2135 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
2137 (Fset_charset_mapping_table): New implementation.
2138 (syms_of_mule_charset): Add new symbol `latin-viscii'.
2139 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
2140 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
2141 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
2142 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
2143 charset `latin_viscii'.
2145 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
2146 (CHARSET_TYPE_94X94): Change to 1 from 2.
2147 (CHARSET_TYPE_96): Change to 2 from 1.
2148 (CHARSET_TYPE_128): New macro.
2149 (CHARSET_TYPE_128X128): Change to 5 from 4.
2150 (CHARSET_TYPE_256): New macro.
2151 (CHARSET_TYPE_256X256): Change to 7 from 5.
2152 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
2154 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
2156 * text-coding.c (char_encode_shift_jis): Refer
2157 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
2158 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
2160 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
2161 (char_byte_table_equal): New function in UTF-2000.
2162 (char_byte_table_hash): New function in UTF-2000.
2163 (char_byte_table_description): New constant in UTF-2000.
2164 (char_byte_table): New type in UTF-2000.
2165 (make_char_byte_table): New function in UTF-2000.
2166 (copy_char_byte_table): New function in UTF-2000.
2167 (make_char_code_table): New macro in UTF-2000.
2168 (get_char_code_table): New function in UTF-2000.
2169 (put_char_code_table): New function in UTF-2000.
2170 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2171 (charset_description): Add setting in UTF-2000.
2172 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
2173 `CHARSET_TO_BYTE1_TABLE(cs)'.
2174 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
2175 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
2176 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
2177 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
2178 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
2179 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
2180 `CHARSET_TO_BYTE2_TABLE(cs)'.
2182 * char-ucs.h (char_byte_table): New type.
2183 (XCHAR_BYTE_TABLE): New macro.
2184 (XSETCHAR_BYTE_TABLE): New macro.
2185 (CHAR_BYTE_TABLE_P): New macro.
2186 (GC_CHAR_BYTE_TABLE_P): New macro.
2187 (struct Lisp_Char_Byte_Table): New structure.
2188 (get_char_code_table): New interface.
2189 (Emchar_to_byte_table): Deleted.
2190 (get_byte_from_character_table): Deleted.
2191 (struct Lisp_Charset): Add `encoding_table'; delete
2192 `to_byte1_table' and `to_byte2_table'.
2193 (CHARSET_ENCODING_TABLE): New macro.
2194 (CHARSET_TO_BYTE1_TABLE): Deleted.
2195 (CHARSET_TO_BYTE2_TABLE): Deleted.
2196 (XCHARSET_ENCODING_TABLE): New macro.
2197 (XCHARSET_TO_BYTE1_TABLE): Deleted.
2198 (XCHARSET_TO_BYTE2_TABLE): Deleted.
2200 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2202 * mule-charset.c (syms_of_mule_charset): Delete charset alias
2203 `vietnamese-viscii-*'.
2205 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2207 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
2208 (Qvietnamese_viscii_upper): New variable.
2209 (Fdefine_charset_alias): New function.
2210 (syms_of_mule_charset): Add new function `define-charset-alias'.
2211 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
2212 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
2215 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
2217 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
2218 (MAX_CHAR_OBS_94x94): New macro.
2219 (breakup_char_1): Support obsolete XEmacs-UCS private code space
2222 * mule-charset.c (put_byte_from_character_table): Change unit size
2224 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
2226 (Fmake_reverse_direction_charset): Modify dummy argument of
2227 `make_charset' for non-UTF-2000 environment.
2229 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2231 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
2233 * mule-charset.c (destroy_byte_from_character_table): New macro.
2234 (latin_jisx0201_to_ucs): Deleted.
2235 (latin_iso8859_2_to_ucs): Deleted.
2236 (latin_iso8859_3_to_ucs): Deleted.
2237 (latin_iso8859_4_to_ucs): Deleted.
2238 (latin_iso8859_9_to_ucs): Deleted.
2239 (latin_viscii_lower_to_ucs): Deleted.
2240 (latin_viscii_upper_to_ucs): Deleted.
2241 (mark_charset): Mark `cs->decoding_table'.
2242 (Fcharset_mapping_table): Fix DOC-string.
2243 (Fset_charset_mapping_table): New function.
2244 (syms_of_mule_charset): Add nwe function
2245 `set-charset-mapping-table'.
2246 (complex_vars_of_mule_charset): Don't setup and use
2249 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
2251 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
2254 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
2256 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
2257 (Vcharset_katakana_jisx0208): New variable.
2258 (Qhiragana_jisx0208): New variable.
2259 (Qkatakana_jisx0208): New variable.
2260 (make_charset): Add new argument `byte_offset'.
2261 (charset_get_byte1): Modify for new coded-charset definition; use
2262 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2263 `XCHARSET_BYTE_OFFSET'.
2264 (Fmake_charset): Modify for `make_charset'.
2265 (Fmake_reverse_direction_charset): Likewise.
2266 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
2267 `katakana-jisx0208'.
2268 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
2269 `.' in font registry of charset `katakana-jisx0201',
2270 `latin-jisx0201', `vietnamese-viscii-lower' and
2271 `vietnamese-viscii-upper'; modify DOC-string of charset
2272 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
2273 registry of charset `japanese-jisx0208' not to use font for JIS
2274 X0208:1990; add new charset `hiragana-jisx0208' and
2275 `katakana-jisx0208'.
2277 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
2278 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
2279 (struct Lisp_Charset): Add `byte_offset'.
2280 (CHARSET_BYTE_OFFSET): New macro.
2281 (XCHARSET_UCS_MIN): New macro.
2282 (XCHARSET_UCS_MAX): New macro.
2283 (XCHARSET_CODE_OFFSET): New macro.
2284 (XCHARSET_BYTE_OFFSET): New macro.
2285 (MIN_CHAR_HIRAGANA): New macro.
2286 (MAX_CHAR_HIRAGANA): New macro.
2287 (MIN_CHAR_KATAKANA): New macro.
2288 (MAX_CHAR_KATAKANA): New macro.
2289 (MAKE_CHAR): Modify for new coded-charset definition; use
2290 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
2291 `XCHARSET_BYTE_OFFSET'.
2293 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2295 * mule-charset.c (CHAR96): Deleted.
2296 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
2298 (latin_iso8859_2_to_ucs): Likewise.
2299 (latin_iso8859_3_to_ucs): Likewise.
2300 (latin_iso8859_4_to_ucs): Likewise.
2301 (latin_iso8859_9_to_ucs): Likewise.
2302 (latin_viscii_lower_to_ucs): Likewise.
2303 (latin_viscii_upper_to_ucs): Likewise.
2304 (latin_tcvn5712_to_ucs): Commented out.
2305 (make_charset): Change type of argument `decoding_table' from
2306 <Emchar*> to <Lisp_Object> [vector of characters].
2307 (Fmake_charset): Modify for `make_charset'.
2308 (Fmake_reverse_direction_charset): Likewise.
2309 (Fcharset_mapping_table): New function in UTF-2000.
2310 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
2312 (complex_vars_of_mule_charset): Modify for type change of
2313 `*_to_ucs'; modify for `make_charset'.
2315 * char-ucs.h (struct Lisp_Charset): Change type of
2316 `decoding_table' from <Emchar*> to <Lisp_Object>.
2317 (MAKE_CHAR): Modify for new specification of `decoding_table'.
2319 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
2321 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
2322 error with non-UTF-2000-Mule.
2324 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
2326 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
2328 (Vcharset_chinese_cns11643_4): Likewise.
2329 (Vcharset_chinese_cns11643_5): Likewise.
2330 (Vcharset_chinese_cns11643_6): Likewise.
2331 (Vcharset_chinese_cns11643_7): Likewise.
2332 (Qchinese_cns11643_3): Likewise.
2333 (Qchinese_cns11643_4): Likewise.
2334 (Qchinese_cns11643_5): Likewise.
2335 (Qchinese_cns11643_6): Likewise.
2336 (Qchinese_cns11643_7): Likewise.
2337 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
2338 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2339 and `chinese-cns11643-7' to lisp/mule/chinese.el.
2340 (complex_vars_of_mule_charset): Likewise.
2342 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
2346 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
2347 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
2349 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2351 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
2353 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
2354 (breakup_char_1): Likewise.
2356 * text-coding.c (char_encode_iso2022): Keep designated charsets if
2357 one of them includes the specified character.
2359 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2361 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
2363 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2365 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
2367 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2369 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
2370 definition for non-UTF-2000 Mule.
2371 (latin_iso8859_3_to_ucs): Likewise.
2372 (latin_iso8859_4_to_ucs): Likewise.
2373 (latin_iso8859_9_to_ucs): Likewise.
2374 (latin_jisx0201_to_ucs): Likewise.
2375 (MIN_CHAR_THAI): Likewise.
2376 (MAX_CHAR_THAI): Likewise.
2377 (MIN_CHAR_GREEK): Likewise.
2378 (MAX_CHAR_GREEK): Likewise.
2379 (MIN_CHAR_HEBREW): Likewise.
2380 (MAX_CHAR_HEBREW): Likewise.
2381 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
2382 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
2383 (MIN_CHAR_CYRILLIC): Likewise.
2384 (MAX_CHAR_CYRILLIC): Likewise.
2386 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
2388 * char-ucs.h (breakup_char_1): Use
2389 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
2390 thai-tis620 and katakana-jisx0201 area.
2392 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2394 * char-ucs.h (breakup_char_1): Use
2395 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
2398 * text-coding.c (reset_encoding_stream): Fixed.
2399 (char_encode_ucs4): Delete `& 255'.
2401 * char-ucs.h (breakup_char_1): Use
2402 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
2404 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2406 * file-coding.c (Fmake_coding_system): Don't set up
2407 `codesys->fixed.size'.
2408 (encode_coding_no_conversion): Don't refer
2409 `str->codesys->fixed.size'.
2411 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2413 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
2414 (latin_a_char_to_byte1): Deleted.
2415 (latin_a_char_to_byte2): Deleted.
2417 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2419 * mule-charset.c (make_charset): Add new argument `ucs_min',
2420 `ucs_max' and `code_offset'.
2421 (charset_get_byte1): New implementation [delete specific charset
2422 depended implementations].
2423 (Fmake_charset): Modify for `make_charset'.
2424 (Fmake_reverse_direction_charset): Likewise.
2425 (complex_vars_of_mule_charset): Likewise.
2427 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
2429 (CHARSET_UCS_MIN): New macro.
2430 (CHARSET_UCS_MAX): New macro.
2431 (CHARSET_CODE_OFFSET): New macro.
2432 (MAKE_CHAR): Delete charset depended definitions [except
2435 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
2437 * char-ucs.h (breakup_char_1): Use
2438 `Vdefault_coded_charset_priority_list' for C0-Controls,
2439 Basic-Latin, C1-Controls and Latin-1-Supplement area.
2441 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
2443 * char-ucs.h (charset_get_byte1): New function.
2444 (XCHARSET_GET_BYTE1): Deleted.
2445 (charset_get_byte2): New function.
2446 (XCHARSET_GET_BYTE2): Deleted.
2447 (Vdefault_coded_charset_priority_list): New external variable.
2448 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
2449 `Vdefault_preferred_coded_charset_list'.
2451 * mule-charset.c (charset_get_byte1): New function.
2452 (charset_get_byte2): New function.
2453 (Vdefault_coded_charset_priority_list): New variable.
2454 (vars_of_mule_charset): Add new variable
2455 `default-coded-charset-priority-list'.
2457 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2459 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
2460 (XCHARSET_GET_BYTE2): New inline function.
2461 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
2462 `XCHARSET_GET_BYTE2'.
2464 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
2466 * mule-charset.c (make_charset): Initialize
2467 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
2468 NULL if table is not defined.
2470 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2472 * text-coding.c (char_encode_shift_jis): Use
2473 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
2474 `ucs_to_latin_jisx0201'.
2476 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
2477 (ucs_to_latin_iso8859_2): Deleted.
2478 (ucs_to_latin_iso8859_3): Deleted.
2479 (ucs_to_latin_iso8859_4): Deleted.
2480 (ucs_to_latin_iso8859_9): Deleted.
2481 (ucs_to_latin_viscii_lower): Deleted.
2482 (ucs_to_latin_viscii_upper): Deleted.
2483 (ucs_to_latin_tcvn5712): Deleted.
2484 (make_charset): Add new argument `decoding_table'; set up
2485 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
2486 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
2487 `decoding_table' is defined in UTF-2000.
2488 (Fmake_charset): Modify for `make_charset'.
2489 (Fmake_reverse_direction_charset): Likewise.
2490 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
2491 and `GENERATE_96_SET'.
2493 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
2494 (ucs_to_latin_jisx0201): Deleted.
2495 (latin_iso8859_2_to_ucs): Deleted.
2496 (ucs_to_latin_iso8859_2): Deleted.
2497 (latin_iso8859_3_to_ucs): Deleted.
2498 (ucs_to_latin_iso8859_3): Deleted.
2499 (latin_iso8859_4_to_ucs): Deleted.
2500 (ucs_to_latin_iso8859_4): Deleted.
2501 (latin_iso8859_9_to_ucs): Deleted.
2502 (ucs_to_latin_iso8859_9): Deleted.
2503 (latin_viscii_lower_to_ucs): Deleted.
2504 (ucs_to_latin_viscii_lower): Deleted.
2505 (latin_viscii_upper_to_ucs): Deleted.
2506 (ucs_to_latin_viscii_upper): Deleted.
2507 (struct Lisp_Charset): Renamed `encoding_table' to
2508 `to_byte1_table'; add `to_byte2_table'.
2509 (CHARSET_DECODING_TABLE): New macro.
2510 (CHARSET_TO_BYTE1_TABLE): New macro.
2511 (CHARSET_TO_BYTE2_TABLE): New macro.
2512 (XCHARSET_DECODING_TABLE): New macro.
2513 (XCHARSET_TO_BYTE1_TABLE): New macro.
2514 (XCHARSET_TO_BYTE2_TABLE): New macro.
2515 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
2517 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
2518 don't use `ucs_to_*' tables.
2520 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
2522 * text-coding.c (Fmake_coding_system): Don't set up
2523 `codesys->fixed.size'.
2524 (encode_coding_no_conversion): Use `if' instead of `switch'.
2526 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
2528 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2530 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
2531 (Fmake_charset): Modify for `make_charset'.
2532 (Fmake_reverse_direction_charset): Likewise.
2533 (complex_vars_of_mule_charset): Likewise.
2535 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2537 * text-coding.c (char_encode_shift_jis): Use table
2538 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
2540 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
2542 * text-coding.c (text_encode_generic): Use `if' instead of
2544 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
2547 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2549 * text-coding.c (encode_coding_sjis): Deleted.
2550 (char_encode_shift_jis): New function.
2551 (char_finish_shift_jis): New function.
2552 (reset_encoding_stream): Set up `encode_char' and `finish' for
2553 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
2554 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
2555 (char_encode_utf8): Treat `eol_type'.
2557 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2559 * file-coding.c (decode_coding_iso2022): Use
2560 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
2562 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2564 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2567 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2569 * char-lb.h (CHAR_COLUMNS): New macro.
2571 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2573 * text-coding.c (char_encode_ucs4): New function.
2574 (char_finish_ucs4): New function.
2575 (encode_coding_ucs4): Deleted.
2576 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
2577 (text_encode_generic): Delete local variable `charset' and `half'.
2578 (ucs_to_mule_table): Deleted.
2579 (mule_to_ucs_table): Deleted.
2580 (Fset_ucs_char): Deleted.
2581 (ucs_to_char): Deleted.
2582 (Fucs_char): Deleted.
2583 (Fset_char_ucs): Deleted.
2584 (Fchar_ucs): Deleted.
2585 (decode_ucs4): Deleted.
2586 (mule_char_to_ucs4): Deleted.
2587 (encode_ucs4): Deleted.
2588 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
2589 (decode_coding_utf8): Likewise.
2590 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2591 (char_encode_iso2022): Fixed.
2592 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2593 `Fset_char_ucs' and `Fchar_ucs'.
2594 (complex_vars_of_file_coding): Don't initialize
2595 `ucs_to_mule_table'.
2597 * objects-tty.c (tty_initialize_font_instance): Don't use
2600 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2603 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2604 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2606 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2607 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2608 (emchar_string_displayed_columns): Likewise.
2610 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2611 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2612 (string_column_at_point): Likewise.
2613 (Fmove_to_column): Likewise.
2615 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2616 `encoding_table' and `decoding_table'.
2617 (CHARSET_REP_BYTES): Deleted.
2618 (XCHARSET_REP_BYTES): Deleted.
2619 (XCHARSET_COLUMNS): Deleted.
2620 (CHAR_COLUMNS): New macro.
2621 (lookup_composite_char): Deleted unconditionally.
2622 (composite_char_string): Likewise.
2624 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2626 * char-ucs.h (Emchar_to_byte_table): New type.
2627 (get_byte_from_character_table): New function interface.
2628 (Vcharset_latin_jisx0201): New variable.
2629 (latin_jisx0201_to_ucs): New variable.
2630 (ucs_to_latin_jisx0201): New variable.
2631 (Vcharset_latin_iso8859_2): New variable.
2632 (latin_iso8859_2_to_ucs): New variable.
2633 (ucs_to_latin_iso8859_2): New variable.
2634 (Vcharset_latin_iso8859_3): New variable.
2635 (latin_iso8859_3_to_ucs): New variable.
2636 (ucs_to_latin_iso8859_3): New variable.
2637 (Vcharset_latin_iso8859_4): New variable.
2638 (latin_iso8859_4_to_ucs): New variable.
2639 (ucs_to_latin_iso8859_4): New variable.
2640 (Vcharset_latin_iso8859_9): New variable.
2641 (latin_iso8859_9_to_ucs): New variable.
2642 (ucs_to_latin_iso8859_9): New variable.
2643 (Vcharset_latin_viscii_lower): New variable.
2644 (latin_viscii_lower_to_ucs): New variable.
2645 (ucs_to_latin_viscii_lower): New variable.
2646 (Vcharset_latin_viscii_upper): New variable.
2647 (latin_viscii_upper_to_ucs): New variable.
2648 (ucs_to_latin_viscii_upper): New variable.
2649 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2650 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2651 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2652 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2653 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2654 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2655 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2656 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2657 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2658 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2660 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2661 (Vcharset_latin_viscii_upper): New variable.
2662 (make_byte_from_character_table): New function.
2663 (put_byte_from_character_table): New function.
2664 (get_byte_from_character_table): New function.
2665 (CHAR96): New macro.
2666 (ucs_to_latin_jisx0201): New variable.
2667 (latin_jisx0201_to_ucs): New variable.
2668 (ucs_to_latin_iso8859_2): New variable.
2669 (latin_iso8859_2_to_ucs): New variable.
2670 (ucs_to_latin_iso8859_3): New variable.
2671 (latin_iso8859_3_to_ucs): New variable.
2672 (ucs_to_latin_iso8859_4): New variable.
2673 (latin_iso8859_4_to_ucs): New variable.
2674 (ucs_to_latin_iso8859_9): New variable.
2675 (latin_iso8859_9_to_ucs): New variable.
2676 (ucs_to_latin_viscii_lower): New variable.
2677 (latin_viscii_lower_to_ucs): New variable.
2678 (ucs_to_latin_viscii_upper): New variable.
2679 (latin_viscii_upper_to_ucs): New variable.
2680 (ucs_to_latin_tcvn5712): New variable.
2681 (latin_tcvn5712_to_ucs): New variable.
2682 (Qlatin_viscii_lower): New variable.
2683 (Qlatin_viscii_upper): New variable.
2684 (syms_of_mule_charset): Set up new symbol
2685 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2686 (complex_vars_of_mule_charset): Set up new charset
2687 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2688 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2689 `ucs_to_<CHARSET>' tables.
2691 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2693 * text-coding.c: New file.
2695 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2697 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2699 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2700 (MAKE_CHAR): Modify for `ucs-bmp'.
2701 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2702 non-MULE characters of BMP.
2704 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2706 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2709 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2712 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2713 - Include character.h for `CHAR_ASCII_P'.
2715 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2717 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2718 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2720 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2721 (BYTE_C0_P): Likewise.
2722 (BYTE_C1_P): Likewise.
2723 (Lstream_get_emchar_1): Likewise.
2724 (Lstream_fput_emchar): Likewise.
2725 (Lstream_funget_emchar): Likewise.
2726 (copy_internal_to_external): Likewise.
2727 (copy_external_to_internal): Likewise.
2729 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2730 (BYTE_C0_P): Likewise.
2731 (BYTE_C1_P): Likewise.
2732 (Lstream_get_emchar_1): Likewise.
2733 (Lstream_fput_emchar): Likewise.
2734 (Lstream_funget_emchar): Likewise.
2735 (copy_internal_to_external): Likewise.
2736 (copy_external_to_internal): Likewise.
2738 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2739 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2741 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2742 (BYTE_ASCII_P): Moved to mb-1byte.h.
2744 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2746 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2748 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2749 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2750 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2751 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2752 (VALIDATE_CHARPTR_FORWARD): Likewise.
2753 (simple_charptr_emchar): Moved to mb-multibyte.h.
2754 (simple_set_charptr_emchar): Likewise.
2755 (simple_charptr_copy_char): Likewise.
2756 (non_ascii_charptr_emchar): Likewise.
2757 (non_ascii_set_charptr_emchar): Likewise.
2758 (non_ascii_charptr_copy_char): Likewise.
2759 (charptr_emchar): Moved to mb-*byte.h.
2760 (set_charptr_emchar): Likewise.
2761 (charptr_copy_char): Likewise.
2763 * mb-1byte.h, mb-multibyte.h: New files.
2765 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2767 * mb-utf-8.h (MULTIBYTE): New macro.
2768 (MAX_EMCHAR_LEN): Moved from buffer.h.
2769 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2771 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2773 * mb-lb.h, multibyte.h: New files.
2775 * char-1byte.h (Charset_ID): Moved from buffer.h.
2776 (MIN_LEADING_BYTE): Likewise.
2777 (LEADING_BYTE_ASCII): Likewise.
2778 (NUM_LEADING_BYTES): Likewise.
2779 (CHARSETP): Likewise.
2780 (CHARSET_BY_LEADING_BYTE): Likewise.
2781 (XCHARSET_LEADING_BYTE): Likewise.
2782 (XCHARSET_GRAPHIC): Likewise.
2783 (XCHARSET_COLUMNS): Likewise.
2784 (XCHARSET_DIMENSION): Likewise.
2785 (CHAR_CHARSET): Likewise.
2786 (CHAR_LEADING_BYTE): Likewise.
2787 (BREAKUP_CHAR): Likewise.
2788 (Vcharset_ascii): Likewise.
2790 * buffer.h: Include multibyte.h unconditionally.
2791 (VALID_CHARPTR_P): Moved to multibyte.h.
2792 (ASSERT_VALID_CHARPTR): Likewise.
2793 (REAL_INC_CHARPTR): Likewise.
2794 (REAL_INC_CHARBYTIND): Likewise.
2795 (REAL_DEC_CHARPTR): Likewise.
2796 (INC_CHARPTR): Likewise.
2797 (INC_CHARBYTIND): Likewise.
2798 (DEC_CHARPTR): Likewise.
2799 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2800 (VALIDATE_CHARPTR_FORWARD): Likewise.
2801 (charptr_n_addr): Likewise.
2802 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2803 (simple_charptr_emchar): Moved to multibyte.h.
2804 (simple_set_charptr_emchar): Likewise.
2805 (simple_charptr_copy_char): Likewise.
2806 (non_ascii_charptr_emchar): Likewise.
2807 (non_ascii_set_charptr_emchar): Likewise.
2808 (non_ascii_charptr_copy_char): Likewise.
2809 (charptr_emchar): Likewise.
2810 (set_charptr_emchar): Likewise.
2811 (charptr_copy_char): Likewise.
2812 (charptr_emchar_n): Likewise.
2813 (Charset_ID): Moved to char-1byte.h.
2814 (Vcharset_ascii): Likewise.
2815 (CHAR_CHARSET): Likewise.
2816 (CHAR_LEADING_BYTE): Likewise.
2817 (LEADING_BYTE_ASCII): Likewise.
2818 (NUM_LEADING_BYTES): Likewise.
2819 (MIN_LEADING_BYTE): Likewise.
2820 (CHARSETP): Likewise.
2821 (CHARSET_BY_LEADING_BYTE): Likewise.
2822 (XCHARSET_LEADING_BYTE): Likewise.
2823 (XCHARSET_GRAPHIC): Likewise.
2824 (XCHARSET_COLUMNS): Likewise.
2825 (XCHARSET_DIMENSION): Likewise.
2826 (BREAKUP_CHAR): Likewise.
2828 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2830 * character.h: Add document about interface for characters.
2832 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2833 (MAKE_CHAR): Delete comment about
2834 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2835 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2836 (BREAKUP_CHAR): Modify name of arguments.
2837 (CHAR_CHARSET): Modify name of argument.
2839 * buffer.h: Delete document about Emchar accessors.
2841 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2843 * character.h (CHAR_INTP): Moved from buffer.h
2844 (CHAR_OR_CHAR_INTP): Likewise.
2845 (XCHAR_OR_CHAR_INT): Likewise.
2846 (CHECK_CHAR_COERCE_INT): Likewise.
2848 * buffer.h (CHAR_INTP): Moved to character.h
2849 (CHAR_OR_CHAR_INTP): Likewise.
2850 (XCHAR_OR_CHAR_INT): Likewise.
2851 (CHECK_CHAR_COERCE_INT): Likewise.
2853 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2856 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2857 - Include char-1byte.h, char-lb.h or char-ucs.h.
2859 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2861 * buffer.h: Include character unconditionally.
2862 (valid_char_p): Moved to char-*.h.
2863 (non_ascii_valid_char_p): Moved to char-lb.h.
2865 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2867 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2869 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2870 in UTF-2000 because it is not ported yet and not to use
2871 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2872 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2873 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2875 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2876 (CHAR_ASCII_P): Moved from character.h.
2878 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2879 (CHAR_ASCII_P): Likewise.
2880 (CHAR_FIELD1_MASK): Deleted.
2881 (CHAR_FIELD2_MASK): Deleted.
2882 (CHAR_FIELD3_MASK): Deleted.
2883 (MAX_CHAR_BASIC_LATIN): New macro.
2884 (CHAR_FIELD1): Deleted.
2885 (CHAR_FIELD2_INTERNAL): Deleted.
2886 (CHAR_FIELD3_INTERNAL): Deleted.
2887 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2888 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2889 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2890 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2891 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2892 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2893 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2894 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2895 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2896 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2897 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2898 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2899 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2900 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2901 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2902 (MIN_CHAR_COMPOSITION): Deleted.
2903 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2904 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2906 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2908 * buffer.h: Include mb-utf-8.h in UTF-2000.
2910 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2912 * mb-utf-8.h: New file.
2914 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2916 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2919 * mule-charset.h, buffer.h (Charset_ID): New type.
2921 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2923 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2924 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2925 instead of `MULE_CHAR_PRIVATE_OFFSET',
2926 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2927 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2928 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2930 * character.h (Vcharset_japanese_jisx0212): New variable
2933 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2935 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2936 (charset_by_attributes): Delete array about direction.
2937 (latin_a_char_to_charset): New variable in UTF-2000.
2938 (latin_a_char_to_byte1): New variable in UTF-2000.
2939 (latin_a_char_to_byte2): New variable in UTF-2000.
2940 (Qucs_bmp): New variable.
2941 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2943 (next_allocated_2_byte_leading_byte): Likewise.
2944 (non_ascii_set_charptr_emchar): Likewise.
2945 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2946 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2947 `charset_by_attributes'.
2948 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2949 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2950 and `CHARSET_BY_LEADING_BYTE'.
2951 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2952 `utf-2000-version' to `vars_of_mule_charset'.
2953 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2954 define `leading-code-private-11' in UTF-2000; move setting of
2955 `utf-2000-version' from `syms_of_mule_charset'.
2956 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2959 * character.h (Charset_ID): New type.
2960 (LEADING_BYTE_UCS_BMP): New macro.
2961 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2962 (CHARSET_ID_OFFSET_94): New macro.
2963 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2964 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2965 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2967 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2968 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2969 (CHARSET_ID_OFFSET_96): New macro.
2970 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2971 CHARSET_ID_OFFSET_96 and final-byte.
2972 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2973 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2974 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2975 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2976 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2977 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2978 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2979 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2980 (LEADING_BYTE_THAI_TIS620): Likewise.
2981 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2982 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2983 (CHARSET_ID_OFFSET_94x94): New macro.
2984 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2985 CHARSET_ID_OFFSET_94x94 and final-byte.
2986 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2987 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2988 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2989 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2990 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2991 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2992 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2993 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2994 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2995 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2996 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2997 (CHARSET_TYPE_128X128): New macro.
2998 (CHARSET_TYPE_256X256): New macro.
2999 (XCHARSET_PRIVATE_P): Delete unconditionally.
3000 (charset_by_attributes): Delete array about direction.
3001 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
3002 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
3003 (MIN_CHAR_94): New macro.
3004 (MAX_CHAR_94): New macro.
3005 (MIN_CHAR_96): New macro.
3006 (MAX_CHAR_96): New macro.
3007 (MIN_CHAR_94x94): New macro.
3008 (MAX_CHAR_94x94): New macro.
3009 (MIN_CHAR_96x96): New macro.
3010 (MAX_CHAR_96x96): New macro.
3011 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
3012 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3013 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
3015 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
3016 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
3017 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
3018 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
3019 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
3020 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
3021 `XCHARSET_LEADING_BYTE' to make code-point.
3022 (latin_a_char_to_charset): New variable.
3023 (latin_a_char_to_byte1): New variable.
3024 (latin_a_char_to_byte2): New variable.
3025 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
3026 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
3027 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
3029 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
3030 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
3031 (find_charsets_in_emchar_string): Likewise.
3032 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
3034 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
3036 (decode_coding_iso2022): Likewise.
3038 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
3041 * redisplay.c (redisplay_text_width_emchar_string): Use
3042 `Charset_ID' instead of `unsigned char'.
3043 (redisplay_frame_text_width_string): Likewise.
3045 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
3048 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
3049 instead of `unsigned char'.
3050 (face_cachel_charset_font_metric_info): Likewise.
3052 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
3053 (get_non_ascii_char_table_value): Likewise.
3054 (get_char_table): Likewise.
3055 (put_char_table): Likewise.
3056 (map_over_other_charset): Likewise.
3057 (map_char_table): Likewise.
3059 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
3060 instead of `unsigned char'.
3062 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
3064 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
3065 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
3067 * mule-charset.c (leading_code_private_11): Don't define in
3070 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
3071 in UTF-2000 because it is not ported yet and not to use
3072 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
3074 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3076 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
3078 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3080 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
3083 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
3084 of unsigned char to store leading-byte.
3086 * chartab.c (get_non_ascii_char_table_value): Don't use
3087 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
3089 * file-coding.c (encode_coding_big5): Delete bogus implementation
3092 * character.h (LEADING_BYTE_*): Delete definition for
3094 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
3095 (LEADING_BYTE_PREFIX_P): Deleted.
3096 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
3097 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
3098 (BUFBYTE_LEADING_BYTE_P): Deleted.
3099 (CHARSET_PRIVATE_P): Deleted unconditionally.
3100 (rep_bytes_by_first_byte): Deleted unconditionally.
3101 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
3102 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
3103 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
3104 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
3105 (CHAR_FIELD2): Deleted.
3106 (CHAR_FIELD3): Deleted.
3107 (MAKE_CHAR): Delete definition for non-UTF-2000.
3108 (BREAKUP_CHAR_1_UNSAFE): Deleted.
3109 (breakup_char_1): New implementation.
3110 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
3111 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
3113 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3115 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
3118 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3120 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
3121 (CHARSET_PRIVATE_P): Likewise.
3122 (XCHARSET_PRIVATE_P): Likewise.
3123 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
3125 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
3127 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
3129 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3131 * character.h (LEADING_BYTE_*): Changed in UTF2000.
3132 (NUM_LEADING_BYTES): Changed from 128 to 256.
3133 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3134 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
3136 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
3138 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
3140 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
3141 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
3142 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
3143 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
3144 (Qchinese_cns11643_3): New variable in UTF2000.
3145 (Qchinese_cns11643_4): New variable in UTF2000.
3146 (Qchinese_cns11643_5): New variable in UTF2000.
3147 (Qchinese_cns11643_6): New variable in UTF2000.
3148 (Qchinese_cns11643_7): New variable in UTF2000.
3149 (syms_of_mule_charset): Define `chinese-cns11643-3',
3150 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3151 and `chinese-cns11643-7' in UTF2000.
3152 (vars_of_mule_charset): Initialize
3153 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
3155 (complex_vars_of_mule_charset): Setup charset
3156 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
3157 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
3159 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3161 * mule-charset.c: Move setting for `leading-code-private-11' from
3162 `syms_of_mule_charset' to `vars_of_mule_charset'.
3164 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3166 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
3167 and `NUM_LEADING_BYTES' in assert.
3169 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3171 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
3173 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
3174 `NUM_LEADING_BYTES' instead of 128.
3176 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3178 * mule-charset.h (charset_by_leading_byte): Use
3179 `NUM_LEADING_BYTES' instead of 128.
3180 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
3182 * mule-charset.c (charset_by_leading_byte): Use
3183 `NUM_LEADING_BYTES' instead of 128.
3184 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
3186 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
3189 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3191 * mule-charset.c (syms_of_mule_charset): Update to
3194 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3196 * file-coding.c (encode_coding_sjis): New implementation for
3197 UTF2000. (decode_coding_sjis): Ditto.
3199 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3201 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
3202 Don't define in UTF2000.
3204 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
3207 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3208 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
3211 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3213 * config.h.in (CHAR_IS_UCS4): New macro.
3215 * mule-charset.c (rep_bytes_by_first_byte): Modify for
3216 conventional MULE representation.
3217 (syms_of_mule_charset): Update to 0.3 (Imamiya).
3219 * mule-charset.h: Reverted to original.
3221 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
3222 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
3223 "mule-charset.h" if CHAR_IS_UCS4 is defined.
3225 * character.h: New file.
3227 * file-coding.c (Fmake_coding_system): Set 1 to
3228 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
3230 (encode_coding_no_conversion): New implementation for UTF2000.
3232 * file-coding.h (struct Lisp_Coding_System): Add new member
3235 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3237 * file-coding.c (decode_coding_iso2022): Code-point arguments of
3238 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
3239 (encode_coding_iso2022): New implementation for UTF2000.
3241 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3243 * mule-canna.c (c2mu): New implementation for UTF2000.
3246 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3248 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
3250 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3252 * file-coding.c (reset_encoding_stream): Set 0 to
3253 `str->iso2022.current_char_boundary' in UTF2000.
3254 (encode_utf8): Don't define in UTF2000.
3255 (encode_coding_utf8): New implementation for UTF-8 representation
3257 (complex_vars_of_file_coding): Define coding-system `utf-8'.
3259 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3261 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
3263 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
3265 (REP_BYTES_BY_FIRST_BYTE): Likewise.
3267 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
3269 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
3270 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
3271 as UTF-8 in UTF2000.
3272 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
3273 (non_ascii_valid_char_p): Don't define in UTF2000.
3274 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
3275 (Lstream_get_emchar_1): Likewise.
3276 (utf-2000-version): New variable in UTF2000.
3278 * lread.c (read_escape): Add new reader `u'.
3280 * insdel.c (three_to_one_table): Don't define in UTF2000.
3281 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
3282 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3284 (bytind_to_bufpos_func): Likewise.
3285 (buffer_mule_signal_inserted_region): Likewise.
3286 (vars_of_insdel): Don't initialize `three_to_one_table'.
3287 (init_buffer_text): Use `buf->text->mule_size' instead of
3288 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
3291 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
3292 UTF-8 representation in UTF2000.
3293 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
3294 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
3295 (decode_coding_iso2022): Don't define local variable `lb' in
3296 UTF2000; don't use LEADING_BYTE in UTF2000; use
3297 `DECODE_ADD_UCS_CHAR' in UTF2000.
3298 (convert_to_external_format): Decode as UTF-8 in UTF2000.
3300 * config.h.in (UTF2000): New macro.
3302 * buffer.h (struct buffer_text): Add new member `mule_size' and
3303 don't add `mule_shifter' and `mule_three_p' in UTF2000.
3304 (valid_char_p): Return always 1 in UTF2000.
3305 (MAX_EMCHAR_LEN): 6 in UTF2000.
3306 (three_to_one_table): Don't define in UTF2000.
3307 (real_bufpos_to_bytind): Modify for UTF-8 representation in
3309 (real_bytind_to_bufpos): Likewise.
3311 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
3313 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3315 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
3316 representation change.
3317 (Vutf_2000_version): New variable.
3318 (leading_code_private_11): New variable.
3319 (syms_of_mule_charset): Add new variables `utf-2000-version' and
3320 `leading-code-private-11'.
3322 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
3323 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
3324 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
3325 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
3326 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
3327 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
3328 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
3329 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
3330 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
3331 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
3332 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
3333 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
3334 (MIN_CHAR_GREEK): New macro.
3335 (MAX_CHAR_GREEK): New macro.
3336 (MIN_CHAR_CYRILLIC): New macro.
3337 (MAX_CHAR_CYRILLIC): New macro.
3338 (MIN_CHAR_HEBREW): New macro.
3339 (MAX_CHAR_HEBREW): New macro.
3340 (MIN_CHAR_THAI): New macro.
3341 (MAX_CHAR_THAI): New macro.
3342 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
3343 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
3344 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
3345 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
3346 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
3347 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
3348 (CHAR_FIELD2): New inline function.
3349 (CHAR_FIELD3): New inline function.
3350 (MULE_CHAR_PRIVATE_OFFSET): New macro.
3351 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
3352 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
3353 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
3354 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
3355 (MIN_CHAR_COMPOSITION): Likewise.
3356 (CHAR_LEADING_BYTE): Modified for character representation change.
3357 (MAKE_CHAR): Likewise.
3359 * lisp.h (Vcharset_latin_iso8859_1): New variable.
3360 (Vcharset_greek_iso8859_7): Likewise.
3361 (Vcharset_cyrillic_iso8859_5): Likewise.
3362 (Vcharset_hebrew_iso8859_8): Likewise.
3363 (Vcharset_thai_tis620): Likewise.
3364 (Vcharset_katakana_jisx0201): Likewise.
3366 2001-01-17 Martin Buchholz <martin@xemacs.org>
3368 * XEmacs 21.2.41 "Polyhymnia" is released.
3370 2001-01-16 Didier Verna <didier@xemacs.org>
3372 * glyphs.c (image_instantiate): don't use fallbacks when
3373 instantiating a face's background pixmap by inheritance.
3375 2001-01-14 Mike Sperber <mike@xemacs.org>
3377 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
3378 Conditionalize accordingly.
3380 2001-01-16 Martin Buchholz <martin@xemacs.org>
3382 * dumper.c (pdump_file_get): Fix a compiler warning.
3384 2001-01-15 Martin Buchholz <martin@xemacs.org>
3386 Make Purify happy when pdumping.
3387 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
3388 iniitalizing all bits of new lisp object memory.
3389 * symbols.c (Fmake_local_variable): Likewise.
3390 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
3391 * symbols.c (Fdefvaralias): Likewise.
3392 * mule-charset.c (vars_of_mule_charset): Likewise.
3394 2001-01-15 Martin Buchholz <martin@xemacs.org>
3395 Add the `-nd' flag when running pre-dump operations under the debugger.
3396 * .dbxrc (run-temacs): Add `-nd'.
3397 * .dbxrc (update-elc): Likewise.
3398 * .dbxrc (dump-temacs): Likewise.
3399 * .gdbinit (run-temacs): Likewise.
3400 * .gdbinit (check-temacs): Likewise.
3401 * .gdbinit (update-elc): Likewise.
3402 * .gdbinit (dump-temacs): Likewise.
3404 2001-01-14 Martin Buchholz <martin@xemacs.org>
3406 Allow building 64-bit executables on AIX with GNU malloc, e.g.
3407 export OBJECT_MODE=64
3408 configure --pdump --use-union-type=no
3409 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
3410 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
3412 * miscplay.c (sndcnv8U_2mono):
3413 Avoid two uses of `++' in the same expression.
3414 Suppresses a GCC warning.
3416 2001-01-13 Martin Buchholz <martin@xemacs.org>
3418 Make sure future compilers don't miscompile alloc.c.
3420 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
3421 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
3423 2001-01-12 Martin Buchholz <martin@xemacs.org>
3425 * dumper.c: A little post-pdump-rename comment fixup.
3427 2001-01-09 Jerry James <james@eecs.ku.edu>
3429 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
3431 2001-01-13 Martin Buchholz <martin@xemacs.org>
3433 * *.[ch]: Globally rename symbols using the following `pdump-rename'
3437 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
3440 replace_symbol pdump_wire_lists pdump_weak_object_chains
3441 replace_symbol pdump_wire_list dump_add_weak_object_chain
3443 replace_symbol pdump_wires pdump_root_objects
3444 replace_symbol pdump_wire dump_add_root_object
3446 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
3447 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
3449 replace_symbol dumpstructinfos pdump_root_struct_ptrs
3450 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
3451 replace_symbol dumpstructinfo pdump_root_struct_ptr
3452 replace_symbol dumpstruct dump_add_root_struct_ptr
3454 replace_symbol dumpopaque dump_add_opaque
3455 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
3456 replace_symbol dumpopaqueinfos pdump_opaques
3457 replace_symbol dumpopaqueinfo pdump_opaque
3459 replace_symbol nb_structdump nb_root_struct_ptrs
3460 replace_symbol nb_opaquedump nb_opaques
3462 replace_symbol align_table pdump_align_table
3463 replace_symbol dump_header pdump_header
3465 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
3466 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
3469 2001-01-12 Martin Buchholz <martin@xemacs.org>
3471 * s/aix4.h: Keep the C for AIX compiler from overaggressively
3472 optimizing bytecount_to_charcount().
3474 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3477 (HAVE_DLFCN_H): Removed.
3478 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
3480 2001-01-06 Martin Buchholz <martin@xemacs.org>
3482 Portable dumper maintainability improvements.
3483 * alloc.c (staticpro):
3484 * alloc.c (staticpro_nodump):
3485 * alloc.c (garbage_collect_1):
3486 * alloc.c (reinit_alloc_once_early):
3487 * alloc.c (init_alloc_once_early):
3488 * alloc.c: Move dumper functions to alloc.c.
3489 * dumper.c (pdump_backtrace):
3490 * dumper.c (pdump_dump_structs):
3491 * dumper.c (pdump_dump_opaques):
3492 * dumper.c (pdump_dump_rtables):
3493 * dumper.c (pdump_dump_wired):
3495 * dumper.c (pdump_load_check):
3496 * dumper.c (pdump_load_finish):
3497 * dumper.c (pdump_file_unmap):
3498 * dumper.c (pdump_file_get):
3499 * dumper.c (pdump_resource_free):
3500 * dumper.c (pdump_resource_get):
3501 * dumper.c (pdump_file_free):
3502 * dumper.c (pdump_file_try):
3503 * dumper.c (pdump_load):
3504 Remove fixed size limits on staticpro(), staticpro_nodump(),
3505 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
3506 Remove custom code for dumping lrecord_implementations_table - use
3508 Remove (most of the) custom code for dumping staticpros - dump it
3509 like any other dynarr.
3511 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
3512 * dumper.c: Moved functions from alloc.c.
3513 * alloc.c (dumpstruct): Moved to dumper.c.
3514 * alloc.c (dumpopaque): Likewise.
3515 * alloc.c (pdump_wire): Likewise.
3516 * alloc.c (pdump_wire_list): Likewise.
3518 * lisp.h (Dynarr_sizeof): New.
3519 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
3520 * lisp.h (Dynarr_end): New. Very slightly C++oid.
3521 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
3523 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
3524 * lisp.h (dumpopaque): ditto.
3525 * lisp.h (pdump_wire): ditto.
3526 * lisp.h (pdump_wire_list): ditto.
3528 2001-01-09 Martin Buchholz <martin@xemacs.org>
3530 * make-src-depend (PrintPatternDeps):
3531 Use `sort' to make output independent of perl version.
3533 2001-01-08 Martin Buchholz <martin@xemacs.org>
3536 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
3537 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
3539 2001-01-03 Didier Verna <didier@xemacs.org>
3541 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
3542 that `focus_frame' is alive before thinking of calling
3543 `redisplay_redraw_cursor' on it.
3545 2001-01-08 Martin Buchholz <martin@xemacs.org>
3547 * XEmacs 21.2.40 is released.
3549 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3551 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
3553 2001-01-06 Martin Buchholz <martin@xemacs.org>
3555 * alloc.c (dbg_valmask): Make const.
3556 * alloc.c (dbg_typemask): Make const.
3557 * alloc.c (dbg_USE_UNION_TYPE): Make const.
3558 * alloc.c (dbg_valbits): Make const.
3559 * alloc.c (dbg_gctypebits): Make const.
3561 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
3563 * redisplay-x.c (x_bevel_area):
3564 redisplay.h (struct rune):
3565 Typo fixes in comments.
3567 2001-01-05 Andy Piper <andy@xemacs.org>
3569 * glyphs-x.c (x_redisplay_widget): use size changed for offset
3572 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
3574 2001-01-05 Martin Buchholz <martin@xemacs.org>
3576 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
3578 * mule-ccl.c (stack_idx_of_map_multiple):
3579 Non const global data must not be initialized!
3580 Found by MIYASHITA Hisashi.
3582 2001-01-02 Andy Piper <andy@xemacs.org>
3584 * frame.c (change_frame_size): make sure frame size is always
3587 * glyphs.c (image_instance_layout): minor code reuse.
3589 * window.c (Fcurrent_window_configuration): revert previous
3592 2001-01-02 Martin Buchholz <martin@xemacs.org>
3595 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
3597 2000-12-31 Andy Piper <andy@xemacs.org>
3599 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
3600 when widget gets unmapped.
3602 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
3603 function. Make sure widgets losing focus don't just drop it.
3604 (handle_focus_event_1): record the widget with focus.
3606 2000-12-31 Andy Piper <andy@xemacs.org>
3608 * window.c (allocate_window): use
3609 make_image_instance_cache_hash_table.
3610 (make_dummy_parent): ditto.
3611 (Fset_window_configuration): ditto.
3613 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
3615 * glyphs.c (process_image_string_instantiator): use
3617 (get_image_instantiator_governing_domain): ditto.
3618 (normalize_image_instantiator): ditto.
3619 (instantiate_image_instantiator): ditto.
3620 (make_image_instance_1): ditto.
3621 (image_instantiate): ditto. Key on glyph *and* instantiator type.
3622 (instantiator_eq_equal): new function for use with instance hash
3624 (instantiator_eq_hash): ditto.
3625 (make_image_instance_cache_hash_table): create a suitable hash
3626 table for storing image instances.
3628 * elhash.h (hash_table_weakness): new internal weakness type
3629 HASH_TABLE_KEY_CAR_VALUE_WEAK.
3630 declare new functions.
3632 * elhash.c (finish_marking_weak_hash_tables): introduce yet
3633 another weakness type for glyphs.
3634 (make_standard_lisp_hash_table): new function split out from
3635 make_general_lisp_hash_table.
3636 (make_lisp_hash_table): call make_standard_lisp_hash_table.
3637 (hash_table_instantiate): ditto.
3638 (Fmake_hash_table): ditto.
3640 2000-12-31 Martin Buchholz <martin@xemacs.org>
3642 * XEmacs 21.2.39 is released.
3644 2000-12-29 Andy Piper <andy@xemacs.org>
3646 * menubar.c (menubar_visible_p_changed): signal the frame changed.
3648 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
3649 the frame has changed so that we pick up geometry changes such as
3652 2000-12-28 Andy Piper <andy@xemacs.org>
3654 * lastfile.c (my_ebss): make a char array so we can pad the
3655 bss. Fixes cygwin unexec.
3657 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
3659 2000-12-26 Andy Piper <andy@xemacs.org>
3661 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
3662 comments and try and be more precise about a non-/SIGIO world.
3663 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
3666 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
3667 we don't normalize to zero width or height.
3669 2000-12-24 Andy Piper <andy@xemacs.org>
3671 * Makefile.in.in (ldflags): add -mwindows when appropriate.
3673 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
3675 * s/sco5.h: SCO 5 has pty support.
3677 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
3679 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
3680 input-method-xlib.c contains whole contents of input-method-xfs.c,
3681 so we can use input-method-xlib.c's code for USE_XFONTSET
3683 * input-method-xfs.c: removed.
3685 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
3687 * file-coding.h (enum coding_category_type): reorder enumerators to
3688 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
3689 (now one greater than largest real coding_category_type enumerator).
3690 * file-coding.c (coding_category_symbol, coding_category_by_priority,
3691 coding_category_system, fcd_descriptihon_1, decode_coding_category,
3692 Fcoding_category_list, Fset_coding_priority_list,
3693 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
3694 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
3696 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3698 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
3699 * redisplay-output.c (redisplay_output_window): Clear top of window
3700 when face is changed.
3701 * redisplay-x.c (x_redraw_exposed_window): Call
3702 redisplay_clear_top_of_window.
3703 * redisplay.h: Publish redisplay_clear_top_of_window.
3705 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3707 * buffer.c (Fkill_buffer): Map over all devices.
3708 * window.c (window_loop): Remove UNSHOW_BUFFER code.
3709 (list_windows): New function.
3710 (list_all_windows): Ditto.
3711 (Freplace_buffer_in_windows): Use them.
3713 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3715 * database.c (berkdb_subtype): Recognize new subtype `queue'.
3716 (Fopen_database): Use `db_create' instead of `db_open'.
3717 (syms_of_database): Initialize Qqueue.
3719 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3721 * buffer.c (common_init_complex_vars_of_buffer): Initialize
3722 buffer_local_face_property.
3723 * buffer.h (struct buffer): New member buffer_local_face_property.
3724 * window.c (Fset_window_buffer): Mark window's face as changed
3725 when buffer has buffer local face.
3726 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
3727 * objects.c (color_after_change): Set buffer_local_face_property
3728 when locale of face specifier is buffer.
3729 * objects.c (font_after_change): Ditto.
3730 * objects.c (face_boolean_after_change): Ditto.
3731 * glyphs.c (image_after_change): Ditto.
3733 2000-12-09 Dan Holmsand <dan@eyebee.com>
3735 * nt.c (mswindows_fstat): Report file permissions, volume serial
3736 number, etc. Code adapted from FSF Emacs 20.7.
3738 2000-12-09 Dan Holmsand <dan@eyebee.com>
3740 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
3741 of stat when we don't have symbolic links, to make sure
3742 mswindows_stat is called on mswindows.
3744 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
3746 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
3748 2000-12-12 Martin Buchholz <martin@xemacs.org>
3750 * doprnt.c (emacs_doprnt_1): More printing fixes.
3751 Make printing of numbers compatible with libc and FSF Emacs.
3752 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
3753 Use the system printf to do most of the hard work of formatting,
3754 instead of doprnt_1().
3755 Calculate memory to allocate for format string.
3756 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
3757 (doprnt_1): Cleaner code and documentation.
3759 2000-12-01 Jerry James <james@eecs.ukans.edu>
3761 * Makefile.in.in: Use the loop variable to install headers.
3763 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3765 * window.c (Fsplit_window): Don't invalidate face cache.
3767 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3769 * minibuf.c (Fall_completions): Undo the previous change
3770 which removed checking elements start with space.
3772 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3774 * mule-canna.c: Didier suppression.
3776 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3778 * mule-canna.c: rename static unsigned char buf[] to key_buffer
3779 (warning suppression). Add English comment translations.
3781 2000-12-05 Martin Buchholz <martin@xemacs.org>
3783 * unexelfsgi.c (unexec): Better test for mmap failure.
3785 2000-12-05 Martin Buchholz <martin@xemacs.org>
3787 * XEmacs 21.2.38 is released.
3789 2000-12-05 Martin Buchholz <martin@xemacs.org>
3791 * redisplay.c (bar-cursor): Make a user variable.
3793 * symsinit.h: Add init_postgresql_from_environment.
3795 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3797 * regex.c: Convert to clean C.
3799 2000-12-05 Dan Holmsand <dan@eyebee.com>
3802 Don't #include sysfile.h. Revert to duplicating PATH_MAX
3804 (sys_readlink): renamed to system_readlink to avoid conflict with
3805 the other sys_readlink.
3807 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
3809 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
3811 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
3813 * postgresql.c (init_postgresql_from_environment): new function.
3814 (vars_of_postgresql): Move code initializing Lisp variables out and
3815 into init_postgresql_from_environment.
3816 emacs.c (main_1): Call init_postgresql_from_environment if and only
3817 if running a dumped XEmacs.
3819 2000-08-31 Dan Holmsand <dan@eyebee.com>
3821 * buffer.c: Make find-file-compare-truenames default to true on
3824 * realpath.c (win32_abs_start):
3826 (win32_readlink): New functions.
3827 (xrealpath): Return really real filenames on windows.
3829 * fileio.c (Ffile_truename): Make file-truename work on windows.
3831 2000-11-29 Didier Verna <didier@xemacs.org>
3833 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
3834 * faces.c (update_face_cachel_data): use it.
3835 * faces.c (add_face_cachel): use it. Complete background pixmap
3836 frobbing in face cache if `update_face_cachel_data' has not done so.
3838 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
3840 * search.c (string_match_1): Don't set last_thing_searched
3843 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
3845 * buffer.c: Include casetab.h
3846 (common_init_complex_vars_of_buffer): Use new case-table object.
3847 * buffer.h: Include casetab.h
3848 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
3849 (DOWNCASE_TABLE_OF): Ditto.
3850 * bufslots.h: Remove char-tables and add case-table.
3851 * casetab.c: Include casetab.h
3852 (CASE_TABLE_P): Removed.
3853 (mark_case_table): New function.
3854 (allocate_case_table): New function.
3855 (Fcase_table_p): Use new case-table.
3856 (case_table_char): New function.
3857 (Fget_case_table): Ditto.
3858 (Fput_case_table): Ditto.
3859 (Fput_case_table_pair): Ditto.
3860 (Fcopy_case_table): Ditto.
3861 (Fcurrent_case_table): Return case-table.
3862 (Fstandard_case_table): Return case-table.
3863 (Fset_case_table): Fix doc-string.
3864 (set_case_table): Use case-table
3865 (syms_of_casetab): DEFSUBR new functions.
3866 (complex_vars_of_casetab): Set up standard case-table.
3867 * casetab.h: New file.
3868 * editfns.c: Include casetab.h
3869 (Fcompare_buffer_substrings): Use case-table.
3870 * inline.c: Include casetab.h
3871 * lisp.h: Remove bogus extern.
3872 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
3873 * search.c: Include casetab.h
3874 (TRANSLATE_ASCII): Removed.
3875 (TRANSLATE): Unconditionally translate character.
3876 (looking_at_1): Use case-table.
3877 (string_match_1): Ditto.
3878 (fast_string_match): Ditto.
3879 (search_command): Ditto.
3880 (search_buffer): Separate boyer_moore. Check whether
3881 boyer_moore is poosible.
3882 (simple_search): New function.
3883 (boyer_moore): Separated from search_buffer. Translate char.
3885 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
3887 * regex.c (RE_TR_ASCII): Removed.
3888 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
3889 (PATFETCH): Call PATFETCH_RAW.
3890 (PATFETCH_RAW): Fetch Emchar.
3891 (PATUNFETCH): Decrement charptr.
3892 (GET_BUFFER_SPACE): Rename b to buf_end.
3894 (BUF_PUSH_2): Ditto.
3895 (BUF_PUSH_3): Ditto.
3896 (EXTEND_BUFFER): Ditto.
3897 (SET_LIST_BIT): Ditto.
3898 (regex_compile): Ditto. Translate non ASCII char.
3899 (compile_range): Ditto.
3900 (re_search_2): Ditto.
3901 (re_match_2_internal): Compare Emchar.
3902 (bcmp_translate): Ditto.
3904 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
3906 * lisp.h (basic char/int typedefs): comment improvement.
3908 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
3910 * emacs.c (main_1): unconditional pdump unstomping; don't save and
3911 unstomp inhibit_site_lisp. Improve comments.
3913 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
3915 * mule-charset.c (Fcharset_property): improve type checking, comments.
3917 2000-11-28 Andy Piper <andy@xemacs.org>
3919 * redisplay-output.c (redisplay_output_subwindow): make sure we do
3920 clipped display for windows in the gutter also.
3921 (redisplay_display_boxes_in_window_p): change semantics of return
3922 codes to be more intuitive.
3924 * gutter.h: declare display_boxes_in_gutter_p.
3926 * gutter.c (display_boxes_in_gutter_p): new function for
3929 2000-11-22 Andy Piper <andy@xemacs.org>
3931 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
3934 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
3936 * callproc.c (Fold_call_process_internal):
3937 * gpm.c (Freceive_gpm_event):
3938 (tty_get_foreign_selection): Might be just warning supression.
3939 * fileio.c (Fwrite_region_internal):
3940 (Fset_visited_file_modtime):
3941 * keymap.c (event_matches_key_specifier_p):
3942 Initialize GCPROed variable.
3944 * menubar-x.c (command_builder_find_menu_accelerator):
3945 Initialize before use.
3947 2000-11-23 Andy Piper <andy@xemacs.org>
3949 * unexcw.c (unexec): make the resulting executable executable.
3951 2000-11-21 Martin Buchholz <martin@xemacs.org>
3953 * doc.c (get_doc_string):
3954 Use size_t, not int, for result of XSTRING_LENGTH.
3956 * cmds.c (Fdelete_char):
3957 * cmds.c (Fpoint_at_eol):
3958 * cmds.c (Fself_insert_command):
3959 Use EMACS_INT, not int, for result of XINT.
3960 Someday, someone will want to insert more than 2**31 identical characters.
3962 * cmds.c (Fdelete_char):
3963 * cmds.c (Fdelete_backward_char):
3964 * syntax.c (Fforward_word):
3965 * syntax.c (Fforward_comment):
3966 Make COUNT argument optional, for consistency with forward-char et al.
3968 2000-11-22 Martin Buchholz <martin@xemacs.org>
3971 * print.c (long_to_string):
3972 Return a useful value: the pointer at end of data written.
3975 Use `static const char * const' for constant strings.
3976 (union printf_arg): Delete `i', `ui' members.
3979 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
3980 Do all printf-ing via the `l' specifier.
3981 Use EMACS_INT instead of int.
3984 2000-11-20 Didier Verna <didier@xemacs.org>
3986 * faces.c (update_face_cachel_data): don't frob the background
3987 pixmap when the window is being created. The face is needed but
3990 2000-11-20 Andy Piper <andy@xemacs.org>
3992 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
3993 messing with a debug environment.
3995 2000-11-20 Martin Buchholz <martin@xemacs.org>
3997 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
3999 2000-11-20 Martin Buchholz <martin@xemacs.org>
4001 * casetab.c (Fcase_table_p): Fix compile error and crash.
4003 2000-11-18 Philip Aston <philipa@mail.com>
4005 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4007 2000-11-18 Martin Buchholz <martin@xemacs.org>
4009 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4010 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4012 2000-11-17 Martin Buchholz <martin@xemacs.org>
4014 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4015 * unexelf.c: Use HAVE_ELF_H.
4016 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4017 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4018 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4019 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4021 So this is an unexelfsgi.c from a different line of development.
4023 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4025 * regex.c (RE_TR_ASCII): New function.
4026 (RE_TRANSLATE): Call it.
4028 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4030 * buffer.h (TRT_TABLE_OF): Remove assert.
4031 (IN_TRT_TABLE_DOMAIN): Removed.
4033 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4035 * free-hook.c (log_gcpro):
4036 (show_gcprohist): Add support for GCPRO5.
4038 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4040 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4042 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4044 * symeval.h: Declare flush_all_buffer_local_cache.
4046 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4047 (flush_buffer_local_cache): Added.
4048 (flush_all_buffer_local_cache): Added.
4050 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4052 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4053 (pdump_dump_data): Ditto.
4054 (pdump_reloc_one): Ditto.
4055 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4059 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4061 * buffer.c: Remove if 0'ed entry.
4062 * buffer.h: Rewrite TRT to use char-table.
4063 * bufslots.h: Remove mirror tables.
4064 * casetab.c: Remove mirror tables.
4065 (CASE_TABLE_P): New macro.
4066 (Fcase_table_p): Element of a case table is string or char-table.
4067 (make_mirror_trt_table): Removed.
4068 (set_case_table): Setup char-table from strings for backward
4070 * dired.c (Fdirectory_files):
4071 * dired-msw.c: (mswindows_get_files):
4072 * lisp.h: Change prototype of re_pattern_buffer.
4073 * regex.c: (RE_TRANSLATE): New macro.
4074 (TRANSLATE_P): Ditto.
4075 Change translate to type RE_TRANSLATE_TYPE.
4076 * regex.h: Define RE_TRANSLATE_TYPE
4077 * search.c (TRANSLATE): New macro.
4078 (TRANSLATE_ASCII): New macro.
4079 Translate table is changed to Lisp_Object.
4080 (signal_failure): Inhibit return.
4082 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4089 Do UNGCPRO before return.
4091 2000-11-14 Martin Buchholz <martin@xemacs.org>
4093 * XEmacs 21.2.37 is released.
4095 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4097 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
4098 Add comments about discarded return value.
4100 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4103 * event-stream.c: Fix comments. Remove some #if 0'ed part.
4105 2000-10-27 Andy Piper <andy@xemacs.org>
4107 * gutter.c (Fset_default_gutter_position): default left and right
4109 (calculate_gutter_size): calculate resonable heuristic for left
4110 and right gutter sizes.
4111 (specifier_vars_of_gutter): change left and right gutter sizes to
4113 (calculate_gutter_size_from_display_lines): new function.
4114 (output_gutter): check for resizing on left and right gutters.
4115 (clear_gutter): don't special case top and left gutters.
4116 (specifier_vars_of_gutter): use new signature for
4117 set_specifier_caching.
4119 * glyphs-x.c (x_redisplay_widget): spelling fix.
4120 * glyphs.c (specifier_vars_of_glyphs):
4121 * menubar.c (specifier_vars_of_menubar):
4122 * redisplay.c (specifier_vars_of_redisplay):
4123 * toolbar.c (specifier_vars_of_toolbar):
4124 * window.c (specifier_vars_of_window):
4125 * scrollbar.c (specifier_vars_of_scrollbar):
4126 (complex_vars_of_scrollbar): use new signature for
4127 set_specifier_caching.
4129 * specifier.c (set_specifier_caching): include recompute flag.
4130 (recompute_one_cached_specifier_in_window): always recompute if
4132 (recompute_one_cached_specifier_in_frame): ditto.
4134 * specifier.h (struct specifier_caching): add recompute flag.
4136 2000-10-24 Andy Piper <andy@xemacs.org>
4138 * unexcw.c (copy_executable_and_dump_data_section): add new
4139 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
4142 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4144 * console-x.h (x_device): New member modifier_release_time.
4145 * event-Xt.c (x_handle_sticky_modifiers):
4146 Bound interval modifier keys are sticky.
4147 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
4148 * events.h: extern it.
4150 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4152 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
4154 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4156 * event-stream.c (execute_command_event): Preserve current_events
4157 and the like when event is misc-user-event.
4158 Inhibit quit during the call to maybe_echo_keys.
4160 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4162 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
4163 symlink when buffer is killed.
4164 (inhibit_clash_detection): New variable.
4166 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4168 * console.c (Fset_input_method): Trigger redisplay on tty.
4170 2000-11-07 Martin Buchholz <martin@xemacs.org>
4172 * process.c (Fprocess_status): Revert to previous behavior:
4173 (process-status "nosuchprocess") ==> nil
4175 2000-11-06 Martin Buchholz <martin@xemacs.org>
4177 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
4178 Work around another GCC 2.95.2 optimizer bug.
4180 2000-11-02 Martin Buchholz <martin@xemacs.org>
4182 * process.c (Fget_process): Use LIST_LOOP_2.
4183 (kill_buffer_processes): Use LIST_LOOP_2.
4185 * minibuf.c (Fall_completions):
4186 Delete old non-functional code for FSF fourth argument.
4188 * frame.c (frame_matches_frame_spec):
4189 Renamed from `frame_matches_frametype'. Update all callers.
4190 (device_matches_device_spec):
4191 Renamed from 'device_matches_console_spec'. Update all callers.
4193 * doc.c (Fsubstitute_command_keys):
4194 Remove buffer overflow crash. Small code cleanups.
4196 * casetab.c (check_case_table): Simpler code.
4198 * window.c (Freplace_buffer_in_windows):
4199 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
4200 (and similar implementation) as Fdelete_windows_on.
4203 * alloc.c (Fmake_list):
4204 * alloc.c (make_vector):
4205 * alloc.c (Fmake_vector):
4206 * alloc.c (make_bit_vector):
4207 * alloc.c (Fmake_bit_vector):
4208 * alloc.c (Fbit_vector):
4209 * alloc.c (Fmake_string):
4210 * alloc.c (Fpurecopy):
4211 * alloc.c (Fmemory_limit):
4213 * buffer.c (Fget_buffer):
4214 * buffer.c (Fkill_buffer):
4215 * buffer.c (complex_vars_of_buffer):
4216 * bytecode.c (Fcompiled_function_stack_depth):
4217 * callint.c (Fprefix_numeric_value):
4219 * event-stream.c (Fread_key_sequence):
4221 * casetab.c (Fcase_table_p):
4222 * casetab.c (check_case_table):
4223 * casetab.c (Fset_case_table):
4224 * casetab.c (Fset_standard_case_table):
4226 * chartab.c (Fchar_table_type):
4227 * chartab.c (Freset_char_table):
4228 * chartab.c (Fget_char_table):
4229 * chartab.c (Fget_range_char_table):
4230 * chartab.c (Fput_char_table):
4231 * chartab.c (Fmap_char_table):
4232 * chartab.c (Fcategory_table_p):
4233 * chartab.c (Fcheck_category_at):
4234 * chartab.c (Fchar_in_category_p):
4235 * chartab.c (Fcategory_table):
4236 * chartab.c (Fcopy_category_table):
4237 * chartab.c (Fset_category_table):
4238 * chartab.c (Fcategory_designator_p):
4239 * chartab.c (Fcategory_table_value_p):
4240 * cmds.c (Fdelete_char):
4241 * cmds.c (Fdelete_backward_char):
4242 * cmds.c (Fself_insert_command):
4243 * cmds.c (Fself_insert_internal):
4244 * console.c (Fvalid_console_type_p):
4245 * console.c (Fcdfw_console):
4246 * console.c (Fconsole_type):
4247 * console.c (Fconsole_name):
4248 * console.c (Fconsole_device_list):
4249 * console.c (Fconsole_on_window_system_p):
4253 * data.c (Fsubr_interactive):
4254 * data.c (Fchar_to_int):
4255 * data.c (Fint_to_char):
4258 * data.c (Fnumber_to_string):
4259 * data.c (Fstring_to_number):
4261 * database.c (mark_database):
4262 * database.c (finalize_database):
4263 * database.c (Fdatabase_live_p):
4264 * database.c (Fdatabasep):
4265 * device-x.c (Fx_get_resource):
4266 * device.c (Fdfw_device):
4268 * dired.c (Ffile_name_completion):
4269 * dired.c (Ffile_name_all_completions):
4270 * dired.c (Fuser_name_completion):
4271 * dired.c (Fuser_name_completion_1):
4272 * dired.c (Fuser_name_all_completions):
4273 * doc.c (Fdocumentation):
4274 * doc.c (Fdocumentation_property):
4275 * doc.c (Fsubstitute_command_keys):
4277 * editfns.c (Fchar_to_string):
4278 * editfns.c (Fstring_to_char):
4279 * editfns.c (Ftemp_directory):
4280 * editfns.c (Finsert_char):
4281 * editfns.c (Fbuffer_substring_no_properties):
4282 * editfns.c (Fnarrow_to_region):
4283 * editfns.c (Fchar_equal):
4284 * editfns.c (Fchar_Equal):
4285 * editfns.c (Ftranspose_regions):
4286 * emacs.c (Fdump_emacs):
4288 * eval.c (Fcommand_execute):
4289 * eval.c (Fautoload):
4290 * eval.c (Fbacktrace):
4291 * eval.c (Fbacktrace_frame):
4293 * events.c (Fcopy_event):
4294 * events.c (Fcharacter_to_event):
4295 * events.c (Fevent_button):
4296 * events.c (Fevent_process):
4298 * extents.c (Fnext_extent_change):
4299 * extents.c (Fextent_property):
4301 * faces.c (Fmake_face):
4303 * file-coding.c (Fencode_shift_jis_char):
4304 * file-coding.c (Fencode_big5_char):
4305 * fileio.c (Ffile_name_directory):
4306 * fileio.c (Ffile_name_nondirectory):
4307 * fileio.c (Ffile_name_as_directory):
4308 * fileio.c (Fdirectory_file_name):
4309 * fileio.c (Ffile_truename):
4310 * fileio.c (Fsubstitute_in_file_name):
4311 * fileio.c (Ffile_modes):
4312 * fileio.c (Fset_file_modes):
4313 * fileio.c (Fset_default_file_modes):
4314 * fileio.c (Fverify_visited_file_modtime):
4315 * floatfns.c (Facos):
4316 * floatfns.c (Fasin):
4317 * floatfns.c (Fatan):
4318 * floatfns.c (Fcos):
4319 * floatfns.c (Fsin):
4320 * floatfns.c (Ftan):
4321 * floatfns.c (Fbessel_j0):
4322 * floatfns.c (Fbessel_j1):
4323 * floatfns.c (Fbessel_jn):
4324 * floatfns.c (Fbessel_y0):
4325 * floatfns.c (Fbessel_y1):
4326 * floatfns.c (Fbessel_yn):
4327 * floatfns.c (Ferf):
4328 * floatfns.c (Ferfc):
4329 * floatfns.c (Flog_gamma):
4330 * floatfns.c (Fexp):
4331 * floatfns.c (Fexpt):
4332 * floatfns.c (Flog):
4333 * floatfns.c (Flog10):
4334 * floatfns.c (Fsqrt):
4335 * floatfns.c (Fcube_root):
4336 * floatfns.c (Facosh):
4337 * floatfns.c (Fasinh):
4338 * floatfns.c (Fatanh):
4339 * floatfns.c (Fcosh):
4340 * floatfns.c (Fsinh):
4341 * floatfns.c (Ftanh):
4342 * floatfns.c (Fabs):
4343 * floatfns.c (Ffloat):
4344 * floatfns.c (Flogb):
4345 * floatfns.c (Fceiling):
4346 * floatfns.c (Ffloor):
4347 * floatfns.c (Fround):
4348 * floatfns.c (Ftruncate):
4349 * floatfns.c (Ffceiling):
4350 * floatfns.c (Fffloor):
4351 * floatfns.c (Ffround):
4352 * floatfns.c (Fftruncate):
4353 * fns.c (Fstring_equal):
4354 * fns.c (Fstring_lessp):
4359 * fns.c (Fsubstring):
4361 * fns.c (Fold_assoc):
4362 * fns.c (assoc_no_quit):
4364 * fns.c (Fold_assq):
4365 * fns.c (assq_no_quit):
4367 * fns.c (Fold_rassoc):
4369 * fns.c (Fold_rassq):
4370 * fns.c (rassq_no_quit):
4371 * fns.c (Fremassoc):
4372 * fns.c (remassoc_no_quit):
4374 * fns.c (remassq_no_quit):
4375 * fns.c (Fremrassoc):
4376 * fns.c (Fremrassq):
4377 * fns.c (remrassq_no_quit):
4379 * fns.c (Fplist_get):
4380 * fns.c (Fplist_put):
4381 * fns.c (Fplist_remprop):
4382 * fns.c (Fplist_member):
4383 * fns.c (Flax_plist_get):
4384 * fns.c (Flax_plist_put):
4385 * fns.c (Flax_plist_remprop):
4386 * fns.c (Flax_plist_member):
4388 * fns.c (Fold_equal):
4390 * fns.c (Fbase64_encode_region):
4391 * fns.c (Fbase64_encode_string):
4392 * fns.c (Fbase64_decode_region):
4394 * frame.c (frame_matches_frame_spec):
4395 * frame.c (device_matches_device_spec):
4396 * frame.c (next_frame):
4397 * frame.c (previous_frame):
4398 * frame.c (Fnext_frame):
4399 * frame.c (Fprevious_frame):
4400 * frame.c (Fframe_property):
4401 * frame.c (Fset_frame_height):
4402 * frame.c (Fset_frame_size):
4406 * glyphs.c (decode_error_behavior_flag):
4407 * glyphs.c (Fmake_image_instance):
4408 * indent.c (Findent_to):
4409 * intl.c (Fignore_defer_gettext):
4410 * keymap.c (Fkeymapp):
4411 * keymap.c (Flookup_key):
4413 * lread.c (Fload_internal):
4414 * lread.c (Feval_buffer):
4415 * lread.c (Feval_region):
4416 * macros.c (Fexecute_kbd_macro):
4417 * marker.c (set_marker_internal):
4418 * marker.c (Fset_marker):
4419 * marker.c (set_marker_restricted):
4420 * marker.c (Fcopy_marker):
4421 * marker.c (noseeum_copy_marker):
4423 * menubar.c (Fpopup_menu):
4425 * mule-charset.c (Fcharset_name):
4426 * mule-charset.c (Fchar_charset):
4427 * mule-charset.c (Fchar_octet):
4428 * mule-charset.c (Fsplit_char):
4429 * mule-wnnfns.c (Fwnn_open):
4430 * mule-wnnfns.c (Fwnn_dict_comment):
4431 * mule-wnnfns.c (Fwnn_quit_henkan):
4432 * mule-wnnfns.c (Fwnn_word_toroku):
4433 * mule-wnnfns.c (Fwnn_word_sakujo):
4434 * mule-wnnfns.c (Fwnn_word_use):
4435 * mule-wnnfns.c (Fwnn_hindo_set):
4437 * objects.c (Fmake_color_instance):
4438 * objects.c (Fmake_font_instance):
4439 * print.c (Fwrite_char):
4441 * process.c (mark_process):
4442 * process.c (print_process):
4443 * process.c (get_process_from_usid):
4444 * process.c (Fprocessp):
4445 * process.c (Fprocess_live_p):
4446 * process.c (Fget_process):
4447 * process.c (Fget_buffer_process):
4448 * process.c (get_process):
4449 * process.c (Fprocess_id):
4450 * process.c (Fprocess_name):
4451 * process.c (Fprocess_command):
4452 * process.c (init_process_io_handles):
4453 * process.c (start_process_unwind):
4454 * process.c (Fstart_process_internal):
4455 * process.c (Fopen_multicast_group_internal):
4456 * process.c (Fset_process_window_size):
4457 * process.c (read_process_output):
4458 * process.c (send_process):
4459 * process.c (Fprocess_tty_name):
4460 * process.c (Fset_process_buffer):
4461 * process.c (Fprocess_buffer):
4462 * process.c (Fprocess_mark):
4463 * process.c (set_process_filter):
4464 * process.c (Fset_process_filter):
4465 * process.c (Fprocess_filter):
4466 * process.c (Fprocess_send_region):
4467 * process.c (Fprocess_send_string):
4468 * process.c (exec_sentinel):
4469 * process.c (Fset_process_sentinel):
4470 * process.c (Fprocess_sentinel):
4471 * process.c (status_notify):
4472 * process.c (Fprocess_status):
4473 * process.c (Fprocess_exit_status):
4474 * process.c (process_send_signal):
4475 * process.c (Fprocess_send_eof):
4476 * process.c (deactivate_process):
4477 * process.c (remove_process):
4478 * process.c (Fdelete_process):
4479 * process.c (kill_buffer_processes):
4480 * process.c (Fprocess_kill_without_query):
4481 * process.c (Fprocess_kill_without_query_p):
4483 * rangetab.c (Fget_range_table):
4484 * rangetab.c (Fput_range_table):
4485 * rangetab.c (Fremove_range_table):
4486 * rangetab.c (Fclear_range_table):
4488 * search.c (Fskip_chars_forward):
4489 * search.c (Fskip_chars_backward):
4490 * search.c (Fskip_syntax_forward):
4491 * search.c (Fskip_syntax_backward):
4492 * search.c (search_command):
4493 * search.c (Freplace_match):
4494 * search.c (Fregexp_quote):
4495 * select.c (Fown_selection_internal):
4496 * select.c (Fselection_owner_p):
4497 * select.c (Fselection_exists_p):
4498 * select.c (Fget_selection_internal):
4501 * symbols.c (Fintern):
4502 * symbols.c (Fintern_soft):
4503 * symbols.c (Funintern):
4504 * symbols.c (Fapropos_internal):
4505 * symbols.c (Fset_default):
4507 * syntax.c (Fsyntax_table_p):
4508 * syntax.c (Fcopy_syntax_table):
4509 * syntax.c (Fset_syntax_table):
4510 * syntax.c (Fchar_syntax):
4511 * syntax.c (syntax_match):
4512 * syntax.c (Fmatching_paren):
4513 * syntax.c (Fforward_word):
4514 * syntax.c (scan_lists):
4515 * syntax.c (Fscan_lists):
4516 * syntax.c (Fscan_sexps):
4517 * syntax.c (Fparse_partial_sexp):
4518 * toolbar.c (Fcheck_toolbar_button_syntax):
4521 * window.c (Fwindowp):
4522 * window.c (Fwindow_live_p):
4523 * window.c (Fwindow_point):
4524 * window.c (Fdelete_window):
4525 * window.c (Fnext_window):
4526 * window.c (Fprevious_window):
4527 * window.c (Fother_window):
4528 * window.c (window_loop):
4529 * window.c (Fget_lru_window):
4530 * window.c (Fsplit_window):
4531 * window.c (Fenlarge_window):
4532 * window.c (Fenlarge_window_pixels):
4533 * window.c (Fshrink_window):
4534 * window.c (Fshrink_window_pixels):
4535 * window.c (change_window_height):
4536 * window.c (Fwindow_configuration_p):
4537 * window.c (Fcurrent_window_configuration):
4539 * casefiddle.c (casify_object):
4540 * casefiddle.c (Fupcase):
4541 * casefiddle.c (Fdowncase):
4542 * casefiddle.c (Fcapitalize):
4543 * casefiddle.c (Fupcase_initials):
4544 * casefiddle.c (casify_region_internal):
4545 * casefiddle.c (casify_region):
4546 * casefiddle.c (Fupcase_region):
4547 * casefiddle.c (Fdowncase_region):
4548 * casefiddle.c (Fcapitalize_region):
4549 * casefiddle.c (Fupcase_initials_region):
4550 * casefiddle.c (Fupcase_word):
4551 * casefiddle.c (Fdowncase_word):
4552 * casefiddle.c (Fcapitalize_word):
4553 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
4554 Replace 0 with '\0' when working with bytes.
4555 Replace initial "(" with "\(" in docstrings.
4557 2000-11-01 Martin Buchholz <martin@xemacs.org>
4559 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
4561 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
4563 2000-10-31 Martin Buchholz <martin@xemacs.org>
4565 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
4567 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4569 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
4572 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4574 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
4575 (inhibit_auto_save_session): New variable.
4576 (vars_of_fileio): Declare and initialize them.
4577 * fileio.c (Fdo_auto_save): Don't create session file if
4578 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
4580 2000-10-31 Martin Buchholz <martin@xemacs.org>
4582 * sgiplay.c (play_internal): C++ compilability.
4583 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
4584 * callproc.c (Fold_call_process_internal):
4585 Remove unused vars `env', `first'.
4586 * scrollbar.c (update_scrollbar_instance):
4587 #### unused var `current_window'.
4588 * redisplay-tty.c: Put currently unused vars insert_mode_on,
4589 etc. within #ifdef NOT_YET.
4590 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
4591 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
4592 * specifier.c (specifier_instance):
4593 #### unused var `tag'.
4594 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
4596 2000-10-27 Martin Buchholz <martin@xemacs.org>
4599 * fns.c (list_sort):
4600 * fns.c (Ffillarray):
4601 * fns.c (bytecode_nconc2):
4604 * fns.c (Fmapconcat):
4605 Be pedantically 64-bit correct. For the time when someone will
4606 want to have a list with length > 2**32.
4608 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
4609 Work around MIPSpro compiler bug.
4611 * process-unix.c (unix_kill_child_process): Add snarky comment.
4612 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
4614 * config.h.in: Oops, _getpt ==> _getpty
4616 2000-10-26 Martin Buchholz <martin@xemacs.org>
4620 Use void*, not char*, as return type of alloca().
4622 * alloc.c (free_marker): Side effect inside assert expression!
4624 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
4626 * mule-charset.c (Fset_charset_ccl_program): To check
4627 if the given ccl program is valid, use setup_ccl_program()
4628 instead of CHECK_VECTOR().
4629 (Fmake_charset): Likewise.
4631 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
4633 * faces.c (get_extent_fragment_face_cache_index):
4634 Fix cachel.merged_faces memory leak.
4636 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
4638 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
4639 Reset MSB of octets obtained by DECODE_SJIS
4640 because of the incompatibility with Emacs.
4641 (ccl_driver)<CCL_ENCODE_SJIS>:
4642 Set MSB of octets before passing them to
4643 ENCODE_SJIS because of the incompatibility
4646 2000-10-18 Daiki Ueno <ueno@unixuser.org>
4648 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
4649 (DECLARE_LRECORD): Undo the last change.
4650 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
4652 2000-10-17 Daiki Ueno <ueno@unixuser.org>
4654 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
4655 the implementation to lrecord_implementations_table.
4657 2000-10-14 Daiki Ueno <ueno@unixuser.org>
4659 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
4660 initial value of `lrecord_type_##c_name' and
4661 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
4662 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
4663 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
4664 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
4665 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
4667 2000-10-17 Martin Buchholz <martin@xemacs.org>
4669 * miscplay.c (sndcnv8S_2mono):
4670 (sndcnv2monounsigned):
4671 (sndcnvULaw_2linear):
4673 Remove implementation-defined behavior.
4675 2000-10-12 Martin Buchholz <martin@xemacs.org>
4677 * input-method-xlib.c: Warning suppression.
4679 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
4681 * mule-ccl.c: Sync up with Emacs 21.0.90.
4682 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
4684 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
4686 (ccl_driver[WriteMultibyteChar2]): Bug fix.
4687 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
4688 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
4689 leading char belongs to official 2-dimensional charset.
4690 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
4691 write the given character as is. Otherwise,
4692 if it is a multibyte char, convert it by
4693 non_ascii_set_charptr_emchar, then write it.
4694 (CCL_WRITE_STRING): Likewise.
4695 (ccl_get_compiled_code): New function.
4696 (setup_ccl_program): When ccl_prog is invalid,
4698 (Fregister_code_conversion_map): New function.
4699 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
4701 * mule-ccl.h: Sync up with Emacs 21.0.90.
4702 (Fregister_ccl_program): export it.
4704 * redisplay-msw.c (separate_textual_runs):
4705 If ccl program is not valid, don't do ccl conversion.
4707 * redisplay-x.c (separate_textual_runs): Ditto.
4709 * file-coding.c (Fmake_coding_system):
4710 When type is ccl and value is vector, register it
4711 with a proper symbol. And checks whether the
4712 given ccl program is valid.
4713 (mule_decode): When calling ccl_driver, if src indicates
4714 NULL pointer, set an empty string instead.
4715 (mule_encode): Likewise.
4717 2000-10-11 Martin Buchholz <martin@xemacs.org>
4719 The following large batch of changes gets us back to a state of
4720 C++ compilability. Extbyte is now a char, which means that
4721 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
4723 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
4725 * sound.c (Fplay_sound): Type correctness.
4727 * select-x.c (hack_motif_clipboard_selection): Type correctness.
4728 (x_get_window_property): Type correctness.
4729 (receive_incremental_selection): unsigned char ==> Extbyte
4730 (selection_data_to_lisp_data): unsigned char ==> Extbyte
4731 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
4732 (Fx_store_cutbuffer_internal): Type correctness.
4734 * process-unix.c (try_to_initialize_subtty): Type correctness.
4736 * objects-x.c (x_print_color_instance): Type correctness.
4737 (x_print_font_instance): Type correctness.
4738 (x_list_fonts): SExtbyte ==> Extbyte.
4739 (valid_x_font_name_p): SExtbyte ==> Extbyte.
4740 (x_find_charset_font): SExtbyte ==> Extbyte.
4741 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
4742 (truename_via_XListFonts): SExtbyte ==> Extbyte.
4743 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
4746 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
4747 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
4748 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
4749 (BYTE_C0_P): Use bit ops for char-signedness safety.
4750 (BYTE_C1_P): Use bit ops for char-signedness safety.
4751 (CHARSET_BY_LEADING_BYTE):
4752 (CHARSET_BY_ATTRIBUTES):
4753 Always use inline function.
4754 Use type_checking_assert.
4757 * mule-charset.c (non_ascii_charptr_copy_char):
4758 Modify to work with both ASCII and non-ASCII characters.
4759 Improve docs and variable names.
4760 Replace over-clever fall-through switch with a simple loop.
4761 (Lstream_get_emchar_1):
4762 Replace over-clever fall-through switch with a simple loop.
4764 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4765 Warning suppression.
4767 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
4768 the return value of Lstream_getc, which could be EOF as well.
4770 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
4772 * lisp.h: Make Extbyte a char, not unsigned char, so that external
4773 APIs can be used on Extbytes without casts. Risky!
4777 * input-method-xlib.c (XIM_init_device):
4778 Use Xlib.h instead of IntrinsicP.h.
4779 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
4780 which will break in X11R7.
4781 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
4782 to call XRegisterIMInstantiateCallback with correct types.
4784 * gui-x.c (button_item_to_widget_value): Type correctness.
4786 * glyphs.c (bitmap_to_lisp_data): Type correctness.
4788 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
4789 (xbm_instantiate_1): Type correctness.
4790 (BUILD_GLYPH_INST): Type correctness.
4792 * fileio.c (Fsubstitute_in_file_name): Type correctness.
4795 (decode_coding_sjis):
4796 (decode_coding_big5):
4797 (decode_coding_ucs4):
4798 (decode_coding_utf8):
4799 (decode_coding_iso2022):
4800 (decode_coding_no_conversion):
4801 Make all decoding functions take an Extbyte * arg.
4802 (encode_coding_sjis):
4803 (encode_coding_big5):
4804 (encode_coding_ucs4):
4805 (encode_coding_utf8):
4806 (encode_coding_iso2022):
4807 (encode_coding_no_conversion):
4808 Make all encoding functions take a Bufbyte * arg.
4809 Use size_t instead of unsigned int for memory sizes.
4810 Only cast to unsigned char whenever dereferencing Extbyte *.
4812 * doc.c (unparesseuxify_doc_string): Type correctness.
4814 * console-x.c (split_up_display_spec):
4815 Rewrite without using details of internal string representation.
4816 (x_semi_canonicalize_device_connection): Type correctness.
4819 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
4820 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
4821 (HAVE_XFREE386): Removed.
4823 * buffer.h (DEC_CHARPTR): `const' correctness.
4824 (bufbyte_strcmp): New.
4825 (bufbyte_memcmp): New.
4827 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
4829 * buffer.h (XCHAR_OR_CHAR_INT):
4830 Always use inline function.
4831 Remove redundant type checking assert() - XINT will abort quite nicely.
4833 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4835 * search.c (Freplace_match): Set newtext to an empty string.
4837 2000-10-10 Martin Buchholz <martin@xemacs.org>
4839 * s/decosf1-3.h: Remove #include of stropts.h
4840 * s/ptx.h: Remove #include of stropts.h
4841 * s/usg5-4.h: Remove #include of stropts.h
4844 Use stropts.h, not sys/stropts.h.
4845 Use strtio.h, not sys/strtio.h.
4847 2000-10-04 Martin Buchholz <martin@xemacs.org>
4849 * XEmacs 21.2.36 is released.
4851 2000-09-21 Andy Piper <andy@xemacs.org>
4853 * glyphs-x.c (x_redisplay_widget): make sure non-structural
4854 changes still involve copying the widget tree.
4855 (update_widget_face): make sure a change is register in the widget
4856 tree. Call update_tab_widget_face appropriately.
4857 (update_tab_widget_face): ditto.
4858 (x_tab_control_redisplay): make sure non-structural changes still
4859 involve copying the widget tree.
4861 2000-08-31 Daiki Ueno <ueno@unixuser.org>
4863 * lread.c (locate_file): Check the path element is non-nil.
4865 2000-10-02 Martin Buchholz <martin@xemacs.org>
4867 * lisp.h: Warning suppression for SCO compilers.
4869 * redisplay-tty.c (reset_tty_modes): Fix crash.
4870 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
4872 2000-09-27 Martin Buchholz <martin@xemacs.org>
4874 Big signal/process handling overhaul. Bugs fixed:
4875 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
4876 M-x comint-kill-subjob should work for both values nil and t of
4877 process-connection-type. It was broken on most platforms.
4878 Testing on Irix and Cygwin still needed. Other plaforms tested.
4879 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
4880 * process-unix.c: Signal/Process handling overhaul.
4881 (pty_name): make 64 bytes, as `expect' does, for paranoia.
4882 (allocate_pty): Use all available modern methods of allocating
4883 ptys, falling back to old style BSD allocation as a last resort.
4884 Use allegedly more secure Unix98 pty allocation by default.
4885 (allocate_pty_the_old_fashioned_way): New. the last resort.
4886 (unix_create_process): Push ptem, ldterm, ttcompat where
4887 available. Autoconfiscate.
4888 (try_to_initialize_subtty): New.
4889 (unix_kill_child_process): Proper signal handling for ptys on most
4890 platforms, using special knowledge of AIX, BSD, etc...
4891 (unix_create_process): Always disconnect_controlling_terminal() for
4892 subprocesses, whether using ptys or not.
4893 * process.h: Remove old getpt-dependent PTY code.
4894 * process.c (Fprocess_send_signal): New, obvious generic function.
4895 (decode_signal): New.
4896 (Finterrupt_process):
4900 (Fcontinue_process):
4901 (Fsignal_process): Use decode_signal.
4902 (process_send_signal):
4903 Many docstring corrections.
4904 Allow any signal to be sent to a process object.
4905 * config.h.in: Add symbols for big signal/process overhaul.
4906 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
4907 * sysproc.h: Include process-related headers, where available:
4908 sys/stropts.h sys/strtio.h pty.h libutil.h
4916 Remove old S&M pty stuff.
4917 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
4918 * systty.h: Simplify cpp hackery, improve comments.
4919 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
4921 * editfns.c (Fformat_time_string):
4922 Be a little more paranoid with the return value of ctime.
4924 * fileio.c (check_executable):
4926 Use symbolic constants X_OK, W_OK.
4928 * console-x.c (split_up_display_spec): Fix a warning.
4930 2000-10-02 Martin Buchholz <martin@xemacs.org>
4932 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
4933 * ntproc.c (sys_spawnve): make_string ==> build_string
4934 Small clarity improvements.
4936 2000-09-30 Martin Buchholz <martin@xemacs.org>
4938 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
4940 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
4942 * config.h.in (HAVE_STRCASECMP): Remove.
4944 2000-09-29 Martin Buchholz <martin@xemacs.org>
4946 * redisplay-output.c (redisplay_output_pixmap):
4947 Cleaner and possibly more 64-bit correct code.
4949 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
4951 * dumper.c (pdump_load_finish): move restoration of
4952 `noninteractive1' to emacs.c (main_1).
4953 * emacs.c (main_1): protect LISP-visible command-line flags
4956 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
4958 * Makefile.in.in (versionclean): Use EXE_TARGET and
4959 DUMP_TARGET instead of literal program names.
4961 2000-09-20 Martin Buchholz <martin@xemacs.org>
4963 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
4965 2000-09-19 Martin Buchholz <martin@xemacs.org>
4967 * *: Spelling mega-patch
4969 2000-09-19 Martin Buchholz <martin@xemacs.org>
4971 * fns.c (bad_bad_turtle):
4972 Delete "Eek!" comment, since we fixed the bug to which it refers.
4974 2000-09-16 Martin Buchholz <martin@xemacs.org>
4976 * alloca.c: Replace REGISTER with register.
4978 2000-09-16 Daiki Ueno <ueno@unixuser.org>
4980 * file-coding.c (ucs_to_char): Use countof.
4982 2000-09-16 Martin Buchholz <martin@xemacs.org>
4984 * file-coding.c: (ucs_to_char):
4985 (complex_vars_of_file_coding):
4986 Use countof instead of sizeof.
4987 Use CHECK_NATNUM instead of CHECK_INT.
4989 * sysdep.c (strcasecmp): Remove.
4990 * device-x.c (ascii_strcasecmp): New.
4991 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
4992 Avoid using non-standard non-portable strcasecmp.
4994 2000-09-16 Martin Buchholz <martin@xemacs.org>
4996 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
4997 * font-lock.c: remove reference to emacsfns.h.
4998 * search.c: small doc improvement.
4999 * event-Xt.c: correct file names in comments.
5000 * console-x.h Correct file names in comments.
5001 * frame.c: Correct file names in comments.
5002 * event-stream.c: remove Energize from comments.
5004 2000-09-15 Martin Buchholz <martin@xemacs.org>
5006 * symeval.h (DEFERROR_STANDARD):
5009 (DEFSYMBOL_NO_DUMP):
5010 (DEFSYMBOL_MULTIWORD_PREDICATE):
5011 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5013 The construct &##name is not sensible C.
5014 Fixes compilation errors with Unixware native compiler.
5016 2000-09-14 Martin Buchholz <martin@xemacs.org>
5018 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5019 (next_frame_internal): Removed. We now just have next_frame.
5021 Write a simpler and cleaner one-pass algorithm.
5022 Remove called_from_delete_device arg and #ifdefed-out code.
5024 Renamed from prev_frame. Update callers.
5025 Cleaned up to have an analogous implementation to next_frame.
5026 (other_visible_frames_internal): Remove the
5027 called_from_delete_device bogus arg, and hence, remove this
5028 function. Just use other_visible_frames().
5030 * window.c (Fnext_window):
5032 Since next_frame() is guaranteed to return a frame, remove check
5033 for nil inserted in previous patch.
5036 Make code look more like Fnext_window.
5038 Respect the `console' arg when iterating through windows.
5039 Fixes bug: (get-buffer-window buffer t device) not respecting
5041 This function needs more work, as others have pointed out.
5043 * frame.h: Rename prev_frame to previous_frame.
5044 device_matches_console_spec no longer takes a `frame' arg.
5049 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5050 From "Golubev I. N." <gin@mo.msk.ru>.
5052 * make-src-depend: Fix typo.
5054 2000-09-13 Martin Buchholz <martin@xemacs.org>
5056 * window.c (Fnext_window):
5057 next_frame() might return nil, not a frame.
5059 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5061 * frame.c (next_frame_internal):
5062 We've passed a frame if we've passed its device.
5064 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5065 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5067 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5069 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5070 Allow option to suppress accelerators in menu/dialog items.
5071 (populate_or_checksum_helper): Pass dialog title through above.
5073 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
5075 * event-msw.c (mswindows_key_to_emacs_keysym):
5076 Add "pause" key, fix "menu" key.
5078 2000-09-09 Martin Buchholz <martin@xemacs.org>
5080 * eval.c (reinit_vars_of_eval):
5081 Increase max_lisp_eval_depth to 1000,
5082 required for thai-xtis.el to byte-compile under some circumstances.
5084 2000-09-04 Martin Buchholz <martin@xemacs.org>
5086 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
5089 2000-09-01 Martin Buchholz <martin@xemacs.org>
5091 * make-src-depend: Make the generated Makefiles smaller.
5093 * s/hpux.h (SETUP_SLAVE_PTY):
5094 Provide a %d in the format string for the errno argument.
5096 * editfns.c (Ftemp_directory):
5098 Avoid buffer overrun on very long file name.
5100 * input-method-xlib.c (XIM_init_device):
5101 6th parameter of XRegisterIMInstantiateCallback has different
5102 pointer types on different OSes, so simply cast to (void *).
5104 * unexhp9k800.c: Warning fixes. Fiddly changes.
5106 * sysdll.c (dll_open):
5107 shl_load will hang hard if passed a NULL filename.
5108 Simply return NULL for compatibility with dlopen.
5109 * sysdll.c: Conform to XEmacs coding standards.
5111 * sysdep.c (get_pty_max_bytes):
5112 Support pty input lines longer than 512 bytes on HP-UX 10.20.
5114 2000-08-31 Martin Buchholz <martin@xemacs.org>
5116 * tooltalk.c: Add #include <syssignal.h>
5118 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5120 * s/hpux.h: Don't use undefined function sigunblock().
5122 2000-08-31 Martin Buchholz <martin@xemacs.org>
5124 * config.h.in: Add HAVE_BALLOON_HELP.
5125 * emacs.c: Use HAVE_BALLOON_HELP.
5126 * Makefile.in.in (x_objs):
5127 Make Balloon Help conditional on finding shape.h.
5129 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5131 * syntax.c (regex_emacs_buffer_p): New variable.
5132 * syntax.h (regex_emacs_buffer_p): extern.
5133 * search.c (looking_at_1):
5135 (fast_string_match):
5136 (search_buffer): Set regex_emacs_buffer_p.
5137 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
5138 when before_dot, at_dot, after_dot.
5140 2000-08-23 Andy Piper <andy@xemacs.org>
5142 * gui-x.c (popup_selection_callback): Only set action_occurred
5143 when we really have an image instance.
5144 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5146 2000-08-23 Andy Piper <andy@xemacs.org>
5148 * gui-msw.c (mswindows_handle_gui_wm_command): set
5150 * gui-x.c (popup_selection_callback): ditto.
5152 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
5153 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
5154 (struct Lisp_Image_Instance): add action_occurred flag.
5156 * glyphs.c (redisplay_subwindow): use action_occurred flag.
5157 (image_instance_changed): ditto.
5158 (reset_frame_subwindow_instance_cache): only unmap windows - do
5159 not remove them from the cache also.
5161 * glyphs-widget.c (tab_control_update): better debug.
5162 (progress_gauge_update): ditto.
5163 (layout_update): ditto.
5164 (layout_instantiate): ditto.
5165 (tab_control_order_only_changed): cope with null pending items.
5167 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
5168 debug. Force selection of an item when an action occurred. Cope
5169 with null pending_items.
5170 (mswindows_progress_gauge_redisplay): better debug.
5171 * glyphs-x.c (x_tab_control_redisplay): ditto.
5173 * redisplay.c (redisplay_frame): reset the frame cache if the
5176 * window.c (Fset_window_configuration): potentially re-enable
5178 (window_unmap_subwindows): need to finalize instances here since
5179 it is only used in mark_window_as_deleted.
5181 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
5183 * nas.c (SndOpenDataForReading):
5184 nas.c (WaveOpenDataForReading):
5185 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
5186 Somehow escaped from the 2000-08-14 patch.
5188 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5190 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
5191 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
5193 2000-08-21 Andy Piper <andy@xemacs.org>
5195 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
5196 window if it is not already displayed.
5198 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
5199 it is not already displayed.
5201 * window.c (Fset_window_configuration): don't reset the frame
5204 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
5205 instances from the frame cache if we are actually finalizing them.
5206 (reset_frame_subwindow_instance_cache): reset frame cache only
5207 after unmapping everything.
5208 (map_subwindow): set displayed flag after mapping.
5210 2000-08-21 Martin Buchholz <martin@xemacs.org>
5212 * data.c (indirect_function):
5213 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
5215 * eval.c (function_argcount):
5216 Use original function when signaling errors.
5218 2000-08-18 Andy Piper <andy@xemacs.org>
5220 * frame.c (delete_frame_internal): use new
5221 free_frame_subwindow_instances name.
5223 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
5224 (add_tab_item): make return type correct.
5225 (mswindows_tab_control_instantiate): assert index of tab.
5226 (mswindows_tab_control_redisplay): Re-code to use
5227 gui_item_equal_sans_selected and gui_item_list_find_selected.
5229 * glyphs-widget.c (tab_control_update): Correct comment.
5231 * window.c (window_unmap_subwindows): use new
5232 unmap_subwindow_instance_cache_mapper.
5233 (window_unmap_subwindows_cache_mapper): deleted.
5234 (Fset_window_configuration): comparisons should now be with
5235 EQ. Preserve the subwindow instance cache across configuration
5237 (allocate_window): ditto.
5238 (make_dummy_parent): ditto.
5240 * glyphs.c (free_frame_subwindow_instances): rename from
5241 free_frame_subwindow_instance_cache. finalize all instances rather
5242 than just those in the display cache.
5243 (finalize_all_subwindow_instances): walk windows unmapping and
5244 finalizing subwindows.
5245 (unmap_subwindow_instance_cache_mapper): moved from
5246 window.c. Allow finalization as well as unmapping.
5248 * gui.c (gui_item_list_find_selected): new function.
5250 * gui.h (gui_item_list_find_selected): declare.
5252 * glyphs-x.c (x_tab_control_redisplay): pick tab
5253 explicitly. Re-code to use gui_item_equal_sans_selected and
5254 gui_item_list_find_selected.
5256 * glyphs-x.h: add lwlib-utils.h
5258 * buffer.c (Frecord_buffer): undo previous change.
5260 2000-08-09 Vin Shelton <acs@xemacs.org>
5262 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
5263 possible. Create temporary files more securely. The patch was
5264 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
5265 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
5266 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
5269 2000-08-07 Ben Wing <ben@xemacs.org>
5271 * getloadavg.c: remove duplicate (and windows-breaking)
5272 includes of fcntl.h and sys/file.h.
5274 * nt.c: remove duplicate getloadavg() definition.
5276 * sysdll.h (Qdll_filename_encoding): add missing stand-in
5279 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
5281 * eval.c (function_argcount): If function needs to be autoloaded
5282 actually use the loaded definition.
5285 2000-08-05 Ben Wing <ben@xemacs.org>
5287 * getloadavg.c: add prototype for getloadavg(). remove
5288 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
5289 of the code). remove duplicate header includes.
5291 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
5293 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
5294 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
5295 useful load average.
5297 * alloc.c (reinit_alloc_once_early): removed references to
5298 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
5299 the lisp vars are the only things referencing the malloc_sbrk_*
5300 vars, and they were already if 0'd out. these vars only exist
5301 in the older malloc.c, which is basically unused, and they're
5302 only for informational purposes.
5304 * m\*.h: removed useless VIRT_ADDR_VARIES.
5306 * m\powerpc.h: removed stray NO_ARG_ARRAY.
5308 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
5310 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
5311 color if the image is a mono pixmap.
5313 2000-07-30 Ben Wing <ben@xemacs.org>
5315 * Makefile.in.in (release):
5318 * buffer.c (directory_is_current_directory):
5319 * dired-msw.c (mswindows_get_files):
5321 * dired.c (Fdirectory_files):
5322 * dired.c (file_name_completion_stat):
5323 * dired.c (Ffile_attributes):
5324 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
5325 preprocessor tricks, to avoid problems on some machines
5328 * callproc.c (egetenv): GC docs.
5331 * console-msw.h (struct mswindows_dialog_id):
5332 * lrecord.h (lrecord_type):
5333 New object for use with MSW dialogs.
5335 * console.h (struct console_methods):
5336 New enable/disable frame methods, for proper modal dialogs.
5338 * device-msw.c (msprinter_default_printer): Fix to follow
5339 proper Mule conventions.
5342 * device-msw.c (signal_open_printer_error):
5343 * device-msw.c (msprinter_init_device):
5344 * device-msw.c (ensure_not_printing):
5345 * device-msw.c (plist_get_margin):
5346 * device-msw.c (Fmsprinter_select_settings):
5347 * device-msw.c (finalize_devmode):
5348 * device-msw.c (Fmsprinter_settings_despecialize):
5349 * device-msw.c (signal_enum_priner_error):
5350 * extents.c (decode_extent):
5351 * extents.c (decode_map_extents_flags):
5352 * extents.c (decode_extent_at_flag):
5353 * extents.c (Fextent_at):
5354 * extents.c (Fextents_at):
5355 * extents.c (symbol_to_glyph_layout):
5356 [[[[2]]]] Use structured errors.
5359 * dialog-msw.c (mswindows_is_dialog_msg):
5360 * dialog-msw.c (mark_mswindows_dialog_id):
5361 * dialog-msw.c (dialog_proc):
5362 * dialog-msw.c (handle_question_dialog_box):
5363 * dialog-msw.c (syms_of_dialog_mswindows):
5364 Define new object to clean up marking; use it as a dialog identifier.
5365 Call new delete-dialog-box-hook.
5367 * dialog-x.c (dbox_selection_callback):
5368 * dialog-x.c (dbox_descriptor_to_widget_value):
5369 * dialog-x.c (x_make_dialog_box_internal):
5370 Call new delete-dialog-box-hook.
5374 * dialog.c (syms_of_dialog):
5375 * dialog.c (vars_of_dialog):
5376 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
5379 * eval.c (signal_call_debugger):
5380 when noninteractive, output stack traces on the console instead
5381 of in a (never-seen) buffer.
5383 * eval.c (signal_type_error):
5384 * eval.c (invalid_argument_2):
5386 new funs for use w/structured errors.
5389 * event-Xt.c (x_to_emacs_keysym):
5390 * event-Xt.c (describe_event):
5391 * event-Xt.c (emacs_Xt_event_handler):
5392 * event-Xt.c (vars_of_event_Xt):
5394 * event-msw.c (mswindows_wnd_proc):
5395 * event-msw.c (vars_of_event_mswindows):
5396 rename {x,mswindows}-debug-events to debug-{}-events for
5397 consistency with other debug-foo variables.
5400 document next-event more clearly.
5402 * fileio.c (Ffile_name_directory):
5403 * fileio.c (Ffile_name_nondirectory):
5404 * fileio.c (Funhandled_file_name_directory):
5405 * fileio.c (file_name_as_directory):
5406 * fileio.c (Ffile_name_as_directory):
5407 * fileio.c (directory_file_name):
5408 * fileio.c (Fdirectory_file_name):
5409 * fileio.c (Fmake_temp_name):
5410 * fileio.c (Ffile_truename):
5411 * fileio.c (Fsubstitute_in_file_name):
5412 * fileio.c (expand_and_dir_to_file):
5413 * fileio.c (barf_or_query_if_file_exists):
5414 * fileio.c (check_executable):
5415 * fileio.c (Ffile_exists_p):
5416 * fileio.c (Ffile_writable_p):
5417 * fileio.c (Ffile_directory_p):
5418 * fileio.c (Ffile_regular_p):
5419 * fileio.c (Ffile_modes):
5420 * fileio.c (Ffile_newer_than_file_p):
5421 * fileio.c (Fverify_visited_file_modtime):
5422 * fileio.c (Fset_visited_file_modtime):
5423 * fileio.c (auto_save_1):
5428 * frame-msw.c (mswindows_init_frame_1):
5429 * frame-msw.c (mswindows_enable_frame):
5430 * frame-msw.c (error_frame_unsizable):
5431 * frame-msw.c (msprinter_init_frame_1):
5432 * frame-msw.c (msprinter_init_frame_3):
5433 * frame-msw.c (console_type_create_frame_mswindows):
5435 implement new enable/disable frame methods.
5438 * frame-x.c (x_enable_frame):
5439 * frame-x.c (console_type_create_frame_x):
5440 implement new enable/disable frame methods.
5443 * frame.c (Fdisable_frame):
5444 * frame.c (syms_of_frame):
5445 * frame.h (struct frame):
5446 implement new enable/disable frame methods/functions.
5451 * glyphs-msw.c (mswindows_widget_instantiate):
5452 comment that initial-focus should be implemented.
5455 * glyphs-widget.c (check_valid_instantiator):
5456 * glyphs-widget.c (check_valid_orientation):
5457 * glyphs-widget.c (check_valid_tab_orientation):
5458 * glyphs-widget.c (check_valid_justification):
5459 * glyphs-widget.c (check_valid_border):
5460 * glyphs-widget.c (check_valid_callback):
5461 * glyphs-widget.c (check_valid_int_or_function):
5462 * glyphs-widget.c (check_valid_string_or_vector):
5463 * glyphs-widget.c (check_valid_item_list_1):
5464 * glyphs-widget.c (widget_validate):
5465 * glyphs-widget.c (combo_box_validate):
5466 * glyphs-widget.c (widget_instantiate):
5467 * glyphs-widget.c (syms_of_glyphs_widget):
5468 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
5469 * glyphs-widget.c (image_instantiator_combo_box):
5470 * glyphs-widget.c (image_instantiator_scrollbar):
5471 * glyphs-widget.c (image_instantiator_tab_control):
5472 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
5474 support (unimplemented) keyword initial-focus.
5475 reindent long macros.
5477 * glyphs-x.c (x_redisplay_widget):
5478 * glyphs-x.c (x_button_instantiate):
5479 * glyphs-x.c (x_button_redisplay):
5480 * glyphs-x.c (x_progress_gauge_instantiate):
5481 * glyphs-x.c (x_edit_field_instantiate):
5482 * glyphs-x.c (x_combo_box_instantiate):
5483 * glyphs-x.c (x_tab_control_instantiate):
5484 * glyphs-x.c (x_label_instantiate):
5486 * gui-x.c (button_item_to_widget_value):
5487 * gui-x.c (gui_items_to_widget_values_1):
5488 * gui-x.c (gui_item_children_to_widget_values):
5489 * gui-x.c (gui_items_to_widget_values):
5491 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5492 add new flag to gui-parsing routines to indicate whether
5493 accelerator specs should be supported.
5495 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
5497 * glyphs.h (struct Lisp_Image_Instance):
5498 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
5499 add initial-focus flag.
5502 * gui.c (syms_of_gui):
5503 * gui.c (vars_of_gui):
5504 clean up menu-no-selection-hook.
5507 support delete-dialog-box-hook.
5509 * lread.c (Fload_internal):
5510 * lread.c (locate_file_in_directory_mapper):
5514 * lrecord.h (struct toolbar_button):
5515 * lrecord.h (syms_of_toolbar):
5516 document how to create a new object.
5518 * menubar-msw.c (mswindows_char_is_accelerator):
5519 may be called on frames w/o menus.
5521 * menubar.c (vars_of_menubar):
5522 clean up :filter docs.
5529 * process-nt.c (validate_signal_number):
5530 * process-nt.c (signal_cannot_launch):
5531 * process-nt.c (nt_create_process):
5532 * process-nt.c (nt_send_process):
5533 * process-nt.c (nt_kill_child_process):
5534 * process-nt.c (nt_open_network_stream):
5535 * process-nt.c (syms_of_process_nt):
5537 delete quote-handling. call new lisp code that does it better.
5539 * process-unix.c (connect_to_file_descriptor):
5540 * process-unix.c (allocate_pty):
5541 * process-unix.c (unix_send_process):
5542 * process-unix.c (unix_kill_child_process):
5543 * process-unix.c (unix_open_network_stream):
5544 * process-unix.c (unix_open_multicast_group):
5548 * process.c (Fstart_process_internal):
5549 (2). need to canonicalize process path even if absolute.
5551 * select-msw.c (symbol_to_ms_cf):
5552 * select-msw.c (ms_cf_to_symbol):
5553 * select-msw.c (cf_is_autofreed):
5554 * select-msw.c (mswindows_destroy_selection):
5556 * select.c (syms_of_select):
5558 support dibv5, fix bugs. (from Mike Alexander)
5560 * select.c (Fget_selection_internal):
5561 * select.c (select_convert_out):
5564 * sysdep.c (xemacs_stat):
5569 but keep original stat() here because we provide encapsulation
5573 * sysfile.h (fstat):
5574 remove stat garbage.
5578 don't include tchar.h. it's inappropriate because it makes
5579 compile-time distinctions when we want runtime distinctions.
5580 (we provide our own tchar replacements)
5583 use default object printer for toolbar-button.
5586 make sure we don't encapsulate.
5588 * window.c (vars_of_window):
5589 emphasize that temp-buffer-show-hook is obsolete.
5591 2000-08-05 Martin Buchholz <martin@xemacs.org>
5593 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
5594 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
5596 * events.c (Fevent_timestamp_lessp):
5597 Not 64-bit clean. Use EMACS_INT, not int.
5599 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
5601 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
5602 unsigned int and changed the last enum to
5603 lrecord_type_last_built_in_type.
5604 (lrecord_implementations_table): changed prototype to know how
5605 long the array is supposed to be.
5606 (lrecord_type_count): new unsigned int to keep track of the
5607 current number of lisp lrecord types.
5608 (DEFINE_EXTERNAL_LRECORD):
5609 (DECLARE_EXTERNAL_LRECORD): Added these two for external
5610 dynamic-modules to declare new lisp types. They are the same
5611 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
5612 int for each new type, and increment lrecord_type_count by 1.
5614 * alloc.c (lrecord_implementations_table): Changed to reference
5615 lrecord_type_last_built_in_type for the size of the array.
5616 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
5618 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5620 * glyphs.h (check_valid_item_list): Renamed from
5621 check_valid_item_list_1.
5623 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
5625 * select.c (Qselect_coerce): New.
5626 * select.c (Vselection_coercion_alist): New.
5627 * select.c (syms_of_select): Declare.
5628 * select.c (get-selection-internal): Use it.
5629 Use the new select-coerce functionality.
5631 * select.c (select_coerce): New.
5632 * select.h (select_coerce): Declare.
5633 New function to coerce one type of data into another.
5635 2000-08-03 Martin Buchholz <martin@xemacs.org>
5637 * callproc.c (Fcall_process_internal):
5638 (Fcall_process_internal):
5639 * process-unix.c (unix_create_process):
5640 Save and restore the value of errno, so that error messages are accurate.
5642 2000-08-01 Martin Buchholz <martin@xemacs.org>
5644 * elhash.c (print_hash_table):
5645 Fix printing of hash tables to also use `key-and-value' instead of `t'.
5646 Prettify docstrings and indentation.
5648 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5650 * window.c (Fwindow_pixel_edges): Subtract frame border and
5653 2000-07-31 Andy Piper <andy@xemacs.org>
5655 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
5656 will acknowledge the change.
5658 * glyphs.h: declare tab_control_order_only_changed.
5660 * glyphs-x.c (x_tab_control_redisplay): use
5661 tab_control_order_only_changed.
5663 * glyphs-widget.c (tab_control_order_only_changed): new function.
5665 * glyphs-msw.c (mswindows_tab_control_redisplay): use
5666 tab_control_order_only_changed.
5668 * gui.c (gui_item_equal_sans_selected): new function.
5669 (gui_item_equal): use it.
5671 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
5672 :properties in favor of :items..
5674 * glyphs-widget.c (check_valid_item_list): rename from
5675 check_valid_item_list_1.
5676 (check_valid_item_list_1): renamed.
5677 (combo_box_validate): deprecate :properties in favor of :items.
5678 (widget_instantiate): ditto.
5679 (tab_control_update): ditto.
5680 (image_instantiator_combo_box): ditto.
5681 (image_instantiator_tree_view): ditto.
5682 (image_instantiator_tab_control): ditto.
5683 (layout_post_instantiate): remove dead code.
5685 * print.c (debug_print_no_newline): only write to debugger if in
5688 * elhash.c (Fmake_hash_table): update doc string.
5690 * event-msw.c (mswindows_wnd_proc): don't allow processing of
5691 messages whilst in GC. This at least stops XEmacs crashing but has
5692 the potential for wierd behaviour.
5694 2000-07-31 Martin Buchholz <martin@xemacs.org>
5697 Make existence of s&m files optional.
5699 * s/bsd386.h: Remove HAVE_GETLOADAVG.
5700 * s/freebsd.h: Remove HAVE_GETLOADAVG.
5701 * s/gnu.h: Remove HAVE_GETLOADAVG.
5702 * s/netbsd.h: Remove HAVE_GETLOADAVG.
5703 * s/sol2.h: Remove HAVE_GETLOADAVG.
5704 * lisp.h: Remove getloadavg() declaration.
5706 Include <sys/loadavg.h> if available.
5707 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
5708 * config.h.in: Group together getloadavg()-related macros.
5709 Use only configure-time tests to detect getloadavg().
5711 2000-07-30 Martin Buchholz <martin@xemacs.org>
5713 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
5715 2000-07-25 Andy Piper <andy@xemacs.org>
5717 * syswindows.h: add tchar.h for native builds.
5719 * frame.c (syms_of_frame): remove set-glyph-image.
5721 * general-slots.h: add Qset_glyph_image.
5723 * glyphs-widget.c (layout_update): add domain arg to
5725 (syms_of_glyphs_widget): remove set-glyph-image.
5727 2000-07-23 Ben Wing <ben@xemacs.org>
5729 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
5732 2000-07-22 Andy Piper <andy@xemacs.org>
5734 * symsinit.h: add syms_of_win32().
5736 * gui-msw.c (syms_of_gui_mswindows): remove
5737 Fmswindows_shell_execute.
5738 (Fmswindows_shell_execute): moved to win32.c.
5740 * emacs.c (main_1): add syms_of_win32 ().
5742 * win32.c (init_potentially_nonexistent_functions): rewrite in
5743 compiler-friendly terms.
5744 (Fmswindows_shell_execute): move here from gui-msw.c.
5745 (syms_of_win32): new.
5747 * device-msw.c (Fmswindows_printer_list): clean up args to
5749 Don't include tchar under cygwin or mingw.
5750 (msprinter_default_printer): make cygwin-friendly.
5752 2000-07-21 Andy Piper <andy@xemacs.org>
5754 * glyphs-widget.c (image_instantiator_tree_view): use tab
5755 control's update function.
5756 (layout_property): new function. Retrieve items.
5758 * glyphs-msw.c (mswindows_tree_view_redisplay): new
5759 function. Re-populate the tree view from the pending items.
5761 * glyphs.c (instantiate_image_instantiator): Make sure the domain
5762 is designated the parent if the domain is an image instance. This
5763 is needed so that dirtiness can be cascade up the hierarchy and
5764 thus for layout children to be redisplayed correctly.
5765 (allocate_image_instance): rename glyph -> parent.
5767 * redisplay.h: change redisplay_output_layout signature.
5769 * redisplay-msw.c (mswindows_output_display_block): use domain
5772 * redisplay-x.c (x_output_display_block): use domain arg.
5774 2000-07-10 Andy Piper <andy@xemacs.org>
5776 * window.c (Fset_window_configuration): add comment.
5778 * redisplay-output.c (compare_runes):
5779 (redisplay_output_subwindow): redisplay rather than update subwindow.
5780 (redisplay_output_layout): ditto.
5782 * redisplay-msw.c (mswindows_frame_output_end):
5783 (mswindows_frame_output_end): make defer window pos optional.
5785 * lisp.h: add Flast.
5787 * glyphs.h (struct image_instantiator_methods): add dest_mask top
5788 normalize method. Change update method to be for changed
5789 instantiators. Add redisplay method. Change signature of layout
5791 (struct Lisp_Image_Instance): add instantiator.
5792 (IMAGE_INSTANCE_INSTANTIATOR): new.
5793 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
5794 (XIMAGE_INSTANCE_INSTANTIATOR): new.
5795 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
5798 (find_instantiator_differences): new function.
5799 (Fset_instantiator_property): new convenience function.
5800 (check_image_instance_structure): strictly check for vector
5802 (normalize_image_instantiator): make non-static.
5803 (instantiate_image_instantiator): pass on dest_mask and use new
5804 signatures for image_instance_layout and friends.
5805 (mark_image_instance): mark the instantiator. Mark the subwindow
5806 face not the widget face.
5807 (image_instance_equal): add instantiator.
5808 (image_instance_hash): ditto.
5809 (allocate_image_instance): ditto.
5810 (Fset_image_instance_property): removed.
5811 (Fimage_instance_file_name): ditto.
5812 (Fcolorize_image_instance): ditto.
5813 (image_instance_layout): add offsets to be set.
5814 (update_image_instance): new function. update an image instance
5815 from its changed instantiator.
5816 (inherit_normalize): add dest_mask.
5817 (xbm_normalize): ditto.
5818 (xface_normalize): ditto.
5819 (xpm_normalize): ditto.
5820 (text_update): set_property -> update.
5821 (image_instantiate): use the glyph identity as a hash key, not the
5823 (glyph_width): use new image_instance_layout signature.
5824 (glyph_ascent): ditto.
5825 (glyph_descent): ditto.
5826 (glyph_height): ditto.
5827 (glyph_query_geometry): ressurrect.
5828 (glyph_layout): ditto.
5829 (redisplay_subwindow): update -> redisplay.
5830 (syms_of_glyphs): add Fset_instantiator_property.
5831 (image_instantiator_format_create): set_property -> update.
5834 (autodetect_normalize): add dest_maks to signature.
5835 (x_redisplay_subwindow): update -> redisplay.
5836 (x_redisplay_widget): ditto.
5837 (x_button_redisplay): ditto.
5838 (x_progress_gauge_redisplay): ditto.
5839 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
5841 (console_type_create_glyphs_x): update -> redisplay.
5842 (image_instantiator_format_create_glyphs_x): ditto.
5845 (check_valid_instantiator): disallow glyphs in the instantiator,
5846 they must now be vectors.
5847 (check_valid_instantiator_list): ditto.
5848 (glyph_instantiator_to_glyph): use internal symbol rather than
5850 (widget_update): renamed from widget_set_property. Call cascaded
5852 (redisplay_widget): renamed from update_widget.
5853 (widget_layout): image_instance_layout now takes position as well
5855 (widget_normalize): ditto.
5856 (widget_instantiate): ditto.
5857 (tab_control_query_geometry) ditto.:
5858 (tab_control_update): renamed from tab_control_set_property.
5859 (progress_gauge_update): set_property -> update.
5860 (layout_normalize): rewrite so that child instantiators are
5862 (layout_update): new function. Create glyphs from the normalized
5863 children and cope with any other layout keywords. We do not
5864 instantiate children here that will be take care of by
5865 redisplay_output_layout.
5866 (layout_instantiate): call layout_update and not much else.
5867 (layout_post_instantiate): not sure whether this is needed
5869 (layout_query_geometry): query glyph geometry rather than
5870 image_instance geometry.
5871 (layout_layout): set offsets from pass in parameters. Use glyph
5872 geometry and layout functions rather than image instance ones.
5873 (native_layout_layout): ditto.
5874 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
5875 (image_instantiator_widget): set_property -> update.
5876 (image_instantiator_buttons): ditto.
5877 (image_instantiator_progress_guage): ditto.
5878 (image_instantiator_tab_control): ditto.
5879 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
5880 (image_instantiator_layout): add update method.
5882 * glyphs-msw.c (bmp_normalize):
5883 (mswindows_resource_normalize): add dest_mask so that it can be
5884 proprogated by layout_normalize.
5885 (begin_defer_window_pos): make optional because it may not be the
5886 right thing to do and it introduces differences with X.
5887 (mswindows_unmap_subwindow): ditto.
5888 (mswindows_map_subwindow): ditto.
5889 (mswindows_redisplay_subwindow): renamed from
5890 mswindows_update_subwindow.
5891 (mswindows_redisplay_widget): ditto.
5892 (mswindows_button_redisplay): renamed from
5893 mswindows_button_update. Update is now what the instantiation
5894 function does for a changed instantiator.
5895 (mswindows_progress_gauge_instantiate): set the progress value
5896 here if appropriate.
5897 (mswindows_tab_control_redisplay): cope with re-ordering of the
5898 members of the tab widget by simply selecting the new top
5899 widget. This makes things appear ok if you click on a tab.
5900 (mswindows_combo_box_instantiate): image_instance_layout now takes
5901 position as well as size.
5902 (mswindows_progress_gauge_redisplay): renamed from
5903 mswindows_progress_gauge_update.
5904 (console_type_create_glyphs_mswindows): fix update -> redisplay.
5905 (image_instantiator_format_create_glyphs_mswindows): ditto.
5907 * glyphs-eimage.c (jpeg_normalize):
5910 (tiff_normalize): add dest_mask so that it can be proprogated by
5915 (hash_table_weakness_validate):
5916 (decode_hash_table_weakness):
5917 (Fhash_table_weakness):
5919 (syms_of_elhash): use Ben's naming scheme for hashtable types..
5921 * console.h (struct console_methods): move update_* to
5924 2000-07-20 Ben Wing <ben@xemacs.org>
5926 * *.[ch] (XSETOBJ): remove unused middle argument.
5927 lisp-disunion.h: correct wrap_object() to one argument.
5929 2000-07-15 Ben Wing <ben@xemacs.org>
5932 * s/cygwin32.h (CYGWIN_CONV_PATH):
5933 Add missing logb prototype for v1.1.
5934 Use post-b20 names and alias to pre-b20 names when pre-b20.
5936 * s/windowsnt.h: [5].
5938 2000-07-15 Ben Wing <ben@xemacs.org>
5940 * Makefile.in.in (x_objs):
5941 * Makefile.in.in (sheap_objs):
5942 * Makefile.in.in (objs):
5943 added win32.o, cosmetic cleanups.
5945 * alloc.c (Fmake_byte_code):
5946 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
5947 etc. macros which declare their own args now.
5949 * alloc.c (syms_of_alloc):
5950 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
5953 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
5955 * buffer.c (Fget_file_buffer):
5956 Fixed GCPRO problem.
5958 * buffer.c (get_truename_buffer):
5959 Fixed comment about GC checking.
5961 * buffer.c (syms_of_buffer):
5962 Undeclared those dedicated frame funs.
5966 Define convenience macros for internal/external conversions.
5967 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
5968 and Qenvironment_variable_encoding for cleaner code.
5971 Remove dedicated-frame; in lisp.
5973 * bytecode.c (funcall_compiled_function):
5976 * bytecode.c (syms_of_bytecode):
5980 * console-msw.c (mswindows_show_console): Rewrote.
5982 * console-msw.c (Fmswindows_debugging_output): New.
5983 Sends to OutputDebugString (special MSWin debugger interface).
5985 * console-msw.c (Fmswindows_message_box):
5986 Fixed stupid bugs so it works when called from kill-emacs.
5988 * console-msw.c (syms_of_console_mswindows):
5989 Declare Fmswindows_debugging_output.
5992 New MSWin prototypes.
5994 * console-msw.h (struct mswindows_frame):
5995 New entry last-click-mods for improved button-modifier support.
5997 * console-msw.h (FRAME_MSWINDOWS_POPUP):
5998 New struct entry `popup' with corresponding accessor.
6001 * console-x.c (split_up_display_spec):
6002 * console-x.c (get_display_arg_connection):
6003 * console-x.c (x_semi_canonicalize_console_connection):
6004 * console-x.c (x_canonicalize_device_connection):
6005 [[[6]]]: Change char to more specific type.
6006 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6008 * console-x.c (x_semi_canonicalize_console_connection):
6009 * console-x.c (x_canonicalize_device_connection):
6010 [[[9]]]: Fix up error signalling to use new structured error system.
6013 [[[4]]]: Define codesys aliases:
6014 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6015 Qx_color_name_encoding, Qx_display_name_encoding.
6017 * console.h (struct console_methods):
6018 New method make_dialog_box_internal supersedes older
6019 popup_dialog_box method.
6022 Define many new errors, part of new structured errors.
6024 * data.c (init_errors_once_early):
6025 * data.c (syms_of_data):
6028 * device-msw.c (mswindows_init_device):
6029 [[[5]]]: Cleanup to support NT 3.51.
6031 * device-msw.c (decode_devmode): Cleanup.
6033 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6034 * device-msw.c (mswindows_handle_print_dialog_box):
6035 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6036 * device-msw.c (syms_of_device_mswindows):
6037 Delete the dialog box primitives recently introduced by Kirill and
6038 instead interface to general dialog box interface.
6041 * device-x.c (compute_x_app_name):
6042 * device-x.c (x_init_device):
6043 * device-x.c (Fx_valid_keysym_name_p):
6044 * device-x.c (Fx_set_font_path):
6048 * device.h (wrap_device): New.
6049 First of its kind; meant to replace XSETDEVICE.
6051 * dialog-msw.c: Many file-dialog symbols.
6053 * dialog-msw.c (mswindows_register_popup_frame): New.
6054 * dialog-msw.c (mswindows_is_dialog_msg): New.
6055 For supporting kbd traversal in dialog boxes.
6057 * dialog-msw.c (dialog_proc):
6058 Support hitting ESC in dialogs.
6060 * dialog-msw.c (struct):
6061 Common dialog box errors.
6063 * dialog-msw.c (handle_file_dialog_box): New.
6064 Add file dialog code.
6066 * dialog-msw.c (handle_question_dialog_box):
6067 Redo existing code to support new question dialog syntax.
6069 * dialog-msw.c (console_type_create_dialog_mswindows):
6070 We support new dialog console method.
6072 * dialog-msw.c (syms_of_dialog_mswindows):
6073 * dialog-msw.c (vars_of_dialog_mswindows):
6074 New file dialog symbols, vars.
6077 * dialog-x.c (maybe_run_dbox_text_callback):
6078 * dialog-x.c (dbox_descriptor_to_widget_value):
6079 * dialog-x.c (x_make_dialog_box_internal):
6080 * dialog-x.c (console_type_create_dialog_x):
6081 Mule-ize entire file.
6082 Redo to support question dialog syntax.
6086 * dialog.c (Fmake_dialog_box_internal):
6087 * dialog.c (syms_of_dialog):
6088 Kill old popup-dialog-box, replace with new primitive.
6089 Just call device method or signal error.
6091 * eldap.c (Fldap_open):
6092 * eldap.c (Fldap_search_basic):
6093 * eldap.c (Fldap_add):
6094 * eldap.c (Fldap_modify):
6099 * emacs.c (make_arg_list_1):
6100 * emacs.c (make_arg_list):
6101 Mule-ize call to dll_init().
6105 * emacs.c (make_argc_argv):
6106 * emacs.c (free_argc_argv):
6107 * emacs.c (init_cmdargs):
6109 * emacs.c (Fkill_emacs):
6110 * emacs.c (Fdump_emacs):
6111 Update comments about what can be used in syms_* etc.
6112 Call init_win32() when necessary.
6113 Fix up MS Win dialog box in kill-buffer to actually work right.
6124 * eval.c (condition_case_3):
6126 * eval.c (function_argcount):
6127 * eval.c (funcall_lambda):
6130 * eval.c (type_error): New.
6131 * eval.c (maybe_type_error): New.
6132 * eval.c (continuable_type_error): New.
6133 * eval.c (maybe_continuable_type_error): New.
6134 * eval.c (type_error_with_frob): New.
6135 * eval.c (maybe_type_error_with_frob): New.
6136 * eval.c (continuable_type_error_with_frob): New.
6137 * eval.c (maybe_continuable_type_error_with_frob): New.
6138 New functions for use with structured errors.
6141 * event-Xt.c (x_event_to_emacs_event):
6142 Buttons are now modifiers too.
6144 * event-Xt.c (emacs_Xt_current_event_timestamp):
6145 Implement new event method.
6146 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
6149 * event-msw.c (ntpipe_shove_writer): [5].
6150 * event-msw.c (mswindows_enqueue_mouse_button_event):
6151 * event-msw.c (mswindows_drain_windows_queue):
6152 * event-msw.c (mswindows_wnd_proc): [7].
6153 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
6154 * event-msw.c (mswindows_modifier_state):
6155 Throughout: support new button modifiers.
6157 * event-msw.c (emacs_mswindows_current_event_timestamp):
6158 Implement new event method.
6159 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
6162 * event-stream.c (event_stream_current_event_timestamp): New.
6163 * event-stream.c (maybe_kbd_translate): New functionality.
6164 * event-stream.c (vars_of_event_stream):
6165 Document new kbd-translate-table functionality.
6167 * event-stream.c (Fcurrent_event_timestamp): New.
6168 New primitive for use in fabricated events.
6169 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
6171 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
6174 * events.c (Fmake_event):
6175 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
6179 * events.c (format_event_object): fix gcc warnings.
6181 * events.c (Fevent_timestamp): Document new primitives.
6183 * events.c (TIMESTAMP_HALFSPACE): New.
6185 * events.c (Fevent_timestamp_lessp): New. New primitive for
6186 comparing timestamps correctly (half-space algorithm).
6188 * events.c (Fevent_modifier_bits): Doc fix.
6190 * events.c (Fevent_modifiers): Major doc addition.
6191 * events.c (event_x_y_pixel_internal): Typo fix.
6192 * events.c (syms_of_events): Declare new primitives.
6195 Update long comment for button modifiers, timestamps.
6197 * events.h (struct event_stream):
6198 New current_event_timestamp method.
6201 * extents.c (extent_in_region_p):
6202 * extents.c (decode_extent):
6203 * extents.c (Fset_extent_parent):
6204 * extents.c (decode_map_extents_flags):
6208 * extents.c (struct extent_at_arg):
6209 * extents.c (decode_extent_at_flag):
6210 * extents.c (extent_at_mapper):
6211 * extents.c (extent_at_bytind):
6212 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
6213 * extents.c (Fextents_at): New primitive. [9].
6214 * extents.c (symbol_to_glyph_layout): [9].
6215 Support new primitive `extents-at'.
6218 * extents.c (get_text_property_bytind):
6219 extent_at_bytind has another arg.
6222 * extents.c (syms_of_extents): New primitive.
6224 * file-coding.c (Fmake_coding_system): [1].
6225 * file-coding.c (subsidiary_coding_system): fix gcc warning
6226 * file-coding.c (syms_of_file_coding): [2].
6228 * fileio.c (Fexpand_file_name):
6229 * fileio.c (Fsysnetunam):
6230 * fileio.c (Ffile_exists_p):
6231 * fileio.c (Ffile_executable_p):
6232 * fileio.c (Fverify_visited_file_modtime):
6235 * fileio.c (syms_of_fileio): [2].
6237 * filelock.c (lock_file_1):
6238 * filelock.c (current_lock_owner):
6239 * filelock.c (lock_if_free):
6240 * filelock.c (lock_file):
6241 * filelock.c (unlock_file):
6244 * fns.c (concat): Fix gcc warning.
6247 * fns.c (Fold_member):
6249 * fns.c (Fold_memq):
6250 * fns.c (memq_no_quit):
6252 * fns.c (Fold_assoc):
6254 * fns.c (Fold_assq):
6255 * fns.c (assq_no_quit):
6257 * fns.c (Fold_rassoc):
6259 * fns.c (Fold_rassq):
6260 * fns.c (rassq_no_quit):
6262 * fns.c (Fold_delete):
6264 * fns.c (Fold_delq):
6265 * fns.c (delq_no_quit):
6266 * fns.c (Fremassoc):
6268 * fns.c (remassq_no_quit):
6269 * fns.c (Fremrassoc):
6270 * fns.c (Fremrassq):
6271 * fns.c (remrassq_no_quit):
6276 * frame-msw.c (mswindows_init_frame_1):
6277 * frame-msw.c (mswindows_delete_frame):
6278 Register popups with dialog code so keyboard traversing works.
6280 * frame-tty.c (tty_raise_frame_no_select): [1].
6283 * frame-x.c (x_set_frame_text_value):
6284 * frame-x.c (x_set_frame_properties):
6285 * frame-x.c (x_create_widgets):
6289 * frame.c (Fmouse_pixel_position): Minor doc fixes.
6291 * frame.h (wrap_frame): New.
6292 Macro like wrap_device.
6295 * general.c (SYMBOL):
6296 * general.c (syms_of_general):
6297 Major reorg. This is now just a wrapper and symbols themselves
6298 are listed in general-slots.h.
6300 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
6301 * glyphs-msw.c (mswindows_resource_instantiate): [5].
6303 * glyphs-msw.c (mswindows_native_layout_instantiate):
6304 Add DS_CONTROL so keyboard traversal will work.
6307 * glyphs-widget.c (syms_of_glyphs_widget):
6308 Move some symbols to general-slots.h.
6311 * glyphs-x.c (xbm_instantiate_1):
6312 * glyphs-x.c (x_xbm_instantiate):
6313 * glyphs-x.c (x_xface_instantiate):
6314 * glyphs-x.c (autodetect_instantiate):
6315 * glyphs-x.c (cursor_font_instantiate):
6316 * glyphs-x.c (x_update_widget):
6317 * glyphs-x.c (x_widget_instantiate):
6318 * glyphs.c (bitmap_to_lisp_data):
6319 * glyphs.c (pixmap_to_lisp_data):
6322 * glyphs.c (syms_of_glyphs):
6326 * gui-x.c (print_widget_value):
6327 * gui-x.c (menu_separator_style_and_to_external):
6328 * gui-x.c (add_accel_and_to_external):
6329 * gui-x.c (button_item_to_widget_value):
6330 * gui-x.c (gui_items_to_widget_values_1):
6331 * gui-x.c (gui_items_to_widget_values):
6332 * gui-x.c (syms_of_gui_x):
6333 * gui-x.c (vars_of_gui_x):
6334 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
6338 Muleize, prototype changes matching gui-x.c.
6341 * gui.c (separator_string_p):
6342 * gui.c (gui_item_add_keyval_pair):
6343 * gui.c (make_gui_item_from_keywords_internal):
6344 * gui.c (signal_too_long_error):
6345 * gui.c (parse_gui_item_tree_item):
6346 * gui.c (syms_of_gui):
6347 * gui.c (vars_of_gui):
6349 menu-no-selection-hook moved here (used by MSWin).
6350 Move some symbols to general-slots.h.
6354 * insdel.c (get_buffer_pos_char):
6355 * insdel.c (get_buffer_range_char):
6358 * keymap.c (keymap_lookup_directly):
6359 * keymap.c (keymap_store):
6360 * keymap.c (ensure_meta_prefix_char_keymapp):
6361 * keymap.c (describe_map):
6363 Support new button modifiers.
6365 * lisp-disunion.h (wrap_object):
6366 * lisp-disunion.h (XSETOBJ):
6367 Rename make_obj to wrap_object.
6370 * lisp-union.h (make_int):
6371 * lisp-union.h (make_char):
6372 Support wrap_object.
6375 * lisp.h (LIST_LOOP):
6376 * lisp.h (EXTERNAL_LIST_LOOP):
6377 * lisp.h (LIST_LOOP_2):
6378 * lisp.h (EXTERNAL_LIST_LOOP_1):
6379 * lisp.h (EXTERNAL_LIST_LOOP_2):
6380 * lisp.h (EXTERNAL_LIST_LOOP_3):
6381 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
6382 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6383 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
6384 * lisp.h (EXTERNAL_ALIST_LOOP_5):
6385 * lisp.h (EXTERNAL_ALIST_LOOP_6):
6386 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
6387 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
6388 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
6389 * lisp.h (struct Lisp_Symbol):
6390 * lisp.h (maybe_continuable_error_with_frob):
6391 Fix up section comments.
6392 Add new types for char to indicate usage.
6393 Delete symbols auto-generated from general-slots.h.
6394 Add prototypes for structured error functions.
6395 Add long comments describing looping macros and change interface
6396 so that lvalues are automatically declared.
6397 Add NO_DECLARE macro in case callers want to declare lvalues
6400 * lread.c (read_syntax_error):
6401 * lread.c (continuable_read_syntax_error):
6402 * lread.c (read_structure):
6403 * lread.c (sequence_reader):
6404 * lread.c (read_list_conser):
6405 * lread.c (read_compiled_function):
6406 Rename syntax_error and continuable_syntax_error to avoid clash
6407 with same-named structured error functions.
6409 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6410 * menubar-msw.c (populate_menu_add_item):
6411 * menubar-msw.c (populate_or_checksum_helper):
6416 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6417 Mule-ize whole file.
6419 * menubar.c (Fnormalize_menu_item_name): Add optimization.
6421 * mule-charset.c (Fmake_charset):
6422 * mule-wnnfns.c (Fwnn_set_param):
6425 * ntproc.c (create_child):
6426 * ntproc.c (Fwin32_set_current_locale):
6427 Add comments portending doom.
6430 * objects-msw.c (old_font_enum_callback_2):
6431 * objects-msw.c (font_enum_callback_1):
6432 * objects-msw.c (mswindows_enumerate_fonts):
6436 * objects-x.c (allocate_nearest_color):
6437 * objects-x.c (x_parse_nearest_color):
6438 * objects-x.c (x_initialize_color_instance):
6439 * objects-x.c (x_print_color_instance):
6440 * objects-x.c (x_finalize_color_instance):
6441 * objects-x.c (x_valid_color_name_p):
6442 * objects-x.c (x_initialize_font_instance):
6443 * objects-x.c (x_print_font_instance):
6444 * objects-x.c (valid_x_font_name_p):
6445 * objects-x.c (truename_via_FONT_prop):
6446 * objects-x.c (truename_via_random_props):
6447 * objects-x.c (truename_via_XListFonts):
6448 * objects-x.c (x_font_truename):
6449 * objects-x.c (x_font_instance_truename):
6450 * objects-x.c (x_font_instance_properties):
6451 * objects-x.c (x_list_fonts):
6452 * objects-x.c (x_find_charset_font):
6453 Mule-ize entire file.
6460 * print.c (std_handle_out_external):
6461 * print.c (debug_print_no_newline):
6462 * print.c (syms_of_print):
6463 Output to all debugger kinds in debug-print.
6464 Fix console-output code under MSWin to actually work.
6466 * process-nt.c (send_signal):
6467 * process-nt.c (nt_create_process):
6468 Use newer Unicode macros.
6470 * process-unix.c (unix_create_process):
6471 * process-unix.c (unix_canonicalize_host_name):
6472 * process-unix.c (unix_open_network_stream):
6478 * search.c (syms_of_search):
6481 * select-msw.c (mswindows_destroy_selection):
6484 * select-x.c (symbol_to_x_atom):
6487 * select.c (syms_of_select):
6490 * sound.c (Fplay_sound_file):
6494 * specifier.c (decode_specifier_type):
6495 * specifier.c (Fvalid_specifier_locale_type_p):
6496 * specifier.c (check_valid_locale_or_locale_type):
6497 * specifier.c (decode_locale):
6498 * specifier.c (decode_locale_type):
6499 * specifier.c (decode_locale_list):
6500 * specifier.c (check_valid_domain):
6501 * specifier.c (decode_specifier_tag_set):
6502 * specifier.c (Fcanonicalize_tag_set):
6503 * specifier.c (Fdefine_specifier_tag):
6504 * specifier.c (Fspecifier_tag_predicate):
6505 * specifier.c (check_valid_inst_list):
6506 * specifier.c (check_valid_spec_list):
6507 * specifier.c (decode_how_to_add_specification):
6508 * specifier.c (check_modifiable_specifier):
6509 * specifier.c (specifier_add_spec):
6510 * specifier.c (boolean_validate):
6511 * specifier.c (display_table_validate):
6514 * specifier.c (syms_of_specifier):
6515 Move some symbols to general-slots.h.
6519 * symbols.c (Fmapatoms):
6520 * symbols.c (Fapropos_internal):
6523 * symbols.c (set_default_buffer_slot_variable):
6524 * symbols.c (set_default_console_slot_variable):
6527 * symbols.c (defsymbol_massage_name_1):
6528 * symbols.c (defkeyword_massage_name):
6529 * symbols.c (deferror_1):
6530 * symbols.c (deferror):
6531 * symbols.c (deferror_massage_name_and_message):
6533 * symeval.h (DEFSYMBOL):
6534 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
6536 * symbols.c (syms_of_symbols):
6540 * symsinit.h (init_win32): New.
6541 Also new is syms_of_dialog_mswindows.
6544 Add new Unicode macros, missing Cygwin wide-char functions,
6545 convenience conversion macros for Qmswindows_tstr, macros for
6546 encapsulating required MSWin <-> Cygwin filename conversions,
6547 prototype for dynamically-extracted (not in NT 3.51) functions.
6552 * tooltalk.c (Fadd_tooltalk_message_arg):
6553 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
6554 * tooltalk.c (Fadd_tooltalk_pattern_arg):
6557 * tooltalk.c (syms_of_tooltalk):
6561 * unexnt.c (unexec):
6562 Fix up headers, declaration of unexec() to be more standard.
6564 2000-07-20 Martin Buchholz <martin@xemacs.org>
6566 * offix.h: Revert change to guard macros - they're used in offix.c!
6568 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6570 * lisp.h: Defsubred Fdelete.
6572 * console-msw.h: (msprinter_default_printer): Added.
6574 * console-msw.c (msprinter_canonicalize_console_connection):
6575 (msprinter_canonicalize_device_connection): Added.
6577 * device-msw.c (msprinter_default_printer):
6578 (Fmswingows_get_default_printer):
6579 (signal_enum_priner_error):
6580 (Fmswingows_printer_list): Added.
6582 2000-07-19 Martin Buchholz <martin@xemacs.org>
6584 * XEmacs 21.2.35 is released.
6586 2000-07-19 Martin Buchholz <martin@xemacs.org>
6588 * select-x.c (x_handle_selection_request):
6589 Text selected in xemacs and pasted into xterm failed to appear.
6590 Spelling fixes and cosmetic changes.
6592 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6594 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
6595 XEmacs frame (fix for doubling chars in dialog boxes).
6597 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6599 * select.c (select_convert_in, select_convert_out):
6600 Don't call intern() every time.
6602 * select.c (Qselect_convert_in, Qselect_convert_out): New.
6603 * select.c (vars_of_select): Initialise them.
6605 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6607 * select.c (selection-coercible-types): New.
6609 * select.c (own-selection-internal):
6610 * select.c (get-selection-internal):
6611 MULE bug fix - these should default to COMPOUND_TEXT and not
6612 STRING for MULE. I think.
6614 * select.c (select_convert_out): Use selection-coercible-types
6615 to find types that we can attempt to perform coercions on.
6617 2000-07-18 Martin Buchholz <martin@xemacs.org>
6621 Add coding: cookie to identify encoding.
6623 * mule-canna.c (CANNA_mode_keys): make static.
6624 Use proper prototypes, even for functions of no arguments.
6625 Remove external prototype for Fding().
6627 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
6629 * select.c (syms_of_select): Add missing DEFSUBR.
6631 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6633 * select.c (get_selection_internal, own_selection_internal):
6634 Make the type default to STRING, rather than placing a nil type
6635 into Vselection_alist.
6637 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6639 * gpmevent.c (tty_selection_exists_p):
6640 * gpmevent.c (tty_own_selection):
6641 Updated parameter lists.
6643 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
6645 * select.h (selection-alist): Removed declaration.
6647 * select.h (get_local_selection):
6648 * select.c (get_local_selection):
6651 * select.h (convert_selection): Removed declaration.
6652 * select.c (convert_selection): Removed.
6653 This function belongs in Lisp.
6655 * select.h (select_convert_in): Declare.
6656 * select.h (select_convert_out): Declare.
6657 * select.c (select_convert_in): New.
6658 * select.c (select_convert_out): New.
6659 New conversion functions for other files to call.
6661 * select.h (select_notify_buffer_kill): Declare.
6662 * select.c (select_notify_buffer_kill): New.
6663 New functions that get called from kill-buffer.
6665 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
6666 X-specific lisp code.
6668 * select.h: Declare some of the lisp-visible functions for
6671 * select.c (clean_local_selection_data): Removed. This was
6672 a disgusting function, and previously should have been in
6673 select-x.c in any case. The functionality is now provided
6674 in select-convert-from-integer (select.el).
6676 * select.c (available-selection-types): Fixed stupidity where
6677 INTEGER and ATOM got added twice. Also add STRING when we see an
6680 * select.c (get-selection-internal): Removed symbol stripping. No
6681 longer causes conversion when data comes from the internal cache.
6683 * select.c (syms_of_select): Added new functions.
6685 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
6686 error checking - previously this called abort!
6688 * select-x.c (x_own_selection): Changed comment.
6690 * select-x.c (x_handle_selection_request): Use select_convert_out.
6691 Don't mess with selection-alist; it's an internal variable of select.c.
6693 * select-x.c (x_get_foreign_selection): Use select_convert_in.
6695 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
6696 rather than messing with selection-alist.
6698 * select-msw.c (mswindows_get_foreign_selection):
6699 Use TO_INTERNAL_FORMAT rather than hacking.
6701 2000-07-14 Martin Buchholz <martin@xemacs.org>
6703 * process-unix.c (unix_open_multicast_group):
6704 (unix_open_multicast_group): Remove useless casts.
6706 2000-07-13 Martin Buchholz <martin@xemacs.org>
6708 * sound.c (Fplay_sound): Fix `unused variable' warning.
6710 * emacs.c (main): Use correct type for _environ on SCO5.
6712 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
6714 * console.h (own_selection_method):
6715 * console.h (selection_exists_p_method):
6716 * console.h (available_selection_types_method): New.
6717 * console.h (register_selection_data_type_method): New.
6718 * console.h (selection_data_type_name): New.
6720 * console-msw.h (mswindows_destroy_selection): Declare it. New
6721 function & alist to track GlobalAlloc()'d handles that need
6722 releasing when the clipboard data gets replaced or emptied.
6724 * event-msw.c (mswindows_wnd_proc): Call it.
6726 * lisp.h, general.c (Qappend): New symbol representing a
6729 * select.c (own-selection-internal):
6730 * select.c (selection-exists-p):
6731 * select.c (available-selection-types): New.
6732 * select.c (register-selection-data-type): New.
6733 * select.c (selection-data-type-name): New. New functions to deal
6734 with device-specific selection data formats.
6735 * select.c (selection-converter-out-alist): Renamed.
6736 * select.c (selection-converter-in-alist): New.
6737 * select.c (selection-appender-alist): New. Added new alists.
6738 * select.c (syms_of_select, vars_of_select): Added new symbols &
6740 * select.c (get_local_selection): Split.
6741 * select.c: Removed spurious type checking - selections may now be
6742 of any type, not just strings.
6743 * select.c (own-selection-internal):
6745 * select.h, select.c (convert_selection): New. Created
6746 convert_selection() function based on get_local_selection().
6747 * select.h, select.c (QCF_*): New symbols representing mswindows
6749 * select.h, select.c (Qreplace_all, Qreplace_existing): New
6750 symbols representing `how-to-add' modes.
6752 * select-msw.c (x_sym_p): New.
6753 * select-msw.c (symbol_to_ms_cf): New.
6754 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
6755 symbols & clipboard formats. Can also handle string names.
6756 * select-msw.c (mswindows_own_selection):
6757 * select-msw.c (mswindows_selection_exists_p):
6758 Added `data-type' parameter. Use it.
6759 * select-msw.c (mswindows_available_selection_types): New.
6760 * select-msw.c (mswindows_register_selection_data_type): New.
6761 * select-msw.c (mswindows_selection_data_type_name): New.
6762 * select-msw.c (mswindows_own_selection):
6763 * select-msw.c (mswindows_get_foreign_selection):
6764 * select-msw.c (mswindows_selection_exists_p): Rewrote.
6765 * select-msw.c (console_create_select_mswindows): Added new methods.
6766 * select-msw.c (mswindows_destroy_selection): New.
6767 * select-msw.c (Vhandle_alist): New list.
6768 * select-msw.c (mswindows_own_selection):
6770 * select-x.c (x_own_selection):
6771 * select-x.c (x_selection_exists_p):
6772 * select-x.c: Added some comments about maybe using new
6774 * select-x.c (x_own_selection):
6776 * specifier.c: Remove definition of Qappend (now in general.c)
6777 * specifier.c (syms_of_specifier): Remove Qappend.
6779 2000-07-12 Martin Buchholz <martin@xemacs.org>
6781 * config.h.in: Add socklen_t.
6783 * s/decosf4-0.h: No special compiler flags needed or desired.
6784 In particular, undefine _BSD for DEC OSF 4.0.
6786 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6788 * redisplay-msw.c (msprinter_frame_output_end): Added.
6789 (console_type_create_redisplay_mswindows): Referred the above.
6791 * frame.c (setup_frame_without_minibuffer): Do not create a
6792 default minibuffer frame on a printer device.
6794 * frame-msw.c (apply_dc_geometry): Added.
6795 (msprinter_start_page):
6796 (msprinter_init_frame_3):
6797 (msprinter_eject_page): Use it.
6799 * console-msw.h (struct msprinter_frame): Added pix_left and top,
6800 and removed residual duplex and orientation properties.
6802 2000-07-11 Martin Buchholz <martin@xemacs.org>
6804 * eval.c (function_argcount): Work around a DEC CC compiler bug.
6806 * unexalpha.c: Remove system prototypes from C sources!
6808 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
6810 * eval.c: Remove references to M-x edit-options in DEFUNs for
6811 `defvar' and `defconst'.
6813 2000-07-09 Martin Buchholz <martin@xemacs.org>
6815 * config.h.in: Remove SMART_INCLUDE hackery.
6818 * config.h.in: Don't use SMART_INCLUDE.
6820 * postgresql.h: Include libpq-fe.h here. Fix typo.
6821 * inline.c: Simply #include "postgresql.h"
6823 - Don't use SMART_INCLUDE
6824 - Use simply "const".
6825 - Use standard doc string conventions.
6826 - Use correct type for result of PQstatus.
6828 2000-07-09 Martin Buchholz <martin@xemacs.org>
6830 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
6832 C++ compilation changes.
6833 * config.h.in (EXTERN_C): Define.
6834 * config.h.in (not): This is also a C++ keyword.
6835 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
6836 * cm.c: Use EXTERN_C.
6837 * redisplay-tty.c: Use EXTERN_C.
6838 * sysdep.c: Use EXTERN_C. Remove Gould support.
6840 2000-07-09 Martin Buchholz <martin@xemacs.org>
6842 * general.c: Remove duplicate definition for Qfunction.
6844 2000-07-08 Ben Wing <ben@xemacs.org>
6846 * device-msw.c (msprinter_init_device):
6847 * device-msw.c (sync_printer_with_devmode):
6848 * device-msw.c (handle_devmode_changes):
6849 * device-msw.c (print_dialog_worker):
6850 * device-msw.c (Fmsprinter_apply_settings):
6851 * device-msw.c (hash_devmode):
6852 * device-msw.c (Fmsprinter_settings_despecialize):
6853 use Qmswindows_tstr, not Qctext.
6855 * vm-limit.c (check_memory_limits):
6856 avoid infinite loop printing warning messages.
6858 2000-07-05 Craig Lanning <lanning@scra.org>
6860 * Makefile.in.in: Add support for including the Windows resources
6861 when building with the cygwin and mingw targets.
6863 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
6864 not set or not correct.
6865 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
6866 (init_initial_directory): Don't try to use $PWD on the
6867 WIN32_NATIVE target.
6870 [[Add -mwindows to eliminate console window.]] not required --ben
6871 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6872 (MAIL_USE_POP): removed; now handled by configure.
6874 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
6875 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
6876 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6877 (MAIL_USE_POP): removed; now handled by configure.
6878 (ENCAPSULATE_STAT): from Dan Holmsand, added.
6879 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
6880 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
6882 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
6883 up from <winsock.h> via systime.h.
6884 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
6885 (getpagesize): from Dan Holmsand, added.
6886 Added #endif which was left dangling by Ben's mega patch; added
6887 comment to help prevent this in the future.
6889 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
6891 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6893 * console-msw.h (struct mswindows_device): Removed unnecessary
6894 cached device geometry values.
6895 Added update_tick and an accessor macro.
6896 (Lisp_Devmode): Added lrecord declaration.
6897 (struct msprinter_device): Contain devmode as a Lisp object.
6898 Added mswindows_get_selected_frame_hwnd();
6900 * console.h (struct console_methods): Indentation nitpicking.
6902 * device-msw.c (mswindows_init_device): Do not initialize geometry
6903 cache. Initialize update tick.
6904 (mswindows_device_system_metrics): Ask the device for its geometry.
6905 (global_free_2_maybe):
6906 (devmode_to_hglobal):
6907 (handle_printer_changes):
6908 (ensure_not_printing):
6909 (print_dialog_worker):
6910 (Fmsprinter_print_setup_dialog):
6911 (Fmsprinter_print_dialog):
6914 (Fmsprinter_page_setup_dialog): Added functions.
6915 (sync_printer_with_devmode):
6916 (handle_devmode_changes):
6917 (Fmsprinter_get_settings):
6918 (Fmsprinter_select_settings):
6919 (Fmsprinter_apply_settings):
6921 (Fmsprinter_settings_copy):
6922 (Fmsprinter_settings_despecialize):
6926 (hash_devmode): Added functions
6927 (syms_of_device_mswindows): Init devmode lrecord class.
6929 * device.h: Added an exfun for find-device.
6931 * event-msw.c (mswindows_wnd_proc): Do not update the cached
6932 geometry; although, recreate the device compatible DC.
6934 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
6935 (msprinter_init_frame_3):
6936 (msprinter_frame_property):
6937 (msprinter_internal_frame_property_p):
6938 (msprinter_frame_properties):
6939 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
6940 print job properties (will move to device settings).
6942 * lisp.h: Added symbols.
6944 * general.c (syms_of_general): Declared them.
6946 * hash.c (string_hash): Added.
6948 * lrecord.h (lrecord_type): Added devmode lrecord type.
6950 2000-07-02 Mike Sperber <mike@xemacs.org>
6952 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
6955 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
6957 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
6960 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
6962 * data.c (Fstring_to_number): Don't recognize floating point if
6965 2000-06-22 Martin Buchholz <martin@xemacs.org>
6967 * glyphs-widget.c (tab_control_query_geometry):
6968 (widget_query_geometry):
6969 (button_query_geometry):
6970 * glyphs.c (text_query_geometry):
6971 Enforce type correctness.
6973 2000-06-18 Martin Buchholz <martin@xemacs.org>
6975 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
6976 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
6978 2000-06-17 Martin Buchholz <martin@xemacs.org>
6980 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
6981 conflicts with gcc's fixincluded version of FOO.h.
6983 * glyphs.h (image_instance_geometry): Remove trailing `,'
6985 2000-06-08 Mike Alexander <mta@arbortext.com>
6987 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
6988 (shove_thread): Don't write the same output twice
6989 (make_ntpipe_output_stream): Increase priority of shove thread
6990 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
6992 (ntpipe_shove_closer): Don't delete the pipe until we're done with
6995 2000-06-12 Ben Wing <ben@xemacs.org>
6997 * s\mingw32.h (sigset):
6998 * s\windowsnt.h (sigset):
6999 rename msw_ to mswindows_ for consistency with general convention.
7001 2000-06-12 Ben Wing <ben@xemacs.org>
7004 * console-msw.c (mswindows_get_console_hwnd):
7005 * console-msw.c (mswindows_ensure_console_allocated):
7006 * console-msw.c (mswindows_hide_console):
7007 * console-msw.c (mswindows_show_console):
7008 * console-msw.c (mswindows_ensure_console_buffered):
7009 * console-msw.c (mswindows_output_console_string):
7010 * console-msw.c (mswindows_windows9x_p):
7012 * device-msw.c (mswindows_get_workspace_coords):
7013 * device-msw.c (mswindows_device_system_metrics):
7014 * dialog-msw.c (mswindows_popup_dialog_box):
7015 * event-msw.c (mswindows_wnd_proc):
7016 * frame-msw.c (mswindows_size_frame_internal):
7017 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7018 * menubar-msw.c (displayable_menu_item):
7019 * menubar-msw.c (mswindows_char_is_accelerator):
7021 * nt.c (mswindows_sigset):
7022 * nt.c (mswindows_sigrelse):
7023 * nt.c (mswindows_sigpause):
7024 * nt.c (mswindows_raise):
7025 * nt.c (timer_proc):
7027 * ntproc.c (find_child_console):
7028 * ntproc.c (sys_kill):
7030 * print.c (std_handle_out_external):
7031 * process-nt.c (find_child_console):
7032 * process-nt.c (send_signal_the_95_way):
7033 * process-nt.c (ensure_console_window_exists):
7034 * process-nt.c (nt_create_process):
7036 rename msw_ to mswindows_ for consistency with general convention.
7040 include nt.h, not syswindows.h.
7042 * nt.c (mswindows_fstat):
7043 * nt.c (mswindows_stat):
7044 prefix mswindows_ instead of attempting to directly override the
7045 library functions. fix declarations.
7048 include syswindows.h. move some sysdep.h stuff here.
7051 include syswindows.h, not <windows.h>.
7059 * sysdep.c (sys_fstat):
7060 * sysdep.c (sys_stat):
7061 call mswindows versions when appropriate.
7064 move mswin decls to nt.h.
7067 add long comment describing appropriate use of the various windows
7070 2000-06-11 Ben Wing <ben@xemacs.org>
7072 * device-x.c: Correct doc string for sixth arg of x-get-resource.
7074 2000-06-10 Ben Wing <ben@xemacs.org>
7076 * Makefile.in.in (release):
7077 Correction to make sure xemacs.exe always dumped when correct.
7081 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
7083 * buffer.c (set_buffer_internal):
7084 [[[[2]]]]: Remove HAVE_FEP code.
7086 * buffer.c (init_initial_directory):
7090 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
7094 * callproc.c (call_process_cleanup):
7095 * callproc.c (Fold_call_process_internal):
7096 * callproc.c (child_setup):
7097 * callproc.c (getenv_internal):
7098 * callproc.c (init_callproc):
7099 * callproc.c (vars_of_callproc):
7100 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
7101 __CYGWIN32__ -> CYGWIN.
7102 DOS_NT -> WIN32_NATIVE.
7103 Remove MSDOS support/references, converting to WIN32_NATIVE
7105 __MINGW32__ -> MINGW.
7106 Fix windows.h includes.
7107 Remove bogus HAVE_NTGUI.
7113 mswindows_message_outputted added for use in allowing startup
7114 errors on the console to be seen.
7116 * console-msw.c (msw_ensure_console_allocated):
7117 * console-msw.c (msw_output_console_string):
7118 * console-msw.c (DHEADER):
7119 * console-msw.c (DOPAQUE_DATA):
7120 * console-msw.c (DEVENT):
7121 * console-msw.c (DCONS):
7122 * console-msw.c (DCONSCDR):
7123 * console-msw.c (DSTRING):
7124 * console-msw.c (DVECTOR):
7125 * console-msw.c (DSYMBOL):
7126 * console-msw.c (DSYMNAME):
7129 * console-stream.c (stream_init_console):
7130 Fix text/binary problems.
7133 * device-msw.c (mswindows_finish_init_device):
7134 * device-msw.c (mswindows_delete_device):
7137 * device.c (handle_asynch_device_change):
7141 * dgif_lib.c (DGifOpenFileName):
7142 * dgif_lib.c (DGifOpenFileHandle):
7143 * dgif_lib.c (DGifGetLine):
7144 * dgif_lib.c (DGifGetPixel):
7145 Added config.h/lisp.h, fix up includes.
7152 * dired.c (file_name_completion):
7153 * dired.c (Ffile_attributes):
7154 * dired.c (syms_of_dired):
7158 * dumper.c (pdump_file_unmap):
7159 * dumper.c (pdump_load):
7163 * editfns.c (Ftemp_directory):
7164 * editfns.c (user_login_name):
7165 * editfns.c (Fuser_real_login_name):
7166 * editfns.c (get_home_directory):
7169 * elhash.c (finish_marking_weak_hash_tables):
7170 [[[[5]]]]: Fix GCC warnings.
7173 * emacs.c (mswindows_handle_hardware_exceptions):
7174 * emacs.c (make_arg_list_1):
7176 * emacs.c (Fkill_emacs):
7177 * emacs.c (Fdump_emacs):
7179 Fix problems with nested crashes, add long comment.
7181 * event-Xt.c (init_event_Xt_late):
7185 * event-msw.c (mswindows_dde_callback):
7186 * event-msw.c (mswindows_handle_sticky_modifiers):
7187 * event-msw.c (mswindows_wnd_proc):
7191 * events.c (character_to_event):
7195 * fileio.c (Ffile_name_directory):
7196 * fileio.c (Ffile_name_nondirectory):
7197 * fileio.c (directory_file_name):
7198 * fileio.c (Fexpand_file_name):
7199 * fileio.c (Fsubstitute_in_file_name):
7200 * fileio.c (Ffile_name_absolute_p):
7201 * fileio.c (check_executable):
7202 * fileio.c (Ffile_readable_p):
7203 * fileio.c (Ffile_accessible_directory_p):
7204 * fileio.c (Ffile_modes):
7205 * fileio.c (Funix_sync):
7206 * fileio.c (vars_of_fileio):
7209 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
7211 Expand getdefdir defn.
7212 Fix bogus rename() comment.
7214 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
7215 to use standard XEmacs include files, e.g. sysfile.h, rather
7216 than system-specific includes.
7222 * frame.c (vars_of_frame):
7226 * getloadavg.c (getloadavg):
7228 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
7229 (We don't use it elsewhere in the code; just add a comment.)
7236 * glyphs-msw.c (mswindows_resource_instantiate):
7239 * glyphs-x.c (x_native_layout_instantiate):
7242 * gui-msw.c (Fmswindows_shell_execute):
7251 * lread.c (locate_file_in_directory_mapper):
7258 * mem-limits.h (get_lim_data):
7270 * nt.c (rva_to_section):
7271 * nt.c (mswindows_executable_type):
7273 Fix closedir() defn.
7276 [[[[8]]]]: *_OK defs moved to sysfile.h.
7285 * print.c (std_handle_out_external):
7289 * process-nt.c (nt_create_process):
7291 try to fix process quoting somewhat.
7293 * process-unix.c (unix_create_process):
7297 * process.c (vars_of_process):
7304 * realpath.c (xrealpath):
7307 * redisplay-tty.c (init_tty_for_redisplay):
7317 * sheap.c (more_static_core):
7318 * sheap.c (report_sheap_usage):
7322 * signal.c (alarm_signal):
7329 * strftime.c (zone_name):
7332 * symsinit.h (init_sunpro):
7336 commctrl.h not in Cygwin b20.1.
7340 * sysdep.c (sys_subshell):
7341 * sysdep.c (init_baud_rate):
7342 * sysdep.c (emacs_get_tty):
7343 * sysdep.c (emacs_set_tty):
7344 * sysdep.c (tty_init_sys_modes_on_device):
7345 * sysdep.c (init_system_name):
7346 * sysdep.c (sys_open):
7347 * sysdep.c (interruptible_open):
7348 * sysdep.c (sys_fopen):
7349 * sysdep.c (sys_mkdir):
7350 * sysdep.c (sys_rename):
7351 * sysdep.c (get_process_times_1):
7358 * sysdir.h (DIRENTRY_NONEMPTY):
7361 * sysdll.c (dll_init):
7367 added text/binary defs.
7373 * sysproc.h (EDESTADDRREQ):
7374 * sysproc.h (poll_fds_for_input):
7391 Always define WIN32_LEAN_AND_MEAN.
7393 * unexcw.c (unexec):
7397 * unexec.c (copy_text_and_data):
7398 * unexec.c (adjust_lnnoptrs):
7402 * unexnt.c (_start):
7405 2000-06-07 Ben Wing <ben@xemacs.org>
7407 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
7408 was used only as a model. We've long since extracted any useful
7409 logic or code out of this. (I just did an exhaustive search.)
7411 * s\msdos.h: Removed.
7413 * s\windows95.h: Removed.
7415 2000-06-10 Ben Wing <ben@xemacs.org>
7419 Don't use extern with fun defs.
7423 Remove nt\inc include.
7424 Remove getdisk, getdefdir. (The former is unused, the latter
7425 expanded in fileio.h.)
7428 * s\windowsnt.h (WIN32_NATIVE):
7429 * s\windowsnt.h (HAVE_STRCASECMP):
7431 Add long comment about preprocessor changes.
7432 Remove getdisk, getdefdir. (The former is unused, the latter
7433 expanded in fileio.h.)
7435 2000-06-10 Ben Wing <ben@xemacs.org>
7444 Remove bogus/unused NO_SOCK_SIGIO.
7446 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
7448 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
7451 2000-06-04 Mike Sperber <mike@xemacs.org>
7453 * casetab.c (set_case_table): For `set-standard-case-table',
7454 actually deposit the new case tables where the rest of XEmacs can
7457 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
7459 * data.c (Faset): Don't cast XCHAR() to unsigned char.
7461 2000-06-05 Ben Wing <ben@xemacs.org>
7463 * callproc.c (child_setup): Don't do close_load_descs() under
7464 MS Windows. Put in a comment explaining why.
7466 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
7468 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
7469 Toolkit shell" which breaks `kill-compilation' on Windows NT
7470 native, retaining STDERR handling improvements.
7472 2000-06-01 Andreas Jaeger <aj@suse.de>
7474 * s/s390.h: Support for S390, based on a patch by Martin
7475 Schwidefsky <schwidefsky@de.ibm.com>.
7477 2000-05-30 Andy Piper <andy@xemacs.org>
7479 * window.c (allocate_window):
7480 (make_dummy_parent):
7481 (Fset_window_configuration): use new hashtable type.
7483 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
7484 (struct image_instantiator_methods):
7485 (struct Lisp_Image_Instance): make instance geometry signed.
7487 * glyphs.c (instantiate_image_instantiator):
7488 (image_instance_query_geometry):
7489 (image_instance_layout):
7490 (image_instance_layout):
7491 (query_string_geometry):
7492 (text_query_geometry):
7493 (image_instantiate):
7494 (image_instantiate):
7495 (cache_subwindow_instance_in_frame_maybe):
7496 (subwindow_query_geometry): make instance geometry signed.
7498 * glyphs-widget.c (widget_query_geometry):
7500 (button_query_geometry):
7501 (tree_view_query_geometry):
7502 (tab_control_query_geometry):
7503 (layout_query_geometry):
7505 (native_layout_layout): make instance geometry signed.
7507 2000-05-29 Olivier Galibert <galibert@pobox.com>
7509 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
7512 * general.c (syms_of_general): Add Qfull_assoc symbol.
7514 * data.c (finish_marking_weak_lists): Mark full-assoc lists
7516 (decode_weak_list_type): Decode full-assoc type.
7517 (encode_weak_list_type): Encode full-assoc type.
7518 (Fmake_weak_list): Update doc string.
7520 2000-05-30 Andy Piper <andy@xemacs.org>
7522 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
7524 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
7525 (decode_hash_table_weakness): ditto.
7526 (Fhash_table_weakness): ditto.
7527 (Fhash_table_type): ditto.
7528 (finish_marking_weak_hash_tables): ditto.
7529 (hash_table_weakness_validate): ditto.
7530 (syms_of_elhash): ditto.
7532 2000-05-28 Martin Buchholz <martin@xemacs.org>
7534 * XEmacs 21.2.34 is released.
7536 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7538 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
7540 (updating_line_start_cache): Gone.
7541 (regenerate_window): Replace resetting of VERTICAL_CLIP by
7542 generic code to force a minimum of 1 line laid out in the
7545 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7547 * glyphs.c (instantiate_image_instantiator): Check for initialized
7548 height & width no longer special cases IMAGE_NOTHING.
7549 (nothing_instantiate): Set height and width of instance.
7551 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7553 * unexelf.c (unexec): Search for ".data" section.
7554 Initialize new_data2_offset from old_data_index.
7555 Remove redundant check for ElfW.
7557 2000-05-23 Andy Piper <andy@xemacs.org>
7559 * glyphs.c (get_image_instantiator_governing_domain): allow more
7560 specific domains as the governing domain rather than expecting an
7561 exact match. This fixes problems with layouts.
7563 2000-05-22 Andy Piper <andy@xemacs.org>
7565 * redisplay-output.c (compare_runes): check for non-images
7567 * glyphs.c (set_glyph_dirty_p): ditto.
7568 (update_glyph_cachel_data): ditto.
7570 * glyphs-widget.c (layout_post_instantiate): ditto.
7571 (layout_post_instantiate): ditto.
7573 * event-msw.c (mswindows_wnd_proc): warning removal.
7575 2000-05-12 Craig Lanning <CraigL@DyCon.com>
7577 * s\mingw32.h: Added #undef for CLASH_DETECTION.
7579 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
7581 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
7583 * nt.c (rva_to_section): mingw32 needs rva_to_section.
7584 (mswindows_executable_type): mingw32 now has enough headers for
7587 2000-05-20 Andy Piper <andy@xemacs.org>
7589 * console-msw.c (mswindows_output_last_error): ; -> ,
7591 2000-05-12 Andy Piper <andy@xemacs.org>
7593 * console-msw.c (FROB): compare ints with ints.
7595 2000-05-11 Andy Piper <andy@xemacs.org>
7597 * glyphs-x.c (x_finalize_image_instance): make minimal build
7600 2000-05-20 Ben Wing <ben@xemacs.org>
7603 * event-Xt.c (vars_of_event_Xt):
7604 move modifier-keys-are-sticky to event-stream.c.
7607 * event-msw.c (mswindows_enqueue_mouse_button_event):
7608 * event-msw.c (key_needs_default_processing_p):
7609 * event-msw.c (XEMSW_LCONTROL):
7610 * event-msw.c (mswindows_handle_sticky_modifiers):
7611 * event-msw.c (FROB):
7612 * event-msw.c (clear_sticky_modifiers):
7613 * event-msw.c (output_modifier_keyboard_state):
7614 * event-msw.c (output_alt_keyboard_state):
7615 * event-msw.c (mswindows_wnd_proc):
7616 * event-msw.c (mswindows_modifier_state):
7617 * event-msw.c (emacs_mswindows_handle_magic_event):
7618 implement sticky modifiers.
7621 * event-stream.c (vars_of_event_stream):
7622 move modifier-keys-are-sticky here.
7628 implement map-range-table.
7631 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
7633 * redisplay-tty.c (reset_tty_modes):
7634 (tty_redisplay_shutdown): Adjust argument type to
7635 tty_frame_output_end.
7637 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7639 * eval.c (Fbacktrace): Don't output a line with only right
7642 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
7644 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
7645 (Fpq_reset_poll): Ditto.
7647 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
7649 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
7651 2000-05-16 Ben Wing <ben@xemacs.org>
7654 * buffer.c (dfc_convert_to/from_internal_format):
7655 * buffer.c (reinit_vars_of_buffer):
7656 Fix conversion functions to allow reentrancy.
7659 * console-msw.c (mswindows_output_last_error):
7660 New fun, generally useful -- output a human-readable
7661 version of GetLastError() on the console.
7664 * console-msw.h (struct mswindows_frame):
7665 Changes for DeferWindowPos. Declare mswindows_output_last_error().
7667 * console-stream.c (stream_output_begin):
7668 * console-stream.c (stream_output_end):
7669 * console-stream.c (stream_output_vertical_divider):
7670 * console-stream.c (stream_clear_region):
7671 * console-stream.c (stream_flash):
7672 * console-stream.c (console_type_create_stream):
7673 Delete blank stream methods, not needed.
7675 * console.h (struct console_methods):
7676 Split begin/end methods into window and frame.
7679 * event-msw.c (mswindows_handle_paint):
7680 * event-msw.c (output_alt_keyboard_state):
7681 * event-msw.c (mswindows_wnd_proc):
7682 * event-msw.c (vars_of_event_mswindows):
7683 Comment about problems with ignored-expose.
7684 Define mswindows-debug-events; not really implemented.
7686 * frame-msw.c (mswindows_init_frame_1):
7690 * glyphs-msw.c (begin_defer_window_pos):
7691 * glyphs-msw.c (mswindows_unmap_subwindow):
7692 * glyphs-msw.c (mswindows_map_subwindow):
7693 * glyphs-msw.c (mswindows_resize_subwindow):
7694 Use DeferWindowPos to reduce flashing when mapping/unmapping.
7696 * glyphs.c (make_image_instance_1):
7699 * gutter.c (Fredisplay_gutter_area):
7700 Use new begin/end methods.
7702 * lisp.h (Dynarr_new2):
7706 * redisplay-msw.c (mswindows_frame_output_begin):
7707 * redisplay-msw.c (mswindows_frame_output_end):
7708 * redisplay-msw.c (console_type_create_redisplay_mswindows):
7709 New begin/end methods -- handle DeferWindowPos.
7711 * redisplay-output.c (redisplay_move_cursor):
7712 * redisplay-output.c (redraw_cursor_in_window):
7713 * redisplay-output.c (redisplay_update_line):
7714 * redisplay-output.c (redisplay_output_window):
7715 New begin/end methods.
7718 * redisplay-tty.c (tty_frame_output_begin):
7719 * redisplay-tty.c (tty_frame_output_end):
7720 * redisplay-tty.c (console_type_create_redisplay_tty):
7721 New begin/end methods.
7724 * redisplay-x.c (x_window_output_begin):
7725 * redisplay-x.c (x_window_output_end):
7726 * redisplay-x.c (console_type_create_redisplay_x):
7727 New begin/end methods.
7729 * redisplay.c (redisplay_frame):
7730 * redisplay.c (Fredisplay_echo_area):
7731 New begin/end methods.
7732 use MAYBE_DEVMETH for clear_frame; it may not exist.
7734 * window.h (WINDOW_XFRAME):
7735 WINDOW_XFOO macros -- get locale and decode struct pointer.
7738 2000-05-12 Ben Wing <ben@xemacs.org>
7741 * emacs.c (ensure_no_quitting_from_now_on):
7742 * emacs.c (fatal_error_signal):
7743 * emacs.c (mswindows_handle_hardware_exceptions):
7745 * emacs.c (Fkill_emacs):
7746 * emacs.c (shut_down_emacs):
7747 * emacs.c (assert_failed):
7748 various improvements in fatal error handling.
7751 move preparing_for_armageddon to emacs.c.
7754 declare fatal_error_in_progress.
7757 * print.c (std_handle_out_external):
7758 * print.c (std_handle_out_va):
7759 * print.c (stderr_out):
7760 * print.c (stdout_out):
7761 use console under mswin when no standard output.
7762 don't do code conversion during fatal error.
7764 * scrollbar.c (Fscrollbar_page_up):
7765 * scrollbar.c (Fscrollbar_page_down):
7766 fix missing else. reindent.
7768 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
7772 * glyphs.h (GLYPH_CACHEL_DESCENT):
7773 (GLYPH_CACHEL_DESCENT):
7774 (GLYPH_CACHEL_DESCENT):
7775 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
7776 used in case these are inline functions.
7777 Use more absurd values to error check.
7779 include window.h for error check functions.
7781 2000-05-11 Ben Wing <ben@xemacs.org>
7783 * cmdloop.c (Freally_early_error_handler):
7784 Display message box under windows; otherwise, message will disappear
7785 before it can be viewed.
7788 * console-msw.c (Fmswindows_message_box):
7789 * console-msw.c (FROB):
7790 * console-msw.c (syms_of_console_mswindows):
7791 Define new fun `mswindows-message-box'.
7792 #### I will merge this into `popup-dialog-box'; just give me
7796 * general.c (syms_of_general):
7797 Some new symbols used in `mswindows-message-box'.
7800 * glyphs.c (Fset_image_instance_property):
7801 put warning in this fun.
7804 * glyphs.h (GLYPH_CACHEL_WIDTH):
7805 * glyphs.h (GLYPH_CACHEL_ASCENT):
7806 * glyphs.h (GLYPH_CACHEL):
7807 * glyphs.h (GLYPH_CACHEL_GLYPH):
7808 define error-checking versions to try to catch a bug i've seen --
7809 redisplay gets in an infinite loop because the glyph width of the
7810 continuation glyph is 65535.
7813 Extern message-box stuff.
7815 * window.c (allocate_window):
7816 * window.c (make_dummy_parent):
7817 * window.c (Fset_window_configuration):
7818 Use EQUAL not EQ for subwindow caches to make them work a bit
7819 better. (Something is still very broken.)
7822 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7824 * glyphs.c (image_instantiate): Suppress gcc warnings.
7825 (Fmake_image_instance): Fix doc string.
7826 * specifier.c (Fmake_specifier): Ditto.
7828 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7830 * paths.h.in (PATH_LOCK): Removed.
7831 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
7832 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
7834 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7836 * fns.c (Ffeaturep): Update e-mail address in doc-string.
7837 Document (featurep '(and xemacs 21.02)).
7839 2000-05-09 Ben Wing <ben@xemacs.org>
7841 * buffer.c (complex_vars_of_buffer):
7842 update modeline-format doc.
7845 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
7848 timeline of all released versions of Emacs, for use in creating
7849 authorship comments and in synching up.
7851 * glyphs-widget.c (image_instantiator_buttons):
7852 * glyphs-widget.c (image_instantiator_edit_fields):
7853 * glyphs-widget.c (image_instantiator_combo_box):
7854 * glyphs-widget.c (image_instantiator_scrollbar):
7855 * glyphs-widget.c (image_instantiator_progress_guage):
7856 * glyphs-widget.c (image_instantiator_tree_view):
7857 * glyphs-widget.c (image_instantiator_tab_control):
7858 * glyphs-widget.c (image_instantiator_labels):
7859 * glyphs-widget.c (image_instantiator_layout):
7860 * glyphs-widget.c (image_instantiator_native_layout):
7861 rename decode_domain method to governing_domain.
7864 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
7865 * glyphs.c (add_entry_to_device_ii_format_list):
7866 make sure we don't put an entry more than once into the list.
7867 * glyphs.c (check_instance_cache_mapper):
7868 *************************************************************
7869 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7871 *************************************************************
7872 * glyphs.c (get_image_instantiator_governing_domain):
7873 clean up, expand on new concept of governing domain.
7874 * glyphs.c (instantiate_image_instantiator):
7875 * glyphs.c (allocate_image_instance):
7876 use governing_domain instead of cache_domain in naming.
7877 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
7878 * glyphs.c (make_image_instance_1):
7879 * glyphs.c (Fmake_image_instance):
7880 allow for any domain (not just device), and process the
7881 governing domain correctly. very big doc fix.
7882 * glyphs.c (Fimage_instance_domain):
7883 new primitive, to retrieve the governing domain of an image instance.
7884 * glyphs.c (image_instantiate):
7885 use new governing_domain stuff. this fixes a crash you could get
7886 by instantiating certain widget glyphs in frame locales. (should
7887 signal an error instead of crashing.)
7888 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
7889 * glyphs.c (Fglyphp): clean up doc.
7890 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
7891 * glyphs.c (syms_of_glyphs):
7892 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
7893 * glyphs.c (image_instantiator_format_create): add some comments about
7895 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
7896 for current-display-table. (Apparently Hrjove implemented in 1998 a
7897 design I wrote up in 1996, but didn't update the doc string.)
7899 * glyphs.h: clean up a doc string.
7900 * glyphs.h (governing_domain):
7901 * glyphs.h (struct image_instantiator_methods):
7902 changes for governing_domain stuff.
7905 * gutter.c (Fgutter_specifier_p):
7906 * gutter.c (Fgutter_size_specifier_p):
7907 * gutter.c (Fgutter_visible_specifier_p):
7909 * objects.c (Fcolor_specifier_p):
7910 * objects.c (Ffont_specifier_p):
7911 * objects.c (Fface_boolean_specifier_p):
7912 doc strings moved to make-*-specifier.
7914 * redisplay.c (add_disp_table_entry_runes_1):
7915 * redisplay.c (generate_fstring_runes):
7916 * redisplay.c (screen):
7917 add random comments and doc strings.
7920 * specifier.c (Fmake_specifier):
7921 major overhaul of this doc string.
7923 * specifier.c (Fvalid_specifier_domain_p):
7924 comment about the bogosity of image instances being domains.
7925 * specifier.c (decode_domain):
7926 now non-static, used in glyphs.c.
7927 * specifier.c (specifier_instance):
7928 comment about the bogosity of image instances being domains.
7929 * specifier.c (Fgeneric_specifier_p):
7930 move doc string to make-generic-specifier.
7931 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
7935 * specifier.h (DOMAIN_FRAME):
7936 * specifier.h (DOMAIN_LIVE_P):
7937 * specifier.h (DOMAIN_XDEVICE):
7939 add comments about problems with these macros.
7940 prototype for decode_domain.
7943 * toolbar.c (Ftoolbar_specifier_p):
7944 move doc string to `make-toolbar-specifier'.
7946 * window.c (window_unmap_subwindows_cache_mapper):
7947 *************************************************************
7948 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7950 *************************************************************
7952 2000-05-09 Andy Piper <andy@xemacs.org>
7954 * glyphs.h: declare reset_frame_subwindow_instance_cache.
7956 * window.c (Fset_window_configuration): reset the frame subwindow
7957 cache and re-initialize the window subwindow caches.
7959 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
7961 2000-05-09 Ben Wing <ben@xemacs.org>
7963 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
7966 2000-04-26 Mike Woolley <mike@bulsara.com>
7968 * ntheap.c: Changed recreate_heap to limit the amount reserved
7969 for the heap to that which is actually available. Also now
7970 displays a message box (with some dignostics) in the event that
7971 it still can't start.
7973 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
7975 * callproc.c (Fold_call_process_internal): GCPRO path
7977 2000-05-08 Jan Vroonhof <jan@xemacs.org>
7979 Patch by Bill Perry.
7981 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
7982 back data instead of #ifdef.
7983 (Fscrollbar_page_down): ditto.
7985 2000-05-07 Ben Wing <ben@xemacs.org>
7988 Kludge for defining Qmswindows_tstr.
7991 * nt.c (open_input_file):
7992 * nt.c (open_output_file):
7993 * nt.c (rva_to_section):
7994 * nt.c (mswindows_executable_type):
7995 Move all memory-mapped-file routines here (some were in unexnt.c,
7996 which is bad because they are used by process-nt.c, and unexnt
7997 won't be around when portable dumping). Synched the above routines
8001 Removed ifdef'd out bogus code.
8002 Fixed some prototypes.
8005 * nt.h (OFFSET_TO_RVA):
8006 * nt.h (RVA_TO_OFFSET):
8007 * nt.h (RVA_TO_PTR):
8008 Moved the memory-mapped-file structures, macros and prototypes
8009 here, to parallel nt.c. ntheap.h should really be removed
8010 entirely, and it's a non-portable-dumper specific file.
8012 * ntheap.h (round_to_next):
8013 Moved the memory-mapped-file structures, macros and prototypes
8016 * ntproc.c (compare_env):
8017 Moved rva_to_section and mswindows_executable_type to nt.c.
8018 Moved compare_env to process-nt.c.
8019 ntproc.c will die, one day.
8021 * ntproc.c (sys_spawnve):
8022 Account for win32_ -> mswindows_.
8025 * process-nt.c (struct nt_process_data):
8026 * process-nt.c (ensure_console_window_exists):
8027 * process-nt.c (compare_env):
8028 * process-nt.c (nt_create_process):
8029 * process-nt.c (nt_kill_process_by_pid):
8030 * process-nt.c (syms_of_process_nt):
8031 * process-nt.c (vars_of_process_nt):
8032 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8033 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8034 changes). Eliminate our old `nt-quote-process-args' mechanism.
8035 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8036 Move compare_env here from ntproc.c.
8038 * process.c (Fprocess_send_region):
8039 Takes an optional fourth argument, BUFFER, which should fix some
8040 problems with call-process.
8043 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8046 Move ICC_BAR_CLASSES to syscommctrl.h.
8047 Add preliminary macros for MSWindows/Mule. More to come.
8050 * unexnt.c (unexec):
8051 open_output_file moved to nt.c.
8054 2000-05-05 Andy Piper <andy@xemacs.org>
8056 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8057 instance from the frame cache also since GC may catch up too late
8058 to make frame deletion sane.
8060 2000-05-04 Andy Piper <andy@xemacs.org>
8062 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8063 (x_finalize_image_instance): ungcpro on deletion.
8065 * glyphs.c (image_instantiator_format_create): give pointers a
8066 query geometry method so that the geometry is at least set.
8068 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8069 initialize layouts if using widgets.
8071 2000-05-03 Andy Piper <andy@xemacs.org>
8073 * nt.c: remove bogus reference to sysmmsystem.h
8075 * gui-x.c (popup_selection_callback): fix no selection abort.
8077 2000-05-02 Andy Piper <andy@xemacs.org>
8079 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
8080 (mswindows_widget_instantiate): ditto.
8082 * glyphs-widget.c (initialize_widget_image_instance): initialize
8084 (widget_instantiate): cope with children and items in the same
8087 * glyphs.c (mark_image_instance): cope with children as a first
8089 (image_instance_equal): ditto.
8090 (image_instance_hash): ditto.
8091 (image_instance_changed): ditto.
8093 2000-04-30 Andy Piper <andy@xemacs.org>
8095 * glyphs.c (subwindow_query_geometry): new function. Return some
8097 (subwindow_instantiate): don't assign dimensions if none have been
8099 (image_instantiator_format_create): add subwindow_query_geometry.
8100 (print_image_instance): cope with layouts as widgets.
8102 2000-04-29 Andy Piper <andy@xemacs.org>
8104 * frame.c (delete_frame_internal): call
8105 free_frame_subwindow_instance_cache so that all subwindows are
8106 finalized before their parent.
8107 (mark_frame): remove subwindow_cachels.
8108 (Fmake_frame): remove subwindow_cachel manipulation.
8109 (allocate_frame_core): subwindow_instance_cache is a weak list.
8110 (delete_frame_internal): set subwindow_instance_cache to nil.
8112 * glyphs-msw.c (mswindows_finalize_image_instance): make double
8114 (mswindows_finalize_image_instance): use the device
8115 not the domain as the domain may have died already.
8117 * glyphs-x.c (x_finalize_image_instance): ditto.
8118 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8121 * redisplay-output.c (redisplay_unmap_subwindows): update for
8122 subwindow instance cache as a weak list.
8123 (redisplay_unmap_subwindows_maybe): ditto.
8124 (redisplay_unmap_subwindows_except_us): ditto.
8126 * glyphs.c (unmap_subwindow): error checking will check the domain
8127 so don't deal with it here. Don't use cachels anymore.
8128 (map_subwindow): ditto.
8129 (update_subwindow_cachel_data): remove old accessor names.
8130 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8131 (Fresize_subwindow): don't update cachel.
8132 (mark_subwindow_cachels):
8133 (update_subwindow_cachel_data):
8134 (add_subwindow_cachel):
8135 (get_subwindow_cachel_index):
8136 (update_subwindow_cachel):
8137 (reset_subwindow_cachels):
8138 (mark_subwindow_cachels_as_not_updated): deleted.
8139 (cache_subwindow_instance_in_frame_maybe): new function. Add a
8140 subwindow instance to the frame cache.
8141 (find_matching_subwindow): update for subwindow instance cache as
8143 (update_widget_instances): ditto.
8144 (image_instance_type_to_mask):inlined.
8145 (free_frame_subwindow_instance_cache): new function. finalize all
8146 subwindows that are instantiated.
8148 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
8149 of cachel information.
8150 (IMAGE_INSTANCE_DISPLAY_X):
8151 (IMAGE_INSTANCE_DISPLAY_Y):
8152 (IMAGE_INSTANCE_DISPLAY_WIDTH):
8153 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
8154 (XIMAGE_INSTANCE_DISPLAY_X):
8155 (XIMAGE_INSTANCE_DISPLAY_Y):
8156 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
8157 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
8158 remove subwindow_cachel structure and function references.
8159 (image_instance_type_to_mask): inline from glyphs.c
8161 * redisplay.c (redisplay_frame): remove subwindow_cachel
8164 * frame.h (struct frame): remove subwindow_cachels.
8165 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
8167 * frameslots.h: add subwindow_instance_cache.
8169 * window.c (replace_window): check subwindow cache of replacement.
8170 (window_unmap_subwindows_cache_mapper):
8171 (window_unmap_subwindows): new functions. Unmap all subwindows
8172 cached on this window.
8173 (mark_window_as_deleted): unmap all subwindows.
8175 2000-04-27 Andy Piper <andy@xemacs.org>
8177 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
8179 * glyphs-widget.c (widget_layout): return something.
8180 (layout_layout): return something. Fail if not initialized.
8181 (layout_query_geometry): ditto.
8182 (image_instantiator_native_layout): new function. Initialized the
8184 (widget_instantiate): don't do layout stuff here.
8186 * glyphs.c (instantiate_image_instantiator): reorded calling or
8187 instantiate and post_instantiate with layout in between.
8188 (image_instance_layout): be more selective about deciding whether
8189 the layout has been done or not.
8191 * glyphs.h (struct image_instantiator_methods): return a value
8194 2000-04-26 Andy Piper <andy@xemacs.org>
8196 * glyphs.c (allocate_image_instance): make initial width and
8197 height unspecified. Set initialized to 0.
8199 * syscommctrl.h new file. Encapsulates commctrl.h.
8201 * syswindows.h new file. Encapsulates windows.h.
8203 * ntplay.c: use new syswindows.h and syscommctrl.h header.
8205 * console-msw.h: ditto.
8207 * redisplay-tty.c (tty_output_display_block): remove layout references.
8209 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
8210 window handle rather than just the frame.
8212 * glyphs.c (mark_image_instance): remove layout references.
8213 (print_image_instance): ditto.
8214 (image_instance_equal): ditto.
8215 (image_instance_hash): ditto.
8216 (decode_image_instance_type): ditto.
8217 (encode_image_instance_type): ditto.
8218 (image_instantiate): ditto.
8219 (allocate_glyph): ditto.
8220 (Fimage_instance_height): ditto.
8221 (Fimage_instance_width): ditto.
8222 (update_subwindow): ditto.
8224 * redisplay-x.c (x_output_display_block): recode for layouts as
8227 * redisplay-output.c (redisplay_output_layout): recode for layouts
8229 (compare_runes): remove layout references.
8231 * redisplay-msw.c (mswindows_output_display_block): recode for
8234 * glyphs-widget.c (image_instantiator_layout): remove
8235 layout_possible_dest_types.
8236 (layout_possible_dest_types): deleted.
8238 * glyphs.h (image_instance_type): remove layout references.
8239 (struct Lisp_Image_Instance): ditto. Add initialized flag.
8240 (IMAGE_INSTANCE_INITIALIZED): new accessor.
8241 (XIMAGE_INSTANCE_INITIALIZED): ditto.
8243 2000-04-25 Andy Piper <andy@xemacs.org>
8245 * glyphs-widget.c (image_instantiator_buttons):
8246 (image_instantiator_edit_fields):
8247 (image_instantiator_combo_box):
8248 (image_instantiator_scrollbar):
8249 (image_instantiator_progress_guage):
8250 (image_instantiator_tree_view):
8251 (image_instantiator_tab_control):
8252 (image_instantiator_labels):
8253 (image_instantiator_layout): call default post_instantiate method.
8254 (widget_post_instantiate): new function. Simply lays out the
8257 * glyphs.h (struct image_instantiator_methods): add
8258 post_instantiate method.
8260 * glyphs.c (instantiate_image_instantiator): add post_instantiate
8263 2000-04-23 Andy Piper <andy@xemacs.org>
8265 * glyphs.h (struct image_instantiator_methods): add
8266 decode_domain_method.
8267 (struct Lisp_Image_Instance): remove subwindow frame - it can be
8268 derived from the domain.
8269 (IMAGE_INSTANCE_FRAME): new accessor.
8270 (XIMAGE_INSTANCE_FRAME): ditto.
8272 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
8273 instead of _SUBWINDOW_FRAME.
8274 (finalize_image_instance): ditto.
8275 (Fimage_instance_foreground): ditto.
8276 (Fimage_instance_background): ditto.
8277 (image_instantiate): ditto.
8278 (update_subwindow_cachel): ditto.
8279 (update_subwindow): ditto.
8280 (unmap_subwindow): ditto.
8281 (map_subwindow): ditto
8282 (subwindow_instantiate): ditto.
8283 * glyphs-msw.c (mswindows_update_widget): ditto.
8284 (mswindows_progress_gauge_instantiate): ditto.
8285 (mswindows_tab_control_update): ditto.
8286 * glyphs-x.c (x_update_widget): ditto.
8287 (x_widget_instantiate): ditto.
8288 (x_tab_control_instantiate): ditto.
8289 (x_tab_control_update): ditto.
8290 * event-msw.c (mswindows_wnd_proc): ditto
8292 * glyphs-widget.c (image_instantiator_layout): use
8293 subwindow_decode_domain.
8294 (image_instantiator_buttons): ditto.
8295 (image_instantiator_edit_fields): ditto.
8296 (image_instantiator_combo_box): ditto.
8297 (image_instantiator_scrollbar): ditto.
8298 (image_instantiator_progress_guage): ditto.
8299 (image_instantiator_tree_view): ditto.
8300 (image_instantiator_tab_control): ditto.
8301 (image_instantiator_labels): ditto.
8302 (image_instantiator_layout): ditto.
8304 * glyphs.c: add instance error checking to many functions.
8305 (instantiate_image_instantiator): decode device from cache_domain.
8306 (image_instantiate): partially rewrite by using
8307 decode_image_instantiator_domain to determine what domain the
8308 instance needs to be cached in.
8309 (decode_image_instantiator_domain): new function. Determine what
8310 domain the image needs to be cached in.
8311 (check_window_subwindow_cache): new error checking function.
8312 (check_instance_cache_mapper): ditto.
8313 (check_image_instance_structure): ditto.
8314 (subwindow_decode_domain): new function. Encodes a window as a
8315 subwindow's cache domain.
8316 (image_instantiator_format_create): use it for text and
8319 2000-04-21 Andy Piper <andy@xemacs.org>
8321 * glyphs.c (image_instance_device): new function.
8322 (image_instance_frame): new function.
8323 (image_instance_window): new function.
8324 (image_instance_live_p): new function.
8326 * window.c (mark_window_as_deleted): reset the subwindow_instance_
8329 * glyphs.h (struct Lisp_Image_Instance): device->domain.
8330 (IMAGE_INSTANCE_DOMAIN): new accessor.
8331 (XIMAGE_INSTANCE_DOMAIN): ditto.
8333 * glyphs-x.c (x_finalize_image_instance): device->domain.
8335 * glyphs-msw.c (init_image_instance_geometry): device->domain.
8336 (mswindows_finalize_image_instance): ditto.
8338 * glyphs-eimage.c (jpeg_instantiate): device->domain.
8339 (gif_instantiate): ditto.
8340 (png_instantiate): ditto.
8341 (tiff_instantiate): ditto.
8343 * glyphs.c (instantiate_image_instantiator): use domain rather
8345 (mark_image_instance): device -> domain.
8346 (print_image_instance): ditto.
8347 (finalize_image_instance): ditto.
8348 (image_instance_equal): ditto.
8349 (allocate_image_instance): ditto.
8350 (Fcolorize_image_instance): ditto.
8351 (query_string_geometry): ditto.
8352 (image_instantiate): ditto
8353 (query_string_font): ditto.
8354 (image_instantiate): ditto.
8355 (update_subwindow): ditto.
8356 (unmap_subwindow): ditto.
8357 (map_subwindow): ditto.
8358 (subwindow_instantiate): ditto.
8360 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
8361 (DOMAIN_FRAME): ditto.
8362 (DOMAIN_WINDOW): ditto.
8363 (DOMAIN_LIVE_P): ditto.
8364 (XDOMAIN_DEVICE): ditto.
8365 (XDOMAIN_FRAME): ditto.
8366 (XDOMAIN_WINDOW): ditto.
8368 * specifier.c (Fvalid_specifier_domain_p): add image instances as
8369 a valid specifier domain.
8371 2000-04-19 Andy Piper <andy@xemacs.org>
8373 * glyphs-widget.c (syms_of_glyphs_widget): remove
8374 widget-callback-current-channel.
8375 (vars_of_glyphs_widget): ditto.
8378 * gui.c (get_gui_callback): revert to previous behaviour.
8380 2000-04-18 Andy Piper <andy@xemacs.org>
8382 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
8383 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
8384 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
8386 * glyphs.c (image_instance_equal): add margin_width.
8387 (image_instance_hash): ditto.
8389 * glyphs-widget.c (widget_instantiate): deal with margin-width.
8390 (layout_query_geometry): ditto.
8391 (layout_layout): ditto.
8392 (syms_of_glyphs_widget): add margin-width.
8393 (image_instantiator_layout): allow margin-width.
8395 * glyphs.c (update_widget_instances): make a normal function.
8396 (syms_of_glyphs): remove Qupdate_widget_instances.
8399 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
8400 so that we don't corrupt ideas about the last event or
8401 command. Remove widget-callback-current-channel fiddling.
8402 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8404 2000-05-01 Martin Buchholz <martin@xemacs.org>
8406 * XEmacs 21.2.33 is released.
8408 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
8410 * make-src-depend: Allow dots in header file name.
8412 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
8414 * mule-charset.h (struct charset_lookup): Add
8415 next_allocated_1_byte_leading_byte and
8416 next_allocated_2_byte_leading_byte.
8417 * mule-charset.c: Move above two variables so that those values
8420 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
8422 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
8423 when string length is zero.
8424 (find_charsets_in_emchar_string): Ditto.
8426 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
8428 * lisp.h: extern Qdialog and Qmenubar.
8430 * gui-x.c: added events.h.
8431 also fixed typo which made the file uncompilable.
8433 * general.c: Added Qmenubar and Qdialog
8435 2000-04-28 Ben Wing <ben@xemacs.org>
8437 * frame-msw.c (mswindows_init_frame_1):
8438 * frame-msw.c (mswindows_mark_frame):
8439 * event-msw.c (mswindows_enqueue_dispatch_event):
8441 * console-msw.h (struct mswindows_frame):
8442 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
8443 there are now three hash tables for callbacks.
8444 mswindows_enqueue_dispatch_event is no longer static.
8446 * dialog-x.c (maybe_run_dbox_text_callback):
8447 * dialog-x.c (dbox_descriptor_to_widget_value):
8448 switch to new cons3 form for callbacks.
8450 * glyphs-msw.c (mswindows_register_gui_item):
8451 * glyphs-msw.c (mswindows_widget_instantiate):
8452 * glyphs-msw.c (add_tree_item):
8453 * glyphs-msw.c (add_tab_item):
8454 new image instance parameter, so it can be passed to callback-ex.
8455 respect :callback-ex as well as :callback.
8457 * glyphs-widget.c (VALID_GUI_KEYWORDS):
8460 * glyphs.c (print_image_instance):
8461 prettify, e.g. now prints widget type.
8464 certain funs have new image instance parameter.
8467 * gui.c (get_gui_callback):
8468 * gui.c (gui_item_add_keyval_pair):
8469 * gui.c (gui_item_init):
8470 * gui.c (gui_add_item_keywords_to_plist):
8471 * gui.c (mark_gui_item):
8472 * gui.c (gui_item_hash):
8473 * gui.c (gui_item_equal):
8474 * gui.c (copy_gui_item):
8475 * gui.c (syms_of_gui):
8476 recognize callback-ex in a number of places.
8477 also, fix the annoying "can't get out of yes-no dialog" bug.
8480 * gui.h (struct Lisp_Gui_Item):
8481 recognize callback-ex in a number of places.
8483 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8484 new parameter in button_item_to_widget_value.
8486 * glyphs-x.c (x_update_widget):
8487 * glyphs-x.c (x_button_instantiate):
8488 * glyphs-x.c (x_button_update):
8489 * glyphs-x.c (x_progress_gauge_instantiate):
8490 * glyphs-x.c (x_edit_field_instantiate):
8491 * glyphs-x.c (x_combo_box_instantiate):
8492 * glyphs-x.c (x_tab_control_instantiate):
8493 * glyphs-x.c (x_label_instantiate):
8494 new image instance parameter in various places.
8497 * event-Xt.c (enqueue_Xt_dispatch_event):
8498 this fun gets exported.
8501 * gui-msw.c (mswindows_handle_gui_wm_command):
8502 handle both :callback and :callback-ex, and generate our own
8503 event because it's one of the callback-ex arguments.
8506 * gui-x.c (popup_selection_callback):
8507 handle both :callback and :callback-ex, and generate our own
8508 event because it's one of the callback-ex arguments.
8509 * gui-x.c (button_item_to_widget_value):
8510 * gui-x.c (gui_items_to_widget_values_1):
8511 * gui-x.c (gui_item_children_to_widget_values):
8512 * gui-x.c (gui_items_to_widget_values):
8513 new image instance parameter in various places.
8515 * fns.c (Freplace_list):
8516 fix small typo in doc string.
8519 declare enqueue_Xt_dispatch_event.
8521 2000-04-28 Ben Wing <ben@xemacs.org>
8524 * buffer.c (Frecord_buffer):
8525 * buffer.c (syms_of_buffer):
8526 delete record-buffer-hook.
8529 * fns.c (Freplace_list):
8530 * fns.c (syms_of_fns):
8531 new primitive replace-list.
8534 slot for old buffer-alist.
8540 * redisplay.c (redisplay_frame):
8541 * redisplay.c (syms_of_redisplay):
8542 * redisplay.c (vars_of_redisplay):
8543 new hook buffer-list-changed-hook.
8546 2000-04-27 Ben Wing <ben@xemacs.org>
8548 * extents.h: extern in_modeline_generation.
8550 * redisplay.c (generate_formatted_string_db): set
8551 in_modeline_generation.
8553 * extents.c (extent_changed_for_redisplay): don't mark redisplay
8554 flags if in modeline generation. otherwise frame-modified-tick
8555 is ticked far too often.
8556 Declare in_modeline_generation.
8558 2000-04-26 Ben Wing <ben@xemacs.org>
8560 * emacs.c (vars_of_emacs): document quick-build "error-checking"
8562 (vars_of_emacs): add quick-build as an error-checking option.
8563 A bit kludgy, but there doesn't seem much point in creating
8564 a real var for this.
8566 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
8568 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
8570 * redisplay.h (struct display_line): Add a new variable,
8573 * redisplay.c (create_text_block): Set dl->line_continuation if
8575 (create_string_text_block): Ditto.
8576 (regenerate_window_incrementally): Use line_continuation instead
8577 of searching continuation glyph.
8578 (add_margin_runes): Call add_glyph_rune.
8579 (add_glyph_rune): Handle margin glyph.
8581 2000-04-20 Martin Buchholz <martin@xemacs.org>
8583 * filelock.c (fill_in_lock_file_name):
8585 Check for IS_ANY_SEP instead of '/'.
8587 Avoid generating gratuitous garbage. Call user_login_name() directly.
8588 Never check errno without first seeing that system call failed.
8589 (unlock_file): Add GCPRO.
8590 (Flock_buffer): Fix docstring.
8591 (Ffile_locked_p): Fix docstring. Add GCPRO.
8593 2000-04-19 Martin Buchholz <martin@xemacs.org>
8595 * sysdep.c (get_pty_max_bytes):
8596 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
8597 strings longer than 252 bytes.
8599 * md5.c: Unconditionally include ANSI header <limits.h>
8601 * glyphs-x.c (convert_EImage_to_XImage):
8602 * lisp-union.h (union Lisp_Object):
8603 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
8605 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8607 * filelock.c (current_lock_owner): Remove unused variable o, p.
8609 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
8611 * callint.c: Remove multiply defined symbol Qlet
8612 (syms_of_callint): ditto.
8614 2000-04-14 Andy Piper <andy@xemacs.org>
8616 * general.c (syms_of_general): add last-command, this-command, let
8619 * lisp.h: declare various symbols.
8621 * glyphs.h: declare Qwidget_callback_current_channel;
8623 * glyphs-widget.c (syms_of_glyphs_widget): add
8624 Qgui_callback_current_channel.
8625 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
8627 * gui-msw.c (mswindows_handle_gui_wm_command): bind
8628 widget-callback-current-channel when invoking the interactive
8629 arg. Also bind last-command and next-command when invoking the
8631 * gui-x.c (popup_selection_callback): ditto.
8633 * gui.c (get_gui_callback): massage args so that we are always
8634 calling eval. This allows us to add our own variable bindings
8637 * glyphs-x.c (x_button_instantiate): use
8638 gui_items_to_widget_values since this is GC safe.
8639 (x_progress_gauge_instantiate): ditto.
8640 (x_edit_field_instantiate): ditto.
8641 (x_label_instantiate): ditto.
8643 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
8644 (emacs_Xt_event_widget_focus_out): new function
8645 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
8647 (emacs_Xt_event_add_widget_actions): new function. add focus
8648 functions as actions.
8649 (init_event_Xt_late): use it.
8651 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
8653 * event-stream.c (Fdispatch_event): Doc fix.
8655 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
8657 * postgresql.c: Remove all references to PQsetenv*.
8659 * postgresql.h: Remove references to PGsetenvHandler object.
8660 * lrecord.h (lrecord_type): Ditto.
8662 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8664 * glyphs-msw.h (struct mswindows_image_instance_data): Added
8665 real_heigh and real_width members, and accessor macros for these.
8667 * glyphs-msw.c (init_image_instance_geometry): New function.
8668 (init_image_instance_from_dibitmap): Use it.
8669 (mswindows_resource_instantiate): Use it.
8670 (init_image_instance_from_xbm_inline): Use it.
8671 (mswindows_initialize_image_instance_mask): Use real bitmap
8673 (mswindows_create_resized_bitmap): Ditto.
8674 (mswindows_create_resized_mask): Ditto.
8676 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
8677 and bitmap to their surface size.
8679 2000-04-11 Jan Vroonhof <jan@xemacs.org>
8681 * process-unix.c (unix_send_process): Guard against process MIA
8682 after Faccept_process_output.
8684 2000-04-11 Ben Wing <ben@xemacs.org>
8686 * eval.c (unbind_to_hairy): fix brokenness introduced by
8687 nanosecond speed improvements.
8689 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
8691 * sunplay.c (init_device): To play sounds correctly, the device
8692 apparently needs to be initialized at least once by XEmacs. Make
8695 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
8697 * redisplay.c (add_margin_runes): Add text image glyph
8700 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8702 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
8703 gcc is newer than 2.5.
8705 2000-04-06 Colin Rafferty <colin@xemacs.org>
8707 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
8709 * fns.c (size_bit_vector):
8710 * alloc.c (size_vector):
8711 (make_vector_internal):
8712 (make_bit_vector_internal):
8713 (sweep_bit_vectors_1):
8714 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
8716 2000-04-06 Andy Piper <andy@xemacs.org>
8718 * gmalloc.c (malloc): undo previous change.
8723 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
8725 * line-number.c (buffer_line_number): Revert to former version.
8727 2000-04-06 Andy Piper <andy@xemacs.org>
8729 * gmalloc.c (malloc): add error checking.
8734 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
8735 button_item_to_widget_value arg.
8737 * glyphs-x.c (x_button_instantiate): add extra
8738 button_item_to_widget_value arg.
8739 (x_progress_gauge_instantiate): ditto.
8740 (x_edit_field_instantiate): ditto.
8741 (x_label_instantiate): ditto.
8743 * gui-x.c (gui_items_to_widget_values_1): add extra
8744 button_item_to_widget_value arg.
8745 (button_item_to_widget_value): add extra menu_item_p arg.
8747 * gui-x.h: change signature of button_item_to_widget_value.
8749 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
8750 button_item_to_widget_value arg.
8752 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8754 * buffer.h (struct buffer): auto_save_modified should be long.
8756 2000-04-05 Andy Piper <andy@xemacs.org>
8758 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
8760 (button_query_geometry): give a little more room so that athena
8763 2000-04-05 Andy Piper <andy@xemacs.org>
8765 * faces.c (complex_vars_of_faces): The widget face should inherit
8766 the font of the gui-element face.
8768 2000-04-04 Andy Piper <andy@xemacs.org>
8770 * glyphs-x.c (x_button_update): new function. unconditionally
8771 update a button's state when the instance is dirty.
8772 (image_instantiator_format_create_glyphs_x): add x_button_update.
8773 (x_widget_instantiate): remove old resize cruft.
8775 2000-04-02 Andy Piper <andy@xemacs.org>
8777 * frame.c (change_frame_size_1): The introduction of gutters means
8778 that we need to allow 0 as a potential frame dimension.
8780 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
8782 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
8783 image glyph if allow_cursor.
8784 (add_hscroll_rune): Don't allow cursor to border glyph.
8785 (create_text_block): Ditto.
8787 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
8789 (redisplay_output_layout): Call ensure_face_cachel_complete for
8793 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
8795 * redisplay.c (add_glyph_rune): Adding text image as text runes.
8797 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
8800 * redisplay-tty.c (tty_output_display_block): Delete the routine
8801 for text image glyph
8802 * redisplay-x.c (x_output_display_block): ditto
8803 * redisplay-msw.c (mswindows_output_display_block): ditto
8805 2000-02-02 Mike Alexander <mta@arbortext.com>
8807 Note: Some of these were committed by accident as part of other
8810 * regex.c (regex_compile): Avoid compiler warnings.
8812 * ntproc.c (sys_spawnve): Avoid compiler warnings.
8814 * nt.h: Declare term_ntproc correctly.
8816 * nt.c: Remove incorrect declaration of get_home_directory which
8817 is declared correctly in lisp.h.
8819 * keymap.c (get_keyelt): Avoid compiler warnings.
8820 (raw_lookup_key_mapper): Avoid compiler warnings.
8822 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
8824 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
8826 * filemode.c (mode_string): Avoid compiler warnings.
8828 * file-coding.c (Fcoding_system_aliasee): Add return statement to
8831 * events-mod.h: Undef some things that winuser.h defines differently.
8833 * data.c (Faset): Avoid compiler warnings.
8835 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
8837 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8839 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
8840 Fall through to simple beep on error.
8841 Replace "extern" by real header file.
8843 * linuxplay.c: Use nativesound.h
8844 (play_sound_data): Return error code. Be less verbose on error.
8846 * sunplay.c: Use nativesound.h
8847 (play_sound_data): Return error code. Be less verbose on error.
8849 * ntplay.c: Use nativesound.h
8850 (play_sound_data): Return fake error code
8852 * sgiplay.c: Use nativesound.h
8853 (play_sound_data): Return error code
8855 * hpplay.c: Use nativesound.h, partially implement
8856 new error code. Break compilation until finished.
8857 (play_sound_data): error code.
8859 * nativesound.h (play_sound_file):
8860 (play_sound_data): Prototype in new header.
8862 2000-03-31 Andy Piper <andy@xemacs.org>
8864 * glyphs-widget.c: (button_query_geometry): new function. Adjust
8865 for toggle and radio buttons.
8866 (image_instantiator_buttons): use it.
8868 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8870 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
8871 (x_update_horizontal_scrollbar_callback): Return if no mirror was
8872 found. Scrollbar event probably belonged to some old config.
8874 2000-03-31 Andy Piper <andy@xemacs.org>
8876 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
8878 (initialize_widget_image_instance): default layout to
8879 LAYOUT_HORIZONTAL rather than 0.
8880 (widget_instantiate): reverse the item list at the end rather than
8882 (layout_layout): re-code for the border text at the front of the
8883 item list rather than at the end.
8884 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
8885 provided by the user.
8886 (widget_query_geometry): comment.
8888 2000-03-30 Andy Piper <andy@xemacs.org>
8890 * glyphs-widget.c (image_instantiator_layout): allow standard
8891 widget keywords in layouts.
8893 * gutter.c (output_gutter): cope with nil gutter contents.
8895 * frame.c (Fset_frame_properties): add gutter docs.
8897 2000-03-29 Andy Piper <andy@xemacs.org>
8899 * toolbar-msw.c (TBSTYLE_FLAT): add.
8900 (mswindows_output_toolbar): minor fiddling.
8902 2000-03-29 Andy Piper <andy@xemacs.org>
8904 * gutter.c (output_gutter): force gutter size recalculation if
8905 what we are trying to display won't fit.
8906 (update_gutter_geometry): new function. A per-gutter version of
8907 update_frame_gutter_geometry.
8908 (update_frame_gutter_geometry): use it.
8909 (redraw_exposed_gutter): add extra debugging output.
8911 2000-03-28 Mike Alexander <mta@arbortext.com>
8913 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
8914 (pdump_file_unmap): Implement it on Windows
8915 (pdump_file_get): Save alocated handles for pdump_file_unmap
8917 2000-03-28 Andy Piper <andy@xemacs.org>
8919 * gui.c (get_gui_callback): treat Quit specially.
8921 2000-03-27 Andy Piper <andy@xemacs.org>
8923 * glyphs.c (image_instantiate): be careful to check in the same
8926 2000-03-27 Didier Verna <didier@xemacs.org>
8928 * config.h.in: define the proper SMART_INCLUDE macro.
8929 handle renaming of `foo_h_path' to `foo_h_file'.
8931 * database.c: ditto.
8935 * linuxplay.c: ditto.
8937 * terminfo.c: ditto.
8939 * tooltalk.h: ditto.
8941 2000-03-27 Andy Piper <andy@xemacs.org>
8943 * glyphs-msw.c (mswindows_update_widget): make sure the widget
8944 gets updated whenever the face might have changed.
8946 2000-03-26 Mike Alexander <mta@arbortext.com>
8948 * dumper.c (pdump_resource_free): Fix the comment.
8950 2000-03-21 Olivier Galibert <galibert@pobox.com>
8952 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
8954 2000-03-22 Mike Alexander <mta@arbortext.com>
8956 * dumper.c: Include Windows headers on Windows
8957 (pdump_resource_free): Add a body to the function
8958 (pdump_load): exe_name -> exe_path and add some comments.
8960 2000-03-25 Mike Alexander <mta@arbortext.com>
8962 * gui.c (copy_gui_item_tree): Return a value in all cases
8964 2000-03-21 Didier Verna <didier@xemacs.org>
8966 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
8968 (SMART_INCLUDE): new macro.
8969 (POSTGRES_INCLUDE): new macro to include postgresql headers from
8970 the proper location.
8972 * postgresql.c: use it.
8976 2000-03-24 Andy Piper <andy@xemacs.org>
8978 * gutter.c (redraw_exposed_gutters): must be "in display" when we
8981 2000-03-24 Andy Piper <andy@xemacs.org>
8983 * redisplay-output.c (compare_runes): use image_instance_changed
8984 to detect changes. Do not depend on glyphs_changed, only depend on
8986 (redisplay_output_layout): add debug messages.
8987 (compare_runes): ditto.
8989 * glyphs.h: declare new functions.
8990 (struct Lisp_Image_Instance): remove percent and associated
8993 * gui.h: declare new copying functions.
8995 * gui.c (copy_gui_item_tree): new function.
8996 (copy_gui_item): new function.
8997 (gui_item_id_hash): revert to standard hash.
8998 (gui_item_hash): ditto.
8999 (gui_item_hash_internal): deleted.
9000 (mark_gui_item): mark value.
9001 (gui_item_add_keyval_pair): add value.
9002 (gui_item_init): ditto.
9003 (gui_add_item_keywords_to_plist): ditto.
9004 (gui_item_equal): ditto.
9005 (syms_of_gui): add Q_value.
9007 * glyphs-x.c (x_progress_gauge_update): use pending items and
9008 value for setting the state.
9009 (x_update_widget): don't set items from pending here.
9011 * glyphs-widget.c (update_widget): update items here.
9012 (progress_gauge_set_property): use items for storing value. Put
9013 new value in pending items.
9015 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9016 items for new value. Convert percent -> value.
9017 (mswindows_tab_control_update): don't update items here.
9019 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9020 (update_subwindow): ditto.
9021 (image_instance_changed): new function. Compare hash values and
9022 past and present widget items.
9023 (image_instantiate): We more careful about where we instantiate
9025 (image_instantiate): add error checking.
9027 * gutter.c (syms_of_gutter): use -hook.
9029 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9031 * console-tty.c (Fset_console_tty_input_coding_system): Use
9033 (Fset_console_tty_output_coding_system): Use Qterminal.
9034 (tty_init_console): Use Qkeyboard and Qterminal.
9036 2000-03-21 Ben Wing <ben@xemacs.org>
9038 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9039 From Mike Alexander <mta@arbortext.com>.
9041 2000-03-21 Ben Wing <ben@xemacs.org>
9043 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9044 process brokenness. Proper implementation to come.
9046 Rename call-process-internal to old-call-process-internal.
9047 New impl. in process.el.
9049 2000-03-21 Martin Buchholz <martin@xemacs.org>
9051 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9053 2000-03-20 Andy Piper <andy@xemacs.org>
9055 * glyphs.c (full_list_hash): make hashes of the same elements in
9056 different orders return different values.
9058 2000-03-20 Martin Buchholz <martin@xemacs.org>
9060 * XEmacs 21.2.32 is released.
9062 2000-03-20 Martin Buchholz <martin@xemacs.org>
9064 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9065 (DFC_MALLOC_USE_CONVERTED_DATA):
9066 Add aliasing-safe casts to allow use with char* or unsigned char*
9069 * eldap.c (Fldap_open):
9070 (Fldap_search_basic):
9073 Make C++-compilable.
9074 Make sure GCPRO'ed variables are initialized.
9075 Use temp variables to avoid repeated calls to Flength.
9077 2000-03-16 Martin Buchholz <martin@xemacs.org>
9080 Make sure PATH_MAX is always defined.
9081 Include limits.h for PATH_MAX.
9082 Deprecate use of MAXPATHLEN.
9084 2000-03-10 Martin Buchholz <martin@xemacs.org>
9086 * emacs.c: Add reinit_vars_of_fileio.
9087 * symsinit.h: Add reinit_vars_of_fileio.
9088 * fileio.c (reinit_vars_of_fileio): New.
9089 * fileio.c (Fmake_temp_name):
9090 Initialize temp_name random number from microseconds to make
9091 collisions even less likely. Initialize always at process startup
9092 time. (make-temp-name) used to return the same file name twice in
9094 Random stylistic fiddling.
9097 2000-03-20 Andy Piper <andy@xemacs.org>
9099 * glyphs.c (image_instantiate): allow text glyphs to be
9100 instantiated in the minibuffer window.
9102 2000-03-19 Andy Piper <andy@xemacs.org>
9104 * glyphs.c (image_instance_hash): be careful about which items we
9107 * glyphs-widget.c (tab_control_set_property): record into pending
9108 items rather than the actual items.
9110 * glyphs-x.c (x_update_widget): use pending items to update with.
9112 * glyphs-msw.c (mswindows_tab_control_update): use pending items
9115 * glyphs.c (mark_image_instance): mark pending items.
9117 * window.c (Fset_window_configuration): record the buffer.
9118 (Fselect_window): totally revert previous change which breaks many
9121 2000-03-18 Andy Piper <andy@xemacs.org>
9123 * glyphs-msw.c (mswindows_tab_control_update): force selected
9126 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9127 window domain cache, otherwise we get inconsistencies at
9128 startup. There is something fishy at startup which can lead to the
9129 minibuffer being the selected window when the gutter content is
9132 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9134 (parse_gui_item_tree_children): ditto.
9135 (parse_gui_item_tree_item): ditto.
9137 * glyphs.c (Fupdate_widget_instances): return something.
9139 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9141 * window.c (Fselect_window): Undo 2000-03-17 change.
9143 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
9145 * postgresql.c (Fpq_setenv): Remove this turkey when linking
9146 against v7.0 libraries. Insta-coredump city until the postgres
9149 2000-03-17 Andy Piper <andy@xemacs.org>
9151 * faces.c (complex_vars_of_faces): don't give the widget face an
9152 inherited background pixmap.
9154 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
9157 * event-stream.c (Fdispatch_non_command_events): return something.
9159 * gutter.c (output_gutter): use widget face.
9160 (clear_gutter): ditto.
9162 * NEWS: adjust again.
9164 * window.c (Fselect_window): make sure this runs to completion to
9165 avoid oddities with Fset_window_configuration.
9166 (Fcurrent_window_configuration): in general do not save the
9167 minibuffer as the selected window.
9169 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
9171 2000-03-16 Olivier Galibert <galibert@pobox.com>
9173 * emacs.c (Frunning_temacs_p): Revert previous patch.
9174 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
9176 2000-03-16 Andy Piper <andy@xemacs.org>
9178 * glyphs-x.c (x_tab_control_update): if no widget values then
9181 * NEWS: update for new features.
9183 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
9184 synthetic event to the native system.
9185 (reinit_vars_of_event_Xt): set force_event_pending to
9186 emacs_Xt_force_event_pending.
9188 * events.h (struct event_stream): add force_event_pending.
9190 * specifier.c (recompute_one_cached_specifier_in_window): add
9193 * redisplay.c (redisplay_frame): don't call
9194 update_frame_subwindows. Reset subwindow cachels when
9195 subwindows_changed, removing this was an optimization too far.
9197 * redisplay-output.c (compare_runes): reorganize so that we catch
9198 glyph changes when we want them. Set optimize_output when this
9200 (redisplay_output_layout): remove frame_really_changed, use
9201 optimize_output instead.
9203 * redisplay-msw.c (mswindows_output_display_block): reset
9204 optimize_output after outputting a glyph.
9205 * redisplay-x.c (x_output_display_block): ditto.
9206 * redisplay-tty.c (tty_output_display_block): ditto.
9208 * gutter.c: (specifier_vars_of_gutter): use new spec changed
9210 (gutter_specs_changed): do specific gutter positions.
9211 (top_gutter_specs_changed): new function. Only update the
9212 specified gutter specs.
9213 (bottom_gutter_specs_changed): ditto.
9214 (left_gutter_specs_changed): ditto.
9215 (right_gutter_specs_changed): ditto.
9217 * gui.c (gui_item_hash_internal): new function, does a real hash.
9218 (gui_item_id_hash): use it.
9219 (gui_item_hash): hash the eval'ed gui_item.
9221 * gui-x.c (popup_selection_callback): send an eval event to call
9222 Fupdate_widget_instances.
9224 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
9225 to call Fupdate_widget_instances.
9227 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
9228 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
9230 * glyphs.c: (update_frame_subwindows): deleted.
9231 (Fupdate_widget_instances): new function for updating the dirty
9232 state of widgets that might have changed.
9233 (syms_of_glyphs): add Qupdate_widget_instances.
9234 (full_list_hash): hash a list completely.
9235 (image_instance_hash): use it for items and properties.
9237 * frame-msw.c (mswindows_size_frame_internal): remove unused
9240 * faces.h (struct face_cachel): fix comment.
9242 * event-stream.c (Fdispatch_non_command_events): new
9243 function. Process non-command events, forcing an event cycle
9245 (syms_of_event_stream): declare.
9246 (event_stream_force_event_pending): new function. Force an event
9247 on the native event queue so that an event cycle will occur next
9251 (struct ntpipe_shove_stream):
9252 (mswindows_enqueue_dispatch_event):
9253 (mswindows_dequeue_dispatch_event):
9254 (mswindows_cancel_dispatch_event):
9255 (mswindows_pump_outstanding_events):
9256 (mswindows_drain_windows_queue):
9257 (mswindows_handle_paint):
9258 (mswindows_wnd_proc):
9259 (mswindows_key_to_emacs_keysym):
9260 (get_process_input_waitable):
9261 (emacs_mswindows_delete_stream_pair): re-indent file.
9262 (mswindows_need_event): do not process further fds if the windows
9263 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
9264 fixes the 100% cpu problem.
9265 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
9267 2000-03-15 Olivier Galibert <galibert@pobox.com>
9273 * emacs.c: Moved dump file searching to dumper.c.
9274 (Frunning_temacs_p): Fixed.
9276 * alloc.c: Moved everything pdump-related to dumper.c. Removed
9277 last_lrecord_type_index_assigned.
9279 2000-02-20 Olivier Galibert <galibert@pobox.com>
9281 * symsinit.h: Added reinit parameter to init_console_stream
9284 * lisp.h: Added file parameter to pdump_load declaration.
9286 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
9287 support. Added dump file searching.
9289 * config.h.in: Added EMACS_PROGNAME.
9291 * console-stream.c (init_console_stream): Fix reinitialisation
9292 when running from temacs.
9294 * alloc.c (pdump): Add id support.
9295 (pdump_load): Add file parameter and signature/id support.
9297 * Makefile.in.in: Add full pdump support.
9299 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
9301 * postgresql.c: Update documentation to reflect latest code
9303 (print_result): Show tuple counts in printed representation when
9305 (Fpq_put_nbytes): MULE-ize.
9306 (Fpq_get_line_async): Ditto.
9308 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9310 * postgresql.c (Fpq_lo_import): Fix return value.
9311 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
9313 2000-03-13 Ben Wing <ben@xemacs.org>
9315 * alloc.c (pdump_load):
9316 Fix compile warning under mswin.
9318 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9320 * postgresql.c: Mule-ization, bug fixes.
9321 Use PG_CODING to encapsulate coding system name changes.
9322 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
9323 (pg-coding-system): Create.
9325 (Fpq_conn_defaults): Mule-ize.
9326 (Fpq_connectdb): Mule-ize & bug fix.
9327 (Fpq_connect_start): Mule-ize.
9328 (Fpq_set_client_encoding): Mule-ize.
9329 (Fpq_finish): Document `DEAD' connection status.
9331 (Fpq_pgconn): Mule-ize.
9332 (Fpq_exec): Mule-ize & bug fix.
9333 (Fpq_send_query): Ditto.
9334 (Fpq_get_result): Ditto.
9335 (Fpq_res_status): Mule-ize.
9336 (Fpq_result_error_message): Mule-ize.
9337 (Fpq_ntuples): fix comments.
9338 (Fpq_fname): Mule-ize.
9339 (Fpq_fnumber): Mule-ize.
9340 (Fpq_ftype): fix comments.
9341 (Fpq_get_value): Mule-ize.
9342 (Fpq_cmd_status): Ditto.
9343 (Fpq_cmd_tuples): Ditto.
9344 (Fpq_oid_value): Ditto.
9345 (Fpq_notifies): Ditto.
9346 (Fpq_lo_import): Ditto.
9347 (Fpq_lo_export): Ditto.
9348 (Fpq_get_line): Ditto.
9349 (Fpq_put_line): Mule-ize and bug fix.
9350 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
9352 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9354 * postgresql.c (vars_of_postgresql): Mule-ize.
9355 (Fpq_conn_defaults): Ditto.
9357 2000-03-12 Ben Wing <ben@xemacs.org>
9359 * alloc.c (Fmake_byte_code):
9360 * alloc.c (debug_string_purity_print):
9361 * alloc.c (pdump_backtrace):
9362 * alloc.c (pdump_get_indirect_count):
9363 * alloc.c (pdump_register_sub):
9364 * alloc.c (pdump_register_object):
9365 * alloc.c (pdump_register_struct):
9366 * alloc.c (pdump_dump_data):
9367 * alloc.c (pdump_reloc_one):
9371 * console-msw.c (GetConsoleHwnd):
9372 * console-msw.c (msw_hide_console):
9373 * console-msw.c (msw_show_console):
9374 * console-msw.c (msw_ensure_console_buffered):
9375 * console-msw.c (msw_output_console_string):
9376 * console-msw.c (console_type_create_mswindows):
9378 a) Added functions to manipulate the console window for use with
9381 b) Added support for writing text to the console, which is now
9382 used under Windows when xemacs is not being run non-interactively,
9383 to write text that would otherwise be destined for stdout because
9384 under these circumstances, text written to stdout tends to
9385 disappear and not be seen.
9389 * event-Xt.c (x_event_to_emacs_event):
9390 * event-Xt.c (describe_event_window):
9391 * events-mod.h (XEMACS_MOD_CONTROL):
9393 * events.c (Fmake_event):
9394 * events.c (character_to_event):
9395 * events.c (event_to_character):
9396 * events.c (format_event_object):
9397 * events.c (Fevent_modifiers):
9399 * events.h (struct key_data):
9400 * events.h (struct button_data):
9401 * events.h (struct misc_user_data):
9402 * frame-x.c (Fcde_start_drag_internal):
9403 * frame-x.c (Foffix_start_drag_internal):
9404 * gpmevent.c (Freceive_gpm_event):
9406 * keymap.c (bucky_sym_to_bucky_bit):
9407 * keymap.c (control_meta_superify):
9408 * keymap.c (make_key_description):
9409 * keymap.c (keymap_lookup_directly):
9410 * keymap.c (create_bucky_submap):
9411 * keymap.c (keymap_store):
9412 * keymap.c (define_key_check_and_coerce_keysym):
9413 * keymap.c (define_key_parser):
9414 * keymap.c (define_key_alternate_name):
9415 * keymap.c (Fdefine_key):
9416 * keymap.c (raw_lookup_key_mapper):
9417 * keymap.c (struct map_keymap_unsorted_closure):
9418 * keymap.c (map_keymap_unsorted_mapper):
9419 * keymap.c (map_keymap_sort_predicate):
9420 * keymap.c (map_keymap_sorted):
9421 * keymap.c (accessible_keymaps_mapper_1):
9422 * keymap.c (where_is_recursive_mapper):
9423 * keymap.c (describe_map_mapper):
9424 * keymap.c (describe_map_sort_predicate):
9425 * keymap.c (describe_map):
9426 * keymap.c (complex_vars_of_keymap):
9427 And a number of other files, the key modifier preprocessor
9428 constants that xemacs uses have names that conflict with constants
9429 defined under MS Windows for other purposes, so they were renamed
9430 to begin with the prefix XEMACS_. The variables that hold such
9431 modifiers were changed to consistently be of type int to fix
9432 various compile warnings.
9434 * console.c (complex_vars_of_console):
9437 * device-msw.c (mswindows_finish_init_device):
9438 * device-msw.c (msw_get_workspace_coords):
9439 * device-msw.c (mswindows_device_system_metrics):
9440 and various other files, added support for a new
9441 device property called offset-workspace which returns the position
9442 of the upper left corner of the workspace area and goes along with
9443 the existing size-workspace property.
9446 * dialog-msw.c (push_bufbyte_string_as_unicode):
9447 * dialog-msw.c (mswindows_popup_dialog_box):
9448 Added support for XEmacs-style accelerator specifications in
9449 button text. Note: I didn't add support for this under X Windows,
9450 and somebody needs to do this.
9453 * dialog.c (Fpopup_dialog_box):
9454 Documented the support for accelerators that was just mentioned.
9456 editfns.c (get_home_directory): Changed behavior under Windows
9457 when HOME not defined; former behavior was irretrievably broken.
9462 * minibuf.c (clear_echo_area_internal):
9463 * minibuf.c (echo_area_append):
9465 * print.c (std_handle_out_external):
9466 * print.c (std_handle_out_va):
9468 * print.c (write_string_to_stdio_stream):
9469 * print.c (output_string):
9470 * print.c (debug_print):
9471 * print.c (debug_backtrace):
9472 * print.c (debug_short_backtrace):
9473 Cleaned up the code that prints text to stdout so that this can be
9474 changed to output into a console window instead under MS Windows,
9478 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
9479 * eval.c (internal_catch):
9480 * eval.c (unwind_to_catch):
9481 * eval.c (throw_or_bomb_out):
9482 * eval.c (condition_case_1):
9483 * eval.c (signal_1):
9484 * eval.c (check_error_state_sanity):
9485 * eval.c (call_with_suspended_errors_1):
9486 * eval.c (call_with_suspended_errors):
9487 * eval.c (reinit_vars_of_eval):
9488 Added code to catch throw loops and check for a pesky bug that may
9492 * event-msw.c (key_needs_default_processing_p):
9493 * event-msw.c (mswindows_wnd_proc):
9494 * event-msw.c (mswindows_modifier_state):
9495 * event-msw.c (emacs_mswindows_quit_p):
9496 * event-msw.c (vars_of_event_mswindows):
9497 a) Added support for using the alt key to select menu items as is
9498 standard under MS Windows. This is controlled using the variable
9499 menu-accelerator-enabled, just like under X Windows. There is an
9500 option on the options menu to turn this support on. I really
9501 think that it should be on by default under Windows, but I'm not
9502 going to make this change yet.
9504 b) Added support for dynamic display size changes under Windows.
9507 * event-stream.c (maybe_echo_keys):
9508 * event-stream.c (Fnext_event):
9509 * event-stream.c (command_builder_find_leaf):
9510 * event-stream.c (lookup_command_event):
9511 * event-stream.c (execute_command_event):
9512 * event-stream.c (pre_command_hook):
9513 * event-stream.c (post_command_hook):
9514 * event-stream.c (syms_of_event_stream):
9515 * event-stream.c (vars_of_event_stream):
9516 * event-stream.c (complex_vars_of_event_stream):
9517 * events.h (struct command_builder):
9519 a) Tried to clean up a little bit the horribly written x-specific
9520 accelerator code that crept into this file. I moved this code
9521 into menubar-x.c where it belongs. I also needed to move the
9522 command builder structure into the file events.h because it is
9523 accessed directly by this accelerator code. What I didn't do, but
9524 which should be done at some point, is to properly abstract this
9525 code using device methods instead of the kludgy way that it
9526 currently hooks into the event code.
9528 b) Added the lisp variables this-command-properties and
9529 last-command- properties, which should be used to synchronize two
9530 adjacent commands in preference to playing games with the variable
9531 this-command, which is typically what happens.
9533 c) Added some slightly nasty code to hook into the lisp support
9534 for shifted- motion-key selection. This is actually necessary for
9535 somewhat complicated reasons, which are described in
9536 simple.el. (NB: I think the proper thing would be to have the code
9537 that calls the pre and post command hooks also call out to generic
9538 lisp functions in simple.el, where all built-in stuff could be
9539 added. I will think about this more.)
9541 * event-unixoid.c (poll_fds_for_input):
9542 * lread.c (readchar):
9543 * redisplay-tty.c (tty_clear_frame):
9544 * redisplay-x.c (x_get_gc):
9545 * signal.c (interrupt_signal):
9546 And a whole bunch of other files: fixed up places that printed
9547 directly to stderr to instead call the function stderr_out so that
9548 the changes I made under Windows work correctly.
9550 * filemode.c (mode_string):
9554 * frame-msw.c (mswindows_size_frame_internal):
9555 Fixed the computation of frame size and position to keep the frame
9556 within the workspace area, rather than within the physical
9557 dimensions of the screen, so that the frame doesn't overlap window
9558 manager decorations, such as the start menu and toolbar, typically
9559 at the bottom of the screen.
9561 * frame.c (vars_of_frame):
9562 Changed the default frame title format under MS Windows to consist
9563 of buffername-XEmacs, which is standard under MS Windows. I think
9564 it might be a good idea to change this everywhere because I think
9565 it is superior to the current frame title format, but this is the
9566 kind of change that is likely to cause some people to get annoyed,
9567 so I'm not making it.
9569 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
9571 * gui-msw.c (mswindows_handle_gui_wm_command):
9572 Fixed compile warnings.
9575 * gui-x.c (strdup_and_add_accel):
9576 * gui-x.c (button_item_to_widget_value):
9578 Added code to automatically put an accelerator onto the beginning
9579 of menu items that don't have one as is now the standard, and is
9580 described more later. Also fixed things so that the menu item
9581 name can be an evaluated expression, again a new standard.
9584 * gui.c (gui_item_add_keyval_pair):
9585 * gui.c (make_gui_item_from_keywords_internal):
9586 * gui.c (gui_add_item_keywords_to_plist):
9587 * gui.c (gui_item_accelerator):
9588 * gui.c (gui_name_accelerator):
9589 * gui.c (gui_item_included_p):
9590 * gui.c (gui_item_display_flush_left):
9591 * gui.c (gui_item_display_flush_right):
9592 * gui.c (parse_gui_item_tree_item):
9593 * gui.c (parse_gui_item_tree_children):
9594 * gui.c (parse_gui_item_tree_list):
9595 Mule-ized. Cleanup. GCPRO addition.
9597 * line-number.c (buffer_line_number):
9599 * lisp.h (EMACS_INT_MAX):
9600 Added the manifest constant EMACS_INT_MIN corresponding to the
9601 existing constant EMACS_INT_MAX. This is partially to fix compile
9602 warnings under Windows, and partly for cleanliness.
9605 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
9606 * menubar-msw.c (msw_translate_menu_or_dialog_item):
9607 * menubar-msw.c (displayable_menu_item):
9608 * menubar-msw.c (populate_menu_add_item):
9609 * menubar-msw.c (populate_or_checksum_helper):
9610 * menubar-msw.c (populate_menu):
9611 * menubar-msw.c (update_frame_menubar_maybe):
9612 * menubar-msw.c (prune_menubar):
9613 * menubar-msw.c (msw_char_is_accelerator):
9614 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
9615 * menubar-msw.c (mswindows_handle_wm_command):
9616 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
9617 * menubar-msw.c (mswindows_handle_wm_initmenu):
9618 * menubar-msw.c (mswindows_update_frame_menubars):
9619 * menubar-msw.c (mswindows_free_frame_menubars):
9620 * menubar-msw.c (mswindows_popup_menu):
9621 Fixed a bug in handling accelerators where an extra character
9622 would be displayed in the menu item. Also generalized the
9623 function displayable_menu_item because it is now used by the
9624 dialog box code as well. And finally, added code in the functions
9625 that create the menubar to extract a list of accelerators for the
9626 top level menubar, which is used in the event code to determine
9627 whether a particular alt-key combination should be used to invoke
9628 a menu item, or should be passed through to access the standard
9629 XEmacs keymap binding for this key combination.
9631 Much needed GCPROing.
9634 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9635 * menubar-x.c (menu_item_descriptor_to_widget_value):
9636 * menubar-x.c (restore_in_menu_callback):
9637 * menubar-x.c (x_popup_menu):
9638 * menubar-x.c (menu_move_up):
9639 * menubar-x.c (menu_move_down):
9640 * menubar-x.c (menu_move_left):
9641 * menubar-x.c (menu_move_right):
9642 * menubar-x.c (menu_select_item):
9643 * menubar-x.c (command_builder_operate_menu_accelerator):
9644 * menubar-x.c (menu_accelerator_junk_on_error):
9645 * menubar-x.c (command_builder_find_menu_accelerator):
9646 * menubar-x.c (Faccelerate_menu):
9648 Moved a whole bunch of code here that was previously in
9649 event-stream.c as described above. There is also code connected
9650 to the new standard of adding an accelerator to the beginning of
9651 menu items that don't have one as described above and below.
9654 * menubar.c (menu_parse_submenu_keywords):
9655 * menubar.c (Fmenu_find_real_submenu):
9656 * menubar.c (Fnormalize_menu_item_name):
9657 * menubar.c (syms_of_menubar):
9658 * menubar.c (vars_of_menubar):
9659 * menubar.c (complex_vars_of_menubar):
9661 a) Cleaned up a bunch of documentation and improved it.
9663 b) XEmacs now automatically adds an accelerator onto the beginning
9664 of any menu items that don't have one. I did this because there
9665 will inevitably be some menu items on the main menubar that don't
9666 have accelerators on them because the package that adds that
9667 particular menu item hasn't yet been fixed up to have accelerators
9668 in them and it looked rather strange to have some items with and
9669 some items without accelerators, especially since even in items
9670 without accelerators, you can, at least under windows, still
9671 access the item through an accelerator corresponding to the first
9672 character in the item's name. If people don't like this behavior,
9673 I can add a variable to turn it off optionally, but I'm not sure
9674 this is a good idea because we really do need to have accelerators
9675 on all of the menu items, and if a package doesn't like the
9676 accelerators being put on the first character, then it should put
9677 the accelerators where they belong.
9679 c) I made a behavior change, which is that the descriptor that
9680 specifies the text of the menu item, which formerly was just a
9681 string, can now also be an evaluated expression. This makes this
9682 descriptor parallel with all of the others, which could also be
9683 evaluated expressions. This also obviates the need for the
9684 keyword :label, which was previously listed in the documentation
9685 as unimplemented, and which was for the same purpose.
9690 * ntproc.c (new_child):
9691 * ntproc.c (sys_spawnve):
9692 * ntproc.c (find_child_console):
9693 * ntproc.c (sys_kill):
9694 Fixed compile warnings. By the way, this file should really go
9695 away entirely, and this will happen as soon as Kirill makes his
9696 final round of process cleanups, which affect the function
9700 * process-nt.c (struct nt_process_data):
9701 * process-nt.c (find_process_from_pid):
9702 * process-nt.c (send_signal_the_nt_way):
9703 * process-nt.c (enable_child_signals):
9704 * process-nt.c (find_child_console):
9705 * process-nt.c (send_signal_the_95_way):
9706 * process-nt.c (nt_finalize_process_data):
9707 * process-nt.c (ensure_console_window_exists):
9708 * process-nt.c (nt_create_process):
9709 * process-nt.c (nt_kill_child_process):
9710 * process-nt.c (nt_kill_process_by_pid):
9711 * process-nt.c (nt_open_network_stream):
9712 * process-nt.c (vars_of_process_nt):
9713 Copied over code from Emacs 20.5 to correctly send signals to sub-
9714 processes under Windows 95. Also added code to automatically
9715 create and hide console window when a sub-process is created under
9716 Windows 95, which obviates the need for the separate runemacs.exe
9717 executable, and finally implemented some variables that were
9718 implemented in Emacs 20.5, but previously not in XEmacs. These
9719 include mswindows- start-process-share-console and
9720 mswindows-start-process-inherit-error-mode. (Both of these only
9721 apply to Windows 95.)
9723 * regex.c (regex_compile): Fixed a compile warning.
9726 * select-msw.c (mswindows_own_selection):
9727 * select-msw.c (mswindows_get_foreign_selection):
9728 * select-msw.c (mswindows_disown_selection):
9729 * select-msw.c (console_type_create_select_mswindows):
9730 * select-msw.c (syms_of_select_mswindows):
9731 Cleaned up the file and implemented the device method
9732 selection_exists_p, which had accidentally been left out. Also
9733 removed four lisp functions that were remnants from before the
9734 time when the selection code was properly device abstracted.
9735 These functions are no longer needed because there are generic
9736 equivalents, and because they were added recently and don't exist
9737 in FSF Emacs, I don't think there's any problem with just deleting
9741 * sysdep.c (sys_subshell):
9742 Fixed a compile warning, although in this case there's probably
9743 something wrong with this code, and it ought to be looked into
9744 more thoroughly by somebody who understands it.
9747 * window.c (Fwindow_text_area_height):
9748 * window.c (Fwindow_width):
9749 * window.c (Fwindow_full_width):
9750 * window.c (Fwindow_pixel_width):
9751 * window.c (debug_print_window):
9752 * window.c (syms_of_window):
9753 Added functions window-text-area-height and window-full-width,
9754 which are functions for returning various width and height
9755 characteristics of a window. (One of these functions is necessary
9756 for making the file dialog box work correctly, and the other one
9757 was added for completeness.) Also added a table to the
9758 documentation for window-height which describes the entire scheme
9759 for accessing width and height characteristics of a window.
9761 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9763 * nt.c (fstat): Added a comment for another problem with
9764 non-encapsulated [f]stat(), reported by Adrian Aichner
9765 <aichner@ecf.teradyne.com>.
9767 2000-03-11 Andy Piper <andy@xemacs.org>
9769 * window.c (make_dummy_parent): initialize subwindow instance
9771 (Fset_window_configuration): zero extent_modiff.
9773 2000-03-10 Andy Piper <andy@xemacs.org>
9775 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
9776 more changes can be triggered.
9777 (Fredisplay_frame): ditto.
9778 (Fredraw_device): ditto.
9779 (Fredisplay_device): ditto.
9780 (redisplay_frame): make non-static.
9781 (redisplay_frame): call update_frame_gutter_geometry outside of
9784 * gutter.h: declare update_frame_gutter_geometry.
9786 * redisplay.h: declare redisplay_frame.
9788 * gutter.c (update_frame_gutter_geometry): move geometry changes
9789 in update_frame_gutters here. Geometry changes can only occur
9790 outside of redisplay.
9791 (update_frame_gutters): remove geometry change code.
9792 (Fredisplay_gutter_area): make sure that we are in display when we
9793 update and that we have flushed any size changes.
9795 2000-03-11 Andy Piper <andy@xemacs.org>
9797 * alloc.c (pdump_dump_data): remove i & count shadows.
9799 2000-02-27 Mike Alexander <mta@arbortext.com>
9801 * sysdep.h: Declare pdump_read_file
9803 * sysdep.c (pdump_read_file): New function
9805 * alloc.c (pdump_load): Call pdump_read_file to get the portable
9808 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9810 * lrecord.h: add `lrecord_type_pgsetenv'.
9812 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
9814 * symsinit.h: declare (vars|syms)_of* functions.
9815 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
9817 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
9819 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
9821 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
9824 * emacs.c (main_1): Call postgres initialization code.
9826 * postgresql.h: New file. PostgreSQL RDBMS support.
9827 * postgresql.c: New file.
9829 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9831 * redisplay-output.c (redisplay_output_display_block): Disable
9834 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9836 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
9837 (Fcanna_henkan_next): Ditto.
9838 (Fcanna_bunsetu_henkou): Ditto.
9839 (Fcanna_henkan_kakutei): Ditto.
9840 (Fcanna_henkan_end): Ditto.
9841 (Fcanna_henkan_quit): Ditto.
9842 (Fcanna_henkan_next): Set retun value correctly.
9843 (c2mu): Use unsigned char instead of signed char.
9845 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9847 * emacs.c (main_1): Always call syms_of_gui.
9848 * inline.c: include gui.h
9850 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9852 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
9853 converted to Lisp_Object.
9854 (Qtop_bottom): New variable.
9855 (syms_of_redisplay): Initialize it.
9856 * redisplay.h (Vvisible_bell): Ditto.
9857 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
9858 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
9859 only flash top and bottom.
9861 2000-03-08 Andy Piper <andy@xemacs.org>
9863 * buffer.c (Frename_buffer): record new buffer name the right way.
9865 2000-03-08 Andy Piper <andy@xemacs.org>
9867 * glyphs.c (update_subwindow): increase hash depth so that widget
9868 items get picked up properly.
9870 * redisplay-output.c (compare_runes): increase hash depth so that
9871 widget items get picked up properly.
9873 2000-03-08 Andy Piper <andy@xemacs.org>
9875 * gutter.c (output_gutter): add some debug.
9877 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
9878 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
9879 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
9881 * redisplay-output.c (compare_runes): use display_hash to
9882 determine if glyphs really are not the same.
9884 * glyphs.c (update_subwindow): check display_hash to see if
9885 anything really needs to be updated. If not then do
9886 nothing. Record the display_hash after updating.
9887 (image_instance_equal): compare the image_instance face also.
9889 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
9891 * redisplay.h: Fix comment style.
9893 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
9895 * consle-msw.h (struct mswindows_frame):
9896 Added new member paint_pending to indicate whether a WM_PAINT
9897 magic event has been queued for this frame.
9899 * event-msw.c (mswindows_drain_windows_queue):
9900 Don't queue a WM_PAINT magic event if one is already queued.
9901 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
9903 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
9905 2000-03-07 Didier Verna <didier@xemacs.org>
9907 * dired.c: #include `regex.h' after `sysfile.h'.
9909 2000-03-06 Martin Buchholz <martin@xemacs.org>
9911 * sound.c (init_nas_sound): Fix compiler warning.
9913 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
9915 (MARK_STRUCT_AS_FREE):
9916 (MARK_STRUCT_AS_NOT_FREE):
9917 Make `gcc -fstrict-aliasing' work properly.
9919 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
9921 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
9922 (mswindows_delete_device): Call CoUnnitialize().
9924 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
9926 2000-02-25 <CraigL@DyCon.com>
9928 * process-nt.c: MinGW now has <shellapi.h>, but still needs
9931 * sysdep.c: This extern declaration for environ prevents MinGW
9932 from finding the variable in CRTDLL.DLL.
9934 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
9938 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
9940 (MMRESULT): Removed, now defined in cygwin's windows headers.
9942 (uid_t,gid_t,pid_t,ssize_t): ..
9943 (_timeb): Removed, MinGW defines both _timeb and timeb.
9944 (HAVE_H_ERRNO): Added.
9945 (HAVE_TZNAME): Added, configure is not detecting this.
9947 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
9949 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
9950 * syntax.c (syntax_match): Use it.
9952 * cmds.c: Import auto-fill-chars from FSF Emacs.
9953 (Vauto_fill_chars): New variables.
9954 (internal_self_insert): Check Vauto_fill_chars.
9956 Declare auto-fill-chars as a Lisp variable and initialize it.
9958 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9960 * fileio.c (Fmake_symbolic_link):
9962 Run handlers even if local machine doesn't have symlinks.
9964 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
9966 * event-msw.c (mswindows_drain_windows_queue):
9967 Don't generate paint magic events for non-XEmacs frames.
9969 2000-03-05 Andy Piper <andy@xemacs.org>
9971 * redisplay.c (redisplay_frame): generate_displayable_area and
9972 friends assumes that we are not in GC, we therefore have to make
9973 sure that this doesn't happen.
9975 * gutter.c (calculate_gutter_size): generate_displayable_area
9976 assumes that we are not in GC, we therefore have to make sure that
9977 this doesn't happen.
9979 2000-03-05 Martin Buchholz <martin@xemacs.org>
9981 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
9983 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9985 * redisplay.c (regenerate_window): Make sure we set a sane value
9986 for end_pos even if we jump out of the loop.
9987 (regenerate_window): Answer Ben's question :-).
9988 (start_end_of_last_line): Add may_error argument.
9989 (start_of_last_line):
9990 (end_of_last_line): Pass may_error = 0.
9991 (end_of_last_line_may_error): New function.
9992 (pixel_to_glyph_translation): Use it, so we don't crash in
9995 2000-03-04 Andy Piper <andy@xemacs.org>
9997 * window.h (struct window): add gutter_extent_modiff.
9999 * window.c (allocate_window): zero out gutter_extent_modiff.
10001 * redisplay.h: declare sync_display_line_structs.
10003 * redisplay.c (add_glyph_rune): add a better comment.
10005 * redisplay-output.c (sync_display_line_structs): made non-static.
10006 (compare_runes): remove unneccesary glyph cachel access.
10008 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10010 * gutter.c (output_gutter): don't output the gutter if extent
10011 changes only involve extents in buffers. use 4 sets of display
10013 (gutter_extent_signal_changed_region_maybe): new function. Mark
10014 extents in gutters as changed.
10015 (update_frame_gutters): use 4 sets of display lines.
10016 (reset_gutter_display_lines): ditto.
10017 (free_frame_gutters): ditto.
10018 (redraw_exposed_gutter): force output of gutters.
10020 * frame.h (struct frame): add 4 sets of gutter display lines.
10022 * extents.c: (extent_changed_for_redisplay): signal changes to
10023 extents in strings in the gutter as well as extents in buffers.
10025 2000-03-02 Andy Piper <andy@xemacs.org>
10027 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10029 * frame.c (Fmake_frame): make sure the gutters get initialized
10030 after the frame is visible.
10031 (set_frame_selected_window): re-arrange compilation macros a
10033 (change_frame_size_1): mark gutters changed.
10035 * device.c (Fset_device_class): mark gutters changed.
10037 2000-03-01 Andy Piper <andy@xemacs.org>
10039 * window.c (window_top_frame_gutter_height): deleted.
10040 (window_bottom_frame_gutter_height): ditto.
10041 (window_left_frame_gutter_height): ditto.
10042 (window_right_frame_gutter_height): ditto.
10043 (window_top_gutter_height): don't use them.
10044 (window_bottom_gutter_height): ditto.
10045 (window_left_gutter_width): ditto.
10046 (window_right_gutter_width): ditto.
10047 (Fsplit_window): ditto.
10048 (Fwindow_pixel_edges): don't use border dimensions here.
10050 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10051 (update_scrollbar_instance): ditto.
10053 * redisplay.c (generate_modeline): don't take gutters into account.
10054 (generate_modeline): ditto.
10055 (redisplay_frame): small gutter display optimization.
10057 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10059 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10060 gutters into account.
10062 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10063 for window position and type.
10065 * gutter.c (get_gutter_coords): fix for frame gutters.
10066 (update_frame_gutters): update frame geometry if the gutters have
10068 (init_frame_gutters): record current gutter geometries.
10070 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10072 (mswindows_widget_instantiate): ditto.
10074 * frame.h (struct frame): add current_gutter_bounds.
10076 * frame.c (change_frame_size_1): position window and minibuffer
10077 appropriately taking into account the frame gutters.
10079 * frame-x.c: (x_initialize_frame_size): take into account the
10082 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10084 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
10086 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10088 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
10090 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10092 * file-coding.c (reset_decoding_stream): Clear previous
10093 detection state when autodetect.
10095 2000-02-29 Didier Verna <didier@xemacs.org>
10097 * extents.c (set_extent_glyph_1): don't require extents to be
10100 2000-02-27 Andy Piper <andy@xemacs.org>
10102 * gutter.c (Fset_default_gutter_position): don't default left and
10103 right gutter visibility to t.
10104 (Fset_default_gutter_position): run
10105 default-gutter-position-changed-hook.
10106 (syms_of_gutter): add default-gutter-position-changed-hook.
10108 2000-02-26 Andy Piper <andy@xemacs.org>
10110 * specifier.c (Fmake_specifier): add gutter references.
10112 * gutter.h (RAW_WINDOW_GUTTER): new macro.
10114 * lisp.h: declare Fvalid_plist_p.
10116 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10118 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10119 well as its visibility so that it gets reconstructed.
10120 (construct_window_gutter_spec): new function. Construct a string
10121 to be displayed in the gutter from a plist of strings. Take care
10122 to only use elements that are declared as visible.
10123 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10125 (gutter_validate): allow plists of strings in the specifier.
10126 (gutter_specs_changed): construct the real_gutter from the gutter
10127 specs using construct_window_gutter_spec.
10128 (gutter_visible_validate): gutter-visible is a new specifier type.
10129 (Fgutter_visible_specifier_p): new function for the new specifier.
10130 (syms_of_gutter): declare gutter-visible and
10131 Fgutter_visible_specifier_p.
10132 (specifier_type_create_gutter): intitalize new gutter-visible
10134 (reinit_specifier_type_create_gutter): ditto.
10135 (specifier_vars_of_gutter): use new specifier type for gutter
10137 (init_frame_gutters): construct real_gutter correctly.
10138 (Fgutter_specifier_p): beef up documentation.
10139 (Fgutter_size_specifier_p): ditto.
10141 * winslots.h: add real_gutter slots.
10143 2000-02-25 Andy Piper <andy@xemacs.org>
10145 * device-msw.c: Be kind to older cygwin versions. From Raymond
10146 Toy <toy@rtp.ericsson.se>.
10148 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
10149 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
10151 2000-02-25 Martin Buchholz <martin@xemacs.org>
10153 * elhash.c (MARK_OBJ): Practice macro hygiene.
10155 2000-02-24 Martin Buchholz <martin@xemacs.org>
10157 * miscplay.c: s/__inline__/inline/g;
10158 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
10159 (get_device_compdc): INLINE ==> static inline
10160 * *.[ch]: Change INLINE to INLINE_HEADER globally.
10161 find -name '*.h' | \
10162 xargs global-replace \
10163 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
10165 2000-02-25 Andy Piper <andy@xemacs.org>
10167 * window.c (window_top_frame_gutter_height): new function.
10168 (window_top_window_gutter_height): ditto.
10169 (window_top_gutter_height): use them.
10170 (window_bottom_frame_gutter_height): new function.
10171 (window_bottom_window_gutter_height): ditto.
10172 (window_bottom_gutter_height): use them.
10173 (window_left_window_gutter_width): new function.
10174 (window_left_frame_gutter_width): ditto.
10175 (window_left_gutter_width): use them.
10176 (window_right_window_gutter_width): new function.
10177 (window_right_frame_gutter_width): ditto.
10178 (window_right_gutter_width): use them.
10179 (window_pixel_height): new function. calulate window pixel height
10180 with frame gutter involvement.
10181 (Fsplit_window): calculate new sizes taking frame gutters into
10183 (window_char_height_to_pixel_height): don't include frame gutters.
10184 (window_char_height): use window_pixel_height.
10185 (window_pixheight): rename from window_pixel_height.
10186 (change_window_height): use it.
10187 (window_pixel_height_to_char_height): don't include frame gutters.
10188 (window_char_width_to_pixel_width): ditto.
10190 2000-02-25 Andy Piper <andy@xemacs.org>
10192 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
10195 2000-02-24 Martin Buchholz <martin@xemacs.org>
10197 * alloc.c (staticpro):
10198 (staticpro_nodump):
10203 (compact_string_chars):
10204 (pdump_dump_wired):
10205 Convert: if (foo) abort(); ==> assert (! foo);
10207 * eldap.c (Fldap_search_basic):
10211 Fix compiler warnings, and possible crashes if (random) return
10212 value were to be used.
10214 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10216 * device-msw.c: Workaround ResetDC failure.
10218 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
10219 applying a devmode.
10221 * redisplay-msw.c (get_frame_dc): Added start_page_p.
10222 (mswindows_text_width): Do not start printer page.
10224 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
10226 * glyphs-msw.c: Added image methods to msprinter console and
10227 msprinter-specific image instantiation.
10229 2000-02-20 Mike Alexander <mta@arbortext.com>
10231 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
10232 to avoid crashes when selection-sets-clipboard is on
10233 (mswindows_own_selection): ditto
10235 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10238 * redisplay-msw.c (get_frame_dc):
10239 (get_frame_compdc):
10241 * device-msw.c (mswindows_init_device):
10242 (mswindows_delete_device):
10243 (msprinter_init_device):
10244 (msprinter_delete_device):
10245 * frame-msw.c (mswindows_init_frame_1):
10246 (mswindows_delete_frame):
10247 (msprinter_init_frame_3):
10248 (msprinter_delete_frame): Move compatible DC to device object from
10249 frame object, for both mswindows and msprinter. Only one at a time
10250 is needed, it is a real waste to have one per frame!
10252 2000-02-23 Andy Piper <andy@xemacs.org>
10254 * glyphs.c: add dynamic width and height elements.
10255 (image_instance_equal): ditto.
10257 * glyphs-widget.c (widget_query_geometry): calculate width and
10258 height dynamically if required.
10259 (initialize_widget_image_instance): initialize dynamic dimensions.
10260 (widget_instantiate): pick-up dynamic dimensions.
10262 * glyphs.h (struct Lisp_Image_Instance): add width and height for
10263 dynamic determination. Add appropriate macros.
10265 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
10267 (WINDOW_GUTTER_SIZE): ditto.
10268 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
10270 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
10272 (get_frame_dc): ditto.
10274 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
10277 2000-02-23 Martin Buchholz <martin@xemacs.org>
10279 * XEmacs 21.2.31 is released.
10281 2000-02-22 Ben Wing <ben@xemacs.org>
10283 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
10285 2000-02-22 Andy Piper <andy@xemacs.org>
10287 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
10289 2000-02-21 Mike Sperber <mike@xemacs.org>
10293 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
10296 2000-02-21 Mike Sperber <mike@xemacs.org>
10298 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
10300 2000-02-21 Martin Buchholz <martin@xemacs.org>
10302 * XEmacs 21.2.30 is released.
10304 2000-02-20 Martin Buchholz <martin@xemacs.org>
10306 Performance hacking.
10308 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
10309 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
10310 * emacs.c (main_1):
10312 * console.c (DEFVAR_CONSOLE_LOCAL_1):
10313 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
10314 * symeval.h (DEFVAR_SYMVAL_FWD):
10315 * symbols.c (guts_of_unbound_marker):
10316 Make all c_readonly objects also lisp_readonly and marked for life.
10317 * lrecord.h (struct lrecord_implementation):
10318 Document flags better.
10319 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
10320 * lrecord.h (DECLARE_LRECORD):
10321 * lrecord.h (XSETRECORD):
10322 * lrecord.h (RECORDP):
10323 * lrecord.h (RECORD_TYPEP):
10324 * lrecord.h (RECORD_MARKER): New.
10325 * lrecord.h (error_check_*):
10326 * lrecord.h (CONCHECK_NONRECORD):
10327 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
10328 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
10329 * lrecord.h (set_lheader_implementation):
10330 * lrecord.h (enum lrecord_type): New.
10331 * symeval.h (SYMBOL_VALUE_MAGIC_P):
10332 * alloc.c (disksave_object_finalization_1):
10333 * alloc.c (mark_object):
10334 * alloc.c (lrecord_type_index):
10335 * alloc.c (tick_lcrecord_stats):
10336 * alloc.c (Fgarbage_collect):
10337 * alloc.c (init_alloc_once_early):
10338 * alloc.c (pdump_load):
10339 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
10340 * alloc.c (lrecord_type_index): Delete.
10341 Make lisp object type indexes be constant.
10342 Makes (byte-compile) 5% faster.
10343 Put all marker functions into their own array.
10344 Makes (garbage-collect) 5% faster.
10345 Optimize SYMBOL_VALUE_MAGIC_P.
10346 Makes (byte-compile) 2-3% faster.
10347 * config.h.in (gc_checking_assert): New.
10348 * alloc.c: Use gc_checking_assert().
10349 * .dbxrc: Make compatible with new object type implementation.
10350 * .gdbinit: Make compatible with new object type implementation.
10351 * alloc.c: Delete all symbols defined only for debugging, such as
10352 Lisp_Type_Vector and lrecord_charset.
10354 2000-02-21 Andy Piper <andy@xemacs.org>
10356 * gui-msw.c (Fmswindows_shell_execute): fix file location
10359 * buffer.c (Fkill_buffer): remove buffer from alist buffer
10360 unshowing so that set_window_buffer doesn't undo
10361 kill_buffer_hook's hard work.
10363 * glyphs-widget.c (tab_control_query_geometry): don't count the
10364 first item when calculating geometry.
10366 * glyphs.c (map_subwindow): remove redundant code.
10367 (update_frame_subwindows): be more circumspect about when to
10370 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
10371 when items haven't changed. Update faces if faces have changed as
10372 well as just the widget face.
10373 (x_tab_control_update): Update faces if faces have changed as well
10374 as just the widget face.
10376 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10378 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
10380 (build_syscolor_string): Use mswindows_color_to_string to try to
10382 (mswindows_device_system_metrics): Reverse the foreground and
10383 background colors so that they match the documentation.
10385 * objects-msw.c: (mswindows_X_color_map): tweak some values so
10386 they match the default Windows palette.
10387 (mswindows_color_to_string): New function.
10389 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10391 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
10393 2000-02-18 Olivier Galibert <galibert@pobox.com>
10395 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
10396 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
10398 * symbols.c (init_symbols_once_early): Removed obsolete
10399 DATA_SEG_BITS related kludge.
10400 (defvar_magic): Ditto.
10402 * malloc.c: Removed obsolete DATA_SEG_BITS
10404 * mem-limits.h: Ditto.
10406 * Makefile.in.in: Removed obsolete HAVE_SHM
10409 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10411 * device-msw.c (mswindows_delete_device): Free DDE string
10414 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10416 * keymap.c (get_keyelt):
10417 * unexnt.c (unexec):
10418 * vm-limit.c (memory_warnings):
10419 * ntheap.c (recreate_heap):
10420 * ntheap.h (UNINIT_PTR):
10421 * select-msw.c (Fmswindows_get_clipboard):
10422 (Fmswindows_set_clipboard):
10423 * objects-msw.h (MSWINDOWS_BAD_HFONT):
10425 * menubar-msw.c (displayable_menu_item):
10427 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
10428 * sysdep.c (sys_subshell):
10429 * process-nt.c (nt_create_process):
10430 * nt.c (normalize_filename):
10431 (dostounix_filename):
10432 (unixtodos_filename):
10433 * ntproc.c (win32_executable_type):
10434 * ntplay.c (play_sound_data_1):
10436 * editfns.c (get_home_directory):
10437 * event-msw.c (struct winsock_stream):
10438 (mswindows_dde_callback):
10439 * device-msw.c (msprinter_init_device):
10440 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
10442 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
10443 mswindows_clear_toolbar were swapped!
10445 * objects-msw.c:(colormap_t):
10447 * emacs.c (struct standard_args): Fixed const jumble.
10449 * glyphs-widget.c (update_widget): Fixed comparison notation.
10451 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
10453 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
10454 __declspec(noreturn) syntax.
10456 2000-02-19 Martin Buchholz <martin@xemacs.org>
10458 * eldap.c (Fldap_open):
10459 (Fldap_search_basic):
10462 Use new coding system conversion macros.
10464 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10466 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
10468 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
10470 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
10471 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10473 * eldap.c (Qadd, Qreplace): New constant symbols
10474 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
10475 interruptions by XEmacs signals
10476 Remove unnecessary calls to slow_down_interrupts and
10477 speed_up_interrupts
10478 (Fldap_search_basic): Renamed from Fldap_search_internal
10479 Added new optional parameter VERBOSE that triggers the
10480 display of progress messages
10481 Remove unnecessary calls to slow_down_interrupts and
10482 speed_up_interrupts
10483 LDAP result code analysis rewritten
10484 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10485 (syms_of_eldap): Define the new symbols and functions
10488 2000-02-17 Martin Buchholz <martin@xemacs.org>
10490 * realpath.c: Determine PATH_MAX maximally portably.
10492 * insdel.c (bytecount_to_charcount): Optimize.
10493 The function used to be optimized for entirely ASCII sequences.
10494 Now it is optimized for successive characters from the same
10495 charset. This also wins big for _mostly_ ASCII sequences.
10497 * fileio.c (Ffile_truename): convert return from realpath() using
10498 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
10499 - Rewrite GCPROing slightly.
10501 * sysdep.c (sys_open): Do filename conversion, like all other
10502 sys_* functions. Fixes bug:
10503 (let ((file-name-coding-system 'iso-8859-2))
10504 (write-region x y latin2-name))
10505 ==> writes filename using internal encoding.
10507 2000-02-18 Martin Buchholz <martin@xemacs.org>
10509 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
10510 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
10511 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
10512 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
10513 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
10514 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
10515 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
10516 (CONST_IF_NOT_DEBUG): Delete.
10517 * alloc.c (this_one_is_unmarkable): Delete.
10518 (mark_object): Don't check for this_one_is_unmarkable. Use the
10519 c_readonly flag instead.
10520 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
10522 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
10524 * event-msw.c (mswindows_drain_windows_queue):
10525 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
10526 away redundant repaint events.
10528 2000-02-17 Andy Piper <andy@xemacs.org>
10530 * redisplay.h: declare mark_redisplay_structs.
10532 * redisplay.c (redisplay_window):
10533 (redisplay_frame): don't check subwindows_state_changed.
10534 (mark_redisplay): mark gutters here.
10536 * glyphs.c: (instantiate_image_instantiator): always layout if we
10537 haven't done so already.
10538 (allocate_image_instance): don't mark as dirty.
10539 (update_subwindow): bind inhibit_quit.
10541 * gutter.c (mark_gutters): new function.
10543 * glyphs-x.c (x_update_widget): Always resize to get round a
10546 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
10547 breaking absolutely everything.
10549 * gutter.h: declare mark_gutters.
10551 2000-02-16 Martin Buchholz <martin@xemacs.org>
10553 * XEmacs 21.2.29 is released.
10555 2000-02-15 Olivier Galibert <galibert@pobox.com>
10557 * fns.c (size_bit_vector): Fix computation of the size.
10559 2000-02-15 Martin Buchholz <martin@xemacs.org>
10561 * *.[ch]: Change CONST to const globally.
10562 find -name '*.[ch]' | \
10563 xargs global-replace \
10564 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
10565 - Remove vestigial references to CONST_IS_LOSING
10567 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10569 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
10570 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
10571 events instead of dispatching them directly.
10572 (mswindows_handle_paint): New function to do repainting.
10573 (mswindows_wnd_proc):
10574 (emacs_mswindows_handle_magic_event): Call above function.
10576 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10578 * objects-msw.c (mswindows_create_font_variant): Return the new
10580 (initialize_font_instance): Get font metrics from the underlined
10581 variant of the font to cope with the case where the underlined
10582 font has a bigger descent.
10584 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10586 * gui.c (gui_item_accelerator): Return the first underlined
10587 character in item name.
10589 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10591 * lisp.h: Added Qprinter.
10593 * general.c (syms_of_general): Initialized it.
10595 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
10597 (get_frame_compdc): Made inline.
10599 * console.h (struct console_methods): Added eject_page method.
10601 * frame.h: Added FRAME_DISPLAY_P and friends.
10602 Aligned backslahes in many macros in more readable fashion.
10603 Added page_number to struct frame, and an accessor macro
10606 * defice.h: Added DEVICE_DISPLAY_P and friends.
10608 * device.c (Fdevice_printer_p): Used these.
10610 * frame.c (allocate_frame_core): Initialize page number.
10611 (Fprint_job_page_number):
10612 (Fprint_job_eject_page): Implemented.
10614 * frame-msw.c (msprinter_eject_page): Added method.
10615 (msprinter_start_page): Added.
10617 * window.c (Fwindow_truncated_p): Fixed docstring.
10618 (Fwindow_last_line_visible_height): Implemented.
10620 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10622 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
10624 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10626 * syntax.c (scan_words): Always advance at least one character.
10628 2000-02-13 Andy Piper <andy@xemacs.org>
10630 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
10631 to make sure the glyph is in the cachels.
10633 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
10634 global image instance flag.
10635 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
10636 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
10638 * glyphs.c (allocate_image_instance): set dirty bits correctly.
10639 (Fset_image_instance_property): mark layout as changed.
10640 (invalidate_glyph_geometry_maybe): mark layout as changed.
10641 (glyph_width): use new NEEDS_LAYOUT macro.
10642 (glyph_ascent): ditto.
10643 (glyph_descent): ditto.
10644 (glyph_height): ditto.
10645 (image_instance_layout): mark layout as clean after laying out.
10646 (update_subwindow): don't mark layout as clean here.
10648 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
10649 should no longer be needed.
10651 * glyphs-x.c (x_update_widget): sanitize asserts.
10652 (x_finalize_image_instance): sanitize assignment to widgets.
10654 * glyphs-widget.c (widget_instantiate): don't need to clear the
10657 2000-02-13 Martin Buchholz <martin@xemacs.org>
10659 * sysdep.c (getcwd): Use standard prototype.
10660 * sysdep.h (getcwd): Use standard prototype.
10662 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
10663 (sequence, start, end).
10664 Remove redundant type checking.
10665 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
10666 view of `caller-protects') to avoid a crash where the real fix was
10669 2000-02-12 Martin Buchholz <martin@xemacs.org>
10671 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
10673 * s/sol2.h: Remove feature macro initialization.
10675 * alloc.c (alloc_lcrecord): Add more type checking assertions.
10676 (vector_hash): New. Code from internal_hash.
10678 Fix up allocation subsystem comments.
10680 * config.h.in: Add __EXTENSIONS__ for Solaris.
10682 * systime.h (EMACS_GETTIMEOFDAY): New.
10683 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
10684 Remove Solaris-specific code.
10685 Use void* for the (ignored) second arg for gettimeofday().
10687 * elhash.c (hash_table_hash): Implement it, finally.
10688 * elhash.c: Use hashcode_t.
10690 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
10691 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
10693 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
10694 * fns.c (size_bit_vector):
10695 * alloc.c (size_vector):
10696 (make_vector_internal):
10697 (make_bit_vector_internal):
10698 (sweep_bit_vectors_1):
10699 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
10701 2000-02-10 Martin Buchholz <martin@xemacs.org>
10703 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
10704 Include strings.h to avoid warnings for bzero and strcasecmp.
10706 2000-02-10 Olivier Galibert <galibert@pobox.com>
10708 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
10709 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
10711 * fns.c (size_bit_vector): New. Declare bit vectors as a
10714 2000-02-10 Olivier Galibert <galibert@pobox.com>
10716 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
10717 use a value field instead.
10718 (symbol_value_forward_forward): Use value field.
10719 (DEFVAR_SYMVAL_FWD): Use value field.
10720 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
10721 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
10722 (DEFVAR_CONST_INT): Ditto.
10723 (DEFVAR_BOOL): Ditto.
10724 (DEFVAR_CONST_BOOL): Ditto.
10725 (DEFVAR_INT_MAGIC): Ditto.
10726 (DEFVAR_BOOL_MAGIC): Ditto.
10728 * symbols.c (guts_of_unbound_marker): Use value field.
10729 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
10730 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
10732 * lisp.h: Declare dumpopaque and noninteractive1.
10734 * alloc.c (dumpopaque): Added.
10735 (pdump_dump_opaquevec): Added.
10736 (pdump): Call pdump_dump_opaquevec to dump opaque data.
10737 (pdump_load): Reload opaque data. Sync noninteractive1 with
10740 2000-02-10 Andy Piper <andy@xemacs.org>
10742 * glyphs.c (image_instance_layout): if the size changes, mark it
10745 * redisplay-output.c (redisplay_output_layout): Update the
10747 (redisplay_output_subwindow): ditto.
10749 * glyphs.c (update_subwindow): make sure we reset flags for
10750 layouts as well as everything else.
10752 * glyphs-widget.c (layout_layout): don't need to set the instances
10755 2000-02-09 Martin Buchholz <martin@xemacs.org>
10757 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
10758 not HAVE_DLOPEN, which is a lower-level thing.
10760 * .cvsignore: Ignore gmon.out
10762 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
10764 * .cvsignore: Ignore portable dumper xemacs.dmp file
10766 2000-02-09 Andy Piper <andy@xemacs.org>
10768 * redisplay-output.c (redisplay_output_layout): be more clever
10769 about when we output based on the changed flags.
10771 * glyphs.h (struct image_instantiator_methods): add update_method.
10772 (struct Lisp_Image_Instance): add changed flags. Declare new
10773 macros for manipulating them.
10775 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
10776 (image_instance_parent_glyph): find an image_instance's parent
10777 glyph or image_instance.
10778 (image_instance_layout): mark the size as changed.
10779 (set_image_instance_dirty_p): new function. mark an image
10780 instance, plus all of its parents, as dirty.
10781 (Fset_image_instance_property): use it.
10782 (Fglyph_animated_timeout_handler): use it.
10783 (update_subwindow): call update_widget and device methods for
10784 update_subwindow. Mark all changed flags as clean.
10785 (Fresize_subwindow): mark size as changed.
10787 * glyphs-x.c (x_finalize_image_instance): try and detect gc
10789 (x_update_subwindow): only resize subwindows here.
10790 (x_update_widget): new function. Update all changed properties of
10792 (x_resize_subwindow): deleted.
10793 (x_widget_set_property): deleted.
10794 (x_progress_gauge_set_property): deleted.
10795 (x_progress_gauge_update): new function. Implement recorded
10797 (x_tab_control_update): ditto.
10798 (x_tab_control_set_property): deleted.
10799 (console_type_create_glyphs_x): declare new functions.
10800 (image_instantiator_format_create_glyphs_x): ditto.
10802 * glyphs-widget.c (widget_set_property): mark text changed.
10803 (update_widget): new function. Update properties of a widget.
10804 (widget_instantiate): for layouts make sure we set their
10805 children's parent correctly.
10806 (tab_control_set_property): new function. Record changes that will
10807 take place under redisplay's control.
10808 (progress_gauge_set_property): ditto.
10809 (image_instantiator_progress_guage): declare new functions.
10810 (image_instantiator_tab_control): ditto.
10812 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
10814 (mswindows_update_widget): new function. Update all properties on
10815 a widget that have changed.
10816 (mswindows_button_update): new function. Update a button's set
10818 (mswindows_tab_control_update): new function. Update the items in
10820 (mswindows_tab_control_set_property): deleted.
10821 (mswindows_progress_gauge_update): new function. Update the
10822 progress gauge's progress.
10823 (mswindows_widget_set_property): deleted. This is all done
10824 asynchronously now.
10825 (mswindows_progress_gauge_set_property): ditto.
10826 (console_type_create_glyphs_mswindows): declare new methods.
10827 (image_instantiator_format_create_glyphs_mswindows): ditto.
10829 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
10830 (msprinter_set_frame_properties): ditto.
10832 * console.h (struct console_methods): Add update_widget_method.
10834 2000-02-09 Andy Piper <andy@xemacs.org>
10836 * gui-msw.c (Fmswindows_shell_execute): Make
10837 mswindows-shell-execute industrial strength.
10839 2000-02-08 Martin Buchholz <martin@xemacs.org>
10841 * lrecord.h: Make macro argument `props' match member function `plist'.
10844 * fns.c (Fremprop):
10845 * fns.c (Fobject_plist):
10848 Object property list frobbing cleanup.
10849 - Allow any lisp object (compared with `eq'), not just symbols, as
10850 keys in object plists.
10851 - Move symbol plist frobbing into symbols.c, where it belongs.
10852 - Move string plist frobbing into alloc.c, where it belongs.
10853 - Everything's an lrecord now, so no need to test for symbolp, etc.
10854 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
10856 * extents.c: Reorder code to remove declarations.
10858 * frame.h (store_in_alist): Remove useless declaration.
10860 2000-02-07 Martin Buchholz <martin@xemacs.org>
10862 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
10863 * config.h.in: Add HAVE_XCONVERTCASE.
10865 2000-02-07 Andy Piper <andy@xemacs.org>
10867 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
10868 it breaks many things.
10870 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
10872 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
10873 actually can start a common comment type.
10874 * src/syntax.h (SYNTAX_END_P): ditto for end.
10876 2000-02-07 Martin Buchholz <martin@xemacs.org>
10878 * XEmacs 21.2.28 is released.
10880 2000-02-06 Martin Buchholz <martin@xemacs.org>
10882 * event-Xt.c (x_keysym_to_character): New.
10883 (maybe_define_x_key_as_self_inserting_character): New.
10884 (x_has_keysym): New.
10885 Auto-define all keys on the keyboard as self-insert-key.
10887 2000-02-02 Martin Buchholz <martin@xemacs.org>
10889 * menubar.c (vars_of_menubar): A small code simplification.
10891 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
10894 * ExternalClient.c:
10895 * EmacsShell-sub.c:
10898 Use consistent style for specifying X resources.
10900 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
10901 This makes (dontusethis-set-symbol-value-handler) actually usable.
10903 * lrecord.h (lrecord_decription_type):
10904 * alloc.c (pdump_register_sub):
10907 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
10908 Comply with XEmacs coding style.
10909 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
10910 args, and XD_LISP_OBJECT_ARRAY with 3 args.
10912 * keymap.c (Faccessible_keymaps):
10913 Make (accessible-keymaps map "\C-h") do the Right Thing.
10914 Make (accessible-keymaps map []) do the Right Thing.
10915 Make (accessible-keymaps map "") do the Right Thing.
10916 (check_keymap_definition_loop): New function.
10917 (keymap_store_internal): Keep luser from shooting self in foot,
10918 via (define-key ctl-x-4-map "p" global-map).
10919 Remove fullness slot from struct Lisp_Keymap, since hash tables
10921 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
10923 2000-01-30 Martin Buchholz <martin@xemacs.org>
10925 * redisplay.c (init_redisplay): Fix small memory leak.
10927 * elhash.c (pdump_reorganize_hash_table):
10928 Rename from reorganize_hash_table. Change prototype.
10929 Reuse the original memory for hentries. Save 100k.
10930 * alloc.c (PDUMP_READ): new macro.
10931 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
10932 * alloc.c: No need to #ifndef before #undef.
10934 * print.c: Allow debug_print() to print readably by modifying
10935 debug_print_readably. Use consistent variable names.
10937 * .dbxrc: Try to get things to work even if stopped in a function
10938 without source available by explicitly specifying source files.
10939 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10941 * unexnt.c (_start): Removed bogus code which caused loading heap
10942 from differrent executable file.
10943 Removed bogus assignment to _fmode, which caused inconsistencies.
10945 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10947 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
10948 Have spawnve encapsulation regard DONT_ENCAPSULATE.
10949 Do not preliminary `#define signal sigset'.
10951 * systime.h: Do not prototype environ on windows nt and cygwin,
10952 this conflicts with system header.
10954 * syssignal.h: Use correct define for WINDOWSNT
10956 * sysdep.h: Do not prototype environ on windows nt, this conflicts
10957 with system header.
10959 * sysdep.c (near start of file): Fixed commentary and rearranged
10960 ifdefs in readable order.
10961 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
10964 (end_of_data): Do not compile in if using PDUMP.
10966 * symsinit.h: Prototyped vars_of_nt().
10968 * ntproc.c (windows9x_p): Added, instead of os_subtype.
10969 (find_child_console): Use it.
10970 (sys_kill): Use it.
10972 * ntheap.h: Do not extern os_subtype.
10974 * ntheap.c (cache_system_info): Do not cache unneeded:
10975 nt_major_version, nt_minor_version and os_subtype.
10976 (recreate_heap): Do not compile in when PDUMPing.
10978 * nt.c (geteuid and friends): Use the new varibale
10979 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
10980 (init_user_info): Removed the above mentioned hackery.
10981 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
10982 stat has been fixed in the C runtime.
10983 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
10985 * file-coding.c (struct file_coding_dump): Do not define
10986 ucs_to_mule_table in the struct if not MULE.
10987 (struct struct lrecord_description fcd_description_1): Do not dump
10990 * emacs.c (main_1): Call vars_of_nt().
10991 (right before Fdump_emacs_data): Don't need lastfile if using both
10992 portabe dumper and system malloc.
10994 * alloc.c (Fmemory_limit): Conditionalized out.
10995 (pdump): Use OPEN_BINARY for the portable dump file.
10996 (pdump_load): Ditto.
10998 2000-02-02 Mike Alexander <mta@arbortext.com>
11000 * nt.c (convert_time): Set tm_isdst before calling mktime and
11001 avoid calling it at all if the compiler supports 64 bit integers.
11002 Also initialize utc_base_ft before using it.
11004 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11006 * frame.c (change_frame_size_1): Take f->internal_border_width
11007 into consideration when calculating the width of the frame.
11009 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11011 * window.c (frame_min_height):
11012 (frame_size_valid_p):
11013 (frame_pixsize_valid_p): Added.
11014 (check_frame_size): Generalized.
11016 * window.h: Prototyped the above.
11019 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11020 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11021 Deleted Vwin32_* and Vbinary_process_* unused variables.
11023 * device-msw.c (msprinter_init_device): Do not get printer font
11024 list; Added DEVMODE functions.
11026 * frame-msw.c: Added lots of printer code.
11028 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11031 * console-msw.h: Added more msprinter device private slots.
11033 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11035 * event-msw.c (key_needs_default_processing_p): Added.
11036 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11038 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11040 * glyphs.c (image_instance_layout): Mark image instance as clean
11042 (glyph_dirty_p): Removed redundant function.
11043 (invalidate_glyph_geometry_maybe): Added.
11044 (update_glyph_cachel_data): Call it.
11046 * glyphs.h: Prototyped it.
11048 * redisplay.c (add_glyph_rune): Call it.
11049 (redisplay_window): Reset glyphs cachels when frame faces have
11050 changed, thus forcing recomputation of built-in border glyphs.
11052 2000-01-30 Martin Buchholz <martin@xemacs.org>
11054 * Makefile.in.in: Make portable dumper and purify play well together.
11055 Add imperfect, but better than nothing, support for pdump.
11056 Remove xemacs.dmp when temacs is re-generated.
11057 Don't ignore errors when dumping xemacs.
11059 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11061 2000-01-28 Andy Piper <andy@xemacs.org>
11063 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11064 (setup_normal_frame): ditto.
11065 (setup_frame_without_minibuffer): ditto.
11066 (setup_minibuffer_frame): ditto.
11067 (delete_frame_internal): ditto.
11068 (Fmake_frame_invisible): ditto.
11069 (Ficonify_frame): ditto.
11071 * window.h: change Fset_window_buffer signature.
11073 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
11074 (Fset_window_buffer): allow recording of buffer if the window is
11075 the selected window.
11076 (window_loop): Use new Fset_window signature.
11078 2000-01-23 Daniel Pittman <daniel@danann.net>
11080 * config.h.in: Added template for `HAVE_ATHENA_3D'
11082 2000-01-29 Andy Piper <andy@xemacs.org>
11084 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
11086 * gutter.c (output_gutter): Don't output if the window isn't live.
11088 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11090 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
11091 of 01/12/00: Moved SetFocus back here where it belongs.
11093 2000-01-23 Andy Piper <andy@xemacs.org>
11095 * s/cygwin32.h: declare printer things.
11097 2000-01-26 Andy Piper <andy@xemacs.org>
11099 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
11102 2000-01-24 Andy Piper <andy@xemacs.org>
11104 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
11105 (mswindows_button_instantiate): Make sure glyph is a pixmap.
11107 * glyphs-widget.c (widget_instantiate): Avoid shadows.
11109 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
11111 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
11113 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
11114 (mswindows_output_display_block): Avoid local shadows.
11116 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
11117 (mswindows_enqueue_mouse_button_event): ditto.
11118 (mswindows_handle_gui_wm_command): remove declaration.
11120 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11123 * console-msw.h: Avoid shadows.
11124 (mswindows_get_toolbar_button_text):
11125 (emacs_mswindows_create_stream_pair):
11126 (emacs_mswindows_delete_stream_pair):
11127 (mswindows_handle_toolbar_wm_command): declare.
11129 * device-msw.c (build_syscolor_string): Avoid shadows.
11131 2000-01-23 Andy Piper <andy@xemacs.org>
11133 * glyphs-widget.c (widget_instantiate): reverse the items for
11134 layouts so that children are in the expected order.
11136 2000-01-28 Martin Buchholz <martin@xemacs.org>
11138 * ralloc.c: safe_bcopy ==> memmove
11139 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
11140 * s/msdos.h: Remove BCOPY macros.
11141 * insdel.c (gap_right): Remove BCOPY conditional code.
11142 * insdel.c (gap_left): Remove BCOPY conditional code.
11143 XEmacs demands a working ANSI C compiler - hence memmove.
11145 * regex.c (regex_compile): Remove accidental use of trigraphs.
11147 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11149 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
11152 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11154 * event-msw.c (mswindows_drain_windows_queue): Added the
11156 (mswindows_need_event): Commented the call to
11157 mswindows_drain_windows_queue().
11158 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
11161 * console-msw.h: Moved a few function prototypes here from
11164 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
11165 parameter from unsigned short to unsigned long.
11166 (Fmswindows_shell_execute): Added return value.
11168 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11170 * sysdep.c (init_system_name):
11171 process-unix.c (unix_canonicalized_host_name):
11172 Don't call freeaddrinfo() if getaddrinfo() fails.
11174 * process-unix.c (unix_open_unix_network_stream):
11175 Moved the code to get a port # into address loop.
11177 2000-01-27 Martin Buchholz <martin@xemacs.org>
11179 * buffer.c (reinit_vars_of_buffer):
11180 The right place to initialize conversion_in_dynarr and
11181 conversion_out_dynarr.
11183 * alloc.c (pdump): Use the real open() till sys_open() is functional.
11185 * process-unix.c (unix_canonicalize_host_name): Muleize.
11186 (unix_open_network_stream): Muleize.
11188 * buffer.h: Fix up prototypes for ralloc.c functions.
11190 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11191 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
11192 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
11193 instead of gethostbyname()
11194 * process-unix.c: In unix_canonicalize_host_name() and
11195 unix_open_network_stream(), add code to use getaddrinfo()
11196 instead of gethostbyname().
11198 2000-01-27 Daniel Pittman <daniel@danann.net>
11200 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
11201 libs when built with flat Athena.
11203 2000-01-27 Martin Buchholz <martin@xemacs.org>
11205 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
11206 Use coding standards for function prototypes.
11208 2000-01-25 Martin Buchholz <martin@xemacs.org>
11210 * dialog-msw.c (push_lisp_string_as_unicode):
11211 * doc.c (unparesseuxify_doc_string):
11212 * dired.c (Fuser_name_completion_1):
11213 * dired.c (Fuser_name_all_completions):
11214 * dired.c (free_user_cache):
11215 * dired.c (user_name_completion):
11216 * console-x.c (get_display_arg_connection):
11217 * minibuf.c (clear_echo_area_internal):
11218 * minibuf.c (echo_area_append):
11219 * eldap.c (Fldap_open):
11220 * eldap.c (Fldap_search_internal):
11221 * frame-x.c (x_set_frame_text_value):
11222 * frame-x.c (x_set_frame_properties):
11223 * frame-x.c (x_create_widgets):
11224 * redisplay-tty.c (term_get_fkeys_1):
11225 * objects-x.c (x_parse_nearest_color):
11226 * objects-x.c (x_valid_color_name_p):
11227 * objects-x.c (x_initialize_font_instance):
11228 * objects-x.c (x_list_fonts):
11229 * objects-x.c (x_find_charset_font):
11230 * tooltalk.c (Fadd_tooltalk_message_arg):
11231 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11232 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11233 * process-unix.c (unix_create_process):
11234 * ntproc.c (sys_spawnve):
11235 * sound.c (Fplay_sound_file):
11236 * sound.c (Fplay_sound):
11237 * buffer.c (init_initial_directory):
11238 * buffer.c (init_buffer):
11239 * editfns.c (init_editfns):
11240 * editfns.c (Ftemp_directory):
11241 * editfns.c (Fuser_full_name):
11242 * editfns.c (uncache_home_directory):
11243 * editfns.c (get_home_directory):
11244 * editfns.c (Fuser_home_directory):
11245 * editfns.c (Fformat_time_string):
11246 * editfns.c (Fcurrent_time_string):
11247 * gui-x.c (button_item_to_widget_value):
11248 * database.c (Fopen_database):
11249 * event-Xt.c (x_to_emacs_keysym):
11250 * event-Xt.c (x_event_to_emacs_event):
11251 * event-Xt.c (describe_event_window):
11252 * event-msw.c (mswindows_wnd_proc):
11253 * glyphs-eimage.c (jpeg_instantiate):
11254 * glyphs-eimage.c (gif_instantiate):
11255 * glyphs-eimage.c (png_instantiate):
11256 * glyphs-eimage.c (tiff_instantiate):
11257 * glyphs-x.c (xbm_instantiate_1):
11258 * glyphs-x.c (x_xbm_instantiate):
11259 * glyphs-x.c (x_xface_instantiate):
11260 * glyphs-x.c (autodetect_instantiate):
11261 * glyphs-x.c (cursor_font_instantiate):
11262 * glyphs-x.c (x_widget_instantiate):
11263 * glyphs-x.c (x_widget_set_property):
11264 * glyphs-x.c (x_widget_property):
11265 * glyphs-x.c (BUILD_GLYPH_INST):
11266 * print.c (write_string_to_stdio_stream):
11267 * print.c (output_string):
11268 * print.c (Falternate_debugging_output):
11269 * print.c (Fexternal_debugging_output):
11270 * glyphs-msw.c (extract_xpm_color_names):
11271 * glyphs-msw.c (mswindows_xpm_instantiate):
11272 * glyphs-msw.c (bmp_instantiate):
11273 * glyphs-msw.c (resource_name_to_resource):
11274 * glyphs-msw.c (mswindows_resource_instantiate):
11275 * glyphs-msw.c (xbm_instantiate_1):
11276 * glyphs-msw.c (mswindows_xbm_instantiate):
11277 * glyphs-msw.c (mswindows_xface_instantiate):
11278 * glyphs-msw.c (mswindows_widget_instantiate):
11279 * glyphs-msw.c (add_tree_item):
11280 * glyphs-msw.c (add_tab_item):
11281 * glyphs-msw.c (mswindows_combo_box_instantiate):
11282 * glyphs-msw.c (mswindows_widget_property):
11283 * glyphs-msw.c (mswindows_combo_box_property):
11284 * glyphs-msw.c (mswindows_widget_set_property):
11285 * console.c (stuff_buffered_input):
11286 * objects-msw.c (mswindows_initialize_color_instance):
11287 * objects-msw.c (mswindows_valid_color_name_p):
11288 * objects-msw.c (mswindows_list_fonts):
11289 * objects-msw.c (mswindows_font_instance_truename):
11290 * bytecode.c (optimize_compiled_function):
11291 * select-x.c (symbol_to_x_atom):
11292 * select-x.c (x_atom_to_symbol):
11293 * select-x.c (hack_motif_clipboard_selection):
11294 * select-x.c (selection_data_to_lisp_data):
11295 * select-x.c (lisp_data_to_selection_data):
11296 * select-x.c (Fx_get_cutbuffer_internal):
11297 * select-x.c (Fx_store_cutbuffer_internal):
11298 * buffer.h (TO_EXTERNAL_FORMAT): New function.
11299 * buffer.h (TO_INTERNAL_FORMAT): New function.
11300 * emacs.c (make_arg_list_1):
11301 * emacs.c (make_argc_argv):
11302 * emacs.c (main_1):
11303 * emacs.c (Fdump_emacs):
11304 * emacs.c (split_string_by_emchar_1):
11309 * device-x.c (x_init_device):
11310 * device-x.c (Fx_valid_keysym_name_p):
11311 * device-x.c (Fx_get_font_path):
11312 * device-x.c (Fx_set_font_path):
11313 * glyphs.c (bitmap_to_lisp_data):
11314 * glyphs.c (pixmap_to_lisp_data):
11315 * alloc.c (make_ext_string): Use coding system arguments. Update
11317 * alloc.c (build_string):
11318 * callproc.c (child_setup):
11319 * callproc.c (init_callproc):
11320 * fileio.c (lisp_strerror):
11321 * fileio.c (directory_file_name):
11322 * fileio.c (Fexpand_file_name):
11323 * fileio.c (Ffile_truename):
11324 * fileio.c (Fsysnetunam):
11325 * fileio.c (Fdo_auto_save):
11326 * sysdep.c (sys_readdir):
11327 * tests.c: New file. Allow adding C tests.
11328 Replace GET_* macros with a more comprehensible and flexible
11329 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
11331 Any coding system can be used to do format conversion.
11332 Eliminate enum external_data_format.
11333 Eliminate convert_to_external_format.
11334 Eliminate convert_to_internal_format.
11335 Make sure file-name, keyboard, terminal, and ctext are always
11336 defined as coding systems or aliases. Make
11337 file-name-coding-system, terminal-coding-system, and
11338 keyboard-coding-system magical variables that are equivalent to
11339 defining the corresponding coding system aliases.
11341 * file-coding.c (Fcoding_system_canonical_name_p): New function.
11342 * file-coding.c (Fcoding_system_alias_p): New function.
11343 * file-coding.c (Fcoding_system_aliasee): New function.
11344 * file-coding.c (append_suffix_to_symbol): New function.
11345 * file-coding.c (dangling_coding_system_alias_p): New function.
11346 * file-coding.c (Ffind_coding_system):
11347 * file-coding.c (Fcopy_coding_system):
11348 * file-coding.c (encode_coding_no_conversion):
11349 * file-coding.c (syms_of_file_coding):
11350 * file-coding.c (vars_of_file_coding):
11351 Rewrite coding system alias code.
11352 Allow nested aliases, like symbolic links.
11353 Allow redefinition of coding system aliases.
11354 Prevent existence of dangling coding system aliases.
11356 * dired.c (Fuser_name_completion_1):
11357 * dired.c (Fuser_name_all_completions):
11358 A crash would happen if user did QUIT in the middle of building
11359 user_name_cache. Remove redundant code in mainline and unwind_protect.
11362 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
11364 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
11365 an unsigned char *. Update all callers.
11367 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11369 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
11371 2000-01-25 Martin Buchholz <martin@xemacs.org>
11373 * elhash.c (hentry_description): Use more portable definition.
11374 (resize_hash_table): Initialize new hentries using
11375 xnew_array_and_zero, thereby simplifying the code.
11377 * mule-charset.c (make_charset): Make sure entire object is
11378 initialized, to avoid Purify warnings.
11380 * alloc.c (resize_string): Fix unlikely crash with big strings.
11382 2000-01-24 Martin Buchholz <martin@xemacs.org>
11384 * realpath.c (xrealpath):
11385 Don't call getwd().
11387 2000-01-25 Martin Buchholz <martin@xemacs.org>
11389 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
11391 1999-12-28 Max Matveev <max@melbourne.sgi.com>
11393 * unexelfsgi.c (unexec): Change the way we decide which segment
11394 should be extended.
11396 Assumption that .bss section should be outside the PT_LOADable
11397 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
11398 it's present) is inside the 'data' segment. This would fail the
11399 test which was used to find a segment to grow and cover new
11400 heap. Instead of this assumption, I created another one - on IRIX
11401 the segment to grow should start below .bss and it's address
11402 should extent above the end of .bss. Once this segment is
11403 identified, it's grown to accommodate the new heap and new
11404 zero-length .bss section is added at the end of .data2.
11406 2000-01-25 Martin Buchholz <martin@xemacs.org>
11408 * eval.c (Feval): Wrong number of arguments should use original
11409 function, not the indirect_function version of it.
11411 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11413 * glyphs-x.c (x_button_instantiate): Don't add image if
11414 it is not a pixmap.
11415 (x_locate_pixmap_file): Call Fexpand_file_name when file name
11418 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
11420 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
11422 (DEFVAR_INT_MAGIC): Ditto.
11423 (DEFVAR_BOOL_MAGIC): Ditto.
11424 * glyphs.h: Reindent backslash.
11426 2000-01-24 Martin Buchholz <martin@xemacs.org>
11428 * glyphs-widget.c (layout_query_geometry):
11429 (layout_layout): Use correct types for gheight, gwidth.
11431 2000-01-24 Martin Buchholz <martin@xemacs.org>
11433 * EmacsManager.c (QueryGeometry): Purified.
11435 2000-01-23 Martin Buchholz <martin@xemacs.org>
11437 * alloc.c (make_float): Make sure entire object is initialized, to
11438 avoid Purify warnings.
11439 (pdump_register_sub): Remove useless assignment.
11440 (pdump): Use xmalloc, not malloc.
11441 (pdump_load): Use xmalloc, not malloc.
11443 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11450 * sysdep.c: Removed redundant #include <windows.h>
11452 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11454 * frame.c (delete_frame_internal): Do not delete device when its
11455 implementation so declares.
11456 (delete_frame_internal): Set device selected frame to nil when
11457 last frame goes away.
11459 * device-msw.c (msprinter_device_system_metrics): Implemented.
11460 (mswindows_device_system_metrics): Added 'device-dpi property.
11462 * device.c: (Fdevice_printer_p): Added.
11463 Added 'offset-workspace device metric.
11465 * console.h (device_metrics): Declared DM_offset_workspace.
11467 2000-01-23 Martin Buchholz <martin@xemacs.org>
11469 * fileio.c (Ffile_truename): Remove pointless and confusing
11470 initialization of elen.
11472 * glyphs-widget.c: Compiler warning fixes.
11474 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
11476 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
11477 instead of a Lisp_Object as argument to make it consistent with
11478 the other LIVE_P macros.
11479 (CHECK_LIVE_PROCESS): New macro.
11481 * process.c: Declare Qprocess_live_p.
11482 (Fprocess_live_p): New function.
11483 (create_process): Use PROCESS_LIVE_P.
11484 (read_process_output): Ditto.
11485 (set_process_filter): Ditto.
11486 (Fdelete_process): Ditto.
11487 (kill_buffer_processes): Ditto
11488 (process_send_signal): Use CHECK_LIVE_PROCESS.
11489 (Fprocess_input_coding_system): Check whether process is still
11490 alive (fix PR#1061).
11491 (Fprocess_output_coding_system): Ditto.
11492 (Fprocess_coding_system): Ditto.
11493 (Fset_process_input_coding_system): Ditto.
11494 (Fset_process_output_coding_system): Ditto.
11496 2000-01-23 Andy Piper <andy@xemacs.org>
11498 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
11501 * glyphs.c (mark_image_instance): take into account changed
11502 image_instance format.
11503 (image_instance_equal): ditto.
11504 (image_instance_hash): ditto.
11506 * glyphs-widget.c (widget_instantiate): Incorporate layout
11507 instantiation here. Delay layout of the layout until later.
11508 (layout_instantiate): deleted.
11509 (layout_query_geometry): new function. get the geometry of a
11511 (layout_layout): layout a layout dynamically.
11512 (image_instantiator_widget): New function - splitting up
11513 image_instantiator_format_create_glyphs_widget for netwinder
11515 (image_instantiator_buttons):
11516 (image_instantiator_edit_fields):
11517 (image_instantiator_combo_box):
11518 (image_instantiator_scrollbar):
11519 (image_instantiator_progress_guage):
11520 (image_instantiator_tree_view):
11521 (image_instantiator_tab_control):
11522 (image_instantiator_labels):
11523 (image_instantiator_layout): ditto.
11524 (image_instantiator_format_create_glyphs_widget): Call preceding
11527 2000-01-22 Martin Buchholz <martin@xemacs.org>
11529 * process.c (Fset_process_coding_system):
11530 * device-x.c (Fx_keysym_hash_table):
11533 * lstream.c (Lstream_write): Return documented value, not 0.
11535 * fileio.c (directory_file_name):
11536 (Fsubstitute_in_file_name):
11537 (Fsubstitute_insert_file_contents_internal):
11538 (Fwrite_region_internal):
11543 Remove vestigial APOLLO-conditional code.
11545 2000-01-21 Martin Buchholz <martin@xemacs.org>
11547 * getpagesize.h: Add guard macros.
11548 * libsst.h: Add guard macros.
11549 * libst.h: Add guard macros.
11550 * line-number.h: Add guard macros.
11551 * ndir.h: Add guard macros.
11552 * sysfloat.h: Add guard macros.
11553 * sysfile.h: Add guard macros.
11554 * sysproc.h: Add guard macros.
11555 * syswait.h: Add guard macros.
11556 * xintrinsic.h: Add guard macros.
11557 * xintrinsicp.h: Add guard macros.
11558 * xmmanager.h: Add guard macros.
11559 * xmmanagerp.h: Add guard macros.
11560 * xmprimitive.h: Add guard macros.
11561 * xmu.h: Add guard macros.
11562 * gpmevent.h: Add copyright statement. Add guard macros.
11563 * miscplay.h: Add guard macros.
11564 * *.h: Use consistent C-standards-approved guard macro names.
11566 * opaque.c (make_opaque): Switch parameter order.
11567 * opaque.h (make_opaque): Switch parameter order.
11568 Update all callers.
11569 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
11571 * config.h.in (type_checking_assert): Added.
11572 (bufpos_checking_assert): Added.
11574 2000-01-21 Martin Buchholz <martin@xemacs.org>
11576 * alloc.c: Harmless pdump changes.
11578 - spell alignment correctly.
11579 * sysdep.c: Use countof()
11581 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11583 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
11584 initially_selected_for_input() console method, default to 0.
11585 (semi_canonicalize_console_connection): Try to delegate to
11586 canonicalize_console_connection if no such console method.
11587 (canonicalize_console_connection): Vice versa.
11588 (print_console): Do not print nil connection.
11590 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
11591 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
11592 (XDEVIMPF_FRAMELESS_OK): Added.
11593 (CONSOLE_INHERITS_METHOD): Added.
11595 * console-msw.c (mswindows_canonicalize_console_connection):
11597 (mswindows_canonicalize_device_connection): Added.
11599 * console-msw.h (struct msprinter_device): Added this struct and
11601 (mswindows_device): Made fontlist a lisp object.
11603 * device.c (semi_canonicalize_device_connection): Try to delegate
11604 to canonicalize_device_connection if no such console method.
11605 (canonicalize_device_connection): Vice versa.
11606 (print_device): Do not print nil connection.
11608 * device-msw.c (mswindows_init_device): Call InitCommonControls
11610 (mswindows_delete_device): Removed fontlist deallocation.
11611 (mswindows_mark_device): Added.
11613 * events.c (event_equal): Added abort() at unreached code.
11614 (event_hash): Ditto.
11616 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
11617 fallback tags of Windows devices.
11619 * general.c (syms_of_general): Initialized Qmsprinter.
11621 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
11622 of fallback tags of Windows devices.
11624 * lisp.h: Declared Qmsprinter.
11626 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
11628 (mswindows_list_fonts): Ditto.
11629 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
11630 that it can be used by both mswindows and msprinter devices.
11631 (initialize_font_instance): Added.
11632 (mswindows_initialize_font_instance): Use it.
11633 (msprinter_initialize_font_instance): Added.
11635 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
11636 and implementation flags check.
11637 (redisplay_without_hooks): Changed the call to the above.
11638 (Fredraw_device): Ditto.
11639 (Fredisplay_device): Ditto.
11641 * redisplay-msw.c (get_frame_dc): Implemented.
11642 (get_frame_compdc): Implemented.
11643 (many functions): Use the two functions above to get device
11644 contexts, ether for a window or a printer.
11646 2000-01-21 Olivier Galibert <galibert@pobox.com>
11648 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
11649 initialization here.
11650 (init_symbols_once_early): Call it.
11651 * emacs.c (main_1): Call it.
11652 * symsinit.h: Declare it.
11654 2000-01-19 Olivier Galibert <galibert@pobox.com>
11656 * alloc.c: Use a lrecord_header * in the backtrace instead of a
11658 (pdump_backtrace): Ditto.
11659 (pdump_register_object): Ditto. Cleanup use of the pointers.
11660 (pdump_get_entry): Abort if trying to register a null pointer.
11661 (pdump_dump_data): Cleanup types when relocating.
11662 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
11663 (pdump_dump_rtables): Remove bad casts.
11664 (pdump_load): Cleanup relocation w.r.t union type. Use a
11665 Lisp_Object instead of a EMACS_INT for the hashtable
11668 2000-01-20 Martin Buchholz <martin@xemacs.org>
11670 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
11672 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
11674 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
11676 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
11678 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11680 * faces.h (FACE_STRIKETHRU_P): Added.
11682 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
11685 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
11686 (mswindows_set_dc_font): New function, aware of font variants,
11687 separated from mswindows_update_dc.
11689 * objects-msw.h (struct mswindows_font_instance_data): Added
11692 * objects-msw.c (mswindows_finalize_font_instance): Delete all
11693 cached fonts and the data structure.
11694 (mswindows_initialize_font_instance): Added creation of font data
11696 (mswindows_print_font_instance): Print at least something.
11697 (mswindows_create_font_variant): Implemented.
11698 (mswindows_get_hfont): Implemented.
11700 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
11702 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
11703 prototyping problem with msvc.
11705 * emacs.c (main_1): added syms_of_gui_mswindows() call
11707 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
11708 syms_of_gui_mswindows() function
11710 * symsinit.h: added the prototype for syms_of_gui_mswindows()
11712 2000-01-18 Martin Buchholz <martin@xemacs.org>
11714 * XEmacs 21.2.27 is released.
11716 2000-01-18 Martin Buchholz <martin@xemacs.org>
11718 * glyphs-eimage.c (struct tiff_error_struct):
11720 (tiff_warning_func):
11721 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
11726 * unexec.c: Remove vestigial Lucid C code.
11730 * libsst.c: Ansify.
11731 Remove declarations of errno and strerror().
11733 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
11735 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
11737 2000-01-16 Martin Buchholz <martin@xemacs.org>
11739 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
11742 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11747 Change enum eol_type to eol_type_t.
11749 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11751 * gui.c (get_gui_callback): Check cons before accessing car.
11753 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11755 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
11756 (XSETSPECIFIER_TYPE): Ditto.
11758 2000-01-17 Didier Verna <didier@xemacs.org>
11760 * redisplay.c (generate_fstring_runes): compute string size in
11761 characters, not bytes.
11763 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11765 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
11767 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
11769 * print.c (print_error_message): Call print_prepare().
11771 2000-01-14 Martin Buchholz <martin@xemacs.org>
11773 * .dbxrc: Renamed from dbxrc.
11775 * events.c (event_to_character):
11776 Use `assert (foo)' instead of `if (!foo) abort()'
11778 * .gdbinit (xtype): Add documentation.
11779 * .gdbinit (check-temacs): New function.
11780 * .gdbinit (check-xemacs): New function.
11781 * dbxrc (check-xemacs): New function.
11782 * dbxrc (check-xemacs): New function.
11784 2000-01-14 Andy Piper <andy@xemacs.org>
11786 * glyphs-widget.c (widget_query_geometry): Make sure that we
11787 calculate default dimensions correctly.
11789 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11791 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
11793 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
11794 pdump_wire'd variable.
11796 * emacs.c: (main_1): Conditionalized calls to
11797 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
11799 2000-01-13 Martin Buchholz <martin@xemacs.org>
11801 * window.c (Fset_window_configuration):
11802 * sysdep.c (_start):
11803 * input-method-motif.c (res):
11804 * event-Xt.c (Xt_process_to_emacs_event):
11805 Simple compiler warning fixes.
11807 * bytecode.c (funcall_compiled_function): Use the original
11808 function symbol on the backtrace list in preference to the
11809 compiled_function object in error messages.
11811 2000-01-13 Andy Piper <andy@xemacs.org>
11813 * glyphs-x.c (update_widget_face): Make sure we update the widget
11814 background as well as foreground.
11816 2000-01-13 Andy Piper <andy@xemacs.org>
11818 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
11819 fields to subwindow.
11820 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
11821 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
11822 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11823 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11825 * glyphs-widget.c (check_valid_tab_orientation): new function.
11826 (initialize_widget_image_instance): zero orientation and
11828 (widget_instantiate): pick up orientation.
11829 (tab_control_query_geometry): return appropriate values for
11832 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
11833 appropriate creation flags for left, right and bottom tabs.
11835 * s/cygwin32.h: add tab definitions.
11837 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11839 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
11840 frame upon hiding a subwindow.
11841 (mswindows_button_instantiate): Changed the push button style to
11843 (mswindows_button_instantiate): Removed button BS_NOTIFY
11845 (mswindows_button_instantiate): Removed redundant check for
11846 a disabled gui item.
11847 (mswindows_button_instantiate): Made use of WS_TABSTOP
11848 consistent: "operable" controls (edit, button, tree, scroll) have
11849 this style, "display-only" ones (static, progress gauge) do
11850 not. This style is currently ignored by XEmacs though. Also,
11851 removed the WS_EX_CONTROLPARENT style - it is not for children,
11852 it is for their parents!
11853 (mswindows_edit_field_instantiate): Ditto.
11854 (mswindows_progress_gauge_instantiate): Ditto.
11855 (mswindows_tree_view_instantiate): Ditto.
11856 (mswindows_tab_control_instantiate): Ditto.
11857 (mswindows_scrollbar_instantiate): Ditto.
11858 (mswindows_combo_box_instantiate): Ditto.
11859 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
11860 style to the "clip" window.
11861 (mswindows_button_instantiate): Removed compilation warning by
11862 equally typing terms of the ?: operator.
11864 2000-01-12 Didier Verna <didier@xemacs.org>
11866 * redisplay.c (generate_fstring_runes): new parameter holding the
11867 last modeline-format extent.
11868 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
11869 extent, fill the glyph block with it.
11870 (generate_fstring_runes): handle these parameters.
11871 (generate_formatted_string_db): ditto.
11873 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
11874 glyphs'extents in the modeline.
11876 1999-01-11 Mike Woolley <mike@bulsara.com>
11878 * ntheap.c: Reduced the reserved heap space from 1Gb down to
11879 256Mb, as a workaround for the non-starting problem many people
11882 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11884 * console-tty.c (Fset_console_tty_output_coding_system):
11885 Force redrawing tty frame.
11887 2000-01-10 Didier Verna <didier@xemacs.org>
11889 * redisplay.c (generate_fstring_runes): fix size computation bug.
11891 2000-01-09 William M. Perry <wmperry@aventail.com>
11893 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
11895 2000-01-09 Andy Piper <andy@xemacs.org>
11897 * glyphs-msw.c: index -> i to avoid shadows.
11898 (xbm_create_bitmap_from_data): make static.
11899 (check_valid_string_or_int): deleted.
11900 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
11902 * glyphs-x.c (x_update_subwindow): remove unused args.
11904 * glyphs.c (glyph_image_instance): return the thing. Don't set the
11905 back pointer - this is done in allocate_image_instance.
11906 (query_string_font): return Qnil to make the compiler happy.
11907 (unmap_subwindow): set to ~0 to make the compiler happy.
11908 (glyph_query_geometry): comment out until used.
11909 (glyph_layout): ditto.
11911 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11913 * insdel.c (signal_after_change): Remove extraneous unbind_to().