1 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Fdefine_char): Don't use a CCS property to
4 generate character-id if the CCS property does not have
5 corresponding predefined character.
6 (make_builtin_char): Return -1 if corresponding predefined
7 character is not found.
8 (Fdecode_char): Return nil if corresponding character is not
10 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
11 don't map to builtin ucs space.
13 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
16 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
18 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * mule-charset.c (Vcharset_ideograph_gt): New variable.
21 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
22 (Qideograph_gt): Likewise.
23 (Qideograph_gt_pj_{1..11}): Likewise.
24 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
25 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
27 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
28 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
29 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
31 * char-ucs.h (LEADING_BYTE_GT): New macro.
32 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
33 (MIN_CHAR_GT): Likewise.
34 (MAX_CHAR_GT): Likewise.
36 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
39 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
41 * doprnt.c (unsigned_int_converters): Add `c'.
42 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
44 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
45 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
47 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
48 (MAX_CHAR_MOJIKYO_0): New macro.
49 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
51 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * mule-charset.c (Fdefine_char): Delete cemented out code.
54 (encode_builtin_char_1): Modify for new allocation of builtin
57 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
59 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * mule-charset.c (Vcharset_ucs_cns): New variable.
62 (Qucs_cns): New variable.
63 (syms_of_mule_charset): Add new symbol `ucs-cns'.
64 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
66 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
70 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
72 * search.c (search_buffer): Make `charset_base_code' as
73 character-id >> 6 to eliminate the corresponding last byte in
74 UTF-8 representation [I'm not sure it is right thing].
75 (boyer_moore): Likewise.
77 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
79 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
80 representation in MULE.
82 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
84 * text-coding.c (Fmake_coding_system): Use
85 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
86 `EXTERNAL_PROPERTY_LIST_LOOP'.
88 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * text-coding.c (decode_output_utf8_partial_char): New function.
91 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
93 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * text-coding.c (decode_coding_utf8): Output original byte
96 sequence if it is broken; change order of conditions.
98 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
101 * mb-multibyte.h (BYTE_ASCII_P):
102 Use bit ops for char-signedness safety.
103 (BYTE_C0_P): Use bit ops for char-signedness safety.
104 (BYTE_C1_P): Use bit ops for char-signedness safety.
106 * character.h: (XCHAR_OR_CHAR_INT):
107 Always use inline function.
108 Remove redundant type checking assert() - XINT will abort quite
111 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * text-coding.c: (Fencode_shift_jis_char):
115 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
116 Replace 0 with '\0' when working with bytes.
117 Replace initial "(" with "\(" in docstrings.
119 (Fmake_coding_system):
120 When type is ccl and value is vector, register it with a proper
121 symbol. And checks whether the given ccl program is valid.
122 (mule_decode): When calling ccl_driver, if src indicates
123 NULL pointer, set an empty string instead.
124 (mule_encode): Likewise.
127 (detect_coding_sjis):
128 (decode_coding_sjis):
129 (detect_coding_big5):
130 (decode_coding_big5):
131 (detect_coding_ucs4):
132 (decode_coding_ucs4):
133 (detect_coding_utf8):
134 (decode_coding_utf8):
135 (detect_coding_iso2022):
136 (decode_coding_iso2022):
137 (decode_coding_no_conversion):
139 Make all detecting and decoding functions take an Extbyte * arg.
140 (text_encode_generic):
141 (encode_coding_big5):
142 (encode_coding_no_conversion):
144 Make all encoding functions take a Bufbyte * arg.
145 Use size_t instead of unsigned int for memory sizes.
146 Only cast to unsigned char whenever dereferencing Extbyte *.
148 (struct lrecord_description fcd_description_1): Use countof.
149 (complex_vars_of_file_coding):
150 Use countof instead of sizeof.
151 Use CHECK_NATNUM instead of CHECK_INT.
153 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
155 * mule-charset.c (Fget_char_attribute): Add new optional argument
157 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
158 (remove_char_ccs): Likewise.
160 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * text-coding.c (char_encode_shift_jis): New implementation in
164 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
167 * mule-charset.c (Vcharset_chinese_big5): New variable in
169 (Qchinese_big5): New variable in UTF-2000.
170 (BIG5_SAME_ROW): New macro in UTF-2000.
171 (make_builtin_char): Use builtin characters of
172 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
173 characters of `Vcharset_chinese_big5'.
174 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
175 (complex_vars_of_mule_charset): Add new coded-charset
176 `chinese-big5' in UTF-2000.
178 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
179 (Vcharset_chinese_big5): New external variable declaration.
180 (Vcharset_japanese_jisx0208_1990): Likewise.
182 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
184 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
186 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
188 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
191 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
192 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
195 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
199 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
204 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
207 for `CHARSET_BY_ATTRIBUTES'.
208 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
209 `CHARSET_BY_ATTRIBUTES'.
211 * text-coding.c (struct decoding_stream): Rename member `CH' to
213 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
214 (decode_coding_sjis): Likewise.
215 (decode_coding_big5): Likewise.
216 (decode_coding_ucs4): Likewise.
217 (decode_coding_utf8): Likewise.
218 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
219 `CHARSET_BY_ATTRIBUTES'.
220 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
221 `str->counter'; decode 3, 4 bytes sets.
222 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
224 (decode_coding_no_conversion): Use `str->cpos' instead of
227 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
228 (Qmojikyo_2022_1): New variable.
229 (make_charset): Don't use `CHARSET_TYPE_*'.
230 (range_charset_code_point): Support coded-charset
232 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
233 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
234 `CHARSET_BY_ATTRIBUTES'.
235 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
236 `CHARSET_BY_ATTRIBUTES'.
237 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
238 (complex_vars_of_mule_charset): Add new coded-charset
241 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
242 interface; changed to inline function.
244 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
245 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
246 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
247 (CHARSET_TYPE_94): Deleted.
248 (CHARSET_TYPE_94X94): Deleted.
249 (CHARSET_TYPE_96): Deleted.
250 (CHARSET_TYPE_96X96): Deleted.
251 (CHARSET_TYPE_128): Deleted.
252 (CHARSET_TYPE_128X128): Deleted.
253 (CHARSET_TYPE_256): Deleted.
254 (CHARSET_TYPE_256X256): Deleted.
255 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
257 (DECODE_MOJIKYO_2022): New inline function.
258 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
259 `Vcharset_mojikyo_2022_1'.
261 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
265 (put_byte_table): Likewise.
266 (char_id_table_equal): Use `get_byte_table' [new implementation].
268 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * mule-charset.c: Include <limits.h> in UTF-2000.
271 (BT_UINT8_MIN): New macro in UTF-2000.
272 (BT_UINT8_MAX): New macro in UTF-2000.
273 (BT_UINT8_t): New macro in UTF-2000.
274 (BT_UINT8_nil): New macro in UTF-2000.
275 (BT_UINT8_unbound): New macro in UTF-2000.
276 (INT_UINT8_P): New inline function in UTF-2000.
277 (UINT8_VALUE_P): New inline function in UTF-2000.
278 (UINT8_ENCODE): New inline function in UTF-2000.
279 (UINT8_DECODE): New inline function in UTF-2000.
280 (mark_uint8_byte_table): New function in UTF-2000.
281 (print_uint8_byte_table): New function in UTF-2000.
282 (uint8_byte_table_equal): New function in UTF-2000.
283 (uint8_byte_table_hash): New function in UTF-2000.
284 (make_uint8_byte_table): New function in UTF-2000.
285 (uint8_byte_table_same_value_p): New function in UTF-2000.
286 (BT_UINT16_MIN): New macro in UTF-2000.
287 (BT_UINT16_MAX): New macro in UTF-2000.
288 (BT_UINT16_t): New macro in UTF-2000.
289 (BT_UINT16_nil): New macro in UTF-2000.
290 (BT_UINT16_unbound): New macro in UTF-2000.
291 (INT_UINT16_P): New inline function in UTF-2000.
292 (UINT16_VALUE_P): New inline function in UTF-2000.
293 (UINT16_ENCODE): New inline function in UTF-2000.
294 (UINT16_DECODE): New inline function in UTF-2000.
295 (UINT8_TO_UINT16): New inline function in UTF-2000.
296 (mark_uint16_byte_table): New function in UTF-2000.
297 (print_uint16_byte_table): New function in UTF-2000.
298 (uint16_byte_table_equal): New function in UTF-2000.
299 (uint16_byte_table_hash): New function in UTF-2000.
300 (make_uint16_byte_table): New function in UTF-2000.
301 (uint16_byte_table_same_value_p): New function in UTF-2000.
302 (print_byte_table): New function in UTF-2000.
303 (byte-table): Use `print_byte_table' as printer.
304 (make_byte_table): Delete second argument `older'.
305 (byte_table_same_value_p): New function in UTF-2000.
306 (copy_byte_table): Deleted.
307 (get_byte_table): New function in UTF-2000.
308 (put_byte_table): New function in UTF-2000.
309 (print_char_id_table): New function in UTF-2000.
310 (char-id-table): Use `print_char_id_table' as printer.
311 (make_char_id_table): Delete second argument `older'.
312 (get_char_id_table): Use `get_byte_table [new implementation].
313 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
315 (Ffind_char_attribute_table): New function in UTF-2000.
316 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
317 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
318 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
319 (syms_of_mule_charset): Add new function
320 `find-char-attribute-table' in UTF-2000.
322 * lrecord.h (enum lrecord_type): Add
323 `lrecord_type_uint16_byte_table' and
324 `lrecord_type_uint8_byte_table'.
326 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
327 (Lisp_Uint8_Byte_Table): New type.
328 (XUINT8_BYTE_TABLE): New macro.
329 (XSETUINT8_BYTE_TABLE): New macro.
330 (UINT8_BYTE_TABLE_P): New macro.
331 (GC_UINT8_BYTE_TABLE_P): New macro.
332 (struct Lisp_Uint16_Byte_Table): New structure.
333 (Lisp_Uint16_Byte_Table): New type.
334 (XUINT16_BYTE_TABLE): New macro.
335 (XSETUINT16_BYTE_TABLE): New macro.
336 (UINT16_BYTE_TABLE_P): New macro.
337 (GC_UINT16_BYTE_TABLE_P): New macro.
339 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
342 (Vcharacter_ideographic_strokes_table): Deleted.
343 (Vcharacter_total_strokes_table): Deleted.
344 (Vcharacter_morohashi_daikanwa_table): Deleted.
345 (Vcharacter_decomposition_table): Deleted.
346 (Qname): Deleted because it is duplicated.
347 (Qideographic_radical): Deleted.
348 (Qideographic_strokes): Deleted.
349 (Qtotal_strokes): Deleted.
350 (Qmorohashi_daikanwa): Deleted.
351 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
352 `ideographic-radical', `ideographic-strokes', `total-strokes',
353 `morohashi-daikanwa' and `->decomposition'.
354 (Fget_char_attribute): Likewise.
355 (Fput_char_attribute): Likewise; use `make-vector' instead of
356 `make_older_vector' for `->decomposition' value.
357 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
358 `ideograph-daikanwa'.
359 (syms_of_mule_charset): Delete builtin symbols `name',
360 `ideographic-radical', `ideographic-strokes', `total-strokes' and
361 `morohashi-daikanwa'.
362 (vars_of_mule_charset): Don't setup
363 `Vcharacter_ideographic_radical_table',
364 `Vcharacter_ideographic_strokes_table',
365 `Vcharacter_total_strokes_table',
366 `Vcharacter_morohashi_daikanwa_table' and
367 `Vcharacter_decomposition_table'.
369 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
371 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
372 `make_older_vector', `make_vector_newer_1' and
375 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
376 `make_older_vector' and `make_vector_newer'.
378 * config.h.in (HAVE_GGC): New macro.
380 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
382 * mule-charset.c (struct char_attribute_list_closure): New
383 structure in UTF-2000.
384 (add_char_attribute_to_list_mapper): New function in UTF-2000.
385 (Fchar_attribute_list): Likewise.
386 (Fset_charset_mapping_table): Use `make_vector_newer'.
387 (Fdecode_builtin_char): New function in UTF-2000.
388 (syms_of_mule_charset): Add new function `char-attribute-list' and
389 `decode-builtin-char' in UTF-2000.
391 * lisp.h (make_vector_newer): New prototype.
393 * alloc.c (make_vector_newer_1): New function.
394 (make_vector_newer): New function.
396 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
401 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * mule-charset.c (Vchar_attribute_hash_table): New variable.
404 (Vcharacter_attribute_table): Deleted.
405 (Vcharacter_name_table): Deleted.
406 (put_char_attribute): Deleted.
407 (remove_char_attribute): Deleted.
408 (struct char_attribute_alist_closure): New structure.
409 (add_char_attribute_alist_mapper): New function.
410 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
411 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
412 (Fget_char_attribute): Likewise.
413 (Fput_char_attribute): Likewise.
414 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
415 of `remove_char_attribute'.
416 (Fdefine_char): Return character.
417 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
418 and `Vcharacter_name_table'.
419 (complex_vars_of_mule_charset): Likewise
420 `Vchar_attribute_hash_table'.
422 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
424 * character.h (CHARC_CHARSET): New macro.
425 (CHARC_CHARSET_ID): New macro.
426 (CHARC_CODE_POINT): New macro.
427 (CHARC_COLUMNS): New macro.
428 (CHARC_TO_CHAR): New inline function.
429 (CHARC_EQ): New inline function.
430 (CHARC_ASCII_EQ): New inline function.
431 (CHARC_IS_SPACE): New inline function.
432 (ASCII_TO_CHARC): New inline function.
434 * char-ucs.h (encode_char_2): Deleted.
435 (ENCODE_CHAR): Use `encode_char_1' again.
436 (breakup_char_1): Likewise.
437 (CHAR_TO_CHARC): New inline function.
439 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
441 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
443 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
444 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
445 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
446 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
447 (create_string_text_block): Use `CHARC_ASCII_EQ' and
449 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
451 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
453 (x_output_display_block): Use `CHARC_CHARSET' and
456 * redisplay-tty.c (tty_output_display_block): Use
458 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
460 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
462 * insdel.c (find_charsets_in_charc_string): Use
464 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
465 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
466 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
467 (convert_charc_string_into_malloced_string): Likewise.
469 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
472 instead of <Emchar_dynarr *> for buf; use
473 `convert_bufbyte_string_into_charc_dynarr' instead of
474 `convert_bufbyte_string_into_emchar_dynarr'; use
475 `find_charsets_in_charc_string' instead of
476 `find_charsets_in_emchar_string'.
479 - Include "character.h".
480 (struct rune): New member `cglyph'; delete member `chr'.
482 * redisplay.c (redisplay_text_width_charc_string): New function;
483 delete `redisplay_text_width_emchar_string'.
484 (rtw_charc_dynarr): New variable; renamed from
486 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
487 `rtw_emchar_dynarr'; use
488 `convert_bufbyte_string_into_charc_dynarr' instead of
489 `convert_bufbyte_string_into_emchar_dynarr'; use
490 `redisplay_text_width_charc_string' instead of
491 `redisplay_text_width_emchar_string'.
492 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
493 instead of `rtw_emchar_dynarr'; use
494 `convert_bufbyte_string_into_charc_dynarr' instead of
495 `convert_bufbyte_string_into_emchar_dynarr'.
496 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
497 `redisplay_text_width_charc_string' instead of
498 `redisplay_text_width_emchar_string'.
499 (create_text_block): Modify for <struct rune> change.
500 (generate_formatted_string_db): Likewise.
501 (create_string_text_block): Likewise.
502 (pixel_to_glyph_translation): Likewise.
504 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
505 instead of <const Emchar *>.
506 (x_text_width): Likewise.
507 (x_output_display_block): Use <Charc_dynarr *> instead
508 <Emchar_dynarr *>; modify for <structure rune> change.
509 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
512 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
513 <const Emchar *>; use `charc_string_displayed_columns' instead of
514 `emchar_string_displayed_columns'.
515 (tty_output_display_block): Use <Charc_dynarr *> instead of
516 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
517 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
518 (tty_output_charc_dynarr_dynarr): New variable; renamed from
519 `tty_output_emchar_dynarr_dynarr'.
520 (tty_output_charc_dynarr): New function; delete
521 `tty_output_charc_dynarr'.
523 * redisplay-output.c (compare_runes): Modify for `struct rune'.
524 (redisplay_output_layout): Use <Charc_dynarr *> instead of
525 <Emchar_dynarr *> for buf; use
526 `convert_bufbyte_string_into_charc_dynarr' instead of
527 `convert_bufbyte_string_into_emchar_dynarr'.
529 * frame.c (title_string_charc_dynarr): New variable; renamed from
530 `title_string_emchar_dynarr'.
531 (generate_title_string): Use `title_string_charc_dynarr' instead
532 of `title_string_emchar_dynarr'; use
533 `convert_charc_string_into_malloced_string' instead of
534 `convert_emchar_string_into_malloced_string'.
535 (init_frame): Use `title_string_charc_dynarr' instead of
536 `title_string_emchar_dynarr'.
539 - Include "character.h".
540 (struct console_methods): Use <const Charc *> instead of <const
541 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
542 <Emchar_dynarr *> in output_string_method.
544 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
547 * console-stream.c (stream_text_width): Use <const Charc *>
548 instead of <const Emchar *>.
550 * character.h (Charc_dynarr): New type.
552 * char-ucs.h (structure Charc): New structure; define new type
555 * char-lb.h (DECODE_CHAR): New inline function.
556 (encode_char_1): New inline function.
557 (ENCODE_CHAR): New macro.
558 (structure Charc): New structure; define new type `Charc'.
560 * char-1byte.h (Vcharset_control_1): New macro.
561 (Vcharset_latin_iso8859_1): New macro.
562 (DECODE_CHAR): New inline function.
563 (encode_char_1): New inline function.
564 (ENCODE_CHAR): New macro.
565 (structure Charc): New structure; define new type `Charc'.
567 * insdel.c (find_charsets_in_charc_string): New function; delete
568 `find_charsets_in_emchar_string'.
569 (charc_string_displayed_columns): New function; delete
570 `emchar_string_displayed_columns'.
571 (convert_bufbyte_string_into_charc_dynarr): New function; delete
572 `convert_bufbyte_string_into_emchar_dynarr'.
573 (convert_charc_string_into_bufbyte_dynarr): New function; delete
574 `convert_charc_string_into_bufbyte_dynarr'.
575 (convert_charc_string_into_malloced_string): New function; delete
576 `convert_charc_string_into_malloced_string'.
578 * buffer.h (find_charsets_in_charc_string): New prototype; delete
579 `find_charsets_in_emchar_string'.
580 (charc_string_displayed_columns): New prototype; delete
581 `emchar_string_displayed_columns'.
582 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
583 `convert_charc_string_into_bufbyte_dynarr'.
584 (convert_charc_string_into_malloced_string): New prototype; delete
585 `convert_charc_string_into_malloced_string'.
587 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
589 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
591 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
595 * char-ucs.h: Use <short> for <Charset_ID>.
597 * mule-charset.h, char-1byte.h: Use <unsigned char> for
600 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
605 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
609 (Qmorohashi_daikanwa): New variable.
610 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
611 for `morohashi-daikanwa' attribute.
612 (Fget_char_attribute): Likewise.
613 (Fput_char_attribute): Likewise.
614 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
615 has the same value of `ideograph-daikanwa'.
616 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
617 (vars_of_mule_charset): Setup
618 `Vcharacter_morohashi_daikanwa_table'.
620 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
624 (add_charset_to_list_mapper): Add `key' instead of
625 `XCHARSET_NAME (value)' to return aliases.
627 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * mule-charset.c (Vcharacter_ideographic_radical_table): New
631 (Vcharacter_ideographic_strokes_table): New variable.
632 (Qideographic_radical): New variable.
633 (Qideographic_strokes): New variable.
634 (Fchar_attribute_alist): Use
635 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
636 attribute; use `Vcharacter_ideographic_strokes_table' for
637 `ideographic-strokes' attribute.
638 (Fget_char_attribute): Likewise.
639 (Fput_char_attribute): Likewise.
640 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
641 `ideographic-strokes'.
642 (vars_of_mule_charset): Setup
643 `Vcharacter_ideographic_radical_table' and
644 `Vcharacter_ideographic_strokes_table'.
646 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
648 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
649 (Qtotal_strokes): New variable.
650 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
651 `total-strokes' attribute.
652 (Fget_char_attribute): Likewise.
653 (Fput_char_attribute): Likewise.
654 (syms_of_mule_charset): Add new symbol `total-strokes'.
655 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
657 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * mule-charset.c (Vcharacter_decomposition_table): New variable.
660 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
662 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
663 `->decomposition' attribute.
664 (Fput_char_attribute): Likewise.
665 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
667 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
669 * mule-charset.c (decoding_table_check_elements): New function.
670 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
672 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
674 * mule-charset.c (Fset_charset_mapping_table): Use
675 `put_char_ccs_code_point'.
677 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
679 * mule-charset.c (decoding_table_put_char): New inline function.
680 (put_char_ccs_code_point): Use `decoding_table_put_char'.
682 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
685 (XCHARSET_BYTE_SIZE): New macro.
686 (decoding_table_remove_char): New inline function.
687 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
688 `decoding_table_remove_char'.
689 (remove_char_ccs): Use `decoding_table_remove_char'.
690 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
692 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * mule-charset.c (Vcharacter_name_table): New variable.
695 (Qname): New variable.
696 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
698 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
699 `Vcharacter_name_table' for `name' attribute.
700 (Fremove_char_attribute): Use function `remove_char_ccs'.
701 (put_char_ccs_code_point): New function.
702 (remove_char_ccs): New function.
703 (syms_of_mule_charset): Add new symbol `name'.
704 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
706 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (make_byte_table): Add new argument `older'.
709 (make_char_id_table): Likewise.
710 (copy_char_id_table): Comment out because it is not used.
711 (put_char_id_table): Modify for `make_byte_table'.
712 (Fput_char_attribute): Make encoding_table as older object;
713 inherit older bit of `Vcharacter_composition_table'.
714 (mark_charset): Don't mark `cs->encoding_table'.
715 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
716 normal object; make `Vcharacter_composition_table' as an older
717 object; delete staticpro for `Vcharacter_composition_table'; make
718 `Vcharacter_variant_table' as a normal object.
720 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
721 (mark_object): Don't check older object in UTF-2000.
723 * lrecord.h (struct lrecord_header): Add new member `older' in
725 (set_lheader_implementation): Setup `SLI_header->older' in
727 (set_lheader_older_implementation): New macro in UTF-2000.
728 (OLDER_RECORD_P): New macro in UTF-2000.
729 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
730 (alloc_older_lcrecord): New prototype in UTF-2000.
731 (alloc_older_lcrecord_type): New macro in UTF-2000.
733 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * mule-charset.c (byte_table_description): Use
736 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
737 (char_id_table_description): Delete bogus `, 1'.
738 (Fget_char_attribute): Refer encoding_table of each coded-charset
739 to get value of coded-charset attribute of a character.
740 (Fput_char_attribute): Use `make_older_vector' instead of
741 `make_vector'; use encoding_table of each coded-charset to store
742 value of coded-charset attribute of a character.
743 (Fremove_char_attribute): Use encoding_table of each coded-charset
744 to store value of coded-charset attribute of a character.
745 (mark_charset): Mark `cs->encoding_table'; don't mark
746 `cs->decoding_table'.
747 (charset_description): Add description of new member
749 (make_charset): Initialize `encoding_table'.
751 * char-ucs.h (struct Lisp_Charset): Add new member
753 (CHARSET_ENCODING_TABLE): New macro.
754 (XCHARSET_ENCODING_TABLE): New macro.
755 (charset_code_point): New implementation.
756 (encode_char_1): Likewise.
758 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
759 (disksave_object_finalization_1): Call finalizers of
760 `all_older_lcrecords' in UTF-2000.
761 (make_older_vector): New function in UTF-2000.
762 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
765 * lisp.h (make_older_vector): New prototype in UTF-2000.
767 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * lrecord.h (enum lrecord_type): Rename
770 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
772 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
773 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
774 `get_char_code_table'.
776 * mule-charset.c (mark_char_id_table): Renamed from
777 `mark_char_code_table'.
778 (char_id_table_equal): Renamed from `char_code_table_equal'.
779 (char_id_table_hash): Renamed from `char_code_table_hash'.
780 (make_char_id_table): Renamed from `make_char_code_table'.
781 (copy_char_id_table): Renamed from `copy_char_code_table'.
782 (get_char_id_table): Renamed from `get_char_code_table'.
783 (put_char_id_table): Renamed from `put_char_code_table'.
784 (to_char_id): Renamed from `to_char_code'.
786 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
787 `Lisp_Char_Code_Table'.
788 (char_id_table): Renamed from `char_code_table'.
789 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
790 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
791 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
792 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
793 (get_char_id_table): Renamed from `get_char_code_table'.
795 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
797 * lrecord.h (enum lrecord_type): Rename
798 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
800 * mule-charset.c (mark_byte_table): Renamed from
801 `mark_char_byte_table'.
802 (byte_table_equal): Renamed from `char_byte_table_equal'.
803 (byte_table_hash): Renamed from `byte_table_hash'.
804 (make_byte_table): Renamed from `make_byte_table'.
805 (copy_byte_table): Renamed from `copy_char_byte_table'.
807 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
808 `Lisp_Char_Byte_Table'.
809 (byte_table): Renamed from `char_byte_table'.
810 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
811 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
812 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
813 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
815 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
817 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
818 (dfc_convert_to_internal_format): Likewise.
820 * text-coding.c (Fcoding_system_canonical_name_p): New function.
821 * text-coding.c (Fcoding_system_alias_p): New function.
822 * text-coding.c (Fcoding_system_aliasee): New function.
823 * text-coding.c (append_suffix_to_symbol): New function.
824 * text-coding.c (dangling_coding_system_alias_p): New function.
825 * text-coding.c (Ffind_coding_system):
826 * text-coding.c (Fcopy_coding_system):
827 * text-coding.c (encode_coding_no_conversion):
828 * text-coding.c (syms_of_file_coding):
829 * text-coding.c (vars_of_file_coding):
830 Rewrite coding system alias code.
831 Allow nested aliases, like symbolic links.
832 Allow redefinition of coding system aliases.
833 Prevent existence of dangling coding system aliases.
834 Eliminate convert_to_external_format.
835 Eliminate convert_to_internal_format.
837 * text-coding.c: Change enum eol_type to eol_type_t.
839 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
841 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
842 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
844 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
845 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
847 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
849 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
850 `ideograph-daikanwa'.
852 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
853 (Vcharset_ucs_bmp): Likewise.
854 (Vcharset_mojikyo): Add new extern variable definition.
855 (Vcharset_latin_iso8859_2): Deleted because it is not used.
856 (Vcharset_latin_iso8859_3): Likewise.
857 (Vcharset_latin_iso8859_4): Likewise.
858 (Vcharset_latin_iso8859_9): Likewise.
859 (Vcharset_latin_viscii_lower): Likewise.
860 (Vcharset_latin_viscii_upper): Likewise.
861 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
862 `mojikyo' code-point is used to decode.
863 (encode_char_2): New function [to convert `mojikyo' code-point to
864 Mojikyo font encoding].
865 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
866 (breakup_char_1): Likewise.
867 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
869 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
871 * text-coding.c (Fmake_coding_system): Add document about
872 `disable-composition' property.
874 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
876 * text-coding.c (Qdisable_composition): New variable; delete
878 (Fmake_coding_system): Add new property `disable-composite';
879 delete property `composite'.
880 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
881 instead of `!CODING_SYSTEM_COMPOSITE'.
882 (syms_of_file_coding): Add new symbol `disable-composition';
883 delete symbol `composite'.
885 * file-coding.h (struct Lisp_Coding_System): Add
886 `disable_composition'; delete `enable_composition'.
887 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
888 `CODING_SYSTEM_COMPOSITE'.
889 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
890 `XCODING_SYSTEM_COMPOSITE'.
892 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
897 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
899 * text-coding.c (Qcomposite): New variable.
900 (Fmake_coding_system): Add new property `composite'.
901 (struct decoding_stream): Add `combined_char_count',
902 `combined_chars' and `combining_table' in UTF-2000.
903 (COMPOSE_FLUSH_CHARS): New macro.
904 (COMPOSE_ADD_CHAR): New macro.
905 (reset_decoding_stream): Reset `str->combined_char_count' and
906 `str->combining_table' in UTF-2000.
907 (decode_coding_iso2022): Modify for character-decomposition.
908 (syms_of_file_coding): Add new symbol `composite'.
910 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
913 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
914 of `Vcharacter_composition_table' if `->decomposition' property
916 (Qlatin_tcvn5712): New variable.
917 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
918 (complex_vars_of_mule_charset): Add new coded-charset
921 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
923 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * file-coding.h (struct Lisp_Coding_System): Add
926 `enable_composition'.
927 (CODING_SYSTEM_COMPOSITE): New macro.
928 (XCODING_SYSTEM_COMPOSITE): New macro.
930 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
932 * mule-canna.c (c2mu): Fix problem with UTF-2000.
934 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
936 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
937 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
939 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
941 * mule-charset.c (Vcharset_mojikyo): New variable.
942 (Fdefine_char): Don't use coded-charset which does not have
943 non-builtin character range to allocate character-id.
944 (Qmojikyo): New variable.
945 (syms_of_mule_charset): Add new symbol `mojikyo'.
946 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
948 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
949 (LEADING_BYTE_MOJIKYO): New macro.
950 (MIN_CHAR_MOJIKYO): New macro.
951 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
952 (MAX_CHAR_MOJIKYO): New macro.
954 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
956 * mule-charset.c (remove_char_attribute): Fixed.
958 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
960 * mule-charset.c (remove_char_attribute): New function.
961 (Fremove_char_attribute): New function.
962 (encode_builtin_char_1): Comment out builtin-support for
963 greek-iso8859-7 and cyrillic-iso8859-5.
964 (Fdecode_char): Check `code' is an integer.
965 (syms_of_mule_charset): Add `remove-char-attribute'.
966 (MIN_CHAR_GREEK): Deleted.
967 (MAX_CHAR_GREEK): Likewise.
968 (MIN_CHAR_CYRILLIC): Likewise.
969 (MAX_CHAR_CYRILLIC): Likewise.
970 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
971 MAX_CHAR_GREEK for `greek-iso8859-7'.
973 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
974 (MAX_CHAR_GREEK): Likewise.
975 (MIN_CHAR_CYRILLIC): Likewise.
976 (MAX_CHAR_CYRILLIC): Likewise.
978 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
980 * mule-charset.c (Fdefine_char): Fix problem when new code-point
981 format is used without `ucs' property.
982 (Fdecode_char): Fix problem with GR representation.
983 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
984 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
986 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
988 * mule-charset.c (make_builtin_char): New function.
989 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
990 (Fset_charset_mapping_table): Modify for new representation of
992 (Fdecode_char): New function.
993 (syms_of_mule_charset): Add new builtin function `decode-char' in
996 * char-ucs.h (make_builtin_char): New prototype.
997 (DECODE_CHAR): New inline function.
998 (MAKE_CHAR): Use `DECODE_CHAR'.
1000 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1002 * text-coding.c (parse_charset_conversion_specs): Use
1003 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1005 (iso2022_designate): Likewise.
1007 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1008 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1010 * mule-charset.c (Vcharset_ucs): New variable.
1011 (print_charset): Change design; use `CHARSET_CHARS' and
1012 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1013 (make_charset): Change signature to specify `chars' and
1014 `dimension' instead of `type'.
1015 (range_charset_code_point): Modify for 256^n-set.
1016 (encode_builtin_char_1): Encode as `ucs' in default.
1017 (Fmake_charset): Modify for `make_charset'.
1018 (Fmake_reverse_direction_charset): Likewise.
1019 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1021 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1024 * char-ucs.h (Vcharset_ucs): New variable.
1025 (LEADING_BYTE_UCS): New macro.
1026 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1027 and `chars' to `unsigned short' from `unsigned int'.
1028 (CHARSET_TYPE): Deleted.
1029 (XCHARSET_TYPE): Deleted.
1031 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1033 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1035 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1036 (ENCODE_CHAR): New macro.
1038 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1040 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1041 to 0.14 (Kawachi-Katakami).
1043 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1045 * text-coding.c (char_encode_shift_jis): Modify for
1046 `charset_code_point'.
1047 (char_encode_iso2022): Likewise.
1049 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1050 (integer) instead of list of <Lisp_Object>s (integers) as the
1051 format of code-point of a coded-charset.
1052 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1053 (encode_builtin_char_1): New function; delete
1054 `split_builtin_char'.
1055 (charset_code_point): Return <int> instead of <Lisp_Object>.
1056 (Fsplit_char): Don't use `SPLIT_CHAR'.
1058 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1059 prototype for `split_builtin_char'.
1060 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1061 (charset_code_point): Likewise.
1062 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1063 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1065 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1067 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1068 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1070 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1072 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1074 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1075 (MAX_CHAR_OBS_94x94): Deleted.
1077 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1079 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1081 * char-ucs.h (MAX_CHAR_BMP): New macro.
1083 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1085 * text-coding.c: Sync with r21-2-24.
1087 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1089 * file-coding.c: Modify for UTF-2000.
1091 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1093 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1096 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1098 * mule-charset.c (split_builtin_char): Delete builtin support for
1099 `katakana-jisx0201'.
1100 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1101 BMP area in builtin representation.
1103 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1104 `Vcharset_katakana_jisx0201'.
1106 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1108 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1109 (Qisolated): New variable.
1110 (Qinitial): New variable.
1111 (Qmedial): New variable.
1112 (Qfinal): New variable.
1113 (Qvertical): New variable.
1114 (Qsmall): New variable.
1115 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1116 `Qvertical' and `Qsmall'.
1117 (Qmojikyo_pj_[1 .. 21]): New variable.
1118 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1119 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1120 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1123 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1125 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1126 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1127 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1129 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1131 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1132 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1134 (Qjapanese_jisx0208_1990): New variable.
1135 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1136 (complex_vars_of_mule_charset): Add new coded-charset
1137 `japanese-jisx0208-1990'.
1139 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1140 (MIN_CHAR_JIS_X0208_1990): New macro.
1141 (MAX_CHAR_JIS_X0208_1990): New macro.
1143 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1145 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1146 coded-charset is not found.
1148 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1150 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1151 (Fdefine_char): Use `Fmake_char'.
1153 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1155 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1156 (Vcharset_hiragana_jisx0208): Deleted.
1157 (Vcharset_katakana_jisx0208): Deleted.
1158 (Qideograph_daikanwa): New variable.
1159 (Qhiragana_jisx0208): Deleted.
1160 (Qkatakana_jisx0208): Deleted.
1161 (split_builtin_char): Split `ideograph-daikanwa'.
1162 (Fsplit_char): New implementation for UTF-2000.
1163 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1164 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1165 (complex_vars_of_mule_charset): Add new coded-charset
1166 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1167 `katakana-jisx0208'.
1169 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1170 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1171 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1172 (MIN_CHAR_DAIKANWA): New macro.
1173 (MAX_CHAR_DAIKANWA): New macro.
1175 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1177 * data.c (Fstring_to_number): Don't recognize floating point if
1180 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1182 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1184 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1186 * mule-charset.c (Qsquare): New variable.
1187 (to_char_code): Add `Qsquare'.
1188 (syms_of_mule_charset): Add new symbol `square'.
1190 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1192 * mule-charset.c (Qcircle): New variable.
1193 (to_char_code): Add `Qcircle'.
1194 (syms_of_mule_charset): Add new symbol `circle'.
1196 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1198 * mule-charset.c (Qfont): New variable.
1199 (to_char_code): Add `Qfont'.
1200 (syms_of_mule_charset): Add new symbol `font'.
1202 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1204 * mule-charset.c (Qsub): New variable.
1205 (to_char_code): Add `Qsub'.
1206 (syms_of_mule_charset): Add new symbol `sub'.
1208 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1210 * mule-charset.c (Fput_char_attribute): Convert each element of
1211 VALUE to GL position if ATTRIBUTE is a GR-set,
1213 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1215 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1216 coded-charset is a GR-set.
1218 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1220 * mule-charset.c (Fput_char_attribute): Check each element of
1221 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1223 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1225 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1227 (Qethiopic_ucs): New variable in UTF-2000.
1228 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1229 (complex_vars_of_mule_charset): Add new coded-charset
1230 `ethiopic-ucs' in UTF-2000.
1232 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1233 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1235 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1237 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1239 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1241 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1244 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1246 * mule-charset.c (Vcharacter_variant_table): New variable.
1247 (Q_ucs): New variable.
1248 (Fchar_variants): New function.
1249 (Fput_char_attribute): Register `->ucs' value to
1250 `Vcharacter_variant_table'.
1251 (syms_of_mule_charset): Add new function `char-variants' and new
1253 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1255 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1257 * mule-charset.c (get_char_code_table): Allow negative character
1259 (put_char_code_table): Likewise.
1260 (Vcharacter_composition_table): New variable.
1261 (Q_decomposition): New variable.
1262 (Qwide): New variable.
1263 (Qnarrow): New variable.
1264 (Qcompat): New variable.
1265 (QnoBreak): New variable.
1266 (Qsuper): New variable.
1267 (Qfraction): New variable.
1268 (to_char_code): New function.
1269 (Fget_composite_char): New function.
1270 (Fput_char_attribute): Register `->decomposition' value to
1271 `Vcharacter_composition_table'.
1272 (syms_of_mule_charset): Add new function `get-composite-char', new
1273 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1274 `super' and `fraction'.
1275 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1277 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1279 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1280 character; copy the return value.
1282 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1284 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1286 * mule-charset.c (range_charset_code_point): Must use make_int.
1287 (split_builtin_char): New function.
1289 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1291 * mule-charset.c (char_byte_table): Change name from
1292 "char-code-table" to "char-byte-table".
1293 (mark_char_code_table): New function.
1294 (char_code_table_equal): New function.
1295 (char_code_table_hash): New function.
1296 (char_code_table_description): New constant.
1297 (char_code_table): New type.
1298 (make_char_code_table): New function.
1299 (copy_char_code_table): New function.
1300 (get_char_code_table): Modify for `char_code_table' type.
1301 (put_char_code_table): Likewise.
1302 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1305 * char-ucs.h (char_code_table): New type.
1306 (XCHAR_CODE_TABLE): New macro.
1307 (XSETCHAR_CODE_TABLE): New macro.
1308 (CHAR_CODE_TABLE_P): New macro.
1309 (GC_CHAR_CODE_TABLE_P): New macro.
1310 (struct Lisp_Char_Code_Table): New structure.
1312 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1314 * mule-charset.c (Fmake_charset): Setup byte_offset for
1317 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1319 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1322 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1324 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1327 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1329 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1330 charset, it is regarded as a charset.
1331 (put_char_attribute): New function in UTF-2000.
1332 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1333 charset, mapping-table of the charset is modified.
1334 (Fdefine_char): New function in UTF-2000.
1335 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1336 `Fput_char_attribute'.
1337 (syms_of_mule_charset): Add new function `define-char' and new
1338 symbol `ucs' in UTF-2000.
1339 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1341 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1343 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1344 non-UTF-2000 configuration.
1346 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1348 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1349 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1351 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1353 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1354 (Fset_charset_mapping_table): Likewise.
1356 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1357 (CHARSET_ENCODING_TABLE): Delete.
1358 (XCHARSET_ENCODING_TABLE): Delete.
1359 (charset_code_point): New interface.
1361 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1363 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1364 instead of `charset_get_byte1' and `charset_get_byte2'.
1366 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1367 (charset_get_byte2): Deleted.
1369 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1371 * char-ucs.h (SPLIT_CHAR): New inline function.
1372 (breakup_char_1): Use `SPLIT_CHAR'.
1374 * mule-charset.c (range_charset_code_point): New function.
1375 (charset_code_point): New function.
1377 * char-ucs.h (range_charset_code_point): New interface.
1378 (breakup_char_1): Use `range_charset_code_point'.
1380 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1382 * mule-charset.c (Fmake_charset): Delete unused local variable
1385 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1386 (breakup_char_1): Find a charset and code-point in
1387 `Vcharacter_attribute_table'.
1389 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1391 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1394 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1396 * mule-charset.c (Vcharacter_attribute_table): New variable.
1397 (Fchar_attribute_alist): New function.
1398 (Fget_char_attribute): New function.
1399 (Fput_char_attribute): New function.
1400 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1402 (syms_of_mule_charset): Add new function `char-attribute-alist',
1403 `get-char-attribute' and `put-char-attribute'.
1404 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1406 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1408 * mule-charset.c (Fmake_charset): Just use
1409 `get_unallocated_leading_byte'.
1411 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1412 sets; don't use final-byte based number for private sets.
1414 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1416 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1419 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1421 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1424 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1426 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1427 of `CHAR_LEADING_BYTE' in UTF-2000.
1429 * insdel.c (find_charsets_in_bufbyte_string): Use
1430 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1431 (find_charsets_in_emchar_string): Likewise.
1433 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1434 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1436 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1437 (CHAR_CHARSET_ID): New macro.
1439 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1441 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1442 charset-id - MIN_LEADING_BYTE.
1443 (put_char_table): Likewise.
1445 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1447 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1448 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1449 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1450 (CHARSET_ID_OFFSET): New macro.
1451 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1452 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1453 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1454 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1456 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1458 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1459 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1460 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1461 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1462 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1464 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1466 * mule-charset.c (next_allocated_leading_byte): New variable in
1468 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1469 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1470 (get_unallocated_leading_byte): Simply use
1471 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1472 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1475 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1476 (MAX_LEADING_BYTE_PRIVATE): New macro.
1477 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1478 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1480 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1482 * mule-charset.c (Fmake_charset): Allocate final-byte based
1483 charset-id for 94-set, 96-set and 94x94-set.
1485 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1487 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1489 (Fmake_charset): Likewise.
1490 (complex_vars_of_mule_charset): Modify the font registry of
1491 `ucs-bmp' not to match `Ethiopic-Unicode'.
1493 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1495 * mule-charset.c (complex_vars_of_mule_charset): Add font
1496 registory of `ucs-bmp'.
1498 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1500 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1501 coded-charsets in `default-coded-charset-priority-list' when
1502 breaking up a character.
1504 * mule-charset.c (Vcharset_latin_viscii): New variable.
1505 (Qlatin_viscii): New variable.
1506 (make_charset): Don't use `decoding_table'.
1507 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1509 (Fset_charset_mapping_table): New implementation.
1510 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1511 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1512 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1513 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1514 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1515 charset `latin_viscii'.
1517 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1518 (CHARSET_TYPE_94X94): Change to 1 from 2.
1519 (CHARSET_TYPE_96): Change to 2 from 1.
1520 (CHARSET_TYPE_128): New macro.
1521 (CHARSET_TYPE_128X128): Change to 5 from 4.
1522 (CHARSET_TYPE_256): New macro.
1523 (CHARSET_TYPE_256X256): Change to 7 from 5.
1524 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1526 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1528 * text-coding.c (char_encode_shift_jis): Refer
1529 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1530 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1532 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1533 (char_byte_table_equal): New function in UTF-2000.
1534 (char_byte_table_hash): New function in UTF-2000.
1535 (char_byte_table_description): New constant in UTF-2000.
1536 (char_byte_table): New type in UTF-2000.
1537 (make_char_byte_table): New function in UTF-2000.
1538 (copy_char_byte_table): New function in UTF-2000.
1539 (make_char_code_table): New macro in UTF-2000.
1540 (get_char_code_table): New function in UTF-2000.
1541 (put_char_code_table): New function in UTF-2000.
1542 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1543 (charset_description): Add setting in UTF-2000.
1544 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1545 `CHARSET_TO_BYTE1_TABLE(cs)'.
1546 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1547 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1548 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1549 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1550 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1551 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1552 `CHARSET_TO_BYTE2_TABLE(cs)'.
1554 * char-ucs.h (char_byte_table): New type.
1555 (XCHAR_BYTE_TABLE): New macro.
1556 (XSETCHAR_BYTE_TABLE): New macro.
1557 (CHAR_BYTE_TABLE_P): New macro.
1558 (GC_CHAR_BYTE_TABLE_P): New macro.
1559 (struct Lisp_Char_Byte_Table): New structure.
1560 (get_char_code_table): New interface.
1561 (Emchar_to_byte_table): Deleted.
1562 (get_byte_from_character_table): Deleted.
1563 (struct Lisp_Charset): Add `encoding_table'; delete
1564 `to_byte1_table' and `to_byte2_table'.
1565 (CHARSET_ENCODING_TABLE): New macro.
1566 (CHARSET_TO_BYTE1_TABLE): Deleted.
1567 (CHARSET_TO_BYTE2_TABLE): Deleted.
1568 (XCHARSET_ENCODING_TABLE): New macro.
1569 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1570 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1572 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1574 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1575 `vietnamese-viscii-*'.
1577 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1579 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1580 (Qvietnamese_viscii_upper): New variable.
1581 (Fdefine_charset_alias): New function.
1582 (syms_of_mule_charset): Add new function `define-charset-alias'.
1583 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1584 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1587 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1589 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1590 (MAX_CHAR_OBS_94x94): New macro.
1591 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1594 * mule-charset.c (put_byte_from_character_table): Change unit size
1596 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1598 (Fmake_reverse_direction_charset): Modify dummy argument of
1599 `make_charset' for non-UTF-2000 environment.
1601 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1603 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1605 * mule-charset.c (destroy_byte_from_character_table): New macro.
1606 (latin_jisx0201_to_ucs): Deleted.
1607 (latin_iso8859_2_to_ucs): Deleted.
1608 (latin_iso8859_3_to_ucs): Deleted.
1609 (latin_iso8859_4_to_ucs): Deleted.
1610 (latin_iso8859_9_to_ucs): Deleted.
1611 (latin_viscii_lower_to_ucs): Deleted.
1612 (latin_viscii_upper_to_ucs): Deleted.
1613 (mark_charset): Mark `cs->decoding_table'.
1614 (Fcharset_mapping_table): Fix DOC-string.
1615 (Fset_charset_mapping_table): New function.
1616 (syms_of_mule_charset): Add nwe function
1617 `set-charset-mapping-table'.
1618 (complex_vars_of_mule_charset): Don't setup and use
1621 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1623 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1626 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1628 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1629 (Vcharset_katakana_jisx0208): New variable.
1630 (Qhiragana_jisx0208): New variable.
1631 (Qkatakana_jisx0208): New variable.
1632 (make_charset): Add new argument `byte_offset'.
1633 (charset_get_byte1): Modify for new coded-charset definition; use
1634 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1635 `XCHARSET_BYTE_OFFSET'.
1636 (Fmake_charset): Modify for `make_charset'.
1637 (Fmake_reverse_direction_charset): Likewise.
1638 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1639 `katakana-jisx0208'.
1640 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1641 `.' in font registry of charset `katakana-jisx0201',
1642 `latin-jisx0201', `vietnamese-viscii-lower' and
1643 `vietnamese-viscii-upper'; modify DOC-string of charset
1644 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1645 registry of charset `japanese-jisx0208' not to use font for JIS
1646 X0208:1990; add new charset `hiragana-jisx0208' and
1647 `katakana-jisx0208'.
1649 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1650 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1651 (struct Lisp_Charset): Add `byte_offset'.
1652 (CHARSET_BYTE_OFFSET): New macro.
1653 (XCHARSET_UCS_MIN): New macro.
1654 (XCHARSET_UCS_MAX): New macro.
1655 (XCHARSET_CODE_OFFSET): New macro.
1656 (XCHARSET_BYTE_OFFSET): New macro.
1657 (MIN_CHAR_HIRAGANA): New macro.
1658 (MAX_CHAR_HIRAGANA): New macro.
1659 (MIN_CHAR_KATAKANA): New macro.
1660 (MAX_CHAR_KATAKANA): New macro.
1661 (MAKE_CHAR): Modify for new coded-charset definition; use
1662 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1663 `XCHARSET_BYTE_OFFSET'.
1665 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1667 * mule-charset.c (CHAR96): Deleted.
1668 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1670 (latin_iso8859_2_to_ucs): Likewise.
1671 (latin_iso8859_3_to_ucs): Likewise.
1672 (latin_iso8859_4_to_ucs): Likewise.
1673 (latin_iso8859_9_to_ucs): Likewise.
1674 (latin_viscii_lower_to_ucs): Likewise.
1675 (latin_viscii_upper_to_ucs): Likewise.
1676 (latin_tcvn5712_to_ucs): Commented out.
1677 (make_charset): Change type of argument `decoding_table' from
1678 <Emchar*> to <Lisp_Object> [vector of characters].
1679 (Fmake_charset): Modify for `make_charset'.
1680 (Fmake_reverse_direction_charset): Likewise.
1681 (Fcharset_mapping_table): New function in UTF-2000.
1682 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1684 (complex_vars_of_mule_charset): Modify for type change of
1685 `*_to_ucs'; modify for `make_charset'.
1687 * char-ucs.h (struct Lisp_Charset): Change type of
1688 `decoding_table' from <Emchar*> to <Lisp_Object>.
1689 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1691 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1693 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1694 error with non-UTF-2000-Mule.
1696 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1698 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1700 (Vcharset_chinese_cns11643_4): Likewise.
1701 (Vcharset_chinese_cns11643_5): Likewise.
1702 (Vcharset_chinese_cns11643_6): Likewise.
1703 (Vcharset_chinese_cns11643_7): Likewise.
1704 (Qchinese_cns11643_3): Likewise.
1705 (Qchinese_cns11643_4): Likewise.
1706 (Qchinese_cns11643_5): Likewise.
1707 (Qchinese_cns11643_6): Likewise.
1708 (Qchinese_cns11643_7): Likewise.
1709 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1710 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1711 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1712 (complex_vars_of_mule_charset): Likewise.
1714 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1716 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1718 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1719 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1721 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1723 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1725 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1726 (breakup_char_1): Likewise.
1728 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1729 one of them includes the specified character.
1731 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1733 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1735 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1737 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1739 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1741 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1742 definition for non-UTF-2000 Mule.
1743 (latin_iso8859_3_to_ucs): Likewise.
1744 (latin_iso8859_4_to_ucs): Likewise.
1745 (latin_iso8859_9_to_ucs): Likewise.
1746 (latin_jisx0201_to_ucs): Likewise.
1747 (MIN_CHAR_THAI): Likewise.
1748 (MAX_CHAR_THAI): Likewise.
1749 (MIN_CHAR_GREEK): Likewise.
1750 (MAX_CHAR_GREEK): Likewise.
1751 (MIN_CHAR_HEBREW): Likewise.
1752 (MAX_CHAR_HEBREW): Likewise.
1753 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1754 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1755 (MIN_CHAR_CYRILLIC): Likewise.
1756 (MAX_CHAR_CYRILLIC): Likewise.
1758 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1760 * char-ucs.h (breakup_char_1): Use
1761 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1762 thai-tis620 and katakana-jisx0201 area.
1764 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1766 * char-ucs.h (breakup_char_1): Use
1767 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1770 * text-coding.c (reset_encoding_stream): Fixed.
1771 (char_encode_ucs4): Delete `& 255'.
1773 * char-ucs.h (breakup_char_1): Use
1774 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1776 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1778 * file-coding.c (Fmake_coding_system): Don't set up
1779 `codesys->fixed.size'.
1780 (encode_coding_no_conversion): Don't refer
1781 `str->codesys->fixed.size'.
1783 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1785 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1786 (latin_a_char_to_byte1): Deleted.
1787 (latin_a_char_to_byte2): Deleted.
1789 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1791 * mule-charset.c (make_charset): Add new argument `ucs_min',
1792 `ucs_max' and `code_offset'.
1793 (charset_get_byte1): New implementation [delete specific charset
1794 depended implementations].
1795 (Fmake_charset): Modify for `make_charset'.
1796 (Fmake_reverse_direction_charset): Likewise.
1797 (complex_vars_of_mule_charset): Likewise.
1799 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1801 (CHARSET_UCS_MIN): New macro.
1802 (CHARSET_UCS_MAX): New macro.
1803 (CHARSET_CODE_OFFSET): New macro.
1804 (MAKE_CHAR): Delete charset depended definitions [except
1807 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1809 * char-ucs.h (breakup_char_1): Use
1810 `Vdefault_coded_charset_priority_list' for C0-Controls,
1811 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1813 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1815 * char-ucs.h (charset_get_byte1): New function.
1816 (XCHARSET_GET_BYTE1): Deleted.
1817 (charset_get_byte2): New function.
1818 (XCHARSET_GET_BYTE2): Deleted.
1819 (Vdefault_coded_charset_priority_list): New external variable.
1820 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1821 `Vdefault_preferred_coded_charset_list'.
1823 * mule-charset.c (charset_get_byte1): New function.
1824 (charset_get_byte2): New function.
1825 (Vdefault_coded_charset_priority_list): New variable.
1826 (vars_of_mule_charset): Add new variable
1827 `default-coded-charset-priority-list'.
1829 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1831 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1832 (XCHARSET_GET_BYTE2): New inline function.
1833 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1834 `XCHARSET_GET_BYTE2'.
1836 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1838 * mule-charset.c (make_charset): Initialize
1839 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1840 NULL if table is not defined.
1842 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1844 * text-coding.c (char_encode_shift_jis): Use
1845 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1846 `ucs_to_latin_jisx0201'.
1848 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1849 (ucs_to_latin_iso8859_2): Deleted.
1850 (ucs_to_latin_iso8859_3): Deleted.
1851 (ucs_to_latin_iso8859_4): Deleted.
1852 (ucs_to_latin_iso8859_9): Deleted.
1853 (ucs_to_latin_viscii_lower): Deleted.
1854 (ucs_to_latin_viscii_upper): Deleted.
1855 (ucs_to_latin_tcvn5712): Deleted.
1856 (make_charset): Add new argument `decoding_table'; set up
1857 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1858 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1859 `decoding_table' is defined in UTF-2000.
1860 (Fmake_charset): Modify for `make_charset'.
1861 (Fmake_reverse_direction_charset): Likewise.
1862 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1863 and `GENERATE_96_SET'.
1865 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1866 (ucs_to_latin_jisx0201): Deleted.
1867 (latin_iso8859_2_to_ucs): Deleted.
1868 (ucs_to_latin_iso8859_2): Deleted.
1869 (latin_iso8859_3_to_ucs): Deleted.
1870 (ucs_to_latin_iso8859_3): Deleted.
1871 (latin_iso8859_4_to_ucs): Deleted.
1872 (ucs_to_latin_iso8859_4): Deleted.
1873 (latin_iso8859_9_to_ucs): Deleted.
1874 (ucs_to_latin_iso8859_9): Deleted.
1875 (latin_viscii_lower_to_ucs): Deleted.
1876 (ucs_to_latin_viscii_lower): Deleted.
1877 (latin_viscii_upper_to_ucs): Deleted.
1878 (ucs_to_latin_viscii_upper): Deleted.
1879 (struct Lisp_Charset): Renamed `encoding_table' to
1880 `to_byte1_table'; add `to_byte2_table'.
1881 (CHARSET_DECODING_TABLE): New macro.
1882 (CHARSET_TO_BYTE1_TABLE): New macro.
1883 (CHARSET_TO_BYTE2_TABLE): New macro.
1884 (XCHARSET_DECODING_TABLE): New macro.
1885 (XCHARSET_TO_BYTE1_TABLE): New macro.
1886 (XCHARSET_TO_BYTE2_TABLE): New macro.
1887 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1889 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1890 don't use `ucs_to_*' tables.
1892 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1894 * text-coding.c (Fmake_coding_system): Don't set up
1895 `codesys->fixed.size'.
1896 (encode_coding_no_conversion): Use `if' instead of `switch'.
1898 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1900 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1902 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1903 (Fmake_charset): Modify for `make_charset'.
1904 (Fmake_reverse_direction_charset): Likewise.
1905 (complex_vars_of_mule_charset): Likewise.
1907 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1909 * text-coding.c (char_encode_shift_jis): Use table
1910 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1912 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1914 * text-coding.c (text_encode_generic): Use `if' instead of
1916 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1919 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1921 * text-coding.c (encode_coding_sjis): Deleted.
1922 (char_encode_shift_jis): New function.
1923 (char_finish_shift_jis): New function.
1924 (reset_encoding_stream): Set up `encode_char' and `finish' for
1925 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1926 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1927 (char_encode_utf8): Treat `eol_type'.
1929 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1931 * file-coding.c (decode_coding_iso2022): Use
1932 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1934 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1936 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1939 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1941 * char-lb.h (CHAR_COLUMNS): New macro.
1943 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1945 * text-coding.c (char_encode_ucs4): New function.
1946 (char_finish_ucs4): New function.
1947 (encode_coding_ucs4): Deleted.
1948 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
1949 (text_encode_generic): Delete local variable `charset' and `half'.
1950 (ucs_to_mule_table): Deleted.
1951 (mule_to_ucs_table): Deleted.
1952 (Fset_ucs_char): Deleted.
1953 (ucs_to_char): Deleted.
1954 (Fucs_char): Deleted.
1955 (Fset_char_ucs): Deleted.
1956 (Fchar_ucs): Deleted.
1957 (decode_ucs4): Deleted.
1958 (mule_char_to_ucs4): Deleted.
1959 (encode_ucs4): Deleted.
1960 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
1961 (decode_coding_utf8): Likewise.
1962 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
1963 (char_encode_iso2022): Fixed.
1964 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
1965 `Fset_char_ucs' and `Fchar_ucs'.
1966 (complex_vars_of_file_coding): Don't initialize
1967 `ucs_to_mule_table'.
1969 * objects-tty.c (tty_initialize_font_instance): Don't use
1972 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
1975 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
1976 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1978 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
1979 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1980 (emchar_string_displayed_columns): Likewise.
1982 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
1983 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1984 (string_column_at_point): Likewise.
1985 (Fmove_to_column): Likewise.
1987 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
1988 `encoding_table' and `decoding_table'.
1989 (CHARSET_REP_BYTES): Deleted.
1990 (XCHARSET_REP_BYTES): Deleted.
1991 (XCHARSET_COLUMNS): Deleted.
1992 (CHAR_COLUMNS): New macro.
1993 (lookup_composite_char): Deleted unconditionally.
1994 (composite_char_string): Likewise.
1996 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1998 * char-ucs.h (Emchar_to_byte_table): New type.
1999 (get_byte_from_character_table): New function interface.
2000 (Vcharset_latin_jisx0201): New variable.
2001 (latin_jisx0201_to_ucs): New variable.
2002 (ucs_to_latin_jisx0201): New variable.
2003 (Vcharset_latin_iso8859_2): New variable.
2004 (latin_iso8859_2_to_ucs): New variable.
2005 (ucs_to_latin_iso8859_2): New variable.
2006 (Vcharset_latin_iso8859_3): New variable.
2007 (latin_iso8859_3_to_ucs): New variable.
2008 (ucs_to_latin_iso8859_3): New variable.
2009 (Vcharset_latin_iso8859_4): New variable.
2010 (latin_iso8859_4_to_ucs): New variable.
2011 (ucs_to_latin_iso8859_4): New variable.
2012 (Vcharset_latin_iso8859_9): New variable.
2013 (latin_iso8859_9_to_ucs): New variable.
2014 (ucs_to_latin_iso8859_9): New variable.
2015 (Vcharset_latin_viscii_lower): New variable.
2016 (latin_viscii_lower_to_ucs): New variable.
2017 (ucs_to_latin_viscii_lower): New variable.
2018 (Vcharset_latin_viscii_upper): New variable.
2019 (latin_viscii_upper_to_ucs): New variable.
2020 (ucs_to_latin_viscii_upper): New variable.
2021 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2022 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2023 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2024 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2025 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2026 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2027 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2028 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2029 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2030 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2032 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2033 (Vcharset_latin_viscii_upper): New variable.
2034 (make_byte_from_character_table): New function.
2035 (put_byte_from_character_table): New function.
2036 (get_byte_from_character_table): New function.
2037 (CHAR96): New macro.
2038 (ucs_to_latin_jisx0201): New variable.
2039 (latin_jisx0201_to_ucs): New variable.
2040 (ucs_to_latin_iso8859_2): New variable.
2041 (latin_iso8859_2_to_ucs): New variable.
2042 (ucs_to_latin_iso8859_3): New variable.
2043 (latin_iso8859_3_to_ucs): New variable.
2044 (ucs_to_latin_iso8859_4): New variable.
2045 (latin_iso8859_4_to_ucs): New variable.
2046 (ucs_to_latin_iso8859_9): New variable.
2047 (latin_iso8859_9_to_ucs): New variable.
2048 (ucs_to_latin_viscii_lower): New variable.
2049 (latin_viscii_lower_to_ucs): New variable.
2050 (ucs_to_latin_viscii_upper): New variable.
2051 (latin_viscii_upper_to_ucs): New variable.
2052 (ucs_to_latin_tcvn5712): New variable.
2053 (latin_tcvn5712_to_ucs): New variable.
2054 (Qlatin_viscii_lower): New variable.
2055 (Qlatin_viscii_upper): New variable.
2056 (syms_of_mule_charset): Set up new symbol
2057 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2058 (complex_vars_of_mule_charset): Set up new charset
2059 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2060 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2061 `ucs_to_<CHARSET>' tables.
2063 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2065 * text-coding.c: New file.
2067 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2069 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2071 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2072 (MAKE_CHAR): Modify for `ucs-bmp'.
2073 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2074 non-MULE characters of BMP.
2076 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2078 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2081 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2084 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2085 - Include character.h for `CHAR_ASCII_P'.
2087 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2089 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2090 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2092 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2093 (BYTE_C0_P): Likewise.
2094 (BYTE_C1_P): Likewise.
2095 (Lstream_get_emchar_1): Likewise.
2096 (Lstream_fput_emchar): Likewise.
2097 (Lstream_funget_emchar): Likewise.
2098 (copy_internal_to_external): Likewise.
2099 (copy_external_to_internal): Likewise.
2101 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2102 (BYTE_C0_P): Likewise.
2103 (BYTE_C1_P): Likewise.
2104 (Lstream_get_emchar_1): Likewise.
2105 (Lstream_fput_emchar): Likewise.
2106 (Lstream_funget_emchar): Likewise.
2107 (copy_internal_to_external): Likewise.
2108 (copy_external_to_internal): Likewise.
2110 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2111 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2113 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2114 (BYTE_ASCII_P): Moved to mb-1byte.h.
2116 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2118 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2120 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2121 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2122 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2123 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2124 (VALIDATE_CHARPTR_FORWARD): Likewise.
2125 (simple_charptr_emchar): Moved to mb-multibyte.h.
2126 (simple_set_charptr_emchar): Likewise.
2127 (simple_charptr_copy_char): Likewise.
2128 (non_ascii_charptr_emchar): Likewise.
2129 (non_ascii_set_charptr_emchar): Likewise.
2130 (non_ascii_charptr_copy_char): Likewise.
2131 (charptr_emchar): Moved to mb-*byte.h.
2132 (set_charptr_emchar): Likewise.
2133 (charptr_copy_char): Likewise.
2135 * mb-1byte.h, mb-multibyte.h: New files.
2137 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2139 * mb-utf-8.h (MULTIBYTE): New macro.
2140 (MAX_EMCHAR_LEN): Moved from buffer.h.
2141 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2143 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2145 * mb-lb.h, multibyte.h: New files.
2147 * char-1byte.h (Charset_ID): Moved from buffer.h.
2148 (MIN_LEADING_BYTE): Likewise.
2149 (LEADING_BYTE_ASCII): Likewise.
2150 (NUM_LEADING_BYTES): Likewise.
2151 (CHARSETP): Likewise.
2152 (CHARSET_BY_LEADING_BYTE): Likewise.
2153 (XCHARSET_LEADING_BYTE): Likewise.
2154 (XCHARSET_GRAPHIC): Likewise.
2155 (XCHARSET_COLUMNS): Likewise.
2156 (XCHARSET_DIMENSION): Likewise.
2157 (CHAR_CHARSET): Likewise.
2158 (CHAR_LEADING_BYTE): Likewise.
2159 (BREAKUP_CHAR): Likewise.
2160 (Vcharset_ascii): Likewise.
2162 * buffer.h: Include multibyte.h unconditionally.
2163 (VALID_CHARPTR_P): Moved to multibyte.h.
2164 (ASSERT_VALID_CHARPTR): Likewise.
2165 (REAL_INC_CHARPTR): Likewise.
2166 (REAL_INC_CHARBYTIND): Likewise.
2167 (REAL_DEC_CHARPTR): Likewise.
2168 (INC_CHARPTR): Likewise.
2169 (INC_CHARBYTIND): Likewise.
2170 (DEC_CHARPTR): Likewise.
2171 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2172 (VALIDATE_CHARPTR_FORWARD): Likewise.
2173 (charptr_n_addr): Likewise.
2174 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2175 (simple_charptr_emchar): Moved to multibyte.h.
2176 (simple_set_charptr_emchar): Likewise.
2177 (simple_charptr_copy_char): Likewise.
2178 (non_ascii_charptr_emchar): Likewise.
2179 (non_ascii_set_charptr_emchar): Likewise.
2180 (non_ascii_charptr_copy_char): Likewise.
2181 (charptr_emchar): Likewise.
2182 (set_charptr_emchar): Likewise.
2183 (charptr_copy_char): Likewise.
2184 (charptr_emchar_n): Likewise.
2185 (Charset_ID): Moved to char-1byte.h.
2186 (Vcharset_ascii): Likewise.
2187 (CHAR_CHARSET): Likewise.
2188 (CHAR_LEADING_BYTE): Likewise.
2189 (LEADING_BYTE_ASCII): Likewise.
2190 (NUM_LEADING_BYTES): Likewise.
2191 (MIN_LEADING_BYTE): Likewise.
2192 (CHARSETP): Likewise.
2193 (CHARSET_BY_LEADING_BYTE): Likewise.
2194 (XCHARSET_LEADING_BYTE): Likewise.
2195 (XCHARSET_GRAPHIC): Likewise.
2196 (XCHARSET_COLUMNS): Likewise.
2197 (XCHARSET_DIMENSION): Likewise.
2198 (BREAKUP_CHAR): Likewise.
2200 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2202 * character.h: Add document about interface for characters.
2204 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2205 (MAKE_CHAR): Delete comment about
2206 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2207 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2208 (BREAKUP_CHAR): Modify name of arguments.
2209 (CHAR_CHARSET): Modify name of argument.
2211 * buffer.h: Delete document about Emchar accessors.
2213 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2215 * character.h (CHAR_INTP): Moved from buffer.h
2216 (CHAR_OR_CHAR_INTP): Likewise.
2217 (XCHAR_OR_CHAR_INT): Likewise.
2218 (CHECK_CHAR_COERCE_INT): Likewise.
2220 * buffer.h (CHAR_INTP): Moved to character.h
2221 (CHAR_OR_CHAR_INTP): Likewise.
2222 (XCHAR_OR_CHAR_INT): Likewise.
2223 (CHECK_CHAR_COERCE_INT): Likewise.
2225 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2228 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2229 - Include char-1byte.h, char-lb.h or char-ucs.h.
2231 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2233 * buffer.h: Include character unconditionally.
2234 (valid_char_p): Moved to char-*.h.
2235 (non_ascii_valid_char_p): Moved to char-lb.h.
2237 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2239 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2241 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2242 in UTF-2000 because it is not ported yet and not to use
2243 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2244 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2245 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2247 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2248 (CHAR_ASCII_P): Moved from character.h.
2250 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2251 (CHAR_ASCII_P): Likewise.
2252 (CHAR_FIELD1_MASK): Deleted.
2253 (CHAR_FIELD2_MASK): Deleted.
2254 (CHAR_FIELD3_MASK): Deleted.
2255 (MAX_CHAR_BASIC_LATIN): New macro.
2256 (CHAR_FIELD1): Deleted.
2257 (CHAR_FIELD2_INTERNAL): Deleted.
2258 (CHAR_FIELD3_INTERNAL): Deleted.
2259 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2260 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2261 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2262 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2263 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2264 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2265 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2266 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2267 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2268 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2269 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2270 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2271 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2272 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2273 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2274 (MIN_CHAR_COMPOSITION): Deleted.
2275 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2276 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2278 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2280 * buffer.h: Include mb-utf-8.h in UTF-2000.
2282 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2284 * mb-utf-8.h: New file.
2286 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2288 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2291 * mule-charset.h, buffer.h (Charset_ID): New type.
2293 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2295 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2296 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2297 instead of `MULE_CHAR_PRIVATE_OFFSET',
2298 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2299 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2300 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2302 * character.h (Vcharset_japanese_jisx0212): New variable
2305 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2307 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2308 (charset_by_attributes): Delete array about direction.
2309 (latin_a_char_to_charset): New variable in UTF-2000.
2310 (latin_a_char_to_byte1): New variable in UTF-2000.
2311 (latin_a_char_to_byte2): New variable in UTF-2000.
2312 (Qucs_bmp): New variable.
2313 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2315 (next_allocated_2_byte_leading_byte): Likewise.
2316 (non_ascii_set_charptr_emchar): Likewise.
2317 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2318 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2319 `charset_by_attributes'.
2320 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2321 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2322 and `CHARSET_BY_LEADING_BYTE'.
2323 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2324 `utf-2000-version' to `vars_of_mule_charset'.
2325 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2326 define `leading-code-private-11' in UTF-2000; move setting of
2327 `utf-2000-version' from `syms_of_mule_charset'.
2328 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2331 * character.h (Charset_ID): New type.
2332 (LEADING_BYTE_UCS_BMP): New macro.
2333 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2334 (CHARSET_ID_OFFSET_94): New macro.
2335 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2336 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2337 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2339 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2340 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2341 (CHARSET_ID_OFFSET_96): New macro.
2342 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2343 CHARSET_ID_OFFSET_96 and final-byte.
2344 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2345 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2346 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2347 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2348 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2349 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2350 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2351 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2352 (LEADING_BYTE_THAI_TIS620): Likewise.
2353 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2354 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2355 (CHARSET_ID_OFFSET_94x94): New macro.
2356 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2357 CHARSET_ID_OFFSET_94x94 and final-byte.
2358 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2359 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2360 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2361 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2362 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2363 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2364 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2365 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2366 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2367 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2368 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2369 (CHARSET_TYPE_128X128): New macro.
2370 (CHARSET_TYPE_256X256): New macro.
2371 (XCHARSET_PRIVATE_P): Delete unconditionally.
2372 (charset_by_attributes): Delete array about direction.
2373 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2374 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2375 (MIN_CHAR_94): New macro.
2376 (MAX_CHAR_94): New macro.
2377 (MIN_CHAR_96): New macro.
2378 (MAX_CHAR_96): New macro.
2379 (MIN_CHAR_94x94): New macro.
2380 (MAX_CHAR_94x94): New macro.
2381 (MIN_CHAR_96x96): New macro.
2382 (MAX_CHAR_96x96): New macro.
2383 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2384 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2385 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2387 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2388 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2389 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2390 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2391 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2392 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2393 `XCHARSET_LEADING_BYTE' to make code-point.
2394 (latin_a_char_to_charset): New variable.
2395 (latin_a_char_to_byte1): New variable.
2396 (latin_a_char_to_byte2): New variable.
2397 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2398 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2399 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2401 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2402 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2403 (find_charsets_in_emchar_string): Likewise.
2404 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2406 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2408 (decode_coding_iso2022): Likewise.
2410 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2413 * redisplay.c (redisplay_text_width_emchar_string): Use
2414 `Charset_ID' instead of `unsigned char'.
2415 (redisplay_frame_text_width_string): Likewise.
2417 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2420 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2421 instead of `unsigned char'.
2422 (face_cachel_charset_font_metric_info): Likewise.
2424 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2425 (get_non_ascii_char_table_value): Likewise.
2426 (get_char_table): Likewise.
2427 (put_char_table): Likewise.
2428 (map_over_other_charset): Likewise.
2429 (map_char_table): Likewise.
2431 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2432 instead of `unsigned char'.
2434 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2436 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2437 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2439 * mule-charset.c (leading_code_private_11): Don't define in
2442 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2443 in UTF-2000 because it is not ported yet and not to use
2444 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2446 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2448 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2450 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2452 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2455 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2456 of unsigned char to store leading-byte.
2458 * chartab.c (get_non_ascii_char_table_value): Don't use
2459 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2461 * file-coding.c (encode_coding_big5): Delete bogus implementation
2464 * character.h (LEADING_BYTE_*): Delete definition for
2466 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2467 (LEADING_BYTE_PREFIX_P): Deleted.
2468 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2469 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2470 (BUFBYTE_LEADING_BYTE_P): Deleted.
2471 (CHARSET_PRIVATE_P): Deleted unconditionally.
2472 (rep_bytes_by_first_byte): Deleted unconditionally.
2473 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2474 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2475 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2476 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2477 (CHAR_FIELD2): Deleted.
2478 (CHAR_FIELD3): Deleted.
2479 (MAKE_CHAR): Delete definition for non-UTF-2000.
2480 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2481 (breakup_char_1): New implementation.
2482 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2483 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2485 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2487 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2490 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2492 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2493 (CHARSET_PRIVATE_P): Likewise.
2494 (XCHARSET_PRIVATE_P): Likewise.
2495 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2497 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2499 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2501 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2503 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2504 (NUM_LEADING_BYTES): Changed from 128 to 256.
2505 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2506 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2508 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2510 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2512 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2513 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2514 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2515 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2516 (Qchinese_cns11643_3): New variable in UTF2000.
2517 (Qchinese_cns11643_4): New variable in UTF2000.
2518 (Qchinese_cns11643_5): New variable in UTF2000.
2519 (Qchinese_cns11643_6): New variable in UTF2000.
2520 (Qchinese_cns11643_7): New variable in UTF2000.
2521 (syms_of_mule_charset): Define `chinese-cns11643-3',
2522 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2523 and `chinese-cns11643-7' in UTF2000.
2524 (vars_of_mule_charset): Initialize
2525 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2527 (complex_vars_of_mule_charset): Setup charset
2528 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2529 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2531 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2533 * mule-charset.c: Move setting for `leading-code-private-11' from
2534 `syms_of_mule_charset' to `vars_of_mule_charset'.
2536 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2538 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2539 and `NUM_LEADING_BYTES' in assert.
2541 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2543 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2545 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2546 `NUM_LEADING_BYTES' instead of 128.
2548 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2550 * mule-charset.h (charset_by_leading_byte): Use
2551 `NUM_LEADING_BYTES' instead of 128.
2552 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2554 * mule-charset.c (charset_by_leading_byte): Use
2555 `NUM_LEADING_BYTES' instead of 128.
2556 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2558 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2561 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2563 * mule-charset.c (syms_of_mule_charset): Update to
2566 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2568 * file-coding.c (encode_coding_sjis): New implementation for
2569 UTF2000. (decode_coding_sjis): Ditto.
2571 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2573 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2574 Don't define in UTF2000.
2576 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2579 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2580 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2583 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2585 * config.h.in (CHAR_IS_UCS4): New macro.
2587 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2588 conventional MULE representation.
2589 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2591 * mule-charset.h: Reverted to original.
2593 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2594 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2595 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2597 * character.h: New file.
2599 * file-coding.c (Fmake_coding_system): Set 1 to
2600 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2602 (encode_coding_no_conversion): New implementation for UTF2000.
2604 * file-coding.h (struct Lisp_Coding_System): Add new member
2607 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2609 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2610 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2611 (encode_coding_iso2022): New implementation for UTF2000.
2613 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2615 * mule-canna.c (c2mu): New implementation for UTF2000.
2618 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2620 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2622 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2624 * file-coding.c (reset_encoding_stream): Set 0 to
2625 `str->iso2022.current_char_boundary' in UTF2000.
2626 (encode_utf8): Don't define in UTF2000.
2627 (encode_coding_utf8): New implementation for UTF-8 representation
2629 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2631 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2633 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2635 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2637 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2639 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2641 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2642 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2643 as UTF-8 in UTF2000.
2644 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2645 (non_ascii_valid_char_p): Don't define in UTF2000.
2646 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2647 (Lstream_get_emchar_1): Likewise.
2648 (utf-2000-version): New variable in UTF2000.
2650 * lread.c (read_escape): Add new reader `u'.
2652 * insdel.c (three_to_one_table): Don't define in UTF2000.
2653 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2654 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2656 (bytind_to_bufpos_func): Likewise.
2657 (buffer_mule_signal_inserted_region): Likewise.
2658 (vars_of_insdel): Don't initialize `three_to_one_table'.
2659 (init_buffer_text): Use `buf->text->mule_size' instead of
2660 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2663 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2664 UTF-8 representation in UTF2000.
2665 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2666 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2667 (decode_coding_iso2022): Don't define local variable `lb' in
2668 UTF2000; don't use LEADING_BYTE in UTF2000; use
2669 `DECODE_ADD_UCS_CHAR' in UTF2000.
2670 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2672 * config.h.in (UTF2000): New macro.
2674 * buffer.h (struct buffer_text): Add new member `mule_size' and
2675 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2676 (valid_char_p): Return always 1 in UTF2000.
2677 (MAX_EMCHAR_LEN): 6 in UTF2000.
2678 (three_to_one_table): Don't define in UTF2000.
2679 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2681 (real_bytind_to_bufpos): Likewise.
2683 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2685 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2687 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2688 representation change.
2689 (Vutf_2000_version): New variable.
2690 (leading_code_private_11): New variable.
2691 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2692 `leading-code-private-11'.
2694 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2695 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2696 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2697 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2698 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2699 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2700 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2701 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2702 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2703 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2704 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2705 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2706 (MIN_CHAR_GREEK): New macro.
2707 (MAX_CHAR_GREEK): New macro.
2708 (MIN_CHAR_CYRILLIC): New macro.
2709 (MAX_CHAR_CYRILLIC): New macro.
2710 (MIN_CHAR_HEBREW): New macro.
2711 (MAX_CHAR_HEBREW): New macro.
2712 (MIN_CHAR_THAI): New macro.
2713 (MAX_CHAR_THAI): New macro.
2714 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2715 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2716 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2717 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2718 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2719 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2720 (CHAR_FIELD2): New inline function.
2721 (CHAR_FIELD3): New inline function.
2722 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2723 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2724 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2725 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2726 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2727 (MIN_CHAR_COMPOSITION): Likewise.
2728 (CHAR_LEADING_BYTE): Modified for character representation change.
2729 (MAKE_CHAR): Likewise.
2731 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2732 (Vcharset_greek_iso8859_7): Likewise.
2733 (Vcharset_cyrillic_iso8859_5): Likewise.
2734 (Vcharset_hebrew_iso8859_8): Likewise.
2735 (Vcharset_thai_tis620): Likewise.
2736 (Vcharset_katakana_jisx0201): Likewise.
2738 2000-12-05 Martin Buchholz <martin@xemacs.org>
2740 * XEmacs 21.2.38 is released.
2742 2000-12-05 Martin Buchholz <martin@xemacs.org>
2744 * symsinit.h: Add init_postgresql_from_environment.
2746 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2748 * regex.c: Convert to clean C.
2750 2000-12-05 Dan Holmsand <dan@eyebee.com>
2753 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2755 (sys_readlink): renamed to system_readlink to avoid conflict with
2756 the other sys_readlink.
2758 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2760 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2762 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2764 * postgresql.c (init_postgresql_from_environment): new function.
2765 (vars_of_postgresql): Move code initializing Lisp variables out and
2766 into init_postgresql_from_environment.
2767 emacs.c (main_1): Call init_postgresql_from_environment if and only
2768 if running a dumped XEmacs.
2770 2000-08-31 Dan Holmsand <dan@eyebee.com>
2772 * buffer.c: Make find-file-compare-truenames default to true on
2775 * realpath.c (win32_abs_start):
2777 (win32_readlink): New functions.
2778 (xrealpath): Return really real filenames on windows.
2780 * fileio.c (Ffile_truename): Make file-truename work on windows.
2782 2000-11-29 Didier Verna <didier@xemacs.org>
2784 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2785 * faces.c (update_face_cachel_data): use it.
2786 * faces.c (add_face_cachel): use it. Complete background pixmap
2787 frobbing in face cache if `update_face_cachel_data' has not done so.
2789 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2791 * search.c (string_match_1): Don't set last_thing_searched
2794 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2796 * buffer.c: Include casetab.h
2797 (common_init_complex_vars_of_buffer): Use new case-table object.
2798 * buffer.h: Include casetab.h
2799 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2800 (DOWNCASE_TABLE_OF): Ditto.
2801 * bufslots.h: Remove char-tables and add case-table.
2802 * casetab.c: Include casetab.h
2803 (CASE_TABLE_P): Removed.
2804 (mark_case_table): New function.
2805 (allocate_case_table): New function.
2806 (Fcase_table_p): Use new case-table.
2807 (case_table_char): New function.
2808 (Fget_case_table): Ditto.
2809 (Fput_case_table): Ditto.
2810 (Fput_case_table_pair): Ditto.
2811 (Fcopy_case_table): Ditto.
2812 (Fcurrent_case_table): Return case-table.
2813 (Fstandard_case_table): Return case-table.
2814 (Fset_case_table): Fix doc-string.
2815 (set_case_table): Use case-table
2816 (syms_of_casetab): DEFSUBR new functions.
2817 (complex_vars_of_casetab): Set up standard case-table.
2818 * casetab.h: New file.
2819 * editfns.c: Include casetab.h
2820 (Fcompare_buffer_substrings): Use case-table.
2821 * inline.c: Include casetab.h
2822 * lisp.h: Remove bogus extern.
2823 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2824 * search.c: Include casetab.h
2825 (TRANSLATE_ASCII): Removed.
2826 (TRANSLATE): Unconditionally translate character.
2827 (looking_at_1): Use case-table.
2828 (string_match_1): Ditto.
2829 (fast_string_match): Ditto.
2830 (search_command): Ditto.
2831 (search_buffer): Separate boyer_moore. Check whether
2832 boyer_moore is poosible.
2833 (simple_search): New function.
2834 (boyer_moore): Separated from search_buffer. Translate char.
2836 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2838 * regex.c (RE_TR_ASCII): Removed.
2839 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2840 (PATFETCH): Call PATFETCH_RAW.
2841 (PATFETCH_RAW): Fetch Emchar.
2842 (PATUNFETCH): Decrement charptr.
2843 (GET_BUFFER_SPACE): Rename b to buf_end.
2845 (BUF_PUSH_2): Ditto.
2846 (BUF_PUSH_3): Ditto.
2847 (EXTEND_BUFFER): Ditto.
2848 (SET_LIST_BIT): Ditto.
2849 (regex_compile): Ditto. Translate non ASCII char.
2850 (compile_range): Ditto.
2851 (re_search_2): Ditto.
2852 (re_match_2_internal): Compare Emchar.
2853 (bcmp_translate): Ditto.
2855 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2857 * lisp.h (basic char/int typedefs): comment improvement.
2859 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2861 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2862 unstomp inhibit_site_lisp. Improve comments.
2864 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2866 * mule-charset.c (Fcharset_property): improve type checking, comments.
2868 2000-11-28 Andy Piper <andy@xemacs.org>
2870 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2871 clipped display for windows in the gutter also.
2872 (redisplay_display_boxes_in_window_p): change semantics of return
2873 codes to be more intuitive.
2875 * gutter.h: declare display_boxes_in_gutter_p.
2877 * gutter.c (display_boxes_in_gutter_p): new function for
2880 2000-11-22 Andy Piper <andy@xemacs.org>
2882 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2885 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2887 * callproc.c (Fold_call_process_internal):
2888 * gpm.c (Freceive_gpm_event):
2889 (tty_get_foreign_selection): Might be just warning supression.
2890 * fileio.c (Fwrite_region_internal):
2891 (Fset_visited_file_modtime):
2892 * keymap.c (event_matches_key_specifier_p):
2893 Initialize GCPROed variable.
2895 * menubar-x.c (command_builder_find_menu_accelerator):
2896 Initialize before use.
2898 2000-11-23 Andy Piper <andy@xemacs.org>
2900 * unexcw.c (unexec): make the resulting executable executable.
2902 2000-11-21 Martin Buchholz <martin@xemacs.org>
2904 * doc.c (get_doc_string):
2905 Use size_t, not int, for result of XSTRING_LENGTH.
2907 * cmds.c (Fdelete_char):
2908 * cmds.c (Fpoint_at_eol):
2909 * cmds.c (Fself_insert_command):
2910 Use EMACS_INT, not int, for result of XINT.
2911 Someday, someone will want to insert more than 2**31 identical characters.
2913 * cmds.c (Fdelete_char):
2914 * cmds.c (Fdelete_backward_char):
2915 * syntax.c (Fforward_word):
2916 * syntax.c (Fforward_comment):
2917 Make COUNT argument optional, for consistency with forward-char et al.
2919 2000-11-22 Martin Buchholz <martin@xemacs.org>
2922 * print.c (long_to_string):
2923 Return a useful value: the pointer at end of data written.
2926 Use `static const char * const' for constant strings.
2927 (union printf_arg): Delete `i', `ui' members.
2930 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2931 Do all printf-ing via the `l' specifier.
2932 Use EMACS_INT instead of int.
2935 2000-11-20 Didier Verna <didier@xemacs.org>
2937 * faces.c (update_face_cachel_data): don't frob the background
2938 pixmap when the window is being created. The face is needed but
2941 2000-11-20 Andy Piper <andy@xemacs.org>
2943 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
2944 messing with a debug environment.
2946 2000-11-20 Martin Buchholz <martin@xemacs.org>
2948 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
2950 2000-11-20 Martin Buchholz <martin@xemacs.org>
2952 * casetab.c (Fcase_table_p): Fix compile error and crash.
2954 2000-11-18 Philip Aston <philipa@mail.com>
2956 * s/cygwin32.h: Cygwin has SVR4-like pty support.
2958 2000-11-18 Martin Buchholz <martin@xemacs.org>
2960 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
2961 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
2963 2000-11-17 Martin Buchholz <martin@xemacs.org>
2965 * config.h.in: Define HAVE_ELF_H if elf.h exists.
2966 * unexelf.c: Use HAVE_ELF_H.
2967 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
2968 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
2969 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
2970 Greg Harrington <greg_harrington@hotmail.com> provided a machine
2972 So this is an unexelfsgi.c from a different line of development.
2974 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
2976 * regex.c (RE_TR_ASCII): New function.
2977 (RE_TRANSLATE): Call it.
2979 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
2981 * buffer.h (TRT_TABLE_OF): Remove assert.
2982 (IN_TRT_TABLE_DOMAIN): Removed.
2984 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
2986 * free-hook.c (log_gcpro):
2987 (show_gcprohist): Add support for GCPRO5.
2989 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
2991 * emacs.c (main_1): Improve -sd error message when --pdump=no.
2993 2000-11-16 Olivier Galibert <galibert@xemacs.org>
2995 * symeval.h: Declare flush_all_buffer_local_cache.
2997 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
2998 (flush_buffer_local_cache): Added.
2999 (flush_all_buffer_local_cache): Added.
3001 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3003 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3004 (pdump_dump_data): Ditto.
3005 (pdump_reloc_one): Ditto.
3006 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3010 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3012 * buffer.c: Remove if 0'ed entry.
3013 * buffer.h: Rewrite TRT to use char-table.
3014 * bufslots.h: Remove mirror tables.
3015 * casetab.c: Remove mirror tables.
3016 (CASE_TABLE_P): New macro.
3017 (Fcase_table_p): Element of a case table is string or char-table.
3018 (make_mirror_trt_table): Removed.
3019 (set_case_table): Setup char-table from strings for backward
3021 * dired.c (Fdirectory_files):
3022 * dired-msw.c: (mswindows_get_files):
3023 * lisp.h: Change prototype of re_pattern_buffer.
3024 * regex.c: (RE_TRANSLATE): New macro.
3025 (TRANSLATE_P): Ditto.
3026 Change translate to type RE_TRANSLATE_TYPE.
3027 * regex.h: Define RE_TRANSLATE_TYPE
3028 * search.c (TRANSLATE): New macro.
3029 (TRANSLATE_ASCII): New macro.
3030 Translate table is changed to Lisp_Object.
3031 (signal_failure): Inhibit return.
3033 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3040 Do UNGCPRO before return.
3042 2000-11-14 Martin Buchholz <martin@xemacs.org>
3044 * XEmacs 21.2.37 is released.
3046 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3048 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3049 Add comments about discarded return value.
3051 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3054 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3056 2000-10-27 Andy Piper <andy@xemacs.org>
3058 * gutter.c (Fset_default_gutter_position): default left and right
3060 (calculate_gutter_size): calculate resonable heuristic for left
3061 and right gutter sizes.
3062 (specifier_vars_of_gutter): change left and right gutter sizes to
3064 (calculate_gutter_size_from_display_lines): new function.
3065 (output_gutter): check for resizing on left and right gutters.
3066 (clear_gutter): don't special case top and left gutters.
3067 (specifier_vars_of_gutter): use new signature for
3068 set_specifier_caching.
3070 * glyphs-x.c (x_redisplay_widget): spelling fix.
3071 * glyphs.c (specifier_vars_of_glyphs):
3072 * menubar.c (specifier_vars_of_menubar):
3073 * redisplay.c (specifier_vars_of_redisplay):
3074 * toolbar.c (specifier_vars_of_toolbar):
3075 * window.c (specifier_vars_of_window):
3076 * scrollbar.c (specifier_vars_of_scrollbar):
3077 (complex_vars_of_scrollbar): use new signature for
3078 set_specifier_caching.
3080 * specifier.c (set_specifier_caching): include recompute flag.
3081 (recompute_one_cached_specifier_in_window): always recompute if
3083 (recompute_one_cached_specifier_in_frame): ditto.
3085 * specifier.h (struct specifier_caching): add recompute flag.
3087 2000-10-24 Andy Piper <andy@xemacs.org>
3089 * unexcw.c (copy_executable_and_dump_data_section): add new
3090 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3093 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3095 * console-x.h (x_device): New member modifier_release_time.
3096 * event-Xt.c (x_handle_sticky_modifiers):
3097 Bound interval modifier keys are sticky.
3098 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3099 * events.h: extern it.
3101 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3103 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3105 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3107 * event-stream.c (execute_command_event): Preserve current_events
3108 and the like when event is misc-user-event.
3109 Inhibit quit during the call to maybe_echo_keys.
3111 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3113 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3114 symlink when buffer is killed.
3115 (inhibit_clash_detection): New variable.
3117 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3119 * console.c (Fset_input_method): Trigger redisplay on tty.
3121 2000-11-07 Martin Buchholz <martin@xemacs.org>
3123 * process.c (Fprocess_status): Revert to previous behavior:
3124 (process-status "nosuchprocess") ==> nil
3126 2000-11-06 Martin Buchholz <martin@xemacs.org>
3128 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3129 Work around another GCC 2.95.2 optimizer bug.
3131 2000-11-02 Martin Buchholz <martin@xemacs.org>
3133 * process.c (Fget_process): Use LIST_LOOP_2.
3134 (kill_buffer_processes): Use LIST_LOOP_2.
3136 * minibuf.c (Fall_completions):
3137 Delete old non-functional code for FSF fourth argument.
3139 * frame.c (frame_matches_frame_spec):
3140 Renamed from `frame_matches_frametype'. Update all callers.
3141 (device_matches_device_spec):
3142 Renamed from 'device_matches_console_spec'. Update all callers.
3144 * doc.c (Fsubstitute_command_keys):
3145 Remove buffer overflow crash. Small code cleanups.
3147 * casetab.c (check_case_table): Simpler code.
3149 * window.c (Freplace_buffer_in_windows):
3150 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3151 (and similar implementation) as Fdelete_windows_on.
3154 * alloc.c (Fmake_list):
3155 * alloc.c (make_vector):
3156 * alloc.c (Fmake_vector):
3157 * alloc.c (make_bit_vector):
3158 * alloc.c (Fmake_bit_vector):
3159 * alloc.c (Fbit_vector):
3160 * alloc.c (Fmake_string):
3161 * alloc.c (Fpurecopy):
3162 * alloc.c (Fmemory_limit):
3164 * buffer.c (Fget_buffer):
3165 * buffer.c (Fkill_buffer):
3166 * buffer.c (complex_vars_of_buffer):
3167 * bytecode.c (Fcompiled_function_stack_depth):
3168 * callint.c (Fprefix_numeric_value):
3170 * event-stream.c (Fread_key_sequence):
3172 * casetab.c (Fcase_table_p):
3173 * casetab.c (check_case_table):
3174 * casetab.c (Fset_case_table):
3175 * casetab.c (Fset_standard_case_table):
3177 * chartab.c (Fchar_table_type):
3178 * chartab.c (Freset_char_table):
3179 * chartab.c (Fget_char_table):
3180 * chartab.c (Fget_range_char_table):
3181 * chartab.c (Fput_char_table):
3182 * chartab.c (Fmap_char_table):
3183 * chartab.c (Fcategory_table_p):
3184 * chartab.c (Fcheck_category_at):
3185 * chartab.c (Fchar_in_category_p):
3186 * chartab.c (Fcategory_table):
3187 * chartab.c (Fcopy_category_table):
3188 * chartab.c (Fset_category_table):
3189 * chartab.c (Fcategory_designator_p):
3190 * chartab.c (Fcategory_table_value_p):
3191 * cmds.c (Fdelete_char):
3192 * cmds.c (Fdelete_backward_char):
3193 * cmds.c (Fself_insert_command):
3194 * cmds.c (Fself_insert_internal):
3195 * console.c (Fvalid_console_type_p):
3196 * console.c (Fcdfw_console):
3197 * console.c (Fconsole_type):
3198 * console.c (Fconsole_name):
3199 * console.c (Fconsole_device_list):
3200 * console.c (Fconsole_on_window_system_p):
3204 * data.c (Fsubr_interactive):
3205 * data.c (Fchar_to_int):
3206 * data.c (Fint_to_char):
3209 * data.c (Fnumber_to_string):
3210 * data.c (Fstring_to_number):
3212 * database.c (mark_database):
3213 * database.c (finalize_database):
3214 * database.c (Fdatabase_live_p):
3215 * database.c (Fdatabasep):
3216 * device-x.c (Fx_get_resource):
3217 * device.c (Fdfw_device):
3219 * dired.c (Ffile_name_completion):
3220 * dired.c (Ffile_name_all_completions):
3221 * dired.c (Fuser_name_completion):
3222 * dired.c (Fuser_name_completion_1):
3223 * dired.c (Fuser_name_all_completions):
3224 * doc.c (Fdocumentation):
3225 * doc.c (Fdocumentation_property):
3226 * doc.c (Fsubstitute_command_keys):
3228 * editfns.c (Fchar_to_string):
3229 * editfns.c (Fstring_to_char):
3230 * editfns.c (Ftemp_directory):
3231 * editfns.c (Finsert_char):
3232 * editfns.c (Fbuffer_substring_no_properties):
3233 * editfns.c (Fnarrow_to_region):
3234 * editfns.c (Fchar_equal):
3235 * editfns.c (Fchar_Equal):
3236 * editfns.c (Ftranspose_regions):
3237 * emacs.c (Fdump_emacs):
3239 * eval.c (Fcommand_execute):
3240 * eval.c (Fautoload):
3241 * eval.c (Fbacktrace):
3242 * eval.c (Fbacktrace_frame):
3244 * events.c (Fcopy_event):
3245 * events.c (Fcharacter_to_event):
3246 * events.c (Fevent_button):
3247 * events.c (Fevent_process):
3249 * extents.c (Fnext_extent_change):
3250 * extents.c (Fextent_property):
3252 * faces.c (Fmake_face):
3254 * file-coding.c (Fencode_shift_jis_char):
3255 * file-coding.c (Fencode_big5_char):
3256 * fileio.c (Ffile_name_directory):
3257 * fileio.c (Ffile_name_nondirectory):
3258 * fileio.c (Ffile_name_as_directory):
3259 * fileio.c (Fdirectory_file_name):
3260 * fileio.c (Ffile_truename):
3261 * fileio.c (Fsubstitute_in_file_name):
3262 * fileio.c (Ffile_modes):
3263 * fileio.c (Fset_file_modes):
3264 * fileio.c (Fset_default_file_modes):
3265 * fileio.c (Fverify_visited_file_modtime):
3266 * floatfns.c (Facos):
3267 * floatfns.c (Fasin):
3268 * floatfns.c (Fatan):
3269 * floatfns.c (Fcos):
3270 * floatfns.c (Fsin):
3271 * floatfns.c (Ftan):
3272 * floatfns.c (Fbessel_j0):
3273 * floatfns.c (Fbessel_j1):
3274 * floatfns.c (Fbessel_jn):
3275 * floatfns.c (Fbessel_y0):
3276 * floatfns.c (Fbessel_y1):
3277 * floatfns.c (Fbessel_yn):
3278 * floatfns.c (Ferf):
3279 * floatfns.c (Ferfc):
3280 * floatfns.c (Flog_gamma):
3281 * floatfns.c (Fexp):
3282 * floatfns.c (Fexpt):
3283 * floatfns.c (Flog):
3284 * floatfns.c (Flog10):
3285 * floatfns.c (Fsqrt):
3286 * floatfns.c (Fcube_root):
3287 * floatfns.c (Facosh):
3288 * floatfns.c (Fasinh):
3289 * floatfns.c (Fatanh):
3290 * floatfns.c (Fcosh):
3291 * floatfns.c (Fsinh):
3292 * floatfns.c (Ftanh):
3293 * floatfns.c (Fabs):
3294 * floatfns.c (Ffloat):
3295 * floatfns.c (Flogb):
3296 * floatfns.c (Fceiling):
3297 * floatfns.c (Ffloor):
3298 * floatfns.c (Fround):
3299 * floatfns.c (Ftruncate):
3300 * floatfns.c (Ffceiling):
3301 * floatfns.c (Fffloor):
3302 * floatfns.c (Ffround):
3303 * floatfns.c (Fftruncate):
3304 * fns.c (Fstring_equal):
3305 * fns.c (Fstring_lessp):
3310 * fns.c (Fsubstring):
3312 * fns.c (Fold_assoc):
3313 * fns.c (assoc_no_quit):
3315 * fns.c (Fold_assq):
3316 * fns.c (assq_no_quit):
3318 * fns.c (Fold_rassoc):
3320 * fns.c (Fold_rassq):
3321 * fns.c (rassq_no_quit):
3322 * fns.c (Fremassoc):
3323 * fns.c (remassoc_no_quit):
3325 * fns.c (remassq_no_quit):
3326 * fns.c (Fremrassoc):
3327 * fns.c (Fremrassq):
3328 * fns.c (remrassq_no_quit):
3330 * fns.c (Fplist_get):
3331 * fns.c (Fplist_put):
3332 * fns.c (Fplist_remprop):
3333 * fns.c (Fplist_member):
3334 * fns.c (Flax_plist_get):
3335 * fns.c (Flax_plist_put):
3336 * fns.c (Flax_plist_remprop):
3337 * fns.c (Flax_plist_member):
3339 * fns.c (Fold_equal):
3341 * fns.c (Fbase64_encode_region):
3342 * fns.c (Fbase64_encode_string):
3343 * fns.c (Fbase64_decode_region):
3345 * frame.c (frame_matches_frame_spec):
3346 * frame.c (device_matches_device_spec):
3347 * frame.c (next_frame):
3348 * frame.c (previous_frame):
3349 * frame.c (Fnext_frame):
3350 * frame.c (Fprevious_frame):
3351 * frame.c (Fframe_property):
3352 * frame.c (Fset_frame_height):
3353 * frame.c (Fset_frame_size):
3357 * glyphs.c (decode_error_behavior_flag):
3358 * glyphs.c (Fmake_image_instance):
3359 * indent.c (Findent_to):
3360 * intl.c (Fignore_defer_gettext):
3361 * keymap.c (Fkeymapp):
3362 * keymap.c (Flookup_key):
3364 * lread.c (Fload_internal):
3365 * lread.c (Feval_buffer):
3366 * lread.c (Feval_region):
3367 * macros.c (Fexecute_kbd_macro):
3368 * marker.c (set_marker_internal):
3369 * marker.c (Fset_marker):
3370 * marker.c (set_marker_restricted):
3371 * marker.c (Fcopy_marker):
3372 * marker.c (noseeum_copy_marker):
3374 * menubar.c (Fpopup_menu):
3376 * mule-charset.c (Fcharset_name):
3377 * mule-charset.c (Fchar_charset):
3378 * mule-charset.c (Fchar_octet):
3379 * mule-charset.c (Fsplit_char):
3380 * mule-wnnfns.c (Fwnn_open):
3381 * mule-wnnfns.c (Fwnn_dict_comment):
3382 * mule-wnnfns.c (Fwnn_quit_henkan):
3383 * mule-wnnfns.c (Fwnn_word_toroku):
3384 * mule-wnnfns.c (Fwnn_word_sakujo):
3385 * mule-wnnfns.c (Fwnn_word_use):
3386 * mule-wnnfns.c (Fwnn_hindo_set):
3388 * objects.c (Fmake_color_instance):
3389 * objects.c (Fmake_font_instance):
3390 * print.c (Fwrite_char):
3392 * process.c (mark_process):
3393 * process.c (print_process):
3394 * process.c (get_process_from_usid):
3395 * process.c (Fprocessp):
3396 * process.c (Fprocess_live_p):
3397 * process.c (Fget_process):
3398 * process.c (Fget_buffer_process):
3399 * process.c (get_process):
3400 * process.c (Fprocess_id):
3401 * process.c (Fprocess_name):
3402 * process.c (Fprocess_command):
3403 * process.c (init_process_io_handles):
3404 * process.c (start_process_unwind):
3405 * process.c (Fstart_process_internal):
3406 * process.c (Fopen_multicast_group_internal):
3407 * process.c (Fset_process_window_size):
3408 * process.c (read_process_output):
3409 * process.c (send_process):
3410 * process.c (Fprocess_tty_name):
3411 * process.c (Fset_process_buffer):
3412 * process.c (Fprocess_buffer):
3413 * process.c (Fprocess_mark):
3414 * process.c (set_process_filter):
3415 * process.c (Fset_process_filter):
3416 * process.c (Fprocess_filter):
3417 * process.c (Fprocess_send_region):
3418 * process.c (Fprocess_send_string):
3419 * process.c (exec_sentinel):
3420 * process.c (Fset_process_sentinel):
3421 * process.c (Fprocess_sentinel):
3422 * process.c (status_notify):
3423 * process.c (Fprocess_status):
3424 * process.c (Fprocess_exit_status):
3425 * process.c (process_send_signal):
3426 * process.c (Fprocess_send_eof):
3427 * process.c (deactivate_process):
3428 * process.c (remove_process):
3429 * process.c (Fdelete_process):
3430 * process.c (kill_buffer_processes):
3431 * process.c (Fprocess_kill_without_query):
3432 * process.c (Fprocess_kill_without_query_p):
3434 * rangetab.c (Fget_range_table):
3435 * rangetab.c (Fput_range_table):
3436 * rangetab.c (Fremove_range_table):
3437 * rangetab.c (Fclear_range_table):
3439 * search.c (Fskip_chars_forward):
3440 * search.c (Fskip_chars_backward):
3441 * search.c (Fskip_syntax_forward):
3442 * search.c (Fskip_syntax_backward):
3443 * search.c (search_command):
3444 * search.c (Freplace_match):
3445 * search.c (Fregexp_quote):
3446 * select.c (Fown_selection_internal):
3447 * select.c (Fselection_owner_p):
3448 * select.c (Fselection_exists_p):
3449 * select.c (Fget_selection_internal):
3452 * symbols.c (Fintern):
3453 * symbols.c (Fintern_soft):
3454 * symbols.c (Funintern):
3455 * symbols.c (Fapropos_internal):
3456 * symbols.c (Fset_default):
3458 * syntax.c (Fsyntax_table_p):
3459 * syntax.c (Fcopy_syntax_table):
3460 * syntax.c (Fset_syntax_table):
3461 * syntax.c (Fchar_syntax):
3462 * syntax.c (syntax_match):
3463 * syntax.c (Fmatching_paren):
3464 * syntax.c (Fforward_word):
3465 * syntax.c (scan_lists):
3466 * syntax.c (Fscan_lists):
3467 * syntax.c (Fscan_sexps):
3468 * syntax.c (Fparse_partial_sexp):
3469 * toolbar.c (Fcheck_toolbar_button_syntax):
3472 * window.c (Fwindowp):
3473 * window.c (Fwindow_live_p):
3474 * window.c (Fwindow_point):
3475 * window.c (Fdelete_window):
3476 * window.c (Fnext_window):
3477 * window.c (Fprevious_window):
3478 * window.c (Fother_window):
3479 * window.c (window_loop):
3480 * window.c (Fget_lru_window):
3481 * window.c (Fsplit_window):
3482 * window.c (Fenlarge_window):
3483 * window.c (Fenlarge_window_pixels):
3484 * window.c (Fshrink_window):
3485 * window.c (Fshrink_window_pixels):
3486 * window.c (change_window_height):
3487 * window.c (Fwindow_configuration_p):
3488 * window.c (Fcurrent_window_configuration):
3490 * casefiddle.c (casify_object):
3491 * casefiddle.c (Fupcase):
3492 * casefiddle.c (Fdowncase):
3493 * casefiddle.c (Fcapitalize):
3494 * casefiddle.c (Fupcase_initials):
3495 * casefiddle.c (casify_region_internal):
3496 * casefiddle.c (casify_region):
3497 * casefiddle.c (Fupcase_region):
3498 * casefiddle.c (Fdowncase_region):
3499 * casefiddle.c (Fcapitalize_region):
3500 * casefiddle.c (Fupcase_initials_region):
3501 * casefiddle.c (Fupcase_word):
3502 * casefiddle.c (Fdowncase_word):
3503 * casefiddle.c (Fcapitalize_word):
3504 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3505 Replace 0 with '\0' when working with bytes.
3506 Replace initial "(" with "\(" in docstrings.
3508 2000-11-01 Martin Buchholz <martin@xemacs.org>
3510 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3512 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3514 2000-10-31 Martin Buchholz <martin@xemacs.org>
3516 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3518 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3520 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3523 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3525 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3526 (inhibit_auto_save_session): New variable.
3527 (vars_of_fileio): Declare and initialize them.
3528 * fileio.c (Fdo_auto_save): Don't create session file if
3529 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3531 2000-10-31 Martin Buchholz <martin@xemacs.org>
3533 * sgiplay.c (play_internal): C++ compilability.
3534 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3535 * callproc.c (Fold_call_process_internal):
3536 Remove unused vars `env', `first'.
3537 * scrollbar.c (update_scrollbar_instance):
3538 #### unused var `current_window'.
3539 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3540 etc. within #ifdef NOT_YET.
3541 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3542 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3543 * specifier.c (specifier_instance):
3544 #### unused var `tag'.
3545 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3547 2000-10-27 Martin Buchholz <martin@xemacs.org>
3550 * fns.c (list_sort):
3551 * fns.c (Ffillarray):
3552 * fns.c (bytecode_nconc2):
3555 * fns.c (Fmapconcat):
3556 Be pedantically 64-bit correct. For the time when someone will
3557 want to have a list with length > 2**32.
3559 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3560 Work around MIPSpro compiler bug.
3562 * process-unix.c (unix_kill_child_process): Add snarky comment.
3563 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3565 * config.h.in: Oops, _getpt ==> _getpty
3567 2000-10-26 Martin Buchholz <martin@xemacs.org>
3571 Use void*, not char*, as return type of alloca().
3573 * alloc.c (free_marker): Side effect inside assert expression!
3575 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3577 * mule-charset.c (Fset_charset_ccl_program): To check
3578 if the given ccl program is valid, use setup_ccl_program()
3579 instead of CHECK_VECTOR().
3580 (Fmake_charset): Likewise.
3582 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3584 * faces.c (get_extent_fragment_face_cache_index):
3585 Fix cachel.merged_faces memory leak.
3587 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3589 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3590 Reset MSB of octets obtained by DECODE_SJIS
3591 because of the incompatibility with Emacs.
3592 (ccl_driver)<CCL_ENCODE_SJIS>:
3593 Set MSB of octets before passing them to
3594 ENCODE_SJIS because of the incompatibility
3597 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3599 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3600 (DECLARE_LRECORD): Undo the last change.
3601 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3603 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3605 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3606 the implementation to lrecord_implementations_table.
3608 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3610 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3611 initial value of `lrecord_type_##c_name' and
3612 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3613 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3614 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3615 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3616 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3618 2000-10-17 Martin Buchholz <martin@xemacs.org>
3620 * miscplay.c (sndcnv8S_2mono):
3621 (sndcnv2monounsigned):
3622 (sndcnvULaw_2linear):
3624 Remove implementation-defined behavior.
3626 2000-10-12 Martin Buchholz <martin@xemacs.org>
3628 * input-method-xlib.c: Warning suppression.
3630 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3632 * mule-ccl.c: Sync up with Emacs 21.0.90.
3633 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3635 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3637 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3638 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3639 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3640 leading char belongs to official 2-dimensional charset.
3641 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3642 write the given character as is. Otherwise,
3643 if it is a multibyte char, convert it by
3644 non_ascii_set_charptr_emchar, then write it.
3645 (CCL_WRITE_STRING): Likewise.
3646 (ccl_get_compiled_code): New function.
3647 (setup_ccl_program): When ccl_prog is invalid,
3649 (Fregister_code_conversion_map): New function.
3650 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3652 * mule-ccl.h: Sync up with Emacs 21.0.90.
3653 (Fregister_ccl_program): export it.
3655 * redisplay-msw.c (separate_textual_runs):
3656 If ccl program is not valid, don't do ccl conversion.
3658 * redisplay-x.c (separate_textual_runs): Ditto.
3660 * file-coding.c (Fmake_coding_system):
3661 When type is ccl and value is vector, register it
3662 with a proper symbol. And checks whether the
3663 given ccl program is valid.
3664 (mule_decode): When calling ccl_driver, if src indicates
3665 NULL pointer, set an empty string instead.
3666 (mule_encode): Likewise.
3668 2000-10-11 Martin Buchholz <martin@xemacs.org>
3670 The following large batch of changes gets us back to a state of
3671 C++ compilability. Extbyte is now a char, which means that
3672 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3674 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3676 * sound.c (Fplay_sound): Type correctness.
3678 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3679 (x_get_window_property): Type correctness.
3680 (receive_incremental_selection): unsigned char ==> Extbyte
3681 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3682 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3683 (Fx_store_cutbuffer_internal): Type correctness.
3685 * process-unix.c (try_to_initialize_subtty): Type correctness.
3687 * objects-x.c (x_print_color_instance): Type correctness.
3688 (x_print_font_instance): Type correctness.
3689 (x_list_fonts): SExtbyte ==> Extbyte.
3690 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3691 (x_find_charset_font): SExtbyte ==> Extbyte.
3692 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3693 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3694 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3697 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3698 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3699 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3700 (BYTE_C0_P): Use bit ops for char-signedness safety.
3701 (BYTE_C1_P): Use bit ops for char-signedness safety.
3702 (CHARSET_BY_LEADING_BYTE):
3703 (CHARSET_BY_ATTRIBUTES):
3704 Always use inline function.
3705 Use type_checking_assert.
3708 * mule-charset.c (non_ascii_charptr_copy_char):
3709 Modify to work with both ASCII and non-ASCII characters.
3710 Improve docs and variable names.
3711 Replace over-clever fall-through switch with a simple loop.
3712 (Lstream_get_emchar_1):
3713 Replace over-clever fall-through switch with a simple loop.
3715 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3716 Warning suppression.
3718 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3719 the return value of Lstream_getc, which could be EOF as well.
3721 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3723 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3724 APIs can be used on Extbytes without casts. Risky!
3728 * input-method-xlib.c (XIM_init_device):
3729 Use Xlib.h instead of IntrinsicP.h.
3730 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3731 which will break in X11R7.
3732 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3733 to call XRegisterIMInstantiateCallback with correct types.
3735 * gui-x.c (button_item_to_widget_value): Type correctness.
3737 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3739 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3740 (xbm_instantiate_1): Type correctness.
3741 (BUILD_GLYPH_INST): Type correctness.
3743 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3746 (decode_coding_sjis):
3747 (decode_coding_big5):
3748 (decode_coding_ucs4):
3749 (decode_coding_utf8):
3750 (decode_coding_iso2022):
3751 (decode_coding_no_conversion):
3752 Make all decoding functions take an Extbyte * arg.
3753 (encode_coding_sjis):
3754 (encode_coding_big5):
3755 (encode_coding_ucs4):
3756 (encode_coding_utf8):
3757 (encode_coding_iso2022):
3758 (encode_coding_no_conversion):
3759 Make all encoding functions take a Bufbyte * arg.
3760 Use size_t instead of unsigned int for memory sizes.
3761 Only cast to unsigned char whenever dereferencing Extbyte *.
3763 * doc.c (unparesseuxify_doc_string): Type correctness.
3765 * console-x.c (split_up_display_spec):
3766 Rewrite without using details of internal string representation.
3767 (x_semi_canonicalize_device_connection): Type correctness.
3770 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3771 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3772 (HAVE_XFREE386): Removed.
3774 * buffer.h (DEC_CHARPTR): `const' correctness.
3775 (bufbyte_strcmp): New.
3776 (bufbyte_memcmp): New.
3778 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3780 * buffer.h (XCHAR_OR_CHAR_INT):
3781 Always use inline function.
3782 Remove redundant type checking assert() - XINT will abort quite nicely.
3784 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3786 * search.c (Freplace_match): Set newtext to an empty string.
3788 2000-10-10 Martin Buchholz <martin@xemacs.org>
3790 * s/decosf1-3.h: Remove #include of stropts.h
3791 * s/ptx.h: Remove #include of stropts.h
3792 * s/usg5-4.h: Remove #include of stropts.h
3795 Use stropts.h, not sys/stropts.h.
3796 Use strtio.h, not sys/strtio.h.
3798 2000-10-04 Martin Buchholz <martin@xemacs.org>
3800 * XEmacs 21.2.36 is released.
3802 2000-09-21 Andy Piper <andy@xemacs.org>
3804 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3805 changes still involve copying the widget tree.
3806 (update_widget_face): make sure a change is register in the widget
3807 tree. Call update_tab_widget_face appropriately.
3808 (update_tab_widget_face): ditto.
3809 (x_tab_control_redisplay): make sure non-structural changes still
3810 involve copying the widget tree.
3812 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3814 * lread.c (locate_file): Check the path element is non-nil.
3816 2000-10-02 Martin Buchholz <martin@xemacs.org>
3818 * lisp.h: Warning suppression for SCO compilers.
3820 * redisplay-tty.c (reset_tty_modes): Fix crash.
3821 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3823 2000-09-27 Martin Buchholz <martin@xemacs.org>
3825 Big signal/process handling overhaul. Bugs fixed:
3826 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3827 M-x comint-kill-subjob should work for both values nil and t of
3828 process-connection-type. It was broken on most platforms.
3829 Testing on Irix and Cygwin still needed. Other plaforms tested.
3830 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3831 * process-unix.c: Signal/Process handling overhaul.
3832 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3833 (allocate_pty): Use all available modern methods of allocating
3834 ptys, falling back to old style BSD allocation as a last resort.
3835 Use allegedly more secure Unix98 pty allocation by default.
3836 (allocate_pty_the_old_fashioned_way): New. the last resort.
3837 (unix_create_process): Push ptem, ldterm, ttcompat where
3838 available. Autoconfiscate.
3839 (try_to_initialize_subtty): New.
3840 (unix_kill_child_process): Proper signal handling for ptys on most
3841 platforms, using special knowledge of AIX, BSD, etc...
3842 (unix_create_process): Always disconnect_controlling_terminal() for
3843 subprocesses, whether using ptys or not.
3844 * process.h: Remove old getpt-dependent PTY code.
3845 * process.c (Fprocess_send_signal): New, obvious generic function.
3846 (decode_signal): New.
3847 (Finterrupt_process):
3851 (Fcontinue_process):
3852 (Fsignal_process): Use decode_signal.
3853 (process_send_signal):
3854 Many docstring corrections.
3855 Allow any signal to be sent to a process object.
3856 * config.h.in: Add symbols for big signal/process overhaul.
3857 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3858 * sysproc.h: Include process-related headers, where available:
3859 sys/stropts.h sys/strtio.h pty.h libutil.h
3867 Remove old S&M pty stuff.
3868 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3869 * systty.h: Simplify cpp hackery, improve comments.
3870 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3872 * editfns.c (Fformat_time_string):
3873 Be a little more paranoid with the return value of ctime.
3875 * fileio.c (check_executable):
3877 Use symbolic constants X_OK, W_OK.
3879 * console-x.c (split_up_display_spec): Fix a warning.
3881 2000-10-02 Martin Buchholz <martin@xemacs.org>
3883 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3884 * ntproc.c (sys_spawnve): make_string ==> build_string
3885 Small clarity improvements.
3887 2000-09-30 Martin Buchholz <martin@xemacs.org>
3889 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3891 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3893 * config.h.in (HAVE_STRCASECMP): Remove.
3895 2000-09-29 Martin Buchholz <martin@xemacs.org>
3897 * redisplay-output.c (redisplay_output_pixmap):
3898 Cleaner and possibly more 64-bit correct code.
3900 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3902 * dumper.c (pdump_load_finish): move restoration of
3903 `noninteractive1' to emacs.c (main_1).
3904 * emacs.c (main_1): protect LISP-visible command-line flags
3907 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3909 * Makefile.in.in (versionclean): Use EXE_TARGET and
3910 DUMP_TARGET instead of literal program names.
3912 2000-09-20 Martin Buchholz <martin@xemacs.org>
3914 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3916 2000-09-19 Martin Buchholz <martin@xemacs.org>
3918 * *: Spelling mega-patch
3920 2000-09-19 Martin Buchholz <martin@xemacs.org>
3922 * fns.c (bad_bad_turtle):
3923 Delete "Eek!" comment, since we fixed the bug to which it refers.
3925 2000-09-16 Martin Buchholz <martin@xemacs.org>
3927 * alloca.c: Replace REGISTER with register.
3929 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3931 * file-coding.c (ucs_to_char): Use countof.
3933 2000-09-16 Martin Buchholz <martin@xemacs.org>
3935 * file-coding.c: (ucs_to_char):
3936 (complex_vars_of_file_coding):
3937 Use countof instead of sizeof.
3938 Use CHECK_NATNUM instead of CHECK_INT.
3940 * sysdep.c (strcasecmp): Remove.
3941 * device-x.c (ascii_strcasecmp): New.
3942 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
3943 Avoid using non-standard non-portable strcasecmp.
3945 2000-09-16 Martin Buchholz <martin@xemacs.org>
3947 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
3948 * font-lock.c: remove reference to emacsfns.h.
3949 * search.c: small doc improvement.
3950 * event-Xt.c: correct file names in comments.
3951 * console-x.h Correct file names in comments.
3952 * frame.c: Correct file names in comments.
3953 * event-stream.c: remove Energize from comments.
3955 2000-09-15 Martin Buchholz <martin@xemacs.org>
3957 * symeval.h (DEFERROR_STANDARD):
3960 (DEFSYMBOL_NO_DUMP):
3961 (DEFSYMBOL_MULTIWORD_PREDICATE):
3962 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
3964 The construct &##name is not sensible C.
3965 Fixes compilation errors with Unixware native compiler.
3967 2000-09-14 Martin Buchholz <martin@xemacs.org>
3969 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
3970 (next_frame_internal): Removed. We now just have next_frame.
3972 Write a simpler and cleaner one-pass algorithm.
3973 Remove called_from_delete_device arg and #ifdefed-out code.
3975 Renamed from prev_frame. Update callers.
3976 Cleaned up to have an analogous implementation to next_frame.
3977 (other_visible_frames_internal): Remove the
3978 called_from_delete_device bogus arg, and hence, remove this
3979 function. Just use other_visible_frames().
3981 * window.c (Fnext_window):
3983 Since next_frame() is guaranteed to return a frame, remove check
3984 for nil inserted in previous patch.
3987 Make code look more like Fnext_window.
3989 Respect the `console' arg when iterating through windows.
3990 Fixes bug: (get-buffer-window buffer t device) not respecting
3992 This function needs more work, as others have pointed out.
3994 * frame.h: Rename prev_frame to previous_frame.
3995 device_matches_console_spec no longer takes a `frame' arg.
4000 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4001 From "Golubev I. N." <gin@mo.msk.ru>.
4003 * make-src-depend: Fix typo.
4005 2000-09-13 Martin Buchholz <martin@xemacs.org>
4007 * window.c (Fnext_window):
4008 next_frame() might return nil, not a frame.
4010 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4012 * frame.c (next_frame_internal):
4013 We've passed a frame if we've passed its device.
4015 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4016 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4018 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4020 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4021 Allow option to suppress accelerators in menu/dialog items.
4022 (populate_or_checksum_helper): Pass dialog title through above.
4024 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4026 * event-msw.c (mswindows_key_to_emacs_keysym):
4027 Add "pause" key, fix "menu" key.
4029 2000-09-09 Martin Buchholz <martin@xemacs.org>
4031 * eval.c (reinit_vars_of_eval):
4032 Increase max_lisp_eval_depth to 1000,
4033 required for thai-xtis.el to byte-compile under some circumstances.
4035 2000-09-04 Martin Buchholz <martin@xemacs.org>
4037 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4040 2000-09-01 Martin Buchholz <martin@xemacs.org>
4042 * make-src-depend: Make the generated Makefiles smaller.
4044 * s/hpux.h (SETUP_SLAVE_PTY):
4045 Provide a %d in the format string for the errno argument.
4047 * editfns.c (Ftemp_directory):
4049 Avoid buffer overrun on very long file name.
4051 * input-method-xlib.c (XIM_init_device):
4052 6th parameter of XRegisterIMInstantiateCallback has different
4053 pointer types on different OSes, so simply cast to (void *).
4055 * unexhp9k800.c: Warning fixes. Fiddly changes.
4057 * sysdll.c (dll_open):
4058 shl_load will hang hard if passed a NULL filename.
4059 Simply return NULL for compatibility with dlopen.
4060 * sysdll.c: Conform to XEmacs coding standards.
4062 * sysdep.c (get_pty_max_bytes):
4063 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4065 2000-08-31 Martin Buchholz <martin@xemacs.org>
4067 * tooltalk.c: Add #include <syssignal.h>
4069 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4071 * s/hpux.h: Don't use undefined function sigunblock().
4073 2000-08-31 Martin Buchholz <martin@xemacs.org>
4075 * config.h.in: Add HAVE_BALLOON_HELP.
4076 * emacs.c: Use HAVE_BALLOON_HELP.
4077 * Makefile.in.in (x_objs):
4078 Make Balloon Help conditional on finding shape.h.
4080 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4082 * syntax.c (regex_emacs_buffer_p): New variable.
4083 * syntax.h (regex_emacs_buffer_p): extern.
4084 * search.c (looking_at_1):
4086 (fast_string_match):
4087 (search_buffer): Set regex_emacs_buffer_p.
4088 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4089 when before_dot, at_dot, after_dot.
4091 2000-08-23 Andy Piper <andy@xemacs.org>
4093 * gui-x.c (popup_selection_callback): Only set action_occurred
4094 when we really have an image instance.
4095 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4097 2000-08-23 Andy Piper <andy@xemacs.org>
4099 * gui-msw.c (mswindows_handle_gui_wm_command): set
4101 * gui-x.c (popup_selection_callback): ditto.
4103 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4104 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4105 (struct Lisp_Image_Instance): add action_occurred flag.
4107 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4108 (image_instance_changed): ditto.
4109 (reset_frame_subwindow_instance_cache): only unmap windows - do
4110 not remove them from the cache also.
4112 * glyphs-widget.c (tab_control_update): better debug.
4113 (progress_gauge_update): ditto.
4114 (layout_update): ditto.
4115 (layout_instantiate): ditto.
4116 (tab_control_order_only_changed): cope with null pending items.
4118 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4119 debug. Force selection of an item when an action occurred. Cope
4120 with null pending_items.
4121 (mswindows_progress_gauge_redisplay): better debug.
4122 * glyphs-x.c (x_tab_control_redisplay): ditto.
4124 * redisplay.c (redisplay_frame): reset the frame cache if the
4127 * window.c (Fset_window_configuration): potentially re-enable
4129 (window_unmap_subwindows): need to finalize instances here since
4130 it is only used in mark_window_as_deleted.
4132 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4134 * nas.c (SndOpenDataForReading):
4135 nas.c (WaveOpenDataForReading):
4136 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4137 Somehow escaped from the 2000-08-14 patch.
4139 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4141 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4142 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4144 2000-08-21 Andy Piper <andy@xemacs.org>
4146 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4147 window if it is not already displayed.
4149 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4150 it is not already displayed.
4152 * window.c (Fset_window_configuration): don't reset the frame
4155 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4156 instances from the frame cache if we are actually finalizing them.
4157 (reset_frame_subwindow_instance_cache): reset frame cache only
4158 after unmapping everything.
4159 (map_subwindow): set displayed flag after mapping.
4161 2000-08-21 Martin Buchholz <martin@xemacs.org>
4163 * data.c (indirect_function):
4164 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4166 * eval.c (function_argcount):
4167 Use original function when signaling errors.
4169 2000-08-18 Andy Piper <andy@xemacs.org>
4171 * frame.c (delete_frame_internal): use new
4172 free_frame_subwindow_instances name.
4174 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4175 (add_tab_item): make return type correct.
4176 (mswindows_tab_control_instantiate): assert index of tab.
4177 (mswindows_tab_control_redisplay): Re-code to use
4178 gui_item_equal_sans_selected and gui_item_list_find_selected.
4180 * glyphs-widget.c (tab_control_update): Correct comment.
4182 * window.c (window_unmap_subwindows): use new
4183 unmap_subwindow_instance_cache_mapper.
4184 (window_unmap_subwindows_cache_mapper): deleted.
4185 (Fset_window_configuration): comparisons should now be with
4186 EQ. Preserve the subwindow instance cache across configuration
4188 (allocate_window): ditto.
4189 (make_dummy_parent): ditto.
4191 * glyphs.c (free_frame_subwindow_instances): rename from
4192 free_frame_subwindow_instance_cache. finalize all instances rather
4193 than just those in the display cache.
4194 (finalize_all_subwindow_instances): walk windows unmapping and
4195 finalizing subwindows.
4196 (unmap_subwindow_instance_cache_mapper): moved from
4197 window.c. Allow finalization as well as unmapping.
4199 * gui.c (gui_item_list_find_selected): new function.
4201 * gui.h (gui_item_list_find_selected): declare.
4203 * glyphs-x.c (x_tab_control_redisplay): pick tab
4204 explicitly. Re-code to use gui_item_equal_sans_selected and
4205 gui_item_list_find_selected.
4207 * glyphs-x.h: add lwlib-utils.h
4209 * buffer.c (Frecord_buffer): undo previous change.
4211 2000-08-09 Vin Shelton <acs@xemacs.org>
4213 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4214 possible. Create temporary files more securely. The patch was
4215 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4216 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4217 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4220 2000-08-07 Ben Wing <ben@xemacs.org>
4222 * getloadavg.c: remove duplicate (and windows-breaking)
4223 includes of fcntl.h and sys/file.h.
4225 * nt.c: remove duplicate getloadavg() definition.
4227 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4230 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4232 * eval.c (function_argcount): If function needs to be autoloaded
4233 actually use the loaded definition.
4236 2000-08-05 Ben Wing <ben@xemacs.org>
4238 * getloadavg.c: add prototype for getloadavg(). remove
4239 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4240 of the code). remove duplicate header includes.
4242 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4244 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4245 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4246 useful load average.
4248 * alloc.c (reinit_alloc_once_early): removed references to
4249 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4250 the lisp vars are the only things referencing the malloc_sbrk_*
4251 vars, and they were already if 0'd out. these vars only exist
4252 in the older malloc.c, which is basically unused, and they're
4253 only for informational purposes.
4255 * m\*.h: removed useless VIRT_ADDR_VARIES.
4257 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4259 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4261 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4262 color if the image is a mono pixmap.
4264 2000-07-30 Ben Wing <ben@xemacs.org>
4266 * Makefile.in.in (release):
4269 * buffer.c (directory_is_current_directory):
4270 * dired-msw.c (mswindows_get_files):
4272 * dired.c (Fdirectory_files):
4273 * dired.c (file_name_completion_stat):
4274 * dired.c (Ffile_attributes):
4275 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4276 preprocessor tricks, to avoid problems on some machines
4279 * callproc.c (egetenv): GC docs.
4282 * console-msw.h (struct mswindows_dialog_id):
4283 * lrecord.h (lrecord_type):
4284 New object for use with MSW dialogs.
4286 * console.h (struct console_methods):
4287 New enable/disable frame methods, for proper modal dialogs.
4289 * device-msw.c (msprinter_default_printer): Fix to follow
4290 proper Mule conventions.
4293 * device-msw.c (signal_open_printer_error):
4294 * device-msw.c (msprinter_init_device):
4295 * device-msw.c (ensure_not_printing):
4296 * device-msw.c (plist_get_margin):
4297 * device-msw.c (Fmsprinter_select_settings):
4298 * device-msw.c (finalize_devmode):
4299 * device-msw.c (Fmsprinter_settings_despecialize):
4300 * device-msw.c (signal_enum_priner_error):
4301 * extents.c (decode_extent):
4302 * extents.c (decode_map_extents_flags):
4303 * extents.c (decode_extent_at_flag):
4304 * extents.c (Fextent_at):
4305 * extents.c (Fextents_at):
4306 * extents.c (symbol_to_glyph_layout):
4307 [[[[2]]]] Use structured errors.
4310 * dialog-msw.c (mswindows_is_dialog_msg):
4311 * dialog-msw.c (mark_mswindows_dialog_id):
4312 * dialog-msw.c (dialog_proc):
4313 * dialog-msw.c (handle_question_dialog_box):
4314 * dialog-msw.c (syms_of_dialog_mswindows):
4315 Define new object to clean up marking; use it as a dialog identifier.
4316 Call new delete-dialog-box-hook.
4318 * dialog-x.c (dbox_selection_callback):
4319 * dialog-x.c (dbox_descriptor_to_widget_value):
4320 * dialog-x.c (x_make_dialog_box_internal):
4321 Call new delete-dialog-box-hook.
4325 * dialog.c (syms_of_dialog):
4326 * dialog.c (vars_of_dialog):
4327 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4330 * eval.c (signal_call_debugger):
4331 when noninteractive, output stack traces on the console instead
4332 of in a (never-seen) buffer.
4334 * eval.c (signal_type_error):
4335 * eval.c (invalid_argument_2):
4337 new funs for use w/structured errors.
4340 * event-Xt.c (x_to_emacs_keysym):
4341 * event-Xt.c (describe_event):
4342 * event-Xt.c (emacs_Xt_event_handler):
4343 * event-Xt.c (vars_of_event_Xt):
4345 * event-msw.c (mswindows_wnd_proc):
4346 * event-msw.c (vars_of_event_mswindows):
4347 rename {x,mswindows}-debug-events to debug-{}-events for
4348 consistency with other debug-foo variables.
4351 document next-event more clearly.
4353 * fileio.c (Ffile_name_directory):
4354 * fileio.c (Ffile_name_nondirectory):
4355 * fileio.c (Funhandled_file_name_directory):
4356 * fileio.c (file_name_as_directory):
4357 * fileio.c (Ffile_name_as_directory):
4358 * fileio.c (directory_file_name):
4359 * fileio.c (Fdirectory_file_name):
4360 * fileio.c (Fmake_temp_name):
4361 * fileio.c (Ffile_truename):
4362 * fileio.c (Fsubstitute_in_file_name):
4363 * fileio.c (expand_and_dir_to_file):
4364 * fileio.c (barf_or_query_if_file_exists):
4365 * fileio.c (check_executable):
4366 * fileio.c (Ffile_exists_p):
4367 * fileio.c (Ffile_writable_p):
4368 * fileio.c (Ffile_directory_p):
4369 * fileio.c (Ffile_regular_p):
4370 * fileio.c (Ffile_modes):
4371 * fileio.c (Ffile_newer_than_file_p):
4372 * fileio.c (Fverify_visited_file_modtime):
4373 * fileio.c (Fset_visited_file_modtime):
4374 * fileio.c (auto_save_1):
4379 * frame-msw.c (mswindows_init_frame_1):
4380 * frame-msw.c (mswindows_enable_frame):
4381 * frame-msw.c (error_frame_unsizable):
4382 * frame-msw.c (msprinter_init_frame_1):
4383 * frame-msw.c (msprinter_init_frame_3):
4384 * frame-msw.c (console_type_create_frame_mswindows):
4386 implement new enable/disable frame methods.
4389 * frame-x.c (x_enable_frame):
4390 * frame-x.c (console_type_create_frame_x):
4391 implement new enable/disable frame methods.
4394 * frame.c (Fdisable_frame):
4395 * frame.c (syms_of_frame):
4396 * frame.h (struct frame):
4397 implement new enable/disable frame methods/functions.
4402 * glyphs-msw.c (mswindows_widget_instantiate):
4403 comment that initial-focus should be implemented.
4406 * glyphs-widget.c (check_valid_instantiator):
4407 * glyphs-widget.c (check_valid_orientation):
4408 * glyphs-widget.c (check_valid_tab_orientation):
4409 * glyphs-widget.c (check_valid_justification):
4410 * glyphs-widget.c (check_valid_border):
4411 * glyphs-widget.c (check_valid_callback):
4412 * glyphs-widget.c (check_valid_int_or_function):
4413 * glyphs-widget.c (check_valid_string_or_vector):
4414 * glyphs-widget.c (check_valid_item_list_1):
4415 * glyphs-widget.c (widget_validate):
4416 * glyphs-widget.c (combo_box_validate):
4417 * glyphs-widget.c (widget_instantiate):
4418 * glyphs-widget.c (syms_of_glyphs_widget):
4419 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4420 * glyphs-widget.c (image_instantiator_combo_box):
4421 * glyphs-widget.c (image_instantiator_scrollbar):
4422 * glyphs-widget.c (image_instantiator_tab_control):
4423 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4425 support (unimplemented) keyword initial-focus.
4426 reindent long macros.
4428 * glyphs-x.c (x_redisplay_widget):
4429 * glyphs-x.c (x_button_instantiate):
4430 * glyphs-x.c (x_button_redisplay):
4431 * glyphs-x.c (x_progress_gauge_instantiate):
4432 * glyphs-x.c (x_edit_field_instantiate):
4433 * glyphs-x.c (x_combo_box_instantiate):
4434 * glyphs-x.c (x_tab_control_instantiate):
4435 * glyphs-x.c (x_label_instantiate):
4437 * gui-x.c (button_item_to_widget_value):
4438 * gui-x.c (gui_items_to_widget_values_1):
4439 * gui-x.c (gui_item_children_to_widget_values):
4440 * gui-x.c (gui_items_to_widget_values):
4442 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4443 add new flag to gui-parsing routines to indicate whether
4444 accelerator specs should be supported.
4446 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4448 * glyphs.h (struct Lisp_Image_Instance):
4449 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4450 add initial-focus flag.
4453 * gui.c (syms_of_gui):
4454 * gui.c (vars_of_gui):
4455 clean up menu-no-selection-hook.
4458 support delete-dialog-box-hook.
4460 * lread.c (Fload_internal):
4461 * lread.c (locate_file_in_directory_mapper):
4465 * lrecord.h (struct toolbar_button):
4466 * lrecord.h (syms_of_toolbar):
4467 document how to create a new object.
4469 * menubar-msw.c (mswindows_char_is_accelerator):
4470 may be called on frames w/o menus.
4472 * menubar.c (vars_of_menubar):
4473 clean up :filter docs.
4480 * process-nt.c (validate_signal_number):
4481 * process-nt.c (signal_cannot_launch):
4482 * process-nt.c (nt_create_process):
4483 * process-nt.c (nt_send_process):
4484 * process-nt.c (nt_kill_child_process):
4485 * process-nt.c (nt_open_network_stream):
4486 * process-nt.c (syms_of_process_nt):
4488 delete quote-handling. call new lisp code that does it better.
4490 * process-unix.c (connect_to_file_descriptor):
4491 * process-unix.c (allocate_pty):
4492 * process-unix.c (unix_send_process):
4493 * process-unix.c (unix_kill_child_process):
4494 * process-unix.c (unix_open_network_stream):
4495 * process-unix.c (unix_open_multicast_group):
4499 * process.c (Fstart_process_internal):
4500 (2). need to canonicalize process path even if absolute.
4502 * select-msw.c (symbol_to_ms_cf):
4503 * select-msw.c (ms_cf_to_symbol):
4504 * select-msw.c (cf_is_autofreed):
4505 * select-msw.c (mswindows_destroy_selection):
4507 * select.c (syms_of_select):
4509 support dibv5, fix bugs. (from Mike Alexander)
4511 * select.c (Fget_selection_internal):
4512 * select.c (select_convert_out):
4515 * sysdep.c (xemacs_stat):
4520 but keep original stat() here because we provide encapsulation
4524 * sysfile.h (fstat):
4525 remove stat garbage.
4529 don't include tchar.h. it's inappropriate because it makes
4530 compile-time distinctions when we want runtime distinctions.
4531 (we provide our own tchar replacements)
4534 use default object printer for toolbar-button.
4537 make sure we don't encapsulate.
4539 * window.c (vars_of_window):
4540 emphasize that temp-buffer-show-hook is obsolete.
4542 2000-08-05 Martin Buchholz <martin@xemacs.org>
4544 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4545 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4547 * events.c (Fevent_timestamp_lessp):
4548 Not 64-bit clean. Use EMACS_INT, not int.
4550 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4552 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4553 unsigned int and changed the last enum to
4554 lrecord_type_last_built_in_type.
4555 (lrecord_implementations_table): changed prototype to know how
4556 long the array is supposed to be.
4557 (lrecord_type_count): new unsigned int to keep track of the
4558 current number of lisp lrecord types.
4559 (DEFINE_EXTERNAL_LRECORD):
4560 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4561 dynamic-modules to declare new lisp types. They are the same
4562 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4563 int for each new type, and increment lrecord_type_count by 1.
4565 * alloc.c (lrecord_implementations_table): Changed to reference
4566 lrecord_type_last_built_in_type for the size of the array.
4567 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4569 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4571 * glyphs.h (check_valid_item_list): Renamed from
4572 check_valid_item_list_1.
4574 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4576 * select.c (Qselect_coerce): New.
4577 * select.c (Vselection_coercion_alist): New.
4578 * select.c (syms_of_select): Declare.
4579 * select.c (get-selection-internal): Use it.
4580 Use the new select-coerce functionality.
4582 * select.c (select_coerce): New.
4583 * select.h (select_coerce): Declare.
4584 New function to coerce one type of data into another.
4586 2000-08-03 Martin Buchholz <martin@xemacs.org>
4588 * callproc.c (Fcall_process_internal):
4589 (Fcall_process_internal):
4590 * process-unix.c (unix_create_process):
4591 Save and restore the value of errno, so that error messages are accurate.
4593 2000-08-01 Martin Buchholz <martin@xemacs.org>
4595 * elhash.c (print_hash_table):
4596 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4597 Prettify docstrings and indentation.
4599 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4601 * window.c (Fwindow_pixel_edges): Subtract frame border and
4604 2000-07-31 Andy Piper <andy@xemacs.org>
4606 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4607 will acknowledge the change.
4609 * glyphs.h: declare tab_control_order_only_changed.
4611 * glyphs-x.c (x_tab_control_redisplay): use
4612 tab_control_order_only_changed.
4614 * glyphs-widget.c (tab_control_order_only_changed): new function.
4616 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4617 tab_control_order_only_changed.
4619 * gui.c (gui_item_equal_sans_selected): new function.
4620 (gui_item_equal): use it.
4622 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4623 :properties in favor of :items..
4625 * glyphs-widget.c (check_valid_item_list): rename from
4626 check_valid_item_list_1.
4627 (check_valid_item_list_1): renamed.
4628 (combo_box_validate): deprecate :properties in favor of :items.
4629 (widget_instantiate): ditto.
4630 (tab_control_update): ditto.
4631 (image_instantiator_combo_box): ditto.
4632 (image_instantiator_tree_view): ditto.
4633 (image_instantiator_tab_control): ditto.
4634 (layout_post_instantiate): remove dead code.
4636 * print.c (debug_print_no_newline): only write to debugger if in
4639 * elhash.c (Fmake_hash_table): update doc string.
4641 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4642 messages whilst in GC. This at least stops XEmacs crashing but has
4643 the potential for wierd behaviour.
4645 2000-07-31 Martin Buchholz <martin@xemacs.org>
4648 Make existence of s&m files optional.
4650 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4651 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4652 * s/gnu.h: Remove HAVE_GETLOADAVG.
4653 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4654 * s/sol2.h: Remove HAVE_GETLOADAVG.
4655 * lisp.h: Remove getloadavg() declaration.
4657 Include <sys/loadavg.h> if available.
4658 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4659 * config.h.in: Group together getloadavg()-related macros.
4660 Use only configure-time tests to detect getloadavg().
4662 2000-07-30 Martin Buchholz <martin@xemacs.org>
4664 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4666 2000-07-25 Andy Piper <andy@xemacs.org>
4668 * syswindows.h: add tchar.h for native builds.
4670 * frame.c (syms_of_frame): remove set-glyph-image.
4672 * general-slots.h: add Qset_glyph_image.
4674 * glyphs-widget.c (layout_update): add domain arg to
4676 (syms_of_glyphs_widget): remove set-glyph-image.
4678 2000-07-23 Ben Wing <ben@xemacs.org>
4680 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4683 2000-07-22 Andy Piper <andy@xemacs.org>
4685 * symsinit.h: add syms_of_win32().
4687 * gui-msw.c (syms_of_gui_mswindows): remove
4688 Fmswindows_shell_execute.
4689 (Fmswindows_shell_execute): moved to win32.c.
4691 * emacs.c (main_1): add syms_of_win32 ().
4693 * win32.c (init_potentially_nonexistent_functions): rewrite in
4694 compiler-friendly terms.
4695 (Fmswindows_shell_execute): move here from gui-msw.c.
4696 (syms_of_win32): new.
4698 * device-msw.c (Fmswindows_printer_list): clean up args to
4700 Don't include tchar under cygwin or mingw.
4701 (msprinter_default_printer): make cygwin-friendly.
4703 2000-07-21 Andy Piper <andy@xemacs.org>
4705 * glyphs-widget.c (image_instantiator_tree_view): use tab
4706 control's update function.
4707 (layout_property): new function. Retrieve items.
4709 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4710 function. Re-populate the tree view from the pending items.
4712 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4713 is designated the parent if the domain is an image instance. This
4714 is needed so that dirtiness can be cascade up the hierarchy and
4715 thus for layout children to be redisplayed correctly.
4716 (allocate_image_instance): rename glyph -> parent.
4718 * redisplay.h: change redisplay_output_layout signature.
4720 * redisplay-msw.c (mswindows_output_display_block): use domain
4723 * redisplay-x.c (x_output_display_block): use domain arg.
4725 2000-07-10 Andy Piper <andy@xemacs.org>
4727 * window.c (Fset_window_configuration): add comment.
4729 * redisplay-output.c (compare_runes):
4730 (redisplay_output_subwindow): redisplay rather than update subwindow.
4731 (redisplay_output_layout): ditto.
4733 * redisplay-msw.c (mswindows_frame_output_end):
4734 (mswindows_frame_output_end): make defer window pos optional.
4736 * lisp.h: add Flast.
4738 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4739 normalize method. Change update method to be for changed
4740 instantiators. Add redisplay method. Change signature of layout
4742 (struct Lisp_Image_Instance): add instantiator.
4743 (IMAGE_INSTANCE_INSTANTIATOR): new.
4744 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4745 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4746 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4749 (find_instantiator_differences): new function.
4750 (Fset_instantiator_property): new convenience function.
4751 (check_image_instance_structure): strictly check for vector
4753 (normalize_image_instantiator): make non-static.
4754 (instantiate_image_instantiator): pass on dest_mask and use new
4755 signatures for image_instance_layout and friends.
4756 (mark_image_instance): mark the instantiator. Mark the subwindow
4757 face not the widget face.
4758 (image_instance_equal): add instantiator.
4759 (image_instance_hash): ditto.
4760 (allocate_image_instance): ditto.
4761 (Fset_image_instance_property): removed.
4762 (Fimage_instance_file_name): ditto.
4763 (Fcolorize_image_instance): ditto.
4764 (image_instance_layout): add offsets to be set.
4765 (update_image_instance): new function. update an image instance
4766 from its changed instantiator.
4767 (inherit_normalize): add dest_mask.
4768 (xbm_normalize): ditto.
4769 (xface_normalize): ditto.
4770 (xpm_normalize): ditto.
4771 (text_update): set_property -> update.
4772 (image_instantiate): use the glyph identity as a hash key, not the
4774 (glyph_width): use new image_instance_layout signature.
4775 (glyph_ascent): ditto.
4776 (glyph_descent): ditto.
4777 (glyph_height): ditto.
4778 (glyph_query_geometry): ressurrect.
4779 (glyph_layout): ditto.
4780 (redisplay_subwindow): update -> redisplay.
4781 (syms_of_glyphs): add Fset_instantiator_property.
4782 (image_instantiator_format_create): set_property -> update.
4785 (autodetect_normalize): add dest_maks to signature.
4786 (x_redisplay_subwindow): update -> redisplay.
4787 (x_redisplay_widget): ditto.
4788 (x_button_redisplay): ditto.
4789 (x_progress_gauge_redisplay): ditto.
4790 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4792 (console_type_create_glyphs_x): update -> redisplay.
4793 (image_instantiator_format_create_glyphs_x): ditto.
4796 (check_valid_instantiator): disallow glyphs in the instantiator,
4797 they must now be vectors.
4798 (check_valid_instantiator_list): ditto.
4799 (glyph_instantiator_to_glyph): use internal symbol rather than
4801 (widget_update): renamed from widget_set_property. Call cascaded
4803 (redisplay_widget): renamed from update_widget.
4804 (widget_layout): image_instance_layout now takes position as well
4806 (widget_normalize): ditto.
4807 (widget_instantiate): ditto.
4808 (tab_control_query_geometry) ditto.:
4809 (tab_control_update): renamed from tab_control_set_property.
4810 (progress_gauge_update): set_property -> update.
4811 (layout_normalize): rewrite so that child instantiators are
4813 (layout_update): new function. Create glyphs from the normalized
4814 children and cope with any other layout keywords. We do not
4815 instantiate children here that will be take care of by
4816 redisplay_output_layout.
4817 (layout_instantiate): call layout_update and not much else.
4818 (layout_post_instantiate): not sure whether this is needed
4820 (layout_query_geometry): query glyph geometry rather than
4821 image_instance geometry.
4822 (layout_layout): set offsets from pass in parameters. Use glyph
4823 geometry and layout functions rather than image instance ones.
4824 (native_layout_layout): ditto.
4825 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4826 (image_instantiator_widget): set_property -> update.
4827 (image_instantiator_buttons): ditto.
4828 (image_instantiator_progress_guage): ditto.
4829 (image_instantiator_tab_control): ditto.
4830 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4831 (image_instantiator_layout): add update method.
4833 * glyphs-msw.c (bmp_normalize):
4834 (mswindows_resource_normalize): add dest_mask so that it can be
4835 proprogated by layout_normalize.
4836 (begin_defer_window_pos): make optional because it may not be the
4837 right thing to do and it introduces differences with X.
4838 (mswindows_unmap_subwindow): ditto.
4839 (mswindows_map_subwindow): ditto.
4840 (mswindows_redisplay_subwindow): renamed from
4841 mswindows_update_subwindow.
4842 (mswindows_redisplay_widget): ditto.
4843 (mswindows_button_redisplay): renamed from
4844 mswindows_button_update. Update is now what the instantiation
4845 function does for a changed instantiator.
4846 (mswindows_progress_gauge_instantiate): set the progress value
4847 here if appropriate.
4848 (mswindows_tab_control_redisplay): cope with re-ordering of the
4849 members of the tab widget by simply selecting the new top
4850 widget. This makes things appear ok if you click on a tab.
4851 (mswindows_combo_box_instantiate): image_instance_layout now takes
4852 position as well as size.
4853 (mswindows_progress_gauge_redisplay): renamed from
4854 mswindows_progress_gauge_update.
4855 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4856 (image_instantiator_format_create_glyphs_mswindows): ditto.
4858 * glyphs-eimage.c (jpeg_normalize):
4861 (tiff_normalize): add dest_mask so that it can be proprogated by
4866 (hash_table_weakness_validate):
4867 (decode_hash_table_weakness):
4868 (Fhash_table_weakness):
4870 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4872 * console.h (struct console_methods): move update_* to
4875 2000-07-20 Ben Wing <ben@xemacs.org>
4877 * *.[ch] (XSETOBJ): remove unused middle argument.
4878 lisp-disunion.h: correct wrap_object() to one argument.
4880 2000-07-15 Ben Wing <ben@xemacs.org>
4883 * s/cygwin32.h (CYGWIN_CONV_PATH):
4884 Add missing logb prototype for v1.1.
4885 Use post-b20 names and alias to pre-b20 names when pre-b20.
4887 * s/windowsnt.h: [5].
4889 2000-07-15 Ben Wing <ben@xemacs.org>
4891 * Makefile.in.in (x_objs):
4892 * Makefile.in.in (sheap_objs):
4893 * Makefile.in.in (objs):
4894 added win32.o, cosmetic cleanups.
4896 * alloc.c (Fmake_byte_code):
4897 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4898 etc. macros which declare their own args now.
4900 * alloc.c (syms_of_alloc):
4901 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4904 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4906 * buffer.c (Fget_file_buffer):
4907 Fixed GCPRO problem.
4909 * buffer.c (get_truename_buffer):
4910 Fixed comment about GC checking.
4912 * buffer.c (syms_of_buffer):
4913 Undeclared those dedicated frame funs.
4917 Define convenience macros for internal/external conversions.
4918 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4919 and Qenvironment_variable_encoding for cleaner code.
4922 Remove dedicated-frame; in lisp.
4924 * bytecode.c (funcall_compiled_function):
4927 * bytecode.c (syms_of_bytecode):
4931 * console-msw.c (mswindows_show_console): Rewrote.
4933 * console-msw.c (Fmswindows_debugging_output): New.
4934 Sends to OutputDebugString (special MSWin debugger interface).
4936 * console-msw.c (Fmswindows_message_box):
4937 Fixed stupid bugs so it works when called from kill-emacs.
4939 * console-msw.c (syms_of_console_mswindows):
4940 Declare Fmswindows_debugging_output.
4943 New MSWin prototypes.
4945 * console-msw.h (struct mswindows_frame):
4946 New entry last-click-mods for improved button-modifier support.
4948 * console-msw.h (FRAME_MSWINDOWS_POPUP):
4949 New struct entry `popup' with corresponding accessor.
4952 * console-x.c (split_up_display_spec):
4953 * console-x.c (get_display_arg_connection):
4954 * console-x.c (x_semi_canonicalize_console_connection):
4955 * console-x.c (x_canonicalize_device_connection):
4956 [[[6]]]: Change char to more specific type.
4957 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
4959 * console-x.c (x_semi_canonicalize_console_connection):
4960 * console-x.c (x_canonicalize_device_connection):
4961 [[[9]]]: Fix up error signalling to use new structured error system.
4964 [[[4]]]: Define codesys aliases:
4965 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
4966 Qx_color_name_encoding, Qx_display_name_encoding.
4968 * console.h (struct console_methods):
4969 New method make_dialog_box_internal supersedes older
4970 popup_dialog_box method.
4973 Define many new errors, part of new structured errors.
4975 * data.c (init_errors_once_early):
4976 * data.c (syms_of_data):
4979 * device-msw.c (mswindows_init_device):
4980 [[[5]]]: Cleanup to support NT 3.51.
4982 * device-msw.c (decode_devmode): Cleanup.
4984 * device-msw.c (mswindows_handle_print_setup_dialog_box):
4985 * device-msw.c (mswindows_handle_print_dialog_box):
4986 * device-msw.c (mswindows_handle_page_setup_dialog_box):
4987 * device-msw.c (syms_of_device_mswindows):
4988 Delete the dialog box primitives recently introduced by Kirill and
4989 instead interface to general dialog box interface.
4992 * device-x.c (compute_x_app_name):
4993 * device-x.c (x_init_device):
4994 * device-x.c (Fx_valid_keysym_name_p):
4995 * device-x.c (Fx_set_font_path):
4999 * device.h (wrap_device): New.
5000 First of its kind; meant to replace XSETDEVICE.
5002 * dialog-msw.c: Many file-dialog symbols.
5004 * dialog-msw.c (mswindows_register_popup_frame): New.
5005 * dialog-msw.c (mswindows_is_dialog_msg): New.
5006 For supporting kbd traversal in dialog boxes.
5008 * dialog-msw.c (dialog_proc):
5009 Support hitting ESC in dialogs.
5011 * dialog-msw.c (struct):
5012 Common dialog box errors.
5014 * dialog-msw.c (handle_file_dialog_box): New.
5015 Add file dialog code.
5017 * dialog-msw.c (handle_question_dialog_box):
5018 Redo existing code to support new question dialog syntax.
5020 * dialog-msw.c (console_type_create_dialog_mswindows):
5021 We support new dialog console method.
5023 * dialog-msw.c (syms_of_dialog_mswindows):
5024 * dialog-msw.c (vars_of_dialog_mswindows):
5025 New file dialog symbols, vars.
5028 * dialog-x.c (maybe_run_dbox_text_callback):
5029 * dialog-x.c (dbox_descriptor_to_widget_value):
5030 * dialog-x.c (x_make_dialog_box_internal):
5031 * dialog-x.c (console_type_create_dialog_x):
5032 Mule-ize entire file.
5033 Redo to support question dialog syntax.
5037 * dialog.c (Fmake_dialog_box_internal):
5038 * dialog.c (syms_of_dialog):
5039 Kill old popup-dialog-box, replace with new primitive.
5040 Just call device method or signal error.
5042 * eldap.c (Fldap_open):
5043 * eldap.c (Fldap_search_basic):
5044 * eldap.c (Fldap_add):
5045 * eldap.c (Fldap_modify):
5050 * emacs.c (make_arg_list_1):
5051 * emacs.c (make_arg_list):
5052 Mule-ize call to dll_init().
5056 * emacs.c (make_argc_argv):
5057 * emacs.c (free_argc_argv):
5058 * emacs.c (init_cmdargs):
5060 * emacs.c (Fkill_emacs):
5061 * emacs.c (Fdump_emacs):
5062 Update comments about what can be used in syms_* etc.
5063 Call init_win32() when necessary.
5064 Fix up MS Win dialog box in kill-buffer to actually work right.
5075 * eval.c (condition_case_3):
5077 * eval.c (function_argcount):
5078 * eval.c (funcall_lambda):
5081 * eval.c (type_error): New.
5082 * eval.c (maybe_type_error): New.
5083 * eval.c (continuable_type_error): New.
5084 * eval.c (maybe_continuable_type_error): New.
5085 * eval.c (type_error_with_frob): New.
5086 * eval.c (maybe_type_error_with_frob): New.
5087 * eval.c (continuable_type_error_with_frob): New.
5088 * eval.c (maybe_continuable_type_error_with_frob): New.
5089 New functions for use with structured errors.
5092 * event-Xt.c (x_event_to_emacs_event):
5093 Buttons are now modifiers too.
5095 * event-Xt.c (emacs_Xt_current_event_timestamp):
5096 Implement new event method.
5097 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5100 * event-msw.c (ntpipe_shove_writer): [5].
5101 * event-msw.c (mswindows_enqueue_mouse_button_event):
5102 * event-msw.c (mswindows_drain_windows_queue):
5103 * event-msw.c (mswindows_wnd_proc): [7].
5104 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5105 * event-msw.c (mswindows_modifier_state):
5106 Throughout: support new button modifiers.
5108 * event-msw.c (emacs_mswindows_current_event_timestamp):
5109 Implement new event method.
5110 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5113 * event-stream.c (event_stream_current_event_timestamp): New.
5114 * event-stream.c (maybe_kbd_translate): New functionality.
5115 * event-stream.c (vars_of_event_stream):
5116 Document new kbd-translate-table functionality.
5118 * event-stream.c (Fcurrent_event_timestamp): New.
5119 New primitive for use in fabricated events.
5120 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5122 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5125 * events.c (Fmake_event):
5126 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5130 * events.c (format_event_object): fix gcc warnings.
5132 * events.c (Fevent_timestamp): Document new primitives.
5134 * events.c (TIMESTAMP_HALFSPACE): New.
5136 * events.c (Fevent_timestamp_lessp): New. New primitive for
5137 comparing timestamps correctly (half-space algorithm).
5139 * events.c (Fevent_modifier_bits): Doc fix.
5141 * events.c (Fevent_modifiers): Major doc addition.
5142 * events.c (event_x_y_pixel_internal): Typo fix.
5143 * events.c (syms_of_events): Declare new primitives.
5146 Update long comment for button modifiers, timestamps.
5148 * events.h (struct event_stream):
5149 New current_event_timestamp method.
5152 * extents.c (extent_in_region_p):
5153 * extents.c (decode_extent):
5154 * extents.c (Fset_extent_parent):
5155 * extents.c (decode_map_extents_flags):
5159 * extents.c (struct extent_at_arg):
5160 * extents.c (decode_extent_at_flag):
5161 * extents.c (extent_at_mapper):
5162 * extents.c (extent_at_bytind):
5163 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5164 * extents.c (Fextents_at): New primitive. [9].
5165 * extents.c (symbol_to_glyph_layout): [9].
5166 Support new primitive `extents-at'.
5169 * extents.c (get_text_property_bytind):
5170 extent_at_bytind has another arg.
5173 * extents.c (syms_of_extents): New primitive.
5175 * file-coding.c (Fmake_coding_system): [1].
5176 * file-coding.c (subsidiary_coding_system): fix gcc warning
5177 * file-coding.c (syms_of_file_coding): [2].
5179 * fileio.c (Fexpand_file_name):
5180 * fileio.c (Fsysnetunam):
5181 * fileio.c (Ffile_exists_p):
5182 * fileio.c (Ffile_executable_p):
5183 * fileio.c (Fverify_visited_file_modtime):
5186 * fileio.c (syms_of_fileio): [2].
5188 * filelock.c (lock_file_1):
5189 * filelock.c (current_lock_owner):
5190 * filelock.c (lock_if_free):
5191 * filelock.c (lock_file):
5192 * filelock.c (unlock_file):
5195 * fns.c (concat): Fix gcc warning.
5198 * fns.c (Fold_member):
5200 * fns.c (Fold_memq):
5201 * fns.c (memq_no_quit):
5203 * fns.c (Fold_assoc):
5205 * fns.c (Fold_assq):
5206 * fns.c (assq_no_quit):
5208 * fns.c (Fold_rassoc):
5210 * fns.c (Fold_rassq):
5211 * fns.c (rassq_no_quit):
5213 * fns.c (Fold_delete):
5215 * fns.c (Fold_delq):
5216 * fns.c (delq_no_quit):
5217 * fns.c (Fremassoc):
5219 * fns.c (remassq_no_quit):
5220 * fns.c (Fremrassoc):
5221 * fns.c (Fremrassq):
5222 * fns.c (remrassq_no_quit):
5227 * frame-msw.c (mswindows_init_frame_1):
5228 * frame-msw.c (mswindows_delete_frame):
5229 Register popups with dialog code so keyboard traversing works.
5231 * frame-tty.c (tty_raise_frame_no_select): [1].
5234 * frame-x.c (x_set_frame_text_value):
5235 * frame-x.c (x_set_frame_properties):
5236 * frame-x.c (x_create_widgets):
5240 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5242 * frame.h (wrap_frame): New.
5243 Macro like wrap_device.
5246 * general.c (SYMBOL):
5247 * general.c (syms_of_general):
5248 Major reorg. This is now just a wrapper and symbols themselves
5249 are listed in general-slots.h.
5251 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5252 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5254 * glyphs-msw.c (mswindows_native_layout_instantiate):
5255 Add DS_CONTROL so keyboard traversal will work.
5258 * glyphs-widget.c (syms_of_glyphs_widget):
5259 Move some symbols to general-slots.h.
5262 * glyphs-x.c (xbm_instantiate_1):
5263 * glyphs-x.c (x_xbm_instantiate):
5264 * glyphs-x.c (x_xface_instantiate):
5265 * glyphs-x.c (autodetect_instantiate):
5266 * glyphs-x.c (cursor_font_instantiate):
5267 * glyphs-x.c (x_update_widget):
5268 * glyphs-x.c (x_widget_instantiate):
5269 * glyphs.c (bitmap_to_lisp_data):
5270 * glyphs.c (pixmap_to_lisp_data):
5273 * glyphs.c (syms_of_glyphs):
5277 * gui-x.c (print_widget_value):
5278 * gui-x.c (menu_separator_style_and_to_external):
5279 * gui-x.c (add_accel_and_to_external):
5280 * gui-x.c (button_item_to_widget_value):
5281 * gui-x.c (gui_items_to_widget_values_1):
5282 * gui-x.c (gui_items_to_widget_values):
5283 * gui-x.c (syms_of_gui_x):
5284 * gui-x.c (vars_of_gui_x):
5285 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5289 Muleize, prototype changes matching gui-x.c.
5292 * gui.c (separator_string_p):
5293 * gui.c (gui_item_add_keyval_pair):
5294 * gui.c (make_gui_item_from_keywords_internal):
5295 * gui.c (signal_too_long_error):
5296 * gui.c (parse_gui_item_tree_item):
5297 * gui.c (syms_of_gui):
5298 * gui.c (vars_of_gui):
5300 menu-no-selection-hook moved here (used by MSWin).
5301 Move some symbols to general-slots.h.
5305 * insdel.c (get_buffer_pos_char):
5306 * insdel.c (get_buffer_range_char):
5309 * keymap.c (keymap_lookup_directly):
5310 * keymap.c (keymap_store):
5311 * keymap.c (ensure_meta_prefix_char_keymapp):
5312 * keymap.c (describe_map):
5314 Support new button modifiers.
5316 * lisp-disunion.h (wrap_object):
5317 * lisp-disunion.h (XSETOBJ):
5318 Rename make_obj to wrap_object.
5321 * lisp-union.h (make_int):
5322 * lisp-union.h (make_char):
5323 Support wrap_object.
5326 * lisp.h (LIST_LOOP):
5327 * lisp.h (EXTERNAL_LIST_LOOP):
5328 * lisp.h (LIST_LOOP_2):
5329 * lisp.h (EXTERNAL_LIST_LOOP_1):
5330 * lisp.h (EXTERNAL_LIST_LOOP_2):
5331 * lisp.h (EXTERNAL_LIST_LOOP_3):
5332 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5333 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5334 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5335 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5336 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5337 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5338 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5339 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5340 * lisp.h (struct Lisp_Symbol):
5341 * lisp.h (maybe_continuable_error_with_frob):
5342 Fix up section comments.
5343 Add new types for char to indicate usage.
5344 Delete symbols auto-generated from general-slots.h.
5345 Add prototypes for structured error functions.
5346 Add long comments describing looping macros and change interface
5347 so that lvalues are automatically declared.
5348 Add NO_DECLARE macro in case callers want to declare lvalues
5351 * lread.c (read_syntax_error):
5352 * lread.c (continuable_read_syntax_error):
5353 * lread.c (read_structure):
5354 * lread.c (sequence_reader):
5355 * lread.c (read_list_conser):
5356 * lread.c (read_compiled_function):
5357 Rename syntax_error and continuable_syntax_error to avoid clash
5358 with same-named structured error functions.
5360 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5361 * menubar-msw.c (populate_menu_add_item):
5362 * menubar-msw.c (populate_or_checksum_helper):
5367 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5368 Mule-ize whole file.
5370 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5372 * mule-charset.c (Fmake_charset):
5373 * mule-wnnfns.c (Fwnn_set_param):
5376 * ntproc.c (create_child):
5377 * ntproc.c (Fwin32_set_current_locale):
5378 Add comments portending doom.
5381 * objects-msw.c (old_font_enum_callback_2):
5382 * objects-msw.c (font_enum_callback_1):
5383 * objects-msw.c (mswindows_enumerate_fonts):
5387 * objects-x.c (allocate_nearest_color):
5388 * objects-x.c (x_parse_nearest_color):
5389 * objects-x.c (x_initialize_color_instance):
5390 * objects-x.c (x_print_color_instance):
5391 * objects-x.c (x_finalize_color_instance):
5392 * objects-x.c (x_valid_color_name_p):
5393 * objects-x.c (x_initialize_font_instance):
5394 * objects-x.c (x_print_font_instance):
5395 * objects-x.c (valid_x_font_name_p):
5396 * objects-x.c (truename_via_FONT_prop):
5397 * objects-x.c (truename_via_random_props):
5398 * objects-x.c (truename_via_XListFonts):
5399 * objects-x.c (x_font_truename):
5400 * objects-x.c (x_font_instance_truename):
5401 * objects-x.c (x_font_instance_properties):
5402 * objects-x.c (x_list_fonts):
5403 * objects-x.c (x_find_charset_font):
5404 Mule-ize entire file.
5411 * print.c (std_handle_out_external):
5412 * print.c (debug_print_no_newline):
5413 * print.c (syms_of_print):
5414 Output to all debugger kinds in debug-print.
5415 Fix console-output code under MSWin to actually work.
5417 * process-nt.c (send_signal):
5418 * process-nt.c (nt_create_process):
5419 Use newer Unicode macros.
5421 * process-unix.c (unix_create_process):
5422 * process-unix.c (unix_canonicalize_host_name):
5423 * process-unix.c (unix_open_network_stream):
5429 * search.c (syms_of_search):
5432 * select-msw.c (mswindows_destroy_selection):
5435 * select-x.c (symbol_to_x_atom):
5438 * select.c (syms_of_select):
5441 * sound.c (Fplay_sound_file):
5445 * specifier.c (decode_specifier_type):
5446 * specifier.c (Fvalid_specifier_locale_type_p):
5447 * specifier.c (check_valid_locale_or_locale_type):
5448 * specifier.c (decode_locale):
5449 * specifier.c (decode_locale_type):
5450 * specifier.c (decode_locale_list):
5451 * specifier.c (check_valid_domain):
5452 * specifier.c (decode_specifier_tag_set):
5453 * specifier.c (Fcanonicalize_tag_set):
5454 * specifier.c (Fdefine_specifier_tag):
5455 * specifier.c (Fspecifier_tag_predicate):
5456 * specifier.c (check_valid_inst_list):
5457 * specifier.c (check_valid_spec_list):
5458 * specifier.c (decode_how_to_add_specification):
5459 * specifier.c (check_modifiable_specifier):
5460 * specifier.c (specifier_add_spec):
5461 * specifier.c (boolean_validate):
5462 * specifier.c (display_table_validate):
5465 * specifier.c (syms_of_specifier):
5466 Move some symbols to general-slots.h.
5470 * symbols.c (Fmapatoms):
5471 * symbols.c (Fapropos_internal):
5474 * symbols.c (set_default_buffer_slot_variable):
5475 * symbols.c (set_default_console_slot_variable):
5478 * symbols.c (defsymbol_massage_name_1):
5479 * symbols.c (defkeyword_massage_name):
5480 * symbols.c (deferror_1):
5481 * symbols.c (deferror):
5482 * symbols.c (deferror_massage_name_and_message):
5484 * symeval.h (DEFSYMBOL):
5485 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5487 * symbols.c (syms_of_symbols):
5491 * symsinit.h (init_win32): New.
5492 Also new is syms_of_dialog_mswindows.
5495 Add new Unicode macros, missing Cygwin wide-char functions,
5496 convenience conversion macros for Qmswindows_tstr, macros for
5497 encapsulating required MSWin <-> Cygwin filename conversions,
5498 prototype for dynamically-extracted (not in NT 3.51) functions.
5503 * tooltalk.c (Fadd_tooltalk_message_arg):
5504 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5505 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5508 * tooltalk.c (syms_of_tooltalk):
5512 * unexnt.c (unexec):
5513 Fix up headers, declaration of unexec() to be more standard.
5515 2000-07-20 Martin Buchholz <martin@xemacs.org>
5517 * offix.h: Revert change to guard macros - they're used in offix.c!
5519 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5521 * lisp.h: Defsubred Fdelete.
5523 * console-msw.h: (msprinter_default_printer): Added.
5525 * console-msw.c (msprinter_canonicalize_console_connection):
5526 (msprinter_canonicalize_device_connection): Added.
5528 * device-msw.c (msprinter_default_printer):
5529 (Fmswingows_get_default_printer):
5530 (signal_enum_priner_error):
5531 (Fmswingows_printer_list): Added.
5533 2000-07-19 Martin Buchholz <martin@xemacs.org>
5535 * XEmacs 21.2.35 is released.
5537 2000-07-19 Martin Buchholz <martin@xemacs.org>
5539 * select-x.c (x_handle_selection_request):
5540 Text selected in xemacs and pasted into xterm failed to appear.
5541 Spelling fixes and cosmetic changes.
5543 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5545 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5546 XEmacs frame (fix for doubling chars in dialog boxes).
5548 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5550 * select.c (select_convert_in, select_convert_out):
5551 Don't call intern() every time.
5553 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5554 * select.c (vars_of_select): Initialise them.
5556 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5558 * select.c (selection-coercible-types): New.
5560 * select.c (own-selection-internal):
5561 * select.c (get-selection-internal):
5562 MULE bug fix - these should default to COMPOUND_TEXT and not
5563 STRING for MULE. I think.
5565 * select.c (select_convert_out): Use selection-coercible-types
5566 to find types that we can attempt to perform coercions on.
5568 2000-07-18 Martin Buchholz <martin@xemacs.org>
5572 Add coding: cookie to identify encoding.
5574 * mule-canna.c (CANNA_mode_keys): make static.
5575 Use proper prototypes, even for functions of no arguments.
5576 Remove external prototype for Fding().
5578 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5580 * select.c (syms_of_select): Add missing DEFSUBR.
5582 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5584 * select.c (get_selection_internal, own_selection_internal):
5585 Make the type default to STRING, rather than placing a nil type
5586 into Vselection_alist.
5588 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5590 * gpmevent.c (tty_selection_exists_p):
5591 * gpmevent.c (tty_own_selection):
5592 Updated parameter lists.
5594 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5596 * select.h (selection-alist): Removed declaration.
5598 * select.h (get_local_selection):
5599 * select.c (get_local_selection):
5602 * select.h (convert_selection): Removed declaration.
5603 * select.c (convert_selection): Removed.
5604 This function belongs in Lisp.
5606 * select.h (select_convert_in): Declare.
5607 * select.h (select_convert_out): Declare.
5608 * select.c (select_convert_in): New.
5609 * select.c (select_convert_out): New.
5610 New conversion functions for other files to call.
5612 * select.h (select_notify_buffer_kill): Declare.
5613 * select.c (select_notify_buffer_kill): New.
5614 New functions that get called from kill-buffer.
5616 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5617 X-specific lisp code.
5619 * select.h: Declare some of the lisp-visible functions for
5622 * select.c (clean_local_selection_data): Removed. This was
5623 a disgusting function, and previously should have been in
5624 select-x.c in any case. The functionality is now provided
5625 in select-convert-from-integer (select.el).
5627 * select.c (available-selection-types): Fixed stupidity where
5628 INTEGER and ATOM got added twice. Also add STRING when we see an
5631 * select.c (get-selection-internal): Removed symbol stripping. No
5632 longer causes conversion when data comes from the internal cache.
5634 * select.c (syms_of_select): Added new functions.
5636 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5637 error checking - previously this called abort!
5639 * select-x.c (x_own_selection): Changed comment.
5641 * select-x.c (x_handle_selection_request): Use select_convert_out.
5642 Don't mess with selection-alist; it's an internal variable of select.c.
5644 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5646 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5647 rather than messing with selection-alist.
5649 * select-msw.c (mswindows_get_foreign_selection):
5650 Use TO_INTERNAL_FORMAT rather than hacking.
5652 2000-07-14 Martin Buchholz <martin@xemacs.org>
5654 * process-unix.c (unix_open_multicast_group):
5655 (unix_open_multicast_group): Remove useless casts.
5657 2000-07-13 Martin Buchholz <martin@xemacs.org>
5659 * sound.c (Fplay_sound): Fix `unused variable' warning.
5661 * emacs.c (main): Use correct type for _environ on SCO5.
5663 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5665 * console.h (own_selection_method):
5666 * console.h (selection_exists_p_method):
5667 * console.h (available_selection_types_method): New.
5668 * console.h (register_selection_data_type_method): New.
5669 * console.h (selection_data_type_name): New.
5671 * console-msw.h (mswindows_destroy_selection): Declare it. New
5672 function & alist to track GlobalAlloc()'d handles that need
5673 releasing when the clipboard data gets replaced or emptied.
5675 * event-msw.c (mswindows_wnd_proc): Call it.
5677 * lisp.h, general.c (Qappend): New symbol representing a
5680 * select.c (own-selection-internal):
5681 * select.c (selection-exists-p):
5682 * select.c (available-selection-types): New.
5683 * select.c (register-selection-data-type): New.
5684 * select.c (selection-data-type-name): New. New functions to deal
5685 with device-specific selection data formats.
5686 * select.c (selection-converter-out-alist): Renamed.
5687 * select.c (selection-converter-in-alist): New.
5688 * select.c (selection-appender-alist): New. Added new alists.
5689 * select.c (syms_of_select, vars_of_select): Added new symbols &
5691 * select.c (get_local_selection): Split.
5692 * select.c: Removed spurious type checking - selections may now be
5693 of any type, not just strings.
5694 * select.c (own-selection-internal):
5696 * select.h, select.c (convert_selection): New. Created
5697 convert_selection() function based on get_local_selection().
5698 * select.h, select.c (QCF_*): New symbols representing mswindows
5700 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5701 symbols representing `how-to-add' modes.
5703 * select-msw.c (x_sym_p): New.
5704 * select-msw.c (symbol_to_ms_cf): New.
5705 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5706 symbols & clipboard formats. Can also handle string names.
5707 * select-msw.c (mswindows_own_selection):
5708 * select-msw.c (mswindows_selection_exists_p):
5709 Added `data-type' parameter. Use it.
5710 * select-msw.c (mswindows_available_selection_types): New.
5711 * select-msw.c (mswindows_register_selection_data_type): New.
5712 * select-msw.c (mswindows_selection_data_type_name): New.
5713 * select-msw.c (mswindows_own_selection):
5714 * select-msw.c (mswindows_get_foreign_selection):
5715 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5716 * select-msw.c (console_create_select_mswindows): Added new methods.
5717 * select-msw.c (mswindows_destroy_selection): New.
5718 * select-msw.c (Vhandle_alist): New list.
5719 * select-msw.c (mswindows_own_selection):
5721 * select-x.c (x_own_selection):
5722 * select-x.c (x_selection_exists_p):
5723 * select-x.c: Added some comments about maybe using new
5725 * select-x.c (x_own_selection):
5727 * specifier.c: Remove definition of Qappend (now in general.c)
5728 * specifier.c (syms_of_specifier): Remove Qappend.
5730 2000-07-12 Martin Buchholz <martin@xemacs.org>
5732 * config.h.in: Add socklen_t.
5734 * s/decosf4-0.h: No special compiler flags needed or desired.
5735 In particular, undefine _BSD for DEC OSF 4.0.
5737 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5739 * redisplay-msw.c (msprinter_frame_output_end): Added.
5740 (console_type_create_redisplay_mswindows): Referred the above.
5742 * frame.c (setup_frame_without_minibuffer): Do not create a
5743 default minibuffer frame on a printer device.
5745 * frame-msw.c (apply_dc_geometry): Added.
5746 (msprinter_start_page):
5747 (msprinter_init_frame_3):
5748 (msprinter_eject_page): Use it.
5750 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5751 and removed residual duplex and orientation properties.
5753 2000-07-11 Martin Buchholz <martin@xemacs.org>
5755 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5757 * unexalpha.c: Remove system prototypes from C sources!
5759 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5761 * eval.c: Remove references to M-x edit-options in DEFUNs for
5762 `defvar' and `defconst'.
5764 2000-07-09 Martin Buchholz <martin@xemacs.org>
5766 * config.h.in: Remove SMART_INCLUDE hackery.
5769 * config.h.in: Don't use SMART_INCLUDE.
5771 * postgresql.h: Include libpq-fe.h here. Fix typo.
5772 * inline.c: Simply #include "postgresql.h"
5774 - Don't use SMART_INCLUDE
5775 - Use simply "const".
5776 - Use standard doc string conventions.
5777 - Use correct type for result of PQstatus.
5779 2000-07-09 Martin Buchholz <martin@xemacs.org>
5781 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5783 C++ compilation changes.
5784 * config.h.in (EXTERN_C): Define.
5785 * config.h.in (not): This is also a C++ keyword.
5786 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5787 * cm.c: Use EXTERN_C.
5788 * redisplay-tty.c: Use EXTERN_C.
5789 * sysdep.c: Use EXTERN_C. Remove Gould support.
5791 2000-07-09 Martin Buchholz <martin@xemacs.org>
5793 * general.c: Remove duplicate definition for Qfunction.
5795 2000-07-08 Ben Wing <ben@xemacs.org>
5797 * device-msw.c (msprinter_init_device):
5798 * device-msw.c (sync_printer_with_devmode):
5799 * device-msw.c (handle_devmode_changes):
5800 * device-msw.c (print_dialog_worker):
5801 * device-msw.c (Fmsprinter_apply_settings):
5802 * device-msw.c (hash_devmode):
5803 * device-msw.c (Fmsprinter_settings_despecialize):
5804 use Qmswindows_tstr, not Qctext.
5806 * vm-limit.c (check_memory_limits):
5807 avoid infinite loop printing warning messages.
5809 2000-07-05 Craig Lanning <lanning@scra.org>
5811 * Makefile.in.in: Add support for including the Windows resources
5812 when building with the cygwin and mingw targets.
5814 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5815 not set or not correct.
5816 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5817 (init_initial_directory): Don't try to use $PWD on the
5818 WIN32_NATIVE target.
5821 [[Add -mwindows to eliminate console window.]] not required --ben
5822 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5823 (MAIL_USE_POP): removed; now handled by configure.
5825 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5826 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5827 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5828 (MAIL_USE_POP): removed; now handled by configure.
5829 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5830 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5831 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5833 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5834 up from <winsock.h> via systime.h.
5835 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5836 (getpagesize): from Dan Holmsand, added.
5837 Added #endif which was left dangling by Ben's mega patch; added
5838 comment to help prevent this in the future.
5840 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5842 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5844 * console-msw.h (struct mswindows_device): Removed unnecessary
5845 cached device geometry values.
5846 Added update_tick and an accessor macro.
5847 (Lisp_Devmode): Added lrecord declaration.
5848 (struct msprinter_device): Contain devmode as a Lisp object.
5849 Added mswindows_get_selected_frame_hwnd();
5851 * console.h (struct console_methods): Indentation nitpicking.
5853 * device-msw.c (mswindows_init_device): Do not initialize geometry
5854 cache. Initialize update tick.
5855 (mswindows_device_system_metrics): Ask the device for its geometry.
5856 (global_free_2_maybe):
5857 (devmode_to_hglobal):
5858 (handle_printer_changes):
5859 (ensure_not_printing):
5860 (print_dialog_worker):
5861 (Fmsprinter_print_setup_dialog):
5862 (Fmsprinter_print_dialog):
5865 (Fmsprinter_page_setup_dialog): Added functions.
5866 (sync_printer_with_devmode):
5867 (handle_devmode_changes):
5868 (Fmsprinter_get_settings):
5869 (Fmsprinter_select_settings):
5870 (Fmsprinter_apply_settings):
5872 (Fmsprinter_settings_copy):
5873 (Fmsprinter_settings_despecialize):
5877 (hash_devmode): Added functions
5878 (syms_of_device_mswindows): Init devmode lrecord class.
5880 * device.h: Added an exfun for find-device.
5882 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5883 geometry; although, recreate the device compatible DC.
5885 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5886 (msprinter_init_frame_3):
5887 (msprinter_frame_property):
5888 (msprinter_internal_frame_property_p):
5889 (msprinter_frame_properties):
5890 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5891 print job properties (will move to device settings).
5893 * lisp.h: Added symbols.
5895 * general.c (syms_of_general): Declared them.
5897 * hash.c (string_hash): Added.
5899 * lrecord.h (lrecord_type): Added devmode lrecord type.
5901 2000-07-02 Mike Sperber <mike@xemacs.org>
5903 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5906 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5908 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5911 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5913 * data.c (Fstring_to_number): Don't recognize floating point if
5916 2000-06-22 Martin Buchholz <martin@xemacs.org>
5918 * glyphs-widget.c (tab_control_query_geometry):
5919 (widget_query_geometry):
5920 (button_query_geometry):
5921 * glyphs.c (text_query_geometry):
5922 Enforce type correctness.
5924 2000-06-18 Martin Buchholz <martin@xemacs.org>
5926 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5927 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5929 2000-06-17 Martin Buchholz <martin@xemacs.org>
5931 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5932 conflicts with gcc's fixincluded version of FOO.h.
5934 * glyphs.h (image_instance_geometry): Remove trailing `,'
5936 2000-06-08 Mike Alexander <mta@arbortext.com>
5938 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
5939 (shove_thread): Don't write the same output twice
5940 (make_ntpipe_output_stream): Increase priority of shove thread
5941 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
5943 (ntpipe_shove_closer): Don't delete the pipe until we're done with
5946 2000-06-12 Ben Wing <ben@xemacs.org>
5948 * s\mingw32.h (sigset):
5949 * s\windowsnt.h (sigset):
5950 rename msw_ to mswindows_ for consistency with general convention.
5952 2000-06-12 Ben Wing <ben@xemacs.org>
5955 * console-msw.c (mswindows_get_console_hwnd):
5956 * console-msw.c (mswindows_ensure_console_allocated):
5957 * console-msw.c (mswindows_hide_console):
5958 * console-msw.c (mswindows_show_console):
5959 * console-msw.c (mswindows_ensure_console_buffered):
5960 * console-msw.c (mswindows_output_console_string):
5961 * console-msw.c (mswindows_windows9x_p):
5963 * device-msw.c (mswindows_get_workspace_coords):
5964 * device-msw.c (mswindows_device_system_metrics):
5965 * dialog-msw.c (mswindows_popup_dialog_box):
5966 * event-msw.c (mswindows_wnd_proc):
5967 * frame-msw.c (mswindows_size_frame_internal):
5968 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5969 * menubar-msw.c (displayable_menu_item):
5970 * menubar-msw.c (mswindows_char_is_accelerator):
5972 * nt.c (mswindows_sigset):
5973 * nt.c (mswindows_sigrelse):
5974 * nt.c (mswindows_sigpause):
5975 * nt.c (mswindows_raise):
5976 * nt.c (timer_proc):
5978 * ntproc.c (find_child_console):
5979 * ntproc.c (sys_kill):
5981 * print.c (std_handle_out_external):
5982 * process-nt.c (find_child_console):
5983 * process-nt.c (send_signal_the_95_way):
5984 * process-nt.c (ensure_console_window_exists):
5985 * process-nt.c (nt_create_process):
5987 rename msw_ to mswindows_ for consistency with general convention.
5991 include nt.h, not syswindows.h.
5993 * nt.c (mswindows_fstat):
5994 * nt.c (mswindows_stat):
5995 prefix mswindows_ instead of attempting to directly override the
5996 library functions. fix declarations.
5999 include syswindows.h. move some sysdep.h stuff here.
6002 include syswindows.h, not <windows.h>.
6010 * sysdep.c (sys_fstat):
6011 * sysdep.c (sys_stat):
6012 call mswindows versions when appropriate.
6015 move mswin decls to nt.h.
6018 add long comment describing appropriate use of the various windows
6021 2000-06-11 Ben Wing <ben@xemacs.org>
6023 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6025 2000-06-10 Ben Wing <ben@xemacs.org>
6027 * Makefile.in.in (release):
6028 Correction to make sure xemacs.exe always dumped when correct.
6032 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6034 * buffer.c (set_buffer_internal):
6035 [[[[2]]]]: Remove HAVE_FEP code.
6037 * buffer.c (init_initial_directory):
6041 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6045 * callproc.c (call_process_cleanup):
6046 * callproc.c (Fold_call_process_internal):
6047 * callproc.c (child_setup):
6048 * callproc.c (getenv_internal):
6049 * callproc.c (init_callproc):
6050 * callproc.c (vars_of_callproc):
6051 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6052 __CYGWIN32__ -> CYGWIN.
6053 DOS_NT -> WIN32_NATIVE.
6054 Remove MSDOS support/references, converting to WIN32_NATIVE
6056 __MINGW32__ -> MINGW.
6057 Fix windows.h includes.
6058 Remove bogus HAVE_NTGUI.
6064 mswindows_message_outputted added for use in allowing startup
6065 errors on the console to be seen.
6067 * console-msw.c (msw_ensure_console_allocated):
6068 * console-msw.c (msw_output_console_string):
6069 * console-msw.c (DHEADER):
6070 * console-msw.c (DOPAQUE_DATA):
6071 * console-msw.c (DEVENT):
6072 * console-msw.c (DCONS):
6073 * console-msw.c (DCONSCDR):
6074 * console-msw.c (DSTRING):
6075 * console-msw.c (DVECTOR):
6076 * console-msw.c (DSYMBOL):
6077 * console-msw.c (DSYMNAME):
6080 * console-stream.c (stream_init_console):
6081 Fix text/binary problems.
6084 * device-msw.c (mswindows_finish_init_device):
6085 * device-msw.c (mswindows_delete_device):
6088 * device.c (handle_asynch_device_change):
6092 * dgif_lib.c (DGifOpenFileName):
6093 * dgif_lib.c (DGifOpenFileHandle):
6094 * dgif_lib.c (DGifGetLine):
6095 * dgif_lib.c (DGifGetPixel):
6096 Added config.h/lisp.h, fix up includes.
6103 * dired.c (file_name_completion):
6104 * dired.c (Ffile_attributes):
6105 * dired.c (syms_of_dired):
6109 * dumper.c (pdump_file_unmap):
6110 * dumper.c (pdump_load):
6114 * editfns.c (Ftemp_directory):
6115 * editfns.c (user_login_name):
6116 * editfns.c (Fuser_real_login_name):
6117 * editfns.c (get_home_directory):
6120 * elhash.c (finish_marking_weak_hash_tables):
6121 [[[[5]]]]: Fix GCC warnings.
6124 * emacs.c (mswindows_handle_hardware_exceptions):
6125 * emacs.c (make_arg_list_1):
6127 * emacs.c (Fkill_emacs):
6128 * emacs.c (Fdump_emacs):
6130 Fix problems with nested crashes, add long comment.
6132 * event-Xt.c (init_event_Xt_late):
6136 * event-msw.c (mswindows_dde_callback):
6137 * event-msw.c (mswindows_handle_sticky_modifiers):
6138 * event-msw.c (mswindows_wnd_proc):
6142 * events.c (character_to_event):
6146 * fileio.c (Ffile_name_directory):
6147 * fileio.c (Ffile_name_nondirectory):
6148 * fileio.c (directory_file_name):
6149 * fileio.c (Fexpand_file_name):
6150 * fileio.c (Fsubstitute_in_file_name):
6151 * fileio.c (Ffile_name_absolute_p):
6152 * fileio.c (check_executable):
6153 * fileio.c (Ffile_readable_p):
6154 * fileio.c (Ffile_accessible_directory_p):
6155 * fileio.c (Ffile_modes):
6156 * fileio.c (Funix_sync):
6157 * fileio.c (vars_of_fileio):
6160 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6162 Expand getdefdir defn.
6163 Fix bogus rename() comment.
6165 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6166 to use standard XEmacs include files, e.g. sysfile.h, rather
6167 than system-specific includes.
6173 * frame.c (vars_of_frame):
6177 * getloadavg.c (getloadavg):
6179 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6180 (We don't use it elsewhere in the code; just add a comment.)
6187 * glyphs-msw.c (mswindows_resource_instantiate):
6190 * glyphs-x.c (x_native_layout_instantiate):
6193 * gui-msw.c (Fmswindows_shell_execute):
6202 * lread.c (locate_file_in_directory_mapper):
6209 * mem-limits.h (get_lim_data):
6221 * nt.c (rva_to_section):
6222 * nt.c (mswindows_executable_type):
6224 Fix closedir() defn.
6227 [[[[8]]]]: *_OK defs moved to sysfile.h.
6236 * print.c (std_handle_out_external):
6240 * process-nt.c (nt_create_process):
6242 try to fix process quoting somewhat.
6244 * process-unix.c (unix_create_process):
6248 * process.c (vars_of_process):
6255 * realpath.c (xrealpath):
6258 * redisplay-tty.c (init_tty_for_redisplay):
6268 * sheap.c (more_static_core):
6269 * sheap.c (report_sheap_usage):
6273 * signal.c (alarm_signal):
6280 * strftime.c (zone_name):
6283 * symsinit.h (init_sunpro):
6287 commctrl.h not in Cygwin b20.1.
6291 * sysdep.c (sys_subshell):
6292 * sysdep.c (init_baud_rate):
6293 * sysdep.c (emacs_get_tty):
6294 * sysdep.c (emacs_set_tty):
6295 * sysdep.c (tty_init_sys_modes_on_device):
6296 * sysdep.c (init_system_name):
6297 * sysdep.c (sys_open):
6298 * sysdep.c (interruptible_open):
6299 * sysdep.c (sys_fopen):
6300 * sysdep.c (sys_mkdir):
6301 * sysdep.c (sys_rename):
6302 * sysdep.c (get_process_times_1):
6309 * sysdir.h (DIRENTRY_NONEMPTY):
6312 * sysdll.c (dll_init):
6318 added text/binary defs.
6324 * sysproc.h (EDESTADDRREQ):
6325 * sysproc.h (poll_fds_for_input):
6342 Always define WIN32_LEAN_AND_MEAN.
6344 * unexcw.c (unexec):
6348 * unexec.c (copy_text_and_data):
6349 * unexec.c (adjust_lnnoptrs):
6353 * unexnt.c (_start):
6356 2000-06-07 Ben Wing <ben@xemacs.org>
6358 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6359 was used only as a model. We've long since extracted any useful
6360 logic or code out of this. (I just did an exhaustive search.)
6362 * s\msdos.h: Removed.
6364 * s\windows95.h: Removed.
6366 2000-06-10 Ben Wing <ben@xemacs.org>
6370 Don't use extern with fun defs.
6374 Remove nt\inc include.
6375 Remove getdisk, getdefdir. (The former is unused, the latter
6376 expanded in fileio.h.)
6379 * s\windowsnt.h (WIN32_NATIVE):
6380 * s\windowsnt.h (HAVE_STRCASECMP):
6382 Add long comment about preprocessor changes.
6383 Remove getdisk, getdefdir. (The former is unused, the latter
6384 expanded in fileio.h.)
6386 2000-06-10 Ben Wing <ben@xemacs.org>
6395 Remove bogus/unused NO_SOCK_SIGIO.
6397 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6399 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6402 2000-06-04 Mike Sperber <mike@xemacs.org>
6404 * casetab.c (set_case_table): For `set-standard-case-table',
6405 actually deposit the new case tables where the rest of XEmacs can
6408 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6410 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6412 2000-06-05 Ben Wing <ben@xemacs.org>
6414 * callproc.c (child_setup): Don't do close_load_descs() under
6415 MS Windows. Put in a comment explaining why.
6417 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6419 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6420 Toolkit shell" which breaks `kill-compilation' on Windows NT
6421 native, retaining STDERR handling improvements.
6423 2000-06-01 Andreas Jaeger <aj@suse.de>
6425 * s/s390.h: Support for S390, based on a patch by Martin
6426 Schwidefsky <schwidefsky@de.ibm.com>.
6428 2000-05-30 Andy Piper <andy@xemacs.org>
6430 * window.c (allocate_window):
6431 (make_dummy_parent):
6432 (Fset_window_configuration): use new hashtable type.
6434 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6435 (struct image_instantiator_methods):
6436 (struct Lisp_Image_Instance): make instance geometry signed.
6438 * glyphs.c (instantiate_image_instantiator):
6439 (image_instance_query_geometry):
6440 (image_instance_layout):
6441 (image_instance_layout):
6442 (query_string_geometry):
6443 (text_query_geometry):
6444 (image_instantiate):
6445 (image_instantiate):
6446 (cache_subwindow_instance_in_frame_maybe):
6447 (subwindow_query_geometry): make instance geometry signed.
6449 * glyphs-widget.c (widget_query_geometry):
6451 (button_query_geometry):
6452 (tree_view_query_geometry):
6453 (tab_control_query_geometry):
6454 (layout_query_geometry):
6456 (native_layout_layout): make instance geometry signed.
6458 2000-05-29 Olivier Galibert <galibert@pobox.com>
6460 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6463 * general.c (syms_of_general): Add Qfull_assoc symbol.
6465 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6467 (decode_weak_list_type): Decode full-assoc type.
6468 (encode_weak_list_type): Encode full-assoc type.
6469 (Fmake_weak_list): Update doc string.
6471 2000-05-30 Andy Piper <andy@xemacs.org>
6473 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6475 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6476 (decode_hash_table_weakness): ditto.
6477 (Fhash_table_weakness): ditto.
6478 (Fhash_table_type): ditto.
6479 (finish_marking_weak_hash_tables): ditto.
6480 (hash_table_weakness_validate): ditto.
6481 (syms_of_elhash): ditto.
6483 2000-05-28 Martin Buchholz <martin@xemacs.org>
6485 * XEmacs 21.2.34 is released.
6487 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6489 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6491 (updating_line_start_cache): Gone.
6492 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6493 generic code to force a minimum of 1 line laid out in the
6496 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6498 * glyphs.c (instantiate_image_instantiator): Check for initialized
6499 height & width no longer special cases IMAGE_NOTHING.
6500 (nothing_instantiate): Set height and width of instance.
6502 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6504 * unexelf.c (unexec): Search for ".data" section.
6505 Initialize new_data2_offset from old_data_index.
6506 Remove redundant check for ElfW.
6508 2000-05-23 Andy Piper <andy@xemacs.org>
6510 * glyphs.c (get_image_instantiator_governing_domain): allow more
6511 specific domains as the governing domain rather than expecting an
6512 exact match. This fixes problems with layouts.
6514 2000-05-22 Andy Piper <andy@xemacs.org>
6516 * redisplay-output.c (compare_runes): check for non-images
6518 * glyphs.c (set_glyph_dirty_p): ditto.
6519 (update_glyph_cachel_data): ditto.
6521 * glyphs-widget.c (layout_post_instantiate): ditto.
6522 (layout_post_instantiate): ditto.
6524 * event-msw.c (mswindows_wnd_proc): warning removal.
6526 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6528 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6530 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6532 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6534 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6535 (mswindows_executable_type): mingw32 now has enough headers for
6538 2000-05-20 Andy Piper <andy@xemacs.org>
6540 * console-msw.c (mswindows_output_last_error): ; -> ,
6542 2000-05-12 Andy Piper <andy@xemacs.org>
6544 * console-msw.c (FROB): compare ints with ints.
6546 2000-05-11 Andy Piper <andy@xemacs.org>
6548 * glyphs-x.c (x_finalize_image_instance): make minimal build
6551 2000-05-20 Ben Wing <ben@xemacs.org>
6554 * event-Xt.c (vars_of_event_Xt):
6555 move modifier-keys-are-sticky to event-stream.c.
6558 * event-msw.c (mswindows_enqueue_mouse_button_event):
6559 * event-msw.c (key_needs_default_processing_p):
6560 * event-msw.c (XEMSW_LCONTROL):
6561 * event-msw.c (mswindows_handle_sticky_modifiers):
6562 * event-msw.c (FROB):
6563 * event-msw.c (clear_sticky_modifiers):
6564 * event-msw.c (output_modifier_keyboard_state):
6565 * event-msw.c (output_alt_keyboard_state):
6566 * event-msw.c (mswindows_wnd_proc):
6567 * event-msw.c (mswindows_modifier_state):
6568 * event-msw.c (emacs_mswindows_handle_magic_event):
6569 implement sticky modifiers.
6572 * event-stream.c (vars_of_event_stream):
6573 move modifier-keys-are-sticky here.
6579 implement map-range-table.
6582 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6584 * redisplay-tty.c (reset_tty_modes):
6585 (tty_redisplay_shutdown): Adjust argument type to
6586 tty_frame_output_end.
6588 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6590 * eval.c (Fbacktrace): Don't output a line with only right
6593 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6595 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6596 (Fpq_reset_poll): Ditto.
6598 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6600 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6602 2000-05-16 Ben Wing <ben@xemacs.org>
6605 * buffer.c (dfc_convert_to/from_internal_format):
6606 * buffer.c (reinit_vars_of_buffer):
6607 Fix conversion functions to allow reentrancy.
6610 * console-msw.c (mswindows_output_last_error):
6611 New fun, generally useful -- output a human-readable
6612 version of GetLastError() on the console.
6615 * console-msw.h (struct mswindows_frame):
6616 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6618 * console-stream.c (stream_output_begin):
6619 * console-stream.c (stream_output_end):
6620 * console-stream.c (stream_output_vertical_divider):
6621 * console-stream.c (stream_clear_region):
6622 * console-stream.c (stream_flash):
6623 * console-stream.c (console_type_create_stream):
6624 Delete blank stream methods, not needed.
6626 * console.h (struct console_methods):
6627 Split begin/end methods into window and frame.
6630 * event-msw.c (mswindows_handle_paint):
6631 * event-msw.c (output_alt_keyboard_state):
6632 * event-msw.c (mswindows_wnd_proc):
6633 * event-msw.c (vars_of_event_mswindows):
6634 Comment about problems with ignored-expose.
6635 Define mswindows-debug-events; not really implemented.
6637 * frame-msw.c (mswindows_init_frame_1):
6641 * glyphs-msw.c (begin_defer_window_pos):
6642 * glyphs-msw.c (mswindows_unmap_subwindow):
6643 * glyphs-msw.c (mswindows_map_subwindow):
6644 * glyphs-msw.c (mswindows_resize_subwindow):
6645 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6647 * glyphs.c (make_image_instance_1):
6650 * gutter.c (Fredisplay_gutter_area):
6651 Use new begin/end methods.
6653 * lisp.h (Dynarr_new2):
6657 * redisplay-msw.c (mswindows_frame_output_begin):
6658 * redisplay-msw.c (mswindows_frame_output_end):
6659 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6660 New begin/end methods -- handle DeferWindowPos.
6662 * redisplay-output.c (redisplay_move_cursor):
6663 * redisplay-output.c (redraw_cursor_in_window):
6664 * redisplay-output.c (redisplay_update_line):
6665 * redisplay-output.c (redisplay_output_window):
6666 New begin/end methods.
6669 * redisplay-tty.c (tty_frame_output_begin):
6670 * redisplay-tty.c (tty_frame_output_end):
6671 * redisplay-tty.c (console_type_create_redisplay_tty):
6672 New begin/end methods.
6675 * redisplay-x.c (x_window_output_begin):
6676 * redisplay-x.c (x_window_output_end):
6677 * redisplay-x.c (console_type_create_redisplay_x):
6678 New begin/end methods.
6680 * redisplay.c (redisplay_frame):
6681 * redisplay.c (Fredisplay_echo_area):
6682 New begin/end methods.
6683 use MAYBE_DEVMETH for clear_frame; it may not exist.
6685 * window.h (WINDOW_XFRAME):
6686 WINDOW_XFOO macros -- get locale and decode struct pointer.
6689 2000-05-12 Ben Wing <ben@xemacs.org>
6692 * emacs.c (ensure_no_quitting_from_now_on):
6693 * emacs.c (fatal_error_signal):
6694 * emacs.c (mswindows_handle_hardware_exceptions):
6696 * emacs.c (Fkill_emacs):
6697 * emacs.c (shut_down_emacs):
6698 * emacs.c (assert_failed):
6699 various improvements in fatal error handling.
6702 move preparing_for_armageddon to emacs.c.
6705 declare fatal_error_in_progress.
6708 * print.c (std_handle_out_external):
6709 * print.c (std_handle_out_va):
6710 * print.c (stderr_out):
6711 * print.c (stdout_out):
6712 use console under mswin when no standard output.
6713 don't do code conversion during fatal error.
6715 * scrollbar.c (Fscrollbar_page_up):
6716 * scrollbar.c (Fscrollbar_page_down):
6717 fix missing else. reindent.
6719 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6723 * glyphs.h (GLYPH_CACHEL_DESCENT):
6724 (GLYPH_CACHEL_DESCENT):
6725 (GLYPH_CACHEL_DESCENT):
6726 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6727 used in case these are inline functions.
6728 Use more absurd values to error check.
6730 include window.h for error check functions.
6732 2000-05-11 Ben Wing <ben@xemacs.org>
6734 * cmdloop.c (Freally_early_error_handler):
6735 Display message box under windows; otherwise, message will disappear
6736 before it can be viewed.
6739 * console-msw.c (Fmswindows_message_box):
6740 * console-msw.c (FROB):
6741 * console-msw.c (syms_of_console_mswindows):
6742 Define new fun `mswindows-message-box'.
6743 #### I will merge this into `popup-dialog-box'; just give me
6747 * general.c (syms_of_general):
6748 Some new symbols used in `mswindows-message-box'.
6751 * glyphs.c (Fset_image_instance_property):
6752 put warning in this fun.
6755 * glyphs.h (GLYPH_CACHEL_WIDTH):
6756 * glyphs.h (GLYPH_CACHEL_ASCENT):
6757 * glyphs.h (GLYPH_CACHEL):
6758 * glyphs.h (GLYPH_CACHEL_GLYPH):
6759 define error-checking versions to try to catch a bug i've seen --
6760 redisplay gets in an infinite loop because the glyph width of the
6761 continuation glyph is 65535.
6764 Extern message-box stuff.
6766 * window.c (allocate_window):
6767 * window.c (make_dummy_parent):
6768 * window.c (Fset_window_configuration):
6769 Use EQUAL not EQ for subwindow caches to make them work a bit
6770 better. (Something is still very broken.)
6773 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6775 * glyphs.c (image_instantiate): Suppress gcc warnings.
6776 (Fmake_image_instance): Fix doc string.
6777 * specifier.c (Fmake_specifier): Ditto.
6779 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6781 * paths.h.in (PATH_LOCK): Removed.
6782 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6783 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6785 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6787 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6788 Document (featurep '(and xemacs 21.02)).
6790 2000-05-09 Ben Wing <ben@xemacs.org>
6792 * buffer.c (complex_vars_of_buffer):
6793 update modeline-format doc.
6796 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6799 timeline of all released versions of Emacs, for use in creating
6800 authorship comments and in synching up.
6802 * glyphs-widget.c (image_instantiator_buttons):
6803 * glyphs-widget.c (image_instantiator_edit_fields):
6804 * glyphs-widget.c (image_instantiator_combo_box):
6805 * glyphs-widget.c (image_instantiator_scrollbar):
6806 * glyphs-widget.c (image_instantiator_progress_guage):
6807 * glyphs-widget.c (image_instantiator_tree_view):
6808 * glyphs-widget.c (image_instantiator_tab_control):
6809 * glyphs-widget.c (image_instantiator_labels):
6810 * glyphs-widget.c (image_instantiator_layout):
6811 * glyphs-widget.c (image_instantiator_native_layout):
6812 rename decode_domain method to governing_domain.
6815 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6816 * glyphs.c (add_entry_to_device_ii_format_list):
6817 make sure we don't put an entry more than once into the list.
6818 * glyphs.c (check_instance_cache_mapper):
6819 *************************************************************
6820 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6822 *************************************************************
6823 * glyphs.c (get_image_instantiator_governing_domain):
6824 clean up, expand on new concept of governing domain.
6825 * glyphs.c (instantiate_image_instantiator):
6826 * glyphs.c (allocate_image_instance):
6827 use governing_domain instead of cache_domain in naming.
6828 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6829 * glyphs.c (make_image_instance_1):
6830 * glyphs.c (Fmake_image_instance):
6831 allow for any domain (not just device), and process the
6832 governing domain correctly. very big doc fix.
6833 * glyphs.c (Fimage_instance_domain):
6834 new primitive, to retrieve the governing domain of an image instance.
6835 * glyphs.c (image_instantiate):
6836 use new governing_domain stuff. this fixes a crash you could get
6837 by instantiating certain widget glyphs in frame locales. (should
6838 signal an error instead of crashing.)
6839 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6840 * glyphs.c (Fglyphp): clean up doc.
6841 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6842 * glyphs.c (syms_of_glyphs):
6843 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6844 * glyphs.c (image_instantiator_format_create): add some comments about
6846 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6847 for current-display-table. (Apparently Hrjove implemented in 1998 a
6848 design I wrote up in 1996, but didn't update the doc string.)
6850 * glyphs.h: clean up a doc string.
6851 * glyphs.h (governing_domain):
6852 * glyphs.h (struct image_instantiator_methods):
6853 changes for governing_domain stuff.
6856 * gutter.c (Fgutter_specifier_p):
6857 * gutter.c (Fgutter_size_specifier_p):
6858 * gutter.c (Fgutter_visible_specifier_p):
6860 * objects.c (Fcolor_specifier_p):
6861 * objects.c (Ffont_specifier_p):
6862 * objects.c (Fface_boolean_specifier_p):
6863 doc strings moved to make-*-specifier.
6865 * redisplay.c (add_disp_table_entry_runes_1):
6866 * redisplay.c (generate_fstring_runes):
6867 * redisplay.c (screen):
6868 add random comments and doc strings.
6871 * specifier.c (Fmake_specifier):
6872 major overhaul of this doc string.
6874 * specifier.c (Fvalid_specifier_domain_p):
6875 comment about the bogosity of image instances being domains.
6876 * specifier.c (decode_domain):
6877 now non-static, used in glyphs.c.
6878 * specifier.c (specifier_instance):
6879 comment about the bogosity of image instances being domains.
6880 * specifier.c (Fgeneric_specifier_p):
6881 move doc string to make-generic-specifier.
6882 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6886 * specifier.h (DOMAIN_FRAME):
6887 * specifier.h (DOMAIN_LIVE_P):
6888 * specifier.h (DOMAIN_XDEVICE):
6890 add comments about problems with these macros.
6891 prototype for decode_domain.
6894 * toolbar.c (Ftoolbar_specifier_p):
6895 move doc string to `make-toolbar-specifier'.
6897 * window.c (window_unmap_subwindows_cache_mapper):
6898 *************************************************************
6899 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6901 *************************************************************
6903 2000-05-09 Andy Piper <andy@xemacs.org>
6905 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6907 * window.c (Fset_window_configuration): reset the frame subwindow
6908 cache and re-initialize the window subwindow caches.
6910 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6912 2000-05-09 Ben Wing <ben@xemacs.org>
6914 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6917 2000-04-26 Mike Woolley <mike@bulsara.com>
6919 * ntheap.c: Changed recreate_heap to limit the amount reserved
6920 for the heap to that which is actually available. Also now
6921 displays a message box (with some dignostics) in the event that
6922 it still can't start.
6924 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6926 * callproc.c (Fold_call_process_internal): GCPRO path
6928 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6930 Patch by Bill Perry.
6932 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6933 back data instead of #ifdef.
6934 (Fscrollbar_page_down): ditto.
6936 2000-05-07 Ben Wing <ben@xemacs.org>
6939 Kludge for defining Qmswindows_tstr.
6942 * nt.c (open_input_file):
6943 * nt.c (open_output_file):
6944 * nt.c (rva_to_section):
6945 * nt.c (mswindows_executable_type):
6946 Move all memory-mapped-file routines here (some were in unexnt.c,
6947 which is bad because they are used by process-nt.c, and unexnt
6948 won't be around when portable dumping). Synched the above routines
6952 Removed ifdef'd out bogus code.
6953 Fixed some prototypes.
6956 * nt.h (OFFSET_TO_RVA):
6957 * nt.h (RVA_TO_OFFSET):
6958 * nt.h (RVA_TO_PTR):
6959 Moved the memory-mapped-file structures, macros and prototypes
6960 here, to parallel nt.c. ntheap.h should really be removed
6961 entirely, and it's a non-portable-dumper specific file.
6963 * ntheap.h (round_to_next):
6964 Moved the memory-mapped-file structures, macros and prototypes
6967 * ntproc.c (compare_env):
6968 Moved rva_to_section and mswindows_executable_type to nt.c.
6969 Moved compare_env to process-nt.c.
6970 ntproc.c will die, one day.
6972 * ntproc.c (sys_spawnve):
6973 Account for win32_ -> mswindows_.
6976 * process-nt.c (struct nt_process_data):
6977 * process-nt.c (ensure_console_window_exists):
6978 * process-nt.c (compare_env):
6979 * process-nt.c (nt_create_process):
6980 * process-nt.c (nt_kill_process_by_pid):
6981 * process-nt.c (syms_of_process_nt):
6982 * process-nt.c (vars_of_process_nt):
6983 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
6984 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
6985 changes). Eliminate our old `nt-quote-process-args' mechanism.
6986 Synch up nt_create_process with FSF 20.6 sys_spawnve.
6987 Move compare_env here from ntproc.c.
6989 * process.c (Fprocess_send_region):
6990 Takes an optional fourth argument, BUFFER, which should fix some
6991 problems with call-process.
6994 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
6997 Move ICC_BAR_CLASSES to syscommctrl.h.
6998 Add preliminary macros for MSWindows/Mule. More to come.
7001 * unexnt.c (unexec):
7002 open_output_file moved to nt.c.
7005 2000-05-05 Andy Piper <andy@xemacs.org>
7007 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7008 instance from the frame cache also since GC may catch up too late
7009 to make frame deletion sane.
7011 2000-05-04 Andy Piper <andy@xemacs.org>
7013 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7014 (x_finalize_image_instance): ungcpro on deletion.
7016 * glyphs.c (image_instantiator_format_create): give pointers a
7017 query geometry method so that the geometry is at least set.
7019 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7020 initialize layouts if using widgets.
7022 2000-05-03 Andy Piper <andy@xemacs.org>
7024 * nt.c: remove bogus reference to sysmmsystem.h
7026 * gui-x.c (popup_selection_callback): fix no selection abort.
7028 2000-05-02 Andy Piper <andy@xemacs.org>
7030 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7031 (mswindows_widget_instantiate): ditto.
7033 * glyphs-widget.c (initialize_widget_image_instance): initialize
7035 (widget_instantiate): cope with children and items in the same
7038 * glyphs.c (mark_image_instance): cope with children as a first
7040 (image_instance_equal): ditto.
7041 (image_instance_hash): ditto.
7042 (image_instance_changed): ditto.
7044 2000-04-30 Andy Piper <andy@xemacs.org>
7046 * glyphs.c (subwindow_query_geometry): new function. Return some
7048 (subwindow_instantiate): don't assign dimensions if none have been
7050 (image_instantiator_format_create): add subwindow_query_geometry.
7051 (print_image_instance): cope with layouts as widgets.
7053 2000-04-29 Andy Piper <andy@xemacs.org>
7055 * frame.c (delete_frame_internal): call
7056 free_frame_subwindow_instance_cache so that all subwindows are
7057 finalized before their parent.
7058 (mark_frame): remove subwindow_cachels.
7059 (Fmake_frame): remove subwindow_cachel manipulation.
7060 (allocate_frame_core): subwindow_instance_cache is a weak list.
7061 (delete_frame_internal): set subwindow_instance_cache to nil.
7063 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7065 (mswindows_finalize_image_instance): use the device
7066 not the domain as the domain may have died already.
7068 * glyphs-x.c (x_finalize_image_instance): ditto.
7069 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7072 * redisplay-output.c (redisplay_unmap_subwindows): update for
7073 subwindow instance cache as a weak list.
7074 (redisplay_unmap_subwindows_maybe): ditto.
7075 (redisplay_unmap_subwindows_except_us): ditto.
7077 * glyphs.c (unmap_subwindow): error checking will check the domain
7078 so don't deal with it here. Don't use cachels anymore.
7079 (map_subwindow): ditto.
7080 (update_subwindow_cachel_data): remove old accessor names.
7081 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7082 (Fresize_subwindow): don't update cachel.
7083 (mark_subwindow_cachels):
7084 (update_subwindow_cachel_data):
7085 (add_subwindow_cachel):
7086 (get_subwindow_cachel_index):
7087 (update_subwindow_cachel):
7088 (reset_subwindow_cachels):
7089 (mark_subwindow_cachels_as_not_updated): deleted.
7090 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7091 subwindow instance to the frame cache.
7092 (find_matching_subwindow): update for subwindow instance cache as
7094 (update_widget_instances): ditto.
7095 (image_instance_type_to_mask):inlined.
7096 (free_frame_subwindow_instance_cache): new function. finalize all
7097 subwindows that are instantiated.
7099 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7100 of cachel information.
7101 (IMAGE_INSTANCE_DISPLAY_X):
7102 (IMAGE_INSTANCE_DISPLAY_Y):
7103 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7104 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7105 (XIMAGE_INSTANCE_DISPLAY_X):
7106 (XIMAGE_INSTANCE_DISPLAY_Y):
7107 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7108 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7109 remove subwindow_cachel structure and function references.
7110 (image_instance_type_to_mask): inline from glyphs.c
7112 * redisplay.c (redisplay_frame): remove subwindow_cachel
7115 * frame.h (struct frame): remove subwindow_cachels.
7116 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7118 * frameslots.h: add subwindow_instance_cache.
7120 * window.c (replace_window): check subwindow cache of replacement.
7121 (window_unmap_subwindows_cache_mapper):
7122 (window_unmap_subwindows): new functions. Unmap all subwindows
7123 cached on this window.
7124 (mark_window_as_deleted): unmap all subwindows.
7126 2000-04-27 Andy Piper <andy@xemacs.org>
7128 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7130 * glyphs-widget.c (widget_layout): return something.
7131 (layout_layout): return something. Fail if not initialized.
7132 (layout_query_geometry): ditto.
7133 (image_instantiator_native_layout): new function. Initialized the
7135 (widget_instantiate): don't do layout stuff here.
7137 * glyphs.c (instantiate_image_instantiator): reorded calling or
7138 instantiate and post_instantiate with layout in between.
7139 (image_instance_layout): be more selective about deciding whether
7140 the layout has been done or not.
7142 * glyphs.h (struct image_instantiator_methods): return a value
7145 2000-04-26 Andy Piper <andy@xemacs.org>
7147 * glyphs.c (allocate_image_instance): make initial width and
7148 height unspecified. Set initialized to 0.
7150 * syscommctrl.h new file. Encapsulates commctrl.h.
7152 * syswindows.h new file. Encapsulates windows.h.
7154 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7156 * console-msw.h: ditto.
7158 * redisplay-tty.c (tty_output_display_block): remove layout references.
7160 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7161 window handle rather than just the frame.
7163 * glyphs.c (mark_image_instance): remove layout references.
7164 (print_image_instance): ditto.
7165 (image_instance_equal): ditto.
7166 (image_instance_hash): ditto.
7167 (decode_image_instance_type): ditto.
7168 (encode_image_instance_type): ditto.
7169 (image_instantiate): ditto.
7170 (allocate_glyph): ditto.
7171 (Fimage_instance_height): ditto.
7172 (Fimage_instance_width): ditto.
7173 (update_subwindow): ditto.
7175 * redisplay-x.c (x_output_display_block): recode for layouts as
7178 * redisplay-output.c (redisplay_output_layout): recode for layouts
7180 (compare_runes): remove layout references.
7182 * redisplay-msw.c (mswindows_output_display_block): recode for
7185 * glyphs-widget.c (image_instantiator_layout): remove
7186 layout_possible_dest_types.
7187 (layout_possible_dest_types): deleted.
7189 * glyphs.h (image_instance_type): remove layout references.
7190 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7191 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7192 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7194 2000-04-25 Andy Piper <andy@xemacs.org>
7196 * glyphs-widget.c (image_instantiator_buttons):
7197 (image_instantiator_edit_fields):
7198 (image_instantiator_combo_box):
7199 (image_instantiator_scrollbar):
7200 (image_instantiator_progress_guage):
7201 (image_instantiator_tree_view):
7202 (image_instantiator_tab_control):
7203 (image_instantiator_labels):
7204 (image_instantiator_layout): call default post_instantiate method.
7205 (widget_post_instantiate): new function. Simply lays out the
7208 * glyphs.h (struct image_instantiator_methods): add
7209 post_instantiate method.
7211 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7214 2000-04-23 Andy Piper <andy@xemacs.org>
7216 * glyphs.h (struct image_instantiator_methods): add
7217 decode_domain_method.
7218 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7219 derived from the domain.
7220 (IMAGE_INSTANCE_FRAME): new accessor.
7221 (XIMAGE_INSTANCE_FRAME): ditto.
7223 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7224 instead of _SUBWINDOW_FRAME.
7225 (finalize_image_instance): ditto.
7226 (Fimage_instance_foreground): ditto.
7227 (Fimage_instance_background): ditto.
7228 (image_instantiate): ditto.
7229 (update_subwindow_cachel): ditto.
7230 (update_subwindow): ditto.
7231 (unmap_subwindow): ditto.
7232 (map_subwindow): ditto
7233 (subwindow_instantiate): ditto.
7234 * glyphs-msw.c (mswindows_update_widget): ditto.
7235 (mswindows_progress_gauge_instantiate): ditto.
7236 (mswindows_tab_control_update): ditto.
7237 * glyphs-x.c (x_update_widget): ditto.
7238 (x_widget_instantiate): ditto.
7239 (x_tab_control_instantiate): ditto.
7240 (x_tab_control_update): ditto.
7241 * event-msw.c (mswindows_wnd_proc): ditto
7243 * glyphs-widget.c (image_instantiator_layout): use
7244 subwindow_decode_domain.
7245 (image_instantiator_buttons): ditto.
7246 (image_instantiator_edit_fields): ditto.
7247 (image_instantiator_combo_box): ditto.
7248 (image_instantiator_scrollbar): ditto.
7249 (image_instantiator_progress_guage): ditto.
7250 (image_instantiator_tree_view): ditto.
7251 (image_instantiator_tab_control): ditto.
7252 (image_instantiator_labels): ditto.
7253 (image_instantiator_layout): ditto.
7255 * glyphs.c: add instance error checking to many functions.
7256 (instantiate_image_instantiator): decode device from cache_domain.
7257 (image_instantiate): partially rewrite by using
7258 decode_image_instantiator_domain to determine what domain the
7259 instance needs to be cached in.
7260 (decode_image_instantiator_domain): new function. Determine what
7261 domain the image needs to be cached in.
7262 (check_window_subwindow_cache): new error checking function.
7263 (check_instance_cache_mapper): ditto.
7264 (check_image_instance_structure): ditto.
7265 (subwindow_decode_domain): new function. Encodes a window as a
7266 subwindow's cache domain.
7267 (image_instantiator_format_create): use it for text and
7270 2000-04-21 Andy Piper <andy@xemacs.org>
7272 * glyphs.c (image_instance_device): new function.
7273 (image_instance_frame): new function.
7274 (image_instance_window): new function.
7275 (image_instance_live_p): new function.
7277 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7280 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7281 (IMAGE_INSTANCE_DOMAIN): new accessor.
7282 (XIMAGE_INSTANCE_DOMAIN): ditto.
7284 * glyphs-x.c (x_finalize_image_instance): device->domain.
7286 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7287 (mswindows_finalize_image_instance): ditto.
7289 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7290 (gif_instantiate): ditto.
7291 (png_instantiate): ditto.
7292 (tiff_instantiate): ditto.
7294 * glyphs.c (instantiate_image_instantiator): use domain rather
7296 (mark_image_instance): device -> domain.
7297 (print_image_instance): ditto.
7298 (finalize_image_instance): ditto.
7299 (image_instance_equal): ditto.
7300 (allocate_image_instance): ditto.
7301 (Fcolorize_image_instance): ditto.
7302 (query_string_geometry): ditto.
7303 (image_instantiate): ditto
7304 (query_string_font): ditto.
7305 (image_instantiate): ditto.
7306 (update_subwindow): ditto.
7307 (unmap_subwindow): ditto.
7308 (map_subwindow): ditto.
7309 (subwindow_instantiate): ditto.
7311 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7312 (DOMAIN_FRAME): ditto.
7313 (DOMAIN_WINDOW): ditto.
7314 (DOMAIN_LIVE_P): ditto.
7315 (XDOMAIN_DEVICE): ditto.
7316 (XDOMAIN_FRAME): ditto.
7317 (XDOMAIN_WINDOW): ditto.
7319 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7320 a valid specifier domain.
7322 2000-04-19 Andy Piper <andy@xemacs.org>
7324 * glyphs-widget.c (syms_of_glyphs_widget): remove
7325 widget-callback-current-channel.
7326 (vars_of_glyphs_widget): ditto.
7329 * gui.c (get_gui_callback): revert to previous behaviour.
7331 2000-04-18 Andy Piper <andy@xemacs.org>
7333 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7334 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7335 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7337 * glyphs.c (image_instance_equal): add margin_width.
7338 (image_instance_hash): ditto.
7340 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7341 (layout_query_geometry): ditto.
7342 (layout_layout): ditto.
7343 (syms_of_glyphs_widget): add margin-width.
7344 (image_instantiator_layout): allow margin-width.
7346 * glyphs.c (update_widget_instances): make a normal function.
7347 (syms_of_glyphs): remove Qupdate_widget_instances.
7350 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7351 so that we don't corrupt ideas about the last event or
7352 command. Remove widget-callback-current-channel fiddling.
7353 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7355 2000-05-01 Martin Buchholz <martin@xemacs.org>
7357 * XEmacs 21.2.33 is released.
7359 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7361 * make-src-depend: Allow dots in header file name.
7363 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7365 * mule-charset.h (struct charset_lookup): Add
7366 next_allocated_1_byte_leading_byte and
7367 next_allocated_2_byte_leading_byte.
7368 * mule-charset.c: Move above two variables so that those values
7371 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7373 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7374 when string length is zero.
7375 (find_charsets_in_emchar_string): Ditto.
7377 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7379 * lisp.h: extern Qdialog and Qmenubar.
7381 * gui-x.c: added events.h.
7382 also fixed typo which made the file uncompilable.
7384 * general.c: Added Qmenubar and Qdialog
7386 2000-04-28 Ben Wing <ben@xemacs.org>
7388 * frame-msw.c (mswindows_init_frame_1):
7389 * frame-msw.c (mswindows_mark_frame):
7390 * event-msw.c (mswindows_enqueue_dispatch_event):
7392 * console-msw.h (struct mswindows_frame):
7393 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7394 there are now three hash tables for callbacks.
7395 mswindows_enqueue_dispatch_event is no longer static.
7397 * dialog-x.c (maybe_run_dbox_text_callback):
7398 * dialog-x.c (dbox_descriptor_to_widget_value):
7399 switch to new cons3 form for callbacks.
7401 * glyphs-msw.c (mswindows_register_gui_item):
7402 * glyphs-msw.c (mswindows_widget_instantiate):
7403 * glyphs-msw.c (add_tree_item):
7404 * glyphs-msw.c (add_tab_item):
7405 new image instance parameter, so it can be passed to callback-ex.
7406 respect :callback-ex as well as :callback.
7408 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7411 * glyphs.c (print_image_instance):
7412 prettify, e.g. now prints widget type.
7415 certain funs have new image instance parameter.
7418 * gui.c (get_gui_callback):
7419 * gui.c (gui_item_add_keyval_pair):
7420 * gui.c (gui_item_init):
7421 * gui.c (gui_add_item_keywords_to_plist):
7422 * gui.c (mark_gui_item):
7423 * gui.c (gui_item_hash):
7424 * gui.c (gui_item_equal):
7425 * gui.c (copy_gui_item):
7426 * gui.c (syms_of_gui):
7427 recognize callback-ex in a number of places.
7428 also, fix the annoying "can't get out of yes-no dialog" bug.
7431 * gui.h (struct Lisp_Gui_Item):
7432 recognize callback-ex in a number of places.
7434 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7435 new parameter in button_item_to_widget_value.
7437 * glyphs-x.c (x_update_widget):
7438 * glyphs-x.c (x_button_instantiate):
7439 * glyphs-x.c (x_button_update):
7440 * glyphs-x.c (x_progress_gauge_instantiate):
7441 * glyphs-x.c (x_edit_field_instantiate):
7442 * glyphs-x.c (x_combo_box_instantiate):
7443 * glyphs-x.c (x_tab_control_instantiate):
7444 * glyphs-x.c (x_label_instantiate):
7445 new image instance parameter in various places.
7448 * event-Xt.c (enqueue_Xt_dispatch_event):
7449 this fun gets exported.
7452 * gui-msw.c (mswindows_handle_gui_wm_command):
7453 handle both :callback and :callback-ex, and generate our own
7454 event because it's one of the callback-ex arguments.
7457 * gui-x.c (popup_selection_callback):
7458 handle both :callback and :callback-ex, and generate our own
7459 event because it's one of the callback-ex arguments.
7460 * gui-x.c (button_item_to_widget_value):
7461 * gui-x.c (gui_items_to_widget_values_1):
7462 * gui-x.c (gui_item_children_to_widget_values):
7463 * gui-x.c (gui_items_to_widget_values):
7464 new image instance parameter in various places.
7466 * fns.c (Freplace_list):
7467 fix small typo in doc string.
7470 declare enqueue_Xt_dispatch_event.
7472 2000-04-28 Ben Wing <ben@xemacs.org>
7475 * buffer.c (Frecord_buffer):
7476 * buffer.c (syms_of_buffer):
7477 delete record-buffer-hook.
7480 * fns.c (Freplace_list):
7481 * fns.c (syms_of_fns):
7482 new primitive replace-list.
7485 slot for old buffer-alist.
7491 * redisplay.c (redisplay_frame):
7492 * redisplay.c (syms_of_redisplay):
7493 * redisplay.c (vars_of_redisplay):
7494 new hook buffer-list-changed-hook.
7497 2000-04-27 Ben Wing <ben@xemacs.org>
7499 * extents.h: extern in_modeline_generation.
7501 * redisplay.c (generate_formatted_string_db): set
7502 in_modeline_generation.
7504 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7505 flags if in modeline generation. otherwise frame-modified-tick
7506 is ticked far too often.
7507 Declare in_modeline_generation.
7509 2000-04-26 Ben Wing <ben@xemacs.org>
7511 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7513 (vars_of_emacs): add quick-build as an error-checking option.
7514 A bit kludgy, but there doesn't seem much point in creating
7515 a real var for this.
7517 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7519 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7521 * redisplay.h (struct display_line): Add a new variable,
7524 * redisplay.c (create_text_block): Set dl->line_continuation if
7526 (create_string_text_block): Ditto.
7527 (regenerate_window_incrementally): Use line_continuation instead
7528 of searching continuation glyph.
7529 (add_margin_runes): Call add_glyph_rune.
7530 (add_glyph_rune): Handle margin glyph.
7532 2000-04-20 Martin Buchholz <martin@xemacs.org>
7534 * filelock.c (fill_in_lock_file_name):
7536 Check for IS_ANY_SEP instead of '/'.
7538 Avoid generating gratuitous garbage. Call user_login_name() directly.
7539 Never check errno without first seeing that system call failed.
7540 (unlock_file): Add GCPRO.
7541 (Flock_buffer): Fix docstring.
7542 (Ffile_locked_p): Fix docstring. Add GCPRO.
7544 2000-04-19 Martin Buchholz <martin@xemacs.org>
7546 * sysdep.c (get_pty_max_bytes):
7547 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7548 strings longer than 252 bytes.
7550 * md5.c: Unconditionally include ANSI header <limits.h>
7552 * glyphs-x.c (convert_EImage_to_XImage):
7553 * lisp-union.h (union Lisp_Object):
7554 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7556 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7558 * filelock.c (current_lock_owner): Remove unused variable o, p.
7560 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7562 * callint.c: Remove multiply defined symbol Qlet
7563 (syms_of_callint): ditto.
7565 2000-04-14 Andy Piper <andy@xemacs.org>
7567 * general.c (syms_of_general): add last-command, this-command, let
7570 * lisp.h: declare various symbols.
7572 * glyphs.h: declare Qwidget_callback_current_channel;
7574 * glyphs-widget.c (syms_of_glyphs_widget): add
7575 Qgui_callback_current_channel.
7576 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7578 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7579 widget-callback-current-channel when invoking the interactive
7580 arg. Also bind last-command and next-command when invoking the
7582 * gui-x.c (popup_selection_callback): ditto.
7584 * gui.c (get_gui_callback): massage args so that we are always
7585 calling eval. This allows us to add our own variable bindings
7588 * glyphs-x.c (x_button_instantiate): use
7589 gui_items_to_widget_values since this is GC safe.
7590 (x_progress_gauge_instantiate): ditto.
7591 (x_edit_field_instantiate): ditto.
7592 (x_label_instantiate): ditto.
7594 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7595 (emacs_Xt_event_widget_focus_out): new function
7596 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7598 (emacs_Xt_event_add_widget_actions): new function. add focus
7599 functions as actions.
7600 (init_event_Xt_late): use it.
7602 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7604 * event-stream.c (Fdispatch_event): Doc fix.
7606 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7608 * postgresql.c: Remove all references to PQsetenv*.
7610 * postgresql.h: Remove references to PGsetenvHandler object.
7611 * lrecord.h (lrecord_type): Ditto.
7613 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7615 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7616 real_heigh and real_width members, and accessor macros for these.
7618 * glyphs-msw.c (init_image_instance_geometry): New function.
7619 (init_image_instance_from_dibitmap): Use it.
7620 (mswindows_resource_instantiate): Use it.
7621 (init_image_instance_from_xbm_inline): Use it.
7622 (mswindows_initialize_image_instance_mask): Use real bitmap
7624 (mswindows_create_resized_bitmap): Ditto.
7625 (mswindows_create_resized_mask): Ditto.
7627 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7628 and bitmap to their surface size.
7630 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7632 * process-unix.c (unix_send_process): Guard against process MIA
7633 after Faccept_process_output.
7635 2000-04-11 Ben Wing <ben@xemacs.org>
7637 * eval.c (unbind_to_hairy): fix brokenness introduced by
7638 nanosecond speed improvements.
7640 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7642 * sunplay.c (init_device): To play sounds correctly, the device
7643 apparently needs to be initialized at least once by XEmacs. Make
7646 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7648 * redisplay.c (add_margin_runes): Add text image glyph
7651 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7653 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7654 gcc is newer than 2.5.
7656 2000-04-06 Colin Rafferty <colin@xemacs.org>
7658 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7660 * fns.c (size_bit_vector):
7661 * alloc.c (size_vector):
7662 (make_vector_internal):
7663 (make_bit_vector_internal):
7664 (sweep_bit_vectors_1):
7665 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7667 2000-04-06 Andy Piper <andy@xemacs.org>
7669 * gmalloc.c (malloc): undo previous change.
7674 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7676 * line-number.c (buffer_line_number): Revert to former version.
7678 2000-04-06 Andy Piper <andy@xemacs.org>
7680 * gmalloc.c (malloc): add error checking.
7685 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7686 button_item_to_widget_value arg.
7688 * glyphs-x.c (x_button_instantiate): add extra
7689 button_item_to_widget_value arg.
7690 (x_progress_gauge_instantiate): ditto.
7691 (x_edit_field_instantiate): ditto.
7692 (x_label_instantiate): ditto.
7694 * gui-x.c (gui_items_to_widget_values_1): add extra
7695 button_item_to_widget_value arg.
7696 (button_item_to_widget_value): add extra menu_item_p arg.
7698 * gui-x.h: change signature of button_item_to_widget_value.
7700 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7701 button_item_to_widget_value arg.
7703 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7705 * buffer.h (struct buffer): auto_save_modified should be long.
7707 2000-04-05 Andy Piper <andy@xemacs.org>
7709 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7711 (button_query_geometry): give a little more room so that athena
7714 2000-04-05 Andy Piper <andy@xemacs.org>
7716 * faces.c (complex_vars_of_faces): The widget face should inherit
7717 the font of the gui-element face.
7719 2000-04-04 Andy Piper <andy@xemacs.org>
7721 * glyphs-x.c (x_button_update): new function. unconditionally
7722 update a button's state when the instance is dirty.
7723 (image_instantiator_format_create_glyphs_x): add x_button_update.
7724 (x_widget_instantiate): remove old resize cruft.
7726 2000-04-02 Andy Piper <andy@xemacs.org>
7728 * frame.c (change_frame_size_1): The introduction of gutters means
7729 that we need to allow 0 as a potential frame dimension.
7731 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7733 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7734 image glyph if allow_cursor.
7735 (add_hscroll_rune): Don't allow cursor to border glyph.
7736 (create_text_block): Ditto.
7738 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7740 (redisplay_output_layout): Call ensure_face_cachel_complete for
7744 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7746 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7748 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7751 * redisplay-tty.c (tty_output_display_block): Delete the routine
7752 for text image glyph
7753 * redisplay-x.c (x_output_display_block): ditto
7754 * redisplay-msw.c (mswindows_output_display_block): ditto
7756 2000-02-02 Mike Alexander <mta@arbortext.com>
7758 Note: Some of these were committed by accident as part of other
7761 * regex.c (regex_compile): Avoid compiler warnings.
7763 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7765 * nt.h: Declare term_ntproc correctly.
7767 * nt.c: Remove incorrect declaration of get_home_directory which
7768 is declared correctly in lisp.h.
7770 * keymap.c (get_keyelt): Avoid compiler warnings.
7771 (raw_lookup_key_mapper): Avoid compiler warnings.
7773 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7775 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7777 * filemode.c (mode_string): Avoid compiler warnings.
7779 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7782 * events-mod.h: Undef some things that winuser.h defines differently.
7784 * data.c (Faset): Avoid compiler warnings.
7786 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7788 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7790 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7791 Fall through to simple beep on error.
7792 Replace "extern" by real header file.
7794 * linuxplay.c: Use nativesound.h
7795 (play_sound_data): Return error code. Be less verbose on error.
7797 * sunplay.c: Use nativesound.h
7798 (play_sound_data): Return error code. Be less verbose on error.
7800 * ntplay.c: Use nativesound.h
7801 (play_sound_data): Return fake error code
7803 * sgiplay.c: Use nativesound.h
7804 (play_sound_data): Return error code
7806 * hpplay.c: Use nativesound.h, partially implement
7807 new error code. Break compilation until finished.
7808 (play_sound_data): error code.
7810 * nativesound.h (play_sound_file):
7811 (play_sound_data): Prototype in new header.
7813 2000-03-31 Andy Piper <andy@xemacs.org>
7815 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7816 for toggle and radio buttons.
7817 (image_instantiator_buttons): use it.
7819 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7821 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7822 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7823 found. Scrollbar event probably belonged to some old config.
7825 2000-03-31 Andy Piper <andy@xemacs.org>
7827 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7829 (initialize_widget_image_instance): default layout to
7830 LAYOUT_HORIZONTAL rather than 0.
7831 (widget_instantiate): reverse the item list at the end rather than
7833 (layout_layout): re-code for the border text at the front of the
7834 item list rather than at the end.
7835 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7836 provided by the user.
7837 (widget_query_geometry): comment.
7839 2000-03-30 Andy Piper <andy@xemacs.org>
7841 * glyphs-widget.c (image_instantiator_layout): allow standard
7842 widget keywords in layouts.
7844 * gutter.c (output_gutter): cope with nil gutter contents.
7846 * frame.c (Fset_frame_properties): add gutter docs.
7848 2000-03-29 Andy Piper <andy@xemacs.org>
7850 * toolbar-msw.c (TBSTYLE_FLAT): add.
7851 (mswindows_output_toolbar): minor fiddling.
7853 2000-03-29 Andy Piper <andy@xemacs.org>
7855 * gutter.c (output_gutter): force gutter size recalculation if
7856 what we are trying to display won't fit.
7857 (update_gutter_geometry): new function. A per-gutter version of
7858 update_frame_gutter_geometry.
7859 (update_frame_gutter_geometry): use it.
7860 (redraw_exposed_gutter): add extra debugging output.
7862 2000-03-28 Mike Alexander <mta@arbortext.com>
7864 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7865 (pdump_file_unmap): Implement it on Windows
7866 (pdump_file_get): Save alocated handles for pdump_file_unmap
7868 2000-03-28 Andy Piper <andy@xemacs.org>
7870 * gui.c (get_gui_callback): treat Quit specially.
7872 2000-03-27 Andy Piper <andy@xemacs.org>
7874 * glyphs.c (image_instantiate): be careful to check in the same
7877 2000-03-27 Didier Verna <didier@xemacs.org>
7879 * config.h.in: define the proper SMART_INCLUDE macro.
7880 handle renaming of `foo_h_path' to `foo_h_file'.
7882 * database.c: ditto.
7886 * linuxplay.c: ditto.
7888 * terminfo.c: ditto.
7890 * tooltalk.h: ditto.
7892 2000-03-27 Andy Piper <andy@xemacs.org>
7894 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7895 gets updated whenever the face might have changed.
7897 2000-03-26 Mike Alexander <mta@arbortext.com>
7899 * dumper.c (pdump_resource_free): Fix the comment.
7901 2000-03-21 Olivier Galibert <galibert@pobox.com>
7903 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7905 2000-03-22 Mike Alexander <mta@arbortext.com>
7907 * dumper.c: Include Windows headers on Windows
7908 (pdump_resource_free): Add a body to the function
7909 (pdump_load): exe_name -> exe_path and add some comments.
7911 2000-03-25 Mike Alexander <mta@arbortext.com>
7913 * gui.c (copy_gui_item_tree): Return a value in all cases
7915 2000-03-21 Didier Verna <didier@xemacs.org>
7917 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7919 (SMART_INCLUDE): new macro.
7920 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7921 the proper location.
7923 * postgresql.c: use it.
7927 2000-03-24 Andy Piper <andy@xemacs.org>
7929 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7932 2000-03-24 Andy Piper <andy@xemacs.org>
7934 * redisplay-output.c (compare_runes): use image_instance_changed
7935 to detect changes. Do not depend on glyphs_changed, only depend on
7937 (redisplay_output_layout): add debug messages.
7938 (compare_runes): ditto.
7940 * glyphs.h: declare new functions.
7941 (struct Lisp_Image_Instance): remove percent and associated
7944 * gui.h: declare new copying functions.
7946 * gui.c (copy_gui_item_tree): new function.
7947 (copy_gui_item): new function.
7948 (gui_item_id_hash): revert to standard hash.
7949 (gui_item_hash): ditto.
7950 (gui_item_hash_internal): deleted.
7951 (mark_gui_item): mark value.
7952 (gui_item_add_keyval_pair): add value.
7953 (gui_item_init): ditto.
7954 (gui_add_item_keywords_to_plist): ditto.
7955 (gui_item_equal): ditto.
7956 (syms_of_gui): add Q_value.
7958 * glyphs-x.c (x_progress_gauge_update): use pending items and
7959 value for setting the state.
7960 (x_update_widget): don't set items from pending here.
7962 * glyphs-widget.c (update_widget): update items here.
7963 (progress_gauge_set_property): use items for storing value. Put
7964 new value in pending items.
7966 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
7967 items for new value. Convert percent -> value.
7968 (mswindows_tab_control_update): don't update items here.
7970 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
7971 (update_subwindow): ditto.
7972 (image_instance_changed): new function. Compare hash values and
7973 past and present widget items.
7974 (image_instantiate): We more careful about where we instantiate
7976 (image_instantiate): add error checking.
7978 * gutter.c (syms_of_gutter): use -hook.
7980 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
7982 * console-tty.c (Fset_console_tty_input_coding_system): Use
7984 (Fset_console_tty_output_coding_system): Use Qterminal.
7985 (tty_init_console): Use Qkeyboard and Qterminal.
7987 2000-03-21 Ben Wing <ben@xemacs.org>
7989 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
7990 From Mike Alexander <mta@arbortext.com>.
7992 2000-03-21 Ben Wing <ben@xemacs.org>
7994 * event-msw.c (mswindows_need_event): Horrible kludge to fix
7995 process brokenness. Proper implementation to come.
7997 Rename call-process-internal to old-call-process-internal.
7998 New impl. in process.el.
8000 2000-03-21 Martin Buchholz <martin@xemacs.org>
8002 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8004 2000-03-20 Andy Piper <andy@xemacs.org>
8006 * glyphs.c (full_list_hash): make hashes of the same elements in
8007 different orders return different values.
8009 2000-03-20 Martin Buchholz <martin@xemacs.org>
8011 * XEmacs 21.2.32 is released.
8013 2000-03-20 Martin Buchholz <martin@xemacs.org>
8015 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8016 (DFC_MALLOC_USE_CONVERTED_DATA):
8017 Add aliasing-safe casts to allow use with char* or unsigned char*
8020 * eldap.c (Fldap_open):
8021 (Fldap_search_basic):
8024 Make C++-compilable.
8025 Make sure GCPRO'ed variables are initialized.
8026 Use temp variables to avoid repeated calls to Flength.
8028 2000-03-16 Martin Buchholz <martin@xemacs.org>
8031 Make sure PATH_MAX is always defined.
8032 Include limits.h for PATH_MAX.
8033 Deprecate use of MAXPATHLEN.
8035 2000-03-10 Martin Buchholz <martin@xemacs.org>
8037 * emacs.c: Add reinit_vars_of_fileio.
8038 * symsinit.h: Add reinit_vars_of_fileio.
8039 * fileio.c (reinit_vars_of_fileio): New.
8040 * fileio.c (Fmake_temp_name):
8041 Initialize temp_name random number from microseconds to make
8042 collisions even less likely. Initialize always at process startup
8043 time. (make-temp-name) used to return the same file name twice in
8045 Random stylistic fiddling.
8048 2000-03-20 Andy Piper <andy@xemacs.org>
8050 * glyphs.c (image_instantiate): allow text glyphs to be
8051 instantiated in the minibuffer window.
8053 2000-03-19 Andy Piper <andy@xemacs.org>
8055 * glyphs.c (image_instance_hash): be careful about which items we
8058 * glyphs-widget.c (tab_control_set_property): record into pending
8059 items rather than the actual items.
8061 * glyphs-x.c (x_update_widget): use pending items to update with.
8063 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8066 * glyphs.c (mark_image_instance): mark pending items.
8068 * window.c (Fset_window_configuration): record the buffer.
8069 (Fselect_window): totally revert previous change which breaks many
8072 2000-03-18 Andy Piper <andy@xemacs.org>
8074 * glyphs-msw.c (mswindows_tab_control_update): force selected
8077 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8078 window domain cache, otherwise we get inconsistencies at
8079 startup. There is something fishy at startup which can lead to the
8080 minibuffer being the selected window when the gutter content is
8083 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8085 (parse_gui_item_tree_children): ditto.
8086 (parse_gui_item_tree_item): ditto.
8088 * glyphs.c (Fupdate_widget_instances): return something.
8090 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8092 * window.c (Fselect_window): Undo 2000-03-17 change.
8094 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8096 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8097 against v7.0 libraries. Insta-coredump city until the postgres
8100 2000-03-17 Andy Piper <andy@xemacs.org>
8102 * faces.c (complex_vars_of_faces): don't give the widget face an
8103 inherited background pixmap.
8105 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8108 * event-stream.c (Fdispatch_non_command_events): return something.
8110 * gutter.c (output_gutter): use widget face.
8111 (clear_gutter): ditto.
8113 * NEWS: adjust again.
8115 * window.c (Fselect_window): make sure this runs to completion to
8116 avoid oddities with Fset_window_configuration.
8117 (Fcurrent_window_configuration): in general do not save the
8118 minibuffer as the selected window.
8120 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8122 2000-03-16 Olivier Galibert <galibert@pobox.com>
8124 * emacs.c (Frunning_temacs_p): Revert previous patch.
8125 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8127 2000-03-16 Andy Piper <andy@xemacs.org>
8129 * glyphs-x.c (x_tab_control_update): if no widget values then
8132 * NEWS: update for new features.
8134 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8135 synthetic event to the native system.
8136 (reinit_vars_of_event_Xt): set force_event_pending to
8137 emacs_Xt_force_event_pending.
8139 * events.h (struct event_stream): add force_event_pending.
8141 * specifier.c (recompute_one_cached_specifier_in_window): add
8144 * redisplay.c (redisplay_frame): don't call
8145 update_frame_subwindows. Reset subwindow cachels when
8146 subwindows_changed, removing this was an optimization too far.
8148 * redisplay-output.c (compare_runes): reorganize so that we catch
8149 glyph changes when we want them. Set optimize_output when this
8151 (redisplay_output_layout): remove frame_really_changed, use
8152 optimize_output instead.
8154 * redisplay-msw.c (mswindows_output_display_block): reset
8155 optimize_output after outputting a glyph.
8156 * redisplay-x.c (x_output_display_block): ditto.
8157 * redisplay-tty.c (tty_output_display_block): ditto.
8159 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8161 (gutter_specs_changed): do specific gutter positions.
8162 (top_gutter_specs_changed): new function. Only update the
8163 specified gutter specs.
8164 (bottom_gutter_specs_changed): ditto.
8165 (left_gutter_specs_changed): ditto.
8166 (right_gutter_specs_changed): ditto.
8168 * gui.c (gui_item_hash_internal): new function, does a real hash.
8169 (gui_item_id_hash): use it.
8170 (gui_item_hash): hash the eval'ed gui_item.
8172 * gui-x.c (popup_selection_callback): send an eval event to call
8173 Fupdate_widget_instances.
8175 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8176 to call Fupdate_widget_instances.
8178 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8179 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8181 * glyphs.c: (update_frame_subwindows): deleted.
8182 (Fupdate_widget_instances): new function for updating the dirty
8183 state of widgets that might have changed.
8184 (syms_of_glyphs): add Qupdate_widget_instances.
8185 (full_list_hash): hash a list completely.
8186 (image_instance_hash): use it for items and properties.
8188 * frame-msw.c (mswindows_size_frame_internal): remove unused
8191 * faces.h (struct face_cachel): fix comment.
8193 * event-stream.c (Fdispatch_non_command_events): new
8194 function. Process non-command events, forcing an event cycle
8196 (syms_of_event_stream): declare.
8197 (event_stream_force_event_pending): new function. Force an event
8198 on the native event queue so that an event cycle will occur next
8202 (struct ntpipe_shove_stream):
8203 (mswindows_enqueue_dispatch_event):
8204 (mswindows_dequeue_dispatch_event):
8205 (mswindows_cancel_dispatch_event):
8206 (mswindows_pump_outstanding_events):
8207 (mswindows_drain_windows_queue):
8208 (mswindows_handle_paint):
8209 (mswindows_wnd_proc):
8210 (mswindows_key_to_emacs_keysym):
8211 (get_process_input_waitable):
8212 (emacs_mswindows_delete_stream_pair): re-indent file.
8213 (mswindows_need_event): do not process further fds if the windows
8214 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8215 fixes the 100% cpu problem.
8216 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8218 2000-03-15 Olivier Galibert <galibert@pobox.com>
8224 * emacs.c: Moved dump file searching to dumper.c.
8225 (Frunning_temacs_p): Fixed.
8227 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8228 last_lrecord_type_index_assigned.
8230 2000-02-20 Olivier Galibert <galibert@pobox.com>
8232 * symsinit.h: Added reinit parameter to init_console_stream
8235 * lisp.h: Added file parameter to pdump_load declaration.
8237 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8238 support. Added dump file searching.
8240 * config.h.in: Added EMACS_PROGNAME.
8242 * console-stream.c (init_console_stream): Fix reinitialisation
8243 when running from temacs.
8245 * alloc.c (pdump): Add id support.
8246 (pdump_load): Add file parameter and signature/id support.
8248 * Makefile.in.in: Add full pdump support.
8250 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8252 * postgresql.c: Update documentation to reflect latest code
8254 (print_result): Show tuple counts in printed representation when
8256 (Fpq_put_nbytes): MULE-ize.
8257 (Fpq_get_line_async): Ditto.
8259 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8261 * postgresql.c (Fpq_lo_import): Fix return value.
8262 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8264 2000-03-13 Ben Wing <ben@xemacs.org>
8266 * alloc.c (pdump_load):
8267 Fix compile warning under mswin.
8269 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8271 * postgresql.c: Mule-ization, bug fixes.
8272 Use PG_CODING to encapsulate coding system name changes.
8273 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8274 (pg-coding-system): Create.
8276 (Fpq_conn_defaults): Mule-ize.
8277 (Fpq_connectdb): Mule-ize & bug fix.
8278 (Fpq_connect_start): Mule-ize.
8279 (Fpq_set_client_encoding): Mule-ize.
8280 (Fpq_finish): Document `DEAD' connection status.
8282 (Fpq_pgconn): Mule-ize.
8283 (Fpq_exec): Mule-ize & bug fix.
8284 (Fpq_send_query): Ditto.
8285 (Fpq_get_result): Ditto.
8286 (Fpq_res_status): Mule-ize.
8287 (Fpq_result_error_message): Mule-ize.
8288 (Fpq_ntuples): fix comments.
8289 (Fpq_fname): Mule-ize.
8290 (Fpq_fnumber): Mule-ize.
8291 (Fpq_ftype): fix comments.
8292 (Fpq_get_value): Mule-ize.
8293 (Fpq_cmd_status): Ditto.
8294 (Fpq_cmd_tuples): Ditto.
8295 (Fpq_oid_value): Ditto.
8296 (Fpq_notifies): Ditto.
8297 (Fpq_lo_import): Ditto.
8298 (Fpq_lo_export): Ditto.
8299 (Fpq_get_line): Ditto.
8300 (Fpq_put_line): Mule-ize and bug fix.
8301 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8303 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8305 * postgresql.c (vars_of_postgresql): Mule-ize.
8306 (Fpq_conn_defaults): Ditto.
8308 2000-03-12 Ben Wing <ben@xemacs.org>
8310 * alloc.c (Fmake_byte_code):
8311 * alloc.c (debug_string_purity_print):
8312 * alloc.c (pdump_backtrace):
8313 * alloc.c (pdump_get_indirect_count):
8314 * alloc.c (pdump_register_sub):
8315 * alloc.c (pdump_register_object):
8316 * alloc.c (pdump_register_struct):
8317 * alloc.c (pdump_dump_data):
8318 * alloc.c (pdump_reloc_one):
8322 * console-msw.c (GetConsoleHwnd):
8323 * console-msw.c (msw_hide_console):
8324 * console-msw.c (msw_show_console):
8325 * console-msw.c (msw_ensure_console_buffered):
8326 * console-msw.c (msw_output_console_string):
8327 * console-msw.c (console_type_create_mswindows):
8329 a) Added functions to manipulate the console window for use with
8332 b) Added support for writing text to the console, which is now
8333 used under Windows when xemacs is not being run non-interactively,
8334 to write text that would otherwise be destined for stdout because
8335 under these circumstances, text written to stdout tends to
8336 disappear and not be seen.
8340 * event-Xt.c (x_event_to_emacs_event):
8341 * event-Xt.c (describe_event_window):
8342 * events-mod.h (XEMACS_MOD_CONTROL):
8344 * events.c (Fmake_event):
8345 * events.c (character_to_event):
8346 * events.c (event_to_character):
8347 * events.c (format_event_object):
8348 * events.c (Fevent_modifiers):
8350 * events.h (struct key_data):
8351 * events.h (struct button_data):
8352 * events.h (struct misc_user_data):
8353 * frame-x.c (Fcde_start_drag_internal):
8354 * frame-x.c (Foffix_start_drag_internal):
8355 * gpmevent.c (Freceive_gpm_event):
8357 * keymap.c (bucky_sym_to_bucky_bit):
8358 * keymap.c (control_meta_superify):
8359 * keymap.c (make_key_description):
8360 * keymap.c (keymap_lookup_directly):
8361 * keymap.c (create_bucky_submap):
8362 * keymap.c (keymap_store):
8363 * keymap.c (define_key_check_and_coerce_keysym):
8364 * keymap.c (define_key_parser):
8365 * keymap.c (define_key_alternate_name):
8366 * keymap.c (Fdefine_key):
8367 * keymap.c (raw_lookup_key_mapper):
8368 * keymap.c (struct map_keymap_unsorted_closure):
8369 * keymap.c (map_keymap_unsorted_mapper):
8370 * keymap.c (map_keymap_sort_predicate):
8371 * keymap.c (map_keymap_sorted):
8372 * keymap.c (accessible_keymaps_mapper_1):
8373 * keymap.c (where_is_recursive_mapper):
8374 * keymap.c (describe_map_mapper):
8375 * keymap.c (describe_map_sort_predicate):
8376 * keymap.c (describe_map):
8377 * keymap.c (complex_vars_of_keymap):
8378 And a number of other files, the key modifier preprocessor
8379 constants that xemacs uses have names that conflict with constants
8380 defined under MS Windows for other purposes, so they were renamed
8381 to begin with the prefix XEMACS_. The variables that hold such
8382 modifiers were changed to consistently be of type int to fix
8383 various compile warnings.
8385 * console.c (complex_vars_of_console):
8388 * device-msw.c (mswindows_finish_init_device):
8389 * device-msw.c (msw_get_workspace_coords):
8390 * device-msw.c (mswindows_device_system_metrics):
8391 and various other files, added support for a new
8392 device property called offset-workspace which returns the position
8393 of the upper left corner of the workspace area and goes along with
8394 the existing size-workspace property.
8397 * dialog-msw.c (push_bufbyte_string_as_unicode):
8398 * dialog-msw.c (mswindows_popup_dialog_box):
8399 Added support for XEmacs-style accelerator specifications in
8400 button text. Note: I didn't add support for this under X Windows,
8401 and somebody needs to do this.
8404 * dialog.c (Fpopup_dialog_box):
8405 Documented the support for accelerators that was just mentioned.
8407 editfns.c (get_home_directory): Changed behavior under Windows
8408 when HOME not defined; former behavior was irretrievably broken.
8413 * minibuf.c (clear_echo_area_internal):
8414 * minibuf.c (echo_area_append):
8416 * print.c (std_handle_out_external):
8417 * print.c (std_handle_out_va):
8419 * print.c (write_string_to_stdio_stream):
8420 * print.c (output_string):
8421 * print.c (debug_print):
8422 * print.c (debug_backtrace):
8423 * print.c (debug_short_backtrace):
8424 Cleaned up the code that prints text to stdout so that this can be
8425 changed to output into a console window instead under MS Windows,
8429 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8430 * eval.c (internal_catch):
8431 * eval.c (unwind_to_catch):
8432 * eval.c (throw_or_bomb_out):
8433 * eval.c (condition_case_1):
8434 * eval.c (signal_1):
8435 * eval.c (check_error_state_sanity):
8436 * eval.c (call_with_suspended_errors_1):
8437 * eval.c (call_with_suspended_errors):
8438 * eval.c (reinit_vars_of_eval):
8439 Added code to catch throw loops and check for a pesky bug that may
8443 * event-msw.c (key_needs_default_processing_p):
8444 * event-msw.c (mswindows_wnd_proc):
8445 * event-msw.c (mswindows_modifier_state):
8446 * event-msw.c (emacs_mswindows_quit_p):
8447 * event-msw.c (vars_of_event_mswindows):
8448 a) Added support for using the alt key to select menu items as is
8449 standard under MS Windows. This is controlled using the variable
8450 menu-accelerator-enabled, just like under X Windows. There is an
8451 option on the options menu to turn this support on. I really
8452 think that it should be on by default under Windows, but I'm not
8453 going to make this change yet.
8455 b) Added support for dynamic display size changes under Windows.
8458 * event-stream.c (maybe_echo_keys):
8459 * event-stream.c (Fnext_event):
8460 * event-stream.c (command_builder_find_leaf):
8461 * event-stream.c (lookup_command_event):
8462 * event-stream.c (execute_command_event):
8463 * event-stream.c (pre_command_hook):
8464 * event-stream.c (post_command_hook):
8465 * event-stream.c (syms_of_event_stream):
8466 * event-stream.c (vars_of_event_stream):
8467 * event-stream.c (complex_vars_of_event_stream):
8468 * events.h (struct command_builder):
8470 a) Tried to clean up a little bit the horribly written x-specific
8471 accelerator code that crept into this file. I moved this code
8472 into menubar-x.c where it belongs. I also needed to move the
8473 command builder structure into the file events.h because it is
8474 accessed directly by this accelerator code. What I didn't do, but
8475 which should be done at some point, is to properly abstract this
8476 code using device methods instead of the kludgy way that it
8477 currently hooks into the event code.
8479 b) Added the lisp variables this-command-properties and
8480 last-command- properties, which should be used to synchronize two
8481 adjacent commands in preference to playing games with the variable
8482 this-command, which is typically what happens.
8484 c) Added some slightly nasty code to hook into the lisp support
8485 for shifted- motion-key selection. This is actually necessary for
8486 somewhat complicated reasons, which are described in
8487 simple.el. (NB: I think the proper thing would be to have the code
8488 that calls the pre and post command hooks also call out to generic
8489 lisp functions in simple.el, where all built-in stuff could be
8490 added. I will think about this more.)
8492 * event-unixoid.c (poll_fds_for_input):
8493 * lread.c (readchar):
8494 * redisplay-tty.c (tty_clear_frame):
8495 * redisplay-x.c (x_get_gc):
8496 * signal.c (interrupt_signal):
8497 And a whole bunch of other files: fixed up places that printed
8498 directly to stderr to instead call the function stderr_out so that
8499 the changes I made under Windows work correctly.
8501 * filemode.c (mode_string):
8505 * frame-msw.c (mswindows_size_frame_internal):
8506 Fixed the computation of frame size and position to keep the frame
8507 within the workspace area, rather than within the physical
8508 dimensions of the screen, so that the frame doesn't overlap window
8509 manager decorations, such as the start menu and toolbar, typically
8510 at the bottom of the screen.
8512 * frame.c (vars_of_frame):
8513 Changed the default frame title format under MS Windows to consist
8514 of buffername-XEmacs, which is standard under MS Windows. I think
8515 it might be a good idea to change this everywhere because I think
8516 it is superior to the current frame title format, but this is the
8517 kind of change that is likely to cause some people to get annoyed,
8518 so I'm not making it.
8520 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8522 * gui-msw.c (mswindows_handle_gui_wm_command):
8523 Fixed compile warnings.
8526 * gui-x.c (strdup_and_add_accel):
8527 * gui-x.c (button_item_to_widget_value):
8529 Added code to automatically put an accelerator onto the beginning
8530 of menu items that don't have one as is now the standard, and is
8531 described more later. Also fixed things so that the menu item
8532 name can be an evaluated expression, again a new standard.
8535 * gui.c (gui_item_add_keyval_pair):
8536 * gui.c (make_gui_item_from_keywords_internal):
8537 * gui.c (gui_add_item_keywords_to_plist):
8538 * gui.c (gui_item_accelerator):
8539 * gui.c (gui_name_accelerator):
8540 * gui.c (gui_item_included_p):
8541 * gui.c (gui_item_display_flush_left):
8542 * gui.c (gui_item_display_flush_right):
8543 * gui.c (parse_gui_item_tree_item):
8544 * gui.c (parse_gui_item_tree_children):
8545 * gui.c (parse_gui_item_tree_list):
8546 Mule-ized. Cleanup. GCPRO addition.
8548 * line-number.c (buffer_line_number):
8550 * lisp.h (EMACS_INT_MAX):
8551 Added the manifest constant EMACS_INT_MIN corresponding to the
8552 existing constant EMACS_INT_MAX. This is partially to fix compile
8553 warnings under Windows, and partly for cleanliness.
8556 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8557 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8558 * menubar-msw.c (displayable_menu_item):
8559 * menubar-msw.c (populate_menu_add_item):
8560 * menubar-msw.c (populate_or_checksum_helper):
8561 * menubar-msw.c (populate_menu):
8562 * menubar-msw.c (update_frame_menubar_maybe):
8563 * menubar-msw.c (prune_menubar):
8564 * menubar-msw.c (msw_char_is_accelerator):
8565 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8566 * menubar-msw.c (mswindows_handle_wm_command):
8567 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8568 * menubar-msw.c (mswindows_handle_wm_initmenu):
8569 * menubar-msw.c (mswindows_update_frame_menubars):
8570 * menubar-msw.c (mswindows_free_frame_menubars):
8571 * menubar-msw.c (mswindows_popup_menu):
8572 Fixed a bug in handling accelerators where an extra character
8573 would be displayed in the menu item. Also generalized the
8574 function displayable_menu_item because it is now used by the
8575 dialog box code as well. And finally, added code in the functions
8576 that create the menubar to extract a list of accelerators for the
8577 top level menubar, which is used in the event code to determine
8578 whether a particular alt-key combination should be used to invoke
8579 a menu item, or should be passed through to access the standard
8580 XEmacs keymap binding for this key combination.
8582 Much needed GCPROing.
8585 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8586 * menubar-x.c (menu_item_descriptor_to_widget_value):
8587 * menubar-x.c (restore_in_menu_callback):
8588 * menubar-x.c (x_popup_menu):
8589 * menubar-x.c (menu_move_up):
8590 * menubar-x.c (menu_move_down):
8591 * menubar-x.c (menu_move_left):
8592 * menubar-x.c (menu_move_right):
8593 * menubar-x.c (menu_select_item):
8594 * menubar-x.c (command_builder_operate_menu_accelerator):
8595 * menubar-x.c (menu_accelerator_junk_on_error):
8596 * menubar-x.c (command_builder_find_menu_accelerator):
8597 * menubar-x.c (Faccelerate_menu):
8599 Moved a whole bunch of code here that was previously in
8600 event-stream.c as described above. There is also code connected
8601 to the new standard of adding an accelerator to the beginning of
8602 menu items that don't have one as described above and below.
8605 * menubar.c (menu_parse_submenu_keywords):
8606 * menubar.c (Fmenu_find_real_submenu):
8607 * menubar.c (Fnormalize_menu_item_name):
8608 * menubar.c (syms_of_menubar):
8609 * menubar.c (vars_of_menubar):
8610 * menubar.c (complex_vars_of_menubar):
8612 a) Cleaned up a bunch of documentation and improved it.
8614 b) XEmacs now automatically adds an accelerator onto the beginning
8615 of any menu items that don't have one. I did this because there
8616 will inevitably be some menu items on the main menubar that don't
8617 have accelerators on them because the package that adds that
8618 particular menu item hasn't yet been fixed up to have accelerators
8619 in them and it looked rather strange to have some items with and
8620 some items without accelerators, especially since even in items
8621 without accelerators, you can, at least under windows, still
8622 access the item through an accelerator corresponding to the first
8623 character in the item's name. If people don't like this behavior,
8624 I can add a variable to turn it off optionally, but I'm not sure
8625 this is a good idea because we really do need to have accelerators
8626 on all of the menu items, and if a package doesn't like the
8627 accelerators being put on the first character, then it should put
8628 the accelerators where they belong.
8630 c) I made a behavior change, which is that the descriptor that
8631 specifies the text of the menu item, which formerly was just a
8632 string, can now also be an evaluated expression. This makes this
8633 descriptor parallel with all of the others, which could also be
8634 evaluated expressions. This also obviates the need for the
8635 keyword :label, which was previously listed in the documentation
8636 as unimplemented, and which was for the same purpose.
8641 * ntproc.c (new_child):
8642 * ntproc.c (sys_spawnve):
8643 * ntproc.c (find_child_console):
8644 * ntproc.c (sys_kill):
8645 Fixed compile warnings. By the way, this file should really go
8646 away entirely, and this will happen as soon as Kirill makes his
8647 final round of process cleanups, which affect the function
8651 * process-nt.c (struct nt_process_data):
8652 * process-nt.c (find_process_from_pid):
8653 * process-nt.c (send_signal_the_nt_way):
8654 * process-nt.c (enable_child_signals):
8655 * process-nt.c (find_child_console):
8656 * process-nt.c (send_signal_the_95_way):
8657 * process-nt.c (nt_finalize_process_data):
8658 * process-nt.c (ensure_console_window_exists):
8659 * process-nt.c (nt_create_process):
8660 * process-nt.c (nt_kill_child_process):
8661 * process-nt.c (nt_kill_process_by_pid):
8662 * process-nt.c (nt_open_network_stream):
8663 * process-nt.c (vars_of_process_nt):
8664 Copied over code from Emacs 20.5 to correctly send signals to sub-
8665 processes under Windows 95. Also added code to automatically
8666 create and hide console window when a sub-process is created under
8667 Windows 95, which obviates the need for the separate runemacs.exe
8668 executable, and finally implemented some variables that were
8669 implemented in Emacs 20.5, but previously not in XEmacs. These
8670 include mswindows- start-process-share-console and
8671 mswindows-start-process-inherit-error-mode. (Both of these only
8672 apply to Windows 95.)
8674 * regex.c (regex_compile): Fixed a compile warning.
8677 * select-msw.c (mswindows_own_selection):
8678 * select-msw.c (mswindows_get_foreign_selection):
8679 * select-msw.c (mswindows_disown_selection):
8680 * select-msw.c (console_type_create_select_mswindows):
8681 * select-msw.c (syms_of_select_mswindows):
8682 Cleaned up the file and implemented the device method
8683 selection_exists_p, which had accidentally been left out. Also
8684 removed four lisp functions that were remnants from before the
8685 time when the selection code was properly device abstracted.
8686 These functions are no longer needed because there are generic
8687 equivalents, and because they were added recently and don't exist
8688 in FSF Emacs, I don't think there's any problem with just deleting
8692 * sysdep.c (sys_subshell):
8693 Fixed a compile warning, although in this case there's probably
8694 something wrong with this code, and it ought to be looked into
8695 more thoroughly by somebody who understands it.
8698 * window.c (Fwindow_text_area_height):
8699 * window.c (Fwindow_width):
8700 * window.c (Fwindow_full_width):
8701 * window.c (Fwindow_pixel_width):
8702 * window.c (debug_print_window):
8703 * window.c (syms_of_window):
8704 Added functions window-text-area-height and window-full-width,
8705 which are functions for returning various width and height
8706 characteristics of a window. (One of these functions is necessary
8707 for making the file dialog box work correctly, and the other one
8708 was added for completeness.) Also added a table to the
8709 documentation for window-height which describes the entire scheme
8710 for accessing width and height characteristics of a window.
8712 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8714 * nt.c (fstat): Added a comment for another problem with
8715 non-encapsulated [f]stat(), reported by Adrian Aichner
8716 <aichner@ecf.teradyne.com>.
8718 2000-03-11 Andy Piper <andy@xemacs.org>
8720 * window.c (make_dummy_parent): initialize subwindow instance
8722 (Fset_window_configuration): zero extent_modiff.
8724 2000-03-10 Andy Piper <andy@xemacs.org>
8726 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8727 more changes can be triggered.
8728 (Fredisplay_frame): ditto.
8729 (Fredraw_device): ditto.
8730 (Fredisplay_device): ditto.
8731 (redisplay_frame): make non-static.
8732 (redisplay_frame): call update_frame_gutter_geometry outside of
8735 * gutter.h: declare update_frame_gutter_geometry.
8737 * redisplay.h: declare redisplay_frame.
8739 * gutter.c (update_frame_gutter_geometry): move geometry changes
8740 in update_frame_gutters here. Geometry changes can only occur
8741 outside of redisplay.
8742 (update_frame_gutters): remove geometry change code.
8743 (Fredisplay_gutter_area): make sure that we are in display when we
8744 update and that we have flushed any size changes.
8746 2000-03-11 Andy Piper <andy@xemacs.org>
8748 * alloc.c (pdump_dump_data): remove i & count shadows.
8750 2000-02-27 Mike Alexander <mta@arbortext.com>
8752 * sysdep.h: Declare pdump_read_file
8754 * sysdep.c (pdump_read_file): New function
8756 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8759 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8761 * lrecord.h: add `lrecord_type_pgsetenv'.
8763 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8765 * symsinit.h: declare (vars|syms)_of* functions.
8766 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8768 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8770 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8772 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8775 * emacs.c (main_1): Call postgres initialization code.
8777 * postgresql.h: New file. PostgreSQL RDBMS support.
8778 * postgresql.c: New file.
8780 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8782 * redisplay-output.c (redisplay_output_display_block): Disable
8785 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8787 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8788 (Fcanna_henkan_next): Ditto.
8789 (Fcanna_bunsetu_henkou): Ditto.
8790 (Fcanna_henkan_kakutei): Ditto.
8791 (Fcanna_henkan_end): Ditto.
8792 (Fcanna_henkan_quit): Ditto.
8793 (Fcanna_henkan_next): Set retun value correctly.
8794 (c2mu): Use unsigned char instead of signed char.
8796 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8798 * emacs.c (main_1): Always call syms_of_gui.
8799 * inline.c: include gui.h
8801 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8803 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8804 converted to Lisp_Object.
8805 (Qtop_bottom): New variable.
8806 (syms_of_redisplay): Initialize it.
8807 * redisplay.h (Vvisible_bell): Ditto.
8808 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8809 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8810 only flash top and bottom.
8812 2000-03-08 Andy Piper <andy@xemacs.org>
8814 * buffer.c (Frename_buffer): record new buffer name the right way.
8816 2000-03-08 Andy Piper <andy@xemacs.org>
8818 * glyphs.c (update_subwindow): increase hash depth so that widget
8819 items get picked up properly.
8821 * redisplay-output.c (compare_runes): increase hash depth so that
8822 widget items get picked up properly.
8824 2000-03-08 Andy Piper <andy@xemacs.org>
8826 * gutter.c (output_gutter): add some debug.
8828 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8829 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8830 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8832 * redisplay-output.c (compare_runes): use display_hash to
8833 determine if glyphs really are not the same.
8835 * glyphs.c (update_subwindow): check display_hash to see if
8836 anything really needs to be updated. If not then do
8837 nothing. Record the display_hash after updating.
8838 (image_instance_equal): compare the image_instance face also.
8840 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8842 * redisplay.h: Fix comment style.
8844 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8846 * consle-msw.h (struct mswindows_frame):
8847 Added new member paint_pending to indicate whether a WM_PAINT
8848 magic event has been queued for this frame.
8850 * event-msw.c (mswindows_drain_windows_queue):
8851 Don't queue a WM_PAINT magic event if one is already queued.
8852 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8854 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8856 2000-03-07 Didier Verna <didier@xemacs.org>
8858 * dired.c: #include `regex.h' after `sysfile.h'.
8860 2000-03-06 Martin Buchholz <martin@xemacs.org>
8862 * sound.c (init_nas_sound): Fix compiler warning.
8864 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8866 (MARK_STRUCT_AS_FREE):
8867 (MARK_STRUCT_AS_NOT_FREE):
8868 Make `gcc -fstrict-aliasing' work properly.
8870 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8872 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8873 (mswindows_delete_device): Call CoUnnitialize().
8875 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8877 2000-02-25 <CraigL@DyCon.com>
8879 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8882 * sysdep.c: This extern declaration for environ prevents MinGW
8883 from finding the variable in CRTDLL.DLL.
8885 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8889 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8891 (MMRESULT): Removed, now defined in cygwin's windows headers.
8893 (uid_t,gid_t,pid_t,ssize_t): ..
8894 (_timeb): Removed, MinGW defines both _timeb and timeb.
8895 (HAVE_H_ERRNO): Added.
8896 (HAVE_TZNAME): Added, configure is not detecting this.
8898 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8900 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8901 * syntax.c (syntax_match): Use it.
8903 * cmds.c: Import auto-fill-chars from FSF Emacs.
8904 (Vauto_fill_chars): New variables.
8905 (internal_self_insert): Check Vauto_fill_chars.
8907 Declare auto-fill-chars as a Lisp variable and initialize it.
8909 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8911 * fileio.c (Fmake_symbolic_link):
8913 Run handlers even if local machine doesn't have symlinks.
8915 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8917 * event-msw.c (mswindows_drain_windows_queue):
8918 Don't generate paint magic events for non-XEmacs frames.
8920 2000-03-05 Andy Piper <andy@xemacs.org>
8922 * redisplay.c (redisplay_frame): generate_displayable_area and
8923 friends assumes that we are not in GC, we therefore have to make
8924 sure that this doesn't happen.
8926 * gutter.c (calculate_gutter_size): generate_displayable_area
8927 assumes that we are not in GC, we therefore have to make sure that
8928 this doesn't happen.
8930 2000-03-05 Martin Buchholz <martin@xemacs.org>
8932 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8934 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8936 * redisplay.c (regenerate_window): Make sure we set a sane value
8937 for end_pos even if we jump out of the loop.
8938 (regenerate_window): Answer Ben's question :-).
8939 (start_end_of_last_line): Add may_error argument.
8940 (start_of_last_line):
8941 (end_of_last_line): Pass may_error = 0.
8942 (end_of_last_line_may_error): New function.
8943 (pixel_to_glyph_translation): Use it, so we don't crash in
8946 2000-03-04 Andy Piper <andy@xemacs.org>
8948 * window.h (struct window): add gutter_extent_modiff.
8950 * window.c (allocate_window): zero out gutter_extent_modiff.
8952 * redisplay.h: declare sync_display_line_structs.
8954 * redisplay.c (add_glyph_rune): add a better comment.
8956 * redisplay-output.c (sync_display_line_structs): made non-static.
8957 (compare_runes): remove unneccesary glyph cachel access.
8959 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
8961 * gutter.c (output_gutter): don't output the gutter if extent
8962 changes only involve extents in buffers. use 4 sets of display
8964 (gutter_extent_signal_changed_region_maybe): new function. Mark
8965 extents in gutters as changed.
8966 (update_frame_gutters): use 4 sets of display lines.
8967 (reset_gutter_display_lines): ditto.
8968 (free_frame_gutters): ditto.
8969 (redraw_exposed_gutter): force output of gutters.
8971 * frame.h (struct frame): add 4 sets of gutter display lines.
8973 * extents.c: (extent_changed_for_redisplay): signal changes to
8974 extents in strings in the gutter as well as extents in buffers.
8976 2000-03-02 Andy Piper <andy@xemacs.org>
8978 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
8980 * frame.c (Fmake_frame): make sure the gutters get initialized
8981 after the frame is visible.
8982 (set_frame_selected_window): re-arrange compilation macros a
8984 (change_frame_size_1): mark gutters changed.
8986 * device.c (Fset_device_class): mark gutters changed.
8988 2000-03-01 Andy Piper <andy@xemacs.org>
8990 * window.c (window_top_frame_gutter_height): deleted.
8991 (window_bottom_frame_gutter_height): ditto.
8992 (window_left_frame_gutter_height): ditto.
8993 (window_right_frame_gutter_height): ditto.
8994 (window_top_gutter_height): don't use them.
8995 (window_bottom_gutter_height): ditto.
8996 (window_left_gutter_width): ditto.
8997 (window_right_gutter_width): ditto.
8998 (Fsplit_window): ditto.
8999 (Fwindow_pixel_edges): don't use border dimensions here.
9001 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9002 (update_scrollbar_instance): ditto.
9004 * redisplay.c (generate_modeline): don't take gutters into account.
9005 (generate_modeline): ditto.
9006 (redisplay_frame): small gutter display optimization.
9008 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9010 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9011 gutters into account.
9013 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9014 for window position and type.
9016 * gutter.c (get_gutter_coords): fix for frame gutters.
9017 (update_frame_gutters): update frame geometry if the gutters have
9019 (init_frame_gutters): record current gutter geometries.
9021 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9023 (mswindows_widget_instantiate): ditto.
9025 * frame.h (struct frame): add current_gutter_bounds.
9027 * frame.c (change_frame_size_1): position window and minibuffer
9028 appropriately taking into account the frame gutters.
9030 * frame-x.c: (x_initialize_frame_size): take into account the
9033 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9035 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9037 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9039 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9041 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9043 * file-coding.c (reset_decoding_stream): Clear previous
9044 detection state when autodetect.
9046 2000-02-29 Didier Verna <didier@xemacs.org>
9048 * extents.c (set_extent_glyph_1): don't require extents to be
9051 2000-02-27 Andy Piper <andy@xemacs.org>
9053 * gutter.c (Fset_default_gutter_position): don't default left and
9054 right gutter visibility to t.
9055 (Fset_default_gutter_position): run
9056 default-gutter-position-changed-hook.
9057 (syms_of_gutter): add default-gutter-position-changed-hook.
9059 2000-02-26 Andy Piper <andy@xemacs.org>
9061 * specifier.c (Fmake_specifier): add gutter references.
9063 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9065 * lisp.h: declare Fvalid_plist_p.
9067 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9069 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9070 well as its visibility so that it gets reconstructed.
9071 (construct_window_gutter_spec): new function. Construct a string
9072 to be displayed in the gutter from a plist of strings. Take care
9073 to only use elements that are declared as visible.
9074 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9076 (gutter_validate): allow plists of strings in the specifier.
9077 (gutter_specs_changed): construct the real_gutter from the gutter
9078 specs using construct_window_gutter_spec.
9079 (gutter_visible_validate): gutter-visible is a new specifier type.
9080 (Fgutter_visible_specifier_p): new function for the new specifier.
9081 (syms_of_gutter): declare gutter-visible and
9082 Fgutter_visible_specifier_p.
9083 (specifier_type_create_gutter): intitalize new gutter-visible
9085 (reinit_specifier_type_create_gutter): ditto.
9086 (specifier_vars_of_gutter): use new specifier type for gutter
9088 (init_frame_gutters): construct real_gutter correctly.
9089 (Fgutter_specifier_p): beef up documentation.
9090 (Fgutter_size_specifier_p): ditto.
9092 * winslots.h: add real_gutter slots.
9094 2000-02-25 Andy Piper <andy@xemacs.org>
9096 * device-msw.c: Be kind to older cygwin versions. From Raymond
9097 Toy <toy@rtp.ericsson.se>.
9099 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9100 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9102 2000-02-25 Martin Buchholz <martin@xemacs.org>
9104 * elhash.c (MARK_OBJ): Practice macro hygiene.
9106 2000-02-24 Martin Buchholz <martin@xemacs.org>
9108 * miscplay.c: s/__inline__/inline/g;
9109 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9110 (get_device_compdc): INLINE ==> static inline
9111 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9112 find -name '*.h' | \
9113 xargs global-replace \
9114 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9116 2000-02-25 Andy Piper <andy@xemacs.org>
9118 * window.c (window_top_frame_gutter_height): new function.
9119 (window_top_window_gutter_height): ditto.
9120 (window_top_gutter_height): use them.
9121 (window_bottom_frame_gutter_height): new function.
9122 (window_bottom_window_gutter_height): ditto.
9123 (window_bottom_gutter_height): use them.
9124 (window_left_window_gutter_width): new function.
9125 (window_left_frame_gutter_width): ditto.
9126 (window_left_gutter_width): use them.
9127 (window_right_window_gutter_width): new function.
9128 (window_right_frame_gutter_width): ditto.
9129 (window_right_gutter_width): use them.
9130 (window_pixel_height): new function. calulate window pixel height
9131 with frame gutter involvement.
9132 (Fsplit_window): calculate new sizes taking frame gutters into
9134 (window_char_height_to_pixel_height): don't include frame gutters.
9135 (window_char_height): use window_pixel_height.
9136 (window_pixheight): rename from window_pixel_height.
9137 (change_window_height): use it.
9138 (window_pixel_height_to_char_height): don't include frame gutters.
9139 (window_char_width_to_pixel_width): ditto.
9141 2000-02-25 Andy Piper <andy@xemacs.org>
9143 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9146 2000-02-24 Martin Buchholz <martin@xemacs.org>
9148 * alloc.c (staticpro):
9154 (compact_string_chars):
9156 Convert: if (foo) abort(); ==> assert (! foo);
9158 * eldap.c (Fldap_search_basic):
9162 Fix compiler warnings, and possible crashes if (random) return
9163 value were to be used.
9165 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9167 * device-msw.c: Workaround ResetDC failure.
9169 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9172 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9173 (mswindows_text_width): Do not start printer page.
9175 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9177 * glyphs-msw.c: Added image methods to msprinter console and
9178 msprinter-specific image instantiation.
9180 2000-02-20 Mike Alexander <mta@arbortext.com>
9182 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9183 to avoid crashes when selection-sets-clipboard is on
9184 (mswindows_own_selection): ditto
9186 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9189 * redisplay-msw.c (get_frame_dc):
9192 * device-msw.c (mswindows_init_device):
9193 (mswindows_delete_device):
9194 (msprinter_init_device):
9195 (msprinter_delete_device):
9196 * frame-msw.c (mswindows_init_frame_1):
9197 (mswindows_delete_frame):
9198 (msprinter_init_frame_3):
9199 (msprinter_delete_frame): Move compatible DC to device object from
9200 frame object, for both mswindows and msprinter. Only one at a time
9201 is needed, it is a real waste to have one per frame!
9203 2000-02-23 Andy Piper <andy@xemacs.org>
9205 * glyphs.c: add dynamic width and height elements.
9206 (image_instance_equal): ditto.
9208 * glyphs-widget.c (widget_query_geometry): calculate width and
9209 height dynamically if required.
9210 (initialize_widget_image_instance): initialize dynamic dimensions.
9211 (widget_instantiate): pick-up dynamic dimensions.
9213 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9214 dynamic determination. Add appropriate macros.
9216 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9218 (WINDOW_GUTTER_SIZE): ditto.
9219 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9221 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9223 (get_frame_dc): ditto.
9225 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9228 2000-02-23 Martin Buchholz <martin@xemacs.org>
9230 * XEmacs 21.2.31 is released.
9232 2000-02-22 Ben Wing <ben@xemacs.org>
9234 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9236 2000-02-22 Andy Piper <andy@xemacs.org>
9238 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9240 2000-02-21 Mike Sperber <mike@xemacs.org>
9244 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9247 2000-02-21 Mike Sperber <mike@xemacs.org>
9249 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9251 2000-02-21 Martin Buchholz <martin@xemacs.org>
9253 * XEmacs 21.2.30 is released.
9255 2000-02-20 Martin Buchholz <martin@xemacs.org>
9257 Performance hacking.
9259 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9260 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9263 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9264 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9265 * symeval.h (DEFVAR_SYMVAL_FWD):
9266 * symbols.c (guts_of_unbound_marker):
9267 Make all c_readonly objects also lisp_readonly and marked for life.
9268 * lrecord.h (struct lrecord_implementation):
9269 Document flags better.
9270 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9271 * lrecord.h (DECLARE_LRECORD):
9272 * lrecord.h (XSETRECORD):
9273 * lrecord.h (RECORDP):
9274 * lrecord.h (RECORD_TYPEP):
9275 * lrecord.h (RECORD_MARKER): New.
9276 * lrecord.h (error_check_*):
9277 * lrecord.h (CONCHECK_NONRECORD):
9278 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9279 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9280 * lrecord.h (set_lheader_implementation):
9281 * lrecord.h (enum lrecord_type): New.
9282 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9283 * alloc.c (disksave_object_finalization_1):
9284 * alloc.c (mark_object):
9285 * alloc.c (lrecord_type_index):
9286 * alloc.c (tick_lcrecord_stats):
9287 * alloc.c (Fgarbage_collect):
9288 * alloc.c (init_alloc_once_early):
9289 * alloc.c (pdump_load):
9290 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9291 * alloc.c (lrecord_type_index): Delete.
9292 Make lisp object type indexes be constant.
9293 Makes (byte-compile) 5% faster.
9294 Put all marker functions into their own array.
9295 Makes (garbage-collect) 5% faster.
9296 Optimize SYMBOL_VALUE_MAGIC_P.
9297 Makes (byte-compile) 2-3% faster.
9298 * config.h.in (gc_checking_assert): New.
9299 * alloc.c: Use gc_checking_assert().
9300 * .dbxrc: Make compatible with new object type implementation.
9301 * .gdbinit: Make compatible with new object type implementation.
9302 * alloc.c: Delete all symbols defined only for debugging, such as
9303 Lisp_Type_Vector and lrecord_charset.
9305 2000-02-21 Andy Piper <andy@xemacs.org>
9307 * gui-msw.c (Fmswindows_shell_execute): fix file location
9310 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9311 unshowing so that set_window_buffer doesn't undo
9312 kill_buffer_hook's hard work.
9314 * glyphs-widget.c (tab_control_query_geometry): don't count the
9315 first item when calculating geometry.
9317 * glyphs.c (map_subwindow): remove redundant code.
9318 (update_frame_subwindows): be more circumspect about when to
9321 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9322 when items haven't changed. Update faces if faces have changed as
9323 well as just the widget face.
9324 (x_tab_control_update): Update faces if faces have changed as well
9325 as just the widget face.
9327 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9329 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9331 (build_syscolor_string): Use mswindows_color_to_string to try to
9333 (mswindows_device_system_metrics): Reverse the foreground and
9334 background colors so that they match the documentation.
9336 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9337 they match the default Windows palette.
9338 (mswindows_color_to_string): New function.
9340 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9342 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9344 2000-02-18 Olivier Galibert <galibert@pobox.com>
9346 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9347 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9349 * symbols.c (init_symbols_once_early): Removed obsolete
9350 DATA_SEG_BITS related kludge.
9351 (defvar_magic): Ditto.
9353 * malloc.c: Removed obsolete DATA_SEG_BITS
9355 * mem-limits.h: Ditto.
9357 * Makefile.in.in: Removed obsolete HAVE_SHM
9360 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9362 * device-msw.c (mswindows_delete_device): Free DDE string
9365 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9367 * keymap.c (get_keyelt):
9368 * unexnt.c (unexec):
9369 * vm-limit.c (memory_warnings):
9370 * ntheap.c (recreate_heap):
9371 * ntheap.h (UNINIT_PTR):
9372 * select-msw.c (Fmswindows_get_clipboard):
9373 (Fmswindows_set_clipboard):
9374 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9376 * menubar-msw.c (displayable_menu_item):
9378 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9379 * sysdep.c (sys_subshell):
9380 * process-nt.c (nt_create_process):
9381 * nt.c (normalize_filename):
9382 (dostounix_filename):
9383 (unixtodos_filename):
9384 * ntproc.c (win32_executable_type):
9385 * ntplay.c (play_sound_data_1):
9387 * editfns.c (get_home_directory):
9388 * event-msw.c (struct winsock_stream):
9389 (mswindows_dde_callback):
9390 * device-msw.c (msprinter_init_device):
9391 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9393 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9394 mswindows_clear_toolbar were swapped!
9396 * objects-msw.c:(colormap_t):
9398 * emacs.c (struct standard_args): Fixed const jumble.
9400 * glyphs-widget.c (update_widget): Fixed comparison notation.
9402 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9404 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9405 __declspec(noreturn) syntax.
9407 2000-02-19 Martin Buchholz <martin@xemacs.org>
9409 * eldap.c (Fldap_open):
9410 (Fldap_search_basic):
9413 Use new coding system conversion macros.
9415 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9417 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9419 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9421 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9422 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9424 * eldap.c (Qadd, Qreplace): New constant symbols
9425 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9426 interruptions by XEmacs signals
9427 Remove unnecessary calls to slow_down_interrupts and
9429 (Fldap_search_basic): Renamed from Fldap_search_internal
9430 Added new optional parameter VERBOSE that triggers the
9431 display of progress messages
9432 Remove unnecessary calls to slow_down_interrupts and
9434 LDAP result code analysis rewritten
9435 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9436 (syms_of_eldap): Define the new symbols and functions
9439 2000-02-17 Martin Buchholz <martin@xemacs.org>
9441 * realpath.c: Determine PATH_MAX maximally portably.
9443 * insdel.c (bytecount_to_charcount): Optimize.
9444 The function used to be optimized for entirely ASCII sequences.
9445 Now it is optimized for successive characters from the same
9446 charset. This also wins big for _mostly_ ASCII sequences.
9448 * fileio.c (Ffile_truename): convert return from realpath() using
9449 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9450 - Rewrite GCPROing slightly.
9452 * sysdep.c (sys_open): Do filename conversion, like all other
9453 sys_* functions. Fixes bug:
9454 (let ((file-name-coding-system 'iso-8859-2))
9455 (write-region x y latin2-name))
9456 ==> writes filename using internal encoding.
9458 2000-02-18 Martin Buchholz <martin@xemacs.org>
9460 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9461 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9462 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9463 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9464 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9465 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9466 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9467 (CONST_IF_NOT_DEBUG): Delete.
9468 * alloc.c (this_one_is_unmarkable): Delete.
9469 (mark_object): Don't check for this_one_is_unmarkable. Use the
9470 c_readonly flag instead.
9471 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9473 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9475 * event-msw.c (mswindows_drain_windows_queue):
9476 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9477 away redundant repaint events.
9479 2000-02-17 Andy Piper <andy@xemacs.org>
9481 * redisplay.h: declare mark_redisplay_structs.
9483 * redisplay.c (redisplay_window):
9484 (redisplay_frame): don't check subwindows_state_changed.
9485 (mark_redisplay): mark gutters here.
9487 * glyphs.c: (instantiate_image_instantiator): always layout if we
9488 haven't done so already.
9489 (allocate_image_instance): don't mark as dirty.
9490 (update_subwindow): bind inhibit_quit.
9492 * gutter.c (mark_gutters): new function.
9494 * glyphs-x.c (x_update_widget): Always resize to get round a
9497 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9498 breaking absolutely everything.
9500 * gutter.h: declare mark_gutters.
9502 2000-02-16 Martin Buchholz <martin@xemacs.org>
9504 * XEmacs 21.2.29 is released.
9506 2000-02-15 Olivier Galibert <galibert@pobox.com>
9508 * fns.c (size_bit_vector): Fix computation of the size.
9510 2000-02-15 Martin Buchholz <martin@xemacs.org>
9512 * *.[ch]: Change CONST to const globally.
9513 find -name '*.[ch]' | \
9514 xargs global-replace \
9515 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9516 - Remove vestigial references to CONST_IS_LOSING
9518 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9520 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9521 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9522 events instead of dispatching them directly.
9523 (mswindows_handle_paint): New function to do repainting.
9524 (mswindows_wnd_proc):
9525 (emacs_mswindows_handle_magic_event): Call above function.
9527 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9529 * objects-msw.c (mswindows_create_font_variant): Return the new
9531 (initialize_font_instance): Get font metrics from the underlined
9532 variant of the font to cope with the case where the underlined
9533 font has a bigger descent.
9535 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9537 * gui.c (gui_item_accelerator): Return the first underlined
9538 character in item name.
9540 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9542 * lisp.h: Added Qprinter.
9544 * general.c (syms_of_general): Initialized it.
9546 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9548 (get_frame_compdc): Made inline.
9550 * console.h (struct console_methods): Added eject_page method.
9552 * frame.h: Added FRAME_DISPLAY_P and friends.
9553 Aligned backslahes in many macros in more readable fashion.
9554 Added page_number to struct frame, and an accessor macro
9557 * defice.h: Added DEVICE_DISPLAY_P and friends.
9559 * device.c (Fdevice_printer_p): Used these.
9561 * frame.c (allocate_frame_core): Initialize page number.
9562 (Fprint_job_page_number):
9563 (Fprint_job_eject_page): Implemented.
9565 * frame-msw.c (msprinter_eject_page): Added method.
9566 (msprinter_start_page): Added.
9568 * window.c (Fwindow_truncated_p): Fixed docstring.
9569 (Fwindow_last_line_visible_height): Implemented.
9571 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9573 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9575 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9577 * syntax.c (scan_words): Always advance at least one character.
9579 2000-02-13 Andy Piper <andy@xemacs.org>
9581 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9582 to make sure the glyph is in the cachels.
9584 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9585 global image instance flag.
9586 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9587 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9589 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9590 (Fset_image_instance_property): mark layout as changed.
9591 (invalidate_glyph_geometry_maybe): mark layout as changed.
9592 (glyph_width): use new NEEDS_LAYOUT macro.
9593 (glyph_ascent): ditto.
9594 (glyph_descent): ditto.
9595 (glyph_height): ditto.
9596 (image_instance_layout): mark layout as clean after laying out.
9597 (update_subwindow): don't mark layout as clean here.
9599 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9600 should no longer be needed.
9602 * glyphs-x.c (x_update_widget): sanitize asserts.
9603 (x_finalize_image_instance): sanitize assignment to widgets.
9605 * glyphs-widget.c (widget_instantiate): don't need to clear the
9608 2000-02-13 Martin Buchholz <martin@xemacs.org>
9610 * sysdep.c (getcwd): Use standard prototype.
9611 * sysdep.h (getcwd): Use standard prototype.
9613 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9614 (sequence, start, end).
9615 Remove redundant type checking.
9616 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9617 view of `caller-protects') to avoid a crash where the real fix was
9620 2000-02-12 Martin Buchholz <martin@xemacs.org>
9622 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9624 * s/sol2.h: Remove feature macro initialization.
9626 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9627 (vector_hash): New. Code from internal_hash.
9629 Fix up allocation subsystem comments.
9631 * config.h.in: Add __EXTENSIONS__ for Solaris.
9633 * systime.h (EMACS_GETTIMEOFDAY): New.
9634 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9635 Remove Solaris-specific code.
9636 Use void* for the (ignored) second arg for gettimeofday().
9638 * elhash.c (hash_table_hash): Implement it, finally.
9639 * elhash.c: Use hashcode_t.
9641 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9642 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9644 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9645 * fns.c (size_bit_vector):
9646 * alloc.c (size_vector):
9647 (make_vector_internal):
9648 (make_bit_vector_internal):
9649 (sweep_bit_vectors_1):
9650 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9652 2000-02-10 Martin Buchholz <martin@xemacs.org>
9654 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9655 Include strings.h to avoid warnings for bzero and strcasecmp.
9657 2000-02-10 Olivier Galibert <galibert@pobox.com>
9659 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9660 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9662 * fns.c (size_bit_vector): New. Declare bit vectors as a
9665 2000-02-10 Olivier Galibert <galibert@pobox.com>
9667 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9668 use a value field instead.
9669 (symbol_value_forward_forward): Use value field.
9670 (DEFVAR_SYMVAL_FWD): Use value field.
9671 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9672 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9673 (DEFVAR_CONST_INT): Ditto.
9674 (DEFVAR_BOOL): Ditto.
9675 (DEFVAR_CONST_BOOL): Ditto.
9676 (DEFVAR_INT_MAGIC): Ditto.
9677 (DEFVAR_BOOL_MAGIC): Ditto.
9679 * symbols.c (guts_of_unbound_marker): Use value field.
9680 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9681 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9683 * lisp.h: Declare dumpopaque and noninteractive1.
9685 * alloc.c (dumpopaque): Added.
9686 (pdump_dump_opaquevec): Added.
9687 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9688 (pdump_load): Reload opaque data. Sync noninteractive1 with
9691 2000-02-10 Andy Piper <andy@xemacs.org>
9693 * glyphs.c (image_instance_layout): if the size changes, mark it
9696 * redisplay-output.c (redisplay_output_layout): Update the
9698 (redisplay_output_subwindow): ditto.
9700 * glyphs.c (update_subwindow): make sure we reset flags for
9701 layouts as well as everything else.
9703 * glyphs-widget.c (layout_layout): don't need to set the instances
9706 2000-02-09 Martin Buchholz <martin@xemacs.org>
9708 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9709 not HAVE_DLOPEN, which is a lower-level thing.
9711 * .cvsignore: Ignore gmon.out
9713 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9715 * .cvsignore: Ignore portable dumper xemacs.dmp file
9717 2000-02-09 Andy Piper <andy@xemacs.org>
9719 * redisplay-output.c (redisplay_output_layout): be more clever
9720 about when we output based on the changed flags.
9722 * glyphs.h (struct image_instantiator_methods): add update_method.
9723 (struct Lisp_Image_Instance): add changed flags. Declare new
9724 macros for manipulating them.
9726 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9727 (image_instance_parent_glyph): find an image_instance's parent
9728 glyph or image_instance.
9729 (image_instance_layout): mark the size as changed.
9730 (set_image_instance_dirty_p): new function. mark an image
9731 instance, plus all of its parents, as dirty.
9732 (Fset_image_instance_property): use it.
9733 (Fglyph_animated_timeout_handler): use it.
9734 (update_subwindow): call update_widget and device methods for
9735 update_subwindow. Mark all changed flags as clean.
9736 (Fresize_subwindow): mark size as changed.
9738 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9740 (x_update_subwindow): only resize subwindows here.
9741 (x_update_widget): new function. Update all changed properties of
9743 (x_resize_subwindow): deleted.
9744 (x_widget_set_property): deleted.
9745 (x_progress_gauge_set_property): deleted.
9746 (x_progress_gauge_update): new function. Implement recorded
9748 (x_tab_control_update): ditto.
9749 (x_tab_control_set_property): deleted.
9750 (console_type_create_glyphs_x): declare new functions.
9751 (image_instantiator_format_create_glyphs_x): ditto.
9753 * glyphs-widget.c (widget_set_property): mark text changed.
9754 (update_widget): new function. Update properties of a widget.
9755 (widget_instantiate): for layouts make sure we set their
9756 children's parent correctly.
9757 (tab_control_set_property): new function. Record changes that will
9758 take place under redisplay's control.
9759 (progress_gauge_set_property): ditto.
9760 (image_instantiator_progress_guage): declare new functions.
9761 (image_instantiator_tab_control): ditto.
9763 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9765 (mswindows_update_widget): new function. Update all properties on
9766 a widget that have changed.
9767 (mswindows_button_update): new function. Update a button's set
9769 (mswindows_tab_control_update): new function. Update the items in
9771 (mswindows_tab_control_set_property): deleted.
9772 (mswindows_progress_gauge_update): new function. Update the
9773 progress gauge's progress.
9774 (mswindows_widget_set_property): deleted. This is all done
9776 (mswindows_progress_gauge_set_property): ditto.
9777 (console_type_create_glyphs_mswindows): declare new methods.
9778 (image_instantiator_format_create_glyphs_mswindows): ditto.
9780 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9781 (msprinter_set_frame_properties): ditto.
9783 * console.h (struct console_methods): Add update_widget_method.
9785 2000-02-09 Andy Piper <andy@xemacs.org>
9787 * gui-msw.c (Fmswindows_shell_execute): Make
9788 mswindows-shell-execute industrial strength.
9790 2000-02-08 Martin Buchholz <martin@xemacs.org>
9792 * lrecord.h: Make macro argument `props' match member function `plist'.
9796 * fns.c (Fobject_plist):
9799 Object property list frobbing cleanup.
9800 - Allow any lisp object (compared with `eq'), not just symbols, as
9801 keys in object plists.
9802 - Move symbol plist frobbing into symbols.c, where it belongs.
9803 - Move string plist frobbing into alloc.c, where it belongs.
9804 - Everything's an lrecord now, so no need to test for symbolp, etc.
9805 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9807 * extents.c: Reorder code to remove declarations.
9809 * frame.h (store_in_alist): Remove useless declaration.
9811 2000-02-07 Martin Buchholz <martin@xemacs.org>
9813 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9814 * config.h.in: Add HAVE_XCONVERTCASE.
9816 2000-02-07 Andy Piper <andy@xemacs.org>
9818 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9819 it breaks many things.
9821 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9823 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9824 actually can start a common comment type.
9825 * src/syntax.h (SYNTAX_END_P): ditto for end.
9827 2000-02-07 Martin Buchholz <martin@xemacs.org>
9829 * XEmacs 21.2.28 is released.
9831 2000-02-06 Martin Buchholz <martin@xemacs.org>
9833 * event-Xt.c (x_keysym_to_character): New.
9834 (maybe_define_x_key_as_self_inserting_character): New.
9835 (x_has_keysym): New.
9836 Auto-define all keys on the keyboard as self-insert-key.
9838 2000-02-02 Martin Buchholz <martin@xemacs.org>
9840 * menubar.c (vars_of_menubar): A small code simplification.
9842 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9849 Use consistent style for specifying X resources.
9851 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9852 This makes (dontusethis-set-symbol-value-handler) actually usable.
9854 * lrecord.h (lrecord_decription_type):
9855 * alloc.c (pdump_register_sub):
9858 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9859 Comply with XEmacs coding style.
9860 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9861 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9863 * keymap.c (Faccessible_keymaps):
9864 Make (accessible-keymaps map "\C-h") do the Right Thing.
9865 Make (accessible-keymaps map []) do the Right Thing.
9866 Make (accessible-keymaps map "") do the Right Thing.
9867 (check_keymap_definition_loop): New function.
9868 (keymap_store_internal): Keep luser from shooting self in foot,
9869 via (define-key ctl-x-4-map "p" global-map).
9870 Remove fullness slot from struct Lisp_Keymap, since hash tables
9872 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9874 2000-01-30 Martin Buchholz <martin@xemacs.org>
9876 * redisplay.c (init_redisplay): Fix small memory leak.
9878 * elhash.c (pdump_reorganize_hash_table):
9879 Rename from reorganize_hash_table. Change prototype.
9880 Reuse the original memory for hentries. Save 100k.
9881 * alloc.c (PDUMP_READ): new macro.
9882 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9883 * alloc.c: No need to #ifndef before #undef.
9885 * print.c: Allow debug_print() to print readably by modifying
9886 debug_print_readably. Use consistent variable names.
9888 * .dbxrc: Try to get things to work even if stopped in a function
9889 without source available by explicitly specifying source files.
9890 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9892 * unexnt.c (_start): Removed bogus code which caused loading heap
9893 from differrent executable file.
9894 Removed bogus assignment to _fmode, which caused inconsistencies.
9896 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9898 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9899 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9900 Do not preliminary `#define signal sigset'.
9902 * systime.h: Do not prototype environ on windows nt and cygwin,
9903 this conflicts with system header.
9905 * syssignal.h: Use correct define for WINDOWSNT
9907 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9910 * sysdep.c (near start of file): Fixed commentary and rearranged
9911 ifdefs in readable order.
9912 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9915 (end_of_data): Do not compile in if using PDUMP.
9917 * symsinit.h: Prototyped vars_of_nt().
9919 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9920 (find_child_console): Use it.
9923 * ntheap.h: Do not extern os_subtype.
9925 * ntheap.c (cache_system_info): Do not cache unneeded:
9926 nt_major_version, nt_minor_version and os_subtype.
9927 (recreate_heap): Do not compile in when PDUMPing.
9929 * nt.c (geteuid and friends): Use the new varibale
9930 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9931 (init_user_info): Removed the above mentioned hackery.
9932 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9933 stat has been fixed in the C runtime.
9934 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9936 * file-coding.c (struct file_coding_dump): Do not define
9937 ucs_to_mule_table in the struct if not MULE.
9938 (struct struct lrecord_description fcd_description_1): Do not dump
9941 * emacs.c (main_1): Call vars_of_nt().
9942 (right before Fdump_emacs_data): Don't need lastfile if using both
9943 portabe dumper and system malloc.
9945 * alloc.c (Fmemory_limit): Conditionalized out.
9946 (pdump): Use OPEN_BINARY for the portable dump file.
9947 (pdump_load): Ditto.
9949 2000-02-02 Mike Alexander <mta@arbortext.com>
9951 * nt.c (convert_time): Set tm_isdst before calling mktime and
9952 avoid calling it at all if the compiler supports 64 bit integers.
9953 Also initialize utc_base_ft before using it.
9955 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9957 * frame.c (change_frame_size_1): Take f->internal_border_width
9958 into consideration when calculating the width of the frame.
9960 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9962 * window.c (frame_min_height):
9963 (frame_size_valid_p):
9964 (frame_pixsize_valid_p): Added.
9965 (check_frame_size): Generalized.
9967 * window.h: Prototyped the above.
9970 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
9971 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
9972 Deleted Vwin32_* and Vbinary_process_* unused variables.
9974 * device-msw.c (msprinter_init_device): Do not get printer font
9975 list; Added DEVMODE functions.
9977 * frame-msw.c: Added lots of printer code.
9979 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
9982 * console-msw.h: Added more msprinter device private slots.
9984 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9986 * event-msw.c (key_needs_default_processing_p): Added.
9987 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
9989 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9991 * glyphs.c (image_instance_layout): Mark image instance as clean
9993 (glyph_dirty_p): Removed redundant function.
9994 (invalidate_glyph_geometry_maybe): Added.
9995 (update_glyph_cachel_data): Call it.
9997 * glyphs.h: Prototyped it.
9999 * redisplay.c (add_glyph_rune): Call it.
10000 (redisplay_window): Reset glyphs cachels when frame faces have
10001 changed, thus forcing recomputation of built-in border glyphs.
10003 2000-01-30 Martin Buchholz <martin@xemacs.org>
10005 * Makefile.in.in: Make portable dumper and purify play well together.
10006 Add imperfect, but better than nothing, support for pdump.
10007 Remove xemacs.dmp when temacs is re-generated.
10008 Don't ignore errors when dumping xemacs.
10010 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10012 2000-01-28 Andy Piper <andy@xemacs.org>
10014 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10015 (setup_normal_frame): ditto.
10016 (setup_frame_without_minibuffer): ditto.
10017 (setup_minibuffer_frame): ditto.
10018 (delete_frame_internal): ditto.
10019 (Fmake_frame_invisible): ditto.
10020 (Ficonify_frame): ditto.
10022 * window.h: change Fset_window_buffer signature.
10024 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10025 (Fset_window_buffer): allow recording of buffer if the window is
10026 the selected window.
10027 (window_loop): Use new Fset_window signature.
10029 2000-01-23 Daniel Pittman <daniel@danann.net>
10031 * config.h.in: Added template for `HAVE_ATHENA_3D'
10033 2000-01-29 Andy Piper <andy@xemacs.org>
10035 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10037 * gutter.c (output_gutter): Don't output if the window isn't live.
10039 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10041 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10042 of 01/12/00: Moved SetFocus back here where it belongs.
10044 2000-01-23 Andy Piper <andy@xemacs.org>
10046 * s/cygwin32.h: declare printer things.
10048 2000-01-26 Andy Piper <andy@xemacs.org>
10050 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10053 2000-01-24 Andy Piper <andy@xemacs.org>
10055 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10056 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10058 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10060 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10062 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10064 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10065 (mswindows_output_display_block): Avoid local shadows.
10067 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10068 (mswindows_enqueue_mouse_button_event): ditto.
10069 (mswindows_handle_gui_wm_command): remove declaration.
10071 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10074 * console-msw.h: Avoid shadows.
10075 (mswindows_get_toolbar_button_text):
10076 (emacs_mswindows_create_stream_pair):
10077 (emacs_mswindows_delete_stream_pair):
10078 (mswindows_handle_toolbar_wm_command): declare.
10080 * device-msw.c (build_syscolor_string): Avoid shadows.
10082 2000-01-23 Andy Piper <andy@xemacs.org>
10084 * glyphs-widget.c (widget_instantiate): reverse the items for
10085 layouts so that children are in the expected order.
10087 2000-01-28 Martin Buchholz <martin@xemacs.org>
10089 * ralloc.c: safe_bcopy ==> memmove
10090 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10091 * s/msdos.h: Remove BCOPY macros.
10092 * insdel.c (gap_right): Remove BCOPY conditional code.
10093 * insdel.c (gap_left): Remove BCOPY conditional code.
10094 XEmacs demands a working ANSI C compiler - hence memmove.
10096 * regex.c (regex_compile): Remove accidental use of trigraphs.
10098 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10100 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10103 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10105 * event-msw.c (mswindows_drain_windows_queue): Added the
10107 (mswindows_need_event): Commented the call to
10108 mswindows_drain_windows_queue().
10109 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10112 * console-msw.h: Moved a few function prototypes here from
10115 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10116 parameter from unsigned short to unsigned long.
10117 (Fmswindows_shell_execute): Added return value.
10119 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10121 * sysdep.c (init_system_name):
10122 process-unix.c (unix_canonicalized_host_name):
10123 Don't call freeaddrinfo() if getaddrinfo() fails.
10125 * process-unix.c (unix_open_unix_network_stream):
10126 Moved the code to get a port # into address loop.
10128 2000-01-27 Martin Buchholz <martin@xemacs.org>
10130 * buffer.c (reinit_vars_of_buffer):
10131 The right place to initialize conversion_in_dynarr and
10132 conversion_out_dynarr.
10134 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10136 * process-unix.c (unix_canonicalize_host_name): Muleize.
10137 (unix_open_network_stream): Muleize.
10139 * buffer.h: Fix up prototypes for ralloc.c functions.
10141 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10142 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10143 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10144 instead of gethostbyname()
10145 * process-unix.c: In unix_canonicalize_host_name() and
10146 unix_open_network_stream(), add code to use getaddrinfo()
10147 instead of gethostbyname().
10149 2000-01-27 Daniel Pittman <daniel@danann.net>
10151 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10152 libs when built with flat Athena.
10154 2000-01-27 Martin Buchholz <martin@xemacs.org>
10156 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10157 Use coding standards for function prototypes.
10159 2000-01-25 Martin Buchholz <martin@xemacs.org>
10161 * dialog-msw.c (push_lisp_string_as_unicode):
10162 * doc.c (unparesseuxify_doc_string):
10163 * dired.c (Fuser_name_completion_1):
10164 * dired.c (Fuser_name_all_completions):
10165 * dired.c (free_user_cache):
10166 * dired.c (user_name_completion):
10167 * console-x.c (get_display_arg_connection):
10168 * minibuf.c (clear_echo_area_internal):
10169 * minibuf.c (echo_area_append):
10170 * eldap.c (Fldap_open):
10171 * eldap.c (Fldap_search_internal):
10172 * frame-x.c (x_set_frame_text_value):
10173 * frame-x.c (x_set_frame_properties):
10174 * frame-x.c (x_create_widgets):
10175 * redisplay-tty.c (term_get_fkeys_1):
10176 * objects-x.c (x_parse_nearest_color):
10177 * objects-x.c (x_valid_color_name_p):
10178 * objects-x.c (x_initialize_font_instance):
10179 * objects-x.c (x_list_fonts):
10180 * objects-x.c (x_find_charset_font):
10181 * tooltalk.c (Fadd_tooltalk_message_arg):
10182 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10183 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10184 * process-unix.c (unix_create_process):
10185 * ntproc.c (sys_spawnve):
10186 * sound.c (Fplay_sound_file):
10187 * sound.c (Fplay_sound):
10188 * buffer.c (init_initial_directory):
10189 * buffer.c (init_buffer):
10190 * editfns.c (init_editfns):
10191 * editfns.c (Ftemp_directory):
10192 * editfns.c (Fuser_full_name):
10193 * editfns.c (uncache_home_directory):
10194 * editfns.c (get_home_directory):
10195 * editfns.c (Fuser_home_directory):
10196 * editfns.c (Fformat_time_string):
10197 * editfns.c (Fcurrent_time_string):
10198 * gui-x.c (button_item_to_widget_value):
10199 * database.c (Fopen_database):
10200 * event-Xt.c (x_to_emacs_keysym):
10201 * event-Xt.c (x_event_to_emacs_event):
10202 * event-Xt.c (describe_event_window):
10203 * event-msw.c (mswindows_wnd_proc):
10204 * glyphs-eimage.c (jpeg_instantiate):
10205 * glyphs-eimage.c (gif_instantiate):
10206 * glyphs-eimage.c (png_instantiate):
10207 * glyphs-eimage.c (tiff_instantiate):
10208 * glyphs-x.c (xbm_instantiate_1):
10209 * glyphs-x.c (x_xbm_instantiate):
10210 * glyphs-x.c (x_xface_instantiate):
10211 * glyphs-x.c (autodetect_instantiate):
10212 * glyphs-x.c (cursor_font_instantiate):
10213 * glyphs-x.c (x_widget_instantiate):
10214 * glyphs-x.c (x_widget_set_property):
10215 * glyphs-x.c (x_widget_property):
10216 * glyphs-x.c (BUILD_GLYPH_INST):
10217 * print.c (write_string_to_stdio_stream):
10218 * print.c (output_string):
10219 * print.c (Falternate_debugging_output):
10220 * print.c (Fexternal_debugging_output):
10221 * glyphs-msw.c (extract_xpm_color_names):
10222 * glyphs-msw.c (mswindows_xpm_instantiate):
10223 * glyphs-msw.c (bmp_instantiate):
10224 * glyphs-msw.c (resource_name_to_resource):
10225 * glyphs-msw.c (mswindows_resource_instantiate):
10226 * glyphs-msw.c (xbm_instantiate_1):
10227 * glyphs-msw.c (mswindows_xbm_instantiate):
10228 * glyphs-msw.c (mswindows_xface_instantiate):
10229 * glyphs-msw.c (mswindows_widget_instantiate):
10230 * glyphs-msw.c (add_tree_item):
10231 * glyphs-msw.c (add_tab_item):
10232 * glyphs-msw.c (mswindows_combo_box_instantiate):
10233 * glyphs-msw.c (mswindows_widget_property):
10234 * glyphs-msw.c (mswindows_combo_box_property):
10235 * glyphs-msw.c (mswindows_widget_set_property):
10236 * console.c (stuff_buffered_input):
10237 * objects-msw.c (mswindows_initialize_color_instance):
10238 * objects-msw.c (mswindows_valid_color_name_p):
10239 * objects-msw.c (mswindows_list_fonts):
10240 * objects-msw.c (mswindows_font_instance_truename):
10241 * bytecode.c (optimize_compiled_function):
10242 * select-x.c (symbol_to_x_atom):
10243 * select-x.c (x_atom_to_symbol):
10244 * select-x.c (hack_motif_clipboard_selection):
10245 * select-x.c (selection_data_to_lisp_data):
10246 * select-x.c (lisp_data_to_selection_data):
10247 * select-x.c (Fx_get_cutbuffer_internal):
10248 * select-x.c (Fx_store_cutbuffer_internal):
10249 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10250 * buffer.h (TO_INTERNAL_FORMAT): New function.
10251 * emacs.c (make_arg_list_1):
10252 * emacs.c (make_argc_argv):
10253 * emacs.c (main_1):
10254 * emacs.c (Fdump_emacs):
10255 * emacs.c (split_string_by_emchar_1):
10260 * device-x.c (x_init_device):
10261 * device-x.c (Fx_valid_keysym_name_p):
10262 * device-x.c (Fx_get_font_path):
10263 * device-x.c (Fx_set_font_path):
10264 * glyphs.c (bitmap_to_lisp_data):
10265 * glyphs.c (pixmap_to_lisp_data):
10266 * alloc.c (make_ext_string): Use coding system arguments. Update
10268 * alloc.c (build_string):
10269 * callproc.c (child_setup):
10270 * callproc.c (init_callproc):
10271 * fileio.c (lisp_strerror):
10272 * fileio.c (directory_file_name):
10273 * fileio.c (Fexpand_file_name):
10274 * fileio.c (Ffile_truename):
10275 * fileio.c (Fsysnetunam):
10276 * fileio.c (Fdo_auto_save):
10277 * sysdep.c (sys_readdir):
10278 * tests.c: New file. Allow adding C tests.
10279 Replace GET_* macros with a more comprehensible and flexible
10280 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10282 Any coding system can be used to do format conversion.
10283 Eliminate enum external_data_format.
10284 Eliminate convert_to_external_format.
10285 Eliminate convert_to_internal_format.
10286 Make sure file-name, keyboard, terminal, and ctext are always
10287 defined as coding systems or aliases. Make
10288 file-name-coding-system, terminal-coding-system, and
10289 keyboard-coding-system magical variables that are equivalent to
10290 defining the corresponding coding system aliases.
10292 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10293 * file-coding.c (Fcoding_system_alias_p): New function.
10294 * file-coding.c (Fcoding_system_aliasee): New function.
10295 * file-coding.c (append_suffix_to_symbol): New function.
10296 * file-coding.c (dangling_coding_system_alias_p): New function.
10297 * file-coding.c (Ffind_coding_system):
10298 * file-coding.c (Fcopy_coding_system):
10299 * file-coding.c (encode_coding_no_conversion):
10300 * file-coding.c (syms_of_file_coding):
10301 * file-coding.c (vars_of_file_coding):
10302 Rewrite coding system alias code.
10303 Allow nested aliases, like symbolic links.
10304 Allow redefinition of coding system aliases.
10305 Prevent existence of dangling coding system aliases.
10307 * dired.c (Fuser_name_completion_1):
10308 * dired.c (Fuser_name_all_completions):
10309 A crash would happen if user did QUIT in the middle of building
10310 user_name_cache. Remove redundant code in mainline and unwind_protect.
10313 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10315 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10316 an unsigned char *. Update all callers.
10318 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10320 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10322 2000-01-25 Martin Buchholz <martin@xemacs.org>
10324 * elhash.c (hentry_description): Use more portable definition.
10325 (resize_hash_table): Initialize new hentries using
10326 xnew_array_and_zero, thereby simplifying the code.
10328 * mule-charset.c (make_charset): Make sure entire object is
10329 initialized, to avoid Purify warnings.
10331 * alloc.c (resize_string): Fix unlikely crash with big strings.
10333 2000-01-24 Martin Buchholz <martin@xemacs.org>
10335 * realpath.c (xrealpath):
10336 Don't call getwd().
10338 2000-01-25 Martin Buchholz <martin@xemacs.org>
10340 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10342 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10344 * unexelfsgi.c (unexec): Change the way we decide which segment
10345 should be extended.
10347 Assumption that .bss section should be outside the PT_LOADable
10348 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10349 it's present) is inside the 'data' segment. This would fail the
10350 test which was used to find a segment to grow and cover new
10351 heap. Instead of this assumption, I created another one - on IRIX
10352 the segment to grow should start below .bss and it's address
10353 should extent above the end of .bss. Once this segment is
10354 identified, it's grown to accommodate the new heap and new
10355 zero-length .bss section is added at the end of .data2.
10357 2000-01-25 Martin Buchholz <martin@xemacs.org>
10359 * eval.c (Feval): Wrong number of arguments should use original
10360 function, not the indirect_function version of it.
10362 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10364 * glyphs-x.c (x_button_instantiate): Don't add image if
10365 it is not a pixmap.
10366 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10369 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10371 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10373 (DEFVAR_INT_MAGIC): Ditto.
10374 (DEFVAR_BOOL_MAGIC): Ditto.
10375 * glyphs.h: Reindent backslash.
10377 2000-01-24 Martin Buchholz <martin@xemacs.org>
10379 * glyphs-widget.c (layout_query_geometry):
10380 (layout_layout): Use correct types for gheight, gwidth.
10382 2000-01-24 Martin Buchholz <martin@xemacs.org>
10384 * EmacsManager.c (QueryGeometry): Purified.
10386 2000-01-23 Martin Buchholz <martin@xemacs.org>
10388 * alloc.c (make_float): Make sure entire object is initialized, to
10389 avoid Purify warnings.
10390 (pdump_register_sub): Remove useless assignment.
10391 (pdump): Use xmalloc, not malloc.
10392 (pdump_load): Use xmalloc, not malloc.
10394 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10401 * sysdep.c: Removed redundant #include <windows.h>
10403 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10405 * frame.c (delete_frame_internal): Do not delete device when its
10406 implementation so declares.
10407 (delete_frame_internal): Set device selected frame to nil when
10408 last frame goes away.
10410 * device-msw.c (msprinter_device_system_metrics): Implemented.
10411 (mswindows_device_system_metrics): Added 'device-dpi property.
10413 * device.c: (Fdevice_printer_p): Added.
10414 Added 'offset-workspace device metric.
10416 * console.h (device_metrics): Declared DM_offset_workspace.
10418 2000-01-23 Martin Buchholz <martin@xemacs.org>
10420 * fileio.c (Ffile_truename): Remove pointless and confusing
10421 initialization of elen.
10423 * glyphs-widget.c: Compiler warning fixes.
10425 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10427 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10428 instead of a Lisp_Object as argument to make it consistent with
10429 the other LIVE_P macros.
10430 (CHECK_LIVE_PROCESS): New macro.
10432 * process.c: Declare Qprocess_live_p.
10433 (Fprocess_live_p): New function.
10434 (create_process): Use PROCESS_LIVE_P.
10435 (read_process_output): Ditto.
10436 (set_process_filter): Ditto.
10437 (Fdelete_process): Ditto.
10438 (kill_buffer_processes): Ditto
10439 (process_send_signal): Use CHECK_LIVE_PROCESS.
10440 (Fprocess_input_coding_system): Check whether process is still
10441 alive (fix PR#1061).
10442 (Fprocess_output_coding_system): Ditto.
10443 (Fprocess_coding_system): Ditto.
10444 (Fset_process_input_coding_system): Ditto.
10445 (Fset_process_output_coding_system): Ditto.
10447 2000-01-23 Andy Piper <andy@xemacs.org>
10449 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10452 * glyphs.c (mark_image_instance): take into account changed
10453 image_instance format.
10454 (image_instance_equal): ditto.
10455 (image_instance_hash): ditto.
10457 * glyphs-widget.c (widget_instantiate): Incorporate layout
10458 instantiation here. Delay layout of the layout until later.
10459 (layout_instantiate): deleted.
10460 (layout_query_geometry): new function. get the geometry of a
10462 (layout_layout): layout a layout dynamically.
10463 (image_instantiator_widget): New function - splitting up
10464 image_instantiator_format_create_glyphs_widget for netwinder
10466 (image_instantiator_buttons):
10467 (image_instantiator_edit_fields):
10468 (image_instantiator_combo_box):
10469 (image_instantiator_scrollbar):
10470 (image_instantiator_progress_guage):
10471 (image_instantiator_tree_view):
10472 (image_instantiator_tab_control):
10473 (image_instantiator_labels):
10474 (image_instantiator_layout): ditto.
10475 (image_instantiator_format_create_glyphs_widget): Call preceding
10478 2000-01-22 Martin Buchholz <martin@xemacs.org>
10480 * process.c (Fset_process_coding_system):
10481 * device-x.c (Fx_keysym_hash_table):
10484 * lstream.c (Lstream_write): Return documented value, not 0.
10486 * fileio.c (directory_file_name):
10487 (Fsubstitute_in_file_name):
10488 (Fsubstitute_insert_file_contents_internal):
10489 (Fwrite_region_internal):
10494 Remove vestigial APOLLO-conditional code.
10496 2000-01-21 Martin Buchholz <martin@xemacs.org>
10498 * getpagesize.h: Add guard macros.
10499 * libsst.h: Add guard macros.
10500 * libst.h: Add guard macros.
10501 * line-number.h: Add guard macros.
10502 * ndir.h: Add guard macros.
10503 * sysfloat.h: Add guard macros.
10504 * sysfile.h: Add guard macros.
10505 * sysproc.h: Add guard macros.
10506 * syswait.h: Add guard macros.
10507 * xintrinsic.h: Add guard macros.
10508 * xintrinsicp.h: Add guard macros.
10509 * xmmanager.h: Add guard macros.
10510 * xmmanagerp.h: Add guard macros.
10511 * xmprimitive.h: Add guard macros.
10512 * xmu.h: Add guard macros.
10513 * gpmevent.h: Add copyright statement. Add guard macros.
10514 * miscplay.h: Add guard macros.
10515 * *.h: Use consistent C-standards-approved guard macro names.
10517 * opaque.c (make_opaque): Switch parameter order.
10518 * opaque.h (make_opaque): Switch parameter order.
10519 Update all callers.
10520 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10522 * config.h.in (type_checking_assert): Added.
10523 (bufpos_checking_assert): Added.
10525 2000-01-21 Martin Buchholz <martin@xemacs.org>
10527 * alloc.c: Harmless pdump changes.
10529 - spell alignment correctly.
10530 * sysdep.c: Use countof()
10532 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10534 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10535 initially_selected_for_input() console method, default to 0.
10536 (semi_canonicalize_console_connection): Try to delegate to
10537 canonicalize_console_connection if no such console method.
10538 (canonicalize_console_connection): Vice versa.
10539 (print_console): Do not print nil connection.
10541 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10542 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10543 (XDEVIMPF_FRAMELESS_OK): Added.
10544 (CONSOLE_INHERITS_METHOD): Added.
10546 * console-msw.c (mswindows_canonicalize_console_connection):
10548 (mswindows_canonicalize_device_connection): Added.
10550 * console-msw.h (struct msprinter_device): Added this struct and
10552 (mswindows_device): Made fontlist a lisp object.
10554 * device.c (semi_canonicalize_device_connection): Try to delegate
10555 to canonicalize_device_connection if no such console method.
10556 (canonicalize_device_connection): Vice versa.
10557 (print_device): Do not print nil connection.
10559 * device-msw.c (mswindows_init_device): Call InitCommonControls
10561 (mswindows_delete_device): Removed fontlist deallocation.
10562 (mswindows_mark_device): Added.
10564 * events.c (event_equal): Added abort() at unreached code.
10565 (event_hash): Ditto.
10567 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10568 fallback tags of Windows devices.
10570 * general.c (syms_of_general): Initialized Qmsprinter.
10572 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10573 of fallback tags of Windows devices.
10575 * lisp.h: Declared Qmsprinter.
10577 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10579 (mswindows_list_fonts): Ditto.
10580 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10581 that it can be used by both mswindows and msprinter devices.
10582 (initialize_font_instance): Added.
10583 (mswindows_initialize_font_instance): Use it.
10584 (msprinter_initialize_font_instance): Added.
10586 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10587 and implementation flags check.
10588 (redisplay_without_hooks): Changed the call to the above.
10589 (Fredraw_device): Ditto.
10590 (Fredisplay_device): Ditto.
10592 * redisplay-msw.c (get_frame_dc): Implemented.
10593 (get_frame_compdc): Implemented.
10594 (many functions): Use the two functions above to get device
10595 contexts, ether for a window or a printer.
10597 2000-01-21 Olivier Galibert <galibert@pobox.com>
10599 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10600 initialization here.
10601 (init_symbols_once_early): Call it.
10602 * emacs.c (main_1): Call it.
10603 * symsinit.h: Declare it.
10605 2000-01-19 Olivier Galibert <galibert@pobox.com>
10607 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10609 (pdump_backtrace): Ditto.
10610 (pdump_register_object): Ditto. Cleanup use of the pointers.
10611 (pdump_get_entry): Abort if trying to register a null pointer.
10612 (pdump_dump_data): Cleanup types when relocating.
10613 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10614 (pdump_dump_rtables): Remove bad casts.
10615 (pdump_load): Cleanup relocation w.r.t union type. Use a
10616 Lisp_Object instead of a EMACS_INT for the hashtable
10619 2000-01-20 Martin Buchholz <martin@xemacs.org>
10621 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10623 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10625 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10627 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10629 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10631 * faces.h (FACE_STRIKETHRU_P): Added.
10633 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10636 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10637 (mswindows_set_dc_font): New function, aware of font variants,
10638 separated from mswindows_update_dc.
10640 * objects-msw.h (struct mswindows_font_instance_data): Added
10643 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10644 cached fonts and the data structure.
10645 (mswindows_initialize_font_instance): Added creation of font data
10647 (mswindows_print_font_instance): Print at least something.
10648 (mswindows_create_font_variant): Implemented.
10649 (mswindows_get_hfont): Implemented.
10651 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10653 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10654 prototyping problem with msvc.
10656 * emacs.c (main_1): added syms_of_gui_mswindows() call
10658 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10659 syms_of_gui_mswindows() function
10661 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10663 2000-01-18 Martin Buchholz <martin@xemacs.org>
10665 * XEmacs 21.2.27 is released.
10667 2000-01-18 Martin Buchholz <martin@xemacs.org>
10669 * glyphs-eimage.c (struct tiff_error_struct):
10671 (tiff_warning_func):
10672 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10677 * unexec.c: Remove vestigial Lucid C code.
10681 * libsst.c: Ansify.
10682 Remove declarations of errno and strerror().
10684 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10686 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10688 2000-01-16 Martin Buchholz <martin@xemacs.org>
10690 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10693 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10698 Change enum eol_type to eol_type_t.
10700 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10702 * gui.c (get_gui_callback): Check cons before accessing car.
10704 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10706 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10707 (XSETSPECIFIER_TYPE): Ditto.
10709 2000-01-17 Didier Verna <didier@xemacs.org>
10711 * redisplay.c (generate_fstring_runes): compute string size in
10712 characters, not bytes.
10714 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10716 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10718 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10720 * print.c (print_error_message): Call print_prepare().
10722 2000-01-14 Martin Buchholz <martin@xemacs.org>
10724 * .dbxrc: Renamed from dbxrc.
10726 * events.c (event_to_character):
10727 Use `assert (foo)' instead of `if (!foo) abort()'
10729 * .gdbinit (xtype): Add documentation.
10730 * .gdbinit (check-temacs): New function.
10731 * .gdbinit (check-xemacs): New function.
10732 * dbxrc (check-xemacs): New function.
10733 * dbxrc (check-xemacs): New function.
10735 2000-01-14 Andy Piper <andy@xemacs.org>
10737 * glyphs-widget.c (widget_query_geometry): Make sure that we
10738 calculate default dimensions correctly.
10740 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10742 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10744 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10745 pdump_wire'd variable.
10747 * emacs.c: (main_1): Conditionalized calls to
10748 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10750 2000-01-13 Martin Buchholz <martin@xemacs.org>
10752 * window.c (Fset_window_configuration):
10753 * sysdep.c (_start):
10754 * input-method-motif.c (res):
10755 * event-Xt.c (Xt_process_to_emacs_event):
10756 Simple compiler warning fixes.
10758 * bytecode.c (funcall_compiled_function): Use the original
10759 function symbol on the backtrace list in preference to the
10760 compiled_function object in error messages.
10762 2000-01-13 Andy Piper <andy@xemacs.org>
10764 * glyphs-x.c (update_widget_face): Make sure we update the widget
10765 background as well as foreground.
10767 2000-01-13 Andy Piper <andy@xemacs.org>
10769 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10770 fields to subwindow.
10771 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10772 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10773 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10774 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10776 * glyphs-widget.c (check_valid_tab_orientation): new function.
10777 (initialize_widget_image_instance): zero orientation and
10779 (widget_instantiate): pick up orientation.
10780 (tab_control_query_geometry): return appropriate values for
10783 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10784 appropriate creation flags for left, right and bottom tabs.
10786 * s/cygwin32.h: add tab definitions.
10788 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10790 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10791 frame upon hiding a subwindow.
10792 (mswindows_button_instantiate): Changed the push button style to
10794 (mswindows_button_instantiate): Removed button BS_NOTIFY
10796 (mswindows_button_instantiate): Removed redundant check for
10797 a disabled gui item.
10798 (mswindows_button_instantiate): Made use of WS_TABSTOP
10799 consistent: "operable" controls (edit, button, tree, scroll) have
10800 this style, "display-only" ones (static, progress gauge) do
10801 not. This style is currently ignored by XEmacs though. Also,
10802 removed the WS_EX_CONTROLPARENT style - it is not for children,
10803 it is for their parents!
10804 (mswindows_edit_field_instantiate): Ditto.
10805 (mswindows_progress_gauge_instantiate): Ditto.
10806 (mswindows_tree_view_instantiate): Ditto.
10807 (mswindows_tab_control_instantiate): Ditto.
10808 (mswindows_scrollbar_instantiate): Ditto.
10809 (mswindows_combo_box_instantiate): Ditto.
10810 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10811 style to the "clip" window.
10812 (mswindows_button_instantiate): Removed compilation warning by
10813 equally typing terms of the ?: operator.
10815 2000-01-12 Didier Verna <didier@xemacs.org>
10817 * redisplay.c (generate_fstring_runes): new parameter holding the
10818 last modeline-format extent.
10819 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10820 extent, fill the glyph block with it.
10821 (generate_fstring_runes): handle these parameters.
10822 (generate_formatted_string_db): ditto.
10824 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10825 glyphs'extents in the modeline.
10827 1999-01-11 Mike Woolley <mike@bulsara.com>
10829 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10830 256Mb, as a workaround for the non-starting problem many people
10833 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10835 * console-tty.c (Fset_console_tty_output_coding_system):
10836 Force redrawing tty frame.
10838 2000-01-10 Didier Verna <didier@xemacs.org>
10840 * redisplay.c (generate_fstring_runes): fix size computation bug.
10842 2000-01-09 William M. Perry <wmperry@aventail.com>
10844 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10846 2000-01-09 Andy Piper <andy@xemacs.org>
10848 * glyphs-msw.c: index -> i to avoid shadows.
10849 (xbm_create_bitmap_from_data): make static.
10850 (check_valid_string_or_int): deleted.
10851 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10853 * glyphs-x.c (x_update_subwindow): remove unused args.
10855 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10856 back pointer - this is done in allocate_image_instance.
10857 (query_string_font): return Qnil to make the compiler happy.
10858 (unmap_subwindow): set to ~0 to make the compiler happy.
10859 (glyph_query_geometry): comment out until used.
10860 (glyph_layout): ditto.
10862 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10864 * insdel.c (signal_after_change): Remove extraneous unbind_to().