1 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
4 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
6 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c (Vcharset_ideograph_gt): New variable.
9 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
10 (Qideograph_gt): Likewise.
11 (Qideograph_gt_pj_{1..11}): Likewise.
12 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
13 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
15 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
16 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
17 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
19 * char-ucs.h (LEADING_BYTE_GT): New macro.
20 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
21 (MIN_CHAR_GT): Likewise.
22 (MAX_CHAR_GT): Likewise.
24 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
27 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
29 * doprnt.c (unsigned_int_converters): Add `c'.
30 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
32 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
33 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
35 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
36 (MAX_CHAR_MOJIKYO_0): New macro.
37 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
39 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * mule-charset.c (Fdefine_char): Delete cemented out code.
42 (encode_builtin_char_1): Modify for new allocation of builtin
45 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
47 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * mule-charset.c (Vcharset_ucs_cns): New variable.
50 (Qucs_cns): New variable.
51 (syms_of_mule_charset): Add new symbol `ucs-cns'.
52 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
54 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
58 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
60 * search.c (search_buffer): Make `charset_base_code' as
61 character-id >> 6 to eliminate the corresponding last byte in
62 UTF-8 representation [I'm not sure it is right thing].
63 (boyer_moore): Likewise.
65 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
67 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
68 representation in MULE.
70 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * text-coding.c (Fmake_coding_system): Use
73 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
74 `EXTERNAL_PROPERTY_LIST_LOOP'.
76 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * text-coding.c (decode_output_utf8_partial_char): New function.
79 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
81 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * text-coding.c (decode_coding_utf8): Output original byte
84 sequence if it is broken; change order of conditions.
86 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
89 * mb-multibyte.h (BYTE_ASCII_P):
90 Use bit ops for char-signedness safety.
91 (BYTE_C0_P): Use bit ops for char-signedness safety.
92 (BYTE_C1_P): Use bit ops for char-signedness safety.
94 * character.h: (XCHAR_OR_CHAR_INT):
95 Always use inline function.
96 Remove redundant type checking assert() - XINT will abort quite
99 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * text-coding.c: (Fencode_shift_jis_char):
103 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
104 Replace 0 with '\0' when working with bytes.
105 Replace initial "(" with "\(" in docstrings.
107 (Fmake_coding_system):
108 When type is ccl and value is vector, register it with a proper
109 symbol. And checks whether the given ccl program is valid.
110 (mule_decode): When calling ccl_driver, if src indicates
111 NULL pointer, set an empty string instead.
112 (mule_encode): Likewise.
115 (detect_coding_sjis):
116 (decode_coding_sjis):
117 (detect_coding_big5):
118 (decode_coding_big5):
119 (detect_coding_ucs4):
120 (decode_coding_ucs4):
121 (detect_coding_utf8):
122 (decode_coding_utf8):
123 (detect_coding_iso2022):
124 (decode_coding_iso2022):
125 (decode_coding_no_conversion):
127 Make all detecting and decoding functions take an Extbyte * arg.
128 (text_encode_generic):
129 (encode_coding_big5):
130 (encode_coding_no_conversion):
132 Make all encoding functions take a Bufbyte * arg.
133 Use size_t instead of unsigned int for memory sizes.
134 Only cast to unsigned char whenever dereferencing Extbyte *.
136 (struct lrecord_description fcd_description_1): Use countof.
137 (complex_vars_of_file_coding):
138 Use countof instead of sizeof.
139 Use CHECK_NATNUM instead of CHECK_INT.
141 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * mule-charset.c (Fget_char_attribute): Add new optional argument
145 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
146 (remove_char_ccs): Likewise.
148 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * text-coding.c (char_encode_shift_jis): New implementation in
152 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
155 * mule-charset.c (Vcharset_chinese_big5): New variable in
157 (Qchinese_big5): New variable in UTF-2000.
158 (BIG5_SAME_ROW): New macro in UTF-2000.
159 (make_builtin_char): Use builtin characters of
160 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
161 characters of `Vcharset_chinese_big5'.
162 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
163 (complex_vars_of_mule_charset): Add new coded-charset
164 `chinese-big5' in UTF-2000.
166 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
167 (Vcharset_chinese_big5): New external variable declaration.
168 (Vcharset_japanese_jisx0208_1990): Likewise.
170 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
174 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
176 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
179 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
180 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
183 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
187 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
192 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
194 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
195 for `CHARSET_BY_ATTRIBUTES'.
196 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
197 `CHARSET_BY_ATTRIBUTES'.
199 * text-coding.c (struct decoding_stream): Rename member `CH' to
201 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
202 (decode_coding_sjis): Likewise.
203 (decode_coding_big5): Likewise.
204 (decode_coding_ucs4): Likewise.
205 (decode_coding_utf8): Likewise.
206 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
207 `CHARSET_BY_ATTRIBUTES'.
208 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
209 `str->counter'; decode 3, 4 bytes sets.
210 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
212 (decode_coding_no_conversion): Use `str->cpos' instead of
215 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
216 (Qmojikyo_2022_1): New variable.
217 (make_charset): Don't use `CHARSET_TYPE_*'.
218 (range_charset_code_point): Support coded-charset
220 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
221 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
222 `CHARSET_BY_ATTRIBUTES'.
223 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
224 `CHARSET_BY_ATTRIBUTES'.
225 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
226 (complex_vars_of_mule_charset): Add new coded-charset
229 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
230 interface; changed to inline function.
232 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
233 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
234 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
235 (CHARSET_TYPE_94): Deleted.
236 (CHARSET_TYPE_94X94): Deleted.
237 (CHARSET_TYPE_96): Deleted.
238 (CHARSET_TYPE_96X96): Deleted.
239 (CHARSET_TYPE_128): Deleted.
240 (CHARSET_TYPE_128X128): Deleted.
241 (CHARSET_TYPE_256): Deleted.
242 (CHARSET_TYPE_256X256): Deleted.
243 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
245 (DECODE_MOJIKYO_2022): New inline function.
246 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
247 `Vcharset_mojikyo_2022_1'.
249 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
253 (put_byte_table): Likewise.
254 (char_id_table_equal): Use `get_byte_table' [new implementation].
256 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
258 * mule-charset.c: Include <limits.h> in UTF-2000.
259 (BT_UINT8_MIN): New macro in UTF-2000.
260 (BT_UINT8_MAX): New macro in UTF-2000.
261 (BT_UINT8_t): New macro in UTF-2000.
262 (BT_UINT8_nil): New macro in UTF-2000.
263 (BT_UINT8_unbound): New macro in UTF-2000.
264 (INT_UINT8_P): New inline function in UTF-2000.
265 (UINT8_VALUE_P): New inline function in UTF-2000.
266 (UINT8_ENCODE): New inline function in UTF-2000.
267 (UINT8_DECODE): New inline function in UTF-2000.
268 (mark_uint8_byte_table): New function in UTF-2000.
269 (print_uint8_byte_table): New function in UTF-2000.
270 (uint8_byte_table_equal): New function in UTF-2000.
271 (uint8_byte_table_hash): New function in UTF-2000.
272 (make_uint8_byte_table): New function in UTF-2000.
273 (uint8_byte_table_same_value_p): New function in UTF-2000.
274 (BT_UINT16_MIN): New macro in UTF-2000.
275 (BT_UINT16_MAX): New macro in UTF-2000.
276 (BT_UINT16_t): New macro in UTF-2000.
277 (BT_UINT16_nil): New macro in UTF-2000.
278 (BT_UINT16_unbound): New macro in UTF-2000.
279 (INT_UINT16_P): New inline function in UTF-2000.
280 (UINT16_VALUE_P): New inline function in UTF-2000.
281 (UINT16_ENCODE): New inline function in UTF-2000.
282 (UINT16_DECODE): New inline function in UTF-2000.
283 (UINT8_TO_UINT16): New inline function in UTF-2000.
284 (mark_uint16_byte_table): New function in UTF-2000.
285 (print_uint16_byte_table): New function in UTF-2000.
286 (uint16_byte_table_equal): New function in UTF-2000.
287 (uint16_byte_table_hash): New function in UTF-2000.
288 (make_uint16_byte_table): New function in UTF-2000.
289 (uint16_byte_table_same_value_p): New function in UTF-2000.
290 (print_byte_table): New function in UTF-2000.
291 (byte-table): Use `print_byte_table' as printer.
292 (make_byte_table): Delete second argument `older'.
293 (byte_table_same_value_p): New function in UTF-2000.
294 (copy_byte_table): Deleted.
295 (get_byte_table): New function in UTF-2000.
296 (put_byte_table): New function in UTF-2000.
297 (print_char_id_table): New function in UTF-2000.
298 (char-id-table): Use `print_char_id_table' as printer.
299 (make_char_id_table): Delete second argument `older'.
300 (get_char_id_table): Use `get_byte_table [new implementation].
301 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
303 (Ffind_char_attribute_table): New function in UTF-2000.
304 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
305 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
306 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
307 (syms_of_mule_charset): Add new function
308 `find-char-attribute-table' in UTF-2000.
310 * lrecord.h (enum lrecord_type): Add
311 `lrecord_type_uint16_byte_table' and
312 `lrecord_type_uint8_byte_table'.
314 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
315 (Lisp_Uint8_Byte_Table): New type.
316 (XUINT8_BYTE_TABLE): New macro.
317 (XSETUINT8_BYTE_TABLE): New macro.
318 (UINT8_BYTE_TABLE_P): New macro.
319 (GC_UINT8_BYTE_TABLE_P): New macro.
320 (struct Lisp_Uint16_Byte_Table): New structure.
321 (Lisp_Uint16_Byte_Table): New type.
322 (XUINT16_BYTE_TABLE): New macro.
323 (XSETUINT16_BYTE_TABLE): New macro.
324 (UINT16_BYTE_TABLE_P): New macro.
325 (GC_UINT16_BYTE_TABLE_P): New macro.
327 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
330 (Vcharacter_ideographic_strokes_table): Deleted.
331 (Vcharacter_total_strokes_table): Deleted.
332 (Vcharacter_morohashi_daikanwa_table): Deleted.
333 (Vcharacter_decomposition_table): Deleted.
334 (Qname): Deleted because it is duplicated.
335 (Qideographic_radical): Deleted.
336 (Qideographic_strokes): Deleted.
337 (Qtotal_strokes): Deleted.
338 (Qmorohashi_daikanwa): Deleted.
339 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
340 `ideographic-radical', `ideographic-strokes', `total-strokes',
341 `morohashi-daikanwa' and `->decomposition'.
342 (Fget_char_attribute): Likewise.
343 (Fput_char_attribute): Likewise; use `make-vector' instead of
344 `make_older_vector' for `->decomposition' value.
345 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
346 `ideograph-daikanwa'.
347 (syms_of_mule_charset): Delete builtin symbols `name',
348 `ideographic-radical', `ideographic-strokes', `total-strokes' and
349 `morohashi-daikanwa'.
350 (vars_of_mule_charset): Don't setup
351 `Vcharacter_ideographic_radical_table',
352 `Vcharacter_ideographic_strokes_table',
353 `Vcharacter_total_strokes_table',
354 `Vcharacter_morohashi_daikanwa_table' and
355 `Vcharacter_decomposition_table'.
357 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
360 `make_older_vector', `make_vector_newer_1' and
363 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
364 `make_older_vector' and `make_vector_newer'.
366 * config.h.in (HAVE_GGC): New macro.
368 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
370 * mule-charset.c (struct char_attribute_list_closure): New
371 structure in UTF-2000.
372 (add_char_attribute_to_list_mapper): New function in UTF-2000.
373 (Fchar_attribute_list): Likewise.
374 (Fset_charset_mapping_table): Use `make_vector_newer'.
375 (Fdecode_builtin_char): New function in UTF-2000.
376 (syms_of_mule_charset): Add new function `char-attribute-list' and
377 `decode-builtin-char' in UTF-2000.
379 * lisp.h (make_vector_newer): New prototype.
381 * alloc.c (make_vector_newer_1): New function.
382 (make_vector_newer): New function.
384 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
386 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
389 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * mule-charset.c (Vchar_attribute_hash_table): New variable.
392 (Vcharacter_attribute_table): Deleted.
393 (Vcharacter_name_table): Deleted.
394 (put_char_attribute): Deleted.
395 (remove_char_attribute): Deleted.
396 (struct char_attribute_alist_closure): New structure.
397 (add_char_attribute_alist_mapper): New function.
398 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
399 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
400 (Fget_char_attribute): Likewise.
401 (Fput_char_attribute): Likewise.
402 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
403 of `remove_char_attribute'.
404 (Fdefine_char): Return character.
405 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
406 and `Vcharacter_name_table'.
407 (complex_vars_of_mule_charset): Likewise
408 `Vchar_attribute_hash_table'.
410 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * character.h (CHARC_CHARSET): New macro.
413 (CHARC_CHARSET_ID): New macro.
414 (CHARC_CODE_POINT): New macro.
415 (CHARC_COLUMNS): New macro.
416 (CHARC_TO_CHAR): New inline function.
417 (CHARC_EQ): New inline function.
418 (CHARC_ASCII_EQ): New inline function.
419 (CHARC_IS_SPACE): New inline function.
420 (ASCII_TO_CHARC): New inline function.
422 * char-ucs.h (encode_char_2): Deleted.
423 (ENCODE_CHAR): Use `encode_char_1' again.
424 (breakup_char_1): Likewise.
425 (CHAR_TO_CHARC): New inline function.
427 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
429 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
432 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
433 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
434 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
435 (create_string_text_block): Use `CHARC_ASCII_EQ' and
437 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
439 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
441 (x_output_display_block): Use `CHARC_CHARSET' and
444 * redisplay-tty.c (tty_output_display_block): Use
446 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
448 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
450 * insdel.c (find_charsets_in_charc_string): Use
452 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
453 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
454 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
455 (convert_charc_string_into_malloced_string): Likewise.
457 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
460 instead of <Emchar_dynarr *> for buf; use
461 `convert_bufbyte_string_into_charc_dynarr' instead of
462 `convert_bufbyte_string_into_emchar_dynarr'; use
463 `find_charsets_in_charc_string' instead of
464 `find_charsets_in_emchar_string'.
467 - Include "character.h".
468 (struct rune): New member `cglyph'; delete member `chr'.
470 * redisplay.c (redisplay_text_width_charc_string): New function;
471 delete `redisplay_text_width_emchar_string'.
472 (rtw_charc_dynarr): New variable; renamed from
474 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
475 `rtw_emchar_dynarr'; use
476 `convert_bufbyte_string_into_charc_dynarr' instead of
477 `convert_bufbyte_string_into_emchar_dynarr'; use
478 `redisplay_text_width_charc_string' instead of
479 `redisplay_text_width_emchar_string'.
480 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
481 instead of `rtw_emchar_dynarr'; use
482 `convert_bufbyte_string_into_charc_dynarr' instead of
483 `convert_bufbyte_string_into_emchar_dynarr'.
484 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
485 `redisplay_text_width_charc_string' instead of
486 `redisplay_text_width_emchar_string'.
487 (create_text_block): Modify for <struct rune> change.
488 (generate_formatted_string_db): Likewise.
489 (create_string_text_block): Likewise.
490 (pixel_to_glyph_translation): Likewise.
492 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
493 instead of <const Emchar *>.
494 (x_text_width): Likewise.
495 (x_output_display_block): Use <Charc_dynarr *> instead
496 <Emchar_dynarr *>; modify for <structure rune> change.
497 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
500 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
501 <const Emchar *>; use `charc_string_displayed_columns' instead of
502 `emchar_string_displayed_columns'.
503 (tty_output_display_block): Use <Charc_dynarr *> instead of
504 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
505 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
506 (tty_output_charc_dynarr_dynarr): New variable; renamed from
507 `tty_output_emchar_dynarr_dynarr'.
508 (tty_output_charc_dynarr): New function; delete
509 `tty_output_charc_dynarr'.
511 * redisplay-output.c (compare_runes): Modify for `struct rune'.
512 (redisplay_output_layout): Use <Charc_dynarr *> instead of
513 <Emchar_dynarr *> for buf; use
514 `convert_bufbyte_string_into_charc_dynarr' instead of
515 `convert_bufbyte_string_into_emchar_dynarr'.
517 * frame.c (title_string_charc_dynarr): New variable; renamed from
518 `title_string_emchar_dynarr'.
519 (generate_title_string): Use `title_string_charc_dynarr' instead
520 of `title_string_emchar_dynarr'; use
521 `convert_charc_string_into_malloced_string' instead of
522 `convert_emchar_string_into_malloced_string'.
523 (init_frame): Use `title_string_charc_dynarr' instead of
524 `title_string_emchar_dynarr'.
527 - Include "character.h".
528 (struct console_methods): Use <const Charc *> instead of <const
529 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
530 <Emchar_dynarr *> in output_string_method.
532 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
535 * console-stream.c (stream_text_width): Use <const Charc *>
536 instead of <const Emchar *>.
538 * character.h (Charc_dynarr): New type.
540 * char-ucs.h (structure Charc): New structure; define new type
543 * char-lb.h (DECODE_CHAR): New inline function.
544 (encode_char_1): New inline function.
545 (ENCODE_CHAR): New macro.
546 (structure Charc): New structure; define new type `Charc'.
548 * char-1byte.h (Vcharset_control_1): New macro.
549 (Vcharset_latin_iso8859_1): New macro.
550 (DECODE_CHAR): New inline function.
551 (encode_char_1): New inline function.
552 (ENCODE_CHAR): New macro.
553 (structure Charc): New structure; define new type `Charc'.
555 * insdel.c (find_charsets_in_charc_string): New function; delete
556 `find_charsets_in_emchar_string'.
557 (charc_string_displayed_columns): New function; delete
558 `emchar_string_displayed_columns'.
559 (convert_bufbyte_string_into_charc_dynarr): New function; delete
560 `convert_bufbyte_string_into_emchar_dynarr'.
561 (convert_charc_string_into_bufbyte_dynarr): New function; delete
562 `convert_charc_string_into_bufbyte_dynarr'.
563 (convert_charc_string_into_malloced_string): New function; delete
564 `convert_charc_string_into_malloced_string'.
566 * buffer.h (find_charsets_in_charc_string): New prototype; delete
567 `find_charsets_in_emchar_string'.
568 (charc_string_displayed_columns): New prototype; delete
569 `emchar_string_displayed_columns'.
570 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
571 `convert_charc_string_into_bufbyte_dynarr'.
572 (convert_charc_string_into_malloced_string): New prototype; delete
573 `convert_charc_string_into_malloced_string'.
575 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
579 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
583 * char-ucs.h: Use <short> for <Charset_ID>.
585 * mule-charset.h, char-1byte.h: Use <unsigned char> for
588 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
590 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
593 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
595 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
597 (Qmorohashi_daikanwa): New variable.
598 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
599 for `morohashi-daikanwa' attribute.
600 (Fget_char_attribute): Likewise.
601 (Fput_char_attribute): Likewise.
602 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
603 has the same value of `ideograph-daikanwa'.
604 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
605 (vars_of_mule_charset): Setup
606 `Vcharacter_morohashi_daikanwa_table'.
608 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
612 (add_charset_to_list_mapper): Add `key' instead of
613 `XCHARSET_NAME (value)' to return aliases.
615 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
617 * mule-charset.c (Vcharacter_ideographic_radical_table): New
619 (Vcharacter_ideographic_strokes_table): New variable.
620 (Qideographic_radical): New variable.
621 (Qideographic_strokes): New variable.
622 (Fchar_attribute_alist): Use
623 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
624 attribute; use `Vcharacter_ideographic_strokes_table' for
625 `ideographic-strokes' attribute.
626 (Fget_char_attribute): Likewise.
627 (Fput_char_attribute): Likewise.
628 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
629 `ideographic-strokes'.
630 (vars_of_mule_charset): Setup
631 `Vcharacter_ideographic_radical_table' and
632 `Vcharacter_ideographic_strokes_table'.
634 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
636 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
637 (Qtotal_strokes): New variable.
638 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
639 `total-strokes' attribute.
640 (Fget_char_attribute): Likewise.
641 (Fput_char_attribute): Likewise.
642 (syms_of_mule_charset): Add new symbol `total-strokes'.
643 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
645 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * mule-charset.c (Vcharacter_decomposition_table): New variable.
648 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
650 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
651 `->decomposition' attribute.
652 (Fput_char_attribute): Likewise.
653 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
655 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
657 * mule-charset.c (decoding_table_check_elements): New function.
658 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
660 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * mule-charset.c (Fset_charset_mapping_table): Use
663 `put_char_ccs_code_point'.
665 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
667 * mule-charset.c (decoding_table_put_char): New inline function.
668 (put_char_ccs_code_point): Use `decoding_table_put_char'.
670 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
672 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
673 (XCHARSET_BYTE_SIZE): New macro.
674 (decoding_table_remove_char): New inline function.
675 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
676 `decoding_table_remove_char'.
677 (remove_char_ccs): Use `decoding_table_remove_char'.
678 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
680 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * mule-charset.c (Vcharacter_name_table): New variable.
683 (Qname): New variable.
684 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
686 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
687 `Vcharacter_name_table' for `name' attribute.
688 (Fremove_char_attribute): Use function `remove_char_ccs'.
689 (put_char_ccs_code_point): New function.
690 (remove_char_ccs): New function.
691 (syms_of_mule_charset): Add new symbol `name'.
692 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
694 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (make_byte_table): Add new argument `older'.
697 (make_char_id_table): Likewise.
698 (copy_char_id_table): Comment out because it is not used.
699 (put_char_id_table): Modify for `make_byte_table'.
700 (Fput_char_attribute): Make encoding_table as older object;
701 inherit older bit of `Vcharacter_composition_table'.
702 (mark_charset): Don't mark `cs->encoding_table'.
703 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
704 normal object; make `Vcharacter_composition_table' as an older
705 object; delete staticpro for `Vcharacter_composition_table'; make
706 `Vcharacter_variant_table' as a normal object.
708 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
709 (mark_object): Don't check older object in UTF-2000.
711 * lrecord.h (struct lrecord_header): Add new member `older' in
713 (set_lheader_implementation): Setup `SLI_header->older' in
715 (set_lheader_older_implementation): New macro in UTF-2000.
716 (OLDER_RECORD_P): New macro in UTF-2000.
717 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
718 (alloc_older_lcrecord): New prototype in UTF-2000.
719 (alloc_older_lcrecord_type): New macro in UTF-2000.
721 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * mule-charset.c (byte_table_description): Use
724 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
725 (char_id_table_description): Delete bogus `, 1'.
726 (Fget_char_attribute): Refer encoding_table of each coded-charset
727 to get value of coded-charset attribute of a character.
728 (Fput_char_attribute): Use `make_older_vector' instead of
729 `make_vector'; use encoding_table of each coded-charset to store
730 value of coded-charset attribute of a character.
731 (Fremove_char_attribute): Use encoding_table of each coded-charset
732 to store value of coded-charset attribute of a character.
733 (mark_charset): Mark `cs->encoding_table'; don't mark
734 `cs->decoding_table'.
735 (charset_description): Add description of new member
737 (make_charset): Initialize `encoding_table'.
739 * char-ucs.h (struct Lisp_Charset): Add new member
741 (CHARSET_ENCODING_TABLE): New macro.
742 (XCHARSET_ENCODING_TABLE): New macro.
743 (charset_code_point): New implementation.
744 (encode_char_1): Likewise.
746 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
747 (disksave_object_finalization_1): Call finalizers of
748 `all_older_lcrecords' in UTF-2000.
749 (make_older_vector): New function in UTF-2000.
750 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
753 * lisp.h (make_older_vector): New prototype in UTF-2000.
755 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * lrecord.h (enum lrecord_type): Rename
758 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
760 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
761 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
762 `get_char_code_table'.
764 * mule-charset.c (mark_char_id_table): Renamed from
765 `mark_char_code_table'.
766 (char_id_table_equal): Renamed from `char_code_table_equal'.
767 (char_id_table_hash): Renamed from `char_code_table_hash'.
768 (make_char_id_table): Renamed from `make_char_code_table'.
769 (copy_char_id_table): Renamed from `copy_char_code_table'.
770 (get_char_id_table): Renamed from `get_char_code_table'.
771 (put_char_id_table): Renamed from `put_char_code_table'.
772 (to_char_id): Renamed from `to_char_code'.
774 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
775 `Lisp_Char_Code_Table'.
776 (char_id_table): Renamed from `char_code_table'.
777 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
778 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
779 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
780 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
781 (get_char_id_table): Renamed from `get_char_code_table'.
783 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
785 * lrecord.h (enum lrecord_type): Rename
786 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
788 * mule-charset.c (mark_byte_table): Renamed from
789 `mark_char_byte_table'.
790 (byte_table_equal): Renamed from `char_byte_table_equal'.
791 (byte_table_hash): Renamed from `byte_table_hash'.
792 (make_byte_table): Renamed from `make_byte_table'.
793 (copy_byte_table): Renamed from `copy_char_byte_table'.
795 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
796 `Lisp_Char_Byte_Table'.
797 (byte_table): Renamed from `char_byte_table'.
798 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
799 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
800 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
801 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
803 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
806 (dfc_convert_to_internal_format): Likewise.
808 * text-coding.c (Fcoding_system_canonical_name_p): New function.
809 * text-coding.c (Fcoding_system_alias_p): New function.
810 * text-coding.c (Fcoding_system_aliasee): New function.
811 * text-coding.c (append_suffix_to_symbol): New function.
812 * text-coding.c (dangling_coding_system_alias_p): New function.
813 * text-coding.c (Ffind_coding_system):
814 * text-coding.c (Fcopy_coding_system):
815 * text-coding.c (encode_coding_no_conversion):
816 * text-coding.c (syms_of_file_coding):
817 * text-coding.c (vars_of_file_coding):
818 Rewrite coding system alias code.
819 Allow nested aliases, like symbolic links.
820 Allow redefinition of coding system aliases.
821 Prevent existence of dangling coding system aliases.
822 Eliminate convert_to_external_format.
823 Eliminate convert_to_internal_format.
825 * text-coding.c: Change enum eol_type to eol_type_t.
827 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
830 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
832 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
833 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
835 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
838 `ideograph-daikanwa'.
840 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
841 (Vcharset_ucs_bmp): Likewise.
842 (Vcharset_mojikyo): Add new extern variable definition.
843 (Vcharset_latin_iso8859_2): Deleted because it is not used.
844 (Vcharset_latin_iso8859_3): Likewise.
845 (Vcharset_latin_iso8859_4): Likewise.
846 (Vcharset_latin_iso8859_9): Likewise.
847 (Vcharset_latin_viscii_lower): Likewise.
848 (Vcharset_latin_viscii_upper): Likewise.
849 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
850 `mojikyo' code-point is used to decode.
851 (encode_char_2): New function [to convert `mojikyo' code-point to
852 Mojikyo font encoding].
853 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
854 (breakup_char_1): Likewise.
855 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
857 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
859 * text-coding.c (Fmake_coding_system): Add document about
860 `disable-composition' property.
862 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
864 * text-coding.c (Qdisable_composition): New variable; delete
866 (Fmake_coding_system): Add new property `disable-composite';
867 delete property `composite'.
868 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
869 instead of `!CODING_SYSTEM_COMPOSITE'.
870 (syms_of_file_coding): Add new symbol `disable-composition';
871 delete symbol `composite'.
873 * file-coding.h (struct Lisp_Coding_System): Add
874 `disable_composition'; delete `enable_composition'.
875 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
876 `CODING_SYSTEM_COMPOSITE'.
877 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
878 `XCODING_SYSTEM_COMPOSITE'.
880 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
882 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
885 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
887 * text-coding.c (Qcomposite): New variable.
888 (Fmake_coding_system): Add new property `composite'.
889 (struct decoding_stream): Add `combined_char_count',
890 `combined_chars' and `combining_table' in UTF-2000.
891 (COMPOSE_FLUSH_CHARS): New macro.
892 (COMPOSE_ADD_CHAR): New macro.
893 (reset_decoding_stream): Reset `str->combined_char_count' and
894 `str->combining_table' in UTF-2000.
895 (decode_coding_iso2022): Modify for character-decomposition.
896 (syms_of_file_coding): Add new symbol `composite'.
898 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
900 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
901 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
902 of `Vcharacter_composition_table' if `->decomposition' property
904 (Qlatin_tcvn5712): New variable.
905 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
906 (complex_vars_of_mule_charset): Add new coded-charset
909 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
911 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * file-coding.h (struct Lisp_Coding_System): Add
914 `enable_composition'.
915 (CODING_SYSTEM_COMPOSITE): New macro.
916 (XCODING_SYSTEM_COMPOSITE): New macro.
918 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
920 * mule-canna.c (c2mu): Fix problem with UTF-2000.
922 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
924 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
925 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
927 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
929 * mule-charset.c (Vcharset_mojikyo): New variable.
930 (Fdefine_char): Don't use coded-charset which does not have
931 non-builtin character range to allocate character-id.
932 (Qmojikyo): New variable.
933 (syms_of_mule_charset): Add new symbol `mojikyo'.
934 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
936 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
937 (LEADING_BYTE_MOJIKYO): New macro.
938 (MIN_CHAR_MOJIKYO): New macro.
939 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
940 (MAX_CHAR_MOJIKYO): New macro.
942 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
944 * mule-charset.c (remove_char_attribute): Fixed.
946 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
948 * mule-charset.c (remove_char_attribute): New function.
949 (Fremove_char_attribute): New function.
950 (encode_builtin_char_1): Comment out builtin-support for
951 greek-iso8859-7 and cyrillic-iso8859-5.
952 (Fdecode_char): Check `code' is an integer.
953 (syms_of_mule_charset): Add `remove-char-attribute'.
954 (MIN_CHAR_GREEK): Deleted.
955 (MAX_CHAR_GREEK): Likewise.
956 (MIN_CHAR_CYRILLIC): Likewise.
957 (MAX_CHAR_CYRILLIC): Likewise.
958 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
959 MAX_CHAR_GREEK for `greek-iso8859-7'.
961 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
962 (MAX_CHAR_GREEK): Likewise.
963 (MIN_CHAR_CYRILLIC): Likewise.
964 (MAX_CHAR_CYRILLIC): Likewise.
966 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
968 * mule-charset.c (Fdefine_char): Fix problem when new code-point
969 format is used without `ucs' property.
970 (Fdecode_char): Fix problem with GR representation.
971 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
972 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
974 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
976 * mule-charset.c (make_builtin_char): New function.
977 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
978 (Fset_charset_mapping_table): Modify for new representation of
980 (Fdecode_char): New function.
981 (syms_of_mule_charset): Add new builtin function `decode-char' in
984 * char-ucs.h (make_builtin_char): New prototype.
985 (DECODE_CHAR): New inline function.
986 (MAKE_CHAR): Use `DECODE_CHAR'.
988 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
990 * text-coding.c (parse_charset_conversion_specs): Use
991 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
993 (iso2022_designate): Likewise.
995 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
996 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
998 * mule-charset.c (Vcharset_ucs): New variable.
999 (print_charset): Change design; use `CHARSET_CHARS' and
1000 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1001 (make_charset): Change signature to specify `chars' and
1002 `dimension' instead of `type'.
1003 (range_charset_code_point): Modify for 256^n-set.
1004 (encode_builtin_char_1): Encode as `ucs' in default.
1005 (Fmake_charset): Modify for `make_charset'.
1006 (Fmake_reverse_direction_charset): Likewise.
1007 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1009 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1012 * char-ucs.h (Vcharset_ucs): New variable.
1013 (LEADING_BYTE_UCS): New macro.
1014 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1015 and `chars' to `unsigned short' from `unsigned int'.
1016 (CHARSET_TYPE): Deleted.
1017 (XCHARSET_TYPE): Deleted.
1019 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1021 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1023 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1024 (ENCODE_CHAR): New macro.
1026 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1028 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1029 to 0.14 (Kawachi-Katakami).
1031 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1033 * text-coding.c (char_encode_shift_jis): Modify for
1034 `charset_code_point'.
1035 (char_encode_iso2022): Likewise.
1037 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1038 (integer) instead of list of <Lisp_Object>s (integers) as the
1039 format of code-point of a coded-charset.
1040 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1041 (encode_builtin_char_1): New function; delete
1042 `split_builtin_char'.
1043 (charset_code_point): Return <int> instead of <Lisp_Object>.
1044 (Fsplit_char): Don't use `SPLIT_CHAR'.
1046 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1047 prototype for `split_builtin_char'.
1048 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1049 (charset_code_point): Likewise.
1050 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1051 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1053 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1055 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1056 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1058 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1060 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1062 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1063 (MAX_CHAR_OBS_94x94): Deleted.
1065 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1067 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1069 * char-ucs.h (MAX_CHAR_BMP): New macro.
1071 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1073 * text-coding.c: Sync with r21-2-24.
1075 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1077 * file-coding.c: Modify for UTF-2000.
1079 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1081 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1084 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1086 * mule-charset.c (split_builtin_char): Delete builtin support for
1087 `katakana-jisx0201'.
1088 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1089 BMP area in builtin representation.
1091 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1092 `Vcharset_katakana_jisx0201'.
1094 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1096 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1097 (Qisolated): New variable.
1098 (Qinitial): New variable.
1099 (Qmedial): New variable.
1100 (Qfinal): New variable.
1101 (Qvertical): New variable.
1102 (Qsmall): New variable.
1103 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1104 `Qvertical' and `Qsmall'.
1105 (Qmojikyo_pj_[1 .. 21]): New variable.
1106 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1107 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1108 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1111 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1113 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1114 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1115 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1117 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1119 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1120 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1122 (Qjapanese_jisx0208_1990): New variable.
1123 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1124 (complex_vars_of_mule_charset): Add new coded-charset
1125 `japanese-jisx0208-1990'.
1127 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1128 (MIN_CHAR_JIS_X0208_1990): New macro.
1129 (MAX_CHAR_JIS_X0208_1990): New macro.
1131 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1133 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1134 coded-charset is not found.
1136 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1138 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1139 (Fdefine_char): Use `Fmake_char'.
1141 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1143 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1144 (Vcharset_hiragana_jisx0208): Deleted.
1145 (Vcharset_katakana_jisx0208): Deleted.
1146 (Qideograph_daikanwa): New variable.
1147 (Qhiragana_jisx0208): Deleted.
1148 (Qkatakana_jisx0208): Deleted.
1149 (split_builtin_char): Split `ideograph-daikanwa'.
1150 (Fsplit_char): New implementation for UTF-2000.
1151 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1152 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1153 (complex_vars_of_mule_charset): Add new coded-charset
1154 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1155 `katakana-jisx0208'.
1157 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1158 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1159 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1160 (MIN_CHAR_DAIKANWA): New macro.
1161 (MAX_CHAR_DAIKANWA): New macro.
1163 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1165 * data.c (Fstring_to_number): Don't recognize floating point if
1168 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1170 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1172 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1174 * mule-charset.c (Qsquare): New variable.
1175 (to_char_code): Add `Qsquare'.
1176 (syms_of_mule_charset): Add new symbol `square'.
1178 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1180 * mule-charset.c (Qcircle): New variable.
1181 (to_char_code): Add `Qcircle'.
1182 (syms_of_mule_charset): Add new symbol `circle'.
1184 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1186 * mule-charset.c (Qfont): New variable.
1187 (to_char_code): Add `Qfont'.
1188 (syms_of_mule_charset): Add new symbol `font'.
1190 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1192 * mule-charset.c (Qsub): New variable.
1193 (to_char_code): Add `Qsub'.
1194 (syms_of_mule_charset): Add new symbol `sub'.
1196 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1198 * mule-charset.c (Fput_char_attribute): Convert each element of
1199 VALUE to GL position if ATTRIBUTE is a GR-set,
1201 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1203 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1204 coded-charset is a GR-set.
1206 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1208 * mule-charset.c (Fput_char_attribute): Check each element of
1209 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1211 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1213 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1215 (Qethiopic_ucs): New variable in UTF-2000.
1216 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1217 (complex_vars_of_mule_charset): Add new coded-charset
1218 `ethiopic-ucs' in UTF-2000.
1220 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1221 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1223 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1225 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1227 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1229 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1232 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1234 * mule-charset.c (Vcharacter_variant_table): New variable.
1235 (Q_ucs): New variable.
1236 (Fchar_variants): New function.
1237 (Fput_char_attribute): Register `->ucs' value to
1238 `Vcharacter_variant_table'.
1239 (syms_of_mule_charset): Add new function `char-variants' and new
1241 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1243 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1245 * mule-charset.c (get_char_code_table): Allow negative character
1247 (put_char_code_table): Likewise.
1248 (Vcharacter_composition_table): New variable.
1249 (Q_decomposition): New variable.
1250 (Qwide): New variable.
1251 (Qnarrow): New variable.
1252 (Qcompat): New variable.
1253 (QnoBreak): New variable.
1254 (Qsuper): New variable.
1255 (Qfraction): New variable.
1256 (to_char_code): New function.
1257 (Fget_composite_char): New function.
1258 (Fput_char_attribute): Register `->decomposition' value to
1259 `Vcharacter_composition_table'.
1260 (syms_of_mule_charset): Add new function `get-composite-char', new
1261 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1262 `super' and `fraction'.
1263 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1265 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1267 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1268 character; copy the return value.
1270 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1272 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1274 * mule-charset.c (range_charset_code_point): Must use make_int.
1275 (split_builtin_char): New function.
1277 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1279 * mule-charset.c (char_byte_table): Change name from
1280 "char-code-table" to "char-byte-table".
1281 (mark_char_code_table): New function.
1282 (char_code_table_equal): New function.
1283 (char_code_table_hash): New function.
1284 (char_code_table_description): New constant.
1285 (char_code_table): New type.
1286 (make_char_code_table): New function.
1287 (copy_char_code_table): New function.
1288 (get_char_code_table): Modify for `char_code_table' type.
1289 (put_char_code_table): Likewise.
1290 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1293 * char-ucs.h (char_code_table): New type.
1294 (XCHAR_CODE_TABLE): New macro.
1295 (XSETCHAR_CODE_TABLE): New macro.
1296 (CHAR_CODE_TABLE_P): New macro.
1297 (GC_CHAR_CODE_TABLE_P): New macro.
1298 (struct Lisp_Char_Code_Table): New structure.
1300 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1302 * mule-charset.c (Fmake_charset): Setup byte_offset for
1305 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1307 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1310 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1312 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1315 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1317 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1318 charset, it is regarded as a charset.
1319 (put_char_attribute): New function in UTF-2000.
1320 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1321 charset, mapping-table of the charset is modified.
1322 (Fdefine_char): New function in UTF-2000.
1323 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1324 `Fput_char_attribute'.
1325 (syms_of_mule_charset): Add new function `define-char' and new
1326 symbol `ucs' in UTF-2000.
1327 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1329 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1331 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1332 non-UTF-2000 configuration.
1334 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1336 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1337 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1339 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1341 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1342 (Fset_charset_mapping_table): Likewise.
1344 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1345 (CHARSET_ENCODING_TABLE): Delete.
1346 (XCHARSET_ENCODING_TABLE): Delete.
1347 (charset_code_point): New interface.
1349 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1351 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1352 instead of `charset_get_byte1' and `charset_get_byte2'.
1354 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1355 (charset_get_byte2): Deleted.
1357 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1359 * char-ucs.h (SPLIT_CHAR): New inline function.
1360 (breakup_char_1): Use `SPLIT_CHAR'.
1362 * mule-charset.c (range_charset_code_point): New function.
1363 (charset_code_point): New function.
1365 * char-ucs.h (range_charset_code_point): New interface.
1366 (breakup_char_1): Use `range_charset_code_point'.
1368 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1370 * mule-charset.c (Fmake_charset): Delete unused local variable
1373 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1374 (breakup_char_1): Find a charset and code-point in
1375 `Vcharacter_attribute_table'.
1377 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1379 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1382 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1384 * mule-charset.c (Vcharacter_attribute_table): New variable.
1385 (Fchar_attribute_alist): New function.
1386 (Fget_char_attribute): New function.
1387 (Fput_char_attribute): New function.
1388 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1390 (syms_of_mule_charset): Add new function `char-attribute-alist',
1391 `get-char-attribute' and `put-char-attribute'.
1392 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1394 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1396 * mule-charset.c (Fmake_charset): Just use
1397 `get_unallocated_leading_byte'.
1399 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1400 sets; don't use final-byte based number for private sets.
1402 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1404 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1407 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1409 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1412 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1414 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1415 of `CHAR_LEADING_BYTE' in UTF-2000.
1417 * insdel.c (find_charsets_in_bufbyte_string): Use
1418 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1419 (find_charsets_in_emchar_string): Likewise.
1421 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1422 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1424 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1425 (CHAR_CHARSET_ID): New macro.
1427 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1429 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1430 charset-id - MIN_LEADING_BYTE.
1431 (put_char_table): Likewise.
1433 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1435 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1436 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1437 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1438 (CHARSET_ID_OFFSET): New macro.
1439 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1440 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1441 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1442 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1444 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1446 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1447 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1448 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1449 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1450 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1452 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1454 * mule-charset.c (next_allocated_leading_byte): New variable in
1456 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1457 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1458 (get_unallocated_leading_byte): Simply use
1459 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1460 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1463 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1464 (MAX_LEADING_BYTE_PRIVATE): New macro.
1465 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1466 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1468 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1470 * mule-charset.c (Fmake_charset): Allocate final-byte based
1471 charset-id for 94-set, 96-set and 94x94-set.
1473 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1475 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1477 (Fmake_charset): Likewise.
1478 (complex_vars_of_mule_charset): Modify the font registry of
1479 `ucs-bmp' not to match `Ethiopic-Unicode'.
1481 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1483 * mule-charset.c (complex_vars_of_mule_charset): Add font
1484 registory of `ucs-bmp'.
1486 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1488 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1489 coded-charsets in `default-coded-charset-priority-list' when
1490 breaking up a character.
1492 * mule-charset.c (Vcharset_latin_viscii): New variable.
1493 (Qlatin_viscii): New variable.
1494 (make_charset): Don't use `decoding_table'.
1495 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1497 (Fset_charset_mapping_table): New implementation.
1498 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1499 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1500 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1501 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1502 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1503 charset `latin_viscii'.
1505 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1506 (CHARSET_TYPE_94X94): Change to 1 from 2.
1507 (CHARSET_TYPE_96): Change to 2 from 1.
1508 (CHARSET_TYPE_128): New macro.
1509 (CHARSET_TYPE_128X128): Change to 5 from 4.
1510 (CHARSET_TYPE_256): New macro.
1511 (CHARSET_TYPE_256X256): Change to 7 from 5.
1512 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1514 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1516 * text-coding.c (char_encode_shift_jis): Refer
1517 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1518 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1520 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1521 (char_byte_table_equal): New function in UTF-2000.
1522 (char_byte_table_hash): New function in UTF-2000.
1523 (char_byte_table_description): New constant in UTF-2000.
1524 (char_byte_table): New type in UTF-2000.
1525 (make_char_byte_table): New function in UTF-2000.
1526 (copy_char_byte_table): New function in UTF-2000.
1527 (make_char_code_table): New macro in UTF-2000.
1528 (get_char_code_table): New function in UTF-2000.
1529 (put_char_code_table): New function in UTF-2000.
1530 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1531 (charset_description): Add setting in UTF-2000.
1532 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1533 `CHARSET_TO_BYTE1_TABLE(cs)'.
1534 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1535 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1536 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1537 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1538 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1539 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1540 `CHARSET_TO_BYTE2_TABLE(cs)'.
1542 * char-ucs.h (char_byte_table): New type.
1543 (XCHAR_BYTE_TABLE): New macro.
1544 (XSETCHAR_BYTE_TABLE): New macro.
1545 (CHAR_BYTE_TABLE_P): New macro.
1546 (GC_CHAR_BYTE_TABLE_P): New macro.
1547 (struct Lisp_Char_Byte_Table): New structure.
1548 (get_char_code_table): New interface.
1549 (Emchar_to_byte_table): Deleted.
1550 (get_byte_from_character_table): Deleted.
1551 (struct Lisp_Charset): Add `encoding_table'; delete
1552 `to_byte1_table' and `to_byte2_table'.
1553 (CHARSET_ENCODING_TABLE): New macro.
1554 (CHARSET_TO_BYTE1_TABLE): Deleted.
1555 (CHARSET_TO_BYTE2_TABLE): Deleted.
1556 (XCHARSET_ENCODING_TABLE): New macro.
1557 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1558 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1560 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1562 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1563 `vietnamese-viscii-*'.
1565 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1567 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1568 (Qvietnamese_viscii_upper): New variable.
1569 (Fdefine_charset_alias): New function.
1570 (syms_of_mule_charset): Add new function `define-charset-alias'.
1571 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1572 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1575 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1577 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1578 (MAX_CHAR_OBS_94x94): New macro.
1579 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1582 * mule-charset.c (put_byte_from_character_table): Change unit size
1584 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1586 (Fmake_reverse_direction_charset): Modify dummy argument of
1587 `make_charset' for non-UTF-2000 environment.
1589 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1591 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1593 * mule-charset.c (destroy_byte_from_character_table): New macro.
1594 (latin_jisx0201_to_ucs): Deleted.
1595 (latin_iso8859_2_to_ucs): Deleted.
1596 (latin_iso8859_3_to_ucs): Deleted.
1597 (latin_iso8859_4_to_ucs): Deleted.
1598 (latin_iso8859_9_to_ucs): Deleted.
1599 (latin_viscii_lower_to_ucs): Deleted.
1600 (latin_viscii_upper_to_ucs): Deleted.
1601 (mark_charset): Mark `cs->decoding_table'.
1602 (Fcharset_mapping_table): Fix DOC-string.
1603 (Fset_charset_mapping_table): New function.
1604 (syms_of_mule_charset): Add nwe function
1605 `set-charset-mapping-table'.
1606 (complex_vars_of_mule_charset): Don't setup and use
1609 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1611 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1614 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1616 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1617 (Vcharset_katakana_jisx0208): New variable.
1618 (Qhiragana_jisx0208): New variable.
1619 (Qkatakana_jisx0208): New variable.
1620 (make_charset): Add new argument `byte_offset'.
1621 (charset_get_byte1): Modify for new coded-charset definition; use
1622 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1623 `XCHARSET_BYTE_OFFSET'.
1624 (Fmake_charset): Modify for `make_charset'.
1625 (Fmake_reverse_direction_charset): Likewise.
1626 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1627 `katakana-jisx0208'.
1628 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1629 `.' in font registry of charset `katakana-jisx0201',
1630 `latin-jisx0201', `vietnamese-viscii-lower' and
1631 `vietnamese-viscii-upper'; modify DOC-string of charset
1632 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1633 registry of charset `japanese-jisx0208' not to use font for JIS
1634 X0208:1990; add new charset `hiragana-jisx0208' and
1635 `katakana-jisx0208'.
1637 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1638 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1639 (struct Lisp_Charset): Add `byte_offset'.
1640 (CHARSET_BYTE_OFFSET): New macro.
1641 (XCHARSET_UCS_MIN): New macro.
1642 (XCHARSET_UCS_MAX): New macro.
1643 (XCHARSET_CODE_OFFSET): New macro.
1644 (XCHARSET_BYTE_OFFSET): New macro.
1645 (MIN_CHAR_HIRAGANA): New macro.
1646 (MAX_CHAR_HIRAGANA): New macro.
1647 (MIN_CHAR_KATAKANA): New macro.
1648 (MAX_CHAR_KATAKANA): New macro.
1649 (MAKE_CHAR): Modify for new coded-charset definition; use
1650 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1651 `XCHARSET_BYTE_OFFSET'.
1653 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1655 * mule-charset.c (CHAR96): Deleted.
1656 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1658 (latin_iso8859_2_to_ucs): Likewise.
1659 (latin_iso8859_3_to_ucs): Likewise.
1660 (latin_iso8859_4_to_ucs): Likewise.
1661 (latin_iso8859_9_to_ucs): Likewise.
1662 (latin_viscii_lower_to_ucs): Likewise.
1663 (latin_viscii_upper_to_ucs): Likewise.
1664 (latin_tcvn5712_to_ucs): Commented out.
1665 (make_charset): Change type of argument `decoding_table' from
1666 <Emchar*> to <Lisp_Object> [vector of characters].
1667 (Fmake_charset): Modify for `make_charset'.
1668 (Fmake_reverse_direction_charset): Likewise.
1669 (Fcharset_mapping_table): New function in UTF-2000.
1670 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1672 (complex_vars_of_mule_charset): Modify for type change of
1673 `*_to_ucs'; modify for `make_charset'.
1675 * char-ucs.h (struct Lisp_Charset): Change type of
1676 `decoding_table' from <Emchar*> to <Lisp_Object>.
1677 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1679 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1681 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1682 error with non-UTF-2000-Mule.
1684 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1686 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1688 (Vcharset_chinese_cns11643_4): Likewise.
1689 (Vcharset_chinese_cns11643_5): Likewise.
1690 (Vcharset_chinese_cns11643_6): Likewise.
1691 (Vcharset_chinese_cns11643_7): Likewise.
1692 (Qchinese_cns11643_3): Likewise.
1693 (Qchinese_cns11643_4): Likewise.
1694 (Qchinese_cns11643_5): Likewise.
1695 (Qchinese_cns11643_6): Likewise.
1696 (Qchinese_cns11643_7): Likewise.
1697 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1698 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1699 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1700 (complex_vars_of_mule_charset): Likewise.
1702 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1704 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1706 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1707 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1709 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1711 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1713 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1714 (breakup_char_1): Likewise.
1716 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1717 one of them includes the specified character.
1719 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1721 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1723 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1725 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1727 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1729 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1730 definition for non-UTF-2000 Mule.
1731 (latin_iso8859_3_to_ucs): Likewise.
1732 (latin_iso8859_4_to_ucs): Likewise.
1733 (latin_iso8859_9_to_ucs): Likewise.
1734 (latin_jisx0201_to_ucs): Likewise.
1735 (MIN_CHAR_THAI): Likewise.
1736 (MAX_CHAR_THAI): Likewise.
1737 (MIN_CHAR_GREEK): Likewise.
1738 (MAX_CHAR_GREEK): Likewise.
1739 (MIN_CHAR_HEBREW): Likewise.
1740 (MAX_CHAR_HEBREW): Likewise.
1741 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1742 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1743 (MIN_CHAR_CYRILLIC): Likewise.
1744 (MAX_CHAR_CYRILLIC): Likewise.
1746 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1748 * char-ucs.h (breakup_char_1): Use
1749 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1750 thai-tis620 and katakana-jisx0201 area.
1752 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1754 * char-ucs.h (breakup_char_1): Use
1755 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1758 * text-coding.c (reset_encoding_stream): Fixed.
1759 (char_encode_ucs4): Delete `& 255'.
1761 * char-ucs.h (breakup_char_1): Use
1762 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1764 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1766 * file-coding.c (Fmake_coding_system): Don't set up
1767 `codesys->fixed.size'.
1768 (encode_coding_no_conversion): Don't refer
1769 `str->codesys->fixed.size'.
1771 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1773 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1774 (latin_a_char_to_byte1): Deleted.
1775 (latin_a_char_to_byte2): Deleted.
1777 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1779 * mule-charset.c (make_charset): Add new argument `ucs_min',
1780 `ucs_max' and `code_offset'.
1781 (charset_get_byte1): New implementation [delete specific charset
1782 depended implementations].
1783 (Fmake_charset): Modify for `make_charset'.
1784 (Fmake_reverse_direction_charset): Likewise.
1785 (complex_vars_of_mule_charset): Likewise.
1787 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1789 (CHARSET_UCS_MIN): New macro.
1790 (CHARSET_UCS_MAX): New macro.
1791 (CHARSET_CODE_OFFSET): New macro.
1792 (MAKE_CHAR): Delete charset depended definitions [except
1795 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1797 * char-ucs.h (breakup_char_1): Use
1798 `Vdefault_coded_charset_priority_list' for C0-Controls,
1799 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1801 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1803 * char-ucs.h (charset_get_byte1): New function.
1804 (XCHARSET_GET_BYTE1): Deleted.
1805 (charset_get_byte2): New function.
1806 (XCHARSET_GET_BYTE2): Deleted.
1807 (Vdefault_coded_charset_priority_list): New external variable.
1808 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1809 `Vdefault_preferred_coded_charset_list'.
1811 * mule-charset.c (charset_get_byte1): New function.
1812 (charset_get_byte2): New function.
1813 (Vdefault_coded_charset_priority_list): New variable.
1814 (vars_of_mule_charset): Add new variable
1815 `default-coded-charset-priority-list'.
1817 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1819 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1820 (XCHARSET_GET_BYTE2): New inline function.
1821 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1822 `XCHARSET_GET_BYTE2'.
1824 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1826 * mule-charset.c (make_charset): Initialize
1827 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1828 NULL if table is not defined.
1830 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1832 * text-coding.c (char_encode_shift_jis): Use
1833 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1834 `ucs_to_latin_jisx0201'.
1836 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1837 (ucs_to_latin_iso8859_2): Deleted.
1838 (ucs_to_latin_iso8859_3): Deleted.
1839 (ucs_to_latin_iso8859_4): Deleted.
1840 (ucs_to_latin_iso8859_9): Deleted.
1841 (ucs_to_latin_viscii_lower): Deleted.
1842 (ucs_to_latin_viscii_upper): Deleted.
1843 (ucs_to_latin_tcvn5712): Deleted.
1844 (make_charset): Add new argument `decoding_table'; set up
1845 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1846 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1847 `decoding_table' is defined in UTF-2000.
1848 (Fmake_charset): Modify for `make_charset'.
1849 (Fmake_reverse_direction_charset): Likewise.
1850 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1851 and `GENERATE_96_SET'.
1853 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1854 (ucs_to_latin_jisx0201): Deleted.
1855 (latin_iso8859_2_to_ucs): Deleted.
1856 (ucs_to_latin_iso8859_2): Deleted.
1857 (latin_iso8859_3_to_ucs): Deleted.
1858 (ucs_to_latin_iso8859_3): Deleted.
1859 (latin_iso8859_4_to_ucs): Deleted.
1860 (ucs_to_latin_iso8859_4): Deleted.
1861 (latin_iso8859_9_to_ucs): Deleted.
1862 (ucs_to_latin_iso8859_9): Deleted.
1863 (latin_viscii_lower_to_ucs): Deleted.
1864 (ucs_to_latin_viscii_lower): Deleted.
1865 (latin_viscii_upper_to_ucs): Deleted.
1866 (ucs_to_latin_viscii_upper): Deleted.
1867 (struct Lisp_Charset): Renamed `encoding_table' to
1868 `to_byte1_table'; add `to_byte2_table'.
1869 (CHARSET_DECODING_TABLE): New macro.
1870 (CHARSET_TO_BYTE1_TABLE): New macro.
1871 (CHARSET_TO_BYTE2_TABLE): New macro.
1872 (XCHARSET_DECODING_TABLE): New macro.
1873 (XCHARSET_TO_BYTE1_TABLE): New macro.
1874 (XCHARSET_TO_BYTE2_TABLE): New macro.
1875 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1877 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1878 don't use `ucs_to_*' tables.
1880 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1882 * text-coding.c (Fmake_coding_system): Don't set up
1883 `codesys->fixed.size'.
1884 (encode_coding_no_conversion): Use `if' instead of `switch'.
1886 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1888 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1890 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1891 (Fmake_charset): Modify for `make_charset'.
1892 (Fmake_reverse_direction_charset): Likewise.
1893 (complex_vars_of_mule_charset): Likewise.
1895 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1897 * text-coding.c (char_encode_shift_jis): Use table
1898 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1900 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1902 * text-coding.c (text_encode_generic): Use `if' instead of
1904 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1907 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1909 * text-coding.c (encode_coding_sjis): Deleted.
1910 (char_encode_shift_jis): New function.
1911 (char_finish_shift_jis): New function.
1912 (reset_encoding_stream): Set up `encode_char' and `finish' for
1913 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1914 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1915 (char_encode_utf8): Treat `eol_type'.
1917 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1919 * file-coding.c (decode_coding_iso2022): Use
1920 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1922 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1924 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1927 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1929 * char-lb.h (CHAR_COLUMNS): New macro.
1931 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1933 * text-coding.c (char_encode_ucs4): New function.
1934 (char_finish_ucs4): New function.
1935 (encode_coding_ucs4): Deleted.
1936 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
1937 (text_encode_generic): Delete local variable `charset' and `half'.
1938 (ucs_to_mule_table): Deleted.
1939 (mule_to_ucs_table): Deleted.
1940 (Fset_ucs_char): Deleted.
1941 (ucs_to_char): Deleted.
1942 (Fucs_char): Deleted.
1943 (Fset_char_ucs): Deleted.
1944 (Fchar_ucs): Deleted.
1945 (decode_ucs4): Deleted.
1946 (mule_char_to_ucs4): Deleted.
1947 (encode_ucs4): Deleted.
1948 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
1949 (decode_coding_utf8): Likewise.
1950 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
1951 (char_encode_iso2022): Fixed.
1952 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
1953 `Fset_char_ucs' and `Fchar_ucs'.
1954 (complex_vars_of_file_coding): Don't initialize
1955 `ucs_to_mule_table'.
1957 * objects-tty.c (tty_initialize_font_instance): Don't use
1960 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
1963 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
1964 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1966 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
1967 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1968 (emchar_string_displayed_columns): Likewise.
1970 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
1971 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1972 (string_column_at_point): Likewise.
1973 (Fmove_to_column): Likewise.
1975 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
1976 `encoding_table' and `decoding_table'.
1977 (CHARSET_REP_BYTES): Deleted.
1978 (XCHARSET_REP_BYTES): Deleted.
1979 (XCHARSET_COLUMNS): Deleted.
1980 (CHAR_COLUMNS): New macro.
1981 (lookup_composite_char): Deleted unconditionally.
1982 (composite_char_string): Likewise.
1984 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1986 * char-ucs.h (Emchar_to_byte_table): New type.
1987 (get_byte_from_character_table): New function interface.
1988 (Vcharset_latin_jisx0201): New variable.
1989 (latin_jisx0201_to_ucs): New variable.
1990 (ucs_to_latin_jisx0201): New variable.
1991 (Vcharset_latin_iso8859_2): New variable.
1992 (latin_iso8859_2_to_ucs): New variable.
1993 (ucs_to_latin_iso8859_2): New variable.
1994 (Vcharset_latin_iso8859_3): New variable.
1995 (latin_iso8859_3_to_ucs): New variable.
1996 (ucs_to_latin_iso8859_3): New variable.
1997 (Vcharset_latin_iso8859_4): New variable.
1998 (latin_iso8859_4_to_ucs): New variable.
1999 (ucs_to_latin_iso8859_4): New variable.
2000 (Vcharset_latin_iso8859_9): New variable.
2001 (latin_iso8859_9_to_ucs): New variable.
2002 (ucs_to_latin_iso8859_9): New variable.
2003 (Vcharset_latin_viscii_lower): New variable.
2004 (latin_viscii_lower_to_ucs): New variable.
2005 (ucs_to_latin_viscii_lower): New variable.
2006 (Vcharset_latin_viscii_upper): New variable.
2007 (latin_viscii_upper_to_ucs): New variable.
2008 (ucs_to_latin_viscii_upper): New variable.
2009 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2010 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2011 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2012 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2013 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2014 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2015 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2016 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2017 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2018 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2020 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2021 (Vcharset_latin_viscii_upper): New variable.
2022 (make_byte_from_character_table): New function.
2023 (put_byte_from_character_table): New function.
2024 (get_byte_from_character_table): New function.
2025 (CHAR96): New macro.
2026 (ucs_to_latin_jisx0201): New variable.
2027 (latin_jisx0201_to_ucs): New variable.
2028 (ucs_to_latin_iso8859_2): New variable.
2029 (latin_iso8859_2_to_ucs): New variable.
2030 (ucs_to_latin_iso8859_3): New variable.
2031 (latin_iso8859_3_to_ucs): New variable.
2032 (ucs_to_latin_iso8859_4): New variable.
2033 (latin_iso8859_4_to_ucs): New variable.
2034 (ucs_to_latin_iso8859_9): New variable.
2035 (latin_iso8859_9_to_ucs): New variable.
2036 (ucs_to_latin_viscii_lower): New variable.
2037 (latin_viscii_lower_to_ucs): New variable.
2038 (ucs_to_latin_viscii_upper): New variable.
2039 (latin_viscii_upper_to_ucs): New variable.
2040 (ucs_to_latin_tcvn5712): New variable.
2041 (latin_tcvn5712_to_ucs): New variable.
2042 (Qlatin_viscii_lower): New variable.
2043 (Qlatin_viscii_upper): New variable.
2044 (syms_of_mule_charset): Set up new symbol
2045 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2046 (complex_vars_of_mule_charset): Set up new charset
2047 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2048 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2049 `ucs_to_<CHARSET>' tables.
2051 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2053 * text-coding.c: New file.
2055 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2057 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2059 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2060 (MAKE_CHAR): Modify for `ucs-bmp'.
2061 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2062 non-MULE characters of BMP.
2064 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2066 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2069 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2072 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2073 - Include character.h for `CHAR_ASCII_P'.
2075 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2077 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2078 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2080 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2081 (BYTE_C0_P): Likewise.
2082 (BYTE_C1_P): Likewise.
2083 (Lstream_get_emchar_1): Likewise.
2084 (Lstream_fput_emchar): Likewise.
2085 (Lstream_funget_emchar): Likewise.
2086 (copy_internal_to_external): Likewise.
2087 (copy_external_to_internal): Likewise.
2089 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2090 (BYTE_C0_P): Likewise.
2091 (BYTE_C1_P): Likewise.
2092 (Lstream_get_emchar_1): Likewise.
2093 (Lstream_fput_emchar): Likewise.
2094 (Lstream_funget_emchar): Likewise.
2095 (copy_internal_to_external): Likewise.
2096 (copy_external_to_internal): Likewise.
2098 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2099 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2101 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2102 (BYTE_ASCII_P): Moved to mb-1byte.h.
2104 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2106 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2108 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2109 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2110 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2111 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2112 (VALIDATE_CHARPTR_FORWARD): Likewise.
2113 (simple_charptr_emchar): Moved to mb-multibyte.h.
2114 (simple_set_charptr_emchar): Likewise.
2115 (simple_charptr_copy_char): Likewise.
2116 (non_ascii_charptr_emchar): Likewise.
2117 (non_ascii_set_charptr_emchar): Likewise.
2118 (non_ascii_charptr_copy_char): Likewise.
2119 (charptr_emchar): Moved to mb-*byte.h.
2120 (set_charptr_emchar): Likewise.
2121 (charptr_copy_char): Likewise.
2123 * mb-1byte.h, mb-multibyte.h: New files.
2125 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2127 * mb-utf-8.h (MULTIBYTE): New macro.
2128 (MAX_EMCHAR_LEN): Moved from buffer.h.
2129 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2131 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2133 * mb-lb.h, multibyte.h: New files.
2135 * char-1byte.h (Charset_ID): Moved from buffer.h.
2136 (MIN_LEADING_BYTE): Likewise.
2137 (LEADING_BYTE_ASCII): Likewise.
2138 (NUM_LEADING_BYTES): Likewise.
2139 (CHARSETP): Likewise.
2140 (CHARSET_BY_LEADING_BYTE): Likewise.
2141 (XCHARSET_LEADING_BYTE): Likewise.
2142 (XCHARSET_GRAPHIC): Likewise.
2143 (XCHARSET_COLUMNS): Likewise.
2144 (XCHARSET_DIMENSION): Likewise.
2145 (CHAR_CHARSET): Likewise.
2146 (CHAR_LEADING_BYTE): Likewise.
2147 (BREAKUP_CHAR): Likewise.
2148 (Vcharset_ascii): Likewise.
2150 * buffer.h: Include multibyte.h unconditionally.
2151 (VALID_CHARPTR_P): Moved to multibyte.h.
2152 (ASSERT_VALID_CHARPTR): Likewise.
2153 (REAL_INC_CHARPTR): Likewise.
2154 (REAL_INC_CHARBYTIND): Likewise.
2155 (REAL_DEC_CHARPTR): Likewise.
2156 (INC_CHARPTR): Likewise.
2157 (INC_CHARBYTIND): Likewise.
2158 (DEC_CHARPTR): Likewise.
2159 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2160 (VALIDATE_CHARPTR_FORWARD): Likewise.
2161 (charptr_n_addr): Likewise.
2162 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2163 (simple_charptr_emchar): Moved to multibyte.h.
2164 (simple_set_charptr_emchar): Likewise.
2165 (simple_charptr_copy_char): Likewise.
2166 (non_ascii_charptr_emchar): Likewise.
2167 (non_ascii_set_charptr_emchar): Likewise.
2168 (non_ascii_charptr_copy_char): Likewise.
2169 (charptr_emchar): Likewise.
2170 (set_charptr_emchar): Likewise.
2171 (charptr_copy_char): Likewise.
2172 (charptr_emchar_n): Likewise.
2173 (Charset_ID): Moved to char-1byte.h.
2174 (Vcharset_ascii): Likewise.
2175 (CHAR_CHARSET): Likewise.
2176 (CHAR_LEADING_BYTE): Likewise.
2177 (LEADING_BYTE_ASCII): Likewise.
2178 (NUM_LEADING_BYTES): Likewise.
2179 (MIN_LEADING_BYTE): Likewise.
2180 (CHARSETP): Likewise.
2181 (CHARSET_BY_LEADING_BYTE): Likewise.
2182 (XCHARSET_LEADING_BYTE): Likewise.
2183 (XCHARSET_GRAPHIC): Likewise.
2184 (XCHARSET_COLUMNS): Likewise.
2185 (XCHARSET_DIMENSION): Likewise.
2186 (BREAKUP_CHAR): Likewise.
2188 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2190 * character.h: Add document about interface for characters.
2192 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2193 (MAKE_CHAR): Delete comment about
2194 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2195 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2196 (BREAKUP_CHAR): Modify name of arguments.
2197 (CHAR_CHARSET): Modify name of argument.
2199 * buffer.h: Delete document about Emchar accessors.
2201 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2203 * character.h (CHAR_INTP): Moved from buffer.h
2204 (CHAR_OR_CHAR_INTP): Likewise.
2205 (XCHAR_OR_CHAR_INT): Likewise.
2206 (CHECK_CHAR_COERCE_INT): Likewise.
2208 * buffer.h (CHAR_INTP): Moved to character.h
2209 (CHAR_OR_CHAR_INTP): Likewise.
2210 (XCHAR_OR_CHAR_INT): Likewise.
2211 (CHECK_CHAR_COERCE_INT): Likewise.
2213 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2216 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2217 - Include char-1byte.h, char-lb.h or char-ucs.h.
2219 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2221 * buffer.h: Include character unconditionally.
2222 (valid_char_p): Moved to char-*.h.
2223 (non_ascii_valid_char_p): Moved to char-lb.h.
2225 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2227 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2229 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2230 in UTF-2000 because it is not ported yet and not to use
2231 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2232 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2233 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2235 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2236 (CHAR_ASCII_P): Moved from character.h.
2238 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2239 (CHAR_ASCII_P): Likewise.
2240 (CHAR_FIELD1_MASK): Deleted.
2241 (CHAR_FIELD2_MASK): Deleted.
2242 (CHAR_FIELD3_MASK): Deleted.
2243 (MAX_CHAR_BASIC_LATIN): New macro.
2244 (CHAR_FIELD1): Deleted.
2245 (CHAR_FIELD2_INTERNAL): Deleted.
2246 (CHAR_FIELD3_INTERNAL): Deleted.
2247 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2248 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2249 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2250 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2251 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2252 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2253 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2254 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2255 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2256 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2257 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2258 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2259 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2260 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2261 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2262 (MIN_CHAR_COMPOSITION): Deleted.
2263 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2264 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2266 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2268 * buffer.h: Include mb-utf-8.h in UTF-2000.
2270 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2272 * mb-utf-8.h: New file.
2274 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2276 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2279 * mule-charset.h, buffer.h (Charset_ID): New type.
2281 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2283 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2284 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2285 instead of `MULE_CHAR_PRIVATE_OFFSET',
2286 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2287 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2288 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2290 * character.h (Vcharset_japanese_jisx0212): New variable
2293 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2295 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2296 (charset_by_attributes): Delete array about direction.
2297 (latin_a_char_to_charset): New variable in UTF-2000.
2298 (latin_a_char_to_byte1): New variable in UTF-2000.
2299 (latin_a_char_to_byte2): New variable in UTF-2000.
2300 (Qucs_bmp): New variable.
2301 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2303 (next_allocated_2_byte_leading_byte): Likewise.
2304 (non_ascii_set_charptr_emchar): Likewise.
2305 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2306 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2307 `charset_by_attributes'.
2308 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2309 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2310 and `CHARSET_BY_LEADING_BYTE'.
2311 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2312 `utf-2000-version' to `vars_of_mule_charset'.
2313 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2314 define `leading-code-private-11' in UTF-2000; move setting of
2315 `utf-2000-version' from `syms_of_mule_charset'.
2316 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2319 * character.h (Charset_ID): New type.
2320 (LEADING_BYTE_UCS_BMP): New macro.
2321 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2322 (CHARSET_ID_OFFSET_94): New macro.
2323 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2324 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2325 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2327 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2328 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2329 (CHARSET_ID_OFFSET_96): New macro.
2330 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2331 CHARSET_ID_OFFSET_96 and final-byte.
2332 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2333 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2334 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2335 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2336 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2337 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2338 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2339 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2340 (LEADING_BYTE_THAI_TIS620): Likewise.
2341 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2342 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2343 (CHARSET_ID_OFFSET_94x94): New macro.
2344 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2345 CHARSET_ID_OFFSET_94x94 and final-byte.
2346 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2347 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2348 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2349 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2350 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2351 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2352 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2353 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2354 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2355 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2356 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2357 (CHARSET_TYPE_128X128): New macro.
2358 (CHARSET_TYPE_256X256): New macro.
2359 (XCHARSET_PRIVATE_P): Delete unconditionally.
2360 (charset_by_attributes): Delete array about direction.
2361 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2362 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2363 (MIN_CHAR_94): New macro.
2364 (MAX_CHAR_94): New macro.
2365 (MIN_CHAR_96): New macro.
2366 (MAX_CHAR_96): New macro.
2367 (MIN_CHAR_94x94): New macro.
2368 (MAX_CHAR_94x94): New macro.
2369 (MIN_CHAR_96x96): New macro.
2370 (MAX_CHAR_96x96): New macro.
2371 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2372 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2373 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2375 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2376 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2377 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2378 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2379 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2380 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2381 `XCHARSET_LEADING_BYTE' to make code-point.
2382 (latin_a_char_to_charset): New variable.
2383 (latin_a_char_to_byte1): New variable.
2384 (latin_a_char_to_byte2): New variable.
2385 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2386 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2387 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2389 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2390 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2391 (find_charsets_in_emchar_string): Likewise.
2392 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2394 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2396 (decode_coding_iso2022): Likewise.
2398 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2401 * redisplay.c (redisplay_text_width_emchar_string): Use
2402 `Charset_ID' instead of `unsigned char'.
2403 (redisplay_frame_text_width_string): Likewise.
2405 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2408 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2409 instead of `unsigned char'.
2410 (face_cachel_charset_font_metric_info): Likewise.
2412 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2413 (get_non_ascii_char_table_value): Likewise.
2414 (get_char_table): Likewise.
2415 (put_char_table): Likewise.
2416 (map_over_other_charset): Likewise.
2417 (map_char_table): Likewise.
2419 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2420 instead of `unsigned char'.
2422 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2424 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2425 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2427 * mule-charset.c (leading_code_private_11): Don't define in
2430 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2431 in UTF-2000 because it is not ported yet and not to use
2432 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2434 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2436 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2438 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2440 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2443 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2444 of unsigned char to store leading-byte.
2446 * chartab.c (get_non_ascii_char_table_value): Don't use
2447 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2449 * file-coding.c (encode_coding_big5): Delete bogus implementation
2452 * character.h (LEADING_BYTE_*): Delete definition for
2454 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2455 (LEADING_BYTE_PREFIX_P): Deleted.
2456 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2457 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2458 (BUFBYTE_LEADING_BYTE_P): Deleted.
2459 (CHARSET_PRIVATE_P): Deleted unconditionally.
2460 (rep_bytes_by_first_byte): Deleted unconditionally.
2461 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2462 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2463 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2464 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2465 (CHAR_FIELD2): Deleted.
2466 (CHAR_FIELD3): Deleted.
2467 (MAKE_CHAR): Delete definition for non-UTF-2000.
2468 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2469 (breakup_char_1): New implementation.
2470 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2471 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2473 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2475 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2478 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2480 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2481 (CHARSET_PRIVATE_P): Likewise.
2482 (XCHARSET_PRIVATE_P): Likewise.
2483 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2485 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2487 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2489 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2491 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2492 (NUM_LEADING_BYTES): Changed from 128 to 256.
2493 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2494 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2496 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2498 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2500 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2501 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2502 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2503 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2504 (Qchinese_cns11643_3): New variable in UTF2000.
2505 (Qchinese_cns11643_4): New variable in UTF2000.
2506 (Qchinese_cns11643_5): New variable in UTF2000.
2507 (Qchinese_cns11643_6): New variable in UTF2000.
2508 (Qchinese_cns11643_7): New variable in UTF2000.
2509 (syms_of_mule_charset): Define `chinese-cns11643-3',
2510 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2511 and `chinese-cns11643-7' in UTF2000.
2512 (vars_of_mule_charset): Initialize
2513 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2515 (complex_vars_of_mule_charset): Setup charset
2516 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2517 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2519 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2521 * mule-charset.c: Move setting for `leading-code-private-11' from
2522 `syms_of_mule_charset' to `vars_of_mule_charset'.
2524 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2526 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2527 and `NUM_LEADING_BYTES' in assert.
2529 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2531 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2533 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2534 `NUM_LEADING_BYTES' instead of 128.
2536 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2538 * mule-charset.h (charset_by_leading_byte): Use
2539 `NUM_LEADING_BYTES' instead of 128.
2540 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2542 * mule-charset.c (charset_by_leading_byte): Use
2543 `NUM_LEADING_BYTES' instead of 128.
2544 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2546 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2549 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2551 * mule-charset.c (syms_of_mule_charset): Update to
2554 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2556 * file-coding.c (encode_coding_sjis): New implementation for
2557 UTF2000. (decode_coding_sjis): Ditto.
2559 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2561 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2562 Don't define in UTF2000.
2564 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2567 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2568 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2571 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2573 * config.h.in (CHAR_IS_UCS4): New macro.
2575 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2576 conventional MULE representation.
2577 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2579 * mule-charset.h: Reverted to original.
2581 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2582 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2583 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2585 * character.h: New file.
2587 * file-coding.c (Fmake_coding_system): Set 1 to
2588 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2590 (encode_coding_no_conversion): New implementation for UTF2000.
2592 * file-coding.h (struct Lisp_Coding_System): Add new member
2595 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2597 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2598 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2599 (encode_coding_iso2022): New implementation for UTF2000.
2601 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2603 * mule-canna.c (c2mu): New implementation for UTF2000.
2606 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2608 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2610 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2612 * file-coding.c (reset_encoding_stream): Set 0 to
2613 `str->iso2022.current_char_boundary' in UTF2000.
2614 (encode_utf8): Don't define in UTF2000.
2615 (encode_coding_utf8): New implementation for UTF-8 representation
2617 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2619 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2621 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2623 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2625 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2627 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2629 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2630 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2631 as UTF-8 in UTF2000.
2632 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2633 (non_ascii_valid_char_p): Don't define in UTF2000.
2634 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2635 (Lstream_get_emchar_1): Likewise.
2636 (utf-2000-version): New variable in UTF2000.
2638 * lread.c (read_escape): Add new reader `u'.
2640 * insdel.c (three_to_one_table): Don't define in UTF2000.
2641 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2642 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2644 (bytind_to_bufpos_func): Likewise.
2645 (buffer_mule_signal_inserted_region): Likewise.
2646 (vars_of_insdel): Don't initialize `three_to_one_table'.
2647 (init_buffer_text): Use `buf->text->mule_size' instead of
2648 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2651 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2652 UTF-8 representation in UTF2000.
2653 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2654 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2655 (decode_coding_iso2022): Don't define local variable `lb' in
2656 UTF2000; don't use LEADING_BYTE in UTF2000; use
2657 `DECODE_ADD_UCS_CHAR' in UTF2000.
2658 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2660 * config.h.in (UTF2000): New macro.
2662 * buffer.h (struct buffer_text): Add new member `mule_size' and
2663 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2664 (valid_char_p): Return always 1 in UTF2000.
2665 (MAX_EMCHAR_LEN): 6 in UTF2000.
2666 (three_to_one_table): Don't define in UTF2000.
2667 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2669 (real_bytind_to_bufpos): Likewise.
2671 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2673 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2675 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2676 representation change.
2677 (Vutf_2000_version): New variable.
2678 (leading_code_private_11): New variable.
2679 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2680 `leading-code-private-11'.
2682 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2683 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2684 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2685 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2686 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2687 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2688 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2689 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2690 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2691 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2692 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2693 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2694 (MIN_CHAR_GREEK): New macro.
2695 (MAX_CHAR_GREEK): New macro.
2696 (MIN_CHAR_CYRILLIC): New macro.
2697 (MAX_CHAR_CYRILLIC): New macro.
2698 (MIN_CHAR_HEBREW): New macro.
2699 (MAX_CHAR_HEBREW): New macro.
2700 (MIN_CHAR_THAI): New macro.
2701 (MAX_CHAR_THAI): New macro.
2702 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2703 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2704 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2705 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2706 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2707 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2708 (CHAR_FIELD2): New inline function.
2709 (CHAR_FIELD3): New inline function.
2710 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2711 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2712 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2713 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2714 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2715 (MIN_CHAR_COMPOSITION): Likewise.
2716 (CHAR_LEADING_BYTE): Modified for character representation change.
2717 (MAKE_CHAR): Likewise.
2719 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2720 (Vcharset_greek_iso8859_7): Likewise.
2721 (Vcharset_cyrillic_iso8859_5): Likewise.
2722 (Vcharset_hebrew_iso8859_8): Likewise.
2723 (Vcharset_thai_tis620): Likewise.
2724 (Vcharset_katakana_jisx0201): Likewise.
2726 2000-12-05 Martin Buchholz <martin@xemacs.org>
2728 * XEmacs 21.2.38 is released.
2730 2000-12-05 Martin Buchholz <martin@xemacs.org>
2732 * symsinit.h: Add init_postgresql_from_environment.
2734 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2736 * regex.c: Convert to clean C.
2738 2000-12-05 Dan Holmsand <dan@eyebee.com>
2741 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2743 (sys_readlink): renamed to system_readlink to avoid conflict with
2744 the other sys_readlink.
2746 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2748 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2750 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2752 * postgresql.c (init_postgresql_from_environment): new function.
2753 (vars_of_postgresql): Move code initializing Lisp variables out and
2754 into init_postgresql_from_environment.
2755 emacs.c (main_1): Call init_postgresql_from_environment if and only
2756 if running a dumped XEmacs.
2758 2000-08-31 Dan Holmsand <dan@eyebee.com>
2760 * buffer.c: Make find-file-compare-truenames default to true on
2763 * realpath.c (win32_abs_start):
2765 (win32_readlink): New functions.
2766 (xrealpath): Return really real filenames on windows.
2768 * fileio.c (Ffile_truename): Make file-truename work on windows.
2770 2000-11-29 Didier Verna <didier@xemacs.org>
2772 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2773 * faces.c (update_face_cachel_data): use it.
2774 * faces.c (add_face_cachel): use it. Complete background pixmap
2775 frobbing in face cache if `update_face_cachel_data' has not done so.
2777 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2779 * search.c (string_match_1): Don't set last_thing_searched
2782 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2784 * buffer.c: Include casetab.h
2785 (common_init_complex_vars_of_buffer): Use new case-table object.
2786 * buffer.h: Include casetab.h
2787 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2788 (DOWNCASE_TABLE_OF): Ditto.
2789 * bufslots.h: Remove char-tables and add case-table.
2790 * casetab.c: Include casetab.h
2791 (CASE_TABLE_P): Removed.
2792 (mark_case_table): New function.
2793 (allocate_case_table): New function.
2794 (Fcase_table_p): Use new case-table.
2795 (case_table_char): New function.
2796 (Fget_case_table): Ditto.
2797 (Fput_case_table): Ditto.
2798 (Fput_case_table_pair): Ditto.
2799 (Fcopy_case_table): Ditto.
2800 (Fcurrent_case_table): Return case-table.
2801 (Fstandard_case_table): Return case-table.
2802 (Fset_case_table): Fix doc-string.
2803 (set_case_table): Use case-table
2804 (syms_of_casetab): DEFSUBR new functions.
2805 (complex_vars_of_casetab): Set up standard case-table.
2806 * casetab.h: New file.
2807 * editfns.c: Include casetab.h
2808 (Fcompare_buffer_substrings): Use case-table.
2809 * inline.c: Include casetab.h
2810 * lisp.h: Remove bogus extern.
2811 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2812 * search.c: Include casetab.h
2813 (TRANSLATE_ASCII): Removed.
2814 (TRANSLATE): Unconditionally translate character.
2815 (looking_at_1): Use case-table.
2816 (string_match_1): Ditto.
2817 (fast_string_match): Ditto.
2818 (search_command): Ditto.
2819 (search_buffer): Separate boyer_moore. Check whether
2820 boyer_moore is poosible.
2821 (simple_search): New function.
2822 (boyer_moore): Separated from search_buffer. Translate char.
2824 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2826 * regex.c (RE_TR_ASCII): Removed.
2827 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2828 (PATFETCH): Call PATFETCH_RAW.
2829 (PATFETCH_RAW): Fetch Emchar.
2830 (PATUNFETCH): Decrement charptr.
2831 (GET_BUFFER_SPACE): Rename b to buf_end.
2833 (BUF_PUSH_2): Ditto.
2834 (BUF_PUSH_3): Ditto.
2835 (EXTEND_BUFFER): Ditto.
2836 (SET_LIST_BIT): Ditto.
2837 (regex_compile): Ditto. Translate non ASCII char.
2838 (compile_range): Ditto.
2839 (re_search_2): Ditto.
2840 (re_match_2_internal): Compare Emchar.
2841 (bcmp_translate): Ditto.
2843 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2845 * lisp.h (basic char/int typedefs): comment improvement.
2847 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2849 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2850 unstomp inhibit_site_lisp. Improve comments.
2852 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2854 * mule-charset.c (Fcharset_property): improve type checking, comments.
2856 2000-11-28 Andy Piper <andy@xemacs.org>
2858 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2859 clipped display for windows in the gutter also.
2860 (redisplay_display_boxes_in_window_p): change semantics of return
2861 codes to be more intuitive.
2863 * gutter.h: declare display_boxes_in_gutter_p.
2865 * gutter.c (display_boxes_in_gutter_p): new function for
2868 2000-11-22 Andy Piper <andy@xemacs.org>
2870 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2873 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2875 * callproc.c (Fold_call_process_internal):
2876 * gpm.c (Freceive_gpm_event):
2877 (tty_get_foreign_selection): Might be just warning supression.
2878 * fileio.c (Fwrite_region_internal):
2879 (Fset_visited_file_modtime):
2880 * keymap.c (event_matches_key_specifier_p):
2881 Initialize GCPROed variable.
2883 * menubar-x.c (command_builder_find_menu_accelerator):
2884 Initialize before use.
2886 2000-11-23 Andy Piper <andy@xemacs.org>
2888 * unexcw.c (unexec): make the resulting executable executable.
2890 2000-11-21 Martin Buchholz <martin@xemacs.org>
2892 * doc.c (get_doc_string):
2893 Use size_t, not int, for result of XSTRING_LENGTH.
2895 * cmds.c (Fdelete_char):
2896 * cmds.c (Fpoint_at_eol):
2897 * cmds.c (Fself_insert_command):
2898 Use EMACS_INT, not int, for result of XINT.
2899 Someday, someone will want to insert more than 2**31 identical characters.
2901 * cmds.c (Fdelete_char):
2902 * cmds.c (Fdelete_backward_char):
2903 * syntax.c (Fforward_word):
2904 * syntax.c (Fforward_comment):
2905 Make COUNT argument optional, for consistency with forward-char et al.
2907 2000-11-22 Martin Buchholz <martin@xemacs.org>
2910 * print.c (long_to_string):
2911 Return a useful value: the pointer at end of data written.
2914 Use `static const char * const' for constant strings.
2915 (union printf_arg): Delete `i', `ui' members.
2918 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2919 Do all printf-ing via the `l' specifier.
2920 Use EMACS_INT instead of int.
2923 2000-11-20 Didier Verna <didier@xemacs.org>
2925 * faces.c (update_face_cachel_data): don't frob the background
2926 pixmap when the window is being created. The face is needed but
2929 2000-11-20 Andy Piper <andy@xemacs.org>
2931 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
2932 messing with a debug environment.
2934 2000-11-20 Martin Buchholz <martin@xemacs.org>
2936 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
2938 2000-11-20 Martin Buchholz <martin@xemacs.org>
2940 * casetab.c (Fcase_table_p): Fix compile error and crash.
2942 2000-11-18 Philip Aston <philipa@mail.com>
2944 * s/cygwin32.h: Cygwin has SVR4-like pty support.
2946 2000-11-18 Martin Buchholz <martin@xemacs.org>
2948 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
2949 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
2951 2000-11-17 Martin Buchholz <martin@xemacs.org>
2953 * config.h.in: Define HAVE_ELF_H if elf.h exists.
2954 * unexelf.c: Use HAVE_ELF_H.
2955 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
2956 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
2957 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
2958 Greg Harrington <greg_harrington@hotmail.com> provided a machine
2960 So this is an unexelfsgi.c from a different line of development.
2962 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
2964 * regex.c (RE_TR_ASCII): New function.
2965 (RE_TRANSLATE): Call it.
2967 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
2969 * buffer.h (TRT_TABLE_OF): Remove assert.
2970 (IN_TRT_TABLE_DOMAIN): Removed.
2972 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
2974 * free-hook.c (log_gcpro):
2975 (show_gcprohist): Add support for GCPRO5.
2977 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
2979 * emacs.c (main_1): Improve -sd error message when --pdump=no.
2981 2000-11-16 Olivier Galibert <galibert@xemacs.org>
2983 * symeval.h: Declare flush_all_buffer_local_cache.
2985 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
2986 (flush_buffer_local_cache): Added.
2987 (flush_all_buffer_local_cache): Added.
2989 * lrecord.h: Remove unused XD_LO_RESET_NIL.
2991 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
2992 (pdump_dump_data): Ditto.
2993 (pdump_reloc_one): Ditto.
2994 (pdump): Remove unused pdump_qnil. Flush buffer local caches
2998 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3000 * buffer.c: Remove if 0'ed entry.
3001 * buffer.h: Rewrite TRT to use char-table.
3002 * bufslots.h: Remove mirror tables.
3003 * casetab.c: Remove mirror tables.
3004 (CASE_TABLE_P): New macro.
3005 (Fcase_table_p): Element of a case table is string or char-table.
3006 (make_mirror_trt_table): Removed.
3007 (set_case_table): Setup char-table from strings for backward
3009 * dired.c (Fdirectory_files):
3010 * dired-msw.c: (mswindows_get_files):
3011 * lisp.h: Change prototype of re_pattern_buffer.
3012 * regex.c: (RE_TRANSLATE): New macro.
3013 (TRANSLATE_P): Ditto.
3014 Change translate to type RE_TRANSLATE_TYPE.
3015 * regex.h: Define RE_TRANSLATE_TYPE
3016 * search.c (TRANSLATE): New macro.
3017 (TRANSLATE_ASCII): New macro.
3018 Translate table is changed to Lisp_Object.
3019 (signal_failure): Inhibit return.
3021 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3028 Do UNGCPRO before return.
3030 2000-11-14 Martin Buchholz <martin@xemacs.org>
3032 * XEmacs 21.2.37 is released.
3034 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3036 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3037 Add comments about discarded return value.
3039 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3042 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3044 2000-10-27 Andy Piper <andy@xemacs.org>
3046 * gutter.c (Fset_default_gutter_position): default left and right
3048 (calculate_gutter_size): calculate resonable heuristic for left
3049 and right gutter sizes.
3050 (specifier_vars_of_gutter): change left and right gutter sizes to
3052 (calculate_gutter_size_from_display_lines): new function.
3053 (output_gutter): check for resizing on left and right gutters.
3054 (clear_gutter): don't special case top and left gutters.
3055 (specifier_vars_of_gutter): use new signature for
3056 set_specifier_caching.
3058 * glyphs-x.c (x_redisplay_widget): spelling fix.
3059 * glyphs.c (specifier_vars_of_glyphs):
3060 * menubar.c (specifier_vars_of_menubar):
3061 * redisplay.c (specifier_vars_of_redisplay):
3062 * toolbar.c (specifier_vars_of_toolbar):
3063 * window.c (specifier_vars_of_window):
3064 * scrollbar.c (specifier_vars_of_scrollbar):
3065 (complex_vars_of_scrollbar): use new signature for
3066 set_specifier_caching.
3068 * specifier.c (set_specifier_caching): include recompute flag.
3069 (recompute_one_cached_specifier_in_window): always recompute if
3071 (recompute_one_cached_specifier_in_frame): ditto.
3073 * specifier.h (struct specifier_caching): add recompute flag.
3075 2000-10-24 Andy Piper <andy@xemacs.org>
3077 * unexcw.c (copy_executable_and_dump_data_section): add new
3078 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3081 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3083 * console-x.h (x_device): New member modifier_release_time.
3084 * event-Xt.c (x_handle_sticky_modifiers):
3085 Bound interval modifier keys are sticky.
3086 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3087 * events.h: extern it.
3089 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3091 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3093 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3095 * event-stream.c (execute_command_event): Preserve current_events
3096 and the like when event is misc-user-event.
3097 Inhibit quit during the call to maybe_echo_keys.
3099 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3101 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3102 symlink when buffer is killed.
3103 (inhibit_clash_detection): New variable.
3105 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3107 * console.c (Fset_input_method): Trigger redisplay on tty.
3109 2000-11-07 Martin Buchholz <martin@xemacs.org>
3111 * process.c (Fprocess_status): Revert to previous behavior:
3112 (process-status "nosuchprocess") ==> nil
3114 2000-11-06 Martin Buchholz <martin@xemacs.org>
3116 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3117 Work around another GCC 2.95.2 optimizer bug.
3119 2000-11-02 Martin Buchholz <martin@xemacs.org>
3121 * process.c (Fget_process): Use LIST_LOOP_2.
3122 (kill_buffer_processes): Use LIST_LOOP_2.
3124 * minibuf.c (Fall_completions):
3125 Delete old non-functional code for FSF fourth argument.
3127 * frame.c (frame_matches_frame_spec):
3128 Renamed from `frame_matches_frametype'. Update all callers.
3129 (device_matches_device_spec):
3130 Renamed from 'device_matches_console_spec'. Update all callers.
3132 * doc.c (Fsubstitute_command_keys):
3133 Remove buffer overflow crash. Small code cleanups.
3135 * casetab.c (check_case_table): Simpler code.
3137 * window.c (Freplace_buffer_in_windows):
3138 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3139 (and similar implementation) as Fdelete_windows_on.
3142 * alloc.c (Fmake_list):
3143 * alloc.c (make_vector):
3144 * alloc.c (Fmake_vector):
3145 * alloc.c (make_bit_vector):
3146 * alloc.c (Fmake_bit_vector):
3147 * alloc.c (Fbit_vector):
3148 * alloc.c (Fmake_string):
3149 * alloc.c (Fpurecopy):
3150 * alloc.c (Fmemory_limit):
3152 * buffer.c (Fget_buffer):
3153 * buffer.c (Fkill_buffer):
3154 * buffer.c (complex_vars_of_buffer):
3155 * bytecode.c (Fcompiled_function_stack_depth):
3156 * callint.c (Fprefix_numeric_value):
3158 * event-stream.c (Fread_key_sequence):
3160 * casetab.c (Fcase_table_p):
3161 * casetab.c (check_case_table):
3162 * casetab.c (Fset_case_table):
3163 * casetab.c (Fset_standard_case_table):
3165 * chartab.c (Fchar_table_type):
3166 * chartab.c (Freset_char_table):
3167 * chartab.c (Fget_char_table):
3168 * chartab.c (Fget_range_char_table):
3169 * chartab.c (Fput_char_table):
3170 * chartab.c (Fmap_char_table):
3171 * chartab.c (Fcategory_table_p):
3172 * chartab.c (Fcheck_category_at):
3173 * chartab.c (Fchar_in_category_p):
3174 * chartab.c (Fcategory_table):
3175 * chartab.c (Fcopy_category_table):
3176 * chartab.c (Fset_category_table):
3177 * chartab.c (Fcategory_designator_p):
3178 * chartab.c (Fcategory_table_value_p):
3179 * cmds.c (Fdelete_char):
3180 * cmds.c (Fdelete_backward_char):
3181 * cmds.c (Fself_insert_command):
3182 * cmds.c (Fself_insert_internal):
3183 * console.c (Fvalid_console_type_p):
3184 * console.c (Fcdfw_console):
3185 * console.c (Fconsole_type):
3186 * console.c (Fconsole_name):
3187 * console.c (Fconsole_device_list):
3188 * console.c (Fconsole_on_window_system_p):
3192 * data.c (Fsubr_interactive):
3193 * data.c (Fchar_to_int):
3194 * data.c (Fint_to_char):
3197 * data.c (Fnumber_to_string):
3198 * data.c (Fstring_to_number):
3200 * database.c (mark_database):
3201 * database.c (finalize_database):
3202 * database.c (Fdatabase_live_p):
3203 * database.c (Fdatabasep):
3204 * device-x.c (Fx_get_resource):
3205 * device.c (Fdfw_device):
3207 * dired.c (Ffile_name_completion):
3208 * dired.c (Ffile_name_all_completions):
3209 * dired.c (Fuser_name_completion):
3210 * dired.c (Fuser_name_completion_1):
3211 * dired.c (Fuser_name_all_completions):
3212 * doc.c (Fdocumentation):
3213 * doc.c (Fdocumentation_property):
3214 * doc.c (Fsubstitute_command_keys):
3216 * editfns.c (Fchar_to_string):
3217 * editfns.c (Fstring_to_char):
3218 * editfns.c (Ftemp_directory):
3219 * editfns.c (Finsert_char):
3220 * editfns.c (Fbuffer_substring_no_properties):
3221 * editfns.c (Fnarrow_to_region):
3222 * editfns.c (Fchar_equal):
3223 * editfns.c (Fchar_Equal):
3224 * editfns.c (Ftranspose_regions):
3225 * emacs.c (Fdump_emacs):
3227 * eval.c (Fcommand_execute):
3228 * eval.c (Fautoload):
3229 * eval.c (Fbacktrace):
3230 * eval.c (Fbacktrace_frame):
3232 * events.c (Fcopy_event):
3233 * events.c (Fcharacter_to_event):
3234 * events.c (Fevent_button):
3235 * events.c (Fevent_process):
3237 * extents.c (Fnext_extent_change):
3238 * extents.c (Fextent_property):
3240 * faces.c (Fmake_face):
3242 * file-coding.c (Fencode_shift_jis_char):
3243 * file-coding.c (Fencode_big5_char):
3244 * fileio.c (Ffile_name_directory):
3245 * fileio.c (Ffile_name_nondirectory):
3246 * fileio.c (Ffile_name_as_directory):
3247 * fileio.c (Fdirectory_file_name):
3248 * fileio.c (Ffile_truename):
3249 * fileio.c (Fsubstitute_in_file_name):
3250 * fileio.c (Ffile_modes):
3251 * fileio.c (Fset_file_modes):
3252 * fileio.c (Fset_default_file_modes):
3253 * fileio.c (Fverify_visited_file_modtime):
3254 * floatfns.c (Facos):
3255 * floatfns.c (Fasin):
3256 * floatfns.c (Fatan):
3257 * floatfns.c (Fcos):
3258 * floatfns.c (Fsin):
3259 * floatfns.c (Ftan):
3260 * floatfns.c (Fbessel_j0):
3261 * floatfns.c (Fbessel_j1):
3262 * floatfns.c (Fbessel_jn):
3263 * floatfns.c (Fbessel_y0):
3264 * floatfns.c (Fbessel_y1):
3265 * floatfns.c (Fbessel_yn):
3266 * floatfns.c (Ferf):
3267 * floatfns.c (Ferfc):
3268 * floatfns.c (Flog_gamma):
3269 * floatfns.c (Fexp):
3270 * floatfns.c (Fexpt):
3271 * floatfns.c (Flog):
3272 * floatfns.c (Flog10):
3273 * floatfns.c (Fsqrt):
3274 * floatfns.c (Fcube_root):
3275 * floatfns.c (Facosh):
3276 * floatfns.c (Fasinh):
3277 * floatfns.c (Fatanh):
3278 * floatfns.c (Fcosh):
3279 * floatfns.c (Fsinh):
3280 * floatfns.c (Ftanh):
3281 * floatfns.c (Fabs):
3282 * floatfns.c (Ffloat):
3283 * floatfns.c (Flogb):
3284 * floatfns.c (Fceiling):
3285 * floatfns.c (Ffloor):
3286 * floatfns.c (Fround):
3287 * floatfns.c (Ftruncate):
3288 * floatfns.c (Ffceiling):
3289 * floatfns.c (Fffloor):
3290 * floatfns.c (Ffround):
3291 * floatfns.c (Fftruncate):
3292 * fns.c (Fstring_equal):
3293 * fns.c (Fstring_lessp):
3298 * fns.c (Fsubstring):
3300 * fns.c (Fold_assoc):
3301 * fns.c (assoc_no_quit):
3303 * fns.c (Fold_assq):
3304 * fns.c (assq_no_quit):
3306 * fns.c (Fold_rassoc):
3308 * fns.c (Fold_rassq):
3309 * fns.c (rassq_no_quit):
3310 * fns.c (Fremassoc):
3311 * fns.c (remassoc_no_quit):
3313 * fns.c (remassq_no_quit):
3314 * fns.c (Fremrassoc):
3315 * fns.c (Fremrassq):
3316 * fns.c (remrassq_no_quit):
3318 * fns.c (Fplist_get):
3319 * fns.c (Fplist_put):
3320 * fns.c (Fplist_remprop):
3321 * fns.c (Fplist_member):
3322 * fns.c (Flax_plist_get):
3323 * fns.c (Flax_plist_put):
3324 * fns.c (Flax_plist_remprop):
3325 * fns.c (Flax_plist_member):
3327 * fns.c (Fold_equal):
3329 * fns.c (Fbase64_encode_region):
3330 * fns.c (Fbase64_encode_string):
3331 * fns.c (Fbase64_decode_region):
3333 * frame.c (frame_matches_frame_spec):
3334 * frame.c (device_matches_device_spec):
3335 * frame.c (next_frame):
3336 * frame.c (previous_frame):
3337 * frame.c (Fnext_frame):
3338 * frame.c (Fprevious_frame):
3339 * frame.c (Fframe_property):
3340 * frame.c (Fset_frame_height):
3341 * frame.c (Fset_frame_size):
3345 * glyphs.c (decode_error_behavior_flag):
3346 * glyphs.c (Fmake_image_instance):
3347 * indent.c (Findent_to):
3348 * intl.c (Fignore_defer_gettext):
3349 * keymap.c (Fkeymapp):
3350 * keymap.c (Flookup_key):
3352 * lread.c (Fload_internal):
3353 * lread.c (Feval_buffer):
3354 * lread.c (Feval_region):
3355 * macros.c (Fexecute_kbd_macro):
3356 * marker.c (set_marker_internal):
3357 * marker.c (Fset_marker):
3358 * marker.c (set_marker_restricted):
3359 * marker.c (Fcopy_marker):
3360 * marker.c (noseeum_copy_marker):
3362 * menubar.c (Fpopup_menu):
3364 * mule-charset.c (Fcharset_name):
3365 * mule-charset.c (Fchar_charset):
3366 * mule-charset.c (Fchar_octet):
3367 * mule-charset.c (Fsplit_char):
3368 * mule-wnnfns.c (Fwnn_open):
3369 * mule-wnnfns.c (Fwnn_dict_comment):
3370 * mule-wnnfns.c (Fwnn_quit_henkan):
3371 * mule-wnnfns.c (Fwnn_word_toroku):
3372 * mule-wnnfns.c (Fwnn_word_sakujo):
3373 * mule-wnnfns.c (Fwnn_word_use):
3374 * mule-wnnfns.c (Fwnn_hindo_set):
3376 * objects.c (Fmake_color_instance):
3377 * objects.c (Fmake_font_instance):
3378 * print.c (Fwrite_char):
3380 * process.c (mark_process):
3381 * process.c (print_process):
3382 * process.c (get_process_from_usid):
3383 * process.c (Fprocessp):
3384 * process.c (Fprocess_live_p):
3385 * process.c (Fget_process):
3386 * process.c (Fget_buffer_process):
3387 * process.c (get_process):
3388 * process.c (Fprocess_id):
3389 * process.c (Fprocess_name):
3390 * process.c (Fprocess_command):
3391 * process.c (init_process_io_handles):
3392 * process.c (start_process_unwind):
3393 * process.c (Fstart_process_internal):
3394 * process.c (Fopen_multicast_group_internal):
3395 * process.c (Fset_process_window_size):
3396 * process.c (read_process_output):
3397 * process.c (send_process):
3398 * process.c (Fprocess_tty_name):
3399 * process.c (Fset_process_buffer):
3400 * process.c (Fprocess_buffer):
3401 * process.c (Fprocess_mark):
3402 * process.c (set_process_filter):
3403 * process.c (Fset_process_filter):
3404 * process.c (Fprocess_filter):
3405 * process.c (Fprocess_send_region):
3406 * process.c (Fprocess_send_string):
3407 * process.c (exec_sentinel):
3408 * process.c (Fset_process_sentinel):
3409 * process.c (Fprocess_sentinel):
3410 * process.c (status_notify):
3411 * process.c (Fprocess_status):
3412 * process.c (Fprocess_exit_status):
3413 * process.c (process_send_signal):
3414 * process.c (Fprocess_send_eof):
3415 * process.c (deactivate_process):
3416 * process.c (remove_process):
3417 * process.c (Fdelete_process):
3418 * process.c (kill_buffer_processes):
3419 * process.c (Fprocess_kill_without_query):
3420 * process.c (Fprocess_kill_without_query_p):
3422 * rangetab.c (Fget_range_table):
3423 * rangetab.c (Fput_range_table):
3424 * rangetab.c (Fremove_range_table):
3425 * rangetab.c (Fclear_range_table):
3427 * search.c (Fskip_chars_forward):
3428 * search.c (Fskip_chars_backward):
3429 * search.c (Fskip_syntax_forward):
3430 * search.c (Fskip_syntax_backward):
3431 * search.c (search_command):
3432 * search.c (Freplace_match):
3433 * search.c (Fregexp_quote):
3434 * select.c (Fown_selection_internal):
3435 * select.c (Fselection_owner_p):
3436 * select.c (Fselection_exists_p):
3437 * select.c (Fget_selection_internal):
3440 * symbols.c (Fintern):
3441 * symbols.c (Fintern_soft):
3442 * symbols.c (Funintern):
3443 * symbols.c (Fapropos_internal):
3444 * symbols.c (Fset_default):
3446 * syntax.c (Fsyntax_table_p):
3447 * syntax.c (Fcopy_syntax_table):
3448 * syntax.c (Fset_syntax_table):
3449 * syntax.c (Fchar_syntax):
3450 * syntax.c (syntax_match):
3451 * syntax.c (Fmatching_paren):
3452 * syntax.c (Fforward_word):
3453 * syntax.c (scan_lists):
3454 * syntax.c (Fscan_lists):
3455 * syntax.c (Fscan_sexps):
3456 * syntax.c (Fparse_partial_sexp):
3457 * toolbar.c (Fcheck_toolbar_button_syntax):
3460 * window.c (Fwindowp):
3461 * window.c (Fwindow_live_p):
3462 * window.c (Fwindow_point):
3463 * window.c (Fdelete_window):
3464 * window.c (Fnext_window):
3465 * window.c (Fprevious_window):
3466 * window.c (Fother_window):
3467 * window.c (window_loop):
3468 * window.c (Fget_lru_window):
3469 * window.c (Fsplit_window):
3470 * window.c (Fenlarge_window):
3471 * window.c (Fenlarge_window_pixels):
3472 * window.c (Fshrink_window):
3473 * window.c (Fshrink_window_pixels):
3474 * window.c (change_window_height):
3475 * window.c (Fwindow_configuration_p):
3476 * window.c (Fcurrent_window_configuration):
3478 * casefiddle.c (casify_object):
3479 * casefiddle.c (Fupcase):
3480 * casefiddle.c (Fdowncase):
3481 * casefiddle.c (Fcapitalize):
3482 * casefiddle.c (Fupcase_initials):
3483 * casefiddle.c (casify_region_internal):
3484 * casefiddle.c (casify_region):
3485 * casefiddle.c (Fupcase_region):
3486 * casefiddle.c (Fdowncase_region):
3487 * casefiddle.c (Fcapitalize_region):
3488 * casefiddle.c (Fupcase_initials_region):
3489 * casefiddle.c (Fupcase_word):
3490 * casefiddle.c (Fdowncase_word):
3491 * casefiddle.c (Fcapitalize_word):
3492 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3493 Replace 0 with '\0' when working with bytes.
3494 Replace initial "(" with "\(" in docstrings.
3496 2000-11-01 Martin Buchholz <martin@xemacs.org>
3498 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3500 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3502 2000-10-31 Martin Buchholz <martin@xemacs.org>
3504 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3506 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3508 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3511 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3513 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3514 (inhibit_auto_save_session): New variable.
3515 (vars_of_fileio): Declare and initialize them.
3516 * fileio.c (Fdo_auto_save): Don't create session file if
3517 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3519 2000-10-31 Martin Buchholz <martin@xemacs.org>
3521 * sgiplay.c (play_internal): C++ compilability.
3522 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3523 * callproc.c (Fold_call_process_internal):
3524 Remove unused vars `env', `first'.
3525 * scrollbar.c (update_scrollbar_instance):
3526 #### unused var `current_window'.
3527 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3528 etc. within #ifdef NOT_YET.
3529 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3530 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3531 * specifier.c (specifier_instance):
3532 #### unused var `tag'.
3533 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3535 2000-10-27 Martin Buchholz <martin@xemacs.org>
3538 * fns.c (list_sort):
3539 * fns.c (Ffillarray):
3540 * fns.c (bytecode_nconc2):
3543 * fns.c (Fmapconcat):
3544 Be pedantically 64-bit correct. For the time when someone will
3545 want to have a list with length > 2**32.
3547 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3548 Work around MIPSpro compiler bug.
3550 * process-unix.c (unix_kill_child_process): Add snarky comment.
3551 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3553 * config.h.in: Oops, _getpt ==> _getpty
3555 2000-10-26 Martin Buchholz <martin@xemacs.org>
3559 Use void*, not char*, as return type of alloca().
3561 * alloc.c (free_marker): Side effect inside assert expression!
3563 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3565 * mule-charset.c (Fset_charset_ccl_program): To check
3566 if the given ccl program is valid, use setup_ccl_program()
3567 instead of CHECK_VECTOR().
3568 (Fmake_charset): Likewise.
3570 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3572 * faces.c (get_extent_fragment_face_cache_index):
3573 Fix cachel.merged_faces memory leak.
3575 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3577 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3578 Reset MSB of octets obtained by DECODE_SJIS
3579 because of the incompatibility with Emacs.
3580 (ccl_driver)<CCL_ENCODE_SJIS>:
3581 Set MSB of octets before passing them to
3582 ENCODE_SJIS because of the incompatibility
3585 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3587 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3588 (DECLARE_LRECORD): Undo the last change.
3589 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3591 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3593 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3594 the implementation to lrecord_implementations_table.
3596 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3598 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3599 initial value of `lrecord_type_##c_name' and
3600 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3601 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3602 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3603 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3604 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3606 2000-10-17 Martin Buchholz <martin@xemacs.org>
3608 * miscplay.c (sndcnv8S_2mono):
3609 (sndcnv2monounsigned):
3610 (sndcnvULaw_2linear):
3612 Remove implementation-defined behavior.
3614 2000-10-12 Martin Buchholz <martin@xemacs.org>
3616 * input-method-xlib.c: Warning suppression.
3618 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3620 * mule-ccl.c: Sync up with Emacs 21.0.90.
3621 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3623 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3625 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3626 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3627 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3628 leading char belongs to official 2-dimensional charset.
3629 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3630 write the given character as is. Otherwise,
3631 if it is a multibyte char, convert it by
3632 non_ascii_set_charptr_emchar, then write it.
3633 (CCL_WRITE_STRING): Likewise.
3634 (ccl_get_compiled_code): New function.
3635 (setup_ccl_program): When ccl_prog is invalid,
3637 (Fregister_code_conversion_map): New function.
3638 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3640 * mule-ccl.h: Sync up with Emacs 21.0.90.
3641 (Fregister_ccl_program): export it.
3643 * redisplay-msw.c (separate_textual_runs):
3644 If ccl program is not valid, don't do ccl conversion.
3646 * redisplay-x.c (separate_textual_runs): Ditto.
3648 * file-coding.c (Fmake_coding_system):
3649 When type is ccl and value is vector, register it
3650 with a proper symbol. And checks whether the
3651 given ccl program is valid.
3652 (mule_decode): When calling ccl_driver, if src indicates
3653 NULL pointer, set an empty string instead.
3654 (mule_encode): Likewise.
3656 2000-10-11 Martin Buchholz <martin@xemacs.org>
3658 The following large batch of changes gets us back to a state of
3659 C++ compilability. Extbyte is now a char, which means that
3660 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3662 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3664 * sound.c (Fplay_sound): Type correctness.
3666 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3667 (x_get_window_property): Type correctness.
3668 (receive_incremental_selection): unsigned char ==> Extbyte
3669 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3670 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3671 (Fx_store_cutbuffer_internal): Type correctness.
3673 * process-unix.c (try_to_initialize_subtty): Type correctness.
3675 * objects-x.c (x_print_color_instance): Type correctness.
3676 (x_print_font_instance): Type correctness.
3677 (x_list_fonts): SExtbyte ==> Extbyte.
3678 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3679 (x_find_charset_font): SExtbyte ==> Extbyte.
3680 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3681 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3682 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3685 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3686 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3687 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3688 (BYTE_C0_P): Use bit ops for char-signedness safety.
3689 (BYTE_C1_P): Use bit ops for char-signedness safety.
3690 (CHARSET_BY_LEADING_BYTE):
3691 (CHARSET_BY_ATTRIBUTES):
3692 Always use inline function.
3693 Use type_checking_assert.
3696 * mule-charset.c (non_ascii_charptr_copy_char):
3697 Modify to work with both ASCII and non-ASCII characters.
3698 Improve docs and variable names.
3699 Replace over-clever fall-through switch with a simple loop.
3700 (Lstream_get_emchar_1):
3701 Replace over-clever fall-through switch with a simple loop.
3703 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3704 Warning suppression.
3706 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3707 the return value of Lstream_getc, which could be EOF as well.
3709 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3711 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3712 APIs can be used on Extbytes without casts. Risky!
3716 * input-method-xlib.c (XIM_init_device):
3717 Use Xlib.h instead of IntrinsicP.h.
3718 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3719 which will break in X11R7.
3720 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3721 to call XRegisterIMInstantiateCallback with correct types.
3723 * gui-x.c (button_item_to_widget_value): Type correctness.
3725 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3727 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3728 (xbm_instantiate_1): Type correctness.
3729 (BUILD_GLYPH_INST): Type correctness.
3731 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3734 (decode_coding_sjis):
3735 (decode_coding_big5):
3736 (decode_coding_ucs4):
3737 (decode_coding_utf8):
3738 (decode_coding_iso2022):
3739 (decode_coding_no_conversion):
3740 Make all decoding functions take an Extbyte * arg.
3741 (encode_coding_sjis):
3742 (encode_coding_big5):
3743 (encode_coding_ucs4):
3744 (encode_coding_utf8):
3745 (encode_coding_iso2022):
3746 (encode_coding_no_conversion):
3747 Make all encoding functions take a Bufbyte * arg.
3748 Use size_t instead of unsigned int for memory sizes.
3749 Only cast to unsigned char whenever dereferencing Extbyte *.
3751 * doc.c (unparesseuxify_doc_string): Type correctness.
3753 * console-x.c (split_up_display_spec):
3754 Rewrite without using details of internal string representation.
3755 (x_semi_canonicalize_device_connection): Type correctness.
3758 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3759 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3760 (HAVE_XFREE386): Removed.
3762 * buffer.h (DEC_CHARPTR): `const' correctness.
3763 (bufbyte_strcmp): New.
3764 (bufbyte_memcmp): New.
3766 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3768 * buffer.h (XCHAR_OR_CHAR_INT):
3769 Always use inline function.
3770 Remove redundant type checking assert() - XINT will abort quite nicely.
3772 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3774 * search.c (Freplace_match): Set newtext to an empty string.
3776 2000-10-10 Martin Buchholz <martin@xemacs.org>
3778 * s/decosf1-3.h: Remove #include of stropts.h
3779 * s/ptx.h: Remove #include of stropts.h
3780 * s/usg5-4.h: Remove #include of stropts.h
3783 Use stropts.h, not sys/stropts.h.
3784 Use strtio.h, not sys/strtio.h.
3786 2000-10-04 Martin Buchholz <martin@xemacs.org>
3788 * XEmacs 21.2.36 is released.
3790 2000-09-21 Andy Piper <andy@xemacs.org>
3792 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3793 changes still involve copying the widget tree.
3794 (update_widget_face): make sure a change is register in the widget
3795 tree. Call update_tab_widget_face appropriately.
3796 (update_tab_widget_face): ditto.
3797 (x_tab_control_redisplay): make sure non-structural changes still
3798 involve copying the widget tree.
3800 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3802 * lread.c (locate_file): Check the path element is non-nil.
3804 2000-10-02 Martin Buchholz <martin@xemacs.org>
3806 * lisp.h: Warning suppression for SCO compilers.
3808 * redisplay-tty.c (reset_tty_modes): Fix crash.
3809 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3811 2000-09-27 Martin Buchholz <martin@xemacs.org>
3813 Big signal/process handling overhaul. Bugs fixed:
3814 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3815 M-x comint-kill-subjob should work for both values nil and t of
3816 process-connection-type. It was broken on most platforms.
3817 Testing on Irix and Cygwin still needed. Other plaforms tested.
3818 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3819 * process-unix.c: Signal/Process handling overhaul.
3820 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3821 (allocate_pty): Use all available modern methods of allocating
3822 ptys, falling back to old style BSD allocation as a last resort.
3823 Use allegedly more secure Unix98 pty allocation by default.
3824 (allocate_pty_the_old_fashioned_way): New. the last resort.
3825 (unix_create_process): Push ptem, ldterm, ttcompat where
3826 available. Autoconfiscate.
3827 (try_to_initialize_subtty): New.
3828 (unix_kill_child_process): Proper signal handling for ptys on most
3829 platforms, using special knowledge of AIX, BSD, etc...
3830 (unix_create_process): Always disconnect_controlling_terminal() for
3831 subprocesses, whether using ptys or not.
3832 * process.h: Remove old getpt-dependent PTY code.
3833 * process.c (Fprocess_send_signal): New, obvious generic function.
3834 (decode_signal): New.
3835 (Finterrupt_process):
3839 (Fcontinue_process):
3840 (Fsignal_process): Use decode_signal.
3841 (process_send_signal):
3842 Many docstring corrections.
3843 Allow any signal to be sent to a process object.
3844 * config.h.in: Add symbols for big signal/process overhaul.
3845 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3846 * sysproc.h: Include process-related headers, where available:
3847 sys/stropts.h sys/strtio.h pty.h libutil.h
3855 Remove old S&M pty stuff.
3856 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3857 * systty.h: Simplify cpp hackery, improve comments.
3858 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3860 * editfns.c (Fformat_time_string):
3861 Be a little more paranoid with the return value of ctime.
3863 * fileio.c (check_executable):
3865 Use symbolic constants X_OK, W_OK.
3867 * console-x.c (split_up_display_spec): Fix a warning.
3869 2000-10-02 Martin Buchholz <martin@xemacs.org>
3871 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3872 * ntproc.c (sys_spawnve): make_string ==> build_string
3873 Small clarity improvements.
3875 2000-09-30 Martin Buchholz <martin@xemacs.org>
3877 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3879 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3881 * config.h.in (HAVE_STRCASECMP): Remove.
3883 2000-09-29 Martin Buchholz <martin@xemacs.org>
3885 * redisplay-output.c (redisplay_output_pixmap):
3886 Cleaner and possibly more 64-bit correct code.
3888 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3890 * dumper.c (pdump_load_finish): move restoration of
3891 `noninteractive1' to emacs.c (main_1).
3892 * emacs.c (main_1): protect LISP-visible command-line flags
3895 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3897 * Makefile.in.in (versionclean): Use EXE_TARGET and
3898 DUMP_TARGET instead of literal program names.
3900 2000-09-20 Martin Buchholz <martin@xemacs.org>
3902 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3904 2000-09-19 Martin Buchholz <martin@xemacs.org>
3906 * *: Spelling mega-patch
3908 2000-09-19 Martin Buchholz <martin@xemacs.org>
3910 * fns.c (bad_bad_turtle):
3911 Delete "Eek!" comment, since we fixed the bug to which it refers.
3913 2000-09-16 Martin Buchholz <martin@xemacs.org>
3915 * alloca.c: Replace REGISTER with register.
3917 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3919 * file-coding.c (ucs_to_char): Use countof.
3921 2000-09-16 Martin Buchholz <martin@xemacs.org>
3923 * file-coding.c: (ucs_to_char):
3924 (complex_vars_of_file_coding):
3925 Use countof instead of sizeof.
3926 Use CHECK_NATNUM instead of CHECK_INT.
3928 * sysdep.c (strcasecmp): Remove.
3929 * device-x.c (ascii_strcasecmp): New.
3930 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
3931 Avoid using non-standard non-portable strcasecmp.
3933 2000-09-16 Martin Buchholz <martin@xemacs.org>
3935 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
3936 * font-lock.c: remove reference to emacsfns.h.
3937 * search.c: small doc improvement.
3938 * event-Xt.c: correct file names in comments.
3939 * console-x.h Correct file names in comments.
3940 * frame.c: Correct file names in comments.
3941 * event-stream.c: remove Energize from comments.
3943 2000-09-15 Martin Buchholz <martin@xemacs.org>
3945 * symeval.h (DEFERROR_STANDARD):
3948 (DEFSYMBOL_NO_DUMP):
3949 (DEFSYMBOL_MULTIWORD_PREDICATE):
3950 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
3952 The construct &##name is not sensible C.
3953 Fixes compilation errors with Unixware native compiler.
3955 2000-09-14 Martin Buchholz <martin@xemacs.org>
3957 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
3958 (next_frame_internal): Removed. We now just have next_frame.
3960 Write a simpler and cleaner one-pass algorithm.
3961 Remove called_from_delete_device arg and #ifdefed-out code.
3963 Renamed from prev_frame. Update callers.
3964 Cleaned up to have an analogous implementation to next_frame.
3965 (other_visible_frames_internal): Remove the
3966 called_from_delete_device bogus arg, and hence, remove this
3967 function. Just use other_visible_frames().
3969 * window.c (Fnext_window):
3971 Since next_frame() is guaranteed to return a frame, remove check
3972 for nil inserted in previous patch.
3975 Make code look more like Fnext_window.
3977 Respect the `console' arg when iterating through windows.
3978 Fixes bug: (get-buffer-window buffer t device) not respecting
3980 This function needs more work, as others have pointed out.
3982 * frame.h: Rename prev_frame to previous_frame.
3983 device_matches_console_spec no longer takes a `frame' arg.
3988 Use EMACS_BLOCK_SIGNAL instead of sigblock.
3989 From "Golubev I. N." <gin@mo.msk.ru>.
3991 * make-src-depend: Fix typo.
3993 2000-09-13 Martin Buchholz <martin@xemacs.org>
3995 * window.c (Fnext_window):
3996 next_frame() might return nil, not a frame.
3998 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4000 * frame.c (next_frame_internal):
4001 We've passed a frame if we've passed its device.
4003 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4004 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4006 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4008 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4009 Allow option to suppress accelerators in menu/dialog items.
4010 (populate_or_checksum_helper): Pass dialog title through above.
4012 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4014 * event-msw.c (mswindows_key_to_emacs_keysym):
4015 Add "pause" key, fix "menu" key.
4017 2000-09-09 Martin Buchholz <martin@xemacs.org>
4019 * eval.c (reinit_vars_of_eval):
4020 Increase max_lisp_eval_depth to 1000,
4021 required for thai-xtis.el to byte-compile under some circumstances.
4023 2000-09-04 Martin Buchholz <martin@xemacs.org>
4025 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4028 2000-09-01 Martin Buchholz <martin@xemacs.org>
4030 * make-src-depend: Make the generated Makefiles smaller.
4032 * s/hpux.h (SETUP_SLAVE_PTY):
4033 Provide a %d in the format string for the errno argument.
4035 * editfns.c (Ftemp_directory):
4037 Avoid buffer overrun on very long file name.
4039 * input-method-xlib.c (XIM_init_device):
4040 6th parameter of XRegisterIMInstantiateCallback has different
4041 pointer types on different OSes, so simply cast to (void *).
4043 * unexhp9k800.c: Warning fixes. Fiddly changes.
4045 * sysdll.c (dll_open):
4046 shl_load will hang hard if passed a NULL filename.
4047 Simply return NULL for compatibility with dlopen.
4048 * sysdll.c: Conform to XEmacs coding standards.
4050 * sysdep.c (get_pty_max_bytes):
4051 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4053 2000-08-31 Martin Buchholz <martin@xemacs.org>
4055 * tooltalk.c: Add #include <syssignal.h>
4057 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4059 * s/hpux.h: Don't use undefined function sigunblock().
4061 2000-08-31 Martin Buchholz <martin@xemacs.org>
4063 * config.h.in: Add HAVE_BALLOON_HELP.
4064 * emacs.c: Use HAVE_BALLOON_HELP.
4065 * Makefile.in.in (x_objs):
4066 Make Balloon Help conditional on finding shape.h.
4068 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4070 * syntax.c (regex_emacs_buffer_p): New variable.
4071 * syntax.h (regex_emacs_buffer_p): extern.
4072 * search.c (looking_at_1):
4074 (fast_string_match):
4075 (search_buffer): Set regex_emacs_buffer_p.
4076 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4077 when before_dot, at_dot, after_dot.
4079 2000-08-23 Andy Piper <andy@xemacs.org>
4081 * gui-x.c (popup_selection_callback): Only set action_occurred
4082 when we really have an image instance.
4083 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4085 2000-08-23 Andy Piper <andy@xemacs.org>
4087 * gui-msw.c (mswindows_handle_gui_wm_command): set
4089 * gui-x.c (popup_selection_callback): ditto.
4091 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4092 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4093 (struct Lisp_Image_Instance): add action_occurred flag.
4095 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4096 (image_instance_changed): ditto.
4097 (reset_frame_subwindow_instance_cache): only unmap windows - do
4098 not remove them from the cache also.
4100 * glyphs-widget.c (tab_control_update): better debug.
4101 (progress_gauge_update): ditto.
4102 (layout_update): ditto.
4103 (layout_instantiate): ditto.
4104 (tab_control_order_only_changed): cope with null pending items.
4106 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4107 debug. Force selection of an item when an action occurred. Cope
4108 with null pending_items.
4109 (mswindows_progress_gauge_redisplay): better debug.
4110 * glyphs-x.c (x_tab_control_redisplay): ditto.
4112 * redisplay.c (redisplay_frame): reset the frame cache if the
4115 * window.c (Fset_window_configuration): potentially re-enable
4117 (window_unmap_subwindows): need to finalize instances here since
4118 it is only used in mark_window_as_deleted.
4120 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4122 * nas.c (SndOpenDataForReading):
4123 nas.c (WaveOpenDataForReading):
4124 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4125 Somehow escaped from the 2000-08-14 patch.
4127 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4129 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4130 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4132 2000-08-21 Andy Piper <andy@xemacs.org>
4134 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4135 window if it is not already displayed.
4137 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4138 it is not already displayed.
4140 * window.c (Fset_window_configuration): don't reset the frame
4143 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4144 instances from the frame cache if we are actually finalizing them.
4145 (reset_frame_subwindow_instance_cache): reset frame cache only
4146 after unmapping everything.
4147 (map_subwindow): set displayed flag after mapping.
4149 2000-08-21 Martin Buchholz <martin@xemacs.org>
4151 * data.c (indirect_function):
4152 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4154 * eval.c (function_argcount):
4155 Use original function when signaling errors.
4157 2000-08-18 Andy Piper <andy@xemacs.org>
4159 * frame.c (delete_frame_internal): use new
4160 free_frame_subwindow_instances name.
4162 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4163 (add_tab_item): make return type correct.
4164 (mswindows_tab_control_instantiate): assert index of tab.
4165 (mswindows_tab_control_redisplay): Re-code to use
4166 gui_item_equal_sans_selected and gui_item_list_find_selected.
4168 * glyphs-widget.c (tab_control_update): Correct comment.
4170 * window.c (window_unmap_subwindows): use new
4171 unmap_subwindow_instance_cache_mapper.
4172 (window_unmap_subwindows_cache_mapper): deleted.
4173 (Fset_window_configuration): comparisons should now be with
4174 EQ. Preserve the subwindow instance cache across configuration
4176 (allocate_window): ditto.
4177 (make_dummy_parent): ditto.
4179 * glyphs.c (free_frame_subwindow_instances): rename from
4180 free_frame_subwindow_instance_cache. finalize all instances rather
4181 than just those in the display cache.
4182 (finalize_all_subwindow_instances): walk windows unmapping and
4183 finalizing subwindows.
4184 (unmap_subwindow_instance_cache_mapper): moved from
4185 window.c. Allow finalization as well as unmapping.
4187 * gui.c (gui_item_list_find_selected): new function.
4189 * gui.h (gui_item_list_find_selected): declare.
4191 * glyphs-x.c (x_tab_control_redisplay): pick tab
4192 explicitly. Re-code to use gui_item_equal_sans_selected and
4193 gui_item_list_find_selected.
4195 * glyphs-x.h: add lwlib-utils.h
4197 * buffer.c (Frecord_buffer): undo previous change.
4199 2000-08-09 Vin Shelton <acs@xemacs.org>
4201 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4202 possible. Create temporary files more securely. The patch was
4203 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4204 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4205 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4208 2000-08-07 Ben Wing <ben@xemacs.org>
4210 * getloadavg.c: remove duplicate (and windows-breaking)
4211 includes of fcntl.h and sys/file.h.
4213 * nt.c: remove duplicate getloadavg() definition.
4215 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4218 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4220 * eval.c (function_argcount): If function needs to be autoloaded
4221 actually use the loaded definition.
4224 2000-08-05 Ben Wing <ben@xemacs.org>
4226 * getloadavg.c: add prototype for getloadavg(). remove
4227 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4228 of the code). remove duplicate header includes.
4230 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4232 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4233 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4234 useful load average.
4236 * alloc.c (reinit_alloc_once_early): removed references to
4237 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4238 the lisp vars are the only things referencing the malloc_sbrk_*
4239 vars, and they were already if 0'd out. these vars only exist
4240 in the older malloc.c, which is basically unused, and they're
4241 only for informational purposes.
4243 * m\*.h: removed useless VIRT_ADDR_VARIES.
4245 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4247 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4249 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4250 color if the image is a mono pixmap.
4252 2000-07-30 Ben Wing <ben@xemacs.org>
4254 * Makefile.in.in (release):
4257 * buffer.c (directory_is_current_directory):
4258 * dired-msw.c (mswindows_get_files):
4260 * dired.c (Fdirectory_files):
4261 * dired.c (file_name_completion_stat):
4262 * dired.c (Ffile_attributes):
4263 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4264 preprocessor tricks, to avoid problems on some machines
4267 * callproc.c (egetenv): GC docs.
4270 * console-msw.h (struct mswindows_dialog_id):
4271 * lrecord.h (lrecord_type):
4272 New object for use with MSW dialogs.
4274 * console.h (struct console_methods):
4275 New enable/disable frame methods, for proper modal dialogs.
4277 * device-msw.c (msprinter_default_printer): Fix to follow
4278 proper Mule conventions.
4281 * device-msw.c (signal_open_printer_error):
4282 * device-msw.c (msprinter_init_device):
4283 * device-msw.c (ensure_not_printing):
4284 * device-msw.c (plist_get_margin):
4285 * device-msw.c (Fmsprinter_select_settings):
4286 * device-msw.c (finalize_devmode):
4287 * device-msw.c (Fmsprinter_settings_despecialize):
4288 * device-msw.c (signal_enum_priner_error):
4289 * extents.c (decode_extent):
4290 * extents.c (decode_map_extents_flags):
4291 * extents.c (decode_extent_at_flag):
4292 * extents.c (Fextent_at):
4293 * extents.c (Fextents_at):
4294 * extents.c (symbol_to_glyph_layout):
4295 [[[[2]]]] Use structured errors.
4298 * dialog-msw.c (mswindows_is_dialog_msg):
4299 * dialog-msw.c (mark_mswindows_dialog_id):
4300 * dialog-msw.c (dialog_proc):
4301 * dialog-msw.c (handle_question_dialog_box):
4302 * dialog-msw.c (syms_of_dialog_mswindows):
4303 Define new object to clean up marking; use it as a dialog identifier.
4304 Call new delete-dialog-box-hook.
4306 * dialog-x.c (dbox_selection_callback):
4307 * dialog-x.c (dbox_descriptor_to_widget_value):
4308 * dialog-x.c (x_make_dialog_box_internal):
4309 Call new delete-dialog-box-hook.
4313 * dialog.c (syms_of_dialog):
4314 * dialog.c (vars_of_dialog):
4315 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4318 * eval.c (signal_call_debugger):
4319 when noninteractive, output stack traces on the console instead
4320 of in a (never-seen) buffer.
4322 * eval.c (signal_type_error):
4323 * eval.c (invalid_argument_2):
4325 new funs for use w/structured errors.
4328 * event-Xt.c (x_to_emacs_keysym):
4329 * event-Xt.c (describe_event):
4330 * event-Xt.c (emacs_Xt_event_handler):
4331 * event-Xt.c (vars_of_event_Xt):
4333 * event-msw.c (mswindows_wnd_proc):
4334 * event-msw.c (vars_of_event_mswindows):
4335 rename {x,mswindows}-debug-events to debug-{}-events for
4336 consistency with other debug-foo variables.
4339 document next-event more clearly.
4341 * fileio.c (Ffile_name_directory):
4342 * fileio.c (Ffile_name_nondirectory):
4343 * fileio.c (Funhandled_file_name_directory):
4344 * fileio.c (file_name_as_directory):
4345 * fileio.c (Ffile_name_as_directory):
4346 * fileio.c (directory_file_name):
4347 * fileio.c (Fdirectory_file_name):
4348 * fileio.c (Fmake_temp_name):
4349 * fileio.c (Ffile_truename):
4350 * fileio.c (Fsubstitute_in_file_name):
4351 * fileio.c (expand_and_dir_to_file):
4352 * fileio.c (barf_or_query_if_file_exists):
4353 * fileio.c (check_executable):
4354 * fileio.c (Ffile_exists_p):
4355 * fileio.c (Ffile_writable_p):
4356 * fileio.c (Ffile_directory_p):
4357 * fileio.c (Ffile_regular_p):
4358 * fileio.c (Ffile_modes):
4359 * fileio.c (Ffile_newer_than_file_p):
4360 * fileio.c (Fverify_visited_file_modtime):
4361 * fileio.c (Fset_visited_file_modtime):
4362 * fileio.c (auto_save_1):
4367 * frame-msw.c (mswindows_init_frame_1):
4368 * frame-msw.c (mswindows_enable_frame):
4369 * frame-msw.c (error_frame_unsizable):
4370 * frame-msw.c (msprinter_init_frame_1):
4371 * frame-msw.c (msprinter_init_frame_3):
4372 * frame-msw.c (console_type_create_frame_mswindows):
4374 implement new enable/disable frame methods.
4377 * frame-x.c (x_enable_frame):
4378 * frame-x.c (console_type_create_frame_x):
4379 implement new enable/disable frame methods.
4382 * frame.c (Fdisable_frame):
4383 * frame.c (syms_of_frame):
4384 * frame.h (struct frame):
4385 implement new enable/disable frame methods/functions.
4390 * glyphs-msw.c (mswindows_widget_instantiate):
4391 comment that initial-focus should be implemented.
4394 * glyphs-widget.c (check_valid_instantiator):
4395 * glyphs-widget.c (check_valid_orientation):
4396 * glyphs-widget.c (check_valid_tab_orientation):
4397 * glyphs-widget.c (check_valid_justification):
4398 * glyphs-widget.c (check_valid_border):
4399 * glyphs-widget.c (check_valid_callback):
4400 * glyphs-widget.c (check_valid_int_or_function):
4401 * glyphs-widget.c (check_valid_string_or_vector):
4402 * glyphs-widget.c (check_valid_item_list_1):
4403 * glyphs-widget.c (widget_validate):
4404 * glyphs-widget.c (combo_box_validate):
4405 * glyphs-widget.c (widget_instantiate):
4406 * glyphs-widget.c (syms_of_glyphs_widget):
4407 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4408 * glyphs-widget.c (image_instantiator_combo_box):
4409 * glyphs-widget.c (image_instantiator_scrollbar):
4410 * glyphs-widget.c (image_instantiator_tab_control):
4411 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4413 support (unimplemented) keyword initial-focus.
4414 reindent long macros.
4416 * glyphs-x.c (x_redisplay_widget):
4417 * glyphs-x.c (x_button_instantiate):
4418 * glyphs-x.c (x_button_redisplay):
4419 * glyphs-x.c (x_progress_gauge_instantiate):
4420 * glyphs-x.c (x_edit_field_instantiate):
4421 * glyphs-x.c (x_combo_box_instantiate):
4422 * glyphs-x.c (x_tab_control_instantiate):
4423 * glyphs-x.c (x_label_instantiate):
4425 * gui-x.c (button_item_to_widget_value):
4426 * gui-x.c (gui_items_to_widget_values_1):
4427 * gui-x.c (gui_item_children_to_widget_values):
4428 * gui-x.c (gui_items_to_widget_values):
4430 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4431 add new flag to gui-parsing routines to indicate whether
4432 accelerator specs should be supported.
4434 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4436 * glyphs.h (struct Lisp_Image_Instance):
4437 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4438 add initial-focus flag.
4441 * gui.c (syms_of_gui):
4442 * gui.c (vars_of_gui):
4443 clean up menu-no-selection-hook.
4446 support delete-dialog-box-hook.
4448 * lread.c (Fload_internal):
4449 * lread.c (locate_file_in_directory_mapper):
4453 * lrecord.h (struct toolbar_button):
4454 * lrecord.h (syms_of_toolbar):
4455 document how to create a new object.
4457 * menubar-msw.c (mswindows_char_is_accelerator):
4458 may be called on frames w/o menus.
4460 * menubar.c (vars_of_menubar):
4461 clean up :filter docs.
4468 * process-nt.c (validate_signal_number):
4469 * process-nt.c (signal_cannot_launch):
4470 * process-nt.c (nt_create_process):
4471 * process-nt.c (nt_send_process):
4472 * process-nt.c (nt_kill_child_process):
4473 * process-nt.c (nt_open_network_stream):
4474 * process-nt.c (syms_of_process_nt):
4476 delete quote-handling. call new lisp code that does it better.
4478 * process-unix.c (connect_to_file_descriptor):
4479 * process-unix.c (allocate_pty):
4480 * process-unix.c (unix_send_process):
4481 * process-unix.c (unix_kill_child_process):
4482 * process-unix.c (unix_open_network_stream):
4483 * process-unix.c (unix_open_multicast_group):
4487 * process.c (Fstart_process_internal):
4488 (2). need to canonicalize process path even if absolute.
4490 * select-msw.c (symbol_to_ms_cf):
4491 * select-msw.c (ms_cf_to_symbol):
4492 * select-msw.c (cf_is_autofreed):
4493 * select-msw.c (mswindows_destroy_selection):
4495 * select.c (syms_of_select):
4497 support dibv5, fix bugs. (from Mike Alexander)
4499 * select.c (Fget_selection_internal):
4500 * select.c (select_convert_out):
4503 * sysdep.c (xemacs_stat):
4508 but keep original stat() here because we provide encapsulation
4512 * sysfile.h (fstat):
4513 remove stat garbage.
4517 don't include tchar.h. it's inappropriate because it makes
4518 compile-time distinctions when we want runtime distinctions.
4519 (we provide our own tchar replacements)
4522 use default object printer for toolbar-button.
4525 make sure we don't encapsulate.
4527 * window.c (vars_of_window):
4528 emphasize that temp-buffer-show-hook is obsolete.
4530 2000-08-05 Martin Buchholz <martin@xemacs.org>
4532 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4533 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4535 * events.c (Fevent_timestamp_lessp):
4536 Not 64-bit clean. Use EMACS_INT, not int.
4538 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4540 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4541 unsigned int and changed the last enum to
4542 lrecord_type_last_built_in_type.
4543 (lrecord_implementations_table): changed prototype to know how
4544 long the array is supposed to be.
4545 (lrecord_type_count): new unsigned int to keep track of the
4546 current number of lisp lrecord types.
4547 (DEFINE_EXTERNAL_LRECORD):
4548 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4549 dynamic-modules to declare new lisp types. They are the same
4550 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4551 int for each new type, and increment lrecord_type_count by 1.
4553 * alloc.c (lrecord_implementations_table): Changed to reference
4554 lrecord_type_last_built_in_type for the size of the array.
4555 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4557 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4559 * glyphs.h (check_valid_item_list): Renamed from
4560 check_valid_item_list_1.
4562 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4564 * select.c (Qselect_coerce): New.
4565 * select.c (Vselection_coercion_alist): New.
4566 * select.c (syms_of_select): Declare.
4567 * select.c (get-selection-internal): Use it.
4568 Use the new select-coerce functionality.
4570 * select.c (select_coerce): New.
4571 * select.h (select_coerce): Declare.
4572 New function to coerce one type of data into another.
4574 2000-08-03 Martin Buchholz <martin@xemacs.org>
4576 * callproc.c (Fcall_process_internal):
4577 (Fcall_process_internal):
4578 * process-unix.c (unix_create_process):
4579 Save and restore the value of errno, so that error messages are accurate.
4581 2000-08-01 Martin Buchholz <martin@xemacs.org>
4583 * elhash.c (print_hash_table):
4584 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4585 Prettify docstrings and indentation.
4587 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4589 * window.c (Fwindow_pixel_edges): Subtract frame border and
4592 2000-07-31 Andy Piper <andy@xemacs.org>
4594 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4595 will acknowledge the change.
4597 * glyphs.h: declare tab_control_order_only_changed.
4599 * glyphs-x.c (x_tab_control_redisplay): use
4600 tab_control_order_only_changed.
4602 * glyphs-widget.c (tab_control_order_only_changed): new function.
4604 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4605 tab_control_order_only_changed.
4607 * gui.c (gui_item_equal_sans_selected): new function.
4608 (gui_item_equal): use it.
4610 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4611 :properties in favor of :items..
4613 * glyphs-widget.c (check_valid_item_list): rename from
4614 check_valid_item_list_1.
4615 (check_valid_item_list_1): renamed.
4616 (combo_box_validate): deprecate :properties in favor of :items.
4617 (widget_instantiate): ditto.
4618 (tab_control_update): ditto.
4619 (image_instantiator_combo_box): ditto.
4620 (image_instantiator_tree_view): ditto.
4621 (image_instantiator_tab_control): ditto.
4622 (layout_post_instantiate): remove dead code.
4624 * print.c (debug_print_no_newline): only write to debugger if in
4627 * elhash.c (Fmake_hash_table): update doc string.
4629 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4630 messages whilst in GC. This at least stops XEmacs crashing but has
4631 the potential for wierd behaviour.
4633 2000-07-31 Martin Buchholz <martin@xemacs.org>
4636 Make existence of s&m files optional.
4638 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4639 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4640 * s/gnu.h: Remove HAVE_GETLOADAVG.
4641 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4642 * s/sol2.h: Remove HAVE_GETLOADAVG.
4643 * lisp.h: Remove getloadavg() declaration.
4645 Include <sys/loadavg.h> if available.
4646 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4647 * config.h.in: Group together getloadavg()-related macros.
4648 Use only configure-time tests to detect getloadavg().
4650 2000-07-30 Martin Buchholz <martin@xemacs.org>
4652 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4654 2000-07-25 Andy Piper <andy@xemacs.org>
4656 * syswindows.h: add tchar.h for native builds.
4658 * frame.c (syms_of_frame): remove set-glyph-image.
4660 * general-slots.h: add Qset_glyph_image.
4662 * glyphs-widget.c (layout_update): add domain arg to
4664 (syms_of_glyphs_widget): remove set-glyph-image.
4666 2000-07-23 Ben Wing <ben@xemacs.org>
4668 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4671 2000-07-22 Andy Piper <andy@xemacs.org>
4673 * symsinit.h: add syms_of_win32().
4675 * gui-msw.c (syms_of_gui_mswindows): remove
4676 Fmswindows_shell_execute.
4677 (Fmswindows_shell_execute): moved to win32.c.
4679 * emacs.c (main_1): add syms_of_win32 ().
4681 * win32.c (init_potentially_nonexistent_functions): rewrite in
4682 compiler-friendly terms.
4683 (Fmswindows_shell_execute): move here from gui-msw.c.
4684 (syms_of_win32): new.
4686 * device-msw.c (Fmswindows_printer_list): clean up args to
4688 Don't include tchar under cygwin or mingw.
4689 (msprinter_default_printer): make cygwin-friendly.
4691 2000-07-21 Andy Piper <andy@xemacs.org>
4693 * glyphs-widget.c (image_instantiator_tree_view): use tab
4694 control's update function.
4695 (layout_property): new function. Retrieve items.
4697 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4698 function. Re-populate the tree view from the pending items.
4700 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4701 is designated the parent if the domain is an image instance. This
4702 is needed so that dirtiness can be cascade up the hierarchy and
4703 thus for layout children to be redisplayed correctly.
4704 (allocate_image_instance): rename glyph -> parent.
4706 * redisplay.h: change redisplay_output_layout signature.
4708 * redisplay-msw.c (mswindows_output_display_block): use domain
4711 * redisplay-x.c (x_output_display_block): use domain arg.
4713 2000-07-10 Andy Piper <andy@xemacs.org>
4715 * window.c (Fset_window_configuration): add comment.
4717 * redisplay-output.c (compare_runes):
4718 (redisplay_output_subwindow): redisplay rather than update subwindow.
4719 (redisplay_output_layout): ditto.
4721 * redisplay-msw.c (mswindows_frame_output_end):
4722 (mswindows_frame_output_end): make defer window pos optional.
4724 * lisp.h: add Flast.
4726 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4727 normalize method. Change update method to be for changed
4728 instantiators. Add redisplay method. Change signature of layout
4730 (struct Lisp_Image_Instance): add instantiator.
4731 (IMAGE_INSTANCE_INSTANTIATOR): new.
4732 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4733 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4734 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4737 (find_instantiator_differences): new function.
4738 (Fset_instantiator_property): new convenience function.
4739 (check_image_instance_structure): strictly check for vector
4741 (normalize_image_instantiator): make non-static.
4742 (instantiate_image_instantiator): pass on dest_mask and use new
4743 signatures for image_instance_layout and friends.
4744 (mark_image_instance): mark the instantiator. Mark the subwindow
4745 face not the widget face.
4746 (image_instance_equal): add instantiator.
4747 (image_instance_hash): ditto.
4748 (allocate_image_instance): ditto.
4749 (Fset_image_instance_property): removed.
4750 (Fimage_instance_file_name): ditto.
4751 (Fcolorize_image_instance): ditto.
4752 (image_instance_layout): add offsets to be set.
4753 (update_image_instance): new function. update an image instance
4754 from its changed instantiator.
4755 (inherit_normalize): add dest_mask.
4756 (xbm_normalize): ditto.
4757 (xface_normalize): ditto.
4758 (xpm_normalize): ditto.
4759 (text_update): set_property -> update.
4760 (image_instantiate): use the glyph identity as a hash key, not the
4762 (glyph_width): use new image_instance_layout signature.
4763 (glyph_ascent): ditto.
4764 (glyph_descent): ditto.
4765 (glyph_height): ditto.
4766 (glyph_query_geometry): ressurrect.
4767 (glyph_layout): ditto.
4768 (redisplay_subwindow): update -> redisplay.
4769 (syms_of_glyphs): add Fset_instantiator_property.
4770 (image_instantiator_format_create): set_property -> update.
4773 (autodetect_normalize): add dest_maks to signature.
4774 (x_redisplay_subwindow): update -> redisplay.
4775 (x_redisplay_widget): ditto.
4776 (x_button_redisplay): ditto.
4777 (x_progress_gauge_redisplay): ditto.
4778 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4780 (console_type_create_glyphs_x): update -> redisplay.
4781 (image_instantiator_format_create_glyphs_x): ditto.
4784 (check_valid_instantiator): disallow glyphs in the instantiator,
4785 they must now be vectors.
4786 (check_valid_instantiator_list): ditto.
4787 (glyph_instantiator_to_glyph): use internal symbol rather than
4789 (widget_update): renamed from widget_set_property. Call cascaded
4791 (redisplay_widget): renamed from update_widget.
4792 (widget_layout): image_instance_layout now takes position as well
4794 (widget_normalize): ditto.
4795 (widget_instantiate): ditto.
4796 (tab_control_query_geometry) ditto.:
4797 (tab_control_update): renamed from tab_control_set_property.
4798 (progress_gauge_update): set_property -> update.
4799 (layout_normalize): rewrite so that child instantiators are
4801 (layout_update): new function. Create glyphs from the normalized
4802 children and cope with any other layout keywords. We do not
4803 instantiate children here that will be take care of by
4804 redisplay_output_layout.
4805 (layout_instantiate): call layout_update and not much else.
4806 (layout_post_instantiate): not sure whether this is needed
4808 (layout_query_geometry): query glyph geometry rather than
4809 image_instance geometry.
4810 (layout_layout): set offsets from pass in parameters. Use glyph
4811 geometry and layout functions rather than image instance ones.
4812 (native_layout_layout): ditto.
4813 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4814 (image_instantiator_widget): set_property -> update.
4815 (image_instantiator_buttons): ditto.
4816 (image_instantiator_progress_guage): ditto.
4817 (image_instantiator_tab_control): ditto.
4818 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4819 (image_instantiator_layout): add update method.
4821 * glyphs-msw.c (bmp_normalize):
4822 (mswindows_resource_normalize): add dest_mask so that it can be
4823 proprogated by layout_normalize.
4824 (begin_defer_window_pos): make optional because it may not be the
4825 right thing to do and it introduces differences with X.
4826 (mswindows_unmap_subwindow): ditto.
4827 (mswindows_map_subwindow): ditto.
4828 (mswindows_redisplay_subwindow): renamed from
4829 mswindows_update_subwindow.
4830 (mswindows_redisplay_widget): ditto.
4831 (mswindows_button_redisplay): renamed from
4832 mswindows_button_update. Update is now what the instantiation
4833 function does for a changed instantiator.
4834 (mswindows_progress_gauge_instantiate): set the progress value
4835 here if appropriate.
4836 (mswindows_tab_control_redisplay): cope with re-ordering of the
4837 members of the tab widget by simply selecting the new top
4838 widget. This makes things appear ok if you click on a tab.
4839 (mswindows_combo_box_instantiate): image_instance_layout now takes
4840 position as well as size.
4841 (mswindows_progress_gauge_redisplay): renamed from
4842 mswindows_progress_gauge_update.
4843 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4844 (image_instantiator_format_create_glyphs_mswindows): ditto.
4846 * glyphs-eimage.c (jpeg_normalize):
4849 (tiff_normalize): add dest_mask so that it can be proprogated by
4854 (hash_table_weakness_validate):
4855 (decode_hash_table_weakness):
4856 (Fhash_table_weakness):
4858 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4860 * console.h (struct console_methods): move update_* to
4863 2000-07-20 Ben Wing <ben@xemacs.org>
4865 * *.[ch] (XSETOBJ): remove unused middle argument.
4866 lisp-disunion.h: correct wrap_object() to one argument.
4868 2000-07-15 Ben Wing <ben@xemacs.org>
4871 * s/cygwin32.h (CYGWIN_CONV_PATH):
4872 Add missing logb prototype for v1.1.
4873 Use post-b20 names and alias to pre-b20 names when pre-b20.
4875 * s/windowsnt.h: [5].
4877 2000-07-15 Ben Wing <ben@xemacs.org>
4879 * Makefile.in.in (x_objs):
4880 * Makefile.in.in (sheap_objs):
4881 * Makefile.in.in (objs):
4882 added win32.o, cosmetic cleanups.
4884 * alloc.c (Fmake_byte_code):
4885 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4886 etc. macros which declare their own args now.
4888 * alloc.c (syms_of_alloc):
4889 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4892 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4894 * buffer.c (Fget_file_buffer):
4895 Fixed GCPRO problem.
4897 * buffer.c (get_truename_buffer):
4898 Fixed comment about GC checking.
4900 * buffer.c (syms_of_buffer):
4901 Undeclared those dedicated frame funs.
4905 Define convenience macros for internal/external conversions.
4906 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4907 and Qenvironment_variable_encoding for cleaner code.
4910 Remove dedicated-frame; in lisp.
4912 * bytecode.c (funcall_compiled_function):
4915 * bytecode.c (syms_of_bytecode):
4919 * console-msw.c (mswindows_show_console): Rewrote.
4921 * console-msw.c (Fmswindows_debugging_output): New.
4922 Sends to OutputDebugString (special MSWin debugger interface).
4924 * console-msw.c (Fmswindows_message_box):
4925 Fixed stupid bugs so it works when called from kill-emacs.
4927 * console-msw.c (syms_of_console_mswindows):
4928 Declare Fmswindows_debugging_output.
4931 New MSWin prototypes.
4933 * console-msw.h (struct mswindows_frame):
4934 New entry last-click-mods for improved button-modifier support.
4936 * console-msw.h (FRAME_MSWINDOWS_POPUP):
4937 New struct entry `popup' with corresponding accessor.
4940 * console-x.c (split_up_display_spec):
4941 * console-x.c (get_display_arg_connection):
4942 * console-x.c (x_semi_canonicalize_console_connection):
4943 * console-x.c (x_canonicalize_device_connection):
4944 [[[6]]]: Change char to more specific type.
4945 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
4947 * console-x.c (x_semi_canonicalize_console_connection):
4948 * console-x.c (x_canonicalize_device_connection):
4949 [[[9]]]: Fix up error signalling to use new structured error system.
4952 [[[4]]]: Define codesys aliases:
4953 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
4954 Qx_color_name_encoding, Qx_display_name_encoding.
4956 * console.h (struct console_methods):
4957 New method make_dialog_box_internal supersedes older
4958 popup_dialog_box method.
4961 Define many new errors, part of new structured errors.
4963 * data.c (init_errors_once_early):
4964 * data.c (syms_of_data):
4967 * device-msw.c (mswindows_init_device):
4968 [[[5]]]: Cleanup to support NT 3.51.
4970 * device-msw.c (decode_devmode): Cleanup.
4972 * device-msw.c (mswindows_handle_print_setup_dialog_box):
4973 * device-msw.c (mswindows_handle_print_dialog_box):
4974 * device-msw.c (mswindows_handle_page_setup_dialog_box):
4975 * device-msw.c (syms_of_device_mswindows):
4976 Delete the dialog box primitives recently introduced by Kirill and
4977 instead interface to general dialog box interface.
4980 * device-x.c (compute_x_app_name):
4981 * device-x.c (x_init_device):
4982 * device-x.c (Fx_valid_keysym_name_p):
4983 * device-x.c (Fx_set_font_path):
4987 * device.h (wrap_device): New.
4988 First of its kind; meant to replace XSETDEVICE.
4990 * dialog-msw.c: Many file-dialog symbols.
4992 * dialog-msw.c (mswindows_register_popup_frame): New.
4993 * dialog-msw.c (mswindows_is_dialog_msg): New.
4994 For supporting kbd traversal in dialog boxes.
4996 * dialog-msw.c (dialog_proc):
4997 Support hitting ESC in dialogs.
4999 * dialog-msw.c (struct):
5000 Common dialog box errors.
5002 * dialog-msw.c (handle_file_dialog_box): New.
5003 Add file dialog code.
5005 * dialog-msw.c (handle_question_dialog_box):
5006 Redo existing code to support new question dialog syntax.
5008 * dialog-msw.c (console_type_create_dialog_mswindows):
5009 We support new dialog console method.
5011 * dialog-msw.c (syms_of_dialog_mswindows):
5012 * dialog-msw.c (vars_of_dialog_mswindows):
5013 New file dialog symbols, vars.
5016 * dialog-x.c (maybe_run_dbox_text_callback):
5017 * dialog-x.c (dbox_descriptor_to_widget_value):
5018 * dialog-x.c (x_make_dialog_box_internal):
5019 * dialog-x.c (console_type_create_dialog_x):
5020 Mule-ize entire file.
5021 Redo to support question dialog syntax.
5025 * dialog.c (Fmake_dialog_box_internal):
5026 * dialog.c (syms_of_dialog):
5027 Kill old popup-dialog-box, replace with new primitive.
5028 Just call device method or signal error.
5030 * eldap.c (Fldap_open):
5031 * eldap.c (Fldap_search_basic):
5032 * eldap.c (Fldap_add):
5033 * eldap.c (Fldap_modify):
5038 * emacs.c (make_arg_list_1):
5039 * emacs.c (make_arg_list):
5040 Mule-ize call to dll_init().
5044 * emacs.c (make_argc_argv):
5045 * emacs.c (free_argc_argv):
5046 * emacs.c (init_cmdargs):
5048 * emacs.c (Fkill_emacs):
5049 * emacs.c (Fdump_emacs):
5050 Update comments about what can be used in syms_* etc.
5051 Call init_win32() when necessary.
5052 Fix up MS Win dialog box in kill-buffer to actually work right.
5063 * eval.c (condition_case_3):
5065 * eval.c (function_argcount):
5066 * eval.c (funcall_lambda):
5069 * eval.c (type_error): New.
5070 * eval.c (maybe_type_error): New.
5071 * eval.c (continuable_type_error): New.
5072 * eval.c (maybe_continuable_type_error): New.
5073 * eval.c (type_error_with_frob): New.
5074 * eval.c (maybe_type_error_with_frob): New.
5075 * eval.c (continuable_type_error_with_frob): New.
5076 * eval.c (maybe_continuable_type_error_with_frob): New.
5077 New functions for use with structured errors.
5080 * event-Xt.c (x_event_to_emacs_event):
5081 Buttons are now modifiers too.
5083 * event-Xt.c (emacs_Xt_current_event_timestamp):
5084 Implement new event method.
5085 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5088 * event-msw.c (ntpipe_shove_writer): [5].
5089 * event-msw.c (mswindows_enqueue_mouse_button_event):
5090 * event-msw.c (mswindows_drain_windows_queue):
5091 * event-msw.c (mswindows_wnd_proc): [7].
5092 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5093 * event-msw.c (mswindows_modifier_state):
5094 Throughout: support new button modifiers.
5096 * event-msw.c (emacs_mswindows_current_event_timestamp):
5097 Implement new event method.
5098 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5101 * event-stream.c (event_stream_current_event_timestamp): New.
5102 * event-stream.c (maybe_kbd_translate): New functionality.
5103 * event-stream.c (vars_of_event_stream):
5104 Document new kbd-translate-table functionality.
5106 * event-stream.c (Fcurrent_event_timestamp): New.
5107 New primitive for use in fabricated events.
5108 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5110 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5113 * events.c (Fmake_event):
5114 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5118 * events.c (format_event_object): fix gcc warnings.
5120 * events.c (Fevent_timestamp): Document new primitives.
5122 * events.c (TIMESTAMP_HALFSPACE): New.
5124 * events.c (Fevent_timestamp_lessp): New. New primitive for
5125 comparing timestamps correctly (half-space algorithm).
5127 * events.c (Fevent_modifier_bits): Doc fix.
5129 * events.c (Fevent_modifiers): Major doc addition.
5130 * events.c (event_x_y_pixel_internal): Typo fix.
5131 * events.c (syms_of_events): Declare new primitives.
5134 Update long comment for button modifiers, timestamps.
5136 * events.h (struct event_stream):
5137 New current_event_timestamp method.
5140 * extents.c (extent_in_region_p):
5141 * extents.c (decode_extent):
5142 * extents.c (Fset_extent_parent):
5143 * extents.c (decode_map_extents_flags):
5147 * extents.c (struct extent_at_arg):
5148 * extents.c (decode_extent_at_flag):
5149 * extents.c (extent_at_mapper):
5150 * extents.c (extent_at_bytind):
5151 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5152 * extents.c (Fextents_at): New primitive. [9].
5153 * extents.c (symbol_to_glyph_layout): [9].
5154 Support new primitive `extents-at'.
5157 * extents.c (get_text_property_bytind):
5158 extent_at_bytind has another arg.
5161 * extents.c (syms_of_extents): New primitive.
5163 * file-coding.c (Fmake_coding_system): [1].
5164 * file-coding.c (subsidiary_coding_system): fix gcc warning
5165 * file-coding.c (syms_of_file_coding): [2].
5167 * fileio.c (Fexpand_file_name):
5168 * fileio.c (Fsysnetunam):
5169 * fileio.c (Ffile_exists_p):
5170 * fileio.c (Ffile_executable_p):
5171 * fileio.c (Fverify_visited_file_modtime):
5174 * fileio.c (syms_of_fileio): [2].
5176 * filelock.c (lock_file_1):
5177 * filelock.c (current_lock_owner):
5178 * filelock.c (lock_if_free):
5179 * filelock.c (lock_file):
5180 * filelock.c (unlock_file):
5183 * fns.c (concat): Fix gcc warning.
5186 * fns.c (Fold_member):
5188 * fns.c (Fold_memq):
5189 * fns.c (memq_no_quit):
5191 * fns.c (Fold_assoc):
5193 * fns.c (Fold_assq):
5194 * fns.c (assq_no_quit):
5196 * fns.c (Fold_rassoc):
5198 * fns.c (Fold_rassq):
5199 * fns.c (rassq_no_quit):
5201 * fns.c (Fold_delete):
5203 * fns.c (Fold_delq):
5204 * fns.c (delq_no_quit):
5205 * fns.c (Fremassoc):
5207 * fns.c (remassq_no_quit):
5208 * fns.c (Fremrassoc):
5209 * fns.c (Fremrassq):
5210 * fns.c (remrassq_no_quit):
5215 * frame-msw.c (mswindows_init_frame_1):
5216 * frame-msw.c (mswindows_delete_frame):
5217 Register popups with dialog code so keyboard traversing works.
5219 * frame-tty.c (tty_raise_frame_no_select): [1].
5222 * frame-x.c (x_set_frame_text_value):
5223 * frame-x.c (x_set_frame_properties):
5224 * frame-x.c (x_create_widgets):
5228 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5230 * frame.h (wrap_frame): New.
5231 Macro like wrap_device.
5234 * general.c (SYMBOL):
5235 * general.c (syms_of_general):
5236 Major reorg. This is now just a wrapper and symbols themselves
5237 are listed in general-slots.h.
5239 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5240 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5242 * glyphs-msw.c (mswindows_native_layout_instantiate):
5243 Add DS_CONTROL so keyboard traversal will work.
5246 * glyphs-widget.c (syms_of_glyphs_widget):
5247 Move some symbols to general-slots.h.
5250 * glyphs-x.c (xbm_instantiate_1):
5251 * glyphs-x.c (x_xbm_instantiate):
5252 * glyphs-x.c (x_xface_instantiate):
5253 * glyphs-x.c (autodetect_instantiate):
5254 * glyphs-x.c (cursor_font_instantiate):
5255 * glyphs-x.c (x_update_widget):
5256 * glyphs-x.c (x_widget_instantiate):
5257 * glyphs.c (bitmap_to_lisp_data):
5258 * glyphs.c (pixmap_to_lisp_data):
5261 * glyphs.c (syms_of_glyphs):
5265 * gui-x.c (print_widget_value):
5266 * gui-x.c (menu_separator_style_and_to_external):
5267 * gui-x.c (add_accel_and_to_external):
5268 * gui-x.c (button_item_to_widget_value):
5269 * gui-x.c (gui_items_to_widget_values_1):
5270 * gui-x.c (gui_items_to_widget_values):
5271 * gui-x.c (syms_of_gui_x):
5272 * gui-x.c (vars_of_gui_x):
5273 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5277 Muleize, prototype changes matching gui-x.c.
5280 * gui.c (separator_string_p):
5281 * gui.c (gui_item_add_keyval_pair):
5282 * gui.c (make_gui_item_from_keywords_internal):
5283 * gui.c (signal_too_long_error):
5284 * gui.c (parse_gui_item_tree_item):
5285 * gui.c (syms_of_gui):
5286 * gui.c (vars_of_gui):
5288 menu-no-selection-hook moved here (used by MSWin).
5289 Move some symbols to general-slots.h.
5293 * insdel.c (get_buffer_pos_char):
5294 * insdel.c (get_buffer_range_char):
5297 * keymap.c (keymap_lookup_directly):
5298 * keymap.c (keymap_store):
5299 * keymap.c (ensure_meta_prefix_char_keymapp):
5300 * keymap.c (describe_map):
5302 Support new button modifiers.
5304 * lisp-disunion.h (wrap_object):
5305 * lisp-disunion.h (XSETOBJ):
5306 Rename make_obj to wrap_object.
5309 * lisp-union.h (make_int):
5310 * lisp-union.h (make_char):
5311 Support wrap_object.
5314 * lisp.h (LIST_LOOP):
5315 * lisp.h (EXTERNAL_LIST_LOOP):
5316 * lisp.h (LIST_LOOP_2):
5317 * lisp.h (EXTERNAL_LIST_LOOP_1):
5318 * lisp.h (EXTERNAL_LIST_LOOP_2):
5319 * lisp.h (EXTERNAL_LIST_LOOP_3):
5320 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5321 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5322 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5323 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5324 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5325 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5326 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5327 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5328 * lisp.h (struct Lisp_Symbol):
5329 * lisp.h (maybe_continuable_error_with_frob):
5330 Fix up section comments.
5331 Add new types for char to indicate usage.
5332 Delete symbols auto-generated from general-slots.h.
5333 Add prototypes for structured error functions.
5334 Add long comments describing looping macros and change interface
5335 so that lvalues are automatically declared.
5336 Add NO_DECLARE macro in case callers want to declare lvalues
5339 * lread.c (read_syntax_error):
5340 * lread.c (continuable_read_syntax_error):
5341 * lread.c (read_structure):
5342 * lread.c (sequence_reader):
5343 * lread.c (read_list_conser):
5344 * lread.c (read_compiled_function):
5345 Rename syntax_error and continuable_syntax_error to avoid clash
5346 with same-named structured error functions.
5348 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5349 * menubar-msw.c (populate_menu_add_item):
5350 * menubar-msw.c (populate_or_checksum_helper):
5355 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5356 Mule-ize whole file.
5358 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5360 * mule-charset.c (Fmake_charset):
5361 * mule-wnnfns.c (Fwnn_set_param):
5364 * ntproc.c (create_child):
5365 * ntproc.c (Fwin32_set_current_locale):
5366 Add comments portending doom.
5369 * objects-msw.c (old_font_enum_callback_2):
5370 * objects-msw.c (font_enum_callback_1):
5371 * objects-msw.c (mswindows_enumerate_fonts):
5375 * objects-x.c (allocate_nearest_color):
5376 * objects-x.c (x_parse_nearest_color):
5377 * objects-x.c (x_initialize_color_instance):
5378 * objects-x.c (x_print_color_instance):
5379 * objects-x.c (x_finalize_color_instance):
5380 * objects-x.c (x_valid_color_name_p):
5381 * objects-x.c (x_initialize_font_instance):
5382 * objects-x.c (x_print_font_instance):
5383 * objects-x.c (valid_x_font_name_p):
5384 * objects-x.c (truename_via_FONT_prop):
5385 * objects-x.c (truename_via_random_props):
5386 * objects-x.c (truename_via_XListFonts):
5387 * objects-x.c (x_font_truename):
5388 * objects-x.c (x_font_instance_truename):
5389 * objects-x.c (x_font_instance_properties):
5390 * objects-x.c (x_list_fonts):
5391 * objects-x.c (x_find_charset_font):
5392 Mule-ize entire file.
5399 * print.c (std_handle_out_external):
5400 * print.c (debug_print_no_newline):
5401 * print.c (syms_of_print):
5402 Output to all debugger kinds in debug-print.
5403 Fix console-output code under MSWin to actually work.
5405 * process-nt.c (send_signal):
5406 * process-nt.c (nt_create_process):
5407 Use newer Unicode macros.
5409 * process-unix.c (unix_create_process):
5410 * process-unix.c (unix_canonicalize_host_name):
5411 * process-unix.c (unix_open_network_stream):
5417 * search.c (syms_of_search):
5420 * select-msw.c (mswindows_destroy_selection):
5423 * select-x.c (symbol_to_x_atom):
5426 * select.c (syms_of_select):
5429 * sound.c (Fplay_sound_file):
5433 * specifier.c (decode_specifier_type):
5434 * specifier.c (Fvalid_specifier_locale_type_p):
5435 * specifier.c (check_valid_locale_or_locale_type):
5436 * specifier.c (decode_locale):
5437 * specifier.c (decode_locale_type):
5438 * specifier.c (decode_locale_list):
5439 * specifier.c (check_valid_domain):
5440 * specifier.c (decode_specifier_tag_set):
5441 * specifier.c (Fcanonicalize_tag_set):
5442 * specifier.c (Fdefine_specifier_tag):
5443 * specifier.c (Fspecifier_tag_predicate):
5444 * specifier.c (check_valid_inst_list):
5445 * specifier.c (check_valid_spec_list):
5446 * specifier.c (decode_how_to_add_specification):
5447 * specifier.c (check_modifiable_specifier):
5448 * specifier.c (specifier_add_spec):
5449 * specifier.c (boolean_validate):
5450 * specifier.c (display_table_validate):
5453 * specifier.c (syms_of_specifier):
5454 Move some symbols to general-slots.h.
5458 * symbols.c (Fmapatoms):
5459 * symbols.c (Fapropos_internal):
5462 * symbols.c (set_default_buffer_slot_variable):
5463 * symbols.c (set_default_console_slot_variable):
5466 * symbols.c (defsymbol_massage_name_1):
5467 * symbols.c (defkeyword_massage_name):
5468 * symbols.c (deferror_1):
5469 * symbols.c (deferror):
5470 * symbols.c (deferror_massage_name_and_message):
5472 * symeval.h (DEFSYMBOL):
5473 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5475 * symbols.c (syms_of_symbols):
5479 * symsinit.h (init_win32): New.
5480 Also new is syms_of_dialog_mswindows.
5483 Add new Unicode macros, missing Cygwin wide-char functions,
5484 convenience conversion macros for Qmswindows_tstr, macros for
5485 encapsulating required MSWin <-> Cygwin filename conversions,
5486 prototype for dynamically-extracted (not in NT 3.51) functions.
5491 * tooltalk.c (Fadd_tooltalk_message_arg):
5492 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5493 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5496 * tooltalk.c (syms_of_tooltalk):
5500 * unexnt.c (unexec):
5501 Fix up headers, declaration of unexec() to be more standard.
5503 2000-07-20 Martin Buchholz <martin@xemacs.org>
5505 * offix.h: Revert change to guard macros - they're used in offix.c!
5507 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5509 * lisp.h: Defsubred Fdelete.
5511 * console-msw.h: (msprinter_default_printer): Added.
5513 * console-msw.c (msprinter_canonicalize_console_connection):
5514 (msprinter_canonicalize_device_connection): Added.
5516 * device-msw.c (msprinter_default_printer):
5517 (Fmswingows_get_default_printer):
5518 (signal_enum_priner_error):
5519 (Fmswingows_printer_list): Added.
5521 2000-07-19 Martin Buchholz <martin@xemacs.org>
5523 * XEmacs 21.2.35 is released.
5525 2000-07-19 Martin Buchholz <martin@xemacs.org>
5527 * select-x.c (x_handle_selection_request):
5528 Text selected in xemacs and pasted into xterm failed to appear.
5529 Spelling fixes and cosmetic changes.
5531 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5533 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5534 XEmacs frame (fix for doubling chars in dialog boxes).
5536 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5538 * select.c (select_convert_in, select_convert_out):
5539 Don't call intern() every time.
5541 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5542 * select.c (vars_of_select): Initialise them.
5544 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5546 * select.c (selection-coercible-types): New.
5548 * select.c (own-selection-internal):
5549 * select.c (get-selection-internal):
5550 MULE bug fix - these should default to COMPOUND_TEXT and not
5551 STRING for MULE. I think.
5553 * select.c (select_convert_out): Use selection-coercible-types
5554 to find types that we can attempt to perform coercions on.
5556 2000-07-18 Martin Buchholz <martin@xemacs.org>
5560 Add coding: cookie to identify encoding.
5562 * mule-canna.c (CANNA_mode_keys): make static.
5563 Use proper prototypes, even for functions of no arguments.
5564 Remove external prototype for Fding().
5566 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5568 * select.c (syms_of_select): Add missing DEFSUBR.
5570 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5572 * select.c (get_selection_internal, own_selection_internal):
5573 Make the type default to STRING, rather than placing a nil type
5574 into Vselection_alist.
5576 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5578 * gpmevent.c (tty_selection_exists_p):
5579 * gpmevent.c (tty_own_selection):
5580 Updated parameter lists.
5582 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5584 * select.h (selection-alist): Removed declaration.
5586 * select.h (get_local_selection):
5587 * select.c (get_local_selection):
5590 * select.h (convert_selection): Removed declaration.
5591 * select.c (convert_selection): Removed.
5592 This function belongs in Lisp.
5594 * select.h (select_convert_in): Declare.
5595 * select.h (select_convert_out): Declare.
5596 * select.c (select_convert_in): New.
5597 * select.c (select_convert_out): New.
5598 New conversion functions for other files to call.
5600 * select.h (select_notify_buffer_kill): Declare.
5601 * select.c (select_notify_buffer_kill): New.
5602 New functions that get called from kill-buffer.
5604 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5605 X-specific lisp code.
5607 * select.h: Declare some of the lisp-visible functions for
5610 * select.c (clean_local_selection_data): Removed. This was
5611 a disgusting function, and previously should have been in
5612 select-x.c in any case. The functionality is now provided
5613 in select-convert-from-integer (select.el).
5615 * select.c (available-selection-types): Fixed stupidity where
5616 INTEGER and ATOM got added twice. Also add STRING when we see an
5619 * select.c (get-selection-internal): Removed symbol stripping. No
5620 longer causes conversion when data comes from the internal cache.
5622 * select.c (syms_of_select): Added new functions.
5624 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5625 error checking - previously this called abort!
5627 * select-x.c (x_own_selection): Changed comment.
5629 * select-x.c (x_handle_selection_request): Use select_convert_out.
5630 Don't mess with selection-alist; it's an internal variable of select.c.
5632 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5634 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5635 rather than messing with selection-alist.
5637 * select-msw.c (mswindows_get_foreign_selection):
5638 Use TO_INTERNAL_FORMAT rather than hacking.
5640 2000-07-14 Martin Buchholz <martin@xemacs.org>
5642 * process-unix.c (unix_open_multicast_group):
5643 (unix_open_multicast_group): Remove useless casts.
5645 2000-07-13 Martin Buchholz <martin@xemacs.org>
5647 * sound.c (Fplay_sound): Fix `unused variable' warning.
5649 * emacs.c (main): Use correct type for _environ on SCO5.
5651 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5653 * console.h (own_selection_method):
5654 * console.h (selection_exists_p_method):
5655 * console.h (available_selection_types_method): New.
5656 * console.h (register_selection_data_type_method): New.
5657 * console.h (selection_data_type_name): New.
5659 * console-msw.h (mswindows_destroy_selection): Declare it. New
5660 function & alist to track GlobalAlloc()'d handles that need
5661 releasing when the clipboard data gets replaced or emptied.
5663 * event-msw.c (mswindows_wnd_proc): Call it.
5665 * lisp.h, general.c (Qappend): New symbol representing a
5668 * select.c (own-selection-internal):
5669 * select.c (selection-exists-p):
5670 * select.c (available-selection-types): New.
5671 * select.c (register-selection-data-type): New.
5672 * select.c (selection-data-type-name): New. New functions to deal
5673 with device-specific selection data formats.
5674 * select.c (selection-converter-out-alist): Renamed.
5675 * select.c (selection-converter-in-alist): New.
5676 * select.c (selection-appender-alist): New. Added new alists.
5677 * select.c (syms_of_select, vars_of_select): Added new symbols &
5679 * select.c (get_local_selection): Split.
5680 * select.c: Removed spurious type checking - selections may now be
5681 of any type, not just strings.
5682 * select.c (own-selection-internal):
5684 * select.h, select.c (convert_selection): New. Created
5685 convert_selection() function based on get_local_selection().
5686 * select.h, select.c (QCF_*): New symbols representing mswindows
5688 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5689 symbols representing `how-to-add' modes.
5691 * select-msw.c (x_sym_p): New.
5692 * select-msw.c (symbol_to_ms_cf): New.
5693 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5694 symbols & clipboard formats. Can also handle string names.
5695 * select-msw.c (mswindows_own_selection):
5696 * select-msw.c (mswindows_selection_exists_p):
5697 Added `data-type' parameter. Use it.
5698 * select-msw.c (mswindows_available_selection_types): New.
5699 * select-msw.c (mswindows_register_selection_data_type): New.
5700 * select-msw.c (mswindows_selection_data_type_name): New.
5701 * select-msw.c (mswindows_own_selection):
5702 * select-msw.c (mswindows_get_foreign_selection):
5703 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5704 * select-msw.c (console_create_select_mswindows): Added new methods.
5705 * select-msw.c (mswindows_destroy_selection): New.
5706 * select-msw.c (Vhandle_alist): New list.
5707 * select-msw.c (mswindows_own_selection):
5709 * select-x.c (x_own_selection):
5710 * select-x.c (x_selection_exists_p):
5711 * select-x.c: Added some comments about maybe using new
5713 * select-x.c (x_own_selection):
5715 * specifier.c: Remove definition of Qappend (now in general.c)
5716 * specifier.c (syms_of_specifier): Remove Qappend.
5718 2000-07-12 Martin Buchholz <martin@xemacs.org>
5720 * config.h.in: Add socklen_t.
5722 * s/decosf4-0.h: No special compiler flags needed or desired.
5723 In particular, undefine _BSD for DEC OSF 4.0.
5725 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5727 * redisplay-msw.c (msprinter_frame_output_end): Added.
5728 (console_type_create_redisplay_mswindows): Referred the above.
5730 * frame.c (setup_frame_without_minibuffer): Do not create a
5731 default minibuffer frame on a printer device.
5733 * frame-msw.c (apply_dc_geometry): Added.
5734 (msprinter_start_page):
5735 (msprinter_init_frame_3):
5736 (msprinter_eject_page): Use it.
5738 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5739 and removed residual duplex and orientation properties.
5741 2000-07-11 Martin Buchholz <martin@xemacs.org>
5743 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5745 * unexalpha.c: Remove system prototypes from C sources!
5747 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5749 * eval.c: Remove references to M-x edit-options in DEFUNs for
5750 `defvar' and `defconst'.
5752 2000-07-09 Martin Buchholz <martin@xemacs.org>
5754 * config.h.in: Remove SMART_INCLUDE hackery.
5757 * config.h.in: Don't use SMART_INCLUDE.
5759 * postgresql.h: Include libpq-fe.h here. Fix typo.
5760 * inline.c: Simply #include "postgresql.h"
5762 - Don't use SMART_INCLUDE
5763 - Use simply "const".
5764 - Use standard doc string conventions.
5765 - Use correct type for result of PQstatus.
5767 2000-07-09 Martin Buchholz <martin@xemacs.org>
5769 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5771 C++ compilation changes.
5772 * config.h.in (EXTERN_C): Define.
5773 * config.h.in (not): This is also a C++ keyword.
5774 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5775 * cm.c: Use EXTERN_C.
5776 * redisplay-tty.c: Use EXTERN_C.
5777 * sysdep.c: Use EXTERN_C. Remove Gould support.
5779 2000-07-09 Martin Buchholz <martin@xemacs.org>
5781 * general.c: Remove duplicate definition for Qfunction.
5783 2000-07-08 Ben Wing <ben@xemacs.org>
5785 * device-msw.c (msprinter_init_device):
5786 * device-msw.c (sync_printer_with_devmode):
5787 * device-msw.c (handle_devmode_changes):
5788 * device-msw.c (print_dialog_worker):
5789 * device-msw.c (Fmsprinter_apply_settings):
5790 * device-msw.c (hash_devmode):
5791 * device-msw.c (Fmsprinter_settings_despecialize):
5792 use Qmswindows_tstr, not Qctext.
5794 * vm-limit.c (check_memory_limits):
5795 avoid infinite loop printing warning messages.
5797 2000-07-05 Craig Lanning <lanning@scra.org>
5799 * Makefile.in.in: Add support for including the Windows resources
5800 when building with the cygwin and mingw targets.
5802 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5803 not set or not correct.
5804 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5805 (init_initial_directory): Don't try to use $PWD on the
5806 WIN32_NATIVE target.
5809 [[Add -mwindows to eliminate console window.]] not required --ben
5810 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5811 (MAIL_USE_POP): removed; now handled by configure.
5813 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5814 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5815 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5816 (MAIL_USE_POP): removed; now handled by configure.
5817 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5818 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5819 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5821 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5822 up from <winsock.h> via systime.h.
5823 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5824 (getpagesize): from Dan Holmsand, added.
5825 Added #endif which was left dangling by Ben's mega patch; added
5826 comment to help prevent this in the future.
5828 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5830 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5832 * console-msw.h (struct mswindows_device): Removed unnecessary
5833 cached device geometry values.
5834 Added update_tick and an accessor macro.
5835 (Lisp_Devmode): Added lrecord declaration.
5836 (struct msprinter_device): Contain devmode as a Lisp object.
5837 Added mswindows_get_selected_frame_hwnd();
5839 * console.h (struct console_methods): Indentation nitpicking.
5841 * device-msw.c (mswindows_init_device): Do not initialize geometry
5842 cache. Initialize update tick.
5843 (mswindows_device_system_metrics): Ask the device for its geometry.
5844 (global_free_2_maybe):
5845 (devmode_to_hglobal):
5846 (handle_printer_changes):
5847 (ensure_not_printing):
5848 (print_dialog_worker):
5849 (Fmsprinter_print_setup_dialog):
5850 (Fmsprinter_print_dialog):
5853 (Fmsprinter_page_setup_dialog): Added functions.
5854 (sync_printer_with_devmode):
5855 (handle_devmode_changes):
5856 (Fmsprinter_get_settings):
5857 (Fmsprinter_select_settings):
5858 (Fmsprinter_apply_settings):
5860 (Fmsprinter_settings_copy):
5861 (Fmsprinter_settings_despecialize):
5865 (hash_devmode): Added functions
5866 (syms_of_device_mswindows): Init devmode lrecord class.
5868 * device.h: Added an exfun for find-device.
5870 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5871 geometry; although, recreate the device compatible DC.
5873 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5874 (msprinter_init_frame_3):
5875 (msprinter_frame_property):
5876 (msprinter_internal_frame_property_p):
5877 (msprinter_frame_properties):
5878 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5879 print job properties (will move to device settings).
5881 * lisp.h: Added symbols.
5883 * general.c (syms_of_general): Declared them.
5885 * hash.c (string_hash): Added.
5887 * lrecord.h (lrecord_type): Added devmode lrecord type.
5889 2000-07-02 Mike Sperber <mike@xemacs.org>
5891 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5894 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5896 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5899 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5901 * data.c (Fstring_to_number): Don't recognize floating point if
5904 2000-06-22 Martin Buchholz <martin@xemacs.org>
5906 * glyphs-widget.c (tab_control_query_geometry):
5907 (widget_query_geometry):
5908 (button_query_geometry):
5909 * glyphs.c (text_query_geometry):
5910 Enforce type correctness.
5912 2000-06-18 Martin Buchholz <martin@xemacs.org>
5914 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5915 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5917 2000-06-17 Martin Buchholz <martin@xemacs.org>
5919 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5920 conflicts with gcc's fixincluded version of FOO.h.
5922 * glyphs.h (image_instance_geometry): Remove trailing `,'
5924 2000-06-08 Mike Alexander <mta@arbortext.com>
5926 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
5927 (shove_thread): Don't write the same output twice
5928 (make_ntpipe_output_stream): Increase priority of shove thread
5929 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
5931 (ntpipe_shove_closer): Don't delete the pipe until we're done with
5934 2000-06-12 Ben Wing <ben@xemacs.org>
5936 * s\mingw32.h (sigset):
5937 * s\windowsnt.h (sigset):
5938 rename msw_ to mswindows_ for consistency with general convention.
5940 2000-06-12 Ben Wing <ben@xemacs.org>
5943 * console-msw.c (mswindows_get_console_hwnd):
5944 * console-msw.c (mswindows_ensure_console_allocated):
5945 * console-msw.c (mswindows_hide_console):
5946 * console-msw.c (mswindows_show_console):
5947 * console-msw.c (mswindows_ensure_console_buffered):
5948 * console-msw.c (mswindows_output_console_string):
5949 * console-msw.c (mswindows_windows9x_p):
5951 * device-msw.c (mswindows_get_workspace_coords):
5952 * device-msw.c (mswindows_device_system_metrics):
5953 * dialog-msw.c (mswindows_popup_dialog_box):
5954 * event-msw.c (mswindows_wnd_proc):
5955 * frame-msw.c (mswindows_size_frame_internal):
5956 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5957 * menubar-msw.c (displayable_menu_item):
5958 * menubar-msw.c (mswindows_char_is_accelerator):
5960 * nt.c (mswindows_sigset):
5961 * nt.c (mswindows_sigrelse):
5962 * nt.c (mswindows_sigpause):
5963 * nt.c (mswindows_raise):
5964 * nt.c (timer_proc):
5966 * ntproc.c (find_child_console):
5967 * ntproc.c (sys_kill):
5969 * print.c (std_handle_out_external):
5970 * process-nt.c (find_child_console):
5971 * process-nt.c (send_signal_the_95_way):
5972 * process-nt.c (ensure_console_window_exists):
5973 * process-nt.c (nt_create_process):
5975 rename msw_ to mswindows_ for consistency with general convention.
5979 include nt.h, not syswindows.h.
5981 * nt.c (mswindows_fstat):
5982 * nt.c (mswindows_stat):
5983 prefix mswindows_ instead of attempting to directly override the
5984 library functions. fix declarations.
5987 include syswindows.h. move some sysdep.h stuff here.
5990 include syswindows.h, not <windows.h>.
5998 * sysdep.c (sys_fstat):
5999 * sysdep.c (sys_stat):
6000 call mswindows versions when appropriate.
6003 move mswin decls to nt.h.
6006 add long comment describing appropriate use of the various windows
6009 2000-06-11 Ben Wing <ben@xemacs.org>
6011 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6013 2000-06-10 Ben Wing <ben@xemacs.org>
6015 * Makefile.in.in (release):
6016 Correction to make sure xemacs.exe always dumped when correct.
6020 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6022 * buffer.c (set_buffer_internal):
6023 [[[[2]]]]: Remove HAVE_FEP code.
6025 * buffer.c (init_initial_directory):
6029 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6033 * callproc.c (call_process_cleanup):
6034 * callproc.c (Fold_call_process_internal):
6035 * callproc.c (child_setup):
6036 * callproc.c (getenv_internal):
6037 * callproc.c (init_callproc):
6038 * callproc.c (vars_of_callproc):
6039 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6040 __CYGWIN32__ -> CYGWIN.
6041 DOS_NT -> WIN32_NATIVE.
6042 Remove MSDOS support/references, converting to WIN32_NATIVE
6044 __MINGW32__ -> MINGW.
6045 Fix windows.h includes.
6046 Remove bogus HAVE_NTGUI.
6052 mswindows_message_outputted added for use in allowing startup
6053 errors on the console to be seen.
6055 * console-msw.c (msw_ensure_console_allocated):
6056 * console-msw.c (msw_output_console_string):
6057 * console-msw.c (DHEADER):
6058 * console-msw.c (DOPAQUE_DATA):
6059 * console-msw.c (DEVENT):
6060 * console-msw.c (DCONS):
6061 * console-msw.c (DCONSCDR):
6062 * console-msw.c (DSTRING):
6063 * console-msw.c (DVECTOR):
6064 * console-msw.c (DSYMBOL):
6065 * console-msw.c (DSYMNAME):
6068 * console-stream.c (stream_init_console):
6069 Fix text/binary problems.
6072 * device-msw.c (mswindows_finish_init_device):
6073 * device-msw.c (mswindows_delete_device):
6076 * device.c (handle_asynch_device_change):
6080 * dgif_lib.c (DGifOpenFileName):
6081 * dgif_lib.c (DGifOpenFileHandle):
6082 * dgif_lib.c (DGifGetLine):
6083 * dgif_lib.c (DGifGetPixel):
6084 Added config.h/lisp.h, fix up includes.
6091 * dired.c (file_name_completion):
6092 * dired.c (Ffile_attributes):
6093 * dired.c (syms_of_dired):
6097 * dumper.c (pdump_file_unmap):
6098 * dumper.c (pdump_load):
6102 * editfns.c (Ftemp_directory):
6103 * editfns.c (user_login_name):
6104 * editfns.c (Fuser_real_login_name):
6105 * editfns.c (get_home_directory):
6108 * elhash.c (finish_marking_weak_hash_tables):
6109 [[[[5]]]]: Fix GCC warnings.
6112 * emacs.c (mswindows_handle_hardware_exceptions):
6113 * emacs.c (make_arg_list_1):
6115 * emacs.c (Fkill_emacs):
6116 * emacs.c (Fdump_emacs):
6118 Fix problems with nested crashes, add long comment.
6120 * event-Xt.c (init_event_Xt_late):
6124 * event-msw.c (mswindows_dde_callback):
6125 * event-msw.c (mswindows_handle_sticky_modifiers):
6126 * event-msw.c (mswindows_wnd_proc):
6130 * events.c (character_to_event):
6134 * fileio.c (Ffile_name_directory):
6135 * fileio.c (Ffile_name_nondirectory):
6136 * fileio.c (directory_file_name):
6137 * fileio.c (Fexpand_file_name):
6138 * fileio.c (Fsubstitute_in_file_name):
6139 * fileio.c (Ffile_name_absolute_p):
6140 * fileio.c (check_executable):
6141 * fileio.c (Ffile_readable_p):
6142 * fileio.c (Ffile_accessible_directory_p):
6143 * fileio.c (Ffile_modes):
6144 * fileio.c (Funix_sync):
6145 * fileio.c (vars_of_fileio):
6148 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6150 Expand getdefdir defn.
6151 Fix bogus rename() comment.
6153 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6154 to use standard XEmacs include files, e.g. sysfile.h, rather
6155 than system-specific includes.
6161 * frame.c (vars_of_frame):
6165 * getloadavg.c (getloadavg):
6167 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6168 (We don't use it elsewhere in the code; just add a comment.)
6175 * glyphs-msw.c (mswindows_resource_instantiate):
6178 * glyphs-x.c (x_native_layout_instantiate):
6181 * gui-msw.c (Fmswindows_shell_execute):
6190 * lread.c (locate_file_in_directory_mapper):
6197 * mem-limits.h (get_lim_data):
6209 * nt.c (rva_to_section):
6210 * nt.c (mswindows_executable_type):
6212 Fix closedir() defn.
6215 [[[[8]]]]: *_OK defs moved to sysfile.h.
6224 * print.c (std_handle_out_external):
6228 * process-nt.c (nt_create_process):
6230 try to fix process quoting somewhat.
6232 * process-unix.c (unix_create_process):
6236 * process.c (vars_of_process):
6243 * realpath.c (xrealpath):
6246 * redisplay-tty.c (init_tty_for_redisplay):
6256 * sheap.c (more_static_core):
6257 * sheap.c (report_sheap_usage):
6261 * signal.c (alarm_signal):
6268 * strftime.c (zone_name):
6271 * symsinit.h (init_sunpro):
6275 commctrl.h not in Cygwin b20.1.
6279 * sysdep.c (sys_subshell):
6280 * sysdep.c (init_baud_rate):
6281 * sysdep.c (emacs_get_tty):
6282 * sysdep.c (emacs_set_tty):
6283 * sysdep.c (tty_init_sys_modes_on_device):
6284 * sysdep.c (init_system_name):
6285 * sysdep.c (sys_open):
6286 * sysdep.c (interruptible_open):
6287 * sysdep.c (sys_fopen):
6288 * sysdep.c (sys_mkdir):
6289 * sysdep.c (sys_rename):
6290 * sysdep.c (get_process_times_1):
6297 * sysdir.h (DIRENTRY_NONEMPTY):
6300 * sysdll.c (dll_init):
6306 added text/binary defs.
6312 * sysproc.h (EDESTADDRREQ):
6313 * sysproc.h (poll_fds_for_input):
6330 Always define WIN32_LEAN_AND_MEAN.
6332 * unexcw.c (unexec):
6336 * unexec.c (copy_text_and_data):
6337 * unexec.c (adjust_lnnoptrs):
6341 * unexnt.c (_start):
6344 2000-06-07 Ben Wing <ben@xemacs.org>
6346 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6347 was used only as a model. We've long since extracted any useful
6348 logic or code out of this. (I just did an exhaustive search.)
6350 * s\msdos.h: Removed.
6352 * s\windows95.h: Removed.
6354 2000-06-10 Ben Wing <ben@xemacs.org>
6358 Don't use extern with fun defs.
6362 Remove nt\inc include.
6363 Remove getdisk, getdefdir. (The former is unused, the latter
6364 expanded in fileio.h.)
6367 * s\windowsnt.h (WIN32_NATIVE):
6368 * s\windowsnt.h (HAVE_STRCASECMP):
6370 Add long comment about preprocessor changes.
6371 Remove getdisk, getdefdir. (The former is unused, the latter
6372 expanded in fileio.h.)
6374 2000-06-10 Ben Wing <ben@xemacs.org>
6383 Remove bogus/unused NO_SOCK_SIGIO.
6385 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6387 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6390 2000-06-04 Mike Sperber <mike@xemacs.org>
6392 * casetab.c (set_case_table): For `set-standard-case-table',
6393 actually deposit the new case tables where the rest of XEmacs can
6396 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6398 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6400 2000-06-05 Ben Wing <ben@xemacs.org>
6402 * callproc.c (child_setup): Don't do close_load_descs() under
6403 MS Windows. Put in a comment explaining why.
6405 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6407 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6408 Toolkit shell" which breaks `kill-compilation' on Windows NT
6409 native, retaining STDERR handling improvements.
6411 2000-06-01 Andreas Jaeger <aj@suse.de>
6413 * s/s390.h: Support for S390, based on a patch by Martin
6414 Schwidefsky <schwidefsky@de.ibm.com>.
6416 2000-05-30 Andy Piper <andy@xemacs.org>
6418 * window.c (allocate_window):
6419 (make_dummy_parent):
6420 (Fset_window_configuration): use new hashtable type.
6422 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6423 (struct image_instantiator_methods):
6424 (struct Lisp_Image_Instance): make instance geometry signed.
6426 * glyphs.c (instantiate_image_instantiator):
6427 (image_instance_query_geometry):
6428 (image_instance_layout):
6429 (image_instance_layout):
6430 (query_string_geometry):
6431 (text_query_geometry):
6432 (image_instantiate):
6433 (image_instantiate):
6434 (cache_subwindow_instance_in_frame_maybe):
6435 (subwindow_query_geometry): make instance geometry signed.
6437 * glyphs-widget.c (widget_query_geometry):
6439 (button_query_geometry):
6440 (tree_view_query_geometry):
6441 (tab_control_query_geometry):
6442 (layout_query_geometry):
6444 (native_layout_layout): make instance geometry signed.
6446 2000-05-29 Olivier Galibert <galibert@pobox.com>
6448 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6451 * general.c (syms_of_general): Add Qfull_assoc symbol.
6453 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6455 (decode_weak_list_type): Decode full-assoc type.
6456 (encode_weak_list_type): Encode full-assoc type.
6457 (Fmake_weak_list): Update doc string.
6459 2000-05-30 Andy Piper <andy@xemacs.org>
6461 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6463 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6464 (decode_hash_table_weakness): ditto.
6465 (Fhash_table_weakness): ditto.
6466 (Fhash_table_type): ditto.
6467 (finish_marking_weak_hash_tables): ditto.
6468 (hash_table_weakness_validate): ditto.
6469 (syms_of_elhash): ditto.
6471 2000-05-28 Martin Buchholz <martin@xemacs.org>
6473 * XEmacs 21.2.34 is released.
6475 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6477 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6479 (updating_line_start_cache): Gone.
6480 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6481 generic code to force a minimum of 1 line laid out in the
6484 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6486 * glyphs.c (instantiate_image_instantiator): Check for initialized
6487 height & width no longer special cases IMAGE_NOTHING.
6488 (nothing_instantiate): Set height and width of instance.
6490 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6492 * unexelf.c (unexec): Search for ".data" section.
6493 Initialize new_data2_offset from old_data_index.
6494 Remove redundant check for ElfW.
6496 2000-05-23 Andy Piper <andy@xemacs.org>
6498 * glyphs.c (get_image_instantiator_governing_domain): allow more
6499 specific domains as the governing domain rather than expecting an
6500 exact match. This fixes problems with layouts.
6502 2000-05-22 Andy Piper <andy@xemacs.org>
6504 * redisplay-output.c (compare_runes): check for non-images
6506 * glyphs.c (set_glyph_dirty_p): ditto.
6507 (update_glyph_cachel_data): ditto.
6509 * glyphs-widget.c (layout_post_instantiate): ditto.
6510 (layout_post_instantiate): ditto.
6512 * event-msw.c (mswindows_wnd_proc): warning removal.
6514 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6516 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6518 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6520 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6522 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6523 (mswindows_executable_type): mingw32 now has enough headers for
6526 2000-05-20 Andy Piper <andy@xemacs.org>
6528 * console-msw.c (mswindows_output_last_error): ; -> ,
6530 2000-05-12 Andy Piper <andy@xemacs.org>
6532 * console-msw.c (FROB): compare ints with ints.
6534 2000-05-11 Andy Piper <andy@xemacs.org>
6536 * glyphs-x.c (x_finalize_image_instance): make minimal build
6539 2000-05-20 Ben Wing <ben@xemacs.org>
6542 * event-Xt.c (vars_of_event_Xt):
6543 move modifier-keys-are-sticky to event-stream.c.
6546 * event-msw.c (mswindows_enqueue_mouse_button_event):
6547 * event-msw.c (key_needs_default_processing_p):
6548 * event-msw.c (XEMSW_LCONTROL):
6549 * event-msw.c (mswindows_handle_sticky_modifiers):
6550 * event-msw.c (FROB):
6551 * event-msw.c (clear_sticky_modifiers):
6552 * event-msw.c (output_modifier_keyboard_state):
6553 * event-msw.c (output_alt_keyboard_state):
6554 * event-msw.c (mswindows_wnd_proc):
6555 * event-msw.c (mswindows_modifier_state):
6556 * event-msw.c (emacs_mswindows_handle_magic_event):
6557 implement sticky modifiers.
6560 * event-stream.c (vars_of_event_stream):
6561 move modifier-keys-are-sticky here.
6567 implement map-range-table.
6570 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6572 * redisplay-tty.c (reset_tty_modes):
6573 (tty_redisplay_shutdown): Adjust argument type to
6574 tty_frame_output_end.
6576 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6578 * eval.c (Fbacktrace): Don't output a line with only right
6581 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6583 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6584 (Fpq_reset_poll): Ditto.
6586 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6588 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6590 2000-05-16 Ben Wing <ben@xemacs.org>
6593 * buffer.c (dfc_convert_to/from_internal_format):
6594 * buffer.c (reinit_vars_of_buffer):
6595 Fix conversion functions to allow reentrancy.
6598 * console-msw.c (mswindows_output_last_error):
6599 New fun, generally useful -- output a human-readable
6600 version of GetLastError() on the console.
6603 * console-msw.h (struct mswindows_frame):
6604 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6606 * console-stream.c (stream_output_begin):
6607 * console-stream.c (stream_output_end):
6608 * console-stream.c (stream_output_vertical_divider):
6609 * console-stream.c (stream_clear_region):
6610 * console-stream.c (stream_flash):
6611 * console-stream.c (console_type_create_stream):
6612 Delete blank stream methods, not needed.
6614 * console.h (struct console_methods):
6615 Split begin/end methods into window and frame.
6618 * event-msw.c (mswindows_handle_paint):
6619 * event-msw.c (output_alt_keyboard_state):
6620 * event-msw.c (mswindows_wnd_proc):
6621 * event-msw.c (vars_of_event_mswindows):
6622 Comment about problems with ignored-expose.
6623 Define mswindows-debug-events; not really implemented.
6625 * frame-msw.c (mswindows_init_frame_1):
6629 * glyphs-msw.c (begin_defer_window_pos):
6630 * glyphs-msw.c (mswindows_unmap_subwindow):
6631 * glyphs-msw.c (mswindows_map_subwindow):
6632 * glyphs-msw.c (mswindows_resize_subwindow):
6633 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6635 * glyphs.c (make_image_instance_1):
6638 * gutter.c (Fredisplay_gutter_area):
6639 Use new begin/end methods.
6641 * lisp.h (Dynarr_new2):
6645 * redisplay-msw.c (mswindows_frame_output_begin):
6646 * redisplay-msw.c (mswindows_frame_output_end):
6647 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6648 New begin/end methods -- handle DeferWindowPos.
6650 * redisplay-output.c (redisplay_move_cursor):
6651 * redisplay-output.c (redraw_cursor_in_window):
6652 * redisplay-output.c (redisplay_update_line):
6653 * redisplay-output.c (redisplay_output_window):
6654 New begin/end methods.
6657 * redisplay-tty.c (tty_frame_output_begin):
6658 * redisplay-tty.c (tty_frame_output_end):
6659 * redisplay-tty.c (console_type_create_redisplay_tty):
6660 New begin/end methods.
6663 * redisplay-x.c (x_window_output_begin):
6664 * redisplay-x.c (x_window_output_end):
6665 * redisplay-x.c (console_type_create_redisplay_x):
6666 New begin/end methods.
6668 * redisplay.c (redisplay_frame):
6669 * redisplay.c (Fredisplay_echo_area):
6670 New begin/end methods.
6671 use MAYBE_DEVMETH for clear_frame; it may not exist.
6673 * window.h (WINDOW_XFRAME):
6674 WINDOW_XFOO macros -- get locale and decode struct pointer.
6677 2000-05-12 Ben Wing <ben@xemacs.org>
6680 * emacs.c (ensure_no_quitting_from_now_on):
6681 * emacs.c (fatal_error_signal):
6682 * emacs.c (mswindows_handle_hardware_exceptions):
6684 * emacs.c (Fkill_emacs):
6685 * emacs.c (shut_down_emacs):
6686 * emacs.c (assert_failed):
6687 various improvements in fatal error handling.
6690 move preparing_for_armageddon to emacs.c.
6693 declare fatal_error_in_progress.
6696 * print.c (std_handle_out_external):
6697 * print.c (std_handle_out_va):
6698 * print.c (stderr_out):
6699 * print.c (stdout_out):
6700 use console under mswin when no standard output.
6701 don't do code conversion during fatal error.
6703 * scrollbar.c (Fscrollbar_page_up):
6704 * scrollbar.c (Fscrollbar_page_down):
6705 fix missing else. reindent.
6707 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6711 * glyphs.h (GLYPH_CACHEL_DESCENT):
6712 (GLYPH_CACHEL_DESCENT):
6713 (GLYPH_CACHEL_DESCENT):
6714 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6715 used in case these are inline functions.
6716 Use more absurd values to error check.
6718 include window.h for error check functions.
6720 2000-05-11 Ben Wing <ben@xemacs.org>
6722 * cmdloop.c (Freally_early_error_handler):
6723 Display message box under windows; otherwise, message will disappear
6724 before it can be viewed.
6727 * console-msw.c (Fmswindows_message_box):
6728 * console-msw.c (FROB):
6729 * console-msw.c (syms_of_console_mswindows):
6730 Define new fun `mswindows-message-box'.
6731 #### I will merge this into `popup-dialog-box'; just give me
6735 * general.c (syms_of_general):
6736 Some new symbols used in `mswindows-message-box'.
6739 * glyphs.c (Fset_image_instance_property):
6740 put warning in this fun.
6743 * glyphs.h (GLYPH_CACHEL_WIDTH):
6744 * glyphs.h (GLYPH_CACHEL_ASCENT):
6745 * glyphs.h (GLYPH_CACHEL):
6746 * glyphs.h (GLYPH_CACHEL_GLYPH):
6747 define error-checking versions to try to catch a bug i've seen --
6748 redisplay gets in an infinite loop because the glyph width of the
6749 continuation glyph is 65535.
6752 Extern message-box stuff.
6754 * window.c (allocate_window):
6755 * window.c (make_dummy_parent):
6756 * window.c (Fset_window_configuration):
6757 Use EQUAL not EQ for subwindow caches to make them work a bit
6758 better. (Something is still very broken.)
6761 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6763 * glyphs.c (image_instantiate): Suppress gcc warnings.
6764 (Fmake_image_instance): Fix doc string.
6765 * specifier.c (Fmake_specifier): Ditto.
6767 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6769 * paths.h.in (PATH_LOCK): Removed.
6770 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6771 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6773 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6775 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6776 Document (featurep '(and xemacs 21.02)).
6778 2000-05-09 Ben Wing <ben@xemacs.org>
6780 * buffer.c (complex_vars_of_buffer):
6781 update modeline-format doc.
6784 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6787 timeline of all released versions of Emacs, for use in creating
6788 authorship comments and in synching up.
6790 * glyphs-widget.c (image_instantiator_buttons):
6791 * glyphs-widget.c (image_instantiator_edit_fields):
6792 * glyphs-widget.c (image_instantiator_combo_box):
6793 * glyphs-widget.c (image_instantiator_scrollbar):
6794 * glyphs-widget.c (image_instantiator_progress_guage):
6795 * glyphs-widget.c (image_instantiator_tree_view):
6796 * glyphs-widget.c (image_instantiator_tab_control):
6797 * glyphs-widget.c (image_instantiator_labels):
6798 * glyphs-widget.c (image_instantiator_layout):
6799 * glyphs-widget.c (image_instantiator_native_layout):
6800 rename decode_domain method to governing_domain.
6803 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6804 * glyphs.c (add_entry_to_device_ii_format_list):
6805 make sure we don't put an entry more than once into the list.
6806 * glyphs.c (check_instance_cache_mapper):
6807 *************************************************************
6808 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6810 *************************************************************
6811 * glyphs.c (get_image_instantiator_governing_domain):
6812 clean up, expand on new concept of governing domain.
6813 * glyphs.c (instantiate_image_instantiator):
6814 * glyphs.c (allocate_image_instance):
6815 use governing_domain instead of cache_domain in naming.
6816 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6817 * glyphs.c (make_image_instance_1):
6818 * glyphs.c (Fmake_image_instance):
6819 allow for any domain (not just device), and process the
6820 governing domain correctly. very big doc fix.
6821 * glyphs.c (Fimage_instance_domain):
6822 new primitive, to retrieve the governing domain of an image instance.
6823 * glyphs.c (image_instantiate):
6824 use new governing_domain stuff. this fixes a crash you could get
6825 by instantiating certain widget glyphs in frame locales. (should
6826 signal an error instead of crashing.)
6827 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6828 * glyphs.c (Fglyphp): clean up doc.
6829 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6830 * glyphs.c (syms_of_glyphs):
6831 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6832 * glyphs.c (image_instantiator_format_create): add some comments about
6834 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6835 for current-display-table. (Apparently Hrjove implemented in 1998 a
6836 design I wrote up in 1996, but didn't update the doc string.)
6838 * glyphs.h: clean up a doc string.
6839 * glyphs.h (governing_domain):
6840 * glyphs.h (struct image_instantiator_methods):
6841 changes for governing_domain stuff.
6844 * gutter.c (Fgutter_specifier_p):
6845 * gutter.c (Fgutter_size_specifier_p):
6846 * gutter.c (Fgutter_visible_specifier_p):
6848 * objects.c (Fcolor_specifier_p):
6849 * objects.c (Ffont_specifier_p):
6850 * objects.c (Fface_boolean_specifier_p):
6851 doc strings moved to make-*-specifier.
6853 * redisplay.c (add_disp_table_entry_runes_1):
6854 * redisplay.c (generate_fstring_runes):
6855 * redisplay.c (screen):
6856 add random comments and doc strings.
6859 * specifier.c (Fmake_specifier):
6860 major overhaul of this doc string.
6862 * specifier.c (Fvalid_specifier_domain_p):
6863 comment about the bogosity of image instances being domains.
6864 * specifier.c (decode_domain):
6865 now non-static, used in glyphs.c.
6866 * specifier.c (specifier_instance):
6867 comment about the bogosity of image instances being domains.
6868 * specifier.c (Fgeneric_specifier_p):
6869 move doc string to make-generic-specifier.
6870 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6874 * specifier.h (DOMAIN_FRAME):
6875 * specifier.h (DOMAIN_LIVE_P):
6876 * specifier.h (DOMAIN_XDEVICE):
6878 add comments about problems with these macros.
6879 prototype for decode_domain.
6882 * toolbar.c (Ftoolbar_specifier_p):
6883 move doc string to `make-toolbar-specifier'.
6885 * window.c (window_unmap_subwindows_cache_mapper):
6886 *************************************************************
6887 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6889 *************************************************************
6891 2000-05-09 Andy Piper <andy@xemacs.org>
6893 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6895 * window.c (Fset_window_configuration): reset the frame subwindow
6896 cache and re-initialize the window subwindow caches.
6898 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6900 2000-05-09 Ben Wing <ben@xemacs.org>
6902 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6905 2000-04-26 Mike Woolley <mike@bulsara.com>
6907 * ntheap.c: Changed recreate_heap to limit the amount reserved
6908 for the heap to that which is actually available. Also now
6909 displays a message box (with some dignostics) in the event that
6910 it still can't start.
6912 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6914 * callproc.c (Fold_call_process_internal): GCPRO path
6916 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6918 Patch by Bill Perry.
6920 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6921 back data instead of #ifdef.
6922 (Fscrollbar_page_down): ditto.
6924 2000-05-07 Ben Wing <ben@xemacs.org>
6927 Kludge for defining Qmswindows_tstr.
6930 * nt.c (open_input_file):
6931 * nt.c (open_output_file):
6932 * nt.c (rva_to_section):
6933 * nt.c (mswindows_executable_type):
6934 Move all memory-mapped-file routines here (some were in unexnt.c,
6935 which is bad because they are used by process-nt.c, and unexnt
6936 won't be around when portable dumping). Synched the above routines
6940 Removed ifdef'd out bogus code.
6941 Fixed some prototypes.
6944 * nt.h (OFFSET_TO_RVA):
6945 * nt.h (RVA_TO_OFFSET):
6946 * nt.h (RVA_TO_PTR):
6947 Moved the memory-mapped-file structures, macros and prototypes
6948 here, to parallel nt.c. ntheap.h should really be removed
6949 entirely, and it's a non-portable-dumper specific file.
6951 * ntheap.h (round_to_next):
6952 Moved the memory-mapped-file structures, macros and prototypes
6955 * ntproc.c (compare_env):
6956 Moved rva_to_section and mswindows_executable_type to nt.c.
6957 Moved compare_env to process-nt.c.
6958 ntproc.c will die, one day.
6960 * ntproc.c (sys_spawnve):
6961 Account for win32_ -> mswindows_.
6964 * process-nt.c (struct nt_process_data):
6965 * process-nt.c (ensure_console_window_exists):
6966 * process-nt.c (compare_env):
6967 * process-nt.c (nt_create_process):
6968 * process-nt.c (nt_kill_process_by_pid):
6969 * process-nt.c (syms_of_process_nt):
6970 * process-nt.c (vars_of_process_nt):
6971 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
6972 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
6973 changes). Eliminate our old `nt-quote-process-args' mechanism.
6974 Synch up nt_create_process with FSF 20.6 sys_spawnve.
6975 Move compare_env here from ntproc.c.
6977 * process.c (Fprocess_send_region):
6978 Takes an optional fourth argument, BUFFER, which should fix some
6979 problems with call-process.
6982 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
6985 Move ICC_BAR_CLASSES to syscommctrl.h.
6986 Add preliminary macros for MSWindows/Mule. More to come.
6989 * unexnt.c (unexec):
6990 open_output_file moved to nt.c.
6993 2000-05-05 Andy Piper <andy@xemacs.org>
6995 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
6996 instance from the frame cache also since GC may catch up too late
6997 to make frame deletion sane.
6999 2000-05-04 Andy Piper <andy@xemacs.org>
7001 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7002 (x_finalize_image_instance): ungcpro on deletion.
7004 * glyphs.c (image_instantiator_format_create): give pointers a
7005 query geometry method so that the geometry is at least set.
7007 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7008 initialize layouts if using widgets.
7010 2000-05-03 Andy Piper <andy@xemacs.org>
7012 * nt.c: remove bogus reference to sysmmsystem.h
7014 * gui-x.c (popup_selection_callback): fix no selection abort.
7016 2000-05-02 Andy Piper <andy@xemacs.org>
7018 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7019 (mswindows_widget_instantiate): ditto.
7021 * glyphs-widget.c (initialize_widget_image_instance): initialize
7023 (widget_instantiate): cope with children and items in the same
7026 * glyphs.c (mark_image_instance): cope with children as a first
7028 (image_instance_equal): ditto.
7029 (image_instance_hash): ditto.
7030 (image_instance_changed): ditto.
7032 2000-04-30 Andy Piper <andy@xemacs.org>
7034 * glyphs.c (subwindow_query_geometry): new function. Return some
7036 (subwindow_instantiate): don't assign dimensions if none have been
7038 (image_instantiator_format_create): add subwindow_query_geometry.
7039 (print_image_instance): cope with layouts as widgets.
7041 2000-04-29 Andy Piper <andy@xemacs.org>
7043 * frame.c (delete_frame_internal): call
7044 free_frame_subwindow_instance_cache so that all subwindows are
7045 finalized before their parent.
7046 (mark_frame): remove subwindow_cachels.
7047 (Fmake_frame): remove subwindow_cachel manipulation.
7048 (allocate_frame_core): subwindow_instance_cache is a weak list.
7049 (delete_frame_internal): set subwindow_instance_cache to nil.
7051 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7053 (mswindows_finalize_image_instance): use the device
7054 not the domain as the domain may have died already.
7056 * glyphs-x.c (x_finalize_image_instance): ditto.
7057 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7060 * redisplay-output.c (redisplay_unmap_subwindows): update for
7061 subwindow instance cache as a weak list.
7062 (redisplay_unmap_subwindows_maybe): ditto.
7063 (redisplay_unmap_subwindows_except_us): ditto.
7065 * glyphs.c (unmap_subwindow): error checking will check the domain
7066 so don't deal with it here. Don't use cachels anymore.
7067 (map_subwindow): ditto.
7068 (update_subwindow_cachel_data): remove old accessor names.
7069 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7070 (Fresize_subwindow): don't update cachel.
7071 (mark_subwindow_cachels):
7072 (update_subwindow_cachel_data):
7073 (add_subwindow_cachel):
7074 (get_subwindow_cachel_index):
7075 (update_subwindow_cachel):
7076 (reset_subwindow_cachels):
7077 (mark_subwindow_cachels_as_not_updated): deleted.
7078 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7079 subwindow instance to the frame cache.
7080 (find_matching_subwindow): update for subwindow instance cache as
7082 (update_widget_instances): ditto.
7083 (image_instance_type_to_mask):inlined.
7084 (free_frame_subwindow_instance_cache): new function. finalize all
7085 subwindows that are instantiated.
7087 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7088 of cachel information.
7089 (IMAGE_INSTANCE_DISPLAY_X):
7090 (IMAGE_INSTANCE_DISPLAY_Y):
7091 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7092 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7093 (XIMAGE_INSTANCE_DISPLAY_X):
7094 (XIMAGE_INSTANCE_DISPLAY_Y):
7095 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7096 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7097 remove subwindow_cachel structure and function references.
7098 (image_instance_type_to_mask): inline from glyphs.c
7100 * redisplay.c (redisplay_frame): remove subwindow_cachel
7103 * frame.h (struct frame): remove subwindow_cachels.
7104 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7106 * frameslots.h: add subwindow_instance_cache.
7108 * window.c (replace_window): check subwindow cache of replacement.
7109 (window_unmap_subwindows_cache_mapper):
7110 (window_unmap_subwindows): new functions. Unmap all subwindows
7111 cached on this window.
7112 (mark_window_as_deleted): unmap all subwindows.
7114 2000-04-27 Andy Piper <andy@xemacs.org>
7116 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7118 * glyphs-widget.c (widget_layout): return something.
7119 (layout_layout): return something. Fail if not initialized.
7120 (layout_query_geometry): ditto.
7121 (image_instantiator_native_layout): new function. Initialized the
7123 (widget_instantiate): don't do layout stuff here.
7125 * glyphs.c (instantiate_image_instantiator): reorded calling or
7126 instantiate and post_instantiate with layout in between.
7127 (image_instance_layout): be more selective about deciding whether
7128 the layout has been done or not.
7130 * glyphs.h (struct image_instantiator_methods): return a value
7133 2000-04-26 Andy Piper <andy@xemacs.org>
7135 * glyphs.c (allocate_image_instance): make initial width and
7136 height unspecified. Set initialized to 0.
7138 * syscommctrl.h new file. Encapsulates commctrl.h.
7140 * syswindows.h new file. Encapsulates windows.h.
7142 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7144 * console-msw.h: ditto.
7146 * redisplay-tty.c (tty_output_display_block): remove layout references.
7148 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7149 window handle rather than just the frame.
7151 * glyphs.c (mark_image_instance): remove layout references.
7152 (print_image_instance): ditto.
7153 (image_instance_equal): ditto.
7154 (image_instance_hash): ditto.
7155 (decode_image_instance_type): ditto.
7156 (encode_image_instance_type): ditto.
7157 (image_instantiate): ditto.
7158 (allocate_glyph): ditto.
7159 (Fimage_instance_height): ditto.
7160 (Fimage_instance_width): ditto.
7161 (update_subwindow): ditto.
7163 * redisplay-x.c (x_output_display_block): recode for layouts as
7166 * redisplay-output.c (redisplay_output_layout): recode for layouts
7168 (compare_runes): remove layout references.
7170 * redisplay-msw.c (mswindows_output_display_block): recode for
7173 * glyphs-widget.c (image_instantiator_layout): remove
7174 layout_possible_dest_types.
7175 (layout_possible_dest_types): deleted.
7177 * glyphs.h (image_instance_type): remove layout references.
7178 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7179 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7180 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7182 2000-04-25 Andy Piper <andy@xemacs.org>
7184 * glyphs-widget.c (image_instantiator_buttons):
7185 (image_instantiator_edit_fields):
7186 (image_instantiator_combo_box):
7187 (image_instantiator_scrollbar):
7188 (image_instantiator_progress_guage):
7189 (image_instantiator_tree_view):
7190 (image_instantiator_tab_control):
7191 (image_instantiator_labels):
7192 (image_instantiator_layout): call default post_instantiate method.
7193 (widget_post_instantiate): new function. Simply lays out the
7196 * glyphs.h (struct image_instantiator_methods): add
7197 post_instantiate method.
7199 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7202 2000-04-23 Andy Piper <andy@xemacs.org>
7204 * glyphs.h (struct image_instantiator_methods): add
7205 decode_domain_method.
7206 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7207 derived from the domain.
7208 (IMAGE_INSTANCE_FRAME): new accessor.
7209 (XIMAGE_INSTANCE_FRAME): ditto.
7211 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7212 instead of _SUBWINDOW_FRAME.
7213 (finalize_image_instance): ditto.
7214 (Fimage_instance_foreground): ditto.
7215 (Fimage_instance_background): ditto.
7216 (image_instantiate): ditto.
7217 (update_subwindow_cachel): ditto.
7218 (update_subwindow): ditto.
7219 (unmap_subwindow): ditto.
7220 (map_subwindow): ditto
7221 (subwindow_instantiate): ditto.
7222 * glyphs-msw.c (mswindows_update_widget): ditto.
7223 (mswindows_progress_gauge_instantiate): ditto.
7224 (mswindows_tab_control_update): ditto.
7225 * glyphs-x.c (x_update_widget): ditto.
7226 (x_widget_instantiate): ditto.
7227 (x_tab_control_instantiate): ditto.
7228 (x_tab_control_update): ditto.
7229 * event-msw.c (mswindows_wnd_proc): ditto
7231 * glyphs-widget.c (image_instantiator_layout): use
7232 subwindow_decode_domain.
7233 (image_instantiator_buttons): ditto.
7234 (image_instantiator_edit_fields): ditto.
7235 (image_instantiator_combo_box): ditto.
7236 (image_instantiator_scrollbar): ditto.
7237 (image_instantiator_progress_guage): ditto.
7238 (image_instantiator_tree_view): ditto.
7239 (image_instantiator_tab_control): ditto.
7240 (image_instantiator_labels): ditto.
7241 (image_instantiator_layout): ditto.
7243 * glyphs.c: add instance error checking to many functions.
7244 (instantiate_image_instantiator): decode device from cache_domain.
7245 (image_instantiate): partially rewrite by using
7246 decode_image_instantiator_domain to determine what domain the
7247 instance needs to be cached in.
7248 (decode_image_instantiator_domain): new function. Determine what
7249 domain the image needs to be cached in.
7250 (check_window_subwindow_cache): new error checking function.
7251 (check_instance_cache_mapper): ditto.
7252 (check_image_instance_structure): ditto.
7253 (subwindow_decode_domain): new function. Encodes a window as a
7254 subwindow's cache domain.
7255 (image_instantiator_format_create): use it for text and
7258 2000-04-21 Andy Piper <andy@xemacs.org>
7260 * glyphs.c (image_instance_device): new function.
7261 (image_instance_frame): new function.
7262 (image_instance_window): new function.
7263 (image_instance_live_p): new function.
7265 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7268 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7269 (IMAGE_INSTANCE_DOMAIN): new accessor.
7270 (XIMAGE_INSTANCE_DOMAIN): ditto.
7272 * glyphs-x.c (x_finalize_image_instance): device->domain.
7274 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7275 (mswindows_finalize_image_instance): ditto.
7277 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7278 (gif_instantiate): ditto.
7279 (png_instantiate): ditto.
7280 (tiff_instantiate): ditto.
7282 * glyphs.c (instantiate_image_instantiator): use domain rather
7284 (mark_image_instance): device -> domain.
7285 (print_image_instance): ditto.
7286 (finalize_image_instance): ditto.
7287 (image_instance_equal): ditto.
7288 (allocate_image_instance): ditto.
7289 (Fcolorize_image_instance): ditto.
7290 (query_string_geometry): ditto.
7291 (image_instantiate): ditto
7292 (query_string_font): ditto.
7293 (image_instantiate): ditto.
7294 (update_subwindow): ditto.
7295 (unmap_subwindow): ditto.
7296 (map_subwindow): ditto.
7297 (subwindow_instantiate): ditto.
7299 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7300 (DOMAIN_FRAME): ditto.
7301 (DOMAIN_WINDOW): ditto.
7302 (DOMAIN_LIVE_P): ditto.
7303 (XDOMAIN_DEVICE): ditto.
7304 (XDOMAIN_FRAME): ditto.
7305 (XDOMAIN_WINDOW): ditto.
7307 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7308 a valid specifier domain.
7310 2000-04-19 Andy Piper <andy@xemacs.org>
7312 * glyphs-widget.c (syms_of_glyphs_widget): remove
7313 widget-callback-current-channel.
7314 (vars_of_glyphs_widget): ditto.
7317 * gui.c (get_gui_callback): revert to previous behaviour.
7319 2000-04-18 Andy Piper <andy@xemacs.org>
7321 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7322 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7323 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7325 * glyphs.c (image_instance_equal): add margin_width.
7326 (image_instance_hash): ditto.
7328 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7329 (layout_query_geometry): ditto.
7330 (layout_layout): ditto.
7331 (syms_of_glyphs_widget): add margin-width.
7332 (image_instantiator_layout): allow margin-width.
7334 * glyphs.c (update_widget_instances): make a normal function.
7335 (syms_of_glyphs): remove Qupdate_widget_instances.
7338 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7339 so that we don't corrupt ideas about the last event or
7340 command. Remove widget-callback-current-channel fiddling.
7341 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7343 2000-05-01 Martin Buchholz <martin@xemacs.org>
7345 * XEmacs 21.2.33 is released.
7347 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7349 * make-src-depend: Allow dots in header file name.
7351 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7353 * mule-charset.h (struct charset_lookup): Add
7354 next_allocated_1_byte_leading_byte and
7355 next_allocated_2_byte_leading_byte.
7356 * mule-charset.c: Move above two variables so that those values
7359 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7361 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7362 when string length is zero.
7363 (find_charsets_in_emchar_string): Ditto.
7365 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7367 * lisp.h: extern Qdialog and Qmenubar.
7369 * gui-x.c: added events.h.
7370 also fixed typo which made the file uncompilable.
7372 * general.c: Added Qmenubar and Qdialog
7374 2000-04-28 Ben Wing <ben@xemacs.org>
7376 * frame-msw.c (mswindows_init_frame_1):
7377 * frame-msw.c (mswindows_mark_frame):
7378 * event-msw.c (mswindows_enqueue_dispatch_event):
7380 * console-msw.h (struct mswindows_frame):
7381 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7382 there are now three hash tables for callbacks.
7383 mswindows_enqueue_dispatch_event is no longer static.
7385 * dialog-x.c (maybe_run_dbox_text_callback):
7386 * dialog-x.c (dbox_descriptor_to_widget_value):
7387 switch to new cons3 form for callbacks.
7389 * glyphs-msw.c (mswindows_register_gui_item):
7390 * glyphs-msw.c (mswindows_widget_instantiate):
7391 * glyphs-msw.c (add_tree_item):
7392 * glyphs-msw.c (add_tab_item):
7393 new image instance parameter, so it can be passed to callback-ex.
7394 respect :callback-ex as well as :callback.
7396 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7399 * glyphs.c (print_image_instance):
7400 prettify, e.g. now prints widget type.
7403 certain funs have new image instance parameter.
7406 * gui.c (get_gui_callback):
7407 * gui.c (gui_item_add_keyval_pair):
7408 * gui.c (gui_item_init):
7409 * gui.c (gui_add_item_keywords_to_plist):
7410 * gui.c (mark_gui_item):
7411 * gui.c (gui_item_hash):
7412 * gui.c (gui_item_equal):
7413 * gui.c (copy_gui_item):
7414 * gui.c (syms_of_gui):
7415 recognize callback-ex in a number of places.
7416 also, fix the annoying "can't get out of yes-no dialog" bug.
7419 * gui.h (struct Lisp_Gui_Item):
7420 recognize callback-ex in a number of places.
7422 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7423 new parameter in button_item_to_widget_value.
7425 * glyphs-x.c (x_update_widget):
7426 * glyphs-x.c (x_button_instantiate):
7427 * glyphs-x.c (x_button_update):
7428 * glyphs-x.c (x_progress_gauge_instantiate):
7429 * glyphs-x.c (x_edit_field_instantiate):
7430 * glyphs-x.c (x_combo_box_instantiate):
7431 * glyphs-x.c (x_tab_control_instantiate):
7432 * glyphs-x.c (x_label_instantiate):
7433 new image instance parameter in various places.
7436 * event-Xt.c (enqueue_Xt_dispatch_event):
7437 this fun gets exported.
7440 * gui-msw.c (mswindows_handle_gui_wm_command):
7441 handle both :callback and :callback-ex, and generate our own
7442 event because it's one of the callback-ex arguments.
7445 * gui-x.c (popup_selection_callback):
7446 handle both :callback and :callback-ex, and generate our own
7447 event because it's one of the callback-ex arguments.
7448 * gui-x.c (button_item_to_widget_value):
7449 * gui-x.c (gui_items_to_widget_values_1):
7450 * gui-x.c (gui_item_children_to_widget_values):
7451 * gui-x.c (gui_items_to_widget_values):
7452 new image instance parameter in various places.
7454 * fns.c (Freplace_list):
7455 fix small typo in doc string.
7458 declare enqueue_Xt_dispatch_event.
7460 2000-04-28 Ben Wing <ben@xemacs.org>
7463 * buffer.c (Frecord_buffer):
7464 * buffer.c (syms_of_buffer):
7465 delete record-buffer-hook.
7468 * fns.c (Freplace_list):
7469 * fns.c (syms_of_fns):
7470 new primitive replace-list.
7473 slot for old buffer-alist.
7479 * redisplay.c (redisplay_frame):
7480 * redisplay.c (syms_of_redisplay):
7481 * redisplay.c (vars_of_redisplay):
7482 new hook buffer-list-changed-hook.
7485 2000-04-27 Ben Wing <ben@xemacs.org>
7487 * extents.h: extern in_modeline_generation.
7489 * redisplay.c (generate_formatted_string_db): set
7490 in_modeline_generation.
7492 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7493 flags if in modeline generation. otherwise frame-modified-tick
7494 is ticked far too often.
7495 Declare in_modeline_generation.
7497 2000-04-26 Ben Wing <ben@xemacs.org>
7499 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7501 (vars_of_emacs): add quick-build as an error-checking option.
7502 A bit kludgy, but there doesn't seem much point in creating
7503 a real var for this.
7505 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7507 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7509 * redisplay.h (struct display_line): Add a new variable,
7512 * redisplay.c (create_text_block): Set dl->line_continuation if
7514 (create_string_text_block): Ditto.
7515 (regenerate_window_incrementally): Use line_continuation instead
7516 of searching continuation glyph.
7517 (add_margin_runes): Call add_glyph_rune.
7518 (add_glyph_rune): Handle margin glyph.
7520 2000-04-20 Martin Buchholz <martin@xemacs.org>
7522 * filelock.c (fill_in_lock_file_name):
7524 Check for IS_ANY_SEP instead of '/'.
7526 Avoid generating gratuitous garbage. Call user_login_name() directly.
7527 Never check errno without first seeing that system call failed.
7528 (unlock_file): Add GCPRO.
7529 (Flock_buffer): Fix docstring.
7530 (Ffile_locked_p): Fix docstring. Add GCPRO.
7532 2000-04-19 Martin Buchholz <martin@xemacs.org>
7534 * sysdep.c (get_pty_max_bytes):
7535 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7536 strings longer than 252 bytes.
7538 * md5.c: Unconditionally include ANSI header <limits.h>
7540 * glyphs-x.c (convert_EImage_to_XImage):
7541 * lisp-union.h (union Lisp_Object):
7542 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7544 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7546 * filelock.c (current_lock_owner): Remove unused variable o, p.
7548 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7550 * callint.c: Remove multiply defined symbol Qlet
7551 (syms_of_callint): ditto.
7553 2000-04-14 Andy Piper <andy@xemacs.org>
7555 * general.c (syms_of_general): add last-command, this-command, let
7558 * lisp.h: declare various symbols.
7560 * glyphs.h: declare Qwidget_callback_current_channel;
7562 * glyphs-widget.c (syms_of_glyphs_widget): add
7563 Qgui_callback_current_channel.
7564 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7566 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7567 widget-callback-current-channel when invoking the interactive
7568 arg. Also bind last-command and next-command when invoking the
7570 * gui-x.c (popup_selection_callback): ditto.
7572 * gui.c (get_gui_callback): massage args so that we are always
7573 calling eval. This allows us to add our own variable bindings
7576 * glyphs-x.c (x_button_instantiate): use
7577 gui_items_to_widget_values since this is GC safe.
7578 (x_progress_gauge_instantiate): ditto.
7579 (x_edit_field_instantiate): ditto.
7580 (x_label_instantiate): ditto.
7582 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7583 (emacs_Xt_event_widget_focus_out): new function
7584 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7586 (emacs_Xt_event_add_widget_actions): new function. add focus
7587 functions as actions.
7588 (init_event_Xt_late): use it.
7590 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7592 * event-stream.c (Fdispatch_event): Doc fix.
7594 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7596 * postgresql.c: Remove all references to PQsetenv*.
7598 * postgresql.h: Remove references to PGsetenvHandler object.
7599 * lrecord.h (lrecord_type): Ditto.
7601 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7603 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7604 real_heigh and real_width members, and accessor macros for these.
7606 * glyphs-msw.c (init_image_instance_geometry): New function.
7607 (init_image_instance_from_dibitmap): Use it.
7608 (mswindows_resource_instantiate): Use it.
7609 (init_image_instance_from_xbm_inline): Use it.
7610 (mswindows_initialize_image_instance_mask): Use real bitmap
7612 (mswindows_create_resized_bitmap): Ditto.
7613 (mswindows_create_resized_mask): Ditto.
7615 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7616 and bitmap to their surface size.
7618 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7620 * process-unix.c (unix_send_process): Guard against process MIA
7621 after Faccept_process_output.
7623 2000-04-11 Ben Wing <ben@xemacs.org>
7625 * eval.c (unbind_to_hairy): fix brokenness introduced by
7626 nanosecond speed improvements.
7628 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7630 * sunplay.c (init_device): To play sounds correctly, the device
7631 apparently needs to be initialized at least once by XEmacs. Make
7634 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7636 * redisplay.c (add_margin_runes): Add text image glyph
7639 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7641 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7642 gcc is newer than 2.5.
7644 2000-04-06 Colin Rafferty <colin@xemacs.org>
7646 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7648 * fns.c (size_bit_vector):
7649 * alloc.c (size_vector):
7650 (make_vector_internal):
7651 (make_bit_vector_internal):
7652 (sweep_bit_vectors_1):
7653 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7655 2000-04-06 Andy Piper <andy@xemacs.org>
7657 * gmalloc.c (malloc): undo previous change.
7662 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7664 * line-number.c (buffer_line_number): Revert to former version.
7666 2000-04-06 Andy Piper <andy@xemacs.org>
7668 * gmalloc.c (malloc): add error checking.
7673 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7674 button_item_to_widget_value arg.
7676 * glyphs-x.c (x_button_instantiate): add extra
7677 button_item_to_widget_value arg.
7678 (x_progress_gauge_instantiate): ditto.
7679 (x_edit_field_instantiate): ditto.
7680 (x_label_instantiate): ditto.
7682 * gui-x.c (gui_items_to_widget_values_1): add extra
7683 button_item_to_widget_value arg.
7684 (button_item_to_widget_value): add extra menu_item_p arg.
7686 * gui-x.h: change signature of button_item_to_widget_value.
7688 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7689 button_item_to_widget_value arg.
7691 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7693 * buffer.h (struct buffer): auto_save_modified should be long.
7695 2000-04-05 Andy Piper <andy@xemacs.org>
7697 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7699 (button_query_geometry): give a little more room so that athena
7702 2000-04-05 Andy Piper <andy@xemacs.org>
7704 * faces.c (complex_vars_of_faces): The widget face should inherit
7705 the font of the gui-element face.
7707 2000-04-04 Andy Piper <andy@xemacs.org>
7709 * glyphs-x.c (x_button_update): new function. unconditionally
7710 update a button's state when the instance is dirty.
7711 (image_instantiator_format_create_glyphs_x): add x_button_update.
7712 (x_widget_instantiate): remove old resize cruft.
7714 2000-04-02 Andy Piper <andy@xemacs.org>
7716 * frame.c (change_frame_size_1): The introduction of gutters means
7717 that we need to allow 0 as a potential frame dimension.
7719 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7721 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7722 image glyph if allow_cursor.
7723 (add_hscroll_rune): Don't allow cursor to border glyph.
7724 (create_text_block): Ditto.
7726 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7728 (redisplay_output_layout): Call ensure_face_cachel_complete for
7732 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7734 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7736 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7739 * redisplay-tty.c (tty_output_display_block): Delete the routine
7740 for text image glyph
7741 * redisplay-x.c (x_output_display_block): ditto
7742 * redisplay-msw.c (mswindows_output_display_block): ditto
7744 2000-02-02 Mike Alexander <mta@arbortext.com>
7746 Note: Some of these were committed by accident as part of other
7749 * regex.c (regex_compile): Avoid compiler warnings.
7751 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7753 * nt.h: Declare term_ntproc correctly.
7755 * nt.c: Remove incorrect declaration of get_home_directory which
7756 is declared correctly in lisp.h.
7758 * keymap.c (get_keyelt): Avoid compiler warnings.
7759 (raw_lookup_key_mapper): Avoid compiler warnings.
7761 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7763 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7765 * filemode.c (mode_string): Avoid compiler warnings.
7767 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7770 * events-mod.h: Undef some things that winuser.h defines differently.
7772 * data.c (Faset): Avoid compiler warnings.
7774 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7776 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7778 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7779 Fall through to simple beep on error.
7780 Replace "extern" by real header file.
7782 * linuxplay.c: Use nativesound.h
7783 (play_sound_data): Return error code. Be less verbose on error.
7785 * sunplay.c: Use nativesound.h
7786 (play_sound_data): Return error code. Be less verbose on error.
7788 * ntplay.c: Use nativesound.h
7789 (play_sound_data): Return fake error code
7791 * sgiplay.c: Use nativesound.h
7792 (play_sound_data): Return error code
7794 * hpplay.c: Use nativesound.h, partially implement
7795 new error code. Break compilation until finished.
7796 (play_sound_data): error code.
7798 * nativesound.h (play_sound_file):
7799 (play_sound_data): Prototype in new header.
7801 2000-03-31 Andy Piper <andy@xemacs.org>
7803 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7804 for toggle and radio buttons.
7805 (image_instantiator_buttons): use it.
7807 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7809 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7810 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7811 found. Scrollbar event probably belonged to some old config.
7813 2000-03-31 Andy Piper <andy@xemacs.org>
7815 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7817 (initialize_widget_image_instance): default layout to
7818 LAYOUT_HORIZONTAL rather than 0.
7819 (widget_instantiate): reverse the item list at the end rather than
7821 (layout_layout): re-code for the border text at the front of the
7822 item list rather than at the end.
7823 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7824 provided by the user.
7825 (widget_query_geometry): comment.
7827 2000-03-30 Andy Piper <andy@xemacs.org>
7829 * glyphs-widget.c (image_instantiator_layout): allow standard
7830 widget keywords in layouts.
7832 * gutter.c (output_gutter): cope with nil gutter contents.
7834 * frame.c (Fset_frame_properties): add gutter docs.
7836 2000-03-29 Andy Piper <andy@xemacs.org>
7838 * toolbar-msw.c (TBSTYLE_FLAT): add.
7839 (mswindows_output_toolbar): minor fiddling.
7841 2000-03-29 Andy Piper <andy@xemacs.org>
7843 * gutter.c (output_gutter): force gutter size recalculation if
7844 what we are trying to display won't fit.
7845 (update_gutter_geometry): new function. A per-gutter version of
7846 update_frame_gutter_geometry.
7847 (update_frame_gutter_geometry): use it.
7848 (redraw_exposed_gutter): add extra debugging output.
7850 2000-03-28 Mike Alexander <mta@arbortext.com>
7852 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7853 (pdump_file_unmap): Implement it on Windows
7854 (pdump_file_get): Save alocated handles for pdump_file_unmap
7856 2000-03-28 Andy Piper <andy@xemacs.org>
7858 * gui.c (get_gui_callback): treat Quit specially.
7860 2000-03-27 Andy Piper <andy@xemacs.org>
7862 * glyphs.c (image_instantiate): be careful to check in the same
7865 2000-03-27 Didier Verna <didier@xemacs.org>
7867 * config.h.in: define the proper SMART_INCLUDE macro.
7868 handle renaming of `foo_h_path' to `foo_h_file'.
7870 * database.c: ditto.
7874 * linuxplay.c: ditto.
7876 * terminfo.c: ditto.
7878 * tooltalk.h: ditto.
7880 2000-03-27 Andy Piper <andy@xemacs.org>
7882 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7883 gets updated whenever the face might have changed.
7885 2000-03-26 Mike Alexander <mta@arbortext.com>
7887 * dumper.c (pdump_resource_free): Fix the comment.
7889 2000-03-21 Olivier Galibert <galibert@pobox.com>
7891 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7893 2000-03-22 Mike Alexander <mta@arbortext.com>
7895 * dumper.c: Include Windows headers on Windows
7896 (pdump_resource_free): Add a body to the function
7897 (pdump_load): exe_name -> exe_path and add some comments.
7899 2000-03-25 Mike Alexander <mta@arbortext.com>
7901 * gui.c (copy_gui_item_tree): Return a value in all cases
7903 2000-03-21 Didier Verna <didier@xemacs.org>
7905 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7907 (SMART_INCLUDE): new macro.
7908 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7909 the proper location.
7911 * postgresql.c: use it.
7915 2000-03-24 Andy Piper <andy@xemacs.org>
7917 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7920 2000-03-24 Andy Piper <andy@xemacs.org>
7922 * redisplay-output.c (compare_runes): use image_instance_changed
7923 to detect changes. Do not depend on glyphs_changed, only depend on
7925 (redisplay_output_layout): add debug messages.
7926 (compare_runes): ditto.
7928 * glyphs.h: declare new functions.
7929 (struct Lisp_Image_Instance): remove percent and associated
7932 * gui.h: declare new copying functions.
7934 * gui.c (copy_gui_item_tree): new function.
7935 (copy_gui_item): new function.
7936 (gui_item_id_hash): revert to standard hash.
7937 (gui_item_hash): ditto.
7938 (gui_item_hash_internal): deleted.
7939 (mark_gui_item): mark value.
7940 (gui_item_add_keyval_pair): add value.
7941 (gui_item_init): ditto.
7942 (gui_add_item_keywords_to_plist): ditto.
7943 (gui_item_equal): ditto.
7944 (syms_of_gui): add Q_value.
7946 * glyphs-x.c (x_progress_gauge_update): use pending items and
7947 value for setting the state.
7948 (x_update_widget): don't set items from pending here.
7950 * glyphs-widget.c (update_widget): update items here.
7951 (progress_gauge_set_property): use items for storing value. Put
7952 new value in pending items.
7954 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
7955 items for new value. Convert percent -> value.
7956 (mswindows_tab_control_update): don't update items here.
7958 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
7959 (update_subwindow): ditto.
7960 (image_instance_changed): new function. Compare hash values and
7961 past and present widget items.
7962 (image_instantiate): We more careful about where we instantiate
7964 (image_instantiate): add error checking.
7966 * gutter.c (syms_of_gutter): use -hook.
7968 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
7970 * console-tty.c (Fset_console_tty_input_coding_system): Use
7972 (Fset_console_tty_output_coding_system): Use Qterminal.
7973 (tty_init_console): Use Qkeyboard and Qterminal.
7975 2000-03-21 Ben Wing <ben@xemacs.org>
7977 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
7978 From Mike Alexander <mta@arbortext.com>.
7980 2000-03-21 Ben Wing <ben@xemacs.org>
7982 * event-msw.c (mswindows_need_event): Horrible kludge to fix
7983 process brokenness. Proper implementation to come.
7985 Rename call-process-internal to old-call-process-internal.
7986 New impl. in process.el.
7988 2000-03-21 Martin Buchholz <martin@xemacs.org>
7990 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
7992 2000-03-20 Andy Piper <andy@xemacs.org>
7994 * glyphs.c (full_list_hash): make hashes of the same elements in
7995 different orders return different values.
7997 2000-03-20 Martin Buchholz <martin@xemacs.org>
7999 * XEmacs 21.2.32 is released.
8001 2000-03-20 Martin Buchholz <martin@xemacs.org>
8003 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8004 (DFC_MALLOC_USE_CONVERTED_DATA):
8005 Add aliasing-safe casts to allow use with char* or unsigned char*
8008 * eldap.c (Fldap_open):
8009 (Fldap_search_basic):
8012 Make C++-compilable.
8013 Make sure GCPRO'ed variables are initialized.
8014 Use temp variables to avoid repeated calls to Flength.
8016 2000-03-16 Martin Buchholz <martin@xemacs.org>
8019 Make sure PATH_MAX is always defined.
8020 Include limits.h for PATH_MAX.
8021 Deprecate use of MAXPATHLEN.
8023 2000-03-10 Martin Buchholz <martin@xemacs.org>
8025 * emacs.c: Add reinit_vars_of_fileio.
8026 * symsinit.h: Add reinit_vars_of_fileio.
8027 * fileio.c (reinit_vars_of_fileio): New.
8028 * fileio.c (Fmake_temp_name):
8029 Initialize temp_name random number from microseconds to make
8030 collisions even less likely. Initialize always at process startup
8031 time. (make-temp-name) used to return the same file name twice in
8033 Random stylistic fiddling.
8036 2000-03-20 Andy Piper <andy@xemacs.org>
8038 * glyphs.c (image_instantiate): allow text glyphs to be
8039 instantiated in the minibuffer window.
8041 2000-03-19 Andy Piper <andy@xemacs.org>
8043 * glyphs.c (image_instance_hash): be careful about which items we
8046 * glyphs-widget.c (tab_control_set_property): record into pending
8047 items rather than the actual items.
8049 * glyphs-x.c (x_update_widget): use pending items to update with.
8051 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8054 * glyphs.c (mark_image_instance): mark pending items.
8056 * window.c (Fset_window_configuration): record the buffer.
8057 (Fselect_window): totally revert previous change which breaks many
8060 2000-03-18 Andy Piper <andy@xemacs.org>
8062 * glyphs-msw.c (mswindows_tab_control_update): force selected
8065 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8066 window domain cache, otherwise we get inconsistencies at
8067 startup. There is something fishy at startup which can lead to the
8068 minibuffer being the selected window when the gutter content is
8071 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8073 (parse_gui_item_tree_children): ditto.
8074 (parse_gui_item_tree_item): ditto.
8076 * glyphs.c (Fupdate_widget_instances): return something.
8078 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8080 * window.c (Fselect_window): Undo 2000-03-17 change.
8082 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8084 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8085 against v7.0 libraries. Insta-coredump city until the postgres
8088 2000-03-17 Andy Piper <andy@xemacs.org>
8090 * faces.c (complex_vars_of_faces): don't give the widget face an
8091 inherited background pixmap.
8093 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8096 * event-stream.c (Fdispatch_non_command_events): return something.
8098 * gutter.c (output_gutter): use widget face.
8099 (clear_gutter): ditto.
8101 * NEWS: adjust again.
8103 * window.c (Fselect_window): make sure this runs to completion to
8104 avoid oddities with Fset_window_configuration.
8105 (Fcurrent_window_configuration): in general do not save the
8106 minibuffer as the selected window.
8108 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8110 2000-03-16 Olivier Galibert <galibert@pobox.com>
8112 * emacs.c (Frunning_temacs_p): Revert previous patch.
8113 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8115 2000-03-16 Andy Piper <andy@xemacs.org>
8117 * glyphs-x.c (x_tab_control_update): if no widget values then
8120 * NEWS: update for new features.
8122 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8123 synthetic event to the native system.
8124 (reinit_vars_of_event_Xt): set force_event_pending to
8125 emacs_Xt_force_event_pending.
8127 * events.h (struct event_stream): add force_event_pending.
8129 * specifier.c (recompute_one_cached_specifier_in_window): add
8132 * redisplay.c (redisplay_frame): don't call
8133 update_frame_subwindows. Reset subwindow cachels when
8134 subwindows_changed, removing this was an optimization too far.
8136 * redisplay-output.c (compare_runes): reorganize so that we catch
8137 glyph changes when we want them. Set optimize_output when this
8139 (redisplay_output_layout): remove frame_really_changed, use
8140 optimize_output instead.
8142 * redisplay-msw.c (mswindows_output_display_block): reset
8143 optimize_output after outputting a glyph.
8144 * redisplay-x.c (x_output_display_block): ditto.
8145 * redisplay-tty.c (tty_output_display_block): ditto.
8147 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8149 (gutter_specs_changed): do specific gutter positions.
8150 (top_gutter_specs_changed): new function. Only update the
8151 specified gutter specs.
8152 (bottom_gutter_specs_changed): ditto.
8153 (left_gutter_specs_changed): ditto.
8154 (right_gutter_specs_changed): ditto.
8156 * gui.c (gui_item_hash_internal): new function, does a real hash.
8157 (gui_item_id_hash): use it.
8158 (gui_item_hash): hash the eval'ed gui_item.
8160 * gui-x.c (popup_selection_callback): send an eval event to call
8161 Fupdate_widget_instances.
8163 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8164 to call Fupdate_widget_instances.
8166 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8167 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8169 * glyphs.c: (update_frame_subwindows): deleted.
8170 (Fupdate_widget_instances): new function for updating the dirty
8171 state of widgets that might have changed.
8172 (syms_of_glyphs): add Qupdate_widget_instances.
8173 (full_list_hash): hash a list completely.
8174 (image_instance_hash): use it for items and properties.
8176 * frame-msw.c (mswindows_size_frame_internal): remove unused
8179 * faces.h (struct face_cachel): fix comment.
8181 * event-stream.c (Fdispatch_non_command_events): new
8182 function. Process non-command events, forcing an event cycle
8184 (syms_of_event_stream): declare.
8185 (event_stream_force_event_pending): new function. Force an event
8186 on the native event queue so that an event cycle will occur next
8190 (struct ntpipe_shove_stream):
8191 (mswindows_enqueue_dispatch_event):
8192 (mswindows_dequeue_dispatch_event):
8193 (mswindows_cancel_dispatch_event):
8194 (mswindows_pump_outstanding_events):
8195 (mswindows_drain_windows_queue):
8196 (mswindows_handle_paint):
8197 (mswindows_wnd_proc):
8198 (mswindows_key_to_emacs_keysym):
8199 (get_process_input_waitable):
8200 (emacs_mswindows_delete_stream_pair): re-indent file.
8201 (mswindows_need_event): do not process further fds if the windows
8202 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8203 fixes the 100% cpu problem.
8204 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8206 2000-03-15 Olivier Galibert <galibert@pobox.com>
8212 * emacs.c: Moved dump file searching to dumper.c.
8213 (Frunning_temacs_p): Fixed.
8215 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8216 last_lrecord_type_index_assigned.
8218 2000-02-20 Olivier Galibert <galibert@pobox.com>
8220 * symsinit.h: Added reinit parameter to init_console_stream
8223 * lisp.h: Added file parameter to pdump_load declaration.
8225 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8226 support. Added dump file searching.
8228 * config.h.in: Added EMACS_PROGNAME.
8230 * console-stream.c (init_console_stream): Fix reinitialisation
8231 when running from temacs.
8233 * alloc.c (pdump): Add id support.
8234 (pdump_load): Add file parameter and signature/id support.
8236 * Makefile.in.in: Add full pdump support.
8238 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8240 * postgresql.c: Update documentation to reflect latest code
8242 (print_result): Show tuple counts in printed representation when
8244 (Fpq_put_nbytes): MULE-ize.
8245 (Fpq_get_line_async): Ditto.
8247 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8249 * postgresql.c (Fpq_lo_import): Fix return value.
8250 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8252 2000-03-13 Ben Wing <ben@xemacs.org>
8254 * alloc.c (pdump_load):
8255 Fix compile warning under mswin.
8257 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8259 * postgresql.c: Mule-ization, bug fixes.
8260 Use PG_CODING to encapsulate coding system name changes.
8261 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8262 (pg-coding-system): Create.
8264 (Fpq_conn_defaults): Mule-ize.
8265 (Fpq_connectdb): Mule-ize & bug fix.
8266 (Fpq_connect_start): Mule-ize.
8267 (Fpq_set_client_encoding): Mule-ize.
8268 (Fpq_finish): Document `DEAD' connection status.
8270 (Fpq_pgconn): Mule-ize.
8271 (Fpq_exec): Mule-ize & bug fix.
8272 (Fpq_send_query): Ditto.
8273 (Fpq_get_result): Ditto.
8274 (Fpq_res_status): Mule-ize.
8275 (Fpq_result_error_message): Mule-ize.
8276 (Fpq_ntuples): fix comments.
8277 (Fpq_fname): Mule-ize.
8278 (Fpq_fnumber): Mule-ize.
8279 (Fpq_ftype): fix comments.
8280 (Fpq_get_value): Mule-ize.
8281 (Fpq_cmd_status): Ditto.
8282 (Fpq_cmd_tuples): Ditto.
8283 (Fpq_oid_value): Ditto.
8284 (Fpq_notifies): Ditto.
8285 (Fpq_lo_import): Ditto.
8286 (Fpq_lo_export): Ditto.
8287 (Fpq_get_line): Ditto.
8288 (Fpq_put_line): Mule-ize and bug fix.
8289 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8291 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8293 * postgresql.c (vars_of_postgresql): Mule-ize.
8294 (Fpq_conn_defaults): Ditto.
8296 2000-03-12 Ben Wing <ben@xemacs.org>
8298 * alloc.c (Fmake_byte_code):
8299 * alloc.c (debug_string_purity_print):
8300 * alloc.c (pdump_backtrace):
8301 * alloc.c (pdump_get_indirect_count):
8302 * alloc.c (pdump_register_sub):
8303 * alloc.c (pdump_register_object):
8304 * alloc.c (pdump_register_struct):
8305 * alloc.c (pdump_dump_data):
8306 * alloc.c (pdump_reloc_one):
8310 * console-msw.c (GetConsoleHwnd):
8311 * console-msw.c (msw_hide_console):
8312 * console-msw.c (msw_show_console):
8313 * console-msw.c (msw_ensure_console_buffered):
8314 * console-msw.c (msw_output_console_string):
8315 * console-msw.c (console_type_create_mswindows):
8317 a) Added functions to manipulate the console window for use with
8320 b) Added support for writing text to the console, which is now
8321 used under Windows when xemacs is not being run non-interactively,
8322 to write text that would otherwise be destined for stdout because
8323 under these circumstances, text written to stdout tends to
8324 disappear and not be seen.
8328 * event-Xt.c (x_event_to_emacs_event):
8329 * event-Xt.c (describe_event_window):
8330 * events-mod.h (XEMACS_MOD_CONTROL):
8332 * events.c (Fmake_event):
8333 * events.c (character_to_event):
8334 * events.c (event_to_character):
8335 * events.c (format_event_object):
8336 * events.c (Fevent_modifiers):
8338 * events.h (struct key_data):
8339 * events.h (struct button_data):
8340 * events.h (struct misc_user_data):
8341 * frame-x.c (Fcde_start_drag_internal):
8342 * frame-x.c (Foffix_start_drag_internal):
8343 * gpmevent.c (Freceive_gpm_event):
8345 * keymap.c (bucky_sym_to_bucky_bit):
8346 * keymap.c (control_meta_superify):
8347 * keymap.c (make_key_description):
8348 * keymap.c (keymap_lookup_directly):
8349 * keymap.c (create_bucky_submap):
8350 * keymap.c (keymap_store):
8351 * keymap.c (define_key_check_and_coerce_keysym):
8352 * keymap.c (define_key_parser):
8353 * keymap.c (define_key_alternate_name):
8354 * keymap.c (Fdefine_key):
8355 * keymap.c (raw_lookup_key_mapper):
8356 * keymap.c (struct map_keymap_unsorted_closure):
8357 * keymap.c (map_keymap_unsorted_mapper):
8358 * keymap.c (map_keymap_sort_predicate):
8359 * keymap.c (map_keymap_sorted):
8360 * keymap.c (accessible_keymaps_mapper_1):
8361 * keymap.c (where_is_recursive_mapper):
8362 * keymap.c (describe_map_mapper):
8363 * keymap.c (describe_map_sort_predicate):
8364 * keymap.c (describe_map):
8365 * keymap.c (complex_vars_of_keymap):
8366 And a number of other files, the key modifier preprocessor
8367 constants that xemacs uses have names that conflict with constants
8368 defined under MS Windows for other purposes, so they were renamed
8369 to begin with the prefix XEMACS_. The variables that hold such
8370 modifiers were changed to consistently be of type int to fix
8371 various compile warnings.
8373 * console.c (complex_vars_of_console):
8376 * device-msw.c (mswindows_finish_init_device):
8377 * device-msw.c (msw_get_workspace_coords):
8378 * device-msw.c (mswindows_device_system_metrics):
8379 and various other files, added support for a new
8380 device property called offset-workspace which returns the position
8381 of the upper left corner of the workspace area and goes along with
8382 the existing size-workspace property.
8385 * dialog-msw.c (push_bufbyte_string_as_unicode):
8386 * dialog-msw.c (mswindows_popup_dialog_box):
8387 Added support for XEmacs-style accelerator specifications in
8388 button text. Note: I didn't add support for this under X Windows,
8389 and somebody needs to do this.
8392 * dialog.c (Fpopup_dialog_box):
8393 Documented the support for accelerators that was just mentioned.
8395 editfns.c (get_home_directory): Changed behavior under Windows
8396 when HOME not defined; former behavior was irretrievably broken.
8401 * minibuf.c (clear_echo_area_internal):
8402 * minibuf.c (echo_area_append):
8404 * print.c (std_handle_out_external):
8405 * print.c (std_handle_out_va):
8407 * print.c (write_string_to_stdio_stream):
8408 * print.c (output_string):
8409 * print.c (debug_print):
8410 * print.c (debug_backtrace):
8411 * print.c (debug_short_backtrace):
8412 Cleaned up the code that prints text to stdout so that this can be
8413 changed to output into a console window instead under MS Windows,
8417 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8418 * eval.c (internal_catch):
8419 * eval.c (unwind_to_catch):
8420 * eval.c (throw_or_bomb_out):
8421 * eval.c (condition_case_1):
8422 * eval.c (signal_1):
8423 * eval.c (check_error_state_sanity):
8424 * eval.c (call_with_suspended_errors_1):
8425 * eval.c (call_with_suspended_errors):
8426 * eval.c (reinit_vars_of_eval):
8427 Added code to catch throw loops and check for a pesky bug that may
8431 * event-msw.c (key_needs_default_processing_p):
8432 * event-msw.c (mswindows_wnd_proc):
8433 * event-msw.c (mswindows_modifier_state):
8434 * event-msw.c (emacs_mswindows_quit_p):
8435 * event-msw.c (vars_of_event_mswindows):
8436 a) Added support for using the alt key to select menu items as is
8437 standard under MS Windows. This is controlled using the variable
8438 menu-accelerator-enabled, just like under X Windows. There is an
8439 option on the options menu to turn this support on. I really
8440 think that it should be on by default under Windows, but I'm not
8441 going to make this change yet.
8443 b) Added support for dynamic display size changes under Windows.
8446 * event-stream.c (maybe_echo_keys):
8447 * event-stream.c (Fnext_event):
8448 * event-stream.c (command_builder_find_leaf):
8449 * event-stream.c (lookup_command_event):
8450 * event-stream.c (execute_command_event):
8451 * event-stream.c (pre_command_hook):
8452 * event-stream.c (post_command_hook):
8453 * event-stream.c (syms_of_event_stream):
8454 * event-stream.c (vars_of_event_stream):
8455 * event-stream.c (complex_vars_of_event_stream):
8456 * events.h (struct command_builder):
8458 a) Tried to clean up a little bit the horribly written x-specific
8459 accelerator code that crept into this file. I moved this code
8460 into menubar-x.c where it belongs. I also needed to move the
8461 command builder structure into the file events.h because it is
8462 accessed directly by this accelerator code. What I didn't do, but
8463 which should be done at some point, is to properly abstract this
8464 code using device methods instead of the kludgy way that it
8465 currently hooks into the event code.
8467 b) Added the lisp variables this-command-properties and
8468 last-command- properties, which should be used to synchronize two
8469 adjacent commands in preference to playing games with the variable
8470 this-command, which is typically what happens.
8472 c) Added some slightly nasty code to hook into the lisp support
8473 for shifted- motion-key selection. This is actually necessary for
8474 somewhat complicated reasons, which are described in
8475 simple.el. (NB: I think the proper thing would be to have the code
8476 that calls the pre and post command hooks also call out to generic
8477 lisp functions in simple.el, where all built-in stuff could be
8478 added. I will think about this more.)
8480 * event-unixoid.c (poll_fds_for_input):
8481 * lread.c (readchar):
8482 * redisplay-tty.c (tty_clear_frame):
8483 * redisplay-x.c (x_get_gc):
8484 * signal.c (interrupt_signal):
8485 And a whole bunch of other files: fixed up places that printed
8486 directly to stderr to instead call the function stderr_out so that
8487 the changes I made under Windows work correctly.
8489 * filemode.c (mode_string):
8493 * frame-msw.c (mswindows_size_frame_internal):
8494 Fixed the computation of frame size and position to keep the frame
8495 within the workspace area, rather than within the physical
8496 dimensions of the screen, so that the frame doesn't overlap window
8497 manager decorations, such as the start menu and toolbar, typically
8498 at the bottom of the screen.
8500 * frame.c (vars_of_frame):
8501 Changed the default frame title format under MS Windows to consist
8502 of buffername-XEmacs, which is standard under MS Windows. I think
8503 it might be a good idea to change this everywhere because I think
8504 it is superior to the current frame title format, but this is the
8505 kind of change that is likely to cause some people to get annoyed,
8506 so I'm not making it.
8508 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8510 * gui-msw.c (mswindows_handle_gui_wm_command):
8511 Fixed compile warnings.
8514 * gui-x.c (strdup_and_add_accel):
8515 * gui-x.c (button_item_to_widget_value):
8517 Added code to automatically put an accelerator onto the beginning
8518 of menu items that don't have one as is now the standard, and is
8519 described more later. Also fixed things so that the menu item
8520 name can be an evaluated expression, again a new standard.
8523 * gui.c (gui_item_add_keyval_pair):
8524 * gui.c (make_gui_item_from_keywords_internal):
8525 * gui.c (gui_add_item_keywords_to_plist):
8526 * gui.c (gui_item_accelerator):
8527 * gui.c (gui_name_accelerator):
8528 * gui.c (gui_item_included_p):
8529 * gui.c (gui_item_display_flush_left):
8530 * gui.c (gui_item_display_flush_right):
8531 * gui.c (parse_gui_item_tree_item):
8532 * gui.c (parse_gui_item_tree_children):
8533 * gui.c (parse_gui_item_tree_list):
8534 Mule-ized. Cleanup. GCPRO addition.
8536 * line-number.c (buffer_line_number):
8538 * lisp.h (EMACS_INT_MAX):
8539 Added the manifest constant EMACS_INT_MIN corresponding to the
8540 existing constant EMACS_INT_MAX. This is partially to fix compile
8541 warnings under Windows, and partly for cleanliness.
8544 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8545 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8546 * menubar-msw.c (displayable_menu_item):
8547 * menubar-msw.c (populate_menu_add_item):
8548 * menubar-msw.c (populate_or_checksum_helper):
8549 * menubar-msw.c (populate_menu):
8550 * menubar-msw.c (update_frame_menubar_maybe):
8551 * menubar-msw.c (prune_menubar):
8552 * menubar-msw.c (msw_char_is_accelerator):
8553 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8554 * menubar-msw.c (mswindows_handle_wm_command):
8555 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8556 * menubar-msw.c (mswindows_handle_wm_initmenu):
8557 * menubar-msw.c (mswindows_update_frame_menubars):
8558 * menubar-msw.c (mswindows_free_frame_menubars):
8559 * menubar-msw.c (mswindows_popup_menu):
8560 Fixed a bug in handling accelerators where an extra character
8561 would be displayed in the menu item. Also generalized the
8562 function displayable_menu_item because it is now used by the
8563 dialog box code as well. And finally, added code in the functions
8564 that create the menubar to extract a list of accelerators for the
8565 top level menubar, which is used in the event code to determine
8566 whether a particular alt-key combination should be used to invoke
8567 a menu item, or should be passed through to access the standard
8568 XEmacs keymap binding for this key combination.
8570 Much needed GCPROing.
8573 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8574 * menubar-x.c (menu_item_descriptor_to_widget_value):
8575 * menubar-x.c (restore_in_menu_callback):
8576 * menubar-x.c (x_popup_menu):
8577 * menubar-x.c (menu_move_up):
8578 * menubar-x.c (menu_move_down):
8579 * menubar-x.c (menu_move_left):
8580 * menubar-x.c (menu_move_right):
8581 * menubar-x.c (menu_select_item):
8582 * menubar-x.c (command_builder_operate_menu_accelerator):
8583 * menubar-x.c (menu_accelerator_junk_on_error):
8584 * menubar-x.c (command_builder_find_menu_accelerator):
8585 * menubar-x.c (Faccelerate_menu):
8587 Moved a whole bunch of code here that was previously in
8588 event-stream.c as described above. There is also code connected
8589 to the new standard of adding an accelerator to the beginning of
8590 menu items that don't have one as described above and below.
8593 * menubar.c (menu_parse_submenu_keywords):
8594 * menubar.c (Fmenu_find_real_submenu):
8595 * menubar.c (Fnormalize_menu_item_name):
8596 * menubar.c (syms_of_menubar):
8597 * menubar.c (vars_of_menubar):
8598 * menubar.c (complex_vars_of_menubar):
8600 a) Cleaned up a bunch of documentation and improved it.
8602 b) XEmacs now automatically adds an accelerator onto the beginning
8603 of any menu items that don't have one. I did this because there
8604 will inevitably be some menu items on the main menubar that don't
8605 have accelerators on them because the package that adds that
8606 particular menu item hasn't yet been fixed up to have accelerators
8607 in them and it looked rather strange to have some items with and
8608 some items without accelerators, especially since even in items
8609 without accelerators, you can, at least under windows, still
8610 access the item through an accelerator corresponding to the first
8611 character in the item's name. If people don't like this behavior,
8612 I can add a variable to turn it off optionally, but I'm not sure
8613 this is a good idea because we really do need to have accelerators
8614 on all of the menu items, and if a package doesn't like the
8615 accelerators being put on the first character, then it should put
8616 the accelerators where they belong.
8618 c) I made a behavior change, which is that the descriptor that
8619 specifies the text of the menu item, which formerly was just a
8620 string, can now also be an evaluated expression. This makes this
8621 descriptor parallel with all of the others, which could also be
8622 evaluated expressions. This also obviates the need for the
8623 keyword :label, which was previously listed in the documentation
8624 as unimplemented, and which was for the same purpose.
8629 * ntproc.c (new_child):
8630 * ntproc.c (sys_spawnve):
8631 * ntproc.c (find_child_console):
8632 * ntproc.c (sys_kill):
8633 Fixed compile warnings. By the way, this file should really go
8634 away entirely, and this will happen as soon as Kirill makes his
8635 final round of process cleanups, which affect the function
8639 * process-nt.c (struct nt_process_data):
8640 * process-nt.c (find_process_from_pid):
8641 * process-nt.c (send_signal_the_nt_way):
8642 * process-nt.c (enable_child_signals):
8643 * process-nt.c (find_child_console):
8644 * process-nt.c (send_signal_the_95_way):
8645 * process-nt.c (nt_finalize_process_data):
8646 * process-nt.c (ensure_console_window_exists):
8647 * process-nt.c (nt_create_process):
8648 * process-nt.c (nt_kill_child_process):
8649 * process-nt.c (nt_kill_process_by_pid):
8650 * process-nt.c (nt_open_network_stream):
8651 * process-nt.c (vars_of_process_nt):
8652 Copied over code from Emacs 20.5 to correctly send signals to sub-
8653 processes under Windows 95. Also added code to automatically
8654 create and hide console window when a sub-process is created under
8655 Windows 95, which obviates the need for the separate runemacs.exe
8656 executable, and finally implemented some variables that were
8657 implemented in Emacs 20.5, but previously not in XEmacs. These
8658 include mswindows- start-process-share-console and
8659 mswindows-start-process-inherit-error-mode. (Both of these only
8660 apply to Windows 95.)
8662 * regex.c (regex_compile): Fixed a compile warning.
8665 * select-msw.c (mswindows_own_selection):
8666 * select-msw.c (mswindows_get_foreign_selection):
8667 * select-msw.c (mswindows_disown_selection):
8668 * select-msw.c (console_type_create_select_mswindows):
8669 * select-msw.c (syms_of_select_mswindows):
8670 Cleaned up the file and implemented the device method
8671 selection_exists_p, which had accidentally been left out. Also
8672 removed four lisp functions that were remnants from before the
8673 time when the selection code was properly device abstracted.
8674 These functions are no longer needed because there are generic
8675 equivalents, and because they were added recently and don't exist
8676 in FSF Emacs, I don't think there's any problem with just deleting
8680 * sysdep.c (sys_subshell):
8681 Fixed a compile warning, although in this case there's probably
8682 something wrong with this code, and it ought to be looked into
8683 more thoroughly by somebody who understands it.
8686 * window.c (Fwindow_text_area_height):
8687 * window.c (Fwindow_width):
8688 * window.c (Fwindow_full_width):
8689 * window.c (Fwindow_pixel_width):
8690 * window.c (debug_print_window):
8691 * window.c (syms_of_window):
8692 Added functions window-text-area-height and window-full-width,
8693 which are functions for returning various width and height
8694 characteristics of a window. (One of these functions is necessary
8695 for making the file dialog box work correctly, and the other one
8696 was added for completeness.) Also added a table to the
8697 documentation for window-height which describes the entire scheme
8698 for accessing width and height characteristics of a window.
8700 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8702 * nt.c (fstat): Added a comment for another problem with
8703 non-encapsulated [f]stat(), reported by Adrian Aichner
8704 <aichner@ecf.teradyne.com>.
8706 2000-03-11 Andy Piper <andy@xemacs.org>
8708 * window.c (make_dummy_parent): initialize subwindow instance
8710 (Fset_window_configuration): zero extent_modiff.
8712 2000-03-10 Andy Piper <andy@xemacs.org>
8714 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8715 more changes can be triggered.
8716 (Fredisplay_frame): ditto.
8717 (Fredraw_device): ditto.
8718 (Fredisplay_device): ditto.
8719 (redisplay_frame): make non-static.
8720 (redisplay_frame): call update_frame_gutter_geometry outside of
8723 * gutter.h: declare update_frame_gutter_geometry.
8725 * redisplay.h: declare redisplay_frame.
8727 * gutter.c (update_frame_gutter_geometry): move geometry changes
8728 in update_frame_gutters here. Geometry changes can only occur
8729 outside of redisplay.
8730 (update_frame_gutters): remove geometry change code.
8731 (Fredisplay_gutter_area): make sure that we are in display when we
8732 update and that we have flushed any size changes.
8734 2000-03-11 Andy Piper <andy@xemacs.org>
8736 * alloc.c (pdump_dump_data): remove i & count shadows.
8738 2000-02-27 Mike Alexander <mta@arbortext.com>
8740 * sysdep.h: Declare pdump_read_file
8742 * sysdep.c (pdump_read_file): New function
8744 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8747 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8749 * lrecord.h: add `lrecord_type_pgsetenv'.
8751 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8753 * symsinit.h: declare (vars|syms)_of* functions.
8754 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8756 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8758 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8760 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8763 * emacs.c (main_1): Call postgres initialization code.
8765 * postgresql.h: New file. PostgreSQL RDBMS support.
8766 * postgresql.c: New file.
8768 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8770 * redisplay-output.c (redisplay_output_display_block): Disable
8773 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8775 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8776 (Fcanna_henkan_next): Ditto.
8777 (Fcanna_bunsetu_henkou): Ditto.
8778 (Fcanna_henkan_kakutei): Ditto.
8779 (Fcanna_henkan_end): Ditto.
8780 (Fcanna_henkan_quit): Ditto.
8781 (Fcanna_henkan_next): Set retun value correctly.
8782 (c2mu): Use unsigned char instead of signed char.
8784 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8786 * emacs.c (main_1): Always call syms_of_gui.
8787 * inline.c: include gui.h
8789 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8791 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8792 converted to Lisp_Object.
8793 (Qtop_bottom): New variable.
8794 (syms_of_redisplay): Initialize it.
8795 * redisplay.h (Vvisible_bell): Ditto.
8796 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8797 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8798 only flash top and bottom.
8800 2000-03-08 Andy Piper <andy@xemacs.org>
8802 * buffer.c (Frename_buffer): record new buffer name the right way.
8804 2000-03-08 Andy Piper <andy@xemacs.org>
8806 * glyphs.c (update_subwindow): increase hash depth so that widget
8807 items get picked up properly.
8809 * redisplay-output.c (compare_runes): increase hash depth so that
8810 widget items get picked up properly.
8812 2000-03-08 Andy Piper <andy@xemacs.org>
8814 * gutter.c (output_gutter): add some debug.
8816 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8817 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8818 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8820 * redisplay-output.c (compare_runes): use display_hash to
8821 determine if glyphs really are not the same.
8823 * glyphs.c (update_subwindow): check display_hash to see if
8824 anything really needs to be updated. If not then do
8825 nothing. Record the display_hash after updating.
8826 (image_instance_equal): compare the image_instance face also.
8828 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8830 * redisplay.h: Fix comment style.
8832 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8834 * consle-msw.h (struct mswindows_frame):
8835 Added new member paint_pending to indicate whether a WM_PAINT
8836 magic event has been queued for this frame.
8838 * event-msw.c (mswindows_drain_windows_queue):
8839 Don't queue a WM_PAINT magic event if one is already queued.
8840 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8842 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8844 2000-03-07 Didier Verna <didier@xemacs.org>
8846 * dired.c: #include `regex.h' after `sysfile.h'.
8848 2000-03-06 Martin Buchholz <martin@xemacs.org>
8850 * sound.c (init_nas_sound): Fix compiler warning.
8852 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8854 (MARK_STRUCT_AS_FREE):
8855 (MARK_STRUCT_AS_NOT_FREE):
8856 Make `gcc -fstrict-aliasing' work properly.
8858 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8860 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8861 (mswindows_delete_device): Call CoUnnitialize().
8863 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8865 2000-02-25 <CraigL@DyCon.com>
8867 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8870 * sysdep.c: This extern declaration for environ prevents MinGW
8871 from finding the variable in CRTDLL.DLL.
8873 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8877 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8879 (MMRESULT): Removed, now defined in cygwin's windows headers.
8881 (uid_t,gid_t,pid_t,ssize_t): ..
8882 (_timeb): Removed, MinGW defines both _timeb and timeb.
8883 (HAVE_H_ERRNO): Added.
8884 (HAVE_TZNAME): Added, configure is not detecting this.
8886 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8888 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8889 * syntax.c (syntax_match): Use it.
8891 * cmds.c: Import auto-fill-chars from FSF Emacs.
8892 (Vauto_fill_chars): New variables.
8893 (internal_self_insert): Check Vauto_fill_chars.
8895 Declare auto-fill-chars as a Lisp variable and initialize it.
8897 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8899 * fileio.c (Fmake_symbolic_link):
8901 Run handlers even if local machine doesn't have symlinks.
8903 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8905 * event-msw.c (mswindows_drain_windows_queue):
8906 Don't generate paint magic events for non-XEmacs frames.
8908 2000-03-05 Andy Piper <andy@xemacs.org>
8910 * redisplay.c (redisplay_frame): generate_displayable_area and
8911 friends assumes that we are not in GC, we therefore have to make
8912 sure that this doesn't happen.
8914 * gutter.c (calculate_gutter_size): generate_displayable_area
8915 assumes that we are not in GC, we therefore have to make sure that
8916 this doesn't happen.
8918 2000-03-05 Martin Buchholz <martin@xemacs.org>
8920 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8922 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8924 * redisplay.c (regenerate_window): Make sure we set a sane value
8925 for end_pos even if we jump out of the loop.
8926 (regenerate_window): Answer Ben's question :-).
8927 (start_end_of_last_line): Add may_error argument.
8928 (start_of_last_line):
8929 (end_of_last_line): Pass may_error = 0.
8930 (end_of_last_line_may_error): New function.
8931 (pixel_to_glyph_translation): Use it, so we don't crash in
8934 2000-03-04 Andy Piper <andy@xemacs.org>
8936 * window.h (struct window): add gutter_extent_modiff.
8938 * window.c (allocate_window): zero out gutter_extent_modiff.
8940 * redisplay.h: declare sync_display_line_structs.
8942 * redisplay.c (add_glyph_rune): add a better comment.
8944 * redisplay-output.c (sync_display_line_structs): made non-static.
8945 (compare_runes): remove unneccesary glyph cachel access.
8947 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
8949 * gutter.c (output_gutter): don't output the gutter if extent
8950 changes only involve extents in buffers. use 4 sets of display
8952 (gutter_extent_signal_changed_region_maybe): new function. Mark
8953 extents in gutters as changed.
8954 (update_frame_gutters): use 4 sets of display lines.
8955 (reset_gutter_display_lines): ditto.
8956 (free_frame_gutters): ditto.
8957 (redraw_exposed_gutter): force output of gutters.
8959 * frame.h (struct frame): add 4 sets of gutter display lines.
8961 * extents.c: (extent_changed_for_redisplay): signal changes to
8962 extents in strings in the gutter as well as extents in buffers.
8964 2000-03-02 Andy Piper <andy@xemacs.org>
8966 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
8968 * frame.c (Fmake_frame): make sure the gutters get initialized
8969 after the frame is visible.
8970 (set_frame_selected_window): re-arrange compilation macros a
8972 (change_frame_size_1): mark gutters changed.
8974 * device.c (Fset_device_class): mark gutters changed.
8976 2000-03-01 Andy Piper <andy@xemacs.org>
8978 * window.c (window_top_frame_gutter_height): deleted.
8979 (window_bottom_frame_gutter_height): ditto.
8980 (window_left_frame_gutter_height): ditto.
8981 (window_right_frame_gutter_height): ditto.
8982 (window_top_gutter_height): don't use them.
8983 (window_bottom_gutter_height): ditto.
8984 (window_left_gutter_width): ditto.
8985 (window_right_gutter_width): ditto.
8986 (Fsplit_window): ditto.
8987 (Fwindow_pixel_edges): don't use border dimensions here.
8989 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
8990 (update_scrollbar_instance): ditto.
8992 * redisplay.c (generate_modeline): don't take gutters into account.
8993 (generate_modeline): ditto.
8994 (redisplay_frame): small gutter display optimization.
8996 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
8998 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
8999 gutters into account.
9001 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9002 for window position and type.
9004 * gutter.c (get_gutter_coords): fix for frame gutters.
9005 (update_frame_gutters): update frame geometry if the gutters have
9007 (init_frame_gutters): record current gutter geometries.
9009 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9011 (mswindows_widget_instantiate): ditto.
9013 * frame.h (struct frame): add current_gutter_bounds.
9015 * frame.c (change_frame_size_1): position window and minibuffer
9016 appropriately taking into account the frame gutters.
9018 * frame-x.c: (x_initialize_frame_size): take into account the
9021 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9023 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9025 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9027 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9029 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9031 * file-coding.c (reset_decoding_stream): Clear previous
9032 detection state when autodetect.
9034 2000-02-29 Didier Verna <didier@xemacs.org>
9036 * extents.c (set_extent_glyph_1): don't require extents to be
9039 2000-02-27 Andy Piper <andy@xemacs.org>
9041 * gutter.c (Fset_default_gutter_position): don't default left and
9042 right gutter visibility to t.
9043 (Fset_default_gutter_position): run
9044 default-gutter-position-changed-hook.
9045 (syms_of_gutter): add default-gutter-position-changed-hook.
9047 2000-02-26 Andy Piper <andy@xemacs.org>
9049 * specifier.c (Fmake_specifier): add gutter references.
9051 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9053 * lisp.h: declare Fvalid_plist_p.
9055 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9057 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9058 well as its visibility so that it gets reconstructed.
9059 (construct_window_gutter_spec): new function. Construct a string
9060 to be displayed in the gutter from a plist of strings. Take care
9061 to only use elements that are declared as visible.
9062 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9064 (gutter_validate): allow plists of strings in the specifier.
9065 (gutter_specs_changed): construct the real_gutter from the gutter
9066 specs using construct_window_gutter_spec.
9067 (gutter_visible_validate): gutter-visible is a new specifier type.
9068 (Fgutter_visible_specifier_p): new function for the new specifier.
9069 (syms_of_gutter): declare gutter-visible and
9070 Fgutter_visible_specifier_p.
9071 (specifier_type_create_gutter): intitalize new gutter-visible
9073 (reinit_specifier_type_create_gutter): ditto.
9074 (specifier_vars_of_gutter): use new specifier type for gutter
9076 (init_frame_gutters): construct real_gutter correctly.
9077 (Fgutter_specifier_p): beef up documentation.
9078 (Fgutter_size_specifier_p): ditto.
9080 * winslots.h: add real_gutter slots.
9082 2000-02-25 Andy Piper <andy@xemacs.org>
9084 * device-msw.c: Be kind to older cygwin versions. From Raymond
9085 Toy <toy@rtp.ericsson.se>.
9087 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9088 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9090 2000-02-25 Martin Buchholz <martin@xemacs.org>
9092 * elhash.c (MARK_OBJ): Practice macro hygiene.
9094 2000-02-24 Martin Buchholz <martin@xemacs.org>
9096 * miscplay.c: s/__inline__/inline/g;
9097 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9098 (get_device_compdc): INLINE ==> static inline
9099 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9100 find -name '*.h' | \
9101 xargs global-replace \
9102 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9104 2000-02-25 Andy Piper <andy@xemacs.org>
9106 * window.c (window_top_frame_gutter_height): new function.
9107 (window_top_window_gutter_height): ditto.
9108 (window_top_gutter_height): use them.
9109 (window_bottom_frame_gutter_height): new function.
9110 (window_bottom_window_gutter_height): ditto.
9111 (window_bottom_gutter_height): use them.
9112 (window_left_window_gutter_width): new function.
9113 (window_left_frame_gutter_width): ditto.
9114 (window_left_gutter_width): use them.
9115 (window_right_window_gutter_width): new function.
9116 (window_right_frame_gutter_width): ditto.
9117 (window_right_gutter_width): use them.
9118 (window_pixel_height): new function. calulate window pixel height
9119 with frame gutter involvement.
9120 (Fsplit_window): calculate new sizes taking frame gutters into
9122 (window_char_height_to_pixel_height): don't include frame gutters.
9123 (window_char_height): use window_pixel_height.
9124 (window_pixheight): rename from window_pixel_height.
9125 (change_window_height): use it.
9126 (window_pixel_height_to_char_height): don't include frame gutters.
9127 (window_char_width_to_pixel_width): ditto.
9129 2000-02-25 Andy Piper <andy@xemacs.org>
9131 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9134 2000-02-24 Martin Buchholz <martin@xemacs.org>
9136 * alloc.c (staticpro):
9142 (compact_string_chars):
9144 Convert: if (foo) abort(); ==> assert (! foo);
9146 * eldap.c (Fldap_search_basic):
9150 Fix compiler warnings, and possible crashes if (random) return
9151 value were to be used.
9153 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9155 * device-msw.c: Workaround ResetDC failure.
9157 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9160 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9161 (mswindows_text_width): Do not start printer page.
9163 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9165 * glyphs-msw.c: Added image methods to msprinter console and
9166 msprinter-specific image instantiation.
9168 2000-02-20 Mike Alexander <mta@arbortext.com>
9170 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9171 to avoid crashes when selection-sets-clipboard is on
9172 (mswindows_own_selection): ditto
9174 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9177 * redisplay-msw.c (get_frame_dc):
9180 * device-msw.c (mswindows_init_device):
9181 (mswindows_delete_device):
9182 (msprinter_init_device):
9183 (msprinter_delete_device):
9184 * frame-msw.c (mswindows_init_frame_1):
9185 (mswindows_delete_frame):
9186 (msprinter_init_frame_3):
9187 (msprinter_delete_frame): Move compatible DC to device object from
9188 frame object, for both mswindows and msprinter. Only one at a time
9189 is needed, it is a real waste to have one per frame!
9191 2000-02-23 Andy Piper <andy@xemacs.org>
9193 * glyphs.c: add dynamic width and height elements.
9194 (image_instance_equal): ditto.
9196 * glyphs-widget.c (widget_query_geometry): calculate width and
9197 height dynamically if required.
9198 (initialize_widget_image_instance): initialize dynamic dimensions.
9199 (widget_instantiate): pick-up dynamic dimensions.
9201 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9202 dynamic determination. Add appropriate macros.
9204 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9206 (WINDOW_GUTTER_SIZE): ditto.
9207 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9209 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9211 (get_frame_dc): ditto.
9213 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9216 2000-02-23 Martin Buchholz <martin@xemacs.org>
9218 * XEmacs 21.2.31 is released.
9220 2000-02-22 Ben Wing <ben@xemacs.org>
9222 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9224 2000-02-22 Andy Piper <andy@xemacs.org>
9226 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9228 2000-02-21 Mike Sperber <mike@xemacs.org>
9232 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9235 2000-02-21 Mike Sperber <mike@xemacs.org>
9237 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9239 2000-02-21 Martin Buchholz <martin@xemacs.org>
9241 * XEmacs 21.2.30 is released.
9243 2000-02-20 Martin Buchholz <martin@xemacs.org>
9245 Performance hacking.
9247 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9248 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9251 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9252 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9253 * symeval.h (DEFVAR_SYMVAL_FWD):
9254 * symbols.c (guts_of_unbound_marker):
9255 Make all c_readonly objects also lisp_readonly and marked for life.
9256 * lrecord.h (struct lrecord_implementation):
9257 Document flags better.
9258 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9259 * lrecord.h (DECLARE_LRECORD):
9260 * lrecord.h (XSETRECORD):
9261 * lrecord.h (RECORDP):
9262 * lrecord.h (RECORD_TYPEP):
9263 * lrecord.h (RECORD_MARKER): New.
9264 * lrecord.h (error_check_*):
9265 * lrecord.h (CONCHECK_NONRECORD):
9266 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9267 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9268 * lrecord.h (set_lheader_implementation):
9269 * lrecord.h (enum lrecord_type): New.
9270 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9271 * alloc.c (disksave_object_finalization_1):
9272 * alloc.c (mark_object):
9273 * alloc.c (lrecord_type_index):
9274 * alloc.c (tick_lcrecord_stats):
9275 * alloc.c (Fgarbage_collect):
9276 * alloc.c (init_alloc_once_early):
9277 * alloc.c (pdump_load):
9278 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9279 * alloc.c (lrecord_type_index): Delete.
9280 Make lisp object type indexes be constant.
9281 Makes (byte-compile) 5% faster.
9282 Put all marker functions into their own array.
9283 Makes (garbage-collect) 5% faster.
9284 Optimize SYMBOL_VALUE_MAGIC_P.
9285 Makes (byte-compile) 2-3% faster.
9286 * config.h.in (gc_checking_assert): New.
9287 * alloc.c: Use gc_checking_assert().
9288 * .dbxrc: Make compatible with new object type implementation.
9289 * .gdbinit: Make compatible with new object type implementation.
9290 * alloc.c: Delete all symbols defined only for debugging, such as
9291 Lisp_Type_Vector and lrecord_charset.
9293 2000-02-21 Andy Piper <andy@xemacs.org>
9295 * gui-msw.c (Fmswindows_shell_execute): fix file location
9298 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9299 unshowing so that set_window_buffer doesn't undo
9300 kill_buffer_hook's hard work.
9302 * glyphs-widget.c (tab_control_query_geometry): don't count the
9303 first item when calculating geometry.
9305 * glyphs.c (map_subwindow): remove redundant code.
9306 (update_frame_subwindows): be more circumspect about when to
9309 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9310 when items haven't changed. Update faces if faces have changed as
9311 well as just the widget face.
9312 (x_tab_control_update): Update faces if faces have changed as well
9313 as just the widget face.
9315 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9317 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9319 (build_syscolor_string): Use mswindows_color_to_string to try to
9321 (mswindows_device_system_metrics): Reverse the foreground and
9322 background colors so that they match the documentation.
9324 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9325 they match the default Windows palette.
9326 (mswindows_color_to_string): New function.
9328 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9330 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9332 2000-02-18 Olivier Galibert <galibert@pobox.com>
9334 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9335 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9337 * symbols.c (init_symbols_once_early): Removed obsolete
9338 DATA_SEG_BITS related kludge.
9339 (defvar_magic): Ditto.
9341 * malloc.c: Removed obsolete DATA_SEG_BITS
9343 * mem-limits.h: Ditto.
9345 * Makefile.in.in: Removed obsolete HAVE_SHM
9348 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9350 * device-msw.c (mswindows_delete_device): Free DDE string
9353 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9355 * keymap.c (get_keyelt):
9356 * unexnt.c (unexec):
9357 * vm-limit.c (memory_warnings):
9358 * ntheap.c (recreate_heap):
9359 * ntheap.h (UNINIT_PTR):
9360 * select-msw.c (Fmswindows_get_clipboard):
9361 (Fmswindows_set_clipboard):
9362 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9364 * menubar-msw.c (displayable_menu_item):
9366 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9367 * sysdep.c (sys_subshell):
9368 * process-nt.c (nt_create_process):
9369 * nt.c (normalize_filename):
9370 (dostounix_filename):
9371 (unixtodos_filename):
9372 * ntproc.c (win32_executable_type):
9373 * ntplay.c (play_sound_data_1):
9375 * editfns.c (get_home_directory):
9376 * event-msw.c (struct winsock_stream):
9377 (mswindows_dde_callback):
9378 * device-msw.c (msprinter_init_device):
9379 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9381 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9382 mswindows_clear_toolbar were swapped!
9384 * objects-msw.c:(colormap_t):
9386 * emacs.c (struct standard_args): Fixed const jumble.
9388 * glyphs-widget.c (update_widget): Fixed comparison notation.
9390 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9392 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9393 __declspec(noreturn) syntax.
9395 2000-02-19 Martin Buchholz <martin@xemacs.org>
9397 * eldap.c (Fldap_open):
9398 (Fldap_search_basic):
9401 Use new coding system conversion macros.
9403 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9405 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9407 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9409 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9410 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9412 * eldap.c (Qadd, Qreplace): New constant symbols
9413 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9414 interruptions by XEmacs signals
9415 Remove unnecessary calls to slow_down_interrupts and
9417 (Fldap_search_basic): Renamed from Fldap_search_internal
9418 Added new optional parameter VERBOSE that triggers the
9419 display of progress messages
9420 Remove unnecessary calls to slow_down_interrupts and
9422 LDAP result code analysis rewritten
9423 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9424 (syms_of_eldap): Define the new symbols and functions
9427 2000-02-17 Martin Buchholz <martin@xemacs.org>
9429 * realpath.c: Determine PATH_MAX maximally portably.
9431 * insdel.c (bytecount_to_charcount): Optimize.
9432 The function used to be optimized for entirely ASCII sequences.
9433 Now it is optimized for successive characters from the same
9434 charset. This also wins big for _mostly_ ASCII sequences.
9436 * fileio.c (Ffile_truename): convert return from realpath() using
9437 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9438 - Rewrite GCPROing slightly.
9440 * sysdep.c (sys_open): Do filename conversion, like all other
9441 sys_* functions. Fixes bug:
9442 (let ((file-name-coding-system 'iso-8859-2))
9443 (write-region x y latin2-name))
9444 ==> writes filename using internal encoding.
9446 2000-02-18 Martin Buchholz <martin@xemacs.org>
9448 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9449 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9450 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9451 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9452 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9453 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9454 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9455 (CONST_IF_NOT_DEBUG): Delete.
9456 * alloc.c (this_one_is_unmarkable): Delete.
9457 (mark_object): Don't check for this_one_is_unmarkable. Use the
9458 c_readonly flag instead.
9459 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9461 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9463 * event-msw.c (mswindows_drain_windows_queue):
9464 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9465 away redundant repaint events.
9467 2000-02-17 Andy Piper <andy@xemacs.org>
9469 * redisplay.h: declare mark_redisplay_structs.
9471 * redisplay.c (redisplay_window):
9472 (redisplay_frame): don't check subwindows_state_changed.
9473 (mark_redisplay): mark gutters here.
9475 * glyphs.c: (instantiate_image_instantiator): always layout if we
9476 haven't done so already.
9477 (allocate_image_instance): don't mark as dirty.
9478 (update_subwindow): bind inhibit_quit.
9480 * gutter.c (mark_gutters): new function.
9482 * glyphs-x.c (x_update_widget): Always resize to get round a
9485 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9486 breaking absolutely everything.
9488 * gutter.h: declare mark_gutters.
9490 2000-02-16 Martin Buchholz <martin@xemacs.org>
9492 * XEmacs 21.2.29 is released.
9494 2000-02-15 Olivier Galibert <galibert@pobox.com>
9496 * fns.c (size_bit_vector): Fix computation of the size.
9498 2000-02-15 Martin Buchholz <martin@xemacs.org>
9500 * *.[ch]: Change CONST to const globally.
9501 find -name '*.[ch]' | \
9502 xargs global-replace \
9503 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9504 - Remove vestigial references to CONST_IS_LOSING
9506 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9508 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9509 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9510 events instead of dispatching them directly.
9511 (mswindows_handle_paint): New function to do repainting.
9512 (mswindows_wnd_proc):
9513 (emacs_mswindows_handle_magic_event): Call above function.
9515 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9517 * objects-msw.c (mswindows_create_font_variant): Return the new
9519 (initialize_font_instance): Get font metrics from the underlined
9520 variant of the font to cope with the case where the underlined
9521 font has a bigger descent.
9523 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9525 * gui.c (gui_item_accelerator): Return the first underlined
9526 character in item name.
9528 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9530 * lisp.h: Added Qprinter.
9532 * general.c (syms_of_general): Initialized it.
9534 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9536 (get_frame_compdc): Made inline.
9538 * console.h (struct console_methods): Added eject_page method.
9540 * frame.h: Added FRAME_DISPLAY_P and friends.
9541 Aligned backslahes in many macros in more readable fashion.
9542 Added page_number to struct frame, and an accessor macro
9545 * defice.h: Added DEVICE_DISPLAY_P and friends.
9547 * device.c (Fdevice_printer_p): Used these.
9549 * frame.c (allocate_frame_core): Initialize page number.
9550 (Fprint_job_page_number):
9551 (Fprint_job_eject_page): Implemented.
9553 * frame-msw.c (msprinter_eject_page): Added method.
9554 (msprinter_start_page): Added.
9556 * window.c (Fwindow_truncated_p): Fixed docstring.
9557 (Fwindow_last_line_visible_height): Implemented.
9559 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9561 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9563 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9565 * syntax.c (scan_words): Always advance at least one character.
9567 2000-02-13 Andy Piper <andy@xemacs.org>
9569 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9570 to make sure the glyph is in the cachels.
9572 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9573 global image instance flag.
9574 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9575 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9577 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9578 (Fset_image_instance_property): mark layout as changed.
9579 (invalidate_glyph_geometry_maybe): mark layout as changed.
9580 (glyph_width): use new NEEDS_LAYOUT macro.
9581 (glyph_ascent): ditto.
9582 (glyph_descent): ditto.
9583 (glyph_height): ditto.
9584 (image_instance_layout): mark layout as clean after laying out.
9585 (update_subwindow): don't mark layout as clean here.
9587 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9588 should no longer be needed.
9590 * glyphs-x.c (x_update_widget): sanitize asserts.
9591 (x_finalize_image_instance): sanitize assignment to widgets.
9593 * glyphs-widget.c (widget_instantiate): don't need to clear the
9596 2000-02-13 Martin Buchholz <martin@xemacs.org>
9598 * sysdep.c (getcwd): Use standard prototype.
9599 * sysdep.h (getcwd): Use standard prototype.
9601 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9602 (sequence, start, end).
9603 Remove redundant type checking.
9604 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9605 view of `caller-protects') to avoid a crash where the real fix was
9608 2000-02-12 Martin Buchholz <martin@xemacs.org>
9610 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9612 * s/sol2.h: Remove feature macro initialization.
9614 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9615 (vector_hash): New. Code from internal_hash.
9617 Fix up allocation subsystem comments.
9619 * config.h.in: Add __EXTENSIONS__ for Solaris.
9621 * systime.h (EMACS_GETTIMEOFDAY): New.
9622 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9623 Remove Solaris-specific code.
9624 Use void* for the (ignored) second arg for gettimeofday().
9626 * elhash.c (hash_table_hash): Implement it, finally.
9627 * elhash.c: Use hashcode_t.
9629 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9630 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9632 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9633 * fns.c (size_bit_vector):
9634 * alloc.c (size_vector):
9635 (make_vector_internal):
9636 (make_bit_vector_internal):
9637 (sweep_bit_vectors_1):
9638 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9640 2000-02-10 Martin Buchholz <martin@xemacs.org>
9642 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9643 Include strings.h to avoid warnings for bzero and strcasecmp.
9645 2000-02-10 Olivier Galibert <galibert@pobox.com>
9647 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9648 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9650 * fns.c (size_bit_vector): New. Declare bit vectors as a
9653 2000-02-10 Olivier Galibert <galibert@pobox.com>
9655 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9656 use a value field instead.
9657 (symbol_value_forward_forward): Use value field.
9658 (DEFVAR_SYMVAL_FWD): Use value field.
9659 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9660 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9661 (DEFVAR_CONST_INT): Ditto.
9662 (DEFVAR_BOOL): Ditto.
9663 (DEFVAR_CONST_BOOL): Ditto.
9664 (DEFVAR_INT_MAGIC): Ditto.
9665 (DEFVAR_BOOL_MAGIC): Ditto.
9667 * symbols.c (guts_of_unbound_marker): Use value field.
9668 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9669 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9671 * lisp.h: Declare dumpopaque and noninteractive1.
9673 * alloc.c (dumpopaque): Added.
9674 (pdump_dump_opaquevec): Added.
9675 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9676 (pdump_load): Reload opaque data. Sync noninteractive1 with
9679 2000-02-10 Andy Piper <andy@xemacs.org>
9681 * glyphs.c (image_instance_layout): if the size changes, mark it
9684 * redisplay-output.c (redisplay_output_layout): Update the
9686 (redisplay_output_subwindow): ditto.
9688 * glyphs.c (update_subwindow): make sure we reset flags for
9689 layouts as well as everything else.
9691 * glyphs-widget.c (layout_layout): don't need to set the instances
9694 2000-02-09 Martin Buchholz <martin@xemacs.org>
9696 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9697 not HAVE_DLOPEN, which is a lower-level thing.
9699 * .cvsignore: Ignore gmon.out
9701 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9703 * .cvsignore: Ignore portable dumper xemacs.dmp file
9705 2000-02-09 Andy Piper <andy@xemacs.org>
9707 * redisplay-output.c (redisplay_output_layout): be more clever
9708 about when we output based on the changed flags.
9710 * glyphs.h (struct image_instantiator_methods): add update_method.
9711 (struct Lisp_Image_Instance): add changed flags. Declare new
9712 macros for manipulating them.
9714 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9715 (image_instance_parent_glyph): find an image_instance's parent
9716 glyph or image_instance.
9717 (image_instance_layout): mark the size as changed.
9718 (set_image_instance_dirty_p): new function. mark an image
9719 instance, plus all of its parents, as dirty.
9720 (Fset_image_instance_property): use it.
9721 (Fglyph_animated_timeout_handler): use it.
9722 (update_subwindow): call update_widget and device methods for
9723 update_subwindow. Mark all changed flags as clean.
9724 (Fresize_subwindow): mark size as changed.
9726 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9728 (x_update_subwindow): only resize subwindows here.
9729 (x_update_widget): new function. Update all changed properties of
9731 (x_resize_subwindow): deleted.
9732 (x_widget_set_property): deleted.
9733 (x_progress_gauge_set_property): deleted.
9734 (x_progress_gauge_update): new function. Implement recorded
9736 (x_tab_control_update): ditto.
9737 (x_tab_control_set_property): deleted.
9738 (console_type_create_glyphs_x): declare new functions.
9739 (image_instantiator_format_create_glyphs_x): ditto.
9741 * glyphs-widget.c (widget_set_property): mark text changed.
9742 (update_widget): new function. Update properties of a widget.
9743 (widget_instantiate): for layouts make sure we set their
9744 children's parent correctly.
9745 (tab_control_set_property): new function. Record changes that will
9746 take place under redisplay's control.
9747 (progress_gauge_set_property): ditto.
9748 (image_instantiator_progress_guage): declare new functions.
9749 (image_instantiator_tab_control): ditto.
9751 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9753 (mswindows_update_widget): new function. Update all properties on
9754 a widget that have changed.
9755 (mswindows_button_update): new function. Update a button's set
9757 (mswindows_tab_control_update): new function. Update the items in
9759 (mswindows_tab_control_set_property): deleted.
9760 (mswindows_progress_gauge_update): new function. Update the
9761 progress gauge's progress.
9762 (mswindows_widget_set_property): deleted. This is all done
9764 (mswindows_progress_gauge_set_property): ditto.
9765 (console_type_create_glyphs_mswindows): declare new methods.
9766 (image_instantiator_format_create_glyphs_mswindows): ditto.
9768 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9769 (msprinter_set_frame_properties): ditto.
9771 * console.h (struct console_methods): Add update_widget_method.
9773 2000-02-09 Andy Piper <andy@xemacs.org>
9775 * gui-msw.c (Fmswindows_shell_execute): Make
9776 mswindows-shell-execute industrial strength.
9778 2000-02-08 Martin Buchholz <martin@xemacs.org>
9780 * lrecord.h: Make macro argument `props' match member function `plist'.
9784 * fns.c (Fobject_plist):
9787 Object property list frobbing cleanup.
9788 - Allow any lisp object (compared with `eq'), not just symbols, as
9789 keys in object plists.
9790 - Move symbol plist frobbing into symbols.c, where it belongs.
9791 - Move string plist frobbing into alloc.c, where it belongs.
9792 - Everything's an lrecord now, so no need to test for symbolp, etc.
9793 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9795 * extents.c: Reorder code to remove declarations.
9797 * frame.h (store_in_alist): Remove useless declaration.
9799 2000-02-07 Martin Buchholz <martin@xemacs.org>
9801 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9802 * config.h.in: Add HAVE_XCONVERTCASE.
9804 2000-02-07 Andy Piper <andy@xemacs.org>
9806 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9807 it breaks many things.
9809 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9811 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9812 actually can start a common comment type.
9813 * src/syntax.h (SYNTAX_END_P): ditto for end.
9815 2000-02-07 Martin Buchholz <martin@xemacs.org>
9817 * XEmacs 21.2.28 is released.
9819 2000-02-06 Martin Buchholz <martin@xemacs.org>
9821 * event-Xt.c (x_keysym_to_character): New.
9822 (maybe_define_x_key_as_self_inserting_character): New.
9823 (x_has_keysym): New.
9824 Auto-define all keys on the keyboard as self-insert-key.
9826 2000-02-02 Martin Buchholz <martin@xemacs.org>
9828 * menubar.c (vars_of_menubar): A small code simplification.
9830 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9837 Use consistent style for specifying X resources.
9839 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9840 This makes (dontusethis-set-symbol-value-handler) actually usable.
9842 * lrecord.h (lrecord_decription_type):
9843 * alloc.c (pdump_register_sub):
9846 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9847 Comply with XEmacs coding style.
9848 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9849 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9851 * keymap.c (Faccessible_keymaps):
9852 Make (accessible-keymaps map "\C-h") do the Right Thing.
9853 Make (accessible-keymaps map []) do the Right Thing.
9854 Make (accessible-keymaps map "") do the Right Thing.
9855 (check_keymap_definition_loop): New function.
9856 (keymap_store_internal): Keep luser from shooting self in foot,
9857 via (define-key ctl-x-4-map "p" global-map).
9858 Remove fullness slot from struct Lisp_Keymap, since hash tables
9860 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9862 2000-01-30 Martin Buchholz <martin@xemacs.org>
9864 * redisplay.c (init_redisplay): Fix small memory leak.
9866 * elhash.c (pdump_reorganize_hash_table):
9867 Rename from reorganize_hash_table. Change prototype.
9868 Reuse the original memory for hentries. Save 100k.
9869 * alloc.c (PDUMP_READ): new macro.
9870 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9871 * alloc.c: No need to #ifndef before #undef.
9873 * print.c: Allow debug_print() to print readably by modifying
9874 debug_print_readably. Use consistent variable names.
9876 * .dbxrc: Try to get things to work even if stopped in a function
9877 without source available by explicitly specifying source files.
9878 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9880 * unexnt.c (_start): Removed bogus code which caused loading heap
9881 from differrent executable file.
9882 Removed bogus assignment to _fmode, which caused inconsistencies.
9884 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9886 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9887 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9888 Do not preliminary `#define signal sigset'.
9890 * systime.h: Do not prototype environ on windows nt and cygwin,
9891 this conflicts with system header.
9893 * syssignal.h: Use correct define for WINDOWSNT
9895 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9898 * sysdep.c (near start of file): Fixed commentary and rearranged
9899 ifdefs in readable order.
9900 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9903 (end_of_data): Do not compile in if using PDUMP.
9905 * symsinit.h: Prototyped vars_of_nt().
9907 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9908 (find_child_console): Use it.
9911 * ntheap.h: Do not extern os_subtype.
9913 * ntheap.c (cache_system_info): Do not cache unneeded:
9914 nt_major_version, nt_minor_version and os_subtype.
9915 (recreate_heap): Do not compile in when PDUMPing.
9917 * nt.c (geteuid and friends): Use the new varibale
9918 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9919 (init_user_info): Removed the above mentioned hackery.
9920 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9921 stat has been fixed in the C runtime.
9922 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9924 * file-coding.c (struct file_coding_dump): Do not define
9925 ucs_to_mule_table in the struct if not MULE.
9926 (struct struct lrecord_description fcd_description_1): Do not dump
9929 * emacs.c (main_1): Call vars_of_nt().
9930 (right before Fdump_emacs_data): Don't need lastfile if using both
9931 portabe dumper and system malloc.
9933 * alloc.c (Fmemory_limit): Conditionalized out.
9934 (pdump): Use OPEN_BINARY for the portable dump file.
9935 (pdump_load): Ditto.
9937 2000-02-02 Mike Alexander <mta@arbortext.com>
9939 * nt.c (convert_time): Set tm_isdst before calling mktime and
9940 avoid calling it at all if the compiler supports 64 bit integers.
9941 Also initialize utc_base_ft before using it.
9943 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9945 * frame.c (change_frame_size_1): Take f->internal_border_width
9946 into consideration when calculating the width of the frame.
9948 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9950 * window.c (frame_min_height):
9951 (frame_size_valid_p):
9952 (frame_pixsize_valid_p): Added.
9953 (check_frame_size): Generalized.
9955 * window.h: Prototyped the above.
9958 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
9959 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
9960 Deleted Vwin32_* and Vbinary_process_* unused variables.
9962 * device-msw.c (msprinter_init_device): Do not get printer font
9963 list; Added DEVMODE functions.
9965 * frame-msw.c: Added lots of printer code.
9967 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
9970 * console-msw.h: Added more msprinter device private slots.
9972 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9974 * event-msw.c (key_needs_default_processing_p): Added.
9975 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
9977 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9979 * glyphs.c (image_instance_layout): Mark image instance as clean
9981 (glyph_dirty_p): Removed redundant function.
9982 (invalidate_glyph_geometry_maybe): Added.
9983 (update_glyph_cachel_data): Call it.
9985 * glyphs.h: Prototyped it.
9987 * redisplay.c (add_glyph_rune): Call it.
9988 (redisplay_window): Reset glyphs cachels when frame faces have
9989 changed, thus forcing recomputation of built-in border glyphs.
9991 2000-01-30 Martin Buchholz <martin@xemacs.org>
9993 * Makefile.in.in: Make portable dumper and purify play well together.
9994 Add imperfect, but better than nothing, support for pdump.
9995 Remove xemacs.dmp when temacs is re-generated.
9996 Don't ignore errors when dumping xemacs.
9998 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10000 2000-01-28 Andy Piper <andy@xemacs.org>
10002 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10003 (setup_normal_frame): ditto.
10004 (setup_frame_without_minibuffer): ditto.
10005 (setup_minibuffer_frame): ditto.
10006 (delete_frame_internal): ditto.
10007 (Fmake_frame_invisible): ditto.
10008 (Ficonify_frame): ditto.
10010 * window.h: change Fset_window_buffer signature.
10012 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10013 (Fset_window_buffer): allow recording of buffer if the window is
10014 the selected window.
10015 (window_loop): Use new Fset_window signature.
10017 2000-01-23 Daniel Pittman <daniel@danann.net>
10019 * config.h.in: Added template for `HAVE_ATHENA_3D'
10021 2000-01-29 Andy Piper <andy@xemacs.org>
10023 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10025 * gutter.c (output_gutter): Don't output if the window isn't live.
10027 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10029 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10030 of 01/12/00: Moved SetFocus back here where it belongs.
10032 2000-01-23 Andy Piper <andy@xemacs.org>
10034 * s/cygwin32.h: declare printer things.
10036 2000-01-26 Andy Piper <andy@xemacs.org>
10038 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10041 2000-01-24 Andy Piper <andy@xemacs.org>
10043 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10044 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10046 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10048 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10050 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10052 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10053 (mswindows_output_display_block): Avoid local shadows.
10055 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10056 (mswindows_enqueue_mouse_button_event): ditto.
10057 (mswindows_handle_gui_wm_command): remove declaration.
10059 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10062 * console-msw.h: Avoid shadows.
10063 (mswindows_get_toolbar_button_text):
10064 (emacs_mswindows_create_stream_pair):
10065 (emacs_mswindows_delete_stream_pair):
10066 (mswindows_handle_toolbar_wm_command): declare.
10068 * device-msw.c (build_syscolor_string): Avoid shadows.
10070 2000-01-23 Andy Piper <andy@xemacs.org>
10072 * glyphs-widget.c (widget_instantiate): reverse the items for
10073 layouts so that children are in the expected order.
10075 2000-01-28 Martin Buchholz <martin@xemacs.org>
10077 * ralloc.c: safe_bcopy ==> memmove
10078 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10079 * s/msdos.h: Remove BCOPY macros.
10080 * insdel.c (gap_right): Remove BCOPY conditional code.
10081 * insdel.c (gap_left): Remove BCOPY conditional code.
10082 XEmacs demands a working ANSI C compiler - hence memmove.
10084 * regex.c (regex_compile): Remove accidental use of trigraphs.
10086 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10088 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10091 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10093 * event-msw.c (mswindows_drain_windows_queue): Added the
10095 (mswindows_need_event): Commented the call to
10096 mswindows_drain_windows_queue().
10097 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10100 * console-msw.h: Moved a few function prototypes here from
10103 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10104 parameter from unsigned short to unsigned long.
10105 (Fmswindows_shell_execute): Added return value.
10107 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10109 * sysdep.c (init_system_name):
10110 process-unix.c (unix_canonicalized_host_name):
10111 Don't call freeaddrinfo() if getaddrinfo() fails.
10113 * process-unix.c (unix_open_unix_network_stream):
10114 Moved the code to get a port # into address loop.
10116 2000-01-27 Martin Buchholz <martin@xemacs.org>
10118 * buffer.c (reinit_vars_of_buffer):
10119 The right place to initialize conversion_in_dynarr and
10120 conversion_out_dynarr.
10122 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10124 * process-unix.c (unix_canonicalize_host_name): Muleize.
10125 (unix_open_network_stream): Muleize.
10127 * buffer.h: Fix up prototypes for ralloc.c functions.
10129 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10130 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10131 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10132 instead of gethostbyname()
10133 * process-unix.c: In unix_canonicalize_host_name() and
10134 unix_open_network_stream(), add code to use getaddrinfo()
10135 instead of gethostbyname().
10137 2000-01-27 Daniel Pittman <daniel@danann.net>
10139 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10140 libs when built with flat Athena.
10142 2000-01-27 Martin Buchholz <martin@xemacs.org>
10144 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10145 Use coding standards for function prototypes.
10147 2000-01-25 Martin Buchholz <martin@xemacs.org>
10149 * dialog-msw.c (push_lisp_string_as_unicode):
10150 * doc.c (unparesseuxify_doc_string):
10151 * dired.c (Fuser_name_completion_1):
10152 * dired.c (Fuser_name_all_completions):
10153 * dired.c (free_user_cache):
10154 * dired.c (user_name_completion):
10155 * console-x.c (get_display_arg_connection):
10156 * minibuf.c (clear_echo_area_internal):
10157 * minibuf.c (echo_area_append):
10158 * eldap.c (Fldap_open):
10159 * eldap.c (Fldap_search_internal):
10160 * frame-x.c (x_set_frame_text_value):
10161 * frame-x.c (x_set_frame_properties):
10162 * frame-x.c (x_create_widgets):
10163 * redisplay-tty.c (term_get_fkeys_1):
10164 * objects-x.c (x_parse_nearest_color):
10165 * objects-x.c (x_valid_color_name_p):
10166 * objects-x.c (x_initialize_font_instance):
10167 * objects-x.c (x_list_fonts):
10168 * objects-x.c (x_find_charset_font):
10169 * tooltalk.c (Fadd_tooltalk_message_arg):
10170 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10171 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10172 * process-unix.c (unix_create_process):
10173 * ntproc.c (sys_spawnve):
10174 * sound.c (Fplay_sound_file):
10175 * sound.c (Fplay_sound):
10176 * buffer.c (init_initial_directory):
10177 * buffer.c (init_buffer):
10178 * editfns.c (init_editfns):
10179 * editfns.c (Ftemp_directory):
10180 * editfns.c (Fuser_full_name):
10181 * editfns.c (uncache_home_directory):
10182 * editfns.c (get_home_directory):
10183 * editfns.c (Fuser_home_directory):
10184 * editfns.c (Fformat_time_string):
10185 * editfns.c (Fcurrent_time_string):
10186 * gui-x.c (button_item_to_widget_value):
10187 * database.c (Fopen_database):
10188 * event-Xt.c (x_to_emacs_keysym):
10189 * event-Xt.c (x_event_to_emacs_event):
10190 * event-Xt.c (describe_event_window):
10191 * event-msw.c (mswindows_wnd_proc):
10192 * glyphs-eimage.c (jpeg_instantiate):
10193 * glyphs-eimage.c (gif_instantiate):
10194 * glyphs-eimage.c (png_instantiate):
10195 * glyphs-eimage.c (tiff_instantiate):
10196 * glyphs-x.c (xbm_instantiate_1):
10197 * glyphs-x.c (x_xbm_instantiate):
10198 * glyphs-x.c (x_xface_instantiate):
10199 * glyphs-x.c (autodetect_instantiate):
10200 * glyphs-x.c (cursor_font_instantiate):
10201 * glyphs-x.c (x_widget_instantiate):
10202 * glyphs-x.c (x_widget_set_property):
10203 * glyphs-x.c (x_widget_property):
10204 * glyphs-x.c (BUILD_GLYPH_INST):
10205 * print.c (write_string_to_stdio_stream):
10206 * print.c (output_string):
10207 * print.c (Falternate_debugging_output):
10208 * print.c (Fexternal_debugging_output):
10209 * glyphs-msw.c (extract_xpm_color_names):
10210 * glyphs-msw.c (mswindows_xpm_instantiate):
10211 * glyphs-msw.c (bmp_instantiate):
10212 * glyphs-msw.c (resource_name_to_resource):
10213 * glyphs-msw.c (mswindows_resource_instantiate):
10214 * glyphs-msw.c (xbm_instantiate_1):
10215 * glyphs-msw.c (mswindows_xbm_instantiate):
10216 * glyphs-msw.c (mswindows_xface_instantiate):
10217 * glyphs-msw.c (mswindows_widget_instantiate):
10218 * glyphs-msw.c (add_tree_item):
10219 * glyphs-msw.c (add_tab_item):
10220 * glyphs-msw.c (mswindows_combo_box_instantiate):
10221 * glyphs-msw.c (mswindows_widget_property):
10222 * glyphs-msw.c (mswindows_combo_box_property):
10223 * glyphs-msw.c (mswindows_widget_set_property):
10224 * console.c (stuff_buffered_input):
10225 * objects-msw.c (mswindows_initialize_color_instance):
10226 * objects-msw.c (mswindows_valid_color_name_p):
10227 * objects-msw.c (mswindows_list_fonts):
10228 * objects-msw.c (mswindows_font_instance_truename):
10229 * bytecode.c (optimize_compiled_function):
10230 * select-x.c (symbol_to_x_atom):
10231 * select-x.c (x_atom_to_symbol):
10232 * select-x.c (hack_motif_clipboard_selection):
10233 * select-x.c (selection_data_to_lisp_data):
10234 * select-x.c (lisp_data_to_selection_data):
10235 * select-x.c (Fx_get_cutbuffer_internal):
10236 * select-x.c (Fx_store_cutbuffer_internal):
10237 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10238 * buffer.h (TO_INTERNAL_FORMAT): New function.
10239 * emacs.c (make_arg_list_1):
10240 * emacs.c (make_argc_argv):
10241 * emacs.c (main_1):
10242 * emacs.c (Fdump_emacs):
10243 * emacs.c (split_string_by_emchar_1):
10248 * device-x.c (x_init_device):
10249 * device-x.c (Fx_valid_keysym_name_p):
10250 * device-x.c (Fx_get_font_path):
10251 * device-x.c (Fx_set_font_path):
10252 * glyphs.c (bitmap_to_lisp_data):
10253 * glyphs.c (pixmap_to_lisp_data):
10254 * alloc.c (make_ext_string): Use coding system arguments. Update
10256 * alloc.c (build_string):
10257 * callproc.c (child_setup):
10258 * callproc.c (init_callproc):
10259 * fileio.c (lisp_strerror):
10260 * fileio.c (directory_file_name):
10261 * fileio.c (Fexpand_file_name):
10262 * fileio.c (Ffile_truename):
10263 * fileio.c (Fsysnetunam):
10264 * fileio.c (Fdo_auto_save):
10265 * sysdep.c (sys_readdir):
10266 * tests.c: New file. Allow adding C tests.
10267 Replace GET_* macros with a more comprehensible and flexible
10268 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10270 Any coding system can be used to do format conversion.
10271 Eliminate enum external_data_format.
10272 Eliminate convert_to_external_format.
10273 Eliminate convert_to_internal_format.
10274 Make sure file-name, keyboard, terminal, and ctext are always
10275 defined as coding systems or aliases. Make
10276 file-name-coding-system, terminal-coding-system, and
10277 keyboard-coding-system magical variables that are equivalent to
10278 defining the corresponding coding system aliases.
10280 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10281 * file-coding.c (Fcoding_system_alias_p): New function.
10282 * file-coding.c (Fcoding_system_aliasee): New function.
10283 * file-coding.c (append_suffix_to_symbol): New function.
10284 * file-coding.c (dangling_coding_system_alias_p): New function.
10285 * file-coding.c (Ffind_coding_system):
10286 * file-coding.c (Fcopy_coding_system):
10287 * file-coding.c (encode_coding_no_conversion):
10288 * file-coding.c (syms_of_file_coding):
10289 * file-coding.c (vars_of_file_coding):
10290 Rewrite coding system alias code.
10291 Allow nested aliases, like symbolic links.
10292 Allow redefinition of coding system aliases.
10293 Prevent existence of dangling coding system aliases.
10295 * dired.c (Fuser_name_completion_1):
10296 * dired.c (Fuser_name_all_completions):
10297 A crash would happen if user did QUIT in the middle of building
10298 user_name_cache. Remove redundant code in mainline and unwind_protect.
10301 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10303 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10304 an unsigned char *. Update all callers.
10306 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10308 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10310 2000-01-25 Martin Buchholz <martin@xemacs.org>
10312 * elhash.c (hentry_description): Use more portable definition.
10313 (resize_hash_table): Initialize new hentries using
10314 xnew_array_and_zero, thereby simplifying the code.
10316 * mule-charset.c (make_charset): Make sure entire object is
10317 initialized, to avoid Purify warnings.
10319 * alloc.c (resize_string): Fix unlikely crash with big strings.
10321 2000-01-24 Martin Buchholz <martin@xemacs.org>
10323 * realpath.c (xrealpath):
10324 Don't call getwd().
10326 2000-01-25 Martin Buchholz <martin@xemacs.org>
10328 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10330 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10332 * unexelfsgi.c (unexec): Change the way we decide which segment
10333 should be extended.
10335 Assumption that .bss section should be outside the PT_LOADable
10336 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10337 it's present) is inside the 'data' segment. This would fail the
10338 test which was used to find a segment to grow and cover new
10339 heap. Instead of this assumption, I created another one - on IRIX
10340 the segment to grow should start below .bss and it's address
10341 should extent above the end of .bss. Once this segment is
10342 identified, it's grown to accommodate the new heap and new
10343 zero-length .bss section is added at the end of .data2.
10345 2000-01-25 Martin Buchholz <martin@xemacs.org>
10347 * eval.c (Feval): Wrong number of arguments should use original
10348 function, not the indirect_function version of it.
10350 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10352 * glyphs-x.c (x_button_instantiate): Don't add image if
10353 it is not a pixmap.
10354 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10357 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10359 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10361 (DEFVAR_INT_MAGIC): Ditto.
10362 (DEFVAR_BOOL_MAGIC): Ditto.
10363 * glyphs.h: Reindent backslash.
10365 2000-01-24 Martin Buchholz <martin@xemacs.org>
10367 * glyphs-widget.c (layout_query_geometry):
10368 (layout_layout): Use correct types for gheight, gwidth.
10370 2000-01-24 Martin Buchholz <martin@xemacs.org>
10372 * EmacsManager.c (QueryGeometry): Purified.
10374 2000-01-23 Martin Buchholz <martin@xemacs.org>
10376 * alloc.c (make_float): Make sure entire object is initialized, to
10377 avoid Purify warnings.
10378 (pdump_register_sub): Remove useless assignment.
10379 (pdump): Use xmalloc, not malloc.
10380 (pdump_load): Use xmalloc, not malloc.
10382 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10389 * sysdep.c: Removed redundant #include <windows.h>
10391 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10393 * frame.c (delete_frame_internal): Do not delete device when its
10394 implementation so declares.
10395 (delete_frame_internal): Set device selected frame to nil when
10396 last frame goes away.
10398 * device-msw.c (msprinter_device_system_metrics): Implemented.
10399 (mswindows_device_system_metrics): Added 'device-dpi property.
10401 * device.c: (Fdevice_printer_p): Added.
10402 Added 'offset-workspace device metric.
10404 * console.h (device_metrics): Declared DM_offset_workspace.
10406 2000-01-23 Martin Buchholz <martin@xemacs.org>
10408 * fileio.c (Ffile_truename): Remove pointless and confusing
10409 initialization of elen.
10411 * glyphs-widget.c: Compiler warning fixes.
10413 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10415 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10416 instead of a Lisp_Object as argument to make it consistent with
10417 the other LIVE_P macros.
10418 (CHECK_LIVE_PROCESS): New macro.
10420 * process.c: Declare Qprocess_live_p.
10421 (Fprocess_live_p): New function.
10422 (create_process): Use PROCESS_LIVE_P.
10423 (read_process_output): Ditto.
10424 (set_process_filter): Ditto.
10425 (Fdelete_process): Ditto.
10426 (kill_buffer_processes): Ditto
10427 (process_send_signal): Use CHECK_LIVE_PROCESS.
10428 (Fprocess_input_coding_system): Check whether process is still
10429 alive (fix PR#1061).
10430 (Fprocess_output_coding_system): Ditto.
10431 (Fprocess_coding_system): Ditto.
10432 (Fset_process_input_coding_system): Ditto.
10433 (Fset_process_output_coding_system): Ditto.
10435 2000-01-23 Andy Piper <andy@xemacs.org>
10437 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10440 * glyphs.c (mark_image_instance): take into account changed
10441 image_instance format.
10442 (image_instance_equal): ditto.
10443 (image_instance_hash): ditto.
10445 * glyphs-widget.c (widget_instantiate): Incorporate layout
10446 instantiation here. Delay layout of the layout until later.
10447 (layout_instantiate): deleted.
10448 (layout_query_geometry): new function. get the geometry of a
10450 (layout_layout): layout a layout dynamically.
10451 (image_instantiator_widget): New function - splitting up
10452 image_instantiator_format_create_glyphs_widget for netwinder
10454 (image_instantiator_buttons):
10455 (image_instantiator_edit_fields):
10456 (image_instantiator_combo_box):
10457 (image_instantiator_scrollbar):
10458 (image_instantiator_progress_guage):
10459 (image_instantiator_tree_view):
10460 (image_instantiator_tab_control):
10461 (image_instantiator_labels):
10462 (image_instantiator_layout): ditto.
10463 (image_instantiator_format_create_glyphs_widget): Call preceding
10466 2000-01-22 Martin Buchholz <martin@xemacs.org>
10468 * process.c (Fset_process_coding_system):
10469 * device-x.c (Fx_keysym_hash_table):
10472 * lstream.c (Lstream_write): Return documented value, not 0.
10474 * fileio.c (directory_file_name):
10475 (Fsubstitute_in_file_name):
10476 (Fsubstitute_insert_file_contents_internal):
10477 (Fwrite_region_internal):
10482 Remove vestigial APOLLO-conditional code.
10484 2000-01-21 Martin Buchholz <martin@xemacs.org>
10486 * getpagesize.h: Add guard macros.
10487 * libsst.h: Add guard macros.
10488 * libst.h: Add guard macros.
10489 * line-number.h: Add guard macros.
10490 * ndir.h: Add guard macros.
10491 * sysfloat.h: Add guard macros.
10492 * sysfile.h: Add guard macros.
10493 * sysproc.h: Add guard macros.
10494 * syswait.h: Add guard macros.
10495 * xintrinsic.h: Add guard macros.
10496 * xintrinsicp.h: Add guard macros.
10497 * xmmanager.h: Add guard macros.
10498 * xmmanagerp.h: Add guard macros.
10499 * xmprimitive.h: Add guard macros.
10500 * xmu.h: Add guard macros.
10501 * gpmevent.h: Add copyright statement. Add guard macros.
10502 * miscplay.h: Add guard macros.
10503 * *.h: Use consistent C-standards-approved guard macro names.
10505 * opaque.c (make_opaque): Switch parameter order.
10506 * opaque.h (make_opaque): Switch parameter order.
10507 Update all callers.
10508 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10510 * config.h.in (type_checking_assert): Added.
10511 (bufpos_checking_assert): Added.
10513 2000-01-21 Martin Buchholz <martin@xemacs.org>
10515 * alloc.c: Harmless pdump changes.
10517 - spell alignment correctly.
10518 * sysdep.c: Use countof()
10520 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10522 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10523 initially_selected_for_input() console method, default to 0.
10524 (semi_canonicalize_console_connection): Try to delegate to
10525 canonicalize_console_connection if no such console method.
10526 (canonicalize_console_connection): Vice versa.
10527 (print_console): Do not print nil connection.
10529 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10530 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10531 (XDEVIMPF_FRAMELESS_OK): Added.
10532 (CONSOLE_INHERITS_METHOD): Added.
10534 * console-msw.c (mswindows_canonicalize_console_connection):
10536 (mswindows_canonicalize_device_connection): Added.
10538 * console-msw.h (struct msprinter_device): Added this struct and
10540 (mswindows_device): Made fontlist a lisp object.
10542 * device.c (semi_canonicalize_device_connection): Try to delegate
10543 to canonicalize_device_connection if no such console method.
10544 (canonicalize_device_connection): Vice versa.
10545 (print_device): Do not print nil connection.
10547 * device-msw.c (mswindows_init_device): Call InitCommonControls
10549 (mswindows_delete_device): Removed fontlist deallocation.
10550 (mswindows_mark_device): Added.
10552 * events.c (event_equal): Added abort() at unreached code.
10553 (event_hash): Ditto.
10555 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10556 fallback tags of Windows devices.
10558 * general.c (syms_of_general): Initialized Qmsprinter.
10560 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10561 of fallback tags of Windows devices.
10563 * lisp.h: Declared Qmsprinter.
10565 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10567 (mswindows_list_fonts): Ditto.
10568 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10569 that it can be used by both mswindows and msprinter devices.
10570 (initialize_font_instance): Added.
10571 (mswindows_initialize_font_instance): Use it.
10572 (msprinter_initialize_font_instance): Added.
10574 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10575 and implementation flags check.
10576 (redisplay_without_hooks): Changed the call to the above.
10577 (Fredraw_device): Ditto.
10578 (Fredisplay_device): Ditto.
10580 * redisplay-msw.c (get_frame_dc): Implemented.
10581 (get_frame_compdc): Implemented.
10582 (many functions): Use the two functions above to get device
10583 contexts, ether for a window or a printer.
10585 2000-01-21 Olivier Galibert <galibert@pobox.com>
10587 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10588 initialization here.
10589 (init_symbols_once_early): Call it.
10590 * emacs.c (main_1): Call it.
10591 * symsinit.h: Declare it.
10593 2000-01-19 Olivier Galibert <galibert@pobox.com>
10595 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10597 (pdump_backtrace): Ditto.
10598 (pdump_register_object): Ditto. Cleanup use of the pointers.
10599 (pdump_get_entry): Abort if trying to register a null pointer.
10600 (pdump_dump_data): Cleanup types when relocating.
10601 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10602 (pdump_dump_rtables): Remove bad casts.
10603 (pdump_load): Cleanup relocation w.r.t union type. Use a
10604 Lisp_Object instead of a EMACS_INT for the hashtable
10607 2000-01-20 Martin Buchholz <martin@xemacs.org>
10609 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10611 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10613 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10615 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10617 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10619 * faces.h (FACE_STRIKETHRU_P): Added.
10621 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10624 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10625 (mswindows_set_dc_font): New function, aware of font variants,
10626 separated from mswindows_update_dc.
10628 * objects-msw.h (struct mswindows_font_instance_data): Added
10631 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10632 cached fonts and the data structure.
10633 (mswindows_initialize_font_instance): Added creation of font data
10635 (mswindows_print_font_instance): Print at least something.
10636 (mswindows_create_font_variant): Implemented.
10637 (mswindows_get_hfont): Implemented.
10639 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10641 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10642 prototyping problem with msvc.
10644 * emacs.c (main_1): added syms_of_gui_mswindows() call
10646 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10647 syms_of_gui_mswindows() function
10649 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10651 2000-01-18 Martin Buchholz <martin@xemacs.org>
10653 * XEmacs 21.2.27 is released.
10655 2000-01-18 Martin Buchholz <martin@xemacs.org>
10657 * glyphs-eimage.c (struct tiff_error_struct):
10659 (tiff_warning_func):
10660 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10665 * unexec.c: Remove vestigial Lucid C code.
10669 * libsst.c: Ansify.
10670 Remove declarations of errno and strerror().
10672 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10674 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10676 2000-01-16 Martin Buchholz <martin@xemacs.org>
10678 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10681 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10686 Change enum eol_type to eol_type_t.
10688 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10690 * gui.c (get_gui_callback): Check cons before accessing car.
10692 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10694 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10695 (XSETSPECIFIER_TYPE): Ditto.
10697 2000-01-17 Didier Verna <didier@xemacs.org>
10699 * redisplay.c (generate_fstring_runes): compute string size in
10700 characters, not bytes.
10702 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10704 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10706 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10708 * print.c (print_error_message): Call print_prepare().
10710 2000-01-14 Martin Buchholz <martin@xemacs.org>
10712 * .dbxrc: Renamed from dbxrc.
10714 * events.c (event_to_character):
10715 Use `assert (foo)' instead of `if (!foo) abort()'
10717 * .gdbinit (xtype): Add documentation.
10718 * .gdbinit (check-temacs): New function.
10719 * .gdbinit (check-xemacs): New function.
10720 * dbxrc (check-xemacs): New function.
10721 * dbxrc (check-xemacs): New function.
10723 2000-01-14 Andy Piper <andy@xemacs.org>
10725 * glyphs-widget.c (widget_query_geometry): Make sure that we
10726 calculate default dimensions correctly.
10728 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10730 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10732 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10733 pdump_wire'd variable.
10735 * emacs.c: (main_1): Conditionalized calls to
10736 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10738 2000-01-13 Martin Buchholz <martin@xemacs.org>
10740 * window.c (Fset_window_configuration):
10741 * sysdep.c (_start):
10742 * input-method-motif.c (res):
10743 * event-Xt.c (Xt_process_to_emacs_event):
10744 Simple compiler warning fixes.
10746 * bytecode.c (funcall_compiled_function): Use the original
10747 function symbol on the backtrace list in preference to the
10748 compiled_function object in error messages.
10750 2000-01-13 Andy Piper <andy@xemacs.org>
10752 * glyphs-x.c (update_widget_face): Make sure we update the widget
10753 background as well as foreground.
10755 2000-01-13 Andy Piper <andy@xemacs.org>
10757 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10758 fields to subwindow.
10759 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10760 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10761 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10762 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10764 * glyphs-widget.c (check_valid_tab_orientation): new function.
10765 (initialize_widget_image_instance): zero orientation and
10767 (widget_instantiate): pick up orientation.
10768 (tab_control_query_geometry): return appropriate values for
10771 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10772 appropriate creation flags for left, right and bottom tabs.
10774 * s/cygwin32.h: add tab definitions.
10776 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10778 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10779 frame upon hiding a subwindow.
10780 (mswindows_button_instantiate): Changed the push button style to
10782 (mswindows_button_instantiate): Removed button BS_NOTIFY
10784 (mswindows_button_instantiate): Removed redundant check for
10785 a disabled gui item.
10786 (mswindows_button_instantiate): Made use of WS_TABSTOP
10787 consistent: "operable" controls (edit, button, tree, scroll) have
10788 this style, "display-only" ones (static, progress gauge) do
10789 not. This style is currently ignored by XEmacs though. Also,
10790 removed the WS_EX_CONTROLPARENT style - it is not for children,
10791 it is for their parents!
10792 (mswindows_edit_field_instantiate): Ditto.
10793 (mswindows_progress_gauge_instantiate): Ditto.
10794 (mswindows_tree_view_instantiate): Ditto.
10795 (mswindows_tab_control_instantiate): Ditto.
10796 (mswindows_scrollbar_instantiate): Ditto.
10797 (mswindows_combo_box_instantiate): Ditto.
10798 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10799 style to the "clip" window.
10800 (mswindows_button_instantiate): Removed compilation warning by
10801 equally typing terms of the ?: operator.
10803 2000-01-12 Didier Verna <didier@xemacs.org>
10805 * redisplay.c (generate_fstring_runes): new parameter holding the
10806 last modeline-format extent.
10807 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10808 extent, fill the glyph block with it.
10809 (generate_fstring_runes): handle these parameters.
10810 (generate_formatted_string_db): ditto.
10812 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10813 glyphs'extents in the modeline.
10815 1999-01-11 Mike Woolley <mike@bulsara.com>
10817 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10818 256Mb, as a workaround for the non-starting problem many people
10821 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10823 * console-tty.c (Fset_console_tty_output_coding_system):
10824 Force redrawing tty frame.
10826 2000-01-10 Didier Verna <didier@xemacs.org>
10828 * redisplay.c (generate_fstring_runes): fix size computation bug.
10830 2000-01-09 William M. Perry <wmperry@aventail.com>
10832 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10834 2000-01-09 Andy Piper <andy@xemacs.org>
10836 * glyphs-msw.c: index -> i to avoid shadows.
10837 (xbm_create_bitmap_from_data): make static.
10838 (check_valid_string_or_int): deleted.
10839 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10841 * glyphs-x.c (x_update_subwindow): remove unused args.
10843 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10844 back pointer - this is done in allocate_image_instance.
10845 (query_string_font): return Qnil to make the compiler happy.
10846 (unmap_subwindow): set to ~0 to make the compiler happy.
10847 (glyph_query_geometry): comment out until used.
10848 (glyph_layout): ditto.
10850 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10852 * insdel.c (signal_after_change): Remove extraneous unbind_to().