1 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (decode_builtin_char): New function; renamed from
4 `make_builtin_char'; return -1 instead of signal.
5 (Fdecode_builtin_char): Use `decode_builtin_char'.
7 * char-ucs.h (decode_builtin_char): New prototype; renamed from
9 (DECODE_CHAR): Use `decode_builtin_char' instead of
10 `make_builtin_char'; use mapping table of `chinese-big5' for
13 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * text-coding.c (char_encode_big5): New function.
16 (char_finish_big5): Likewise.
17 (reset_encoding_stream): Use `char_encode_big5' and
18 `char_finish_big5' for CODESYS_BIG5.
19 (mule_encode): Don't use `encode_coding_big5'.
20 (encode_coding_big5): Deleted.
22 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
25 0x81- in XEmacs UTF-2000.
26 (detect_coding_big5): Likewise.
28 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * mule-charset.c (Fdefine_char): Don't use a CCS property to
31 generate character-id if the CCS property does not have
32 corresponding predefined character.
33 (make_builtin_char): Return -1 if corresponding predefined
34 character is not found.
35 (Fdecode_char): Return nil if corresponding character is not
37 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
38 don't map to builtin ucs space.
40 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
43 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
45 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * mule-charset.c (Vcharset_ideograph_gt): New variable.
48 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
49 (Qideograph_gt): Likewise.
50 (Qideograph_gt_pj_{1..11}): Likewise.
51 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
52 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
54 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
55 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
56 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
58 * char-ucs.h (LEADING_BYTE_GT): New macro.
59 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
60 (MIN_CHAR_GT): Likewise.
61 (MAX_CHAR_GT): Likewise.
63 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
66 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
68 * doprnt.c (unsigned_int_converters): Add `c'.
69 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
71 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
72 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
74 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
75 (MAX_CHAR_MOJIKYO_0): New macro.
76 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
78 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
80 * mule-charset.c (Fdefine_char): Delete cemented out code.
81 (encode_builtin_char_1): Modify for new allocation of builtin
84 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
86 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * mule-charset.c (Vcharset_ucs_cns): New variable.
89 (Qucs_cns): New variable.
90 (syms_of_mule_charset): Add new symbol `ucs-cns'.
91 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
93 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
97 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
99 * search.c (search_buffer): Make `charset_base_code' as
100 character-id >> 6 to eliminate the corresponding last byte in
101 UTF-8 representation [I'm not sure it is right thing].
102 (boyer_moore): Likewise.
104 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
106 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
107 representation in MULE.
109 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
111 * text-coding.c (Fmake_coding_system): Use
112 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
113 `EXTERNAL_PROPERTY_LIST_LOOP'.
115 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * text-coding.c (decode_output_utf8_partial_char): New function.
118 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
120 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
122 * text-coding.c (decode_coding_utf8): Output original byte
123 sequence if it is broken; change order of conditions.
125 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
128 * mb-multibyte.h (BYTE_ASCII_P):
129 Use bit ops for char-signedness safety.
130 (BYTE_C0_P): Use bit ops for char-signedness safety.
131 (BYTE_C1_P): Use bit ops for char-signedness safety.
133 * character.h: (XCHAR_OR_CHAR_INT):
134 Always use inline function.
135 Remove redundant type checking assert() - XINT will abort quite
138 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * text-coding.c: (Fencode_shift_jis_char):
142 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
143 Replace 0 with '\0' when working with bytes.
144 Replace initial "(" with "\(" in docstrings.
146 (Fmake_coding_system):
147 When type is ccl and value is vector, register it with a proper
148 symbol. And checks whether the given ccl program is valid.
149 (mule_decode): When calling ccl_driver, if src indicates
150 NULL pointer, set an empty string instead.
151 (mule_encode): Likewise.
154 (detect_coding_sjis):
155 (decode_coding_sjis):
156 (detect_coding_big5):
157 (decode_coding_big5):
158 (detect_coding_ucs4):
159 (decode_coding_ucs4):
160 (detect_coding_utf8):
161 (decode_coding_utf8):
162 (detect_coding_iso2022):
163 (decode_coding_iso2022):
164 (decode_coding_no_conversion):
166 Make all detecting and decoding functions take an Extbyte * arg.
167 (text_encode_generic):
168 (encode_coding_big5):
169 (encode_coding_no_conversion):
171 Make all encoding functions take a Bufbyte * arg.
172 Use size_t instead of unsigned int for memory sizes.
173 Only cast to unsigned char whenever dereferencing Extbyte *.
175 (struct lrecord_description fcd_description_1): Use countof.
176 (complex_vars_of_file_coding):
177 Use countof instead of sizeof.
178 Use CHECK_NATNUM instead of CHECK_INT.
180 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * mule-charset.c (Fget_char_attribute): Add new optional argument
184 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
185 (remove_char_ccs): Likewise.
187 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * text-coding.c (char_encode_shift_jis): New implementation in
191 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
194 * mule-charset.c (Vcharset_chinese_big5): New variable in
196 (Qchinese_big5): New variable in UTF-2000.
197 (BIG5_SAME_ROW): New macro in UTF-2000.
198 (make_builtin_char): Use builtin characters of
199 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
200 characters of `Vcharset_chinese_big5'.
201 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
202 (complex_vars_of_mule_charset): Add new coded-charset
203 `chinese-big5' in UTF-2000.
205 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
206 (Vcharset_chinese_big5): New external variable declaration.
207 (Vcharset_japanese_jisx0208_1990): Likewise.
209 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
211 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
213 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
215 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
218 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
219 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
222 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
226 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
231 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
234 for `CHARSET_BY_ATTRIBUTES'.
235 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
236 `CHARSET_BY_ATTRIBUTES'.
238 * text-coding.c (struct decoding_stream): Rename member `CH' to
240 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
241 (decode_coding_sjis): Likewise.
242 (decode_coding_big5): Likewise.
243 (decode_coding_ucs4): Likewise.
244 (decode_coding_utf8): Likewise.
245 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
246 `CHARSET_BY_ATTRIBUTES'.
247 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
248 `str->counter'; decode 3, 4 bytes sets.
249 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
251 (decode_coding_no_conversion): Use `str->cpos' instead of
254 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
255 (Qmojikyo_2022_1): New variable.
256 (make_charset): Don't use `CHARSET_TYPE_*'.
257 (range_charset_code_point): Support coded-charset
259 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
260 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
261 `CHARSET_BY_ATTRIBUTES'.
262 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
263 `CHARSET_BY_ATTRIBUTES'.
264 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
265 (complex_vars_of_mule_charset): Add new coded-charset
268 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
269 interface; changed to inline function.
271 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
272 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
273 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
274 (CHARSET_TYPE_94): Deleted.
275 (CHARSET_TYPE_94X94): Deleted.
276 (CHARSET_TYPE_96): Deleted.
277 (CHARSET_TYPE_96X96): Deleted.
278 (CHARSET_TYPE_128): Deleted.
279 (CHARSET_TYPE_128X128): Deleted.
280 (CHARSET_TYPE_256): Deleted.
281 (CHARSET_TYPE_256X256): Deleted.
282 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
284 (DECODE_MOJIKYO_2022): New inline function.
285 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
286 `Vcharset_mojikyo_2022_1'.
288 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
292 (put_byte_table): Likewise.
293 (char_id_table_equal): Use `get_byte_table' [new implementation].
295 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
297 * mule-charset.c: Include <limits.h> in UTF-2000.
298 (BT_UINT8_MIN): New macro in UTF-2000.
299 (BT_UINT8_MAX): New macro in UTF-2000.
300 (BT_UINT8_t): New macro in UTF-2000.
301 (BT_UINT8_nil): New macro in UTF-2000.
302 (BT_UINT8_unbound): New macro in UTF-2000.
303 (INT_UINT8_P): New inline function in UTF-2000.
304 (UINT8_VALUE_P): New inline function in UTF-2000.
305 (UINT8_ENCODE): New inline function in UTF-2000.
306 (UINT8_DECODE): New inline function in UTF-2000.
307 (mark_uint8_byte_table): New function in UTF-2000.
308 (print_uint8_byte_table): New function in UTF-2000.
309 (uint8_byte_table_equal): New function in UTF-2000.
310 (uint8_byte_table_hash): New function in UTF-2000.
311 (make_uint8_byte_table): New function in UTF-2000.
312 (uint8_byte_table_same_value_p): New function in UTF-2000.
313 (BT_UINT16_MIN): New macro in UTF-2000.
314 (BT_UINT16_MAX): New macro in UTF-2000.
315 (BT_UINT16_t): New macro in UTF-2000.
316 (BT_UINT16_nil): New macro in UTF-2000.
317 (BT_UINT16_unbound): New macro in UTF-2000.
318 (INT_UINT16_P): New inline function in UTF-2000.
319 (UINT16_VALUE_P): New inline function in UTF-2000.
320 (UINT16_ENCODE): New inline function in UTF-2000.
321 (UINT16_DECODE): New inline function in UTF-2000.
322 (UINT8_TO_UINT16): New inline function in UTF-2000.
323 (mark_uint16_byte_table): New function in UTF-2000.
324 (print_uint16_byte_table): New function in UTF-2000.
325 (uint16_byte_table_equal): New function in UTF-2000.
326 (uint16_byte_table_hash): New function in UTF-2000.
327 (make_uint16_byte_table): New function in UTF-2000.
328 (uint16_byte_table_same_value_p): New function in UTF-2000.
329 (print_byte_table): New function in UTF-2000.
330 (byte-table): Use `print_byte_table' as printer.
331 (make_byte_table): Delete second argument `older'.
332 (byte_table_same_value_p): New function in UTF-2000.
333 (copy_byte_table): Deleted.
334 (get_byte_table): New function in UTF-2000.
335 (put_byte_table): New function in UTF-2000.
336 (print_char_id_table): New function in UTF-2000.
337 (char-id-table): Use `print_char_id_table' as printer.
338 (make_char_id_table): Delete second argument `older'.
339 (get_char_id_table): Use `get_byte_table [new implementation].
340 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
342 (Ffind_char_attribute_table): New function in UTF-2000.
343 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
344 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
345 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
346 (syms_of_mule_charset): Add new function
347 `find-char-attribute-table' in UTF-2000.
349 * lrecord.h (enum lrecord_type): Add
350 `lrecord_type_uint16_byte_table' and
351 `lrecord_type_uint8_byte_table'.
353 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
354 (Lisp_Uint8_Byte_Table): New type.
355 (XUINT8_BYTE_TABLE): New macro.
356 (XSETUINT8_BYTE_TABLE): New macro.
357 (UINT8_BYTE_TABLE_P): New macro.
358 (GC_UINT8_BYTE_TABLE_P): New macro.
359 (struct Lisp_Uint16_Byte_Table): New structure.
360 (Lisp_Uint16_Byte_Table): New type.
361 (XUINT16_BYTE_TABLE): New macro.
362 (XSETUINT16_BYTE_TABLE): New macro.
363 (UINT16_BYTE_TABLE_P): New macro.
364 (GC_UINT16_BYTE_TABLE_P): New macro.
366 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
369 (Vcharacter_ideographic_strokes_table): Deleted.
370 (Vcharacter_total_strokes_table): Deleted.
371 (Vcharacter_morohashi_daikanwa_table): Deleted.
372 (Vcharacter_decomposition_table): Deleted.
373 (Qname): Deleted because it is duplicated.
374 (Qideographic_radical): Deleted.
375 (Qideographic_strokes): Deleted.
376 (Qtotal_strokes): Deleted.
377 (Qmorohashi_daikanwa): Deleted.
378 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
379 `ideographic-radical', `ideographic-strokes', `total-strokes',
380 `morohashi-daikanwa' and `->decomposition'.
381 (Fget_char_attribute): Likewise.
382 (Fput_char_attribute): Likewise; use `make-vector' instead of
383 `make_older_vector' for `->decomposition' value.
384 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
385 `ideograph-daikanwa'.
386 (syms_of_mule_charset): Delete builtin symbols `name',
387 `ideographic-radical', `ideographic-strokes', `total-strokes' and
388 `morohashi-daikanwa'.
389 (vars_of_mule_charset): Don't setup
390 `Vcharacter_ideographic_radical_table',
391 `Vcharacter_ideographic_strokes_table',
392 `Vcharacter_total_strokes_table',
393 `Vcharacter_morohashi_daikanwa_table' and
394 `Vcharacter_decomposition_table'.
396 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
399 `make_older_vector', `make_vector_newer_1' and
402 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
403 `make_older_vector' and `make_vector_newer'.
405 * config.h.in (HAVE_GGC): New macro.
407 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * mule-charset.c (struct char_attribute_list_closure): New
410 structure in UTF-2000.
411 (add_char_attribute_to_list_mapper): New function in UTF-2000.
412 (Fchar_attribute_list): Likewise.
413 (Fset_charset_mapping_table): Use `make_vector_newer'.
414 (Fdecode_builtin_char): New function in UTF-2000.
415 (syms_of_mule_charset): Add new function `char-attribute-list' and
416 `decode-builtin-char' in UTF-2000.
418 * lisp.h (make_vector_newer): New prototype.
420 * alloc.c (make_vector_newer_1): New function.
421 (make_vector_newer): New function.
423 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
425 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
428 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
430 * mule-charset.c (Vchar_attribute_hash_table): New variable.
431 (Vcharacter_attribute_table): Deleted.
432 (Vcharacter_name_table): Deleted.
433 (put_char_attribute): Deleted.
434 (remove_char_attribute): Deleted.
435 (struct char_attribute_alist_closure): New structure.
436 (add_char_attribute_alist_mapper): New function.
437 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
438 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
439 (Fget_char_attribute): Likewise.
440 (Fput_char_attribute): Likewise.
441 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
442 of `remove_char_attribute'.
443 (Fdefine_char): Return character.
444 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
445 and `Vcharacter_name_table'.
446 (complex_vars_of_mule_charset): Likewise
447 `Vchar_attribute_hash_table'.
449 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
451 * character.h (CHARC_CHARSET): New macro.
452 (CHARC_CHARSET_ID): New macro.
453 (CHARC_CODE_POINT): New macro.
454 (CHARC_COLUMNS): New macro.
455 (CHARC_TO_CHAR): New inline function.
456 (CHARC_EQ): New inline function.
457 (CHARC_ASCII_EQ): New inline function.
458 (CHARC_IS_SPACE): New inline function.
459 (ASCII_TO_CHARC): New inline function.
461 * char-ucs.h (encode_char_2): Deleted.
462 (ENCODE_CHAR): Use `encode_char_1' again.
463 (breakup_char_1): Likewise.
464 (CHAR_TO_CHARC): New inline function.
466 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
468 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
471 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
472 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
473 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
474 (create_string_text_block): Use `CHARC_ASCII_EQ' and
476 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
478 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
480 (x_output_display_block): Use `CHARC_CHARSET' and
483 * redisplay-tty.c (tty_output_display_block): Use
485 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
487 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
489 * insdel.c (find_charsets_in_charc_string): Use
491 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
492 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
493 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
494 (convert_charc_string_into_malloced_string): Likewise.
496 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
499 instead of <Emchar_dynarr *> for buf; use
500 `convert_bufbyte_string_into_charc_dynarr' instead of
501 `convert_bufbyte_string_into_emchar_dynarr'; use
502 `find_charsets_in_charc_string' instead of
503 `find_charsets_in_emchar_string'.
506 - Include "character.h".
507 (struct rune): New member `cglyph'; delete member `chr'.
509 * redisplay.c (redisplay_text_width_charc_string): New function;
510 delete `redisplay_text_width_emchar_string'.
511 (rtw_charc_dynarr): New variable; renamed from
513 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
514 `rtw_emchar_dynarr'; use
515 `convert_bufbyte_string_into_charc_dynarr' instead of
516 `convert_bufbyte_string_into_emchar_dynarr'; use
517 `redisplay_text_width_charc_string' instead of
518 `redisplay_text_width_emchar_string'.
519 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
520 instead of `rtw_emchar_dynarr'; use
521 `convert_bufbyte_string_into_charc_dynarr' instead of
522 `convert_bufbyte_string_into_emchar_dynarr'.
523 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
524 `redisplay_text_width_charc_string' instead of
525 `redisplay_text_width_emchar_string'.
526 (create_text_block): Modify for <struct rune> change.
527 (generate_formatted_string_db): Likewise.
528 (create_string_text_block): Likewise.
529 (pixel_to_glyph_translation): Likewise.
531 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
532 instead of <const Emchar *>.
533 (x_text_width): Likewise.
534 (x_output_display_block): Use <Charc_dynarr *> instead
535 <Emchar_dynarr *>; modify for <structure rune> change.
536 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
539 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
540 <const Emchar *>; use `charc_string_displayed_columns' instead of
541 `emchar_string_displayed_columns'.
542 (tty_output_display_block): Use <Charc_dynarr *> instead of
543 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
544 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
545 (tty_output_charc_dynarr_dynarr): New variable; renamed from
546 `tty_output_emchar_dynarr_dynarr'.
547 (tty_output_charc_dynarr): New function; delete
548 `tty_output_charc_dynarr'.
550 * redisplay-output.c (compare_runes): Modify for `struct rune'.
551 (redisplay_output_layout): Use <Charc_dynarr *> instead of
552 <Emchar_dynarr *> for buf; use
553 `convert_bufbyte_string_into_charc_dynarr' instead of
554 `convert_bufbyte_string_into_emchar_dynarr'.
556 * frame.c (title_string_charc_dynarr): New variable; renamed from
557 `title_string_emchar_dynarr'.
558 (generate_title_string): Use `title_string_charc_dynarr' instead
559 of `title_string_emchar_dynarr'; use
560 `convert_charc_string_into_malloced_string' instead of
561 `convert_emchar_string_into_malloced_string'.
562 (init_frame): Use `title_string_charc_dynarr' instead of
563 `title_string_emchar_dynarr'.
566 - Include "character.h".
567 (struct console_methods): Use <const Charc *> instead of <const
568 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
569 <Emchar_dynarr *> in output_string_method.
571 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
574 * console-stream.c (stream_text_width): Use <const Charc *>
575 instead of <const Emchar *>.
577 * character.h (Charc_dynarr): New type.
579 * char-ucs.h (structure Charc): New structure; define new type
582 * char-lb.h (DECODE_CHAR): New inline function.
583 (encode_char_1): New inline function.
584 (ENCODE_CHAR): New macro.
585 (structure Charc): New structure; define new type `Charc'.
587 * char-1byte.h (Vcharset_control_1): New macro.
588 (Vcharset_latin_iso8859_1): New macro.
589 (DECODE_CHAR): New inline function.
590 (encode_char_1): New inline function.
591 (ENCODE_CHAR): New macro.
592 (structure Charc): New structure; define new type `Charc'.
594 * insdel.c (find_charsets_in_charc_string): New function; delete
595 `find_charsets_in_emchar_string'.
596 (charc_string_displayed_columns): New function; delete
597 `emchar_string_displayed_columns'.
598 (convert_bufbyte_string_into_charc_dynarr): New function; delete
599 `convert_bufbyte_string_into_emchar_dynarr'.
600 (convert_charc_string_into_bufbyte_dynarr): New function; delete
601 `convert_charc_string_into_bufbyte_dynarr'.
602 (convert_charc_string_into_malloced_string): New function; delete
603 `convert_charc_string_into_malloced_string'.
605 * buffer.h (find_charsets_in_charc_string): New prototype; delete
606 `find_charsets_in_emchar_string'.
607 (charc_string_displayed_columns): New prototype; delete
608 `emchar_string_displayed_columns'.
609 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
610 `convert_charc_string_into_bufbyte_dynarr'.
611 (convert_charc_string_into_malloced_string): New prototype; delete
612 `convert_charc_string_into_malloced_string'.
614 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
616 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
618 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
622 * char-ucs.h: Use <short> for <Charset_ID>.
624 * mule-charset.h, char-1byte.h: Use <unsigned char> for
627 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
632 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
636 (Qmorohashi_daikanwa): New variable.
637 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
638 for `morohashi-daikanwa' attribute.
639 (Fget_char_attribute): Likewise.
640 (Fput_char_attribute): Likewise.
641 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
642 has the same value of `ideograph-daikanwa'.
643 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
644 (vars_of_mule_charset): Setup
645 `Vcharacter_morohashi_daikanwa_table'.
647 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
649 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
651 (add_charset_to_list_mapper): Add `key' instead of
652 `XCHARSET_NAME (value)' to return aliases.
654 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * mule-charset.c (Vcharacter_ideographic_radical_table): New
658 (Vcharacter_ideographic_strokes_table): New variable.
659 (Qideographic_radical): New variable.
660 (Qideographic_strokes): New variable.
661 (Fchar_attribute_alist): Use
662 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
663 attribute; use `Vcharacter_ideographic_strokes_table' for
664 `ideographic-strokes' attribute.
665 (Fget_char_attribute): Likewise.
666 (Fput_char_attribute): Likewise.
667 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
668 `ideographic-strokes'.
669 (vars_of_mule_charset): Setup
670 `Vcharacter_ideographic_radical_table' and
671 `Vcharacter_ideographic_strokes_table'.
673 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
676 (Qtotal_strokes): New variable.
677 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
678 `total-strokes' attribute.
679 (Fget_char_attribute): Likewise.
680 (Fput_char_attribute): Likewise.
681 (syms_of_mule_charset): Add new symbol `total-strokes'.
682 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
684 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * mule-charset.c (Vcharacter_decomposition_table): New variable.
687 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
689 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
690 `->decomposition' attribute.
691 (Fput_char_attribute): Likewise.
692 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
694 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (decoding_table_check_elements): New function.
697 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
699 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * mule-charset.c (Fset_charset_mapping_table): Use
702 `put_char_ccs_code_point'.
704 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * mule-charset.c (decoding_table_put_char): New inline function.
707 (put_char_ccs_code_point): Use `decoding_table_put_char'.
709 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
712 (XCHARSET_BYTE_SIZE): New macro.
713 (decoding_table_remove_char): New inline function.
714 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
715 `decoding_table_remove_char'.
716 (remove_char_ccs): Use `decoding_table_remove_char'.
717 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
719 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * mule-charset.c (Vcharacter_name_table): New variable.
722 (Qname): New variable.
723 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
725 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
726 `Vcharacter_name_table' for `name' attribute.
727 (Fremove_char_attribute): Use function `remove_char_ccs'.
728 (put_char_ccs_code_point): New function.
729 (remove_char_ccs): New function.
730 (syms_of_mule_charset): Add new symbol `name'.
731 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
733 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
735 * mule-charset.c (make_byte_table): Add new argument `older'.
736 (make_char_id_table): Likewise.
737 (copy_char_id_table): Comment out because it is not used.
738 (put_char_id_table): Modify for `make_byte_table'.
739 (Fput_char_attribute): Make encoding_table as older object;
740 inherit older bit of `Vcharacter_composition_table'.
741 (mark_charset): Don't mark `cs->encoding_table'.
742 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
743 normal object; make `Vcharacter_composition_table' as an older
744 object; delete staticpro for `Vcharacter_composition_table'; make
745 `Vcharacter_variant_table' as a normal object.
747 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
748 (mark_object): Don't check older object in UTF-2000.
750 * lrecord.h (struct lrecord_header): Add new member `older' in
752 (set_lheader_implementation): Setup `SLI_header->older' in
754 (set_lheader_older_implementation): New macro in UTF-2000.
755 (OLDER_RECORD_P): New macro in UTF-2000.
756 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
757 (alloc_older_lcrecord): New prototype in UTF-2000.
758 (alloc_older_lcrecord_type): New macro in UTF-2000.
760 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * mule-charset.c (byte_table_description): Use
763 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
764 (char_id_table_description): Delete bogus `, 1'.
765 (Fget_char_attribute): Refer encoding_table of each coded-charset
766 to get value of coded-charset attribute of a character.
767 (Fput_char_attribute): Use `make_older_vector' instead of
768 `make_vector'; use encoding_table of each coded-charset to store
769 value of coded-charset attribute of a character.
770 (Fremove_char_attribute): Use encoding_table of each coded-charset
771 to store value of coded-charset attribute of a character.
772 (mark_charset): Mark `cs->encoding_table'; don't mark
773 `cs->decoding_table'.
774 (charset_description): Add description of new member
776 (make_charset): Initialize `encoding_table'.
778 * char-ucs.h (struct Lisp_Charset): Add new member
780 (CHARSET_ENCODING_TABLE): New macro.
781 (XCHARSET_ENCODING_TABLE): New macro.
782 (charset_code_point): New implementation.
783 (encode_char_1): Likewise.
785 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
786 (disksave_object_finalization_1): Call finalizers of
787 `all_older_lcrecords' in UTF-2000.
788 (make_older_vector): New function in UTF-2000.
789 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
792 * lisp.h (make_older_vector): New prototype in UTF-2000.
794 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
796 * lrecord.h (enum lrecord_type): Rename
797 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
799 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
800 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
801 `get_char_code_table'.
803 * mule-charset.c (mark_char_id_table): Renamed from
804 `mark_char_code_table'.
805 (char_id_table_equal): Renamed from `char_code_table_equal'.
806 (char_id_table_hash): Renamed from `char_code_table_hash'.
807 (make_char_id_table): Renamed from `make_char_code_table'.
808 (copy_char_id_table): Renamed from `copy_char_code_table'.
809 (get_char_id_table): Renamed from `get_char_code_table'.
810 (put_char_id_table): Renamed from `put_char_code_table'.
811 (to_char_id): Renamed from `to_char_code'.
813 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
814 `Lisp_Char_Code_Table'.
815 (char_id_table): Renamed from `char_code_table'.
816 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
817 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
818 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
819 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
820 (get_char_id_table): Renamed from `get_char_code_table'.
822 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * lrecord.h (enum lrecord_type): Rename
825 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
827 * mule-charset.c (mark_byte_table): Renamed from
828 `mark_char_byte_table'.
829 (byte_table_equal): Renamed from `char_byte_table_equal'.
830 (byte_table_hash): Renamed from `byte_table_hash'.
831 (make_byte_table): Renamed from `make_byte_table'.
832 (copy_byte_table): Renamed from `copy_char_byte_table'.
834 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
835 `Lisp_Char_Byte_Table'.
836 (byte_table): Renamed from `char_byte_table'.
837 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
838 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
839 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
840 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
842 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
844 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
845 (dfc_convert_to_internal_format): Likewise.
847 * text-coding.c (Fcoding_system_canonical_name_p): New function.
848 * text-coding.c (Fcoding_system_alias_p): New function.
849 * text-coding.c (Fcoding_system_aliasee): New function.
850 * text-coding.c (append_suffix_to_symbol): New function.
851 * text-coding.c (dangling_coding_system_alias_p): New function.
852 * text-coding.c (Ffind_coding_system):
853 * text-coding.c (Fcopy_coding_system):
854 * text-coding.c (encode_coding_no_conversion):
855 * text-coding.c (syms_of_file_coding):
856 * text-coding.c (vars_of_file_coding):
857 Rewrite coding system alias code.
858 Allow nested aliases, like symbolic links.
859 Allow redefinition of coding system aliases.
860 Prevent existence of dangling coding system aliases.
861 Eliminate convert_to_external_format.
862 Eliminate convert_to_internal_format.
864 * text-coding.c: Change enum eol_type to eol_type_t.
866 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
868 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
869 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
871 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
872 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
874 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
876 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
877 `ideograph-daikanwa'.
879 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
880 (Vcharset_ucs_bmp): Likewise.
881 (Vcharset_mojikyo): Add new extern variable definition.
882 (Vcharset_latin_iso8859_2): Deleted because it is not used.
883 (Vcharset_latin_iso8859_3): Likewise.
884 (Vcharset_latin_iso8859_4): Likewise.
885 (Vcharset_latin_iso8859_9): Likewise.
886 (Vcharset_latin_viscii_lower): Likewise.
887 (Vcharset_latin_viscii_upper): Likewise.
888 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
889 `mojikyo' code-point is used to decode.
890 (encode_char_2): New function [to convert `mojikyo' code-point to
891 Mojikyo font encoding].
892 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
893 (breakup_char_1): Likewise.
894 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
896 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * text-coding.c (Fmake_coding_system): Add document about
899 `disable-composition' property.
901 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * text-coding.c (Qdisable_composition): New variable; delete
905 (Fmake_coding_system): Add new property `disable-composite';
906 delete property `composite'.
907 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
908 instead of `!CODING_SYSTEM_COMPOSITE'.
909 (syms_of_file_coding): Add new symbol `disable-composition';
910 delete symbol `composite'.
912 * file-coding.h (struct Lisp_Coding_System): Add
913 `disable_composition'; delete `enable_composition'.
914 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
915 `CODING_SYSTEM_COMPOSITE'.
916 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
917 `XCODING_SYSTEM_COMPOSITE'.
919 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
924 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
926 * text-coding.c (Qcomposite): New variable.
927 (Fmake_coding_system): Add new property `composite'.
928 (struct decoding_stream): Add `combined_char_count',
929 `combined_chars' and `combining_table' in UTF-2000.
930 (COMPOSE_FLUSH_CHARS): New macro.
931 (COMPOSE_ADD_CHAR): New macro.
932 (reset_decoding_stream): Reset `str->combined_char_count' and
933 `str->combining_table' in UTF-2000.
934 (decode_coding_iso2022): Modify for character-decomposition.
935 (syms_of_file_coding): Add new symbol `composite'.
937 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
940 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
941 of `Vcharacter_composition_table' if `->decomposition' property
943 (Qlatin_tcvn5712): New variable.
944 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
945 (complex_vars_of_mule_charset): Add new coded-charset
948 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
950 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
952 * file-coding.h (struct Lisp_Coding_System): Add
953 `enable_composition'.
954 (CODING_SYSTEM_COMPOSITE): New macro.
955 (XCODING_SYSTEM_COMPOSITE): New macro.
957 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
959 * mule-canna.c (c2mu): Fix problem with UTF-2000.
961 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
963 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
964 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
966 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
968 * mule-charset.c (Vcharset_mojikyo): New variable.
969 (Fdefine_char): Don't use coded-charset which does not have
970 non-builtin character range to allocate character-id.
971 (Qmojikyo): New variable.
972 (syms_of_mule_charset): Add new symbol `mojikyo'.
973 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
975 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
976 (LEADING_BYTE_MOJIKYO): New macro.
977 (MIN_CHAR_MOJIKYO): New macro.
978 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
979 (MAX_CHAR_MOJIKYO): New macro.
981 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
983 * mule-charset.c (remove_char_attribute): Fixed.
985 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
987 * mule-charset.c (remove_char_attribute): New function.
988 (Fremove_char_attribute): New function.
989 (encode_builtin_char_1): Comment out builtin-support for
990 greek-iso8859-7 and cyrillic-iso8859-5.
991 (Fdecode_char): Check `code' is an integer.
992 (syms_of_mule_charset): Add `remove-char-attribute'.
993 (MIN_CHAR_GREEK): Deleted.
994 (MAX_CHAR_GREEK): Likewise.
995 (MIN_CHAR_CYRILLIC): Likewise.
996 (MAX_CHAR_CYRILLIC): Likewise.
997 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
998 MAX_CHAR_GREEK for `greek-iso8859-7'.
1000 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1001 (MAX_CHAR_GREEK): Likewise.
1002 (MIN_CHAR_CYRILLIC): Likewise.
1003 (MAX_CHAR_CYRILLIC): Likewise.
1005 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1007 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1008 format is used without `ucs' property.
1009 (Fdecode_char): Fix problem with GR representation.
1010 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1011 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1013 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1015 * mule-charset.c (make_builtin_char): New function.
1016 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1017 (Fset_charset_mapping_table): Modify for new representation of
1019 (Fdecode_char): New function.
1020 (syms_of_mule_charset): Add new builtin function `decode-char' in
1023 * char-ucs.h (make_builtin_char): New prototype.
1024 (DECODE_CHAR): New inline function.
1025 (MAKE_CHAR): Use `DECODE_CHAR'.
1027 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1029 * text-coding.c (parse_charset_conversion_specs): Use
1030 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1032 (iso2022_designate): Likewise.
1034 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1035 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1037 * mule-charset.c (Vcharset_ucs): New variable.
1038 (print_charset): Change design; use `CHARSET_CHARS' and
1039 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1040 (make_charset): Change signature to specify `chars' and
1041 `dimension' instead of `type'.
1042 (range_charset_code_point): Modify for 256^n-set.
1043 (encode_builtin_char_1): Encode as `ucs' in default.
1044 (Fmake_charset): Modify for `make_charset'.
1045 (Fmake_reverse_direction_charset): Likewise.
1046 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1048 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1051 * char-ucs.h (Vcharset_ucs): New variable.
1052 (LEADING_BYTE_UCS): New macro.
1053 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1054 and `chars' to `unsigned short' from `unsigned int'.
1055 (CHARSET_TYPE): Deleted.
1056 (XCHARSET_TYPE): Deleted.
1058 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1060 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1062 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1063 (ENCODE_CHAR): New macro.
1065 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1067 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1068 to 0.14 (Kawachi-Katakami).
1070 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1072 * text-coding.c (char_encode_shift_jis): Modify for
1073 `charset_code_point'.
1074 (char_encode_iso2022): Likewise.
1076 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1077 (integer) instead of list of <Lisp_Object>s (integers) as the
1078 format of code-point of a coded-charset.
1079 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1080 (encode_builtin_char_1): New function; delete
1081 `split_builtin_char'.
1082 (charset_code_point): Return <int> instead of <Lisp_Object>.
1083 (Fsplit_char): Don't use `SPLIT_CHAR'.
1085 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1086 prototype for `split_builtin_char'.
1087 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1088 (charset_code_point): Likewise.
1089 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1090 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1092 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1094 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1095 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1097 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1099 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1101 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1102 (MAX_CHAR_OBS_94x94): Deleted.
1104 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1106 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1108 * char-ucs.h (MAX_CHAR_BMP): New macro.
1110 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1112 * text-coding.c: Sync with r21-2-24.
1114 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1116 * file-coding.c: Modify for UTF-2000.
1118 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1120 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1123 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1125 * mule-charset.c (split_builtin_char): Delete builtin support for
1126 `katakana-jisx0201'.
1127 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1128 BMP area in builtin representation.
1130 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1131 `Vcharset_katakana_jisx0201'.
1133 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1135 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1136 (Qisolated): New variable.
1137 (Qinitial): New variable.
1138 (Qmedial): New variable.
1139 (Qfinal): New variable.
1140 (Qvertical): New variable.
1141 (Qsmall): New variable.
1142 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1143 `Qvertical' and `Qsmall'.
1144 (Qmojikyo_pj_[1 .. 21]): New variable.
1145 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1146 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1147 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1150 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1152 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1153 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1154 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1156 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1158 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1159 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1161 (Qjapanese_jisx0208_1990): New variable.
1162 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1163 (complex_vars_of_mule_charset): Add new coded-charset
1164 `japanese-jisx0208-1990'.
1166 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1167 (MIN_CHAR_JIS_X0208_1990): New macro.
1168 (MAX_CHAR_JIS_X0208_1990): New macro.
1170 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1172 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1173 coded-charset is not found.
1175 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1177 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1178 (Fdefine_char): Use `Fmake_char'.
1180 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1182 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1183 (Vcharset_hiragana_jisx0208): Deleted.
1184 (Vcharset_katakana_jisx0208): Deleted.
1185 (Qideograph_daikanwa): New variable.
1186 (Qhiragana_jisx0208): Deleted.
1187 (Qkatakana_jisx0208): Deleted.
1188 (split_builtin_char): Split `ideograph-daikanwa'.
1189 (Fsplit_char): New implementation for UTF-2000.
1190 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1191 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1192 (complex_vars_of_mule_charset): Add new coded-charset
1193 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1194 `katakana-jisx0208'.
1196 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1197 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1198 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1199 (MIN_CHAR_DAIKANWA): New macro.
1200 (MAX_CHAR_DAIKANWA): New macro.
1202 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1204 * data.c (Fstring_to_number): Don't recognize floating point if
1207 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1209 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1211 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1213 * mule-charset.c (Qsquare): New variable.
1214 (to_char_code): Add `Qsquare'.
1215 (syms_of_mule_charset): Add new symbol `square'.
1217 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1219 * mule-charset.c (Qcircle): New variable.
1220 (to_char_code): Add `Qcircle'.
1221 (syms_of_mule_charset): Add new symbol `circle'.
1223 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1225 * mule-charset.c (Qfont): New variable.
1226 (to_char_code): Add `Qfont'.
1227 (syms_of_mule_charset): Add new symbol `font'.
1229 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1231 * mule-charset.c (Qsub): New variable.
1232 (to_char_code): Add `Qsub'.
1233 (syms_of_mule_charset): Add new symbol `sub'.
1235 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1237 * mule-charset.c (Fput_char_attribute): Convert each element of
1238 VALUE to GL position if ATTRIBUTE is a GR-set,
1240 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1242 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1243 coded-charset is a GR-set.
1245 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1247 * mule-charset.c (Fput_char_attribute): Check each element of
1248 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1250 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1252 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1254 (Qethiopic_ucs): New variable in UTF-2000.
1255 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1256 (complex_vars_of_mule_charset): Add new coded-charset
1257 `ethiopic-ucs' in UTF-2000.
1259 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1260 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1262 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1264 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1266 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1268 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1271 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1273 * mule-charset.c (Vcharacter_variant_table): New variable.
1274 (Q_ucs): New variable.
1275 (Fchar_variants): New function.
1276 (Fput_char_attribute): Register `->ucs' value to
1277 `Vcharacter_variant_table'.
1278 (syms_of_mule_charset): Add new function `char-variants' and new
1280 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1282 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1284 * mule-charset.c (get_char_code_table): Allow negative character
1286 (put_char_code_table): Likewise.
1287 (Vcharacter_composition_table): New variable.
1288 (Q_decomposition): New variable.
1289 (Qwide): New variable.
1290 (Qnarrow): New variable.
1291 (Qcompat): New variable.
1292 (QnoBreak): New variable.
1293 (Qsuper): New variable.
1294 (Qfraction): New variable.
1295 (to_char_code): New function.
1296 (Fget_composite_char): New function.
1297 (Fput_char_attribute): Register `->decomposition' value to
1298 `Vcharacter_composition_table'.
1299 (syms_of_mule_charset): Add new function `get-composite-char', new
1300 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1301 `super' and `fraction'.
1302 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1304 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1306 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1307 character; copy the return value.
1309 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1311 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1313 * mule-charset.c (range_charset_code_point): Must use make_int.
1314 (split_builtin_char): New function.
1316 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1318 * mule-charset.c (char_byte_table): Change name from
1319 "char-code-table" to "char-byte-table".
1320 (mark_char_code_table): New function.
1321 (char_code_table_equal): New function.
1322 (char_code_table_hash): New function.
1323 (char_code_table_description): New constant.
1324 (char_code_table): New type.
1325 (make_char_code_table): New function.
1326 (copy_char_code_table): New function.
1327 (get_char_code_table): Modify for `char_code_table' type.
1328 (put_char_code_table): Likewise.
1329 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1332 * char-ucs.h (char_code_table): New type.
1333 (XCHAR_CODE_TABLE): New macro.
1334 (XSETCHAR_CODE_TABLE): New macro.
1335 (CHAR_CODE_TABLE_P): New macro.
1336 (GC_CHAR_CODE_TABLE_P): New macro.
1337 (struct Lisp_Char_Code_Table): New structure.
1339 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1341 * mule-charset.c (Fmake_charset): Setup byte_offset for
1344 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1346 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1349 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1351 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1354 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1356 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1357 charset, it is regarded as a charset.
1358 (put_char_attribute): New function in UTF-2000.
1359 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1360 charset, mapping-table of the charset is modified.
1361 (Fdefine_char): New function in UTF-2000.
1362 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1363 `Fput_char_attribute'.
1364 (syms_of_mule_charset): Add new function `define-char' and new
1365 symbol `ucs' in UTF-2000.
1366 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1368 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1370 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1371 non-UTF-2000 configuration.
1373 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1375 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1376 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1378 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1380 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1381 (Fset_charset_mapping_table): Likewise.
1383 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1384 (CHARSET_ENCODING_TABLE): Delete.
1385 (XCHARSET_ENCODING_TABLE): Delete.
1386 (charset_code_point): New interface.
1388 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1390 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1391 instead of `charset_get_byte1' and `charset_get_byte2'.
1393 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1394 (charset_get_byte2): Deleted.
1396 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1398 * char-ucs.h (SPLIT_CHAR): New inline function.
1399 (breakup_char_1): Use `SPLIT_CHAR'.
1401 * mule-charset.c (range_charset_code_point): New function.
1402 (charset_code_point): New function.
1404 * char-ucs.h (range_charset_code_point): New interface.
1405 (breakup_char_1): Use `range_charset_code_point'.
1407 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1409 * mule-charset.c (Fmake_charset): Delete unused local variable
1412 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1413 (breakup_char_1): Find a charset and code-point in
1414 `Vcharacter_attribute_table'.
1416 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1418 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1421 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1423 * mule-charset.c (Vcharacter_attribute_table): New variable.
1424 (Fchar_attribute_alist): New function.
1425 (Fget_char_attribute): New function.
1426 (Fput_char_attribute): New function.
1427 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1429 (syms_of_mule_charset): Add new function `char-attribute-alist',
1430 `get-char-attribute' and `put-char-attribute'.
1431 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1433 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1435 * mule-charset.c (Fmake_charset): Just use
1436 `get_unallocated_leading_byte'.
1438 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1439 sets; don't use final-byte based number for private sets.
1441 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1443 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1446 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1448 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1451 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1453 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1454 of `CHAR_LEADING_BYTE' in UTF-2000.
1456 * insdel.c (find_charsets_in_bufbyte_string): Use
1457 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1458 (find_charsets_in_emchar_string): Likewise.
1460 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1461 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1463 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1464 (CHAR_CHARSET_ID): New macro.
1466 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1468 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1469 charset-id - MIN_LEADING_BYTE.
1470 (put_char_table): Likewise.
1472 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1474 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1475 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1476 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1477 (CHARSET_ID_OFFSET): New macro.
1478 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1479 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1480 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1481 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1483 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1485 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1486 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1487 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1488 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1489 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1491 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1493 * mule-charset.c (next_allocated_leading_byte): New variable in
1495 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1496 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1497 (get_unallocated_leading_byte): Simply use
1498 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1499 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1502 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1503 (MAX_LEADING_BYTE_PRIVATE): New macro.
1504 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1505 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1507 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1509 * mule-charset.c (Fmake_charset): Allocate final-byte based
1510 charset-id for 94-set, 96-set and 94x94-set.
1512 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1514 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1516 (Fmake_charset): Likewise.
1517 (complex_vars_of_mule_charset): Modify the font registry of
1518 `ucs-bmp' not to match `Ethiopic-Unicode'.
1520 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1522 * mule-charset.c (complex_vars_of_mule_charset): Add font
1523 registory of `ucs-bmp'.
1525 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1527 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1528 coded-charsets in `default-coded-charset-priority-list' when
1529 breaking up a character.
1531 * mule-charset.c (Vcharset_latin_viscii): New variable.
1532 (Qlatin_viscii): New variable.
1533 (make_charset): Don't use `decoding_table'.
1534 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1536 (Fset_charset_mapping_table): New implementation.
1537 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1538 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1539 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1540 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1541 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1542 charset `latin_viscii'.
1544 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1545 (CHARSET_TYPE_94X94): Change to 1 from 2.
1546 (CHARSET_TYPE_96): Change to 2 from 1.
1547 (CHARSET_TYPE_128): New macro.
1548 (CHARSET_TYPE_128X128): Change to 5 from 4.
1549 (CHARSET_TYPE_256): New macro.
1550 (CHARSET_TYPE_256X256): Change to 7 from 5.
1551 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1553 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1555 * text-coding.c (char_encode_shift_jis): Refer
1556 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1557 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1559 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1560 (char_byte_table_equal): New function in UTF-2000.
1561 (char_byte_table_hash): New function in UTF-2000.
1562 (char_byte_table_description): New constant in UTF-2000.
1563 (char_byte_table): New type in UTF-2000.
1564 (make_char_byte_table): New function in UTF-2000.
1565 (copy_char_byte_table): New function in UTF-2000.
1566 (make_char_code_table): New macro in UTF-2000.
1567 (get_char_code_table): New function in UTF-2000.
1568 (put_char_code_table): New function in UTF-2000.
1569 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1570 (charset_description): Add setting in UTF-2000.
1571 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1572 `CHARSET_TO_BYTE1_TABLE(cs)'.
1573 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1574 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1575 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1576 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1577 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1578 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1579 `CHARSET_TO_BYTE2_TABLE(cs)'.
1581 * char-ucs.h (char_byte_table): New type.
1582 (XCHAR_BYTE_TABLE): New macro.
1583 (XSETCHAR_BYTE_TABLE): New macro.
1584 (CHAR_BYTE_TABLE_P): New macro.
1585 (GC_CHAR_BYTE_TABLE_P): New macro.
1586 (struct Lisp_Char_Byte_Table): New structure.
1587 (get_char_code_table): New interface.
1588 (Emchar_to_byte_table): Deleted.
1589 (get_byte_from_character_table): Deleted.
1590 (struct Lisp_Charset): Add `encoding_table'; delete
1591 `to_byte1_table' and `to_byte2_table'.
1592 (CHARSET_ENCODING_TABLE): New macro.
1593 (CHARSET_TO_BYTE1_TABLE): Deleted.
1594 (CHARSET_TO_BYTE2_TABLE): Deleted.
1595 (XCHARSET_ENCODING_TABLE): New macro.
1596 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1597 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1599 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1601 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1602 `vietnamese-viscii-*'.
1604 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1606 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1607 (Qvietnamese_viscii_upper): New variable.
1608 (Fdefine_charset_alias): New function.
1609 (syms_of_mule_charset): Add new function `define-charset-alias'.
1610 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1611 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1614 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1616 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1617 (MAX_CHAR_OBS_94x94): New macro.
1618 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1621 * mule-charset.c (put_byte_from_character_table): Change unit size
1623 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1625 (Fmake_reverse_direction_charset): Modify dummy argument of
1626 `make_charset' for non-UTF-2000 environment.
1628 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1630 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1632 * mule-charset.c (destroy_byte_from_character_table): New macro.
1633 (latin_jisx0201_to_ucs): Deleted.
1634 (latin_iso8859_2_to_ucs): Deleted.
1635 (latin_iso8859_3_to_ucs): Deleted.
1636 (latin_iso8859_4_to_ucs): Deleted.
1637 (latin_iso8859_9_to_ucs): Deleted.
1638 (latin_viscii_lower_to_ucs): Deleted.
1639 (latin_viscii_upper_to_ucs): Deleted.
1640 (mark_charset): Mark `cs->decoding_table'.
1641 (Fcharset_mapping_table): Fix DOC-string.
1642 (Fset_charset_mapping_table): New function.
1643 (syms_of_mule_charset): Add nwe function
1644 `set-charset-mapping-table'.
1645 (complex_vars_of_mule_charset): Don't setup and use
1648 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1650 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1653 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1655 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1656 (Vcharset_katakana_jisx0208): New variable.
1657 (Qhiragana_jisx0208): New variable.
1658 (Qkatakana_jisx0208): New variable.
1659 (make_charset): Add new argument `byte_offset'.
1660 (charset_get_byte1): Modify for new coded-charset definition; use
1661 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1662 `XCHARSET_BYTE_OFFSET'.
1663 (Fmake_charset): Modify for `make_charset'.
1664 (Fmake_reverse_direction_charset): Likewise.
1665 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1666 `katakana-jisx0208'.
1667 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1668 `.' in font registry of charset `katakana-jisx0201',
1669 `latin-jisx0201', `vietnamese-viscii-lower' and
1670 `vietnamese-viscii-upper'; modify DOC-string of charset
1671 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1672 registry of charset `japanese-jisx0208' not to use font for JIS
1673 X0208:1990; add new charset `hiragana-jisx0208' and
1674 `katakana-jisx0208'.
1676 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1677 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1678 (struct Lisp_Charset): Add `byte_offset'.
1679 (CHARSET_BYTE_OFFSET): New macro.
1680 (XCHARSET_UCS_MIN): New macro.
1681 (XCHARSET_UCS_MAX): New macro.
1682 (XCHARSET_CODE_OFFSET): New macro.
1683 (XCHARSET_BYTE_OFFSET): New macro.
1684 (MIN_CHAR_HIRAGANA): New macro.
1685 (MAX_CHAR_HIRAGANA): New macro.
1686 (MIN_CHAR_KATAKANA): New macro.
1687 (MAX_CHAR_KATAKANA): New macro.
1688 (MAKE_CHAR): Modify for new coded-charset definition; use
1689 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1690 `XCHARSET_BYTE_OFFSET'.
1692 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1694 * mule-charset.c (CHAR96): Deleted.
1695 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1697 (latin_iso8859_2_to_ucs): Likewise.
1698 (latin_iso8859_3_to_ucs): Likewise.
1699 (latin_iso8859_4_to_ucs): Likewise.
1700 (latin_iso8859_9_to_ucs): Likewise.
1701 (latin_viscii_lower_to_ucs): Likewise.
1702 (latin_viscii_upper_to_ucs): Likewise.
1703 (latin_tcvn5712_to_ucs): Commented out.
1704 (make_charset): Change type of argument `decoding_table' from
1705 <Emchar*> to <Lisp_Object> [vector of characters].
1706 (Fmake_charset): Modify for `make_charset'.
1707 (Fmake_reverse_direction_charset): Likewise.
1708 (Fcharset_mapping_table): New function in UTF-2000.
1709 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1711 (complex_vars_of_mule_charset): Modify for type change of
1712 `*_to_ucs'; modify for `make_charset'.
1714 * char-ucs.h (struct Lisp_Charset): Change type of
1715 `decoding_table' from <Emchar*> to <Lisp_Object>.
1716 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1718 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1720 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1721 error with non-UTF-2000-Mule.
1723 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1725 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1727 (Vcharset_chinese_cns11643_4): Likewise.
1728 (Vcharset_chinese_cns11643_5): Likewise.
1729 (Vcharset_chinese_cns11643_6): Likewise.
1730 (Vcharset_chinese_cns11643_7): Likewise.
1731 (Qchinese_cns11643_3): Likewise.
1732 (Qchinese_cns11643_4): Likewise.
1733 (Qchinese_cns11643_5): Likewise.
1734 (Qchinese_cns11643_6): Likewise.
1735 (Qchinese_cns11643_7): Likewise.
1736 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1737 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1738 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1739 (complex_vars_of_mule_charset): Likewise.
1741 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1743 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1745 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1746 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1748 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1750 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1752 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1753 (breakup_char_1): Likewise.
1755 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1756 one of them includes the specified character.
1758 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1760 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1762 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1764 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1766 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1768 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1769 definition for non-UTF-2000 Mule.
1770 (latin_iso8859_3_to_ucs): Likewise.
1771 (latin_iso8859_4_to_ucs): Likewise.
1772 (latin_iso8859_9_to_ucs): Likewise.
1773 (latin_jisx0201_to_ucs): Likewise.
1774 (MIN_CHAR_THAI): Likewise.
1775 (MAX_CHAR_THAI): Likewise.
1776 (MIN_CHAR_GREEK): Likewise.
1777 (MAX_CHAR_GREEK): Likewise.
1778 (MIN_CHAR_HEBREW): Likewise.
1779 (MAX_CHAR_HEBREW): Likewise.
1780 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1781 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1782 (MIN_CHAR_CYRILLIC): Likewise.
1783 (MAX_CHAR_CYRILLIC): Likewise.
1785 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1787 * char-ucs.h (breakup_char_1): Use
1788 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1789 thai-tis620 and katakana-jisx0201 area.
1791 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1793 * char-ucs.h (breakup_char_1): Use
1794 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1797 * text-coding.c (reset_encoding_stream): Fixed.
1798 (char_encode_ucs4): Delete `& 255'.
1800 * char-ucs.h (breakup_char_1): Use
1801 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1803 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1805 * file-coding.c (Fmake_coding_system): Don't set up
1806 `codesys->fixed.size'.
1807 (encode_coding_no_conversion): Don't refer
1808 `str->codesys->fixed.size'.
1810 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1812 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1813 (latin_a_char_to_byte1): Deleted.
1814 (latin_a_char_to_byte2): Deleted.
1816 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1818 * mule-charset.c (make_charset): Add new argument `ucs_min',
1819 `ucs_max' and `code_offset'.
1820 (charset_get_byte1): New implementation [delete specific charset
1821 depended implementations].
1822 (Fmake_charset): Modify for `make_charset'.
1823 (Fmake_reverse_direction_charset): Likewise.
1824 (complex_vars_of_mule_charset): Likewise.
1826 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1828 (CHARSET_UCS_MIN): New macro.
1829 (CHARSET_UCS_MAX): New macro.
1830 (CHARSET_CODE_OFFSET): New macro.
1831 (MAKE_CHAR): Delete charset depended definitions [except
1834 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1836 * char-ucs.h (breakup_char_1): Use
1837 `Vdefault_coded_charset_priority_list' for C0-Controls,
1838 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1840 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1842 * char-ucs.h (charset_get_byte1): New function.
1843 (XCHARSET_GET_BYTE1): Deleted.
1844 (charset_get_byte2): New function.
1845 (XCHARSET_GET_BYTE2): Deleted.
1846 (Vdefault_coded_charset_priority_list): New external variable.
1847 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1848 `Vdefault_preferred_coded_charset_list'.
1850 * mule-charset.c (charset_get_byte1): New function.
1851 (charset_get_byte2): New function.
1852 (Vdefault_coded_charset_priority_list): New variable.
1853 (vars_of_mule_charset): Add new variable
1854 `default-coded-charset-priority-list'.
1856 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1858 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1859 (XCHARSET_GET_BYTE2): New inline function.
1860 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1861 `XCHARSET_GET_BYTE2'.
1863 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1865 * mule-charset.c (make_charset): Initialize
1866 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1867 NULL if table is not defined.
1869 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1871 * text-coding.c (char_encode_shift_jis): Use
1872 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1873 `ucs_to_latin_jisx0201'.
1875 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1876 (ucs_to_latin_iso8859_2): Deleted.
1877 (ucs_to_latin_iso8859_3): Deleted.
1878 (ucs_to_latin_iso8859_4): Deleted.
1879 (ucs_to_latin_iso8859_9): Deleted.
1880 (ucs_to_latin_viscii_lower): Deleted.
1881 (ucs_to_latin_viscii_upper): Deleted.
1882 (ucs_to_latin_tcvn5712): Deleted.
1883 (make_charset): Add new argument `decoding_table'; set up
1884 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1885 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1886 `decoding_table' is defined in UTF-2000.
1887 (Fmake_charset): Modify for `make_charset'.
1888 (Fmake_reverse_direction_charset): Likewise.
1889 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1890 and `GENERATE_96_SET'.
1892 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1893 (ucs_to_latin_jisx0201): Deleted.
1894 (latin_iso8859_2_to_ucs): Deleted.
1895 (ucs_to_latin_iso8859_2): Deleted.
1896 (latin_iso8859_3_to_ucs): Deleted.
1897 (ucs_to_latin_iso8859_3): Deleted.
1898 (latin_iso8859_4_to_ucs): Deleted.
1899 (ucs_to_latin_iso8859_4): Deleted.
1900 (latin_iso8859_9_to_ucs): Deleted.
1901 (ucs_to_latin_iso8859_9): Deleted.
1902 (latin_viscii_lower_to_ucs): Deleted.
1903 (ucs_to_latin_viscii_lower): Deleted.
1904 (latin_viscii_upper_to_ucs): Deleted.
1905 (ucs_to_latin_viscii_upper): Deleted.
1906 (struct Lisp_Charset): Renamed `encoding_table' to
1907 `to_byte1_table'; add `to_byte2_table'.
1908 (CHARSET_DECODING_TABLE): New macro.
1909 (CHARSET_TO_BYTE1_TABLE): New macro.
1910 (CHARSET_TO_BYTE2_TABLE): New macro.
1911 (XCHARSET_DECODING_TABLE): New macro.
1912 (XCHARSET_TO_BYTE1_TABLE): New macro.
1913 (XCHARSET_TO_BYTE2_TABLE): New macro.
1914 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1916 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1917 don't use `ucs_to_*' tables.
1919 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1921 * text-coding.c (Fmake_coding_system): Don't set up
1922 `codesys->fixed.size'.
1923 (encode_coding_no_conversion): Use `if' instead of `switch'.
1925 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1927 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1929 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1930 (Fmake_charset): Modify for `make_charset'.
1931 (Fmake_reverse_direction_charset): Likewise.
1932 (complex_vars_of_mule_charset): Likewise.
1934 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1936 * text-coding.c (char_encode_shift_jis): Use table
1937 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1939 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1941 * text-coding.c (text_encode_generic): Use `if' instead of
1943 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1946 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1948 * text-coding.c (encode_coding_sjis): Deleted.
1949 (char_encode_shift_jis): New function.
1950 (char_finish_shift_jis): New function.
1951 (reset_encoding_stream): Set up `encode_char' and `finish' for
1952 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1953 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1954 (char_encode_utf8): Treat `eol_type'.
1956 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1958 * file-coding.c (decode_coding_iso2022): Use
1959 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1961 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1963 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1966 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1968 * char-lb.h (CHAR_COLUMNS): New macro.
1970 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1972 * text-coding.c (char_encode_ucs4): New function.
1973 (char_finish_ucs4): New function.
1974 (encode_coding_ucs4): Deleted.
1975 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
1976 (text_encode_generic): Delete local variable `charset' and `half'.
1977 (ucs_to_mule_table): Deleted.
1978 (mule_to_ucs_table): Deleted.
1979 (Fset_ucs_char): Deleted.
1980 (ucs_to_char): Deleted.
1981 (Fucs_char): Deleted.
1982 (Fset_char_ucs): Deleted.
1983 (Fchar_ucs): Deleted.
1984 (decode_ucs4): Deleted.
1985 (mule_char_to_ucs4): Deleted.
1986 (encode_ucs4): Deleted.
1987 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
1988 (decode_coding_utf8): Likewise.
1989 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
1990 (char_encode_iso2022): Fixed.
1991 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
1992 `Fset_char_ucs' and `Fchar_ucs'.
1993 (complex_vars_of_file_coding): Don't initialize
1994 `ucs_to_mule_table'.
1996 * objects-tty.c (tty_initialize_font_instance): Don't use
1999 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2002 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2003 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2005 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2006 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2007 (emchar_string_displayed_columns): Likewise.
2009 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2010 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2011 (string_column_at_point): Likewise.
2012 (Fmove_to_column): Likewise.
2014 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2015 `encoding_table' and `decoding_table'.
2016 (CHARSET_REP_BYTES): Deleted.
2017 (XCHARSET_REP_BYTES): Deleted.
2018 (XCHARSET_COLUMNS): Deleted.
2019 (CHAR_COLUMNS): New macro.
2020 (lookup_composite_char): Deleted unconditionally.
2021 (composite_char_string): Likewise.
2023 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2025 * char-ucs.h (Emchar_to_byte_table): New type.
2026 (get_byte_from_character_table): New function interface.
2027 (Vcharset_latin_jisx0201): New variable.
2028 (latin_jisx0201_to_ucs): New variable.
2029 (ucs_to_latin_jisx0201): New variable.
2030 (Vcharset_latin_iso8859_2): New variable.
2031 (latin_iso8859_2_to_ucs): New variable.
2032 (ucs_to_latin_iso8859_2): New variable.
2033 (Vcharset_latin_iso8859_3): New variable.
2034 (latin_iso8859_3_to_ucs): New variable.
2035 (ucs_to_latin_iso8859_3): New variable.
2036 (Vcharset_latin_iso8859_4): New variable.
2037 (latin_iso8859_4_to_ucs): New variable.
2038 (ucs_to_latin_iso8859_4): New variable.
2039 (Vcharset_latin_iso8859_9): New variable.
2040 (latin_iso8859_9_to_ucs): New variable.
2041 (ucs_to_latin_iso8859_9): New variable.
2042 (Vcharset_latin_viscii_lower): New variable.
2043 (latin_viscii_lower_to_ucs): New variable.
2044 (ucs_to_latin_viscii_lower): New variable.
2045 (Vcharset_latin_viscii_upper): New variable.
2046 (latin_viscii_upper_to_ucs): New variable.
2047 (ucs_to_latin_viscii_upper): New variable.
2048 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2049 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2050 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2051 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2052 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2053 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2054 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2055 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2056 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2057 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2059 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2060 (Vcharset_latin_viscii_upper): New variable.
2061 (make_byte_from_character_table): New function.
2062 (put_byte_from_character_table): New function.
2063 (get_byte_from_character_table): New function.
2064 (CHAR96): New macro.
2065 (ucs_to_latin_jisx0201): New variable.
2066 (latin_jisx0201_to_ucs): New variable.
2067 (ucs_to_latin_iso8859_2): New variable.
2068 (latin_iso8859_2_to_ucs): New variable.
2069 (ucs_to_latin_iso8859_3): New variable.
2070 (latin_iso8859_3_to_ucs): New variable.
2071 (ucs_to_latin_iso8859_4): New variable.
2072 (latin_iso8859_4_to_ucs): New variable.
2073 (ucs_to_latin_iso8859_9): New variable.
2074 (latin_iso8859_9_to_ucs): New variable.
2075 (ucs_to_latin_viscii_lower): New variable.
2076 (latin_viscii_lower_to_ucs): New variable.
2077 (ucs_to_latin_viscii_upper): New variable.
2078 (latin_viscii_upper_to_ucs): New variable.
2079 (ucs_to_latin_tcvn5712): New variable.
2080 (latin_tcvn5712_to_ucs): New variable.
2081 (Qlatin_viscii_lower): New variable.
2082 (Qlatin_viscii_upper): New variable.
2083 (syms_of_mule_charset): Set up new symbol
2084 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2085 (complex_vars_of_mule_charset): Set up new charset
2086 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2087 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2088 `ucs_to_<CHARSET>' tables.
2090 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2092 * text-coding.c: New file.
2094 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2096 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2098 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2099 (MAKE_CHAR): Modify for `ucs-bmp'.
2100 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2101 non-MULE characters of BMP.
2103 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2105 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2108 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2111 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2112 - Include character.h for `CHAR_ASCII_P'.
2114 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2116 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2117 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2119 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2120 (BYTE_C0_P): Likewise.
2121 (BYTE_C1_P): Likewise.
2122 (Lstream_get_emchar_1): Likewise.
2123 (Lstream_fput_emchar): Likewise.
2124 (Lstream_funget_emchar): Likewise.
2125 (copy_internal_to_external): Likewise.
2126 (copy_external_to_internal): Likewise.
2128 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2129 (BYTE_C0_P): Likewise.
2130 (BYTE_C1_P): Likewise.
2131 (Lstream_get_emchar_1): Likewise.
2132 (Lstream_fput_emchar): Likewise.
2133 (Lstream_funget_emchar): Likewise.
2134 (copy_internal_to_external): Likewise.
2135 (copy_external_to_internal): Likewise.
2137 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2138 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2140 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2141 (BYTE_ASCII_P): Moved to mb-1byte.h.
2143 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2145 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2147 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2148 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2149 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2150 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2151 (VALIDATE_CHARPTR_FORWARD): Likewise.
2152 (simple_charptr_emchar): Moved to mb-multibyte.h.
2153 (simple_set_charptr_emchar): Likewise.
2154 (simple_charptr_copy_char): Likewise.
2155 (non_ascii_charptr_emchar): Likewise.
2156 (non_ascii_set_charptr_emchar): Likewise.
2157 (non_ascii_charptr_copy_char): Likewise.
2158 (charptr_emchar): Moved to mb-*byte.h.
2159 (set_charptr_emchar): Likewise.
2160 (charptr_copy_char): Likewise.
2162 * mb-1byte.h, mb-multibyte.h: New files.
2164 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2166 * mb-utf-8.h (MULTIBYTE): New macro.
2167 (MAX_EMCHAR_LEN): Moved from buffer.h.
2168 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2170 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2172 * mb-lb.h, multibyte.h: New files.
2174 * char-1byte.h (Charset_ID): Moved from buffer.h.
2175 (MIN_LEADING_BYTE): Likewise.
2176 (LEADING_BYTE_ASCII): Likewise.
2177 (NUM_LEADING_BYTES): Likewise.
2178 (CHARSETP): Likewise.
2179 (CHARSET_BY_LEADING_BYTE): Likewise.
2180 (XCHARSET_LEADING_BYTE): Likewise.
2181 (XCHARSET_GRAPHIC): Likewise.
2182 (XCHARSET_COLUMNS): Likewise.
2183 (XCHARSET_DIMENSION): Likewise.
2184 (CHAR_CHARSET): Likewise.
2185 (CHAR_LEADING_BYTE): Likewise.
2186 (BREAKUP_CHAR): Likewise.
2187 (Vcharset_ascii): Likewise.
2189 * buffer.h: Include multibyte.h unconditionally.
2190 (VALID_CHARPTR_P): Moved to multibyte.h.
2191 (ASSERT_VALID_CHARPTR): Likewise.
2192 (REAL_INC_CHARPTR): Likewise.
2193 (REAL_INC_CHARBYTIND): Likewise.
2194 (REAL_DEC_CHARPTR): Likewise.
2195 (INC_CHARPTR): Likewise.
2196 (INC_CHARBYTIND): Likewise.
2197 (DEC_CHARPTR): Likewise.
2198 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2199 (VALIDATE_CHARPTR_FORWARD): Likewise.
2200 (charptr_n_addr): Likewise.
2201 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2202 (simple_charptr_emchar): Moved to multibyte.h.
2203 (simple_set_charptr_emchar): Likewise.
2204 (simple_charptr_copy_char): Likewise.
2205 (non_ascii_charptr_emchar): Likewise.
2206 (non_ascii_set_charptr_emchar): Likewise.
2207 (non_ascii_charptr_copy_char): Likewise.
2208 (charptr_emchar): Likewise.
2209 (set_charptr_emchar): Likewise.
2210 (charptr_copy_char): Likewise.
2211 (charptr_emchar_n): Likewise.
2212 (Charset_ID): Moved to char-1byte.h.
2213 (Vcharset_ascii): Likewise.
2214 (CHAR_CHARSET): Likewise.
2215 (CHAR_LEADING_BYTE): Likewise.
2216 (LEADING_BYTE_ASCII): Likewise.
2217 (NUM_LEADING_BYTES): Likewise.
2218 (MIN_LEADING_BYTE): Likewise.
2219 (CHARSETP): Likewise.
2220 (CHARSET_BY_LEADING_BYTE): Likewise.
2221 (XCHARSET_LEADING_BYTE): Likewise.
2222 (XCHARSET_GRAPHIC): Likewise.
2223 (XCHARSET_COLUMNS): Likewise.
2224 (XCHARSET_DIMENSION): Likewise.
2225 (BREAKUP_CHAR): Likewise.
2227 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2229 * character.h: Add document about interface for characters.
2231 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2232 (MAKE_CHAR): Delete comment about
2233 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2234 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2235 (BREAKUP_CHAR): Modify name of arguments.
2236 (CHAR_CHARSET): Modify name of argument.
2238 * buffer.h: Delete document about Emchar accessors.
2240 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2242 * character.h (CHAR_INTP): Moved from buffer.h
2243 (CHAR_OR_CHAR_INTP): Likewise.
2244 (XCHAR_OR_CHAR_INT): Likewise.
2245 (CHECK_CHAR_COERCE_INT): Likewise.
2247 * buffer.h (CHAR_INTP): Moved to character.h
2248 (CHAR_OR_CHAR_INTP): Likewise.
2249 (XCHAR_OR_CHAR_INT): Likewise.
2250 (CHECK_CHAR_COERCE_INT): Likewise.
2252 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2255 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2256 - Include char-1byte.h, char-lb.h or char-ucs.h.
2258 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2260 * buffer.h: Include character unconditionally.
2261 (valid_char_p): Moved to char-*.h.
2262 (non_ascii_valid_char_p): Moved to char-lb.h.
2264 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2266 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2268 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2269 in UTF-2000 because it is not ported yet and not to use
2270 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2271 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2272 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2274 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2275 (CHAR_ASCII_P): Moved from character.h.
2277 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2278 (CHAR_ASCII_P): Likewise.
2279 (CHAR_FIELD1_MASK): Deleted.
2280 (CHAR_FIELD2_MASK): Deleted.
2281 (CHAR_FIELD3_MASK): Deleted.
2282 (MAX_CHAR_BASIC_LATIN): New macro.
2283 (CHAR_FIELD1): Deleted.
2284 (CHAR_FIELD2_INTERNAL): Deleted.
2285 (CHAR_FIELD3_INTERNAL): Deleted.
2286 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2287 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2288 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2289 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2290 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2291 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2292 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2293 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2294 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2295 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2296 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2297 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2298 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2299 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2300 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2301 (MIN_CHAR_COMPOSITION): Deleted.
2302 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2303 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2305 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2307 * buffer.h: Include mb-utf-8.h in UTF-2000.
2309 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2311 * mb-utf-8.h: New file.
2313 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2315 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2318 * mule-charset.h, buffer.h (Charset_ID): New type.
2320 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2322 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2323 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2324 instead of `MULE_CHAR_PRIVATE_OFFSET',
2325 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2326 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2327 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2329 * character.h (Vcharset_japanese_jisx0212): New variable
2332 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2334 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2335 (charset_by_attributes): Delete array about direction.
2336 (latin_a_char_to_charset): New variable in UTF-2000.
2337 (latin_a_char_to_byte1): New variable in UTF-2000.
2338 (latin_a_char_to_byte2): New variable in UTF-2000.
2339 (Qucs_bmp): New variable.
2340 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2342 (next_allocated_2_byte_leading_byte): Likewise.
2343 (non_ascii_set_charptr_emchar): Likewise.
2344 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2345 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2346 `charset_by_attributes'.
2347 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2348 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2349 and `CHARSET_BY_LEADING_BYTE'.
2350 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2351 `utf-2000-version' to `vars_of_mule_charset'.
2352 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2353 define `leading-code-private-11' in UTF-2000; move setting of
2354 `utf-2000-version' from `syms_of_mule_charset'.
2355 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2358 * character.h (Charset_ID): New type.
2359 (LEADING_BYTE_UCS_BMP): New macro.
2360 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2361 (CHARSET_ID_OFFSET_94): New macro.
2362 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2363 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2364 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2366 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2367 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2368 (CHARSET_ID_OFFSET_96): New macro.
2369 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2370 CHARSET_ID_OFFSET_96 and final-byte.
2371 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2372 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2373 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2374 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2375 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2376 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2377 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2378 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2379 (LEADING_BYTE_THAI_TIS620): Likewise.
2380 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2381 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2382 (CHARSET_ID_OFFSET_94x94): New macro.
2383 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2384 CHARSET_ID_OFFSET_94x94 and final-byte.
2385 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2386 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2387 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2388 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2389 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2390 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2391 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2392 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2393 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2394 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2395 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2396 (CHARSET_TYPE_128X128): New macro.
2397 (CHARSET_TYPE_256X256): New macro.
2398 (XCHARSET_PRIVATE_P): Delete unconditionally.
2399 (charset_by_attributes): Delete array about direction.
2400 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2401 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2402 (MIN_CHAR_94): New macro.
2403 (MAX_CHAR_94): New macro.
2404 (MIN_CHAR_96): New macro.
2405 (MAX_CHAR_96): New macro.
2406 (MIN_CHAR_94x94): New macro.
2407 (MAX_CHAR_94x94): New macro.
2408 (MIN_CHAR_96x96): New macro.
2409 (MAX_CHAR_96x96): New macro.
2410 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2411 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2412 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2414 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2415 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2416 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2417 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2418 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2419 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2420 `XCHARSET_LEADING_BYTE' to make code-point.
2421 (latin_a_char_to_charset): New variable.
2422 (latin_a_char_to_byte1): New variable.
2423 (latin_a_char_to_byte2): New variable.
2424 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2425 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2426 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2428 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2429 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2430 (find_charsets_in_emchar_string): Likewise.
2431 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2433 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2435 (decode_coding_iso2022): Likewise.
2437 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2440 * redisplay.c (redisplay_text_width_emchar_string): Use
2441 `Charset_ID' instead of `unsigned char'.
2442 (redisplay_frame_text_width_string): Likewise.
2444 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2447 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2448 instead of `unsigned char'.
2449 (face_cachel_charset_font_metric_info): Likewise.
2451 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2452 (get_non_ascii_char_table_value): Likewise.
2453 (get_char_table): Likewise.
2454 (put_char_table): Likewise.
2455 (map_over_other_charset): Likewise.
2456 (map_char_table): Likewise.
2458 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2459 instead of `unsigned char'.
2461 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2463 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2464 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2466 * mule-charset.c (leading_code_private_11): Don't define in
2469 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2470 in UTF-2000 because it is not ported yet and not to use
2471 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2473 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2475 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2477 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2479 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2482 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2483 of unsigned char to store leading-byte.
2485 * chartab.c (get_non_ascii_char_table_value): Don't use
2486 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2488 * file-coding.c (encode_coding_big5): Delete bogus implementation
2491 * character.h (LEADING_BYTE_*): Delete definition for
2493 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2494 (LEADING_BYTE_PREFIX_P): Deleted.
2495 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2496 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2497 (BUFBYTE_LEADING_BYTE_P): Deleted.
2498 (CHARSET_PRIVATE_P): Deleted unconditionally.
2499 (rep_bytes_by_first_byte): Deleted unconditionally.
2500 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2501 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2502 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2503 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2504 (CHAR_FIELD2): Deleted.
2505 (CHAR_FIELD3): Deleted.
2506 (MAKE_CHAR): Delete definition for non-UTF-2000.
2507 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2508 (breakup_char_1): New implementation.
2509 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2510 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2512 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2514 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2517 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2519 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2520 (CHARSET_PRIVATE_P): Likewise.
2521 (XCHARSET_PRIVATE_P): Likewise.
2522 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2524 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2526 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2528 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2530 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2531 (NUM_LEADING_BYTES): Changed from 128 to 256.
2532 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2533 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2535 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2537 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2539 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2540 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2541 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2542 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2543 (Qchinese_cns11643_3): New variable in UTF2000.
2544 (Qchinese_cns11643_4): New variable in UTF2000.
2545 (Qchinese_cns11643_5): New variable in UTF2000.
2546 (Qchinese_cns11643_6): New variable in UTF2000.
2547 (Qchinese_cns11643_7): New variable in UTF2000.
2548 (syms_of_mule_charset): Define `chinese-cns11643-3',
2549 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2550 and `chinese-cns11643-7' in UTF2000.
2551 (vars_of_mule_charset): Initialize
2552 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2554 (complex_vars_of_mule_charset): Setup charset
2555 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2556 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2558 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2560 * mule-charset.c: Move setting for `leading-code-private-11' from
2561 `syms_of_mule_charset' to `vars_of_mule_charset'.
2563 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2565 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2566 and `NUM_LEADING_BYTES' in assert.
2568 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2570 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2572 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2573 `NUM_LEADING_BYTES' instead of 128.
2575 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2577 * mule-charset.h (charset_by_leading_byte): Use
2578 `NUM_LEADING_BYTES' instead of 128.
2579 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2581 * mule-charset.c (charset_by_leading_byte): Use
2582 `NUM_LEADING_BYTES' instead of 128.
2583 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2585 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2588 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2590 * mule-charset.c (syms_of_mule_charset): Update to
2593 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2595 * file-coding.c (encode_coding_sjis): New implementation for
2596 UTF2000. (decode_coding_sjis): Ditto.
2598 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2600 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2601 Don't define in UTF2000.
2603 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2606 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2607 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2610 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2612 * config.h.in (CHAR_IS_UCS4): New macro.
2614 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2615 conventional MULE representation.
2616 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2618 * mule-charset.h: Reverted to original.
2620 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2621 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2622 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2624 * character.h: New file.
2626 * file-coding.c (Fmake_coding_system): Set 1 to
2627 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2629 (encode_coding_no_conversion): New implementation for UTF2000.
2631 * file-coding.h (struct Lisp_Coding_System): Add new member
2634 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2636 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2637 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2638 (encode_coding_iso2022): New implementation for UTF2000.
2640 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2642 * mule-canna.c (c2mu): New implementation for UTF2000.
2645 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2647 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2649 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2651 * file-coding.c (reset_encoding_stream): Set 0 to
2652 `str->iso2022.current_char_boundary' in UTF2000.
2653 (encode_utf8): Don't define in UTF2000.
2654 (encode_coding_utf8): New implementation for UTF-8 representation
2656 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2658 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2660 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2662 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2664 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2666 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2668 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2669 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2670 as UTF-8 in UTF2000.
2671 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2672 (non_ascii_valid_char_p): Don't define in UTF2000.
2673 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2674 (Lstream_get_emchar_1): Likewise.
2675 (utf-2000-version): New variable in UTF2000.
2677 * lread.c (read_escape): Add new reader `u'.
2679 * insdel.c (three_to_one_table): Don't define in UTF2000.
2680 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2681 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2683 (bytind_to_bufpos_func): Likewise.
2684 (buffer_mule_signal_inserted_region): Likewise.
2685 (vars_of_insdel): Don't initialize `three_to_one_table'.
2686 (init_buffer_text): Use `buf->text->mule_size' instead of
2687 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2690 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2691 UTF-8 representation in UTF2000.
2692 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2693 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2694 (decode_coding_iso2022): Don't define local variable `lb' in
2695 UTF2000; don't use LEADING_BYTE in UTF2000; use
2696 `DECODE_ADD_UCS_CHAR' in UTF2000.
2697 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2699 * config.h.in (UTF2000): New macro.
2701 * buffer.h (struct buffer_text): Add new member `mule_size' and
2702 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2703 (valid_char_p): Return always 1 in UTF2000.
2704 (MAX_EMCHAR_LEN): 6 in UTF2000.
2705 (three_to_one_table): Don't define in UTF2000.
2706 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2708 (real_bytind_to_bufpos): Likewise.
2710 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2712 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2714 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2715 representation change.
2716 (Vutf_2000_version): New variable.
2717 (leading_code_private_11): New variable.
2718 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2719 `leading-code-private-11'.
2721 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2722 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2723 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2724 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2725 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2726 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2727 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2728 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2729 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2730 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2731 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2732 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2733 (MIN_CHAR_GREEK): New macro.
2734 (MAX_CHAR_GREEK): New macro.
2735 (MIN_CHAR_CYRILLIC): New macro.
2736 (MAX_CHAR_CYRILLIC): New macro.
2737 (MIN_CHAR_HEBREW): New macro.
2738 (MAX_CHAR_HEBREW): New macro.
2739 (MIN_CHAR_THAI): New macro.
2740 (MAX_CHAR_THAI): New macro.
2741 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2742 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2743 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2744 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2745 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2746 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2747 (CHAR_FIELD2): New inline function.
2748 (CHAR_FIELD3): New inline function.
2749 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2750 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2751 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2752 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2753 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2754 (MIN_CHAR_COMPOSITION): Likewise.
2755 (CHAR_LEADING_BYTE): Modified for character representation change.
2756 (MAKE_CHAR): Likewise.
2758 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2759 (Vcharset_greek_iso8859_7): Likewise.
2760 (Vcharset_cyrillic_iso8859_5): Likewise.
2761 (Vcharset_hebrew_iso8859_8): Likewise.
2762 (Vcharset_thai_tis620): Likewise.
2763 (Vcharset_katakana_jisx0201): Likewise.
2765 2000-12-05 Martin Buchholz <martin@xemacs.org>
2767 * XEmacs 21.2.38 is released.
2769 2000-12-05 Martin Buchholz <martin@xemacs.org>
2771 * symsinit.h: Add init_postgresql_from_environment.
2773 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2775 * regex.c: Convert to clean C.
2777 2000-12-05 Dan Holmsand <dan@eyebee.com>
2780 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2782 (sys_readlink): renamed to system_readlink to avoid conflict with
2783 the other sys_readlink.
2785 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2787 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2789 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2791 * postgresql.c (init_postgresql_from_environment): new function.
2792 (vars_of_postgresql): Move code initializing Lisp variables out and
2793 into init_postgresql_from_environment.
2794 emacs.c (main_1): Call init_postgresql_from_environment if and only
2795 if running a dumped XEmacs.
2797 2000-08-31 Dan Holmsand <dan@eyebee.com>
2799 * buffer.c: Make find-file-compare-truenames default to true on
2802 * realpath.c (win32_abs_start):
2804 (win32_readlink): New functions.
2805 (xrealpath): Return really real filenames on windows.
2807 * fileio.c (Ffile_truename): Make file-truename work on windows.
2809 2000-11-29 Didier Verna <didier@xemacs.org>
2811 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2812 * faces.c (update_face_cachel_data): use it.
2813 * faces.c (add_face_cachel): use it. Complete background pixmap
2814 frobbing in face cache if `update_face_cachel_data' has not done so.
2816 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2818 * search.c (string_match_1): Don't set last_thing_searched
2821 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2823 * buffer.c: Include casetab.h
2824 (common_init_complex_vars_of_buffer): Use new case-table object.
2825 * buffer.h: Include casetab.h
2826 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2827 (DOWNCASE_TABLE_OF): Ditto.
2828 * bufslots.h: Remove char-tables and add case-table.
2829 * casetab.c: Include casetab.h
2830 (CASE_TABLE_P): Removed.
2831 (mark_case_table): New function.
2832 (allocate_case_table): New function.
2833 (Fcase_table_p): Use new case-table.
2834 (case_table_char): New function.
2835 (Fget_case_table): Ditto.
2836 (Fput_case_table): Ditto.
2837 (Fput_case_table_pair): Ditto.
2838 (Fcopy_case_table): Ditto.
2839 (Fcurrent_case_table): Return case-table.
2840 (Fstandard_case_table): Return case-table.
2841 (Fset_case_table): Fix doc-string.
2842 (set_case_table): Use case-table
2843 (syms_of_casetab): DEFSUBR new functions.
2844 (complex_vars_of_casetab): Set up standard case-table.
2845 * casetab.h: New file.
2846 * editfns.c: Include casetab.h
2847 (Fcompare_buffer_substrings): Use case-table.
2848 * inline.c: Include casetab.h
2849 * lisp.h: Remove bogus extern.
2850 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2851 * search.c: Include casetab.h
2852 (TRANSLATE_ASCII): Removed.
2853 (TRANSLATE): Unconditionally translate character.
2854 (looking_at_1): Use case-table.
2855 (string_match_1): Ditto.
2856 (fast_string_match): Ditto.
2857 (search_command): Ditto.
2858 (search_buffer): Separate boyer_moore. Check whether
2859 boyer_moore is poosible.
2860 (simple_search): New function.
2861 (boyer_moore): Separated from search_buffer. Translate char.
2863 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2865 * regex.c (RE_TR_ASCII): Removed.
2866 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2867 (PATFETCH): Call PATFETCH_RAW.
2868 (PATFETCH_RAW): Fetch Emchar.
2869 (PATUNFETCH): Decrement charptr.
2870 (GET_BUFFER_SPACE): Rename b to buf_end.
2872 (BUF_PUSH_2): Ditto.
2873 (BUF_PUSH_3): Ditto.
2874 (EXTEND_BUFFER): Ditto.
2875 (SET_LIST_BIT): Ditto.
2876 (regex_compile): Ditto. Translate non ASCII char.
2877 (compile_range): Ditto.
2878 (re_search_2): Ditto.
2879 (re_match_2_internal): Compare Emchar.
2880 (bcmp_translate): Ditto.
2882 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2884 * lisp.h (basic char/int typedefs): comment improvement.
2886 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2888 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2889 unstomp inhibit_site_lisp. Improve comments.
2891 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2893 * mule-charset.c (Fcharset_property): improve type checking, comments.
2895 2000-11-28 Andy Piper <andy@xemacs.org>
2897 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2898 clipped display for windows in the gutter also.
2899 (redisplay_display_boxes_in_window_p): change semantics of return
2900 codes to be more intuitive.
2902 * gutter.h: declare display_boxes_in_gutter_p.
2904 * gutter.c (display_boxes_in_gutter_p): new function for
2907 2000-11-22 Andy Piper <andy@xemacs.org>
2909 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2912 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2914 * callproc.c (Fold_call_process_internal):
2915 * gpm.c (Freceive_gpm_event):
2916 (tty_get_foreign_selection): Might be just warning supression.
2917 * fileio.c (Fwrite_region_internal):
2918 (Fset_visited_file_modtime):
2919 * keymap.c (event_matches_key_specifier_p):
2920 Initialize GCPROed variable.
2922 * menubar-x.c (command_builder_find_menu_accelerator):
2923 Initialize before use.
2925 2000-11-23 Andy Piper <andy@xemacs.org>
2927 * unexcw.c (unexec): make the resulting executable executable.
2929 2000-11-21 Martin Buchholz <martin@xemacs.org>
2931 * doc.c (get_doc_string):
2932 Use size_t, not int, for result of XSTRING_LENGTH.
2934 * cmds.c (Fdelete_char):
2935 * cmds.c (Fpoint_at_eol):
2936 * cmds.c (Fself_insert_command):
2937 Use EMACS_INT, not int, for result of XINT.
2938 Someday, someone will want to insert more than 2**31 identical characters.
2940 * cmds.c (Fdelete_char):
2941 * cmds.c (Fdelete_backward_char):
2942 * syntax.c (Fforward_word):
2943 * syntax.c (Fforward_comment):
2944 Make COUNT argument optional, for consistency with forward-char et al.
2946 2000-11-22 Martin Buchholz <martin@xemacs.org>
2949 * print.c (long_to_string):
2950 Return a useful value: the pointer at end of data written.
2953 Use `static const char * const' for constant strings.
2954 (union printf_arg): Delete `i', `ui' members.
2957 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2958 Do all printf-ing via the `l' specifier.
2959 Use EMACS_INT instead of int.
2962 2000-11-20 Didier Verna <didier@xemacs.org>
2964 * faces.c (update_face_cachel_data): don't frob the background
2965 pixmap when the window is being created. The face is needed but
2968 2000-11-20 Andy Piper <andy@xemacs.org>
2970 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
2971 messing with a debug environment.
2973 2000-11-20 Martin Buchholz <martin@xemacs.org>
2975 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
2977 2000-11-20 Martin Buchholz <martin@xemacs.org>
2979 * casetab.c (Fcase_table_p): Fix compile error and crash.
2981 2000-11-18 Philip Aston <philipa@mail.com>
2983 * s/cygwin32.h: Cygwin has SVR4-like pty support.
2985 2000-11-18 Martin Buchholz <martin@xemacs.org>
2987 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
2988 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
2990 2000-11-17 Martin Buchholz <martin@xemacs.org>
2992 * config.h.in: Define HAVE_ELF_H if elf.h exists.
2993 * unexelf.c: Use HAVE_ELF_H.
2994 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
2995 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
2996 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
2997 Greg Harrington <greg_harrington@hotmail.com> provided a machine
2999 So this is an unexelfsgi.c from a different line of development.
3001 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3003 * regex.c (RE_TR_ASCII): New function.
3004 (RE_TRANSLATE): Call it.
3006 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3008 * buffer.h (TRT_TABLE_OF): Remove assert.
3009 (IN_TRT_TABLE_DOMAIN): Removed.
3011 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3013 * free-hook.c (log_gcpro):
3014 (show_gcprohist): Add support for GCPRO5.
3016 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3018 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3020 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3022 * symeval.h: Declare flush_all_buffer_local_cache.
3024 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3025 (flush_buffer_local_cache): Added.
3026 (flush_all_buffer_local_cache): Added.
3028 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3030 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3031 (pdump_dump_data): Ditto.
3032 (pdump_reloc_one): Ditto.
3033 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3037 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3039 * buffer.c: Remove if 0'ed entry.
3040 * buffer.h: Rewrite TRT to use char-table.
3041 * bufslots.h: Remove mirror tables.
3042 * casetab.c: Remove mirror tables.
3043 (CASE_TABLE_P): New macro.
3044 (Fcase_table_p): Element of a case table is string or char-table.
3045 (make_mirror_trt_table): Removed.
3046 (set_case_table): Setup char-table from strings for backward
3048 * dired.c (Fdirectory_files):
3049 * dired-msw.c: (mswindows_get_files):
3050 * lisp.h: Change prototype of re_pattern_buffer.
3051 * regex.c: (RE_TRANSLATE): New macro.
3052 (TRANSLATE_P): Ditto.
3053 Change translate to type RE_TRANSLATE_TYPE.
3054 * regex.h: Define RE_TRANSLATE_TYPE
3055 * search.c (TRANSLATE): New macro.
3056 (TRANSLATE_ASCII): New macro.
3057 Translate table is changed to Lisp_Object.
3058 (signal_failure): Inhibit return.
3060 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3067 Do UNGCPRO before return.
3069 2000-11-14 Martin Buchholz <martin@xemacs.org>
3071 * XEmacs 21.2.37 is released.
3073 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3075 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3076 Add comments about discarded return value.
3078 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3081 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3083 2000-10-27 Andy Piper <andy@xemacs.org>
3085 * gutter.c (Fset_default_gutter_position): default left and right
3087 (calculate_gutter_size): calculate resonable heuristic for left
3088 and right gutter sizes.
3089 (specifier_vars_of_gutter): change left and right gutter sizes to
3091 (calculate_gutter_size_from_display_lines): new function.
3092 (output_gutter): check for resizing on left and right gutters.
3093 (clear_gutter): don't special case top and left gutters.
3094 (specifier_vars_of_gutter): use new signature for
3095 set_specifier_caching.
3097 * glyphs-x.c (x_redisplay_widget): spelling fix.
3098 * glyphs.c (specifier_vars_of_glyphs):
3099 * menubar.c (specifier_vars_of_menubar):
3100 * redisplay.c (specifier_vars_of_redisplay):
3101 * toolbar.c (specifier_vars_of_toolbar):
3102 * window.c (specifier_vars_of_window):
3103 * scrollbar.c (specifier_vars_of_scrollbar):
3104 (complex_vars_of_scrollbar): use new signature for
3105 set_specifier_caching.
3107 * specifier.c (set_specifier_caching): include recompute flag.
3108 (recompute_one_cached_specifier_in_window): always recompute if
3110 (recompute_one_cached_specifier_in_frame): ditto.
3112 * specifier.h (struct specifier_caching): add recompute flag.
3114 2000-10-24 Andy Piper <andy@xemacs.org>
3116 * unexcw.c (copy_executable_and_dump_data_section): add new
3117 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3120 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3122 * console-x.h (x_device): New member modifier_release_time.
3123 * event-Xt.c (x_handle_sticky_modifiers):
3124 Bound interval modifier keys are sticky.
3125 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3126 * events.h: extern it.
3128 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3130 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3132 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3134 * event-stream.c (execute_command_event): Preserve current_events
3135 and the like when event is misc-user-event.
3136 Inhibit quit during the call to maybe_echo_keys.
3138 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3140 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3141 symlink when buffer is killed.
3142 (inhibit_clash_detection): New variable.
3144 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3146 * console.c (Fset_input_method): Trigger redisplay on tty.
3148 2000-11-07 Martin Buchholz <martin@xemacs.org>
3150 * process.c (Fprocess_status): Revert to previous behavior:
3151 (process-status "nosuchprocess") ==> nil
3153 2000-11-06 Martin Buchholz <martin@xemacs.org>
3155 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3156 Work around another GCC 2.95.2 optimizer bug.
3158 2000-11-02 Martin Buchholz <martin@xemacs.org>
3160 * process.c (Fget_process): Use LIST_LOOP_2.
3161 (kill_buffer_processes): Use LIST_LOOP_2.
3163 * minibuf.c (Fall_completions):
3164 Delete old non-functional code for FSF fourth argument.
3166 * frame.c (frame_matches_frame_spec):
3167 Renamed from `frame_matches_frametype'. Update all callers.
3168 (device_matches_device_spec):
3169 Renamed from 'device_matches_console_spec'. Update all callers.
3171 * doc.c (Fsubstitute_command_keys):
3172 Remove buffer overflow crash. Small code cleanups.
3174 * casetab.c (check_case_table): Simpler code.
3176 * window.c (Freplace_buffer_in_windows):
3177 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3178 (and similar implementation) as Fdelete_windows_on.
3181 * alloc.c (Fmake_list):
3182 * alloc.c (make_vector):
3183 * alloc.c (Fmake_vector):
3184 * alloc.c (make_bit_vector):
3185 * alloc.c (Fmake_bit_vector):
3186 * alloc.c (Fbit_vector):
3187 * alloc.c (Fmake_string):
3188 * alloc.c (Fpurecopy):
3189 * alloc.c (Fmemory_limit):
3191 * buffer.c (Fget_buffer):
3192 * buffer.c (Fkill_buffer):
3193 * buffer.c (complex_vars_of_buffer):
3194 * bytecode.c (Fcompiled_function_stack_depth):
3195 * callint.c (Fprefix_numeric_value):
3197 * event-stream.c (Fread_key_sequence):
3199 * casetab.c (Fcase_table_p):
3200 * casetab.c (check_case_table):
3201 * casetab.c (Fset_case_table):
3202 * casetab.c (Fset_standard_case_table):
3204 * chartab.c (Fchar_table_type):
3205 * chartab.c (Freset_char_table):
3206 * chartab.c (Fget_char_table):
3207 * chartab.c (Fget_range_char_table):
3208 * chartab.c (Fput_char_table):
3209 * chartab.c (Fmap_char_table):
3210 * chartab.c (Fcategory_table_p):
3211 * chartab.c (Fcheck_category_at):
3212 * chartab.c (Fchar_in_category_p):
3213 * chartab.c (Fcategory_table):
3214 * chartab.c (Fcopy_category_table):
3215 * chartab.c (Fset_category_table):
3216 * chartab.c (Fcategory_designator_p):
3217 * chartab.c (Fcategory_table_value_p):
3218 * cmds.c (Fdelete_char):
3219 * cmds.c (Fdelete_backward_char):
3220 * cmds.c (Fself_insert_command):
3221 * cmds.c (Fself_insert_internal):
3222 * console.c (Fvalid_console_type_p):
3223 * console.c (Fcdfw_console):
3224 * console.c (Fconsole_type):
3225 * console.c (Fconsole_name):
3226 * console.c (Fconsole_device_list):
3227 * console.c (Fconsole_on_window_system_p):
3231 * data.c (Fsubr_interactive):
3232 * data.c (Fchar_to_int):
3233 * data.c (Fint_to_char):
3236 * data.c (Fnumber_to_string):
3237 * data.c (Fstring_to_number):
3239 * database.c (mark_database):
3240 * database.c (finalize_database):
3241 * database.c (Fdatabase_live_p):
3242 * database.c (Fdatabasep):
3243 * device-x.c (Fx_get_resource):
3244 * device.c (Fdfw_device):
3246 * dired.c (Ffile_name_completion):
3247 * dired.c (Ffile_name_all_completions):
3248 * dired.c (Fuser_name_completion):
3249 * dired.c (Fuser_name_completion_1):
3250 * dired.c (Fuser_name_all_completions):
3251 * doc.c (Fdocumentation):
3252 * doc.c (Fdocumentation_property):
3253 * doc.c (Fsubstitute_command_keys):
3255 * editfns.c (Fchar_to_string):
3256 * editfns.c (Fstring_to_char):
3257 * editfns.c (Ftemp_directory):
3258 * editfns.c (Finsert_char):
3259 * editfns.c (Fbuffer_substring_no_properties):
3260 * editfns.c (Fnarrow_to_region):
3261 * editfns.c (Fchar_equal):
3262 * editfns.c (Fchar_Equal):
3263 * editfns.c (Ftranspose_regions):
3264 * emacs.c (Fdump_emacs):
3266 * eval.c (Fcommand_execute):
3267 * eval.c (Fautoload):
3268 * eval.c (Fbacktrace):
3269 * eval.c (Fbacktrace_frame):
3271 * events.c (Fcopy_event):
3272 * events.c (Fcharacter_to_event):
3273 * events.c (Fevent_button):
3274 * events.c (Fevent_process):
3276 * extents.c (Fnext_extent_change):
3277 * extents.c (Fextent_property):
3279 * faces.c (Fmake_face):
3281 * file-coding.c (Fencode_shift_jis_char):
3282 * file-coding.c (Fencode_big5_char):
3283 * fileio.c (Ffile_name_directory):
3284 * fileio.c (Ffile_name_nondirectory):
3285 * fileio.c (Ffile_name_as_directory):
3286 * fileio.c (Fdirectory_file_name):
3287 * fileio.c (Ffile_truename):
3288 * fileio.c (Fsubstitute_in_file_name):
3289 * fileio.c (Ffile_modes):
3290 * fileio.c (Fset_file_modes):
3291 * fileio.c (Fset_default_file_modes):
3292 * fileio.c (Fverify_visited_file_modtime):
3293 * floatfns.c (Facos):
3294 * floatfns.c (Fasin):
3295 * floatfns.c (Fatan):
3296 * floatfns.c (Fcos):
3297 * floatfns.c (Fsin):
3298 * floatfns.c (Ftan):
3299 * floatfns.c (Fbessel_j0):
3300 * floatfns.c (Fbessel_j1):
3301 * floatfns.c (Fbessel_jn):
3302 * floatfns.c (Fbessel_y0):
3303 * floatfns.c (Fbessel_y1):
3304 * floatfns.c (Fbessel_yn):
3305 * floatfns.c (Ferf):
3306 * floatfns.c (Ferfc):
3307 * floatfns.c (Flog_gamma):
3308 * floatfns.c (Fexp):
3309 * floatfns.c (Fexpt):
3310 * floatfns.c (Flog):
3311 * floatfns.c (Flog10):
3312 * floatfns.c (Fsqrt):
3313 * floatfns.c (Fcube_root):
3314 * floatfns.c (Facosh):
3315 * floatfns.c (Fasinh):
3316 * floatfns.c (Fatanh):
3317 * floatfns.c (Fcosh):
3318 * floatfns.c (Fsinh):
3319 * floatfns.c (Ftanh):
3320 * floatfns.c (Fabs):
3321 * floatfns.c (Ffloat):
3322 * floatfns.c (Flogb):
3323 * floatfns.c (Fceiling):
3324 * floatfns.c (Ffloor):
3325 * floatfns.c (Fround):
3326 * floatfns.c (Ftruncate):
3327 * floatfns.c (Ffceiling):
3328 * floatfns.c (Fffloor):
3329 * floatfns.c (Ffround):
3330 * floatfns.c (Fftruncate):
3331 * fns.c (Fstring_equal):
3332 * fns.c (Fstring_lessp):
3337 * fns.c (Fsubstring):
3339 * fns.c (Fold_assoc):
3340 * fns.c (assoc_no_quit):
3342 * fns.c (Fold_assq):
3343 * fns.c (assq_no_quit):
3345 * fns.c (Fold_rassoc):
3347 * fns.c (Fold_rassq):
3348 * fns.c (rassq_no_quit):
3349 * fns.c (Fremassoc):
3350 * fns.c (remassoc_no_quit):
3352 * fns.c (remassq_no_quit):
3353 * fns.c (Fremrassoc):
3354 * fns.c (Fremrassq):
3355 * fns.c (remrassq_no_quit):
3357 * fns.c (Fplist_get):
3358 * fns.c (Fplist_put):
3359 * fns.c (Fplist_remprop):
3360 * fns.c (Fplist_member):
3361 * fns.c (Flax_plist_get):
3362 * fns.c (Flax_plist_put):
3363 * fns.c (Flax_plist_remprop):
3364 * fns.c (Flax_plist_member):
3366 * fns.c (Fold_equal):
3368 * fns.c (Fbase64_encode_region):
3369 * fns.c (Fbase64_encode_string):
3370 * fns.c (Fbase64_decode_region):
3372 * frame.c (frame_matches_frame_spec):
3373 * frame.c (device_matches_device_spec):
3374 * frame.c (next_frame):
3375 * frame.c (previous_frame):
3376 * frame.c (Fnext_frame):
3377 * frame.c (Fprevious_frame):
3378 * frame.c (Fframe_property):
3379 * frame.c (Fset_frame_height):
3380 * frame.c (Fset_frame_size):
3384 * glyphs.c (decode_error_behavior_flag):
3385 * glyphs.c (Fmake_image_instance):
3386 * indent.c (Findent_to):
3387 * intl.c (Fignore_defer_gettext):
3388 * keymap.c (Fkeymapp):
3389 * keymap.c (Flookup_key):
3391 * lread.c (Fload_internal):
3392 * lread.c (Feval_buffer):
3393 * lread.c (Feval_region):
3394 * macros.c (Fexecute_kbd_macro):
3395 * marker.c (set_marker_internal):
3396 * marker.c (Fset_marker):
3397 * marker.c (set_marker_restricted):
3398 * marker.c (Fcopy_marker):
3399 * marker.c (noseeum_copy_marker):
3401 * menubar.c (Fpopup_menu):
3403 * mule-charset.c (Fcharset_name):
3404 * mule-charset.c (Fchar_charset):
3405 * mule-charset.c (Fchar_octet):
3406 * mule-charset.c (Fsplit_char):
3407 * mule-wnnfns.c (Fwnn_open):
3408 * mule-wnnfns.c (Fwnn_dict_comment):
3409 * mule-wnnfns.c (Fwnn_quit_henkan):
3410 * mule-wnnfns.c (Fwnn_word_toroku):
3411 * mule-wnnfns.c (Fwnn_word_sakujo):
3412 * mule-wnnfns.c (Fwnn_word_use):
3413 * mule-wnnfns.c (Fwnn_hindo_set):
3415 * objects.c (Fmake_color_instance):
3416 * objects.c (Fmake_font_instance):
3417 * print.c (Fwrite_char):
3419 * process.c (mark_process):
3420 * process.c (print_process):
3421 * process.c (get_process_from_usid):
3422 * process.c (Fprocessp):
3423 * process.c (Fprocess_live_p):
3424 * process.c (Fget_process):
3425 * process.c (Fget_buffer_process):
3426 * process.c (get_process):
3427 * process.c (Fprocess_id):
3428 * process.c (Fprocess_name):
3429 * process.c (Fprocess_command):
3430 * process.c (init_process_io_handles):
3431 * process.c (start_process_unwind):
3432 * process.c (Fstart_process_internal):
3433 * process.c (Fopen_multicast_group_internal):
3434 * process.c (Fset_process_window_size):
3435 * process.c (read_process_output):
3436 * process.c (send_process):
3437 * process.c (Fprocess_tty_name):
3438 * process.c (Fset_process_buffer):
3439 * process.c (Fprocess_buffer):
3440 * process.c (Fprocess_mark):
3441 * process.c (set_process_filter):
3442 * process.c (Fset_process_filter):
3443 * process.c (Fprocess_filter):
3444 * process.c (Fprocess_send_region):
3445 * process.c (Fprocess_send_string):
3446 * process.c (exec_sentinel):
3447 * process.c (Fset_process_sentinel):
3448 * process.c (Fprocess_sentinel):
3449 * process.c (status_notify):
3450 * process.c (Fprocess_status):
3451 * process.c (Fprocess_exit_status):
3452 * process.c (process_send_signal):
3453 * process.c (Fprocess_send_eof):
3454 * process.c (deactivate_process):
3455 * process.c (remove_process):
3456 * process.c (Fdelete_process):
3457 * process.c (kill_buffer_processes):
3458 * process.c (Fprocess_kill_without_query):
3459 * process.c (Fprocess_kill_without_query_p):
3461 * rangetab.c (Fget_range_table):
3462 * rangetab.c (Fput_range_table):
3463 * rangetab.c (Fremove_range_table):
3464 * rangetab.c (Fclear_range_table):
3466 * search.c (Fskip_chars_forward):
3467 * search.c (Fskip_chars_backward):
3468 * search.c (Fskip_syntax_forward):
3469 * search.c (Fskip_syntax_backward):
3470 * search.c (search_command):
3471 * search.c (Freplace_match):
3472 * search.c (Fregexp_quote):
3473 * select.c (Fown_selection_internal):
3474 * select.c (Fselection_owner_p):
3475 * select.c (Fselection_exists_p):
3476 * select.c (Fget_selection_internal):
3479 * symbols.c (Fintern):
3480 * symbols.c (Fintern_soft):
3481 * symbols.c (Funintern):
3482 * symbols.c (Fapropos_internal):
3483 * symbols.c (Fset_default):
3485 * syntax.c (Fsyntax_table_p):
3486 * syntax.c (Fcopy_syntax_table):
3487 * syntax.c (Fset_syntax_table):
3488 * syntax.c (Fchar_syntax):
3489 * syntax.c (syntax_match):
3490 * syntax.c (Fmatching_paren):
3491 * syntax.c (Fforward_word):
3492 * syntax.c (scan_lists):
3493 * syntax.c (Fscan_lists):
3494 * syntax.c (Fscan_sexps):
3495 * syntax.c (Fparse_partial_sexp):
3496 * toolbar.c (Fcheck_toolbar_button_syntax):
3499 * window.c (Fwindowp):
3500 * window.c (Fwindow_live_p):
3501 * window.c (Fwindow_point):
3502 * window.c (Fdelete_window):
3503 * window.c (Fnext_window):
3504 * window.c (Fprevious_window):
3505 * window.c (Fother_window):
3506 * window.c (window_loop):
3507 * window.c (Fget_lru_window):
3508 * window.c (Fsplit_window):
3509 * window.c (Fenlarge_window):
3510 * window.c (Fenlarge_window_pixels):
3511 * window.c (Fshrink_window):
3512 * window.c (Fshrink_window_pixels):
3513 * window.c (change_window_height):
3514 * window.c (Fwindow_configuration_p):
3515 * window.c (Fcurrent_window_configuration):
3517 * casefiddle.c (casify_object):
3518 * casefiddle.c (Fupcase):
3519 * casefiddle.c (Fdowncase):
3520 * casefiddle.c (Fcapitalize):
3521 * casefiddle.c (Fupcase_initials):
3522 * casefiddle.c (casify_region_internal):
3523 * casefiddle.c (casify_region):
3524 * casefiddle.c (Fupcase_region):
3525 * casefiddle.c (Fdowncase_region):
3526 * casefiddle.c (Fcapitalize_region):
3527 * casefiddle.c (Fupcase_initials_region):
3528 * casefiddle.c (Fupcase_word):
3529 * casefiddle.c (Fdowncase_word):
3530 * casefiddle.c (Fcapitalize_word):
3531 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3532 Replace 0 with '\0' when working with bytes.
3533 Replace initial "(" with "\(" in docstrings.
3535 2000-11-01 Martin Buchholz <martin@xemacs.org>
3537 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3539 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3541 2000-10-31 Martin Buchholz <martin@xemacs.org>
3543 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3545 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3547 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3550 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3552 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3553 (inhibit_auto_save_session): New variable.
3554 (vars_of_fileio): Declare and initialize them.
3555 * fileio.c (Fdo_auto_save): Don't create session file if
3556 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3558 2000-10-31 Martin Buchholz <martin@xemacs.org>
3560 * sgiplay.c (play_internal): C++ compilability.
3561 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3562 * callproc.c (Fold_call_process_internal):
3563 Remove unused vars `env', `first'.
3564 * scrollbar.c (update_scrollbar_instance):
3565 #### unused var `current_window'.
3566 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3567 etc. within #ifdef NOT_YET.
3568 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3569 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3570 * specifier.c (specifier_instance):
3571 #### unused var `tag'.
3572 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3574 2000-10-27 Martin Buchholz <martin@xemacs.org>
3577 * fns.c (list_sort):
3578 * fns.c (Ffillarray):
3579 * fns.c (bytecode_nconc2):
3582 * fns.c (Fmapconcat):
3583 Be pedantically 64-bit correct. For the time when someone will
3584 want to have a list with length > 2**32.
3586 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3587 Work around MIPSpro compiler bug.
3589 * process-unix.c (unix_kill_child_process): Add snarky comment.
3590 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3592 * config.h.in: Oops, _getpt ==> _getpty
3594 2000-10-26 Martin Buchholz <martin@xemacs.org>
3598 Use void*, not char*, as return type of alloca().
3600 * alloc.c (free_marker): Side effect inside assert expression!
3602 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3604 * mule-charset.c (Fset_charset_ccl_program): To check
3605 if the given ccl program is valid, use setup_ccl_program()
3606 instead of CHECK_VECTOR().
3607 (Fmake_charset): Likewise.
3609 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3611 * faces.c (get_extent_fragment_face_cache_index):
3612 Fix cachel.merged_faces memory leak.
3614 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3616 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3617 Reset MSB of octets obtained by DECODE_SJIS
3618 because of the incompatibility with Emacs.
3619 (ccl_driver)<CCL_ENCODE_SJIS>:
3620 Set MSB of octets before passing them to
3621 ENCODE_SJIS because of the incompatibility
3624 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3626 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3627 (DECLARE_LRECORD): Undo the last change.
3628 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3630 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3632 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3633 the implementation to lrecord_implementations_table.
3635 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3637 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3638 initial value of `lrecord_type_##c_name' and
3639 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3640 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3641 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3642 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3643 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3645 2000-10-17 Martin Buchholz <martin@xemacs.org>
3647 * miscplay.c (sndcnv8S_2mono):
3648 (sndcnv2monounsigned):
3649 (sndcnvULaw_2linear):
3651 Remove implementation-defined behavior.
3653 2000-10-12 Martin Buchholz <martin@xemacs.org>
3655 * input-method-xlib.c: Warning suppression.
3657 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3659 * mule-ccl.c: Sync up with Emacs 21.0.90.
3660 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3662 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3664 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3665 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3666 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3667 leading char belongs to official 2-dimensional charset.
3668 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3669 write the given character as is. Otherwise,
3670 if it is a multibyte char, convert it by
3671 non_ascii_set_charptr_emchar, then write it.
3672 (CCL_WRITE_STRING): Likewise.
3673 (ccl_get_compiled_code): New function.
3674 (setup_ccl_program): When ccl_prog is invalid,
3676 (Fregister_code_conversion_map): New function.
3677 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3679 * mule-ccl.h: Sync up with Emacs 21.0.90.
3680 (Fregister_ccl_program): export it.
3682 * redisplay-msw.c (separate_textual_runs):
3683 If ccl program is not valid, don't do ccl conversion.
3685 * redisplay-x.c (separate_textual_runs): Ditto.
3687 * file-coding.c (Fmake_coding_system):
3688 When type is ccl and value is vector, register it
3689 with a proper symbol. And checks whether the
3690 given ccl program is valid.
3691 (mule_decode): When calling ccl_driver, if src indicates
3692 NULL pointer, set an empty string instead.
3693 (mule_encode): Likewise.
3695 2000-10-11 Martin Buchholz <martin@xemacs.org>
3697 The following large batch of changes gets us back to a state of
3698 C++ compilability. Extbyte is now a char, which means that
3699 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3701 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3703 * sound.c (Fplay_sound): Type correctness.
3705 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3706 (x_get_window_property): Type correctness.
3707 (receive_incremental_selection): unsigned char ==> Extbyte
3708 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3709 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3710 (Fx_store_cutbuffer_internal): Type correctness.
3712 * process-unix.c (try_to_initialize_subtty): Type correctness.
3714 * objects-x.c (x_print_color_instance): Type correctness.
3715 (x_print_font_instance): Type correctness.
3716 (x_list_fonts): SExtbyte ==> Extbyte.
3717 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3718 (x_find_charset_font): SExtbyte ==> Extbyte.
3719 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3720 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3721 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3724 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3725 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3726 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3727 (BYTE_C0_P): Use bit ops for char-signedness safety.
3728 (BYTE_C1_P): Use bit ops for char-signedness safety.
3729 (CHARSET_BY_LEADING_BYTE):
3730 (CHARSET_BY_ATTRIBUTES):
3731 Always use inline function.
3732 Use type_checking_assert.
3735 * mule-charset.c (non_ascii_charptr_copy_char):
3736 Modify to work with both ASCII and non-ASCII characters.
3737 Improve docs and variable names.
3738 Replace over-clever fall-through switch with a simple loop.
3739 (Lstream_get_emchar_1):
3740 Replace over-clever fall-through switch with a simple loop.
3742 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3743 Warning suppression.
3745 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3746 the return value of Lstream_getc, which could be EOF as well.
3748 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3750 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3751 APIs can be used on Extbytes without casts. Risky!
3755 * input-method-xlib.c (XIM_init_device):
3756 Use Xlib.h instead of IntrinsicP.h.
3757 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3758 which will break in X11R7.
3759 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3760 to call XRegisterIMInstantiateCallback with correct types.
3762 * gui-x.c (button_item_to_widget_value): Type correctness.
3764 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3766 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3767 (xbm_instantiate_1): Type correctness.
3768 (BUILD_GLYPH_INST): Type correctness.
3770 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3773 (decode_coding_sjis):
3774 (decode_coding_big5):
3775 (decode_coding_ucs4):
3776 (decode_coding_utf8):
3777 (decode_coding_iso2022):
3778 (decode_coding_no_conversion):
3779 Make all decoding functions take an Extbyte * arg.
3780 (encode_coding_sjis):
3781 (encode_coding_big5):
3782 (encode_coding_ucs4):
3783 (encode_coding_utf8):
3784 (encode_coding_iso2022):
3785 (encode_coding_no_conversion):
3786 Make all encoding functions take a Bufbyte * arg.
3787 Use size_t instead of unsigned int for memory sizes.
3788 Only cast to unsigned char whenever dereferencing Extbyte *.
3790 * doc.c (unparesseuxify_doc_string): Type correctness.
3792 * console-x.c (split_up_display_spec):
3793 Rewrite without using details of internal string representation.
3794 (x_semi_canonicalize_device_connection): Type correctness.
3797 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3798 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3799 (HAVE_XFREE386): Removed.
3801 * buffer.h (DEC_CHARPTR): `const' correctness.
3802 (bufbyte_strcmp): New.
3803 (bufbyte_memcmp): New.
3805 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3807 * buffer.h (XCHAR_OR_CHAR_INT):
3808 Always use inline function.
3809 Remove redundant type checking assert() - XINT will abort quite nicely.
3811 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3813 * search.c (Freplace_match): Set newtext to an empty string.
3815 2000-10-10 Martin Buchholz <martin@xemacs.org>
3817 * s/decosf1-3.h: Remove #include of stropts.h
3818 * s/ptx.h: Remove #include of stropts.h
3819 * s/usg5-4.h: Remove #include of stropts.h
3822 Use stropts.h, not sys/stropts.h.
3823 Use strtio.h, not sys/strtio.h.
3825 2000-10-04 Martin Buchholz <martin@xemacs.org>
3827 * XEmacs 21.2.36 is released.
3829 2000-09-21 Andy Piper <andy@xemacs.org>
3831 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3832 changes still involve copying the widget tree.
3833 (update_widget_face): make sure a change is register in the widget
3834 tree. Call update_tab_widget_face appropriately.
3835 (update_tab_widget_face): ditto.
3836 (x_tab_control_redisplay): make sure non-structural changes still
3837 involve copying the widget tree.
3839 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3841 * lread.c (locate_file): Check the path element is non-nil.
3843 2000-10-02 Martin Buchholz <martin@xemacs.org>
3845 * lisp.h: Warning suppression for SCO compilers.
3847 * redisplay-tty.c (reset_tty_modes): Fix crash.
3848 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3850 2000-09-27 Martin Buchholz <martin@xemacs.org>
3852 Big signal/process handling overhaul. Bugs fixed:
3853 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3854 M-x comint-kill-subjob should work for both values nil and t of
3855 process-connection-type. It was broken on most platforms.
3856 Testing on Irix and Cygwin still needed. Other plaforms tested.
3857 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3858 * process-unix.c: Signal/Process handling overhaul.
3859 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3860 (allocate_pty): Use all available modern methods of allocating
3861 ptys, falling back to old style BSD allocation as a last resort.
3862 Use allegedly more secure Unix98 pty allocation by default.
3863 (allocate_pty_the_old_fashioned_way): New. the last resort.
3864 (unix_create_process): Push ptem, ldterm, ttcompat where
3865 available. Autoconfiscate.
3866 (try_to_initialize_subtty): New.
3867 (unix_kill_child_process): Proper signal handling for ptys on most
3868 platforms, using special knowledge of AIX, BSD, etc...
3869 (unix_create_process): Always disconnect_controlling_terminal() for
3870 subprocesses, whether using ptys or not.
3871 * process.h: Remove old getpt-dependent PTY code.
3872 * process.c (Fprocess_send_signal): New, obvious generic function.
3873 (decode_signal): New.
3874 (Finterrupt_process):
3878 (Fcontinue_process):
3879 (Fsignal_process): Use decode_signal.
3880 (process_send_signal):
3881 Many docstring corrections.
3882 Allow any signal to be sent to a process object.
3883 * config.h.in: Add symbols for big signal/process overhaul.
3884 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3885 * sysproc.h: Include process-related headers, where available:
3886 sys/stropts.h sys/strtio.h pty.h libutil.h
3894 Remove old S&M pty stuff.
3895 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3896 * systty.h: Simplify cpp hackery, improve comments.
3897 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3899 * editfns.c (Fformat_time_string):
3900 Be a little more paranoid with the return value of ctime.
3902 * fileio.c (check_executable):
3904 Use symbolic constants X_OK, W_OK.
3906 * console-x.c (split_up_display_spec): Fix a warning.
3908 2000-10-02 Martin Buchholz <martin@xemacs.org>
3910 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3911 * ntproc.c (sys_spawnve): make_string ==> build_string
3912 Small clarity improvements.
3914 2000-09-30 Martin Buchholz <martin@xemacs.org>
3916 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3918 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3920 * config.h.in (HAVE_STRCASECMP): Remove.
3922 2000-09-29 Martin Buchholz <martin@xemacs.org>
3924 * redisplay-output.c (redisplay_output_pixmap):
3925 Cleaner and possibly more 64-bit correct code.
3927 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3929 * dumper.c (pdump_load_finish): move restoration of
3930 `noninteractive1' to emacs.c (main_1).
3931 * emacs.c (main_1): protect LISP-visible command-line flags
3934 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3936 * Makefile.in.in (versionclean): Use EXE_TARGET and
3937 DUMP_TARGET instead of literal program names.
3939 2000-09-20 Martin Buchholz <martin@xemacs.org>
3941 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3943 2000-09-19 Martin Buchholz <martin@xemacs.org>
3945 * *: Spelling mega-patch
3947 2000-09-19 Martin Buchholz <martin@xemacs.org>
3949 * fns.c (bad_bad_turtle):
3950 Delete "Eek!" comment, since we fixed the bug to which it refers.
3952 2000-09-16 Martin Buchholz <martin@xemacs.org>
3954 * alloca.c: Replace REGISTER with register.
3956 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3958 * file-coding.c (ucs_to_char): Use countof.
3960 2000-09-16 Martin Buchholz <martin@xemacs.org>
3962 * file-coding.c: (ucs_to_char):
3963 (complex_vars_of_file_coding):
3964 Use countof instead of sizeof.
3965 Use CHECK_NATNUM instead of CHECK_INT.
3967 * sysdep.c (strcasecmp): Remove.
3968 * device-x.c (ascii_strcasecmp): New.
3969 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
3970 Avoid using non-standard non-portable strcasecmp.
3972 2000-09-16 Martin Buchholz <martin@xemacs.org>
3974 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
3975 * font-lock.c: remove reference to emacsfns.h.
3976 * search.c: small doc improvement.
3977 * event-Xt.c: correct file names in comments.
3978 * console-x.h Correct file names in comments.
3979 * frame.c: Correct file names in comments.
3980 * event-stream.c: remove Energize from comments.
3982 2000-09-15 Martin Buchholz <martin@xemacs.org>
3984 * symeval.h (DEFERROR_STANDARD):
3987 (DEFSYMBOL_NO_DUMP):
3988 (DEFSYMBOL_MULTIWORD_PREDICATE):
3989 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
3991 The construct &##name is not sensible C.
3992 Fixes compilation errors with Unixware native compiler.
3994 2000-09-14 Martin Buchholz <martin@xemacs.org>
3996 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
3997 (next_frame_internal): Removed. We now just have next_frame.
3999 Write a simpler and cleaner one-pass algorithm.
4000 Remove called_from_delete_device arg and #ifdefed-out code.
4002 Renamed from prev_frame. Update callers.
4003 Cleaned up to have an analogous implementation to next_frame.
4004 (other_visible_frames_internal): Remove the
4005 called_from_delete_device bogus arg, and hence, remove this
4006 function. Just use other_visible_frames().
4008 * window.c (Fnext_window):
4010 Since next_frame() is guaranteed to return a frame, remove check
4011 for nil inserted in previous patch.
4014 Make code look more like Fnext_window.
4016 Respect the `console' arg when iterating through windows.
4017 Fixes bug: (get-buffer-window buffer t device) not respecting
4019 This function needs more work, as others have pointed out.
4021 * frame.h: Rename prev_frame to previous_frame.
4022 device_matches_console_spec no longer takes a `frame' arg.
4027 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4028 From "Golubev I. N." <gin@mo.msk.ru>.
4030 * make-src-depend: Fix typo.
4032 2000-09-13 Martin Buchholz <martin@xemacs.org>
4034 * window.c (Fnext_window):
4035 next_frame() might return nil, not a frame.
4037 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4039 * frame.c (next_frame_internal):
4040 We've passed a frame if we've passed its device.
4042 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4043 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4045 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4047 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4048 Allow option to suppress accelerators in menu/dialog items.
4049 (populate_or_checksum_helper): Pass dialog title through above.
4051 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4053 * event-msw.c (mswindows_key_to_emacs_keysym):
4054 Add "pause" key, fix "menu" key.
4056 2000-09-09 Martin Buchholz <martin@xemacs.org>
4058 * eval.c (reinit_vars_of_eval):
4059 Increase max_lisp_eval_depth to 1000,
4060 required for thai-xtis.el to byte-compile under some circumstances.
4062 2000-09-04 Martin Buchholz <martin@xemacs.org>
4064 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4067 2000-09-01 Martin Buchholz <martin@xemacs.org>
4069 * make-src-depend: Make the generated Makefiles smaller.
4071 * s/hpux.h (SETUP_SLAVE_PTY):
4072 Provide a %d in the format string for the errno argument.
4074 * editfns.c (Ftemp_directory):
4076 Avoid buffer overrun on very long file name.
4078 * input-method-xlib.c (XIM_init_device):
4079 6th parameter of XRegisterIMInstantiateCallback has different
4080 pointer types on different OSes, so simply cast to (void *).
4082 * unexhp9k800.c: Warning fixes. Fiddly changes.
4084 * sysdll.c (dll_open):
4085 shl_load will hang hard if passed a NULL filename.
4086 Simply return NULL for compatibility with dlopen.
4087 * sysdll.c: Conform to XEmacs coding standards.
4089 * sysdep.c (get_pty_max_bytes):
4090 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4092 2000-08-31 Martin Buchholz <martin@xemacs.org>
4094 * tooltalk.c: Add #include <syssignal.h>
4096 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4098 * s/hpux.h: Don't use undefined function sigunblock().
4100 2000-08-31 Martin Buchholz <martin@xemacs.org>
4102 * config.h.in: Add HAVE_BALLOON_HELP.
4103 * emacs.c: Use HAVE_BALLOON_HELP.
4104 * Makefile.in.in (x_objs):
4105 Make Balloon Help conditional on finding shape.h.
4107 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4109 * syntax.c (regex_emacs_buffer_p): New variable.
4110 * syntax.h (regex_emacs_buffer_p): extern.
4111 * search.c (looking_at_1):
4113 (fast_string_match):
4114 (search_buffer): Set regex_emacs_buffer_p.
4115 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4116 when before_dot, at_dot, after_dot.
4118 2000-08-23 Andy Piper <andy@xemacs.org>
4120 * gui-x.c (popup_selection_callback): Only set action_occurred
4121 when we really have an image instance.
4122 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4124 2000-08-23 Andy Piper <andy@xemacs.org>
4126 * gui-msw.c (mswindows_handle_gui_wm_command): set
4128 * gui-x.c (popup_selection_callback): ditto.
4130 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4131 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4132 (struct Lisp_Image_Instance): add action_occurred flag.
4134 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4135 (image_instance_changed): ditto.
4136 (reset_frame_subwindow_instance_cache): only unmap windows - do
4137 not remove them from the cache also.
4139 * glyphs-widget.c (tab_control_update): better debug.
4140 (progress_gauge_update): ditto.
4141 (layout_update): ditto.
4142 (layout_instantiate): ditto.
4143 (tab_control_order_only_changed): cope with null pending items.
4145 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4146 debug. Force selection of an item when an action occurred. Cope
4147 with null pending_items.
4148 (mswindows_progress_gauge_redisplay): better debug.
4149 * glyphs-x.c (x_tab_control_redisplay): ditto.
4151 * redisplay.c (redisplay_frame): reset the frame cache if the
4154 * window.c (Fset_window_configuration): potentially re-enable
4156 (window_unmap_subwindows): need to finalize instances here since
4157 it is only used in mark_window_as_deleted.
4159 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4161 * nas.c (SndOpenDataForReading):
4162 nas.c (WaveOpenDataForReading):
4163 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4164 Somehow escaped from the 2000-08-14 patch.
4166 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4168 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4169 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4171 2000-08-21 Andy Piper <andy@xemacs.org>
4173 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4174 window if it is not already displayed.
4176 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4177 it is not already displayed.
4179 * window.c (Fset_window_configuration): don't reset the frame
4182 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4183 instances from the frame cache if we are actually finalizing them.
4184 (reset_frame_subwindow_instance_cache): reset frame cache only
4185 after unmapping everything.
4186 (map_subwindow): set displayed flag after mapping.
4188 2000-08-21 Martin Buchholz <martin@xemacs.org>
4190 * data.c (indirect_function):
4191 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4193 * eval.c (function_argcount):
4194 Use original function when signaling errors.
4196 2000-08-18 Andy Piper <andy@xemacs.org>
4198 * frame.c (delete_frame_internal): use new
4199 free_frame_subwindow_instances name.
4201 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4202 (add_tab_item): make return type correct.
4203 (mswindows_tab_control_instantiate): assert index of tab.
4204 (mswindows_tab_control_redisplay): Re-code to use
4205 gui_item_equal_sans_selected and gui_item_list_find_selected.
4207 * glyphs-widget.c (tab_control_update): Correct comment.
4209 * window.c (window_unmap_subwindows): use new
4210 unmap_subwindow_instance_cache_mapper.
4211 (window_unmap_subwindows_cache_mapper): deleted.
4212 (Fset_window_configuration): comparisons should now be with
4213 EQ. Preserve the subwindow instance cache across configuration
4215 (allocate_window): ditto.
4216 (make_dummy_parent): ditto.
4218 * glyphs.c (free_frame_subwindow_instances): rename from
4219 free_frame_subwindow_instance_cache. finalize all instances rather
4220 than just those in the display cache.
4221 (finalize_all_subwindow_instances): walk windows unmapping and
4222 finalizing subwindows.
4223 (unmap_subwindow_instance_cache_mapper): moved from
4224 window.c. Allow finalization as well as unmapping.
4226 * gui.c (gui_item_list_find_selected): new function.
4228 * gui.h (gui_item_list_find_selected): declare.
4230 * glyphs-x.c (x_tab_control_redisplay): pick tab
4231 explicitly. Re-code to use gui_item_equal_sans_selected and
4232 gui_item_list_find_selected.
4234 * glyphs-x.h: add lwlib-utils.h
4236 * buffer.c (Frecord_buffer): undo previous change.
4238 2000-08-09 Vin Shelton <acs@xemacs.org>
4240 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4241 possible. Create temporary files more securely. The patch was
4242 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4243 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4244 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4247 2000-08-07 Ben Wing <ben@xemacs.org>
4249 * getloadavg.c: remove duplicate (and windows-breaking)
4250 includes of fcntl.h and sys/file.h.
4252 * nt.c: remove duplicate getloadavg() definition.
4254 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4257 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4259 * eval.c (function_argcount): If function needs to be autoloaded
4260 actually use the loaded definition.
4263 2000-08-05 Ben Wing <ben@xemacs.org>
4265 * getloadavg.c: add prototype for getloadavg(). remove
4266 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4267 of the code). remove duplicate header includes.
4269 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4271 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4272 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4273 useful load average.
4275 * alloc.c (reinit_alloc_once_early): removed references to
4276 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4277 the lisp vars are the only things referencing the malloc_sbrk_*
4278 vars, and they were already if 0'd out. these vars only exist
4279 in the older malloc.c, which is basically unused, and they're
4280 only for informational purposes.
4282 * m\*.h: removed useless VIRT_ADDR_VARIES.
4284 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4286 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4288 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4289 color if the image is a mono pixmap.
4291 2000-07-30 Ben Wing <ben@xemacs.org>
4293 * Makefile.in.in (release):
4296 * buffer.c (directory_is_current_directory):
4297 * dired-msw.c (mswindows_get_files):
4299 * dired.c (Fdirectory_files):
4300 * dired.c (file_name_completion_stat):
4301 * dired.c (Ffile_attributes):
4302 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4303 preprocessor tricks, to avoid problems on some machines
4306 * callproc.c (egetenv): GC docs.
4309 * console-msw.h (struct mswindows_dialog_id):
4310 * lrecord.h (lrecord_type):
4311 New object for use with MSW dialogs.
4313 * console.h (struct console_methods):
4314 New enable/disable frame methods, for proper modal dialogs.
4316 * device-msw.c (msprinter_default_printer): Fix to follow
4317 proper Mule conventions.
4320 * device-msw.c (signal_open_printer_error):
4321 * device-msw.c (msprinter_init_device):
4322 * device-msw.c (ensure_not_printing):
4323 * device-msw.c (plist_get_margin):
4324 * device-msw.c (Fmsprinter_select_settings):
4325 * device-msw.c (finalize_devmode):
4326 * device-msw.c (Fmsprinter_settings_despecialize):
4327 * device-msw.c (signal_enum_priner_error):
4328 * extents.c (decode_extent):
4329 * extents.c (decode_map_extents_flags):
4330 * extents.c (decode_extent_at_flag):
4331 * extents.c (Fextent_at):
4332 * extents.c (Fextents_at):
4333 * extents.c (symbol_to_glyph_layout):
4334 [[[[2]]]] Use structured errors.
4337 * dialog-msw.c (mswindows_is_dialog_msg):
4338 * dialog-msw.c (mark_mswindows_dialog_id):
4339 * dialog-msw.c (dialog_proc):
4340 * dialog-msw.c (handle_question_dialog_box):
4341 * dialog-msw.c (syms_of_dialog_mswindows):
4342 Define new object to clean up marking; use it as a dialog identifier.
4343 Call new delete-dialog-box-hook.
4345 * dialog-x.c (dbox_selection_callback):
4346 * dialog-x.c (dbox_descriptor_to_widget_value):
4347 * dialog-x.c (x_make_dialog_box_internal):
4348 Call new delete-dialog-box-hook.
4352 * dialog.c (syms_of_dialog):
4353 * dialog.c (vars_of_dialog):
4354 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4357 * eval.c (signal_call_debugger):
4358 when noninteractive, output stack traces on the console instead
4359 of in a (never-seen) buffer.
4361 * eval.c (signal_type_error):
4362 * eval.c (invalid_argument_2):
4364 new funs for use w/structured errors.
4367 * event-Xt.c (x_to_emacs_keysym):
4368 * event-Xt.c (describe_event):
4369 * event-Xt.c (emacs_Xt_event_handler):
4370 * event-Xt.c (vars_of_event_Xt):
4372 * event-msw.c (mswindows_wnd_proc):
4373 * event-msw.c (vars_of_event_mswindows):
4374 rename {x,mswindows}-debug-events to debug-{}-events for
4375 consistency with other debug-foo variables.
4378 document next-event more clearly.
4380 * fileio.c (Ffile_name_directory):
4381 * fileio.c (Ffile_name_nondirectory):
4382 * fileio.c (Funhandled_file_name_directory):
4383 * fileio.c (file_name_as_directory):
4384 * fileio.c (Ffile_name_as_directory):
4385 * fileio.c (directory_file_name):
4386 * fileio.c (Fdirectory_file_name):
4387 * fileio.c (Fmake_temp_name):
4388 * fileio.c (Ffile_truename):
4389 * fileio.c (Fsubstitute_in_file_name):
4390 * fileio.c (expand_and_dir_to_file):
4391 * fileio.c (barf_or_query_if_file_exists):
4392 * fileio.c (check_executable):
4393 * fileio.c (Ffile_exists_p):
4394 * fileio.c (Ffile_writable_p):
4395 * fileio.c (Ffile_directory_p):
4396 * fileio.c (Ffile_regular_p):
4397 * fileio.c (Ffile_modes):
4398 * fileio.c (Ffile_newer_than_file_p):
4399 * fileio.c (Fverify_visited_file_modtime):
4400 * fileio.c (Fset_visited_file_modtime):
4401 * fileio.c (auto_save_1):
4406 * frame-msw.c (mswindows_init_frame_1):
4407 * frame-msw.c (mswindows_enable_frame):
4408 * frame-msw.c (error_frame_unsizable):
4409 * frame-msw.c (msprinter_init_frame_1):
4410 * frame-msw.c (msprinter_init_frame_3):
4411 * frame-msw.c (console_type_create_frame_mswindows):
4413 implement new enable/disable frame methods.
4416 * frame-x.c (x_enable_frame):
4417 * frame-x.c (console_type_create_frame_x):
4418 implement new enable/disable frame methods.
4421 * frame.c (Fdisable_frame):
4422 * frame.c (syms_of_frame):
4423 * frame.h (struct frame):
4424 implement new enable/disable frame methods/functions.
4429 * glyphs-msw.c (mswindows_widget_instantiate):
4430 comment that initial-focus should be implemented.
4433 * glyphs-widget.c (check_valid_instantiator):
4434 * glyphs-widget.c (check_valid_orientation):
4435 * glyphs-widget.c (check_valid_tab_orientation):
4436 * glyphs-widget.c (check_valid_justification):
4437 * glyphs-widget.c (check_valid_border):
4438 * glyphs-widget.c (check_valid_callback):
4439 * glyphs-widget.c (check_valid_int_or_function):
4440 * glyphs-widget.c (check_valid_string_or_vector):
4441 * glyphs-widget.c (check_valid_item_list_1):
4442 * glyphs-widget.c (widget_validate):
4443 * glyphs-widget.c (combo_box_validate):
4444 * glyphs-widget.c (widget_instantiate):
4445 * glyphs-widget.c (syms_of_glyphs_widget):
4446 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4447 * glyphs-widget.c (image_instantiator_combo_box):
4448 * glyphs-widget.c (image_instantiator_scrollbar):
4449 * glyphs-widget.c (image_instantiator_tab_control):
4450 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4452 support (unimplemented) keyword initial-focus.
4453 reindent long macros.
4455 * glyphs-x.c (x_redisplay_widget):
4456 * glyphs-x.c (x_button_instantiate):
4457 * glyphs-x.c (x_button_redisplay):
4458 * glyphs-x.c (x_progress_gauge_instantiate):
4459 * glyphs-x.c (x_edit_field_instantiate):
4460 * glyphs-x.c (x_combo_box_instantiate):
4461 * glyphs-x.c (x_tab_control_instantiate):
4462 * glyphs-x.c (x_label_instantiate):
4464 * gui-x.c (button_item_to_widget_value):
4465 * gui-x.c (gui_items_to_widget_values_1):
4466 * gui-x.c (gui_item_children_to_widget_values):
4467 * gui-x.c (gui_items_to_widget_values):
4469 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4470 add new flag to gui-parsing routines to indicate whether
4471 accelerator specs should be supported.
4473 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4475 * glyphs.h (struct Lisp_Image_Instance):
4476 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4477 add initial-focus flag.
4480 * gui.c (syms_of_gui):
4481 * gui.c (vars_of_gui):
4482 clean up menu-no-selection-hook.
4485 support delete-dialog-box-hook.
4487 * lread.c (Fload_internal):
4488 * lread.c (locate_file_in_directory_mapper):
4492 * lrecord.h (struct toolbar_button):
4493 * lrecord.h (syms_of_toolbar):
4494 document how to create a new object.
4496 * menubar-msw.c (mswindows_char_is_accelerator):
4497 may be called on frames w/o menus.
4499 * menubar.c (vars_of_menubar):
4500 clean up :filter docs.
4507 * process-nt.c (validate_signal_number):
4508 * process-nt.c (signal_cannot_launch):
4509 * process-nt.c (nt_create_process):
4510 * process-nt.c (nt_send_process):
4511 * process-nt.c (nt_kill_child_process):
4512 * process-nt.c (nt_open_network_stream):
4513 * process-nt.c (syms_of_process_nt):
4515 delete quote-handling. call new lisp code that does it better.
4517 * process-unix.c (connect_to_file_descriptor):
4518 * process-unix.c (allocate_pty):
4519 * process-unix.c (unix_send_process):
4520 * process-unix.c (unix_kill_child_process):
4521 * process-unix.c (unix_open_network_stream):
4522 * process-unix.c (unix_open_multicast_group):
4526 * process.c (Fstart_process_internal):
4527 (2). need to canonicalize process path even if absolute.
4529 * select-msw.c (symbol_to_ms_cf):
4530 * select-msw.c (ms_cf_to_symbol):
4531 * select-msw.c (cf_is_autofreed):
4532 * select-msw.c (mswindows_destroy_selection):
4534 * select.c (syms_of_select):
4536 support dibv5, fix bugs. (from Mike Alexander)
4538 * select.c (Fget_selection_internal):
4539 * select.c (select_convert_out):
4542 * sysdep.c (xemacs_stat):
4547 but keep original stat() here because we provide encapsulation
4551 * sysfile.h (fstat):
4552 remove stat garbage.
4556 don't include tchar.h. it's inappropriate because it makes
4557 compile-time distinctions when we want runtime distinctions.
4558 (we provide our own tchar replacements)
4561 use default object printer for toolbar-button.
4564 make sure we don't encapsulate.
4566 * window.c (vars_of_window):
4567 emphasize that temp-buffer-show-hook is obsolete.
4569 2000-08-05 Martin Buchholz <martin@xemacs.org>
4571 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4572 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4574 * events.c (Fevent_timestamp_lessp):
4575 Not 64-bit clean. Use EMACS_INT, not int.
4577 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4579 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4580 unsigned int and changed the last enum to
4581 lrecord_type_last_built_in_type.
4582 (lrecord_implementations_table): changed prototype to know how
4583 long the array is supposed to be.
4584 (lrecord_type_count): new unsigned int to keep track of the
4585 current number of lisp lrecord types.
4586 (DEFINE_EXTERNAL_LRECORD):
4587 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4588 dynamic-modules to declare new lisp types. They are the same
4589 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4590 int for each new type, and increment lrecord_type_count by 1.
4592 * alloc.c (lrecord_implementations_table): Changed to reference
4593 lrecord_type_last_built_in_type for the size of the array.
4594 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4596 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4598 * glyphs.h (check_valid_item_list): Renamed from
4599 check_valid_item_list_1.
4601 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4603 * select.c (Qselect_coerce): New.
4604 * select.c (Vselection_coercion_alist): New.
4605 * select.c (syms_of_select): Declare.
4606 * select.c (get-selection-internal): Use it.
4607 Use the new select-coerce functionality.
4609 * select.c (select_coerce): New.
4610 * select.h (select_coerce): Declare.
4611 New function to coerce one type of data into another.
4613 2000-08-03 Martin Buchholz <martin@xemacs.org>
4615 * callproc.c (Fcall_process_internal):
4616 (Fcall_process_internal):
4617 * process-unix.c (unix_create_process):
4618 Save and restore the value of errno, so that error messages are accurate.
4620 2000-08-01 Martin Buchholz <martin@xemacs.org>
4622 * elhash.c (print_hash_table):
4623 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4624 Prettify docstrings and indentation.
4626 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4628 * window.c (Fwindow_pixel_edges): Subtract frame border and
4631 2000-07-31 Andy Piper <andy@xemacs.org>
4633 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4634 will acknowledge the change.
4636 * glyphs.h: declare tab_control_order_only_changed.
4638 * glyphs-x.c (x_tab_control_redisplay): use
4639 tab_control_order_only_changed.
4641 * glyphs-widget.c (tab_control_order_only_changed): new function.
4643 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4644 tab_control_order_only_changed.
4646 * gui.c (gui_item_equal_sans_selected): new function.
4647 (gui_item_equal): use it.
4649 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4650 :properties in favor of :items..
4652 * glyphs-widget.c (check_valid_item_list): rename from
4653 check_valid_item_list_1.
4654 (check_valid_item_list_1): renamed.
4655 (combo_box_validate): deprecate :properties in favor of :items.
4656 (widget_instantiate): ditto.
4657 (tab_control_update): ditto.
4658 (image_instantiator_combo_box): ditto.
4659 (image_instantiator_tree_view): ditto.
4660 (image_instantiator_tab_control): ditto.
4661 (layout_post_instantiate): remove dead code.
4663 * print.c (debug_print_no_newline): only write to debugger if in
4666 * elhash.c (Fmake_hash_table): update doc string.
4668 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4669 messages whilst in GC. This at least stops XEmacs crashing but has
4670 the potential for wierd behaviour.
4672 2000-07-31 Martin Buchholz <martin@xemacs.org>
4675 Make existence of s&m files optional.
4677 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4678 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4679 * s/gnu.h: Remove HAVE_GETLOADAVG.
4680 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4681 * s/sol2.h: Remove HAVE_GETLOADAVG.
4682 * lisp.h: Remove getloadavg() declaration.
4684 Include <sys/loadavg.h> if available.
4685 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4686 * config.h.in: Group together getloadavg()-related macros.
4687 Use only configure-time tests to detect getloadavg().
4689 2000-07-30 Martin Buchholz <martin@xemacs.org>
4691 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4693 2000-07-25 Andy Piper <andy@xemacs.org>
4695 * syswindows.h: add tchar.h for native builds.
4697 * frame.c (syms_of_frame): remove set-glyph-image.
4699 * general-slots.h: add Qset_glyph_image.
4701 * glyphs-widget.c (layout_update): add domain arg to
4703 (syms_of_glyphs_widget): remove set-glyph-image.
4705 2000-07-23 Ben Wing <ben@xemacs.org>
4707 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4710 2000-07-22 Andy Piper <andy@xemacs.org>
4712 * symsinit.h: add syms_of_win32().
4714 * gui-msw.c (syms_of_gui_mswindows): remove
4715 Fmswindows_shell_execute.
4716 (Fmswindows_shell_execute): moved to win32.c.
4718 * emacs.c (main_1): add syms_of_win32 ().
4720 * win32.c (init_potentially_nonexistent_functions): rewrite in
4721 compiler-friendly terms.
4722 (Fmswindows_shell_execute): move here from gui-msw.c.
4723 (syms_of_win32): new.
4725 * device-msw.c (Fmswindows_printer_list): clean up args to
4727 Don't include tchar under cygwin or mingw.
4728 (msprinter_default_printer): make cygwin-friendly.
4730 2000-07-21 Andy Piper <andy@xemacs.org>
4732 * glyphs-widget.c (image_instantiator_tree_view): use tab
4733 control's update function.
4734 (layout_property): new function. Retrieve items.
4736 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4737 function. Re-populate the tree view from the pending items.
4739 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4740 is designated the parent if the domain is an image instance. This
4741 is needed so that dirtiness can be cascade up the hierarchy and
4742 thus for layout children to be redisplayed correctly.
4743 (allocate_image_instance): rename glyph -> parent.
4745 * redisplay.h: change redisplay_output_layout signature.
4747 * redisplay-msw.c (mswindows_output_display_block): use domain
4750 * redisplay-x.c (x_output_display_block): use domain arg.
4752 2000-07-10 Andy Piper <andy@xemacs.org>
4754 * window.c (Fset_window_configuration): add comment.
4756 * redisplay-output.c (compare_runes):
4757 (redisplay_output_subwindow): redisplay rather than update subwindow.
4758 (redisplay_output_layout): ditto.
4760 * redisplay-msw.c (mswindows_frame_output_end):
4761 (mswindows_frame_output_end): make defer window pos optional.
4763 * lisp.h: add Flast.
4765 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4766 normalize method. Change update method to be for changed
4767 instantiators. Add redisplay method. Change signature of layout
4769 (struct Lisp_Image_Instance): add instantiator.
4770 (IMAGE_INSTANCE_INSTANTIATOR): new.
4771 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4772 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4773 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4776 (find_instantiator_differences): new function.
4777 (Fset_instantiator_property): new convenience function.
4778 (check_image_instance_structure): strictly check for vector
4780 (normalize_image_instantiator): make non-static.
4781 (instantiate_image_instantiator): pass on dest_mask and use new
4782 signatures for image_instance_layout and friends.
4783 (mark_image_instance): mark the instantiator. Mark the subwindow
4784 face not the widget face.
4785 (image_instance_equal): add instantiator.
4786 (image_instance_hash): ditto.
4787 (allocate_image_instance): ditto.
4788 (Fset_image_instance_property): removed.
4789 (Fimage_instance_file_name): ditto.
4790 (Fcolorize_image_instance): ditto.
4791 (image_instance_layout): add offsets to be set.
4792 (update_image_instance): new function. update an image instance
4793 from its changed instantiator.
4794 (inherit_normalize): add dest_mask.
4795 (xbm_normalize): ditto.
4796 (xface_normalize): ditto.
4797 (xpm_normalize): ditto.
4798 (text_update): set_property -> update.
4799 (image_instantiate): use the glyph identity as a hash key, not the
4801 (glyph_width): use new image_instance_layout signature.
4802 (glyph_ascent): ditto.
4803 (glyph_descent): ditto.
4804 (glyph_height): ditto.
4805 (glyph_query_geometry): ressurrect.
4806 (glyph_layout): ditto.
4807 (redisplay_subwindow): update -> redisplay.
4808 (syms_of_glyphs): add Fset_instantiator_property.
4809 (image_instantiator_format_create): set_property -> update.
4812 (autodetect_normalize): add dest_maks to signature.
4813 (x_redisplay_subwindow): update -> redisplay.
4814 (x_redisplay_widget): ditto.
4815 (x_button_redisplay): ditto.
4816 (x_progress_gauge_redisplay): ditto.
4817 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4819 (console_type_create_glyphs_x): update -> redisplay.
4820 (image_instantiator_format_create_glyphs_x): ditto.
4823 (check_valid_instantiator): disallow glyphs in the instantiator,
4824 they must now be vectors.
4825 (check_valid_instantiator_list): ditto.
4826 (glyph_instantiator_to_glyph): use internal symbol rather than
4828 (widget_update): renamed from widget_set_property. Call cascaded
4830 (redisplay_widget): renamed from update_widget.
4831 (widget_layout): image_instance_layout now takes position as well
4833 (widget_normalize): ditto.
4834 (widget_instantiate): ditto.
4835 (tab_control_query_geometry) ditto.:
4836 (tab_control_update): renamed from tab_control_set_property.
4837 (progress_gauge_update): set_property -> update.
4838 (layout_normalize): rewrite so that child instantiators are
4840 (layout_update): new function. Create glyphs from the normalized
4841 children and cope with any other layout keywords. We do not
4842 instantiate children here that will be take care of by
4843 redisplay_output_layout.
4844 (layout_instantiate): call layout_update and not much else.
4845 (layout_post_instantiate): not sure whether this is needed
4847 (layout_query_geometry): query glyph geometry rather than
4848 image_instance geometry.
4849 (layout_layout): set offsets from pass in parameters. Use glyph
4850 geometry and layout functions rather than image instance ones.
4851 (native_layout_layout): ditto.
4852 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4853 (image_instantiator_widget): set_property -> update.
4854 (image_instantiator_buttons): ditto.
4855 (image_instantiator_progress_guage): ditto.
4856 (image_instantiator_tab_control): ditto.
4857 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4858 (image_instantiator_layout): add update method.
4860 * glyphs-msw.c (bmp_normalize):
4861 (mswindows_resource_normalize): add dest_mask so that it can be
4862 proprogated by layout_normalize.
4863 (begin_defer_window_pos): make optional because it may not be the
4864 right thing to do and it introduces differences with X.
4865 (mswindows_unmap_subwindow): ditto.
4866 (mswindows_map_subwindow): ditto.
4867 (mswindows_redisplay_subwindow): renamed from
4868 mswindows_update_subwindow.
4869 (mswindows_redisplay_widget): ditto.
4870 (mswindows_button_redisplay): renamed from
4871 mswindows_button_update. Update is now what the instantiation
4872 function does for a changed instantiator.
4873 (mswindows_progress_gauge_instantiate): set the progress value
4874 here if appropriate.
4875 (mswindows_tab_control_redisplay): cope with re-ordering of the
4876 members of the tab widget by simply selecting the new top
4877 widget. This makes things appear ok if you click on a tab.
4878 (mswindows_combo_box_instantiate): image_instance_layout now takes
4879 position as well as size.
4880 (mswindows_progress_gauge_redisplay): renamed from
4881 mswindows_progress_gauge_update.
4882 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4883 (image_instantiator_format_create_glyphs_mswindows): ditto.
4885 * glyphs-eimage.c (jpeg_normalize):
4888 (tiff_normalize): add dest_mask so that it can be proprogated by
4893 (hash_table_weakness_validate):
4894 (decode_hash_table_weakness):
4895 (Fhash_table_weakness):
4897 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4899 * console.h (struct console_methods): move update_* to
4902 2000-07-20 Ben Wing <ben@xemacs.org>
4904 * *.[ch] (XSETOBJ): remove unused middle argument.
4905 lisp-disunion.h: correct wrap_object() to one argument.
4907 2000-07-15 Ben Wing <ben@xemacs.org>
4910 * s/cygwin32.h (CYGWIN_CONV_PATH):
4911 Add missing logb prototype for v1.1.
4912 Use post-b20 names and alias to pre-b20 names when pre-b20.
4914 * s/windowsnt.h: [5].
4916 2000-07-15 Ben Wing <ben@xemacs.org>
4918 * Makefile.in.in (x_objs):
4919 * Makefile.in.in (sheap_objs):
4920 * Makefile.in.in (objs):
4921 added win32.o, cosmetic cleanups.
4923 * alloc.c (Fmake_byte_code):
4924 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4925 etc. macros which declare their own args now.
4927 * alloc.c (syms_of_alloc):
4928 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4931 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4933 * buffer.c (Fget_file_buffer):
4934 Fixed GCPRO problem.
4936 * buffer.c (get_truename_buffer):
4937 Fixed comment about GC checking.
4939 * buffer.c (syms_of_buffer):
4940 Undeclared those dedicated frame funs.
4944 Define convenience macros for internal/external conversions.
4945 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4946 and Qenvironment_variable_encoding for cleaner code.
4949 Remove dedicated-frame; in lisp.
4951 * bytecode.c (funcall_compiled_function):
4954 * bytecode.c (syms_of_bytecode):
4958 * console-msw.c (mswindows_show_console): Rewrote.
4960 * console-msw.c (Fmswindows_debugging_output): New.
4961 Sends to OutputDebugString (special MSWin debugger interface).
4963 * console-msw.c (Fmswindows_message_box):
4964 Fixed stupid bugs so it works when called from kill-emacs.
4966 * console-msw.c (syms_of_console_mswindows):
4967 Declare Fmswindows_debugging_output.
4970 New MSWin prototypes.
4972 * console-msw.h (struct mswindows_frame):
4973 New entry last-click-mods for improved button-modifier support.
4975 * console-msw.h (FRAME_MSWINDOWS_POPUP):
4976 New struct entry `popup' with corresponding accessor.
4979 * console-x.c (split_up_display_spec):
4980 * console-x.c (get_display_arg_connection):
4981 * console-x.c (x_semi_canonicalize_console_connection):
4982 * console-x.c (x_canonicalize_device_connection):
4983 [[[6]]]: Change char to more specific type.
4984 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
4986 * console-x.c (x_semi_canonicalize_console_connection):
4987 * console-x.c (x_canonicalize_device_connection):
4988 [[[9]]]: Fix up error signalling to use new structured error system.
4991 [[[4]]]: Define codesys aliases:
4992 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
4993 Qx_color_name_encoding, Qx_display_name_encoding.
4995 * console.h (struct console_methods):
4996 New method make_dialog_box_internal supersedes older
4997 popup_dialog_box method.
5000 Define many new errors, part of new structured errors.
5002 * data.c (init_errors_once_early):
5003 * data.c (syms_of_data):
5006 * device-msw.c (mswindows_init_device):
5007 [[[5]]]: Cleanup to support NT 3.51.
5009 * device-msw.c (decode_devmode): Cleanup.
5011 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5012 * device-msw.c (mswindows_handle_print_dialog_box):
5013 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5014 * device-msw.c (syms_of_device_mswindows):
5015 Delete the dialog box primitives recently introduced by Kirill and
5016 instead interface to general dialog box interface.
5019 * device-x.c (compute_x_app_name):
5020 * device-x.c (x_init_device):
5021 * device-x.c (Fx_valid_keysym_name_p):
5022 * device-x.c (Fx_set_font_path):
5026 * device.h (wrap_device): New.
5027 First of its kind; meant to replace XSETDEVICE.
5029 * dialog-msw.c: Many file-dialog symbols.
5031 * dialog-msw.c (mswindows_register_popup_frame): New.
5032 * dialog-msw.c (mswindows_is_dialog_msg): New.
5033 For supporting kbd traversal in dialog boxes.
5035 * dialog-msw.c (dialog_proc):
5036 Support hitting ESC in dialogs.
5038 * dialog-msw.c (struct):
5039 Common dialog box errors.
5041 * dialog-msw.c (handle_file_dialog_box): New.
5042 Add file dialog code.
5044 * dialog-msw.c (handle_question_dialog_box):
5045 Redo existing code to support new question dialog syntax.
5047 * dialog-msw.c (console_type_create_dialog_mswindows):
5048 We support new dialog console method.
5050 * dialog-msw.c (syms_of_dialog_mswindows):
5051 * dialog-msw.c (vars_of_dialog_mswindows):
5052 New file dialog symbols, vars.
5055 * dialog-x.c (maybe_run_dbox_text_callback):
5056 * dialog-x.c (dbox_descriptor_to_widget_value):
5057 * dialog-x.c (x_make_dialog_box_internal):
5058 * dialog-x.c (console_type_create_dialog_x):
5059 Mule-ize entire file.
5060 Redo to support question dialog syntax.
5064 * dialog.c (Fmake_dialog_box_internal):
5065 * dialog.c (syms_of_dialog):
5066 Kill old popup-dialog-box, replace with new primitive.
5067 Just call device method or signal error.
5069 * eldap.c (Fldap_open):
5070 * eldap.c (Fldap_search_basic):
5071 * eldap.c (Fldap_add):
5072 * eldap.c (Fldap_modify):
5077 * emacs.c (make_arg_list_1):
5078 * emacs.c (make_arg_list):
5079 Mule-ize call to dll_init().
5083 * emacs.c (make_argc_argv):
5084 * emacs.c (free_argc_argv):
5085 * emacs.c (init_cmdargs):
5087 * emacs.c (Fkill_emacs):
5088 * emacs.c (Fdump_emacs):
5089 Update comments about what can be used in syms_* etc.
5090 Call init_win32() when necessary.
5091 Fix up MS Win dialog box in kill-buffer to actually work right.
5102 * eval.c (condition_case_3):
5104 * eval.c (function_argcount):
5105 * eval.c (funcall_lambda):
5108 * eval.c (type_error): New.
5109 * eval.c (maybe_type_error): New.
5110 * eval.c (continuable_type_error): New.
5111 * eval.c (maybe_continuable_type_error): New.
5112 * eval.c (type_error_with_frob): New.
5113 * eval.c (maybe_type_error_with_frob): New.
5114 * eval.c (continuable_type_error_with_frob): New.
5115 * eval.c (maybe_continuable_type_error_with_frob): New.
5116 New functions for use with structured errors.
5119 * event-Xt.c (x_event_to_emacs_event):
5120 Buttons are now modifiers too.
5122 * event-Xt.c (emacs_Xt_current_event_timestamp):
5123 Implement new event method.
5124 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5127 * event-msw.c (ntpipe_shove_writer): [5].
5128 * event-msw.c (mswindows_enqueue_mouse_button_event):
5129 * event-msw.c (mswindows_drain_windows_queue):
5130 * event-msw.c (mswindows_wnd_proc): [7].
5131 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5132 * event-msw.c (mswindows_modifier_state):
5133 Throughout: support new button modifiers.
5135 * event-msw.c (emacs_mswindows_current_event_timestamp):
5136 Implement new event method.
5137 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5140 * event-stream.c (event_stream_current_event_timestamp): New.
5141 * event-stream.c (maybe_kbd_translate): New functionality.
5142 * event-stream.c (vars_of_event_stream):
5143 Document new kbd-translate-table functionality.
5145 * event-stream.c (Fcurrent_event_timestamp): New.
5146 New primitive for use in fabricated events.
5147 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5149 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5152 * events.c (Fmake_event):
5153 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5157 * events.c (format_event_object): fix gcc warnings.
5159 * events.c (Fevent_timestamp): Document new primitives.
5161 * events.c (TIMESTAMP_HALFSPACE): New.
5163 * events.c (Fevent_timestamp_lessp): New. New primitive for
5164 comparing timestamps correctly (half-space algorithm).
5166 * events.c (Fevent_modifier_bits): Doc fix.
5168 * events.c (Fevent_modifiers): Major doc addition.
5169 * events.c (event_x_y_pixel_internal): Typo fix.
5170 * events.c (syms_of_events): Declare new primitives.
5173 Update long comment for button modifiers, timestamps.
5175 * events.h (struct event_stream):
5176 New current_event_timestamp method.
5179 * extents.c (extent_in_region_p):
5180 * extents.c (decode_extent):
5181 * extents.c (Fset_extent_parent):
5182 * extents.c (decode_map_extents_flags):
5186 * extents.c (struct extent_at_arg):
5187 * extents.c (decode_extent_at_flag):
5188 * extents.c (extent_at_mapper):
5189 * extents.c (extent_at_bytind):
5190 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5191 * extents.c (Fextents_at): New primitive. [9].
5192 * extents.c (symbol_to_glyph_layout): [9].
5193 Support new primitive `extents-at'.
5196 * extents.c (get_text_property_bytind):
5197 extent_at_bytind has another arg.
5200 * extents.c (syms_of_extents): New primitive.
5202 * file-coding.c (Fmake_coding_system): [1].
5203 * file-coding.c (subsidiary_coding_system): fix gcc warning
5204 * file-coding.c (syms_of_file_coding): [2].
5206 * fileio.c (Fexpand_file_name):
5207 * fileio.c (Fsysnetunam):
5208 * fileio.c (Ffile_exists_p):
5209 * fileio.c (Ffile_executable_p):
5210 * fileio.c (Fverify_visited_file_modtime):
5213 * fileio.c (syms_of_fileio): [2].
5215 * filelock.c (lock_file_1):
5216 * filelock.c (current_lock_owner):
5217 * filelock.c (lock_if_free):
5218 * filelock.c (lock_file):
5219 * filelock.c (unlock_file):
5222 * fns.c (concat): Fix gcc warning.
5225 * fns.c (Fold_member):
5227 * fns.c (Fold_memq):
5228 * fns.c (memq_no_quit):
5230 * fns.c (Fold_assoc):
5232 * fns.c (Fold_assq):
5233 * fns.c (assq_no_quit):
5235 * fns.c (Fold_rassoc):
5237 * fns.c (Fold_rassq):
5238 * fns.c (rassq_no_quit):
5240 * fns.c (Fold_delete):
5242 * fns.c (Fold_delq):
5243 * fns.c (delq_no_quit):
5244 * fns.c (Fremassoc):
5246 * fns.c (remassq_no_quit):
5247 * fns.c (Fremrassoc):
5248 * fns.c (Fremrassq):
5249 * fns.c (remrassq_no_quit):
5254 * frame-msw.c (mswindows_init_frame_1):
5255 * frame-msw.c (mswindows_delete_frame):
5256 Register popups with dialog code so keyboard traversing works.
5258 * frame-tty.c (tty_raise_frame_no_select): [1].
5261 * frame-x.c (x_set_frame_text_value):
5262 * frame-x.c (x_set_frame_properties):
5263 * frame-x.c (x_create_widgets):
5267 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5269 * frame.h (wrap_frame): New.
5270 Macro like wrap_device.
5273 * general.c (SYMBOL):
5274 * general.c (syms_of_general):
5275 Major reorg. This is now just a wrapper and symbols themselves
5276 are listed in general-slots.h.
5278 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5279 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5281 * glyphs-msw.c (mswindows_native_layout_instantiate):
5282 Add DS_CONTROL so keyboard traversal will work.
5285 * glyphs-widget.c (syms_of_glyphs_widget):
5286 Move some symbols to general-slots.h.
5289 * glyphs-x.c (xbm_instantiate_1):
5290 * glyphs-x.c (x_xbm_instantiate):
5291 * glyphs-x.c (x_xface_instantiate):
5292 * glyphs-x.c (autodetect_instantiate):
5293 * glyphs-x.c (cursor_font_instantiate):
5294 * glyphs-x.c (x_update_widget):
5295 * glyphs-x.c (x_widget_instantiate):
5296 * glyphs.c (bitmap_to_lisp_data):
5297 * glyphs.c (pixmap_to_lisp_data):
5300 * glyphs.c (syms_of_glyphs):
5304 * gui-x.c (print_widget_value):
5305 * gui-x.c (menu_separator_style_and_to_external):
5306 * gui-x.c (add_accel_and_to_external):
5307 * gui-x.c (button_item_to_widget_value):
5308 * gui-x.c (gui_items_to_widget_values_1):
5309 * gui-x.c (gui_items_to_widget_values):
5310 * gui-x.c (syms_of_gui_x):
5311 * gui-x.c (vars_of_gui_x):
5312 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5316 Muleize, prototype changes matching gui-x.c.
5319 * gui.c (separator_string_p):
5320 * gui.c (gui_item_add_keyval_pair):
5321 * gui.c (make_gui_item_from_keywords_internal):
5322 * gui.c (signal_too_long_error):
5323 * gui.c (parse_gui_item_tree_item):
5324 * gui.c (syms_of_gui):
5325 * gui.c (vars_of_gui):
5327 menu-no-selection-hook moved here (used by MSWin).
5328 Move some symbols to general-slots.h.
5332 * insdel.c (get_buffer_pos_char):
5333 * insdel.c (get_buffer_range_char):
5336 * keymap.c (keymap_lookup_directly):
5337 * keymap.c (keymap_store):
5338 * keymap.c (ensure_meta_prefix_char_keymapp):
5339 * keymap.c (describe_map):
5341 Support new button modifiers.
5343 * lisp-disunion.h (wrap_object):
5344 * lisp-disunion.h (XSETOBJ):
5345 Rename make_obj to wrap_object.
5348 * lisp-union.h (make_int):
5349 * lisp-union.h (make_char):
5350 Support wrap_object.
5353 * lisp.h (LIST_LOOP):
5354 * lisp.h (EXTERNAL_LIST_LOOP):
5355 * lisp.h (LIST_LOOP_2):
5356 * lisp.h (EXTERNAL_LIST_LOOP_1):
5357 * lisp.h (EXTERNAL_LIST_LOOP_2):
5358 * lisp.h (EXTERNAL_LIST_LOOP_3):
5359 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5360 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5361 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5362 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5363 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5364 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5365 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5366 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5367 * lisp.h (struct Lisp_Symbol):
5368 * lisp.h (maybe_continuable_error_with_frob):
5369 Fix up section comments.
5370 Add new types for char to indicate usage.
5371 Delete symbols auto-generated from general-slots.h.
5372 Add prototypes for structured error functions.
5373 Add long comments describing looping macros and change interface
5374 so that lvalues are automatically declared.
5375 Add NO_DECLARE macro in case callers want to declare lvalues
5378 * lread.c (read_syntax_error):
5379 * lread.c (continuable_read_syntax_error):
5380 * lread.c (read_structure):
5381 * lread.c (sequence_reader):
5382 * lread.c (read_list_conser):
5383 * lread.c (read_compiled_function):
5384 Rename syntax_error and continuable_syntax_error to avoid clash
5385 with same-named structured error functions.
5387 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5388 * menubar-msw.c (populate_menu_add_item):
5389 * menubar-msw.c (populate_or_checksum_helper):
5394 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5395 Mule-ize whole file.
5397 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5399 * mule-charset.c (Fmake_charset):
5400 * mule-wnnfns.c (Fwnn_set_param):
5403 * ntproc.c (create_child):
5404 * ntproc.c (Fwin32_set_current_locale):
5405 Add comments portending doom.
5408 * objects-msw.c (old_font_enum_callback_2):
5409 * objects-msw.c (font_enum_callback_1):
5410 * objects-msw.c (mswindows_enumerate_fonts):
5414 * objects-x.c (allocate_nearest_color):
5415 * objects-x.c (x_parse_nearest_color):
5416 * objects-x.c (x_initialize_color_instance):
5417 * objects-x.c (x_print_color_instance):
5418 * objects-x.c (x_finalize_color_instance):
5419 * objects-x.c (x_valid_color_name_p):
5420 * objects-x.c (x_initialize_font_instance):
5421 * objects-x.c (x_print_font_instance):
5422 * objects-x.c (valid_x_font_name_p):
5423 * objects-x.c (truename_via_FONT_prop):
5424 * objects-x.c (truename_via_random_props):
5425 * objects-x.c (truename_via_XListFonts):
5426 * objects-x.c (x_font_truename):
5427 * objects-x.c (x_font_instance_truename):
5428 * objects-x.c (x_font_instance_properties):
5429 * objects-x.c (x_list_fonts):
5430 * objects-x.c (x_find_charset_font):
5431 Mule-ize entire file.
5438 * print.c (std_handle_out_external):
5439 * print.c (debug_print_no_newline):
5440 * print.c (syms_of_print):
5441 Output to all debugger kinds in debug-print.
5442 Fix console-output code under MSWin to actually work.
5444 * process-nt.c (send_signal):
5445 * process-nt.c (nt_create_process):
5446 Use newer Unicode macros.
5448 * process-unix.c (unix_create_process):
5449 * process-unix.c (unix_canonicalize_host_name):
5450 * process-unix.c (unix_open_network_stream):
5456 * search.c (syms_of_search):
5459 * select-msw.c (mswindows_destroy_selection):
5462 * select-x.c (symbol_to_x_atom):
5465 * select.c (syms_of_select):
5468 * sound.c (Fplay_sound_file):
5472 * specifier.c (decode_specifier_type):
5473 * specifier.c (Fvalid_specifier_locale_type_p):
5474 * specifier.c (check_valid_locale_or_locale_type):
5475 * specifier.c (decode_locale):
5476 * specifier.c (decode_locale_type):
5477 * specifier.c (decode_locale_list):
5478 * specifier.c (check_valid_domain):
5479 * specifier.c (decode_specifier_tag_set):
5480 * specifier.c (Fcanonicalize_tag_set):
5481 * specifier.c (Fdefine_specifier_tag):
5482 * specifier.c (Fspecifier_tag_predicate):
5483 * specifier.c (check_valid_inst_list):
5484 * specifier.c (check_valid_spec_list):
5485 * specifier.c (decode_how_to_add_specification):
5486 * specifier.c (check_modifiable_specifier):
5487 * specifier.c (specifier_add_spec):
5488 * specifier.c (boolean_validate):
5489 * specifier.c (display_table_validate):
5492 * specifier.c (syms_of_specifier):
5493 Move some symbols to general-slots.h.
5497 * symbols.c (Fmapatoms):
5498 * symbols.c (Fapropos_internal):
5501 * symbols.c (set_default_buffer_slot_variable):
5502 * symbols.c (set_default_console_slot_variable):
5505 * symbols.c (defsymbol_massage_name_1):
5506 * symbols.c (defkeyword_massage_name):
5507 * symbols.c (deferror_1):
5508 * symbols.c (deferror):
5509 * symbols.c (deferror_massage_name_and_message):
5511 * symeval.h (DEFSYMBOL):
5512 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5514 * symbols.c (syms_of_symbols):
5518 * symsinit.h (init_win32): New.
5519 Also new is syms_of_dialog_mswindows.
5522 Add new Unicode macros, missing Cygwin wide-char functions,
5523 convenience conversion macros for Qmswindows_tstr, macros for
5524 encapsulating required MSWin <-> Cygwin filename conversions,
5525 prototype for dynamically-extracted (not in NT 3.51) functions.
5530 * tooltalk.c (Fadd_tooltalk_message_arg):
5531 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5532 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5535 * tooltalk.c (syms_of_tooltalk):
5539 * unexnt.c (unexec):
5540 Fix up headers, declaration of unexec() to be more standard.
5542 2000-07-20 Martin Buchholz <martin@xemacs.org>
5544 * offix.h: Revert change to guard macros - they're used in offix.c!
5546 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5548 * lisp.h: Defsubred Fdelete.
5550 * console-msw.h: (msprinter_default_printer): Added.
5552 * console-msw.c (msprinter_canonicalize_console_connection):
5553 (msprinter_canonicalize_device_connection): Added.
5555 * device-msw.c (msprinter_default_printer):
5556 (Fmswingows_get_default_printer):
5557 (signal_enum_priner_error):
5558 (Fmswingows_printer_list): Added.
5560 2000-07-19 Martin Buchholz <martin@xemacs.org>
5562 * XEmacs 21.2.35 is released.
5564 2000-07-19 Martin Buchholz <martin@xemacs.org>
5566 * select-x.c (x_handle_selection_request):
5567 Text selected in xemacs and pasted into xterm failed to appear.
5568 Spelling fixes and cosmetic changes.
5570 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5572 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5573 XEmacs frame (fix for doubling chars in dialog boxes).
5575 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5577 * select.c (select_convert_in, select_convert_out):
5578 Don't call intern() every time.
5580 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5581 * select.c (vars_of_select): Initialise them.
5583 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5585 * select.c (selection-coercible-types): New.
5587 * select.c (own-selection-internal):
5588 * select.c (get-selection-internal):
5589 MULE bug fix - these should default to COMPOUND_TEXT and not
5590 STRING for MULE. I think.
5592 * select.c (select_convert_out): Use selection-coercible-types
5593 to find types that we can attempt to perform coercions on.
5595 2000-07-18 Martin Buchholz <martin@xemacs.org>
5599 Add coding: cookie to identify encoding.
5601 * mule-canna.c (CANNA_mode_keys): make static.
5602 Use proper prototypes, even for functions of no arguments.
5603 Remove external prototype for Fding().
5605 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5607 * select.c (syms_of_select): Add missing DEFSUBR.
5609 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5611 * select.c (get_selection_internal, own_selection_internal):
5612 Make the type default to STRING, rather than placing a nil type
5613 into Vselection_alist.
5615 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5617 * gpmevent.c (tty_selection_exists_p):
5618 * gpmevent.c (tty_own_selection):
5619 Updated parameter lists.
5621 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5623 * select.h (selection-alist): Removed declaration.
5625 * select.h (get_local_selection):
5626 * select.c (get_local_selection):
5629 * select.h (convert_selection): Removed declaration.
5630 * select.c (convert_selection): Removed.
5631 This function belongs in Lisp.
5633 * select.h (select_convert_in): Declare.
5634 * select.h (select_convert_out): Declare.
5635 * select.c (select_convert_in): New.
5636 * select.c (select_convert_out): New.
5637 New conversion functions for other files to call.
5639 * select.h (select_notify_buffer_kill): Declare.
5640 * select.c (select_notify_buffer_kill): New.
5641 New functions that get called from kill-buffer.
5643 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5644 X-specific lisp code.
5646 * select.h: Declare some of the lisp-visible functions for
5649 * select.c (clean_local_selection_data): Removed. This was
5650 a disgusting function, and previously should have been in
5651 select-x.c in any case. The functionality is now provided
5652 in select-convert-from-integer (select.el).
5654 * select.c (available-selection-types): Fixed stupidity where
5655 INTEGER and ATOM got added twice. Also add STRING when we see an
5658 * select.c (get-selection-internal): Removed symbol stripping. No
5659 longer causes conversion when data comes from the internal cache.
5661 * select.c (syms_of_select): Added new functions.
5663 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5664 error checking - previously this called abort!
5666 * select-x.c (x_own_selection): Changed comment.
5668 * select-x.c (x_handle_selection_request): Use select_convert_out.
5669 Don't mess with selection-alist; it's an internal variable of select.c.
5671 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5673 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5674 rather than messing with selection-alist.
5676 * select-msw.c (mswindows_get_foreign_selection):
5677 Use TO_INTERNAL_FORMAT rather than hacking.
5679 2000-07-14 Martin Buchholz <martin@xemacs.org>
5681 * process-unix.c (unix_open_multicast_group):
5682 (unix_open_multicast_group): Remove useless casts.
5684 2000-07-13 Martin Buchholz <martin@xemacs.org>
5686 * sound.c (Fplay_sound): Fix `unused variable' warning.
5688 * emacs.c (main): Use correct type for _environ on SCO5.
5690 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5692 * console.h (own_selection_method):
5693 * console.h (selection_exists_p_method):
5694 * console.h (available_selection_types_method): New.
5695 * console.h (register_selection_data_type_method): New.
5696 * console.h (selection_data_type_name): New.
5698 * console-msw.h (mswindows_destroy_selection): Declare it. New
5699 function & alist to track GlobalAlloc()'d handles that need
5700 releasing when the clipboard data gets replaced or emptied.
5702 * event-msw.c (mswindows_wnd_proc): Call it.
5704 * lisp.h, general.c (Qappend): New symbol representing a
5707 * select.c (own-selection-internal):
5708 * select.c (selection-exists-p):
5709 * select.c (available-selection-types): New.
5710 * select.c (register-selection-data-type): New.
5711 * select.c (selection-data-type-name): New. New functions to deal
5712 with device-specific selection data formats.
5713 * select.c (selection-converter-out-alist): Renamed.
5714 * select.c (selection-converter-in-alist): New.
5715 * select.c (selection-appender-alist): New. Added new alists.
5716 * select.c (syms_of_select, vars_of_select): Added new symbols &
5718 * select.c (get_local_selection): Split.
5719 * select.c: Removed spurious type checking - selections may now be
5720 of any type, not just strings.
5721 * select.c (own-selection-internal):
5723 * select.h, select.c (convert_selection): New. Created
5724 convert_selection() function based on get_local_selection().
5725 * select.h, select.c (QCF_*): New symbols representing mswindows
5727 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5728 symbols representing `how-to-add' modes.
5730 * select-msw.c (x_sym_p): New.
5731 * select-msw.c (symbol_to_ms_cf): New.
5732 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5733 symbols & clipboard formats. Can also handle string names.
5734 * select-msw.c (mswindows_own_selection):
5735 * select-msw.c (mswindows_selection_exists_p):
5736 Added `data-type' parameter. Use it.
5737 * select-msw.c (mswindows_available_selection_types): New.
5738 * select-msw.c (mswindows_register_selection_data_type): New.
5739 * select-msw.c (mswindows_selection_data_type_name): New.
5740 * select-msw.c (mswindows_own_selection):
5741 * select-msw.c (mswindows_get_foreign_selection):
5742 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5743 * select-msw.c (console_create_select_mswindows): Added new methods.
5744 * select-msw.c (mswindows_destroy_selection): New.
5745 * select-msw.c (Vhandle_alist): New list.
5746 * select-msw.c (mswindows_own_selection):
5748 * select-x.c (x_own_selection):
5749 * select-x.c (x_selection_exists_p):
5750 * select-x.c: Added some comments about maybe using new
5752 * select-x.c (x_own_selection):
5754 * specifier.c: Remove definition of Qappend (now in general.c)
5755 * specifier.c (syms_of_specifier): Remove Qappend.
5757 2000-07-12 Martin Buchholz <martin@xemacs.org>
5759 * config.h.in: Add socklen_t.
5761 * s/decosf4-0.h: No special compiler flags needed or desired.
5762 In particular, undefine _BSD for DEC OSF 4.0.
5764 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5766 * redisplay-msw.c (msprinter_frame_output_end): Added.
5767 (console_type_create_redisplay_mswindows): Referred the above.
5769 * frame.c (setup_frame_without_minibuffer): Do not create a
5770 default minibuffer frame on a printer device.
5772 * frame-msw.c (apply_dc_geometry): Added.
5773 (msprinter_start_page):
5774 (msprinter_init_frame_3):
5775 (msprinter_eject_page): Use it.
5777 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5778 and removed residual duplex and orientation properties.
5780 2000-07-11 Martin Buchholz <martin@xemacs.org>
5782 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5784 * unexalpha.c: Remove system prototypes from C sources!
5786 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5788 * eval.c: Remove references to M-x edit-options in DEFUNs for
5789 `defvar' and `defconst'.
5791 2000-07-09 Martin Buchholz <martin@xemacs.org>
5793 * config.h.in: Remove SMART_INCLUDE hackery.
5796 * config.h.in: Don't use SMART_INCLUDE.
5798 * postgresql.h: Include libpq-fe.h here. Fix typo.
5799 * inline.c: Simply #include "postgresql.h"
5801 - Don't use SMART_INCLUDE
5802 - Use simply "const".
5803 - Use standard doc string conventions.
5804 - Use correct type for result of PQstatus.
5806 2000-07-09 Martin Buchholz <martin@xemacs.org>
5808 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5810 C++ compilation changes.
5811 * config.h.in (EXTERN_C): Define.
5812 * config.h.in (not): This is also a C++ keyword.
5813 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5814 * cm.c: Use EXTERN_C.
5815 * redisplay-tty.c: Use EXTERN_C.
5816 * sysdep.c: Use EXTERN_C. Remove Gould support.
5818 2000-07-09 Martin Buchholz <martin@xemacs.org>
5820 * general.c: Remove duplicate definition for Qfunction.
5822 2000-07-08 Ben Wing <ben@xemacs.org>
5824 * device-msw.c (msprinter_init_device):
5825 * device-msw.c (sync_printer_with_devmode):
5826 * device-msw.c (handle_devmode_changes):
5827 * device-msw.c (print_dialog_worker):
5828 * device-msw.c (Fmsprinter_apply_settings):
5829 * device-msw.c (hash_devmode):
5830 * device-msw.c (Fmsprinter_settings_despecialize):
5831 use Qmswindows_tstr, not Qctext.
5833 * vm-limit.c (check_memory_limits):
5834 avoid infinite loop printing warning messages.
5836 2000-07-05 Craig Lanning <lanning@scra.org>
5838 * Makefile.in.in: Add support for including the Windows resources
5839 when building with the cygwin and mingw targets.
5841 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5842 not set or not correct.
5843 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5844 (init_initial_directory): Don't try to use $PWD on the
5845 WIN32_NATIVE target.
5848 [[Add -mwindows to eliminate console window.]] not required --ben
5849 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5850 (MAIL_USE_POP): removed; now handled by configure.
5852 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5853 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5854 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5855 (MAIL_USE_POP): removed; now handled by configure.
5856 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5857 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5858 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5860 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5861 up from <winsock.h> via systime.h.
5862 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5863 (getpagesize): from Dan Holmsand, added.
5864 Added #endif which was left dangling by Ben's mega patch; added
5865 comment to help prevent this in the future.
5867 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5869 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5871 * console-msw.h (struct mswindows_device): Removed unnecessary
5872 cached device geometry values.
5873 Added update_tick and an accessor macro.
5874 (Lisp_Devmode): Added lrecord declaration.
5875 (struct msprinter_device): Contain devmode as a Lisp object.
5876 Added mswindows_get_selected_frame_hwnd();
5878 * console.h (struct console_methods): Indentation nitpicking.
5880 * device-msw.c (mswindows_init_device): Do not initialize geometry
5881 cache. Initialize update tick.
5882 (mswindows_device_system_metrics): Ask the device for its geometry.
5883 (global_free_2_maybe):
5884 (devmode_to_hglobal):
5885 (handle_printer_changes):
5886 (ensure_not_printing):
5887 (print_dialog_worker):
5888 (Fmsprinter_print_setup_dialog):
5889 (Fmsprinter_print_dialog):
5892 (Fmsprinter_page_setup_dialog): Added functions.
5893 (sync_printer_with_devmode):
5894 (handle_devmode_changes):
5895 (Fmsprinter_get_settings):
5896 (Fmsprinter_select_settings):
5897 (Fmsprinter_apply_settings):
5899 (Fmsprinter_settings_copy):
5900 (Fmsprinter_settings_despecialize):
5904 (hash_devmode): Added functions
5905 (syms_of_device_mswindows): Init devmode lrecord class.
5907 * device.h: Added an exfun for find-device.
5909 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5910 geometry; although, recreate the device compatible DC.
5912 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5913 (msprinter_init_frame_3):
5914 (msprinter_frame_property):
5915 (msprinter_internal_frame_property_p):
5916 (msprinter_frame_properties):
5917 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5918 print job properties (will move to device settings).
5920 * lisp.h: Added symbols.
5922 * general.c (syms_of_general): Declared them.
5924 * hash.c (string_hash): Added.
5926 * lrecord.h (lrecord_type): Added devmode lrecord type.
5928 2000-07-02 Mike Sperber <mike@xemacs.org>
5930 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5933 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5935 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5938 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5940 * data.c (Fstring_to_number): Don't recognize floating point if
5943 2000-06-22 Martin Buchholz <martin@xemacs.org>
5945 * glyphs-widget.c (tab_control_query_geometry):
5946 (widget_query_geometry):
5947 (button_query_geometry):
5948 * glyphs.c (text_query_geometry):
5949 Enforce type correctness.
5951 2000-06-18 Martin Buchholz <martin@xemacs.org>
5953 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5954 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5956 2000-06-17 Martin Buchholz <martin@xemacs.org>
5958 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5959 conflicts with gcc's fixincluded version of FOO.h.
5961 * glyphs.h (image_instance_geometry): Remove trailing `,'
5963 2000-06-08 Mike Alexander <mta@arbortext.com>
5965 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
5966 (shove_thread): Don't write the same output twice
5967 (make_ntpipe_output_stream): Increase priority of shove thread
5968 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
5970 (ntpipe_shove_closer): Don't delete the pipe until we're done with
5973 2000-06-12 Ben Wing <ben@xemacs.org>
5975 * s\mingw32.h (sigset):
5976 * s\windowsnt.h (sigset):
5977 rename msw_ to mswindows_ for consistency with general convention.
5979 2000-06-12 Ben Wing <ben@xemacs.org>
5982 * console-msw.c (mswindows_get_console_hwnd):
5983 * console-msw.c (mswindows_ensure_console_allocated):
5984 * console-msw.c (mswindows_hide_console):
5985 * console-msw.c (mswindows_show_console):
5986 * console-msw.c (mswindows_ensure_console_buffered):
5987 * console-msw.c (mswindows_output_console_string):
5988 * console-msw.c (mswindows_windows9x_p):
5990 * device-msw.c (mswindows_get_workspace_coords):
5991 * device-msw.c (mswindows_device_system_metrics):
5992 * dialog-msw.c (mswindows_popup_dialog_box):
5993 * event-msw.c (mswindows_wnd_proc):
5994 * frame-msw.c (mswindows_size_frame_internal):
5995 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5996 * menubar-msw.c (displayable_menu_item):
5997 * menubar-msw.c (mswindows_char_is_accelerator):
5999 * nt.c (mswindows_sigset):
6000 * nt.c (mswindows_sigrelse):
6001 * nt.c (mswindows_sigpause):
6002 * nt.c (mswindows_raise):
6003 * nt.c (timer_proc):
6005 * ntproc.c (find_child_console):
6006 * ntproc.c (sys_kill):
6008 * print.c (std_handle_out_external):
6009 * process-nt.c (find_child_console):
6010 * process-nt.c (send_signal_the_95_way):
6011 * process-nt.c (ensure_console_window_exists):
6012 * process-nt.c (nt_create_process):
6014 rename msw_ to mswindows_ for consistency with general convention.
6018 include nt.h, not syswindows.h.
6020 * nt.c (mswindows_fstat):
6021 * nt.c (mswindows_stat):
6022 prefix mswindows_ instead of attempting to directly override the
6023 library functions. fix declarations.
6026 include syswindows.h. move some sysdep.h stuff here.
6029 include syswindows.h, not <windows.h>.
6037 * sysdep.c (sys_fstat):
6038 * sysdep.c (sys_stat):
6039 call mswindows versions when appropriate.
6042 move mswin decls to nt.h.
6045 add long comment describing appropriate use of the various windows
6048 2000-06-11 Ben Wing <ben@xemacs.org>
6050 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6052 2000-06-10 Ben Wing <ben@xemacs.org>
6054 * Makefile.in.in (release):
6055 Correction to make sure xemacs.exe always dumped when correct.
6059 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6061 * buffer.c (set_buffer_internal):
6062 [[[[2]]]]: Remove HAVE_FEP code.
6064 * buffer.c (init_initial_directory):
6068 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6072 * callproc.c (call_process_cleanup):
6073 * callproc.c (Fold_call_process_internal):
6074 * callproc.c (child_setup):
6075 * callproc.c (getenv_internal):
6076 * callproc.c (init_callproc):
6077 * callproc.c (vars_of_callproc):
6078 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6079 __CYGWIN32__ -> CYGWIN.
6080 DOS_NT -> WIN32_NATIVE.
6081 Remove MSDOS support/references, converting to WIN32_NATIVE
6083 __MINGW32__ -> MINGW.
6084 Fix windows.h includes.
6085 Remove bogus HAVE_NTGUI.
6091 mswindows_message_outputted added for use in allowing startup
6092 errors on the console to be seen.
6094 * console-msw.c (msw_ensure_console_allocated):
6095 * console-msw.c (msw_output_console_string):
6096 * console-msw.c (DHEADER):
6097 * console-msw.c (DOPAQUE_DATA):
6098 * console-msw.c (DEVENT):
6099 * console-msw.c (DCONS):
6100 * console-msw.c (DCONSCDR):
6101 * console-msw.c (DSTRING):
6102 * console-msw.c (DVECTOR):
6103 * console-msw.c (DSYMBOL):
6104 * console-msw.c (DSYMNAME):
6107 * console-stream.c (stream_init_console):
6108 Fix text/binary problems.
6111 * device-msw.c (mswindows_finish_init_device):
6112 * device-msw.c (mswindows_delete_device):
6115 * device.c (handle_asynch_device_change):
6119 * dgif_lib.c (DGifOpenFileName):
6120 * dgif_lib.c (DGifOpenFileHandle):
6121 * dgif_lib.c (DGifGetLine):
6122 * dgif_lib.c (DGifGetPixel):
6123 Added config.h/lisp.h, fix up includes.
6130 * dired.c (file_name_completion):
6131 * dired.c (Ffile_attributes):
6132 * dired.c (syms_of_dired):
6136 * dumper.c (pdump_file_unmap):
6137 * dumper.c (pdump_load):
6141 * editfns.c (Ftemp_directory):
6142 * editfns.c (user_login_name):
6143 * editfns.c (Fuser_real_login_name):
6144 * editfns.c (get_home_directory):
6147 * elhash.c (finish_marking_weak_hash_tables):
6148 [[[[5]]]]: Fix GCC warnings.
6151 * emacs.c (mswindows_handle_hardware_exceptions):
6152 * emacs.c (make_arg_list_1):
6154 * emacs.c (Fkill_emacs):
6155 * emacs.c (Fdump_emacs):
6157 Fix problems with nested crashes, add long comment.
6159 * event-Xt.c (init_event_Xt_late):
6163 * event-msw.c (mswindows_dde_callback):
6164 * event-msw.c (mswindows_handle_sticky_modifiers):
6165 * event-msw.c (mswindows_wnd_proc):
6169 * events.c (character_to_event):
6173 * fileio.c (Ffile_name_directory):
6174 * fileio.c (Ffile_name_nondirectory):
6175 * fileio.c (directory_file_name):
6176 * fileio.c (Fexpand_file_name):
6177 * fileio.c (Fsubstitute_in_file_name):
6178 * fileio.c (Ffile_name_absolute_p):
6179 * fileio.c (check_executable):
6180 * fileio.c (Ffile_readable_p):
6181 * fileio.c (Ffile_accessible_directory_p):
6182 * fileio.c (Ffile_modes):
6183 * fileio.c (Funix_sync):
6184 * fileio.c (vars_of_fileio):
6187 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6189 Expand getdefdir defn.
6190 Fix bogus rename() comment.
6192 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6193 to use standard XEmacs include files, e.g. sysfile.h, rather
6194 than system-specific includes.
6200 * frame.c (vars_of_frame):
6204 * getloadavg.c (getloadavg):
6206 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6207 (We don't use it elsewhere in the code; just add a comment.)
6214 * glyphs-msw.c (mswindows_resource_instantiate):
6217 * glyphs-x.c (x_native_layout_instantiate):
6220 * gui-msw.c (Fmswindows_shell_execute):
6229 * lread.c (locate_file_in_directory_mapper):
6236 * mem-limits.h (get_lim_data):
6248 * nt.c (rva_to_section):
6249 * nt.c (mswindows_executable_type):
6251 Fix closedir() defn.
6254 [[[[8]]]]: *_OK defs moved to sysfile.h.
6263 * print.c (std_handle_out_external):
6267 * process-nt.c (nt_create_process):
6269 try to fix process quoting somewhat.
6271 * process-unix.c (unix_create_process):
6275 * process.c (vars_of_process):
6282 * realpath.c (xrealpath):
6285 * redisplay-tty.c (init_tty_for_redisplay):
6295 * sheap.c (more_static_core):
6296 * sheap.c (report_sheap_usage):
6300 * signal.c (alarm_signal):
6307 * strftime.c (zone_name):
6310 * symsinit.h (init_sunpro):
6314 commctrl.h not in Cygwin b20.1.
6318 * sysdep.c (sys_subshell):
6319 * sysdep.c (init_baud_rate):
6320 * sysdep.c (emacs_get_tty):
6321 * sysdep.c (emacs_set_tty):
6322 * sysdep.c (tty_init_sys_modes_on_device):
6323 * sysdep.c (init_system_name):
6324 * sysdep.c (sys_open):
6325 * sysdep.c (interruptible_open):
6326 * sysdep.c (sys_fopen):
6327 * sysdep.c (sys_mkdir):
6328 * sysdep.c (sys_rename):
6329 * sysdep.c (get_process_times_1):
6336 * sysdir.h (DIRENTRY_NONEMPTY):
6339 * sysdll.c (dll_init):
6345 added text/binary defs.
6351 * sysproc.h (EDESTADDRREQ):
6352 * sysproc.h (poll_fds_for_input):
6369 Always define WIN32_LEAN_AND_MEAN.
6371 * unexcw.c (unexec):
6375 * unexec.c (copy_text_and_data):
6376 * unexec.c (adjust_lnnoptrs):
6380 * unexnt.c (_start):
6383 2000-06-07 Ben Wing <ben@xemacs.org>
6385 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6386 was used only as a model. We've long since extracted any useful
6387 logic or code out of this. (I just did an exhaustive search.)
6389 * s\msdos.h: Removed.
6391 * s\windows95.h: Removed.
6393 2000-06-10 Ben Wing <ben@xemacs.org>
6397 Don't use extern with fun defs.
6401 Remove nt\inc include.
6402 Remove getdisk, getdefdir. (The former is unused, the latter
6403 expanded in fileio.h.)
6406 * s\windowsnt.h (WIN32_NATIVE):
6407 * s\windowsnt.h (HAVE_STRCASECMP):
6409 Add long comment about preprocessor changes.
6410 Remove getdisk, getdefdir. (The former is unused, the latter
6411 expanded in fileio.h.)
6413 2000-06-10 Ben Wing <ben@xemacs.org>
6422 Remove bogus/unused NO_SOCK_SIGIO.
6424 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6426 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6429 2000-06-04 Mike Sperber <mike@xemacs.org>
6431 * casetab.c (set_case_table): For `set-standard-case-table',
6432 actually deposit the new case tables where the rest of XEmacs can
6435 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6437 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6439 2000-06-05 Ben Wing <ben@xemacs.org>
6441 * callproc.c (child_setup): Don't do close_load_descs() under
6442 MS Windows. Put in a comment explaining why.
6444 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6446 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6447 Toolkit shell" which breaks `kill-compilation' on Windows NT
6448 native, retaining STDERR handling improvements.
6450 2000-06-01 Andreas Jaeger <aj@suse.de>
6452 * s/s390.h: Support for S390, based on a patch by Martin
6453 Schwidefsky <schwidefsky@de.ibm.com>.
6455 2000-05-30 Andy Piper <andy@xemacs.org>
6457 * window.c (allocate_window):
6458 (make_dummy_parent):
6459 (Fset_window_configuration): use new hashtable type.
6461 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6462 (struct image_instantiator_methods):
6463 (struct Lisp_Image_Instance): make instance geometry signed.
6465 * glyphs.c (instantiate_image_instantiator):
6466 (image_instance_query_geometry):
6467 (image_instance_layout):
6468 (image_instance_layout):
6469 (query_string_geometry):
6470 (text_query_geometry):
6471 (image_instantiate):
6472 (image_instantiate):
6473 (cache_subwindow_instance_in_frame_maybe):
6474 (subwindow_query_geometry): make instance geometry signed.
6476 * glyphs-widget.c (widget_query_geometry):
6478 (button_query_geometry):
6479 (tree_view_query_geometry):
6480 (tab_control_query_geometry):
6481 (layout_query_geometry):
6483 (native_layout_layout): make instance geometry signed.
6485 2000-05-29 Olivier Galibert <galibert@pobox.com>
6487 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6490 * general.c (syms_of_general): Add Qfull_assoc symbol.
6492 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6494 (decode_weak_list_type): Decode full-assoc type.
6495 (encode_weak_list_type): Encode full-assoc type.
6496 (Fmake_weak_list): Update doc string.
6498 2000-05-30 Andy Piper <andy@xemacs.org>
6500 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6502 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6503 (decode_hash_table_weakness): ditto.
6504 (Fhash_table_weakness): ditto.
6505 (Fhash_table_type): ditto.
6506 (finish_marking_weak_hash_tables): ditto.
6507 (hash_table_weakness_validate): ditto.
6508 (syms_of_elhash): ditto.
6510 2000-05-28 Martin Buchholz <martin@xemacs.org>
6512 * XEmacs 21.2.34 is released.
6514 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6516 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6518 (updating_line_start_cache): Gone.
6519 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6520 generic code to force a minimum of 1 line laid out in the
6523 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6525 * glyphs.c (instantiate_image_instantiator): Check for initialized
6526 height & width no longer special cases IMAGE_NOTHING.
6527 (nothing_instantiate): Set height and width of instance.
6529 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6531 * unexelf.c (unexec): Search for ".data" section.
6532 Initialize new_data2_offset from old_data_index.
6533 Remove redundant check for ElfW.
6535 2000-05-23 Andy Piper <andy@xemacs.org>
6537 * glyphs.c (get_image_instantiator_governing_domain): allow more
6538 specific domains as the governing domain rather than expecting an
6539 exact match. This fixes problems with layouts.
6541 2000-05-22 Andy Piper <andy@xemacs.org>
6543 * redisplay-output.c (compare_runes): check for non-images
6545 * glyphs.c (set_glyph_dirty_p): ditto.
6546 (update_glyph_cachel_data): ditto.
6548 * glyphs-widget.c (layout_post_instantiate): ditto.
6549 (layout_post_instantiate): ditto.
6551 * event-msw.c (mswindows_wnd_proc): warning removal.
6553 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6555 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6557 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6559 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6561 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6562 (mswindows_executable_type): mingw32 now has enough headers for
6565 2000-05-20 Andy Piper <andy@xemacs.org>
6567 * console-msw.c (mswindows_output_last_error): ; -> ,
6569 2000-05-12 Andy Piper <andy@xemacs.org>
6571 * console-msw.c (FROB): compare ints with ints.
6573 2000-05-11 Andy Piper <andy@xemacs.org>
6575 * glyphs-x.c (x_finalize_image_instance): make minimal build
6578 2000-05-20 Ben Wing <ben@xemacs.org>
6581 * event-Xt.c (vars_of_event_Xt):
6582 move modifier-keys-are-sticky to event-stream.c.
6585 * event-msw.c (mswindows_enqueue_mouse_button_event):
6586 * event-msw.c (key_needs_default_processing_p):
6587 * event-msw.c (XEMSW_LCONTROL):
6588 * event-msw.c (mswindows_handle_sticky_modifiers):
6589 * event-msw.c (FROB):
6590 * event-msw.c (clear_sticky_modifiers):
6591 * event-msw.c (output_modifier_keyboard_state):
6592 * event-msw.c (output_alt_keyboard_state):
6593 * event-msw.c (mswindows_wnd_proc):
6594 * event-msw.c (mswindows_modifier_state):
6595 * event-msw.c (emacs_mswindows_handle_magic_event):
6596 implement sticky modifiers.
6599 * event-stream.c (vars_of_event_stream):
6600 move modifier-keys-are-sticky here.
6606 implement map-range-table.
6609 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6611 * redisplay-tty.c (reset_tty_modes):
6612 (tty_redisplay_shutdown): Adjust argument type to
6613 tty_frame_output_end.
6615 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6617 * eval.c (Fbacktrace): Don't output a line with only right
6620 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6622 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6623 (Fpq_reset_poll): Ditto.
6625 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6627 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6629 2000-05-16 Ben Wing <ben@xemacs.org>
6632 * buffer.c (dfc_convert_to/from_internal_format):
6633 * buffer.c (reinit_vars_of_buffer):
6634 Fix conversion functions to allow reentrancy.
6637 * console-msw.c (mswindows_output_last_error):
6638 New fun, generally useful -- output a human-readable
6639 version of GetLastError() on the console.
6642 * console-msw.h (struct mswindows_frame):
6643 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6645 * console-stream.c (stream_output_begin):
6646 * console-stream.c (stream_output_end):
6647 * console-stream.c (stream_output_vertical_divider):
6648 * console-stream.c (stream_clear_region):
6649 * console-stream.c (stream_flash):
6650 * console-stream.c (console_type_create_stream):
6651 Delete blank stream methods, not needed.
6653 * console.h (struct console_methods):
6654 Split begin/end methods into window and frame.
6657 * event-msw.c (mswindows_handle_paint):
6658 * event-msw.c (output_alt_keyboard_state):
6659 * event-msw.c (mswindows_wnd_proc):
6660 * event-msw.c (vars_of_event_mswindows):
6661 Comment about problems with ignored-expose.
6662 Define mswindows-debug-events; not really implemented.
6664 * frame-msw.c (mswindows_init_frame_1):
6668 * glyphs-msw.c (begin_defer_window_pos):
6669 * glyphs-msw.c (mswindows_unmap_subwindow):
6670 * glyphs-msw.c (mswindows_map_subwindow):
6671 * glyphs-msw.c (mswindows_resize_subwindow):
6672 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6674 * glyphs.c (make_image_instance_1):
6677 * gutter.c (Fredisplay_gutter_area):
6678 Use new begin/end methods.
6680 * lisp.h (Dynarr_new2):
6684 * redisplay-msw.c (mswindows_frame_output_begin):
6685 * redisplay-msw.c (mswindows_frame_output_end):
6686 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6687 New begin/end methods -- handle DeferWindowPos.
6689 * redisplay-output.c (redisplay_move_cursor):
6690 * redisplay-output.c (redraw_cursor_in_window):
6691 * redisplay-output.c (redisplay_update_line):
6692 * redisplay-output.c (redisplay_output_window):
6693 New begin/end methods.
6696 * redisplay-tty.c (tty_frame_output_begin):
6697 * redisplay-tty.c (tty_frame_output_end):
6698 * redisplay-tty.c (console_type_create_redisplay_tty):
6699 New begin/end methods.
6702 * redisplay-x.c (x_window_output_begin):
6703 * redisplay-x.c (x_window_output_end):
6704 * redisplay-x.c (console_type_create_redisplay_x):
6705 New begin/end methods.
6707 * redisplay.c (redisplay_frame):
6708 * redisplay.c (Fredisplay_echo_area):
6709 New begin/end methods.
6710 use MAYBE_DEVMETH for clear_frame; it may not exist.
6712 * window.h (WINDOW_XFRAME):
6713 WINDOW_XFOO macros -- get locale and decode struct pointer.
6716 2000-05-12 Ben Wing <ben@xemacs.org>
6719 * emacs.c (ensure_no_quitting_from_now_on):
6720 * emacs.c (fatal_error_signal):
6721 * emacs.c (mswindows_handle_hardware_exceptions):
6723 * emacs.c (Fkill_emacs):
6724 * emacs.c (shut_down_emacs):
6725 * emacs.c (assert_failed):
6726 various improvements in fatal error handling.
6729 move preparing_for_armageddon to emacs.c.
6732 declare fatal_error_in_progress.
6735 * print.c (std_handle_out_external):
6736 * print.c (std_handle_out_va):
6737 * print.c (stderr_out):
6738 * print.c (stdout_out):
6739 use console under mswin when no standard output.
6740 don't do code conversion during fatal error.
6742 * scrollbar.c (Fscrollbar_page_up):
6743 * scrollbar.c (Fscrollbar_page_down):
6744 fix missing else. reindent.
6746 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6750 * glyphs.h (GLYPH_CACHEL_DESCENT):
6751 (GLYPH_CACHEL_DESCENT):
6752 (GLYPH_CACHEL_DESCENT):
6753 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6754 used in case these are inline functions.
6755 Use more absurd values to error check.
6757 include window.h for error check functions.
6759 2000-05-11 Ben Wing <ben@xemacs.org>
6761 * cmdloop.c (Freally_early_error_handler):
6762 Display message box under windows; otherwise, message will disappear
6763 before it can be viewed.
6766 * console-msw.c (Fmswindows_message_box):
6767 * console-msw.c (FROB):
6768 * console-msw.c (syms_of_console_mswindows):
6769 Define new fun `mswindows-message-box'.
6770 #### I will merge this into `popup-dialog-box'; just give me
6774 * general.c (syms_of_general):
6775 Some new symbols used in `mswindows-message-box'.
6778 * glyphs.c (Fset_image_instance_property):
6779 put warning in this fun.
6782 * glyphs.h (GLYPH_CACHEL_WIDTH):
6783 * glyphs.h (GLYPH_CACHEL_ASCENT):
6784 * glyphs.h (GLYPH_CACHEL):
6785 * glyphs.h (GLYPH_CACHEL_GLYPH):
6786 define error-checking versions to try to catch a bug i've seen --
6787 redisplay gets in an infinite loop because the glyph width of the
6788 continuation glyph is 65535.
6791 Extern message-box stuff.
6793 * window.c (allocate_window):
6794 * window.c (make_dummy_parent):
6795 * window.c (Fset_window_configuration):
6796 Use EQUAL not EQ for subwindow caches to make them work a bit
6797 better. (Something is still very broken.)
6800 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6802 * glyphs.c (image_instantiate): Suppress gcc warnings.
6803 (Fmake_image_instance): Fix doc string.
6804 * specifier.c (Fmake_specifier): Ditto.
6806 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6808 * paths.h.in (PATH_LOCK): Removed.
6809 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6810 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6812 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6814 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6815 Document (featurep '(and xemacs 21.02)).
6817 2000-05-09 Ben Wing <ben@xemacs.org>
6819 * buffer.c (complex_vars_of_buffer):
6820 update modeline-format doc.
6823 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6826 timeline of all released versions of Emacs, for use in creating
6827 authorship comments and in synching up.
6829 * glyphs-widget.c (image_instantiator_buttons):
6830 * glyphs-widget.c (image_instantiator_edit_fields):
6831 * glyphs-widget.c (image_instantiator_combo_box):
6832 * glyphs-widget.c (image_instantiator_scrollbar):
6833 * glyphs-widget.c (image_instantiator_progress_guage):
6834 * glyphs-widget.c (image_instantiator_tree_view):
6835 * glyphs-widget.c (image_instantiator_tab_control):
6836 * glyphs-widget.c (image_instantiator_labels):
6837 * glyphs-widget.c (image_instantiator_layout):
6838 * glyphs-widget.c (image_instantiator_native_layout):
6839 rename decode_domain method to governing_domain.
6842 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6843 * glyphs.c (add_entry_to_device_ii_format_list):
6844 make sure we don't put an entry more than once into the list.
6845 * glyphs.c (check_instance_cache_mapper):
6846 *************************************************************
6847 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6849 *************************************************************
6850 * glyphs.c (get_image_instantiator_governing_domain):
6851 clean up, expand on new concept of governing domain.
6852 * glyphs.c (instantiate_image_instantiator):
6853 * glyphs.c (allocate_image_instance):
6854 use governing_domain instead of cache_domain in naming.
6855 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6856 * glyphs.c (make_image_instance_1):
6857 * glyphs.c (Fmake_image_instance):
6858 allow for any domain (not just device), and process the
6859 governing domain correctly. very big doc fix.
6860 * glyphs.c (Fimage_instance_domain):
6861 new primitive, to retrieve the governing domain of an image instance.
6862 * glyphs.c (image_instantiate):
6863 use new governing_domain stuff. this fixes a crash you could get
6864 by instantiating certain widget glyphs in frame locales. (should
6865 signal an error instead of crashing.)
6866 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6867 * glyphs.c (Fglyphp): clean up doc.
6868 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6869 * glyphs.c (syms_of_glyphs):
6870 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6871 * glyphs.c (image_instantiator_format_create): add some comments about
6873 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6874 for current-display-table. (Apparently Hrjove implemented in 1998 a
6875 design I wrote up in 1996, but didn't update the doc string.)
6877 * glyphs.h: clean up a doc string.
6878 * glyphs.h (governing_domain):
6879 * glyphs.h (struct image_instantiator_methods):
6880 changes for governing_domain stuff.
6883 * gutter.c (Fgutter_specifier_p):
6884 * gutter.c (Fgutter_size_specifier_p):
6885 * gutter.c (Fgutter_visible_specifier_p):
6887 * objects.c (Fcolor_specifier_p):
6888 * objects.c (Ffont_specifier_p):
6889 * objects.c (Fface_boolean_specifier_p):
6890 doc strings moved to make-*-specifier.
6892 * redisplay.c (add_disp_table_entry_runes_1):
6893 * redisplay.c (generate_fstring_runes):
6894 * redisplay.c (screen):
6895 add random comments and doc strings.
6898 * specifier.c (Fmake_specifier):
6899 major overhaul of this doc string.
6901 * specifier.c (Fvalid_specifier_domain_p):
6902 comment about the bogosity of image instances being domains.
6903 * specifier.c (decode_domain):
6904 now non-static, used in glyphs.c.
6905 * specifier.c (specifier_instance):
6906 comment about the bogosity of image instances being domains.
6907 * specifier.c (Fgeneric_specifier_p):
6908 move doc string to make-generic-specifier.
6909 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6913 * specifier.h (DOMAIN_FRAME):
6914 * specifier.h (DOMAIN_LIVE_P):
6915 * specifier.h (DOMAIN_XDEVICE):
6917 add comments about problems with these macros.
6918 prototype for decode_domain.
6921 * toolbar.c (Ftoolbar_specifier_p):
6922 move doc string to `make-toolbar-specifier'.
6924 * window.c (window_unmap_subwindows_cache_mapper):
6925 *************************************************************
6926 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6928 *************************************************************
6930 2000-05-09 Andy Piper <andy@xemacs.org>
6932 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6934 * window.c (Fset_window_configuration): reset the frame subwindow
6935 cache and re-initialize the window subwindow caches.
6937 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6939 2000-05-09 Ben Wing <ben@xemacs.org>
6941 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6944 2000-04-26 Mike Woolley <mike@bulsara.com>
6946 * ntheap.c: Changed recreate_heap to limit the amount reserved
6947 for the heap to that which is actually available. Also now
6948 displays a message box (with some dignostics) in the event that
6949 it still can't start.
6951 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6953 * callproc.c (Fold_call_process_internal): GCPRO path
6955 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6957 Patch by Bill Perry.
6959 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6960 back data instead of #ifdef.
6961 (Fscrollbar_page_down): ditto.
6963 2000-05-07 Ben Wing <ben@xemacs.org>
6966 Kludge for defining Qmswindows_tstr.
6969 * nt.c (open_input_file):
6970 * nt.c (open_output_file):
6971 * nt.c (rva_to_section):
6972 * nt.c (mswindows_executable_type):
6973 Move all memory-mapped-file routines here (some were in unexnt.c,
6974 which is bad because they are used by process-nt.c, and unexnt
6975 won't be around when portable dumping). Synched the above routines
6979 Removed ifdef'd out bogus code.
6980 Fixed some prototypes.
6983 * nt.h (OFFSET_TO_RVA):
6984 * nt.h (RVA_TO_OFFSET):
6985 * nt.h (RVA_TO_PTR):
6986 Moved the memory-mapped-file structures, macros and prototypes
6987 here, to parallel nt.c. ntheap.h should really be removed
6988 entirely, and it's a non-portable-dumper specific file.
6990 * ntheap.h (round_to_next):
6991 Moved the memory-mapped-file structures, macros and prototypes
6994 * ntproc.c (compare_env):
6995 Moved rva_to_section and mswindows_executable_type to nt.c.
6996 Moved compare_env to process-nt.c.
6997 ntproc.c will die, one day.
6999 * ntproc.c (sys_spawnve):
7000 Account for win32_ -> mswindows_.
7003 * process-nt.c (struct nt_process_data):
7004 * process-nt.c (ensure_console_window_exists):
7005 * process-nt.c (compare_env):
7006 * process-nt.c (nt_create_process):
7007 * process-nt.c (nt_kill_process_by_pid):
7008 * process-nt.c (syms_of_process_nt):
7009 * process-nt.c (vars_of_process_nt):
7010 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7011 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7012 changes). Eliminate our old `nt-quote-process-args' mechanism.
7013 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7014 Move compare_env here from ntproc.c.
7016 * process.c (Fprocess_send_region):
7017 Takes an optional fourth argument, BUFFER, which should fix some
7018 problems with call-process.
7021 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7024 Move ICC_BAR_CLASSES to syscommctrl.h.
7025 Add preliminary macros for MSWindows/Mule. More to come.
7028 * unexnt.c (unexec):
7029 open_output_file moved to nt.c.
7032 2000-05-05 Andy Piper <andy@xemacs.org>
7034 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7035 instance from the frame cache also since GC may catch up too late
7036 to make frame deletion sane.
7038 2000-05-04 Andy Piper <andy@xemacs.org>
7040 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7041 (x_finalize_image_instance): ungcpro on deletion.
7043 * glyphs.c (image_instantiator_format_create): give pointers a
7044 query geometry method so that the geometry is at least set.
7046 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7047 initialize layouts if using widgets.
7049 2000-05-03 Andy Piper <andy@xemacs.org>
7051 * nt.c: remove bogus reference to sysmmsystem.h
7053 * gui-x.c (popup_selection_callback): fix no selection abort.
7055 2000-05-02 Andy Piper <andy@xemacs.org>
7057 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7058 (mswindows_widget_instantiate): ditto.
7060 * glyphs-widget.c (initialize_widget_image_instance): initialize
7062 (widget_instantiate): cope with children and items in the same
7065 * glyphs.c (mark_image_instance): cope with children as a first
7067 (image_instance_equal): ditto.
7068 (image_instance_hash): ditto.
7069 (image_instance_changed): ditto.
7071 2000-04-30 Andy Piper <andy@xemacs.org>
7073 * glyphs.c (subwindow_query_geometry): new function. Return some
7075 (subwindow_instantiate): don't assign dimensions if none have been
7077 (image_instantiator_format_create): add subwindow_query_geometry.
7078 (print_image_instance): cope with layouts as widgets.
7080 2000-04-29 Andy Piper <andy@xemacs.org>
7082 * frame.c (delete_frame_internal): call
7083 free_frame_subwindow_instance_cache so that all subwindows are
7084 finalized before their parent.
7085 (mark_frame): remove subwindow_cachels.
7086 (Fmake_frame): remove subwindow_cachel manipulation.
7087 (allocate_frame_core): subwindow_instance_cache is a weak list.
7088 (delete_frame_internal): set subwindow_instance_cache to nil.
7090 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7092 (mswindows_finalize_image_instance): use the device
7093 not the domain as the domain may have died already.
7095 * glyphs-x.c (x_finalize_image_instance): ditto.
7096 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7099 * redisplay-output.c (redisplay_unmap_subwindows): update for
7100 subwindow instance cache as a weak list.
7101 (redisplay_unmap_subwindows_maybe): ditto.
7102 (redisplay_unmap_subwindows_except_us): ditto.
7104 * glyphs.c (unmap_subwindow): error checking will check the domain
7105 so don't deal with it here. Don't use cachels anymore.
7106 (map_subwindow): ditto.
7107 (update_subwindow_cachel_data): remove old accessor names.
7108 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7109 (Fresize_subwindow): don't update cachel.
7110 (mark_subwindow_cachels):
7111 (update_subwindow_cachel_data):
7112 (add_subwindow_cachel):
7113 (get_subwindow_cachel_index):
7114 (update_subwindow_cachel):
7115 (reset_subwindow_cachels):
7116 (mark_subwindow_cachels_as_not_updated): deleted.
7117 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7118 subwindow instance to the frame cache.
7119 (find_matching_subwindow): update for subwindow instance cache as
7121 (update_widget_instances): ditto.
7122 (image_instance_type_to_mask):inlined.
7123 (free_frame_subwindow_instance_cache): new function. finalize all
7124 subwindows that are instantiated.
7126 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7127 of cachel information.
7128 (IMAGE_INSTANCE_DISPLAY_X):
7129 (IMAGE_INSTANCE_DISPLAY_Y):
7130 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7131 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7132 (XIMAGE_INSTANCE_DISPLAY_X):
7133 (XIMAGE_INSTANCE_DISPLAY_Y):
7134 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7135 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7136 remove subwindow_cachel structure and function references.
7137 (image_instance_type_to_mask): inline from glyphs.c
7139 * redisplay.c (redisplay_frame): remove subwindow_cachel
7142 * frame.h (struct frame): remove subwindow_cachels.
7143 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7145 * frameslots.h: add subwindow_instance_cache.
7147 * window.c (replace_window): check subwindow cache of replacement.
7148 (window_unmap_subwindows_cache_mapper):
7149 (window_unmap_subwindows): new functions. Unmap all subwindows
7150 cached on this window.
7151 (mark_window_as_deleted): unmap all subwindows.
7153 2000-04-27 Andy Piper <andy@xemacs.org>
7155 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7157 * glyphs-widget.c (widget_layout): return something.
7158 (layout_layout): return something. Fail if not initialized.
7159 (layout_query_geometry): ditto.
7160 (image_instantiator_native_layout): new function. Initialized the
7162 (widget_instantiate): don't do layout stuff here.
7164 * glyphs.c (instantiate_image_instantiator): reorded calling or
7165 instantiate and post_instantiate with layout in between.
7166 (image_instance_layout): be more selective about deciding whether
7167 the layout has been done or not.
7169 * glyphs.h (struct image_instantiator_methods): return a value
7172 2000-04-26 Andy Piper <andy@xemacs.org>
7174 * glyphs.c (allocate_image_instance): make initial width and
7175 height unspecified. Set initialized to 0.
7177 * syscommctrl.h new file. Encapsulates commctrl.h.
7179 * syswindows.h new file. Encapsulates windows.h.
7181 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7183 * console-msw.h: ditto.
7185 * redisplay-tty.c (tty_output_display_block): remove layout references.
7187 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7188 window handle rather than just the frame.
7190 * glyphs.c (mark_image_instance): remove layout references.
7191 (print_image_instance): ditto.
7192 (image_instance_equal): ditto.
7193 (image_instance_hash): ditto.
7194 (decode_image_instance_type): ditto.
7195 (encode_image_instance_type): ditto.
7196 (image_instantiate): ditto.
7197 (allocate_glyph): ditto.
7198 (Fimage_instance_height): ditto.
7199 (Fimage_instance_width): ditto.
7200 (update_subwindow): ditto.
7202 * redisplay-x.c (x_output_display_block): recode for layouts as
7205 * redisplay-output.c (redisplay_output_layout): recode for layouts
7207 (compare_runes): remove layout references.
7209 * redisplay-msw.c (mswindows_output_display_block): recode for
7212 * glyphs-widget.c (image_instantiator_layout): remove
7213 layout_possible_dest_types.
7214 (layout_possible_dest_types): deleted.
7216 * glyphs.h (image_instance_type): remove layout references.
7217 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7218 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7219 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7221 2000-04-25 Andy Piper <andy@xemacs.org>
7223 * glyphs-widget.c (image_instantiator_buttons):
7224 (image_instantiator_edit_fields):
7225 (image_instantiator_combo_box):
7226 (image_instantiator_scrollbar):
7227 (image_instantiator_progress_guage):
7228 (image_instantiator_tree_view):
7229 (image_instantiator_tab_control):
7230 (image_instantiator_labels):
7231 (image_instantiator_layout): call default post_instantiate method.
7232 (widget_post_instantiate): new function. Simply lays out the
7235 * glyphs.h (struct image_instantiator_methods): add
7236 post_instantiate method.
7238 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7241 2000-04-23 Andy Piper <andy@xemacs.org>
7243 * glyphs.h (struct image_instantiator_methods): add
7244 decode_domain_method.
7245 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7246 derived from the domain.
7247 (IMAGE_INSTANCE_FRAME): new accessor.
7248 (XIMAGE_INSTANCE_FRAME): ditto.
7250 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7251 instead of _SUBWINDOW_FRAME.
7252 (finalize_image_instance): ditto.
7253 (Fimage_instance_foreground): ditto.
7254 (Fimage_instance_background): ditto.
7255 (image_instantiate): ditto.
7256 (update_subwindow_cachel): ditto.
7257 (update_subwindow): ditto.
7258 (unmap_subwindow): ditto.
7259 (map_subwindow): ditto
7260 (subwindow_instantiate): ditto.
7261 * glyphs-msw.c (mswindows_update_widget): ditto.
7262 (mswindows_progress_gauge_instantiate): ditto.
7263 (mswindows_tab_control_update): ditto.
7264 * glyphs-x.c (x_update_widget): ditto.
7265 (x_widget_instantiate): ditto.
7266 (x_tab_control_instantiate): ditto.
7267 (x_tab_control_update): ditto.
7268 * event-msw.c (mswindows_wnd_proc): ditto
7270 * glyphs-widget.c (image_instantiator_layout): use
7271 subwindow_decode_domain.
7272 (image_instantiator_buttons): ditto.
7273 (image_instantiator_edit_fields): ditto.
7274 (image_instantiator_combo_box): ditto.
7275 (image_instantiator_scrollbar): ditto.
7276 (image_instantiator_progress_guage): ditto.
7277 (image_instantiator_tree_view): ditto.
7278 (image_instantiator_tab_control): ditto.
7279 (image_instantiator_labels): ditto.
7280 (image_instantiator_layout): ditto.
7282 * glyphs.c: add instance error checking to many functions.
7283 (instantiate_image_instantiator): decode device from cache_domain.
7284 (image_instantiate): partially rewrite by using
7285 decode_image_instantiator_domain to determine what domain the
7286 instance needs to be cached in.
7287 (decode_image_instantiator_domain): new function. Determine what
7288 domain the image needs to be cached in.
7289 (check_window_subwindow_cache): new error checking function.
7290 (check_instance_cache_mapper): ditto.
7291 (check_image_instance_structure): ditto.
7292 (subwindow_decode_domain): new function. Encodes a window as a
7293 subwindow's cache domain.
7294 (image_instantiator_format_create): use it for text and
7297 2000-04-21 Andy Piper <andy@xemacs.org>
7299 * glyphs.c (image_instance_device): new function.
7300 (image_instance_frame): new function.
7301 (image_instance_window): new function.
7302 (image_instance_live_p): new function.
7304 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7307 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7308 (IMAGE_INSTANCE_DOMAIN): new accessor.
7309 (XIMAGE_INSTANCE_DOMAIN): ditto.
7311 * glyphs-x.c (x_finalize_image_instance): device->domain.
7313 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7314 (mswindows_finalize_image_instance): ditto.
7316 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7317 (gif_instantiate): ditto.
7318 (png_instantiate): ditto.
7319 (tiff_instantiate): ditto.
7321 * glyphs.c (instantiate_image_instantiator): use domain rather
7323 (mark_image_instance): device -> domain.
7324 (print_image_instance): ditto.
7325 (finalize_image_instance): ditto.
7326 (image_instance_equal): ditto.
7327 (allocate_image_instance): ditto.
7328 (Fcolorize_image_instance): ditto.
7329 (query_string_geometry): ditto.
7330 (image_instantiate): ditto
7331 (query_string_font): ditto.
7332 (image_instantiate): ditto.
7333 (update_subwindow): ditto.
7334 (unmap_subwindow): ditto.
7335 (map_subwindow): ditto.
7336 (subwindow_instantiate): ditto.
7338 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7339 (DOMAIN_FRAME): ditto.
7340 (DOMAIN_WINDOW): ditto.
7341 (DOMAIN_LIVE_P): ditto.
7342 (XDOMAIN_DEVICE): ditto.
7343 (XDOMAIN_FRAME): ditto.
7344 (XDOMAIN_WINDOW): ditto.
7346 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7347 a valid specifier domain.
7349 2000-04-19 Andy Piper <andy@xemacs.org>
7351 * glyphs-widget.c (syms_of_glyphs_widget): remove
7352 widget-callback-current-channel.
7353 (vars_of_glyphs_widget): ditto.
7356 * gui.c (get_gui_callback): revert to previous behaviour.
7358 2000-04-18 Andy Piper <andy@xemacs.org>
7360 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7361 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7362 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7364 * glyphs.c (image_instance_equal): add margin_width.
7365 (image_instance_hash): ditto.
7367 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7368 (layout_query_geometry): ditto.
7369 (layout_layout): ditto.
7370 (syms_of_glyphs_widget): add margin-width.
7371 (image_instantiator_layout): allow margin-width.
7373 * glyphs.c (update_widget_instances): make a normal function.
7374 (syms_of_glyphs): remove Qupdate_widget_instances.
7377 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7378 so that we don't corrupt ideas about the last event or
7379 command. Remove widget-callback-current-channel fiddling.
7380 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7382 2000-05-01 Martin Buchholz <martin@xemacs.org>
7384 * XEmacs 21.2.33 is released.
7386 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7388 * make-src-depend: Allow dots in header file name.
7390 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7392 * mule-charset.h (struct charset_lookup): Add
7393 next_allocated_1_byte_leading_byte and
7394 next_allocated_2_byte_leading_byte.
7395 * mule-charset.c: Move above two variables so that those values
7398 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7400 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7401 when string length is zero.
7402 (find_charsets_in_emchar_string): Ditto.
7404 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7406 * lisp.h: extern Qdialog and Qmenubar.
7408 * gui-x.c: added events.h.
7409 also fixed typo which made the file uncompilable.
7411 * general.c: Added Qmenubar and Qdialog
7413 2000-04-28 Ben Wing <ben@xemacs.org>
7415 * frame-msw.c (mswindows_init_frame_1):
7416 * frame-msw.c (mswindows_mark_frame):
7417 * event-msw.c (mswindows_enqueue_dispatch_event):
7419 * console-msw.h (struct mswindows_frame):
7420 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7421 there are now three hash tables for callbacks.
7422 mswindows_enqueue_dispatch_event is no longer static.
7424 * dialog-x.c (maybe_run_dbox_text_callback):
7425 * dialog-x.c (dbox_descriptor_to_widget_value):
7426 switch to new cons3 form for callbacks.
7428 * glyphs-msw.c (mswindows_register_gui_item):
7429 * glyphs-msw.c (mswindows_widget_instantiate):
7430 * glyphs-msw.c (add_tree_item):
7431 * glyphs-msw.c (add_tab_item):
7432 new image instance parameter, so it can be passed to callback-ex.
7433 respect :callback-ex as well as :callback.
7435 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7438 * glyphs.c (print_image_instance):
7439 prettify, e.g. now prints widget type.
7442 certain funs have new image instance parameter.
7445 * gui.c (get_gui_callback):
7446 * gui.c (gui_item_add_keyval_pair):
7447 * gui.c (gui_item_init):
7448 * gui.c (gui_add_item_keywords_to_plist):
7449 * gui.c (mark_gui_item):
7450 * gui.c (gui_item_hash):
7451 * gui.c (gui_item_equal):
7452 * gui.c (copy_gui_item):
7453 * gui.c (syms_of_gui):
7454 recognize callback-ex in a number of places.
7455 also, fix the annoying "can't get out of yes-no dialog" bug.
7458 * gui.h (struct Lisp_Gui_Item):
7459 recognize callback-ex in a number of places.
7461 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7462 new parameter in button_item_to_widget_value.
7464 * glyphs-x.c (x_update_widget):
7465 * glyphs-x.c (x_button_instantiate):
7466 * glyphs-x.c (x_button_update):
7467 * glyphs-x.c (x_progress_gauge_instantiate):
7468 * glyphs-x.c (x_edit_field_instantiate):
7469 * glyphs-x.c (x_combo_box_instantiate):
7470 * glyphs-x.c (x_tab_control_instantiate):
7471 * glyphs-x.c (x_label_instantiate):
7472 new image instance parameter in various places.
7475 * event-Xt.c (enqueue_Xt_dispatch_event):
7476 this fun gets exported.
7479 * gui-msw.c (mswindows_handle_gui_wm_command):
7480 handle both :callback and :callback-ex, and generate our own
7481 event because it's one of the callback-ex arguments.
7484 * gui-x.c (popup_selection_callback):
7485 handle both :callback and :callback-ex, and generate our own
7486 event because it's one of the callback-ex arguments.
7487 * gui-x.c (button_item_to_widget_value):
7488 * gui-x.c (gui_items_to_widget_values_1):
7489 * gui-x.c (gui_item_children_to_widget_values):
7490 * gui-x.c (gui_items_to_widget_values):
7491 new image instance parameter in various places.
7493 * fns.c (Freplace_list):
7494 fix small typo in doc string.
7497 declare enqueue_Xt_dispatch_event.
7499 2000-04-28 Ben Wing <ben@xemacs.org>
7502 * buffer.c (Frecord_buffer):
7503 * buffer.c (syms_of_buffer):
7504 delete record-buffer-hook.
7507 * fns.c (Freplace_list):
7508 * fns.c (syms_of_fns):
7509 new primitive replace-list.
7512 slot for old buffer-alist.
7518 * redisplay.c (redisplay_frame):
7519 * redisplay.c (syms_of_redisplay):
7520 * redisplay.c (vars_of_redisplay):
7521 new hook buffer-list-changed-hook.
7524 2000-04-27 Ben Wing <ben@xemacs.org>
7526 * extents.h: extern in_modeline_generation.
7528 * redisplay.c (generate_formatted_string_db): set
7529 in_modeline_generation.
7531 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7532 flags if in modeline generation. otherwise frame-modified-tick
7533 is ticked far too often.
7534 Declare in_modeline_generation.
7536 2000-04-26 Ben Wing <ben@xemacs.org>
7538 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7540 (vars_of_emacs): add quick-build as an error-checking option.
7541 A bit kludgy, but there doesn't seem much point in creating
7542 a real var for this.
7544 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7546 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7548 * redisplay.h (struct display_line): Add a new variable,
7551 * redisplay.c (create_text_block): Set dl->line_continuation if
7553 (create_string_text_block): Ditto.
7554 (regenerate_window_incrementally): Use line_continuation instead
7555 of searching continuation glyph.
7556 (add_margin_runes): Call add_glyph_rune.
7557 (add_glyph_rune): Handle margin glyph.
7559 2000-04-20 Martin Buchholz <martin@xemacs.org>
7561 * filelock.c (fill_in_lock_file_name):
7563 Check for IS_ANY_SEP instead of '/'.
7565 Avoid generating gratuitous garbage. Call user_login_name() directly.
7566 Never check errno without first seeing that system call failed.
7567 (unlock_file): Add GCPRO.
7568 (Flock_buffer): Fix docstring.
7569 (Ffile_locked_p): Fix docstring. Add GCPRO.
7571 2000-04-19 Martin Buchholz <martin@xemacs.org>
7573 * sysdep.c (get_pty_max_bytes):
7574 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7575 strings longer than 252 bytes.
7577 * md5.c: Unconditionally include ANSI header <limits.h>
7579 * glyphs-x.c (convert_EImage_to_XImage):
7580 * lisp-union.h (union Lisp_Object):
7581 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7583 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7585 * filelock.c (current_lock_owner): Remove unused variable o, p.
7587 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7589 * callint.c: Remove multiply defined symbol Qlet
7590 (syms_of_callint): ditto.
7592 2000-04-14 Andy Piper <andy@xemacs.org>
7594 * general.c (syms_of_general): add last-command, this-command, let
7597 * lisp.h: declare various symbols.
7599 * glyphs.h: declare Qwidget_callback_current_channel;
7601 * glyphs-widget.c (syms_of_glyphs_widget): add
7602 Qgui_callback_current_channel.
7603 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7605 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7606 widget-callback-current-channel when invoking the interactive
7607 arg. Also bind last-command and next-command when invoking the
7609 * gui-x.c (popup_selection_callback): ditto.
7611 * gui.c (get_gui_callback): massage args so that we are always
7612 calling eval. This allows us to add our own variable bindings
7615 * glyphs-x.c (x_button_instantiate): use
7616 gui_items_to_widget_values since this is GC safe.
7617 (x_progress_gauge_instantiate): ditto.
7618 (x_edit_field_instantiate): ditto.
7619 (x_label_instantiate): ditto.
7621 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7622 (emacs_Xt_event_widget_focus_out): new function
7623 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7625 (emacs_Xt_event_add_widget_actions): new function. add focus
7626 functions as actions.
7627 (init_event_Xt_late): use it.
7629 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7631 * event-stream.c (Fdispatch_event): Doc fix.
7633 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7635 * postgresql.c: Remove all references to PQsetenv*.
7637 * postgresql.h: Remove references to PGsetenvHandler object.
7638 * lrecord.h (lrecord_type): Ditto.
7640 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7642 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7643 real_heigh and real_width members, and accessor macros for these.
7645 * glyphs-msw.c (init_image_instance_geometry): New function.
7646 (init_image_instance_from_dibitmap): Use it.
7647 (mswindows_resource_instantiate): Use it.
7648 (init_image_instance_from_xbm_inline): Use it.
7649 (mswindows_initialize_image_instance_mask): Use real bitmap
7651 (mswindows_create_resized_bitmap): Ditto.
7652 (mswindows_create_resized_mask): Ditto.
7654 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7655 and bitmap to their surface size.
7657 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7659 * process-unix.c (unix_send_process): Guard against process MIA
7660 after Faccept_process_output.
7662 2000-04-11 Ben Wing <ben@xemacs.org>
7664 * eval.c (unbind_to_hairy): fix brokenness introduced by
7665 nanosecond speed improvements.
7667 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7669 * sunplay.c (init_device): To play sounds correctly, the device
7670 apparently needs to be initialized at least once by XEmacs. Make
7673 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7675 * redisplay.c (add_margin_runes): Add text image glyph
7678 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7680 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7681 gcc is newer than 2.5.
7683 2000-04-06 Colin Rafferty <colin@xemacs.org>
7685 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7687 * fns.c (size_bit_vector):
7688 * alloc.c (size_vector):
7689 (make_vector_internal):
7690 (make_bit_vector_internal):
7691 (sweep_bit_vectors_1):
7692 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7694 2000-04-06 Andy Piper <andy@xemacs.org>
7696 * gmalloc.c (malloc): undo previous change.
7701 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7703 * line-number.c (buffer_line_number): Revert to former version.
7705 2000-04-06 Andy Piper <andy@xemacs.org>
7707 * gmalloc.c (malloc): add error checking.
7712 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7713 button_item_to_widget_value arg.
7715 * glyphs-x.c (x_button_instantiate): add extra
7716 button_item_to_widget_value arg.
7717 (x_progress_gauge_instantiate): ditto.
7718 (x_edit_field_instantiate): ditto.
7719 (x_label_instantiate): ditto.
7721 * gui-x.c (gui_items_to_widget_values_1): add extra
7722 button_item_to_widget_value arg.
7723 (button_item_to_widget_value): add extra menu_item_p arg.
7725 * gui-x.h: change signature of button_item_to_widget_value.
7727 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7728 button_item_to_widget_value arg.
7730 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7732 * buffer.h (struct buffer): auto_save_modified should be long.
7734 2000-04-05 Andy Piper <andy@xemacs.org>
7736 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7738 (button_query_geometry): give a little more room so that athena
7741 2000-04-05 Andy Piper <andy@xemacs.org>
7743 * faces.c (complex_vars_of_faces): The widget face should inherit
7744 the font of the gui-element face.
7746 2000-04-04 Andy Piper <andy@xemacs.org>
7748 * glyphs-x.c (x_button_update): new function. unconditionally
7749 update a button's state when the instance is dirty.
7750 (image_instantiator_format_create_glyphs_x): add x_button_update.
7751 (x_widget_instantiate): remove old resize cruft.
7753 2000-04-02 Andy Piper <andy@xemacs.org>
7755 * frame.c (change_frame_size_1): The introduction of gutters means
7756 that we need to allow 0 as a potential frame dimension.
7758 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7760 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7761 image glyph if allow_cursor.
7762 (add_hscroll_rune): Don't allow cursor to border glyph.
7763 (create_text_block): Ditto.
7765 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7767 (redisplay_output_layout): Call ensure_face_cachel_complete for
7771 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7773 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7775 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7778 * redisplay-tty.c (tty_output_display_block): Delete the routine
7779 for text image glyph
7780 * redisplay-x.c (x_output_display_block): ditto
7781 * redisplay-msw.c (mswindows_output_display_block): ditto
7783 2000-02-02 Mike Alexander <mta@arbortext.com>
7785 Note: Some of these were committed by accident as part of other
7788 * regex.c (regex_compile): Avoid compiler warnings.
7790 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7792 * nt.h: Declare term_ntproc correctly.
7794 * nt.c: Remove incorrect declaration of get_home_directory which
7795 is declared correctly in lisp.h.
7797 * keymap.c (get_keyelt): Avoid compiler warnings.
7798 (raw_lookup_key_mapper): Avoid compiler warnings.
7800 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7802 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7804 * filemode.c (mode_string): Avoid compiler warnings.
7806 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7809 * events-mod.h: Undef some things that winuser.h defines differently.
7811 * data.c (Faset): Avoid compiler warnings.
7813 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7815 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7817 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7818 Fall through to simple beep on error.
7819 Replace "extern" by real header file.
7821 * linuxplay.c: Use nativesound.h
7822 (play_sound_data): Return error code. Be less verbose on error.
7824 * sunplay.c: Use nativesound.h
7825 (play_sound_data): Return error code. Be less verbose on error.
7827 * ntplay.c: Use nativesound.h
7828 (play_sound_data): Return fake error code
7830 * sgiplay.c: Use nativesound.h
7831 (play_sound_data): Return error code
7833 * hpplay.c: Use nativesound.h, partially implement
7834 new error code. Break compilation until finished.
7835 (play_sound_data): error code.
7837 * nativesound.h (play_sound_file):
7838 (play_sound_data): Prototype in new header.
7840 2000-03-31 Andy Piper <andy@xemacs.org>
7842 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7843 for toggle and radio buttons.
7844 (image_instantiator_buttons): use it.
7846 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7848 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7849 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7850 found. Scrollbar event probably belonged to some old config.
7852 2000-03-31 Andy Piper <andy@xemacs.org>
7854 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7856 (initialize_widget_image_instance): default layout to
7857 LAYOUT_HORIZONTAL rather than 0.
7858 (widget_instantiate): reverse the item list at the end rather than
7860 (layout_layout): re-code for the border text at the front of the
7861 item list rather than at the end.
7862 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7863 provided by the user.
7864 (widget_query_geometry): comment.
7866 2000-03-30 Andy Piper <andy@xemacs.org>
7868 * glyphs-widget.c (image_instantiator_layout): allow standard
7869 widget keywords in layouts.
7871 * gutter.c (output_gutter): cope with nil gutter contents.
7873 * frame.c (Fset_frame_properties): add gutter docs.
7875 2000-03-29 Andy Piper <andy@xemacs.org>
7877 * toolbar-msw.c (TBSTYLE_FLAT): add.
7878 (mswindows_output_toolbar): minor fiddling.
7880 2000-03-29 Andy Piper <andy@xemacs.org>
7882 * gutter.c (output_gutter): force gutter size recalculation if
7883 what we are trying to display won't fit.
7884 (update_gutter_geometry): new function. A per-gutter version of
7885 update_frame_gutter_geometry.
7886 (update_frame_gutter_geometry): use it.
7887 (redraw_exposed_gutter): add extra debugging output.
7889 2000-03-28 Mike Alexander <mta@arbortext.com>
7891 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7892 (pdump_file_unmap): Implement it on Windows
7893 (pdump_file_get): Save alocated handles for pdump_file_unmap
7895 2000-03-28 Andy Piper <andy@xemacs.org>
7897 * gui.c (get_gui_callback): treat Quit specially.
7899 2000-03-27 Andy Piper <andy@xemacs.org>
7901 * glyphs.c (image_instantiate): be careful to check in the same
7904 2000-03-27 Didier Verna <didier@xemacs.org>
7906 * config.h.in: define the proper SMART_INCLUDE macro.
7907 handle renaming of `foo_h_path' to `foo_h_file'.
7909 * database.c: ditto.
7913 * linuxplay.c: ditto.
7915 * terminfo.c: ditto.
7917 * tooltalk.h: ditto.
7919 2000-03-27 Andy Piper <andy@xemacs.org>
7921 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7922 gets updated whenever the face might have changed.
7924 2000-03-26 Mike Alexander <mta@arbortext.com>
7926 * dumper.c (pdump_resource_free): Fix the comment.
7928 2000-03-21 Olivier Galibert <galibert@pobox.com>
7930 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7932 2000-03-22 Mike Alexander <mta@arbortext.com>
7934 * dumper.c: Include Windows headers on Windows
7935 (pdump_resource_free): Add a body to the function
7936 (pdump_load): exe_name -> exe_path and add some comments.
7938 2000-03-25 Mike Alexander <mta@arbortext.com>
7940 * gui.c (copy_gui_item_tree): Return a value in all cases
7942 2000-03-21 Didier Verna <didier@xemacs.org>
7944 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7946 (SMART_INCLUDE): new macro.
7947 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7948 the proper location.
7950 * postgresql.c: use it.
7954 2000-03-24 Andy Piper <andy@xemacs.org>
7956 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7959 2000-03-24 Andy Piper <andy@xemacs.org>
7961 * redisplay-output.c (compare_runes): use image_instance_changed
7962 to detect changes. Do not depend on glyphs_changed, only depend on
7964 (redisplay_output_layout): add debug messages.
7965 (compare_runes): ditto.
7967 * glyphs.h: declare new functions.
7968 (struct Lisp_Image_Instance): remove percent and associated
7971 * gui.h: declare new copying functions.
7973 * gui.c (copy_gui_item_tree): new function.
7974 (copy_gui_item): new function.
7975 (gui_item_id_hash): revert to standard hash.
7976 (gui_item_hash): ditto.
7977 (gui_item_hash_internal): deleted.
7978 (mark_gui_item): mark value.
7979 (gui_item_add_keyval_pair): add value.
7980 (gui_item_init): ditto.
7981 (gui_add_item_keywords_to_plist): ditto.
7982 (gui_item_equal): ditto.
7983 (syms_of_gui): add Q_value.
7985 * glyphs-x.c (x_progress_gauge_update): use pending items and
7986 value for setting the state.
7987 (x_update_widget): don't set items from pending here.
7989 * glyphs-widget.c (update_widget): update items here.
7990 (progress_gauge_set_property): use items for storing value. Put
7991 new value in pending items.
7993 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
7994 items for new value. Convert percent -> value.
7995 (mswindows_tab_control_update): don't update items here.
7997 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
7998 (update_subwindow): ditto.
7999 (image_instance_changed): new function. Compare hash values and
8000 past and present widget items.
8001 (image_instantiate): We more careful about where we instantiate
8003 (image_instantiate): add error checking.
8005 * gutter.c (syms_of_gutter): use -hook.
8007 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8009 * console-tty.c (Fset_console_tty_input_coding_system): Use
8011 (Fset_console_tty_output_coding_system): Use Qterminal.
8012 (tty_init_console): Use Qkeyboard and Qterminal.
8014 2000-03-21 Ben Wing <ben@xemacs.org>
8016 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8017 From Mike Alexander <mta@arbortext.com>.
8019 2000-03-21 Ben Wing <ben@xemacs.org>
8021 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8022 process brokenness. Proper implementation to come.
8024 Rename call-process-internal to old-call-process-internal.
8025 New impl. in process.el.
8027 2000-03-21 Martin Buchholz <martin@xemacs.org>
8029 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8031 2000-03-20 Andy Piper <andy@xemacs.org>
8033 * glyphs.c (full_list_hash): make hashes of the same elements in
8034 different orders return different values.
8036 2000-03-20 Martin Buchholz <martin@xemacs.org>
8038 * XEmacs 21.2.32 is released.
8040 2000-03-20 Martin Buchholz <martin@xemacs.org>
8042 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8043 (DFC_MALLOC_USE_CONVERTED_DATA):
8044 Add aliasing-safe casts to allow use with char* or unsigned char*
8047 * eldap.c (Fldap_open):
8048 (Fldap_search_basic):
8051 Make C++-compilable.
8052 Make sure GCPRO'ed variables are initialized.
8053 Use temp variables to avoid repeated calls to Flength.
8055 2000-03-16 Martin Buchholz <martin@xemacs.org>
8058 Make sure PATH_MAX is always defined.
8059 Include limits.h for PATH_MAX.
8060 Deprecate use of MAXPATHLEN.
8062 2000-03-10 Martin Buchholz <martin@xemacs.org>
8064 * emacs.c: Add reinit_vars_of_fileio.
8065 * symsinit.h: Add reinit_vars_of_fileio.
8066 * fileio.c (reinit_vars_of_fileio): New.
8067 * fileio.c (Fmake_temp_name):
8068 Initialize temp_name random number from microseconds to make
8069 collisions even less likely. Initialize always at process startup
8070 time. (make-temp-name) used to return the same file name twice in
8072 Random stylistic fiddling.
8075 2000-03-20 Andy Piper <andy@xemacs.org>
8077 * glyphs.c (image_instantiate): allow text glyphs to be
8078 instantiated in the minibuffer window.
8080 2000-03-19 Andy Piper <andy@xemacs.org>
8082 * glyphs.c (image_instance_hash): be careful about which items we
8085 * glyphs-widget.c (tab_control_set_property): record into pending
8086 items rather than the actual items.
8088 * glyphs-x.c (x_update_widget): use pending items to update with.
8090 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8093 * glyphs.c (mark_image_instance): mark pending items.
8095 * window.c (Fset_window_configuration): record the buffer.
8096 (Fselect_window): totally revert previous change which breaks many
8099 2000-03-18 Andy Piper <andy@xemacs.org>
8101 * glyphs-msw.c (mswindows_tab_control_update): force selected
8104 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8105 window domain cache, otherwise we get inconsistencies at
8106 startup. There is something fishy at startup which can lead to the
8107 minibuffer being the selected window when the gutter content is
8110 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8112 (parse_gui_item_tree_children): ditto.
8113 (parse_gui_item_tree_item): ditto.
8115 * glyphs.c (Fupdate_widget_instances): return something.
8117 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8119 * window.c (Fselect_window): Undo 2000-03-17 change.
8121 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8123 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8124 against v7.0 libraries. Insta-coredump city until the postgres
8127 2000-03-17 Andy Piper <andy@xemacs.org>
8129 * faces.c (complex_vars_of_faces): don't give the widget face an
8130 inherited background pixmap.
8132 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8135 * event-stream.c (Fdispatch_non_command_events): return something.
8137 * gutter.c (output_gutter): use widget face.
8138 (clear_gutter): ditto.
8140 * NEWS: adjust again.
8142 * window.c (Fselect_window): make sure this runs to completion to
8143 avoid oddities with Fset_window_configuration.
8144 (Fcurrent_window_configuration): in general do not save the
8145 minibuffer as the selected window.
8147 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8149 2000-03-16 Olivier Galibert <galibert@pobox.com>
8151 * emacs.c (Frunning_temacs_p): Revert previous patch.
8152 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8154 2000-03-16 Andy Piper <andy@xemacs.org>
8156 * glyphs-x.c (x_tab_control_update): if no widget values then
8159 * NEWS: update for new features.
8161 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8162 synthetic event to the native system.
8163 (reinit_vars_of_event_Xt): set force_event_pending to
8164 emacs_Xt_force_event_pending.
8166 * events.h (struct event_stream): add force_event_pending.
8168 * specifier.c (recompute_one_cached_specifier_in_window): add
8171 * redisplay.c (redisplay_frame): don't call
8172 update_frame_subwindows. Reset subwindow cachels when
8173 subwindows_changed, removing this was an optimization too far.
8175 * redisplay-output.c (compare_runes): reorganize so that we catch
8176 glyph changes when we want them. Set optimize_output when this
8178 (redisplay_output_layout): remove frame_really_changed, use
8179 optimize_output instead.
8181 * redisplay-msw.c (mswindows_output_display_block): reset
8182 optimize_output after outputting a glyph.
8183 * redisplay-x.c (x_output_display_block): ditto.
8184 * redisplay-tty.c (tty_output_display_block): ditto.
8186 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8188 (gutter_specs_changed): do specific gutter positions.
8189 (top_gutter_specs_changed): new function. Only update the
8190 specified gutter specs.
8191 (bottom_gutter_specs_changed): ditto.
8192 (left_gutter_specs_changed): ditto.
8193 (right_gutter_specs_changed): ditto.
8195 * gui.c (gui_item_hash_internal): new function, does a real hash.
8196 (gui_item_id_hash): use it.
8197 (gui_item_hash): hash the eval'ed gui_item.
8199 * gui-x.c (popup_selection_callback): send an eval event to call
8200 Fupdate_widget_instances.
8202 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8203 to call Fupdate_widget_instances.
8205 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8206 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8208 * glyphs.c: (update_frame_subwindows): deleted.
8209 (Fupdate_widget_instances): new function for updating the dirty
8210 state of widgets that might have changed.
8211 (syms_of_glyphs): add Qupdate_widget_instances.
8212 (full_list_hash): hash a list completely.
8213 (image_instance_hash): use it for items and properties.
8215 * frame-msw.c (mswindows_size_frame_internal): remove unused
8218 * faces.h (struct face_cachel): fix comment.
8220 * event-stream.c (Fdispatch_non_command_events): new
8221 function. Process non-command events, forcing an event cycle
8223 (syms_of_event_stream): declare.
8224 (event_stream_force_event_pending): new function. Force an event
8225 on the native event queue so that an event cycle will occur next
8229 (struct ntpipe_shove_stream):
8230 (mswindows_enqueue_dispatch_event):
8231 (mswindows_dequeue_dispatch_event):
8232 (mswindows_cancel_dispatch_event):
8233 (mswindows_pump_outstanding_events):
8234 (mswindows_drain_windows_queue):
8235 (mswindows_handle_paint):
8236 (mswindows_wnd_proc):
8237 (mswindows_key_to_emacs_keysym):
8238 (get_process_input_waitable):
8239 (emacs_mswindows_delete_stream_pair): re-indent file.
8240 (mswindows_need_event): do not process further fds if the windows
8241 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8242 fixes the 100% cpu problem.
8243 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8245 2000-03-15 Olivier Galibert <galibert@pobox.com>
8251 * emacs.c: Moved dump file searching to dumper.c.
8252 (Frunning_temacs_p): Fixed.
8254 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8255 last_lrecord_type_index_assigned.
8257 2000-02-20 Olivier Galibert <galibert@pobox.com>
8259 * symsinit.h: Added reinit parameter to init_console_stream
8262 * lisp.h: Added file parameter to pdump_load declaration.
8264 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8265 support. Added dump file searching.
8267 * config.h.in: Added EMACS_PROGNAME.
8269 * console-stream.c (init_console_stream): Fix reinitialisation
8270 when running from temacs.
8272 * alloc.c (pdump): Add id support.
8273 (pdump_load): Add file parameter and signature/id support.
8275 * Makefile.in.in: Add full pdump support.
8277 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8279 * postgresql.c: Update documentation to reflect latest code
8281 (print_result): Show tuple counts in printed representation when
8283 (Fpq_put_nbytes): MULE-ize.
8284 (Fpq_get_line_async): Ditto.
8286 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8288 * postgresql.c (Fpq_lo_import): Fix return value.
8289 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8291 2000-03-13 Ben Wing <ben@xemacs.org>
8293 * alloc.c (pdump_load):
8294 Fix compile warning under mswin.
8296 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8298 * postgresql.c: Mule-ization, bug fixes.
8299 Use PG_CODING to encapsulate coding system name changes.
8300 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8301 (pg-coding-system): Create.
8303 (Fpq_conn_defaults): Mule-ize.
8304 (Fpq_connectdb): Mule-ize & bug fix.
8305 (Fpq_connect_start): Mule-ize.
8306 (Fpq_set_client_encoding): Mule-ize.
8307 (Fpq_finish): Document `DEAD' connection status.
8309 (Fpq_pgconn): Mule-ize.
8310 (Fpq_exec): Mule-ize & bug fix.
8311 (Fpq_send_query): Ditto.
8312 (Fpq_get_result): Ditto.
8313 (Fpq_res_status): Mule-ize.
8314 (Fpq_result_error_message): Mule-ize.
8315 (Fpq_ntuples): fix comments.
8316 (Fpq_fname): Mule-ize.
8317 (Fpq_fnumber): Mule-ize.
8318 (Fpq_ftype): fix comments.
8319 (Fpq_get_value): Mule-ize.
8320 (Fpq_cmd_status): Ditto.
8321 (Fpq_cmd_tuples): Ditto.
8322 (Fpq_oid_value): Ditto.
8323 (Fpq_notifies): Ditto.
8324 (Fpq_lo_import): Ditto.
8325 (Fpq_lo_export): Ditto.
8326 (Fpq_get_line): Ditto.
8327 (Fpq_put_line): Mule-ize and bug fix.
8328 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8330 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8332 * postgresql.c (vars_of_postgresql): Mule-ize.
8333 (Fpq_conn_defaults): Ditto.
8335 2000-03-12 Ben Wing <ben@xemacs.org>
8337 * alloc.c (Fmake_byte_code):
8338 * alloc.c (debug_string_purity_print):
8339 * alloc.c (pdump_backtrace):
8340 * alloc.c (pdump_get_indirect_count):
8341 * alloc.c (pdump_register_sub):
8342 * alloc.c (pdump_register_object):
8343 * alloc.c (pdump_register_struct):
8344 * alloc.c (pdump_dump_data):
8345 * alloc.c (pdump_reloc_one):
8349 * console-msw.c (GetConsoleHwnd):
8350 * console-msw.c (msw_hide_console):
8351 * console-msw.c (msw_show_console):
8352 * console-msw.c (msw_ensure_console_buffered):
8353 * console-msw.c (msw_output_console_string):
8354 * console-msw.c (console_type_create_mswindows):
8356 a) Added functions to manipulate the console window for use with
8359 b) Added support for writing text to the console, which is now
8360 used under Windows when xemacs is not being run non-interactively,
8361 to write text that would otherwise be destined for stdout because
8362 under these circumstances, text written to stdout tends to
8363 disappear and not be seen.
8367 * event-Xt.c (x_event_to_emacs_event):
8368 * event-Xt.c (describe_event_window):
8369 * events-mod.h (XEMACS_MOD_CONTROL):
8371 * events.c (Fmake_event):
8372 * events.c (character_to_event):
8373 * events.c (event_to_character):
8374 * events.c (format_event_object):
8375 * events.c (Fevent_modifiers):
8377 * events.h (struct key_data):
8378 * events.h (struct button_data):
8379 * events.h (struct misc_user_data):
8380 * frame-x.c (Fcde_start_drag_internal):
8381 * frame-x.c (Foffix_start_drag_internal):
8382 * gpmevent.c (Freceive_gpm_event):
8384 * keymap.c (bucky_sym_to_bucky_bit):
8385 * keymap.c (control_meta_superify):
8386 * keymap.c (make_key_description):
8387 * keymap.c (keymap_lookup_directly):
8388 * keymap.c (create_bucky_submap):
8389 * keymap.c (keymap_store):
8390 * keymap.c (define_key_check_and_coerce_keysym):
8391 * keymap.c (define_key_parser):
8392 * keymap.c (define_key_alternate_name):
8393 * keymap.c (Fdefine_key):
8394 * keymap.c (raw_lookup_key_mapper):
8395 * keymap.c (struct map_keymap_unsorted_closure):
8396 * keymap.c (map_keymap_unsorted_mapper):
8397 * keymap.c (map_keymap_sort_predicate):
8398 * keymap.c (map_keymap_sorted):
8399 * keymap.c (accessible_keymaps_mapper_1):
8400 * keymap.c (where_is_recursive_mapper):
8401 * keymap.c (describe_map_mapper):
8402 * keymap.c (describe_map_sort_predicate):
8403 * keymap.c (describe_map):
8404 * keymap.c (complex_vars_of_keymap):
8405 And a number of other files, the key modifier preprocessor
8406 constants that xemacs uses have names that conflict with constants
8407 defined under MS Windows for other purposes, so they were renamed
8408 to begin with the prefix XEMACS_. The variables that hold such
8409 modifiers were changed to consistently be of type int to fix
8410 various compile warnings.
8412 * console.c (complex_vars_of_console):
8415 * device-msw.c (mswindows_finish_init_device):
8416 * device-msw.c (msw_get_workspace_coords):
8417 * device-msw.c (mswindows_device_system_metrics):
8418 and various other files, added support for a new
8419 device property called offset-workspace which returns the position
8420 of the upper left corner of the workspace area and goes along with
8421 the existing size-workspace property.
8424 * dialog-msw.c (push_bufbyte_string_as_unicode):
8425 * dialog-msw.c (mswindows_popup_dialog_box):
8426 Added support for XEmacs-style accelerator specifications in
8427 button text. Note: I didn't add support for this under X Windows,
8428 and somebody needs to do this.
8431 * dialog.c (Fpopup_dialog_box):
8432 Documented the support for accelerators that was just mentioned.
8434 editfns.c (get_home_directory): Changed behavior under Windows
8435 when HOME not defined; former behavior was irretrievably broken.
8440 * minibuf.c (clear_echo_area_internal):
8441 * minibuf.c (echo_area_append):
8443 * print.c (std_handle_out_external):
8444 * print.c (std_handle_out_va):
8446 * print.c (write_string_to_stdio_stream):
8447 * print.c (output_string):
8448 * print.c (debug_print):
8449 * print.c (debug_backtrace):
8450 * print.c (debug_short_backtrace):
8451 Cleaned up the code that prints text to stdout so that this can be
8452 changed to output into a console window instead under MS Windows,
8456 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8457 * eval.c (internal_catch):
8458 * eval.c (unwind_to_catch):
8459 * eval.c (throw_or_bomb_out):
8460 * eval.c (condition_case_1):
8461 * eval.c (signal_1):
8462 * eval.c (check_error_state_sanity):
8463 * eval.c (call_with_suspended_errors_1):
8464 * eval.c (call_with_suspended_errors):
8465 * eval.c (reinit_vars_of_eval):
8466 Added code to catch throw loops and check for a pesky bug that may
8470 * event-msw.c (key_needs_default_processing_p):
8471 * event-msw.c (mswindows_wnd_proc):
8472 * event-msw.c (mswindows_modifier_state):
8473 * event-msw.c (emacs_mswindows_quit_p):
8474 * event-msw.c (vars_of_event_mswindows):
8475 a) Added support for using the alt key to select menu items as is
8476 standard under MS Windows. This is controlled using the variable
8477 menu-accelerator-enabled, just like under X Windows. There is an
8478 option on the options menu to turn this support on. I really
8479 think that it should be on by default under Windows, but I'm not
8480 going to make this change yet.
8482 b) Added support for dynamic display size changes under Windows.
8485 * event-stream.c (maybe_echo_keys):
8486 * event-stream.c (Fnext_event):
8487 * event-stream.c (command_builder_find_leaf):
8488 * event-stream.c (lookup_command_event):
8489 * event-stream.c (execute_command_event):
8490 * event-stream.c (pre_command_hook):
8491 * event-stream.c (post_command_hook):
8492 * event-stream.c (syms_of_event_stream):
8493 * event-stream.c (vars_of_event_stream):
8494 * event-stream.c (complex_vars_of_event_stream):
8495 * events.h (struct command_builder):
8497 a) Tried to clean up a little bit the horribly written x-specific
8498 accelerator code that crept into this file. I moved this code
8499 into menubar-x.c where it belongs. I also needed to move the
8500 command builder structure into the file events.h because it is
8501 accessed directly by this accelerator code. What I didn't do, but
8502 which should be done at some point, is to properly abstract this
8503 code using device methods instead of the kludgy way that it
8504 currently hooks into the event code.
8506 b) Added the lisp variables this-command-properties and
8507 last-command- properties, which should be used to synchronize two
8508 adjacent commands in preference to playing games with the variable
8509 this-command, which is typically what happens.
8511 c) Added some slightly nasty code to hook into the lisp support
8512 for shifted- motion-key selection. This is actually necessary for
8513 somewhat complicated reasons, which are described in
8514 simple.el. (NB: I think the proper thing would be to have the code
8515 that calls the pre and post command hooks also call out to generic
8516 lisp functions in simple.el, where all built-in stuff could be
8517 added. I will think about this more.)
8519 * event-unixoid.c (poll_fds_for_input):
8520 * lread.c (readchar):
8521 * redisplay-tty.c (tty_clear_frame):
8522 * redisplay-x.c (x_get_gc):
8523 * signal.c (interrupt_signal):
8524 And a whole bunch of other files: fixed up places that printed
8525 directly to stderr to instead call the function stderr_out so that
8526 the changes I made under Windows work correctly.
8528 * filemode.c (mode_string):
8532 * frame-msw.c (mswindows_size_frame_internal):
8533 Fixed the computation of frame size and position to keep the frame
8534 within the workspace area, rather than within the physical
8535 dimensions of the screen, so that the frame doesn't overlap window
8536 manager decorations, such as the start menu and toolbar, typically
8537 at the bottom of the screen.
8539 * frame.c (vars_of_frame):
8540 Changed the default frame title format under MS Windows to consist
8541 of buffername-XEmacs, which is standard under MS Windows. I think
8542 it might be a good idea to change this everywhere because I think
8543 it is superior to the current frame title format, but this is the
8544 kind of change that is likely to cause some people to get annoyed,
8545 so I'm not making it.
8547 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8549 * gui-msw.c (mswindows_handle_gui_wm_command):
8550 Fixed compile warnings.
8553 * gui-x.c (strdup_and_add_accel):
8554 * gui-x.c (button_item_to_widget_value):
8556 Added code to automatically put an accelerator onto the beginning
8557 of menu items that don't have one as is now the standard, and is
8558 described more later. Also fixed things so that the menu item
8559 name can be an evaluated expression, again a new standard.
8562 * gui.c (gui_item_add_keyval_pair):
8563 * gui.c (make_gui_item_from_keywords_internal):
8564 * gui.c (gui_add_item_keywords_to_plist):
8565 * gui.c (gui_item_accelerator):
8566 * gui.c (gui_name_accelerator):
8567 * gui.c (gui_item_included_p):
8568 * gui.c (gui_item_display_flush_left):
8569 * gui.c (gui_item_display_flush_right):
8570 * gui.c (parse_gui_item_tree_item):
8571 * gui.c (parse_gui_item_tree_children):
8572 * gui.c (parse_gui_item_tree_list):
8573 Mule-ized. Cleanup. GCPRO addition.
8575 * line-number.c (buffer_line_number):
8577 * lisp.h (EMACS_INT_MAX):
8578 Added the manifest constant EMACS_INT_MIN corresponding to the
8579 existing constant EMACS_INT_MAX. This is partially to fix compile
8580 warnings under Windows, and partly for cleanliness.
8583 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8584 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8585 * menubar-msw.c (displayable_menu_item):
8586 * menubar-msw.c (populate_menu_add_item):
8587 * menubar-msw.c (populate_or_checksum_helper):
8588 * menubar-msw.c (populate_menu):
8589 * menubar-msw.c (update_frame_menubar_maybe):
8590 * menubar-msw.c (prune_menubar):
8591 * menubar-msw.c (msw_char_is_accelerator):
8592 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8593 * menubar-msw.c (mswindows_handle_wm_command):
8594 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8595 * menubar-msw.c (mswindows_handle_wm_initmenu):
8596 * menubar-msw.c (mswindows_update_frame_menubars):
8597 * menubar-msw.c (mswindows_free_frame_menubars):
8598 * menubar-msw.c (mswindows_popup_menu):
8599 Fixed a bug in handling accelerators where an extra character
8600 would be displayed in the menu item. Also generalized the
8601 function displayable_menu_item because it is now used by the
8602 dialog box code as well. And finally, added code in the functions
8603 that create the menubar to extract a list of accelerators for the
8604 top level menubar, which is used in the event code to determine
8605 whether a particular alt-key combination should be used to invoke
8606 a menu item, or should be passed through to access the standard
8607 XEmacs keymap binding for this key combination.
8609 Much needed GCPROing.
8612 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8613 * menubar-x.c (menu_item_descriptor_to_widget_value):
8614 * menubar-x.c (restore_in_menu_callback):
8615 * menubar-x.c (x_popup_menu):
8616 * menubar-x.c (menu_move_up):
8617 * menubar-x.c (menu_move_down):
8618 * menubar-x.c (menu_move_left):
8619 * menubar-x.c (menu_move_right):
8620 * menubar-x.c (menu_select_item):
8621 * menubar-x.c (command_builder_operate_menu_accelerator):
8622 * menubar-x.c (menu_accelerator_junk_on_error):
8623 * menubar-x.c (command_builder_find_menu_accelerator):
8624 * menubar-x.c (Faccelerate_menu):
8626 Moved a whole bunch of code here that was previously in
8627 event-stream.c as described above. There is also code connected
8628 to the new standard of adding an accelerator to the beginning of
8629 menu items that don't have one as described above and below.
8632 * menubar.c (menu_parse_submenu_keywords):
8633 * menubar.c (Fmenu_find_real_submenu):
8634 * menubar.c (Fnormalize_menu_item_name):
8635 * menubar.c (syms_of_menubar):
8636 * menubar.c (vars_of_menubar):
8637 * menubar.c (complex_vars_of_menubar):
8639 a) Cleaned up a bunch of documentation and improved it.
8641 b) XEmacs now automatically adds an accelerator onto the beginning
8642 of any menu items that don't have one. I did this because there
8643 will inevitably be some menu items on the main menubar that don't
8644 have accelerators on them because the package that adds that
8645 particular menu item hasn't yet been fixed up to have accelerators
8646 in them and it looked rather strange to have some items with and
8647 some items without accelerators, especially since even in items
8648 without accelerators, you can, at least under windows, still
8649 access the item through an accelerator corresponding to the first
8650 character in the item's name. If people don't like this behavior,
8651 I can add a variable to turn it off optionally, but I'm not sure
8652 this is a good idea because we really do need to have accelerators
8653 on all of the menu items, and if a package doesn't like the
8654 accelerators being put on the first character, then it should put
8655 the accelerators where they belong.
8657 c) I made a behavior change, which is that the descriptor that
8658 specifies the text of the menu item, which formerly was just a
8659 string, can now also be an evaluated expression. This makes this
8660 descriptor parallel with all of the others, which could also be
8661 evaluated expressions. This also obviates the need for the
8662 keyword :label, which was previously listed in the documentation
8663 as unimplemented, and which was for the same purpose.
8668 * ntproc.c (new_child):
8669 * ntproc.c (sys_spawnve):
8670 * ntproc.c (find_child_console):
8671 * ntproc.c (sys_kill):
8672 Fixed compile warnings. By the way, this file should really go
8673 away entirely, and this will happen as soon as Kirill makes his
8674 final round of process cleanups, which affect the function
8678 * process-nt.c (struct nt_process_data):
8679 * process-nt.c (find_process_from_pid):
8680 * process-nt.c (send_signal_the_nt_way):
8681 * process-nt.c (enable_child_signals):
8682 * process-nt.c (find_child_console):
8683 * process-nt.c (send_signal_the_95_way):
8684 * process-nt.c (nt_finalize_process_data):
8685 * process-nt.c (ensure_console_window_exists):
8686 * process-nt.c (nt_create_process):
8687 * process-nt.c (nt_kill_child_process):
8688 * process-nt.c (nt_kill_process_by_pid):
8689 * process-nt.c (nt_open_network_stream):
8690 * process-nt.c (vars_of_process_nt):
8691 Copied over code from Emacs 20.5 to correctly send signals to sub-
8692 processes under Windows 95. Also added code to automatically
8693 create and hide console window when a sub-process is created under
8694 Windows 95, which obviates the need for the separate runemacs.exe
8695 executable, and finally implemented some variables that were
8696 implemented in Emacs 20.5, but previously not in XEmacs. These
8697 include mswindows- start-process-share-console and
8698 mswindows-start-process-inherit-error-mode. (Both of these only
8699 apply to Windows 95.)
8701 * regex.c (regex_compile): Fixed a compile warning.
8704 * select-msw.c (mswindows_own_selection):
8705 * select-msw.c (mswindows_get_foreign_selection):
8706 * select-msw.c (mswindows_disown_selection):
8707 * select-msw.c (console_type_create_select_mswindows):
8708 * select-msw.c (syms_of_select_mswindows):
8709 Cleaned up the file and implemented the device method
8710 selection_exists_p, which had accidentally been left out. Also
8711 removed four lisp functions that were remnants from before the
8712 time when the selection code was properly device abstracted.
8713 These functions are no longer needed because there are generic
8714 equivalents, and because they were added recently and don't exist
8715 in FSF Emacs, I don't think there's any problem with just deleting
8719 * sysdep.c (sys_subshell):
8720 Fixed a compile warning, although in this case there's probably
8721 something wrong with this code, and it ought to be looked into
8722 more thoroughly by somebody who understands it.
8725 * window.c (Fwindow_text_area_height):
8726 * window.c (Fwindow_width):
8727 * window.c (Fwindow_full_width):
8728 * window.c (Fwindow_pixel_width):
8729 * window.c (debug_print_window):
8730 * window.c (syms_of_window):
8731 Added functions window-text-area-height and window-full-width,
8732 which are functions for returning various width and height
8733 characteristics of a window. (One of these functions is necessary
8734 for making the file dialog box work correctly, and the other one
8735 was added for completeness.) Also added a table to the
8736 documentation for window-height which describes the entire scheme
8737 for accessing width and height characteristics of a window.
8739 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8741 * nt.c (fstat): Added a comment for another problem with
8742 non-encapsulated [f]stat(), reported by Adrian Aichner
8743 <aichner@ecf.teradyne.com>.
8745 2000-03-11 Andy Piper <andy@xemacs.org>
8747 * window.c (make_dummy_parent): initialize subwindow instance
8749 (Fset_window_configuration): zero extent_modiff.
8751 2000-03-10 Andy Piper <andy@xemacs.org>
8753 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8754 more changes can be triggered.
8755 (Fredisplay_frame): ditto.
8756 (Fredraw_device): ditto.
8757 (Fredisplay_device): ditto.
8758 (redisplay_frame): make non-static.
8759 (redisplay_frame): call update_frame_gutter_geometry outside of
8762 * gutter.h: declare update_frame_gutter_geometry.
8764 * redisplay.h: declare redisplay_frame.
8766 * gutter.c (update_frame_gutter_geometry): move geometry changes
8767 in update_frame_gutters here. Geometry changes can only occur
8768 outside of redisplay.
8769 (update_frame_gutters): remove geometry change code.
8770 (Fredisplay_gutter_area): make sure that we are in display when we
8771 update and that we have flushed any size changes.
8773 2000-03-11 Andy Piper <andy@xemacs.org>
8775 * alloc.c (pdump_dump_data): remove i & count shadows.
8777 2000-02-27 Mike Alexander <mta@arbortext.com>
8779 * sysdep.h: Declare pdump_read_file
8781 * sysdep.c (pdump_read_file): New function
8783 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8786 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8788 * lrecord.h: add `lrecord_type_pgsetenv'.
8790 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8792 * symsinit.h: declare (vars|syms)_of* functions.
8793 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8795 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8797 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8799 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8802 * emacs.c (main_1): Call postgres initialization code.
8804 * postgresql.h: New file. PostgreSQL RDBMS support.
8805 * postgresql.c: New file.
8807 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8809 * redisplay-output.c (redisplay_output_display_block): Disable
8812 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8814 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8815 (Fcanna_henkan_next): Ditto.
8816 (Fcanna_bunsetu_henkou): Ditto.
8817 (Fcanna_henkan_kakutei): Ditto.
8818 (Fcanna_henkan_end): Ditto.
8819 (Fcanna_henkan_quit): Ditto.
8820 (Fcanna_henkan_next): Set retun value correctly.
8821 (c2mu): Use unsigned char instead of signed char.
8823 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8825 * emacs.c (main_1): Always call syms_of_gui.
8826 * inline.c: include gui.h
8828 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8830 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8831 converted to Lisp_Object.
8832 (Qtop_bottom): New variable.
8833 (syms_of_redisplay): Initialize it.
8834 * redisplay.h (Vvisible_bell): Ditto.
8835 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8836 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8837 only flash top and bottom.
8839 2000-03-08 Andy Piper <andy@xemacs.org>
8841 * buffer.c (Frename_buffer): record new buffer name the right way.
8843 2000-03-08 Andy Piper <andy@xemacs.org>
8845 * glyphs.c (update_subwindow): increase hash depth so that widget
8846 items get picked up properly.
8848 * redisplay-output.c (compare_runes): increase hash depth so that
8849 widget items get picked up properly.
8851 2000-03-08 Andy Piper <andy@xemacs.org>
8853 * gutter.c (output_gutter): add some debug.
8855 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8856 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8857 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8859 * redisplay-output.c (compare_runes): use display_hash to
8860 determine if glyphs really are not the same.
8862 * glyphs.c (update_subwindow): check display_hash to see if
8863 anything really needs to be updated. If not then do
8864 nothing. Record the display_hash after updating.
8865 (image_instance_equal): compare the image_instance face also.
8867 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8869 * redisplay.h: Fix comment style.
8871 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8873 * consle-msw.h (struct mswindows_frame):
8874 Added new member paint_pending to indicate whether a WM_PAINT
8875 magic event has been queued for this frame.
8877 * event-msw.c (mswindows_drain_windows_queue):
8878 Don't queue a WM_PAINT magic event if one is already queued.
8879 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8881 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8883 2000-03-07 Didier Verna <didier@xemacs.org>
8885 * dired.c: #include `regex.h' after `sysfile.h'.
8887 2000-03-06 Martin Buchholz <martin@xemacs.org>
8889 * sound.c (init_nas_sound): Fix compiler warning.
8891 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8893 (MARK_STRUCT_AS_FREE):
8894 (MARK_STRUCT_AS_NOT_FREE):
8895 Make `gcc -fstrict-aliasing' work properly.
8897 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8899 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8900 (mswindows_delete_device): Call CoUnnitialize().
8902 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8904 2000-02-25 <CraigL@DyCon.com>
8906 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8909 * sysdep.c: This extern declaration for environ prevents MinGW
8910 from finding the variable in CRTDLL.DLL.
8912 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8916 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8918 (MMRESULT): Removed, now defined in cygwin's windows headers.
8920 (uid_t,gid_t,pid_t,ssize_t): ..
8921 (_timeb): Removed, MinGW defines both _timeb and timeb.
8922 (HAVE_H_ERRNO): Added.
8923 (HAVE_TZNAME): Added, configure is not detecting this.
8925 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8927 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8928 * syntax.c (syntax_match): Use it.
8930 * cmds.c: Import auto-fill-chars from FSF Emacs.
8931 (Vauto_fill_chars): New variables.
8932 (internal_self_insert): Check Vauto_fill_chars.
8934 Declare auto-fill-chars as a Lisp variable and initialize it.
8936 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8938 * fileio.c (Fmake_symbolic_link):
8940 Run handlers even if local machine doesn't have symlinks.
8942 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8944 * event-msw.c (mswindows_drain_windows_queue):
8945 Don't generate paint magic events for non-XEmacs frames.
8947 2000-03-05 Andy Piper <andy@xemacs.org>
8949 * redisplay.c (redisplay_frame): generate_displayable_area and
8950 friends assumes that we are not in GC, we therefore have to make
8951 sure that this doesn't happen.
8953 * gutter.c (calculate_gutter_size): generate_displayable_area
8954 assumes that we are not in GC, we therefore have to make sure that
8955 this doesn't happen.
8957 2000-03-05 Martin Buchholz <martin@xemacs.org>
8959 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8961 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8963 * redisplay.c (regenerate_window): Make sure we set a sane value
8964 for end_pos even if we jump out of the loop.
8965 (regenerate_window): Answer Ben's question :-).
8966 (start_end_of_last_line): Add may_error argument.
8967 (start_of_last_line):
8968 (end_of_last_line): Pass may_error = 0.
8969 (end_of_last_line_may_error): New function.
8970 (pixel_to_glyph_translation): Use it, so we don't crash in
8973 2000-03-04 Andy Piper <andy@xemacs.org>
8975 * window.h (struct window): add gutter_extent_modiff.
8977 * window.c (allocate_window): zero out gutter_extent_modiff.
8979 * redisplay.h: declare sync_display_line_structs.
8981 * redisplay.c (add_glyph_rune): add a better comment.
8983 * redisplay-output.c (sync_display_line_structs): made non-static.
8984 (compare_runes): remove unneccesary glyph cachel access.
8986 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
8988 * gutter.c (output_gutter): don't output the gutter if extent
8989 changes only involve extents in buffers. use 4 sets of display
8991 (gutter_extent_signal_changed_region_maybe): new function. Mark
8992 extents in gutters as changed.
8993 (update_frame_gutters): use 4 sets of display lines.
8994 (reset_gutter_display_lines): ditto.
8995 (free_frame_gutters): ditto.
8996 (redraw_exposed_gutter): force output of gutters.
8998 * frame.h (struct frame): add 4 sets of gutter display lines.
9000 * extents.c: (extent_changed_for_redisplay): signal changes to
9001 extents in strings in the gutter as well as extents in buffers.
9003 2000-03-02 Andy Piper <andy@xemacs.org>
9005 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9007 * frame.c (Fmake_frame): make sure the gutters get initialized
9008 after the frame is visible.
9009 (set_frame_selected_window): re-arrange compilation macros a
9011 (change_frame_size_1): mark gutters changed.
9013 * device.c (Fset_device_class): mark gutters changed.
9015 2000-03-01 Andy Piper <andy@xemacs.org>
9017 * window.c (window_top_frame_gutter_height): deleted.
9018 (window_bottom_frame_gutter_height): ditto.
9019 (window_left_frame_gutter_height): ditto.
9020 (window_right_frame_gutter_height): ditto.
9021 (window_top_gutter_height): don't use them.
9022 (window_bottom_gutter_height): ditto.
9023 (window_left_gutter_width): ditto.
9024 (window_right_gutter_width): ditto.
9025 (Fsplit_window): ditto.
9026 (Fwindow_pixel_edges): don't use border dimensions here.
9028 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9029 (update_scrollbar_instance): ditto.
9031 * redisplay.c (generate_modeline): don't take gutters into account.
9032 (generate_modeline): ditto.
9033 (redisplay_frame): small gutter display optimization.
9035 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9037 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9038 gutters into account.
9040 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9041 for window position and type.
9043 * gutter.c (get_gutter_coords): fix for frame gutters.
9044 (update_frame_gutters): update frame geometry if the gutters have
9046 (init_frame_gutters): record current gutter geometries.
9048 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9050 (mswindows_widget_instantiate): ditto.
9052 * frame.h (struct frame): add current_gutter_bounds.
9054 * frame.c (change_frame_size_1): position window and minibuffer
9055 appropriately taking into account the frame gutters.
9057 * frame-x.c: (x_initialize_frame_size): take into account the
9060 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9062 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9064 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9066 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9068 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9070 * file-coding.c (reset_decoding_stream): Clear previous
9071 detection state when autodetect.
9073 2000-02-29 Didier Verna <didier@xemacs.org>
9075 * extents.c (set_extent_glyph_1): don't require extents to be
9078 2000-02-27 Andy Piper <andy@xemacs.org>
9080 * gutter.c (Fset_default_gutter_position): don't default left and
9081 right gutter visibility to t.
9082 (Fset_default_gutter_position): run
9083 default-gutter-position-changed-hook.
9084 (syms_of_gutter): add default-gutter-position-changed-hook.
9086 2000-02-26 Andy Piper <andy@xemacs.org>
9088 * specifier.c (Fmake_specifier): add gutter references.
9090 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9092 * lisp.h: declare Fvalid_plist_p.
9094 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9096 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9097 well as its visibility so that it gets reconstructed.
9098 (construct_window_gutter_spec): new function. Construct a string
9099 to be displayed in the gutter from a plist of strings. Take care
9100 to only use elements that are declared as visible.
9101 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9103 (gutter_validate): allow plists of strings in the specifier.
9104 (gutter_specs_changed): construct the real_gutter from the gutter
9105 specs using construct_window_gutter_spec.
9106 (gutter_visible_validate): gutter-visible is a new specifier type.
9107 (Fgutter_visible_specifier_p): new function for the new specifier.
9108 (syms_of_gutter): declare gutter-visible and
9109 Fgutter_visible_specifier_p.
9110 (specifier_type_create_gutter): intitalize new gutter-visible
9112 (reinit_specifier_type_create_gutter): ditto.
9113 (specifier_vars_of_gutter): use new specifier type for gutter
9115 (init_frame_gutters): construct real_gutter correctly.
9116 (Fgutter_specifier_p): beef up documentation.
9117 (Fgutter_size_specifier_p): ditto.
9119 * winslots.h: add real_gutter slots.
9121 2000-02-25 Andy Piper <andy@xemacs.org>
9123 * device-msw.c: Be kind to older cygwin versions. From Raymond
9124 Toy <toy@rtp.ericsson.se>.
9126 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9127 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9129 2000-02-25 Martin Buchholz <martin@xemacs.org>
9131 * elhash.c (MARK_OBJ): Practice macro hygiene.
9133 2000-02-24 Martin Buchholz <martin@xemacs.org>
9135 * miscplay.c: s/__inline__/inline/g;
9136 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9137 (get_device_compdc): INLINE ==> static inline
9138 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9139 find -name '*.h' | \
9140 xargs global-replace \
9141 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9143 2000-02-25 Andy Piper <andy@xemacs.org>
9145 * window.c (window_top_frame_gutter_height): new function.
9146 (window_top_window_gutter_height): ditto.
9147 (window_top_gutter_height): use them.
9148 (window_bottom_frame_gutter_height): new function.
9149 (window_bottom_window_gutter_height): ditto.
9150 (window_bottom_gutter_height): use them.
9151 (window_left_window_gutter_width): new function.
9152 (window_left_frame_gutter_width): ditto.
9153 (window_left_gutter_width): use them.
9154 (window_right_window_gutter_width): new function.
9155 (window_right_frame_gutter_width): ditto.
9156 (window_right_gutter_width): use them.
9157 (window_pixel_height): new function. calulate window pixel height
9158 with frame gutter involvement.
9159 (Fsplit_window): calculate new sizes taking frame gutters into
9161 (window_char_height_to_pixel_height): don't include frame gutters.
9162 (window_char_height): use window_pixel_height.
9163 (window_pixheight): rename from window_pixel_height.
9164 (change_window_height): use it.
9165 (window_pixel_height_to_char_height): don't include frame gutters.
9166 (window_char_width_to_pixel_width): ditto.
9168 2000-02-25 Andy Piper <andy@xemacs.org>
9170 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9173 2000-02-24 Martin Buchholz <martin@xemacs.org>
9175 * alloc.c (staticpro):
9181 (compact_string_chars):
9183 Convert: if (foo) abort(); ==> assert (! foo);
9185 * eldap.c (Fldap_search_basic):
9189 Fix compiler warnings, and possible crashes if (random) return
9190 value were to be used.
9192 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9194 * device-msw.c: Workaround ResetDC failure.
9196 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9199 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9200 (mswindows_text_width): Do not start printer page.
9202 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9204 * glyphs-msw.c: Added image methods to msprinter console and
9205 msprinter-specific image instantiation.
9207 2000-02-20 Mike Alexander <mta@arbortext.com>
9209 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9210 to avoid crashes when selection-sets-clipboard is on
9211 (mswindows_own_selection): ditto
9213 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9216 * redisplay-msw.c (get_frame_dc):
9219 * device-msw.c (mswindows_init_device):
9220 (mswindows_delete_device):
9221 (msprinter_init_device):
9222 (msprinter_delete_device):
9223 * frame-msw.c (mswindows_init_frame_1):
9224 (mswindows_delete_frame):
9225 (msprinter_init_frame_3):
9226 (msprinter_delete_frame): Move compatible DC to device object from
9227 frame object, for both mswindows and msprinter. Only one at a time
9228 is needed, it is a real waste to have one per frame!
9230 2000-02-23 Andy Piper <andy@xemacs.org>
9232 * glyphs.c: add dynamic width and height elements.
9233 (image_instance_equal): ditto.
9235 * glyphs-widget.c (widget_query_geometry): calculate width and
9236 height dynamically if required.
9237 (initialize_widget_image_instance): initialize dynamic dimensions.
9238 (widget_instantiate): pick-up dynamic dimensions.
9240 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9241 dynamic determination. Add appropriate macros.
9243 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9245 (WINDOW_GUTTER_SIZE): ditto.
9246 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9248 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9250 (get_frame_dc): ditto.
9252 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9255 2000-02-23 Martin Buchholz <martin@xemacs.org>
9257 * XEmacs 21.2.31 is released.
9259 2000-02-22 Ben Wing <ben@xemacs.org>
9261 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9263 2000-02-22 Andy Piper <andy@xemacs.org>
9265 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9267 2000-02-21 Mike Sperber <mike@xemacs.org>
9271 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9274 2000-02-21 Mike Sperber <mike@xemacs.org>
9276 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9278 2000-02-21 Martin Buchholz <martin@xemacs.org>
9280 * XEmacs 21.2.30 is released.
9282 2000-02-20 Martin Buchholz <martin@xemacs.org>
9284 Performance hacking.
9286 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9287 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9290 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9291 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9292 * symeval.h (DEFVAR_SYMVAL_FWD):
9293 * symbols.c (guts_of_unbound_marker):
9294 Make all c_readonly objects also lisp_readonly and marked for life.
9295 * lrecord.h (struct lrecord_implementation):
9296 Document flags better.
9297 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9298 * lrecord.h (DECLARE_LRECORD):
9299 * lrecord.h (XSETRECORD):
9300 * lrecord.h (RECORDP):
9301 * lrecord.h (RECORD_TYPEP):
9302 * lrecord.h (RECORD_MARKER): New.
9303 * lrecord.h (error_check_*):
9304 * lrecord.h (CONCHECK_NONRECORD):
9305 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9306 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9307 * lrecord.h (set_lheader_implementation):
9308 * lrecord.h (enum lrecord_type): New.
9309 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9310 * alloc.c (disksave_object_finalization_1):
9311 * alloc.c (mark_object):
9312 * alloc.c (lrecord_type_index):
9313 * alloc.c (tick_lcrecord_stats):
9314 * alloc.c (Fgarbage_collect):
9315 * alloc.c (init_alloc_once_early):
9316 * alloc.c (pdump_load):
9317 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9318 * alloc.c (lrecord_type_index): Delete.
9319 Make lisp object type indexes be constant.
9320 Makes (byte-compile) 5% faster.
9321 Put all marker functions into their own array.
9322 Makes (garbage-collect) 5% faster.
9323 Optimize SYMBOL_VALUE_MAGIC_P.
9324 Makes (byte-compile) 2-3% faster.
9325 * config.h.in (gc_checking_assert): New.
9326 * alloc.c: Use gc_checking_assert().
9327 * .dbxrc: Make compatible with new object type implementation.
9328 * .gdbinit: Make compatible with new object type implementation.
9329 * alloc.c: Delete all symbols defined only for debugging, such as
9330 Lisp_Type_Vector and lrecord_charset.
9332 2000-02-21 Andy Piper <andy@xemacs.org>
9334 * gui-msw.c (Fmswindows_shell_execute): fix file location
9337 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9338 unshowing so that set_window_buffer doesn't undo
9339 kill_buffer_hook's hard work.
9341 * glyphs-widget.c (tab_control_query_geometry): don't count the
9342 first item when calculating geometry.
9344 * glyphs.c (map_subwindow): remove redundant code.
9345 (update_frame_subwindows): be more circumspect about when to
9348 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9349 when items haven't changed. Update faces if faces have changed as
9350 well as just the widget face.
9351 (x_tab_control_update): Update faces if faces have changed as well
9352 as just the widget face.
9354 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9356 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9358 (build_syscolor_string): Use mswindows_color_to_string to try to
9360 (mswindows_device_system_metrics): Reverse the foreground and
9361 background colors so that they match the documentation.
9363 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9364 they match the default Windows palette.
9365 (mswindows_color_to_string): New function.
9367 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9369 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9371 2000-02-18 Olivier Galibert <galibert@pobox.com>
9373 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9374 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9376 * symbols.c (init_symbols_once_early): Removed obsolete
9377 DATA_SEG_BITS related kludge.
9378 (defvar_magic): Ditto.
9380 * malloc.c: Removed obsolete DATA_SEG_BITS
9382 * mem-limits.h: Ditto.
9384 * Makefile.in.in: Removed obsolete HAVE_SHM
9387 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9389 * device-msw.c (mswindows_delete_device): Free DDE string
9392 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9394 * keymap.c (get_keyelt):
9395 * unexnt.c (unexec):
9396 * vm-limit.c (memory_warnings):
9397 * ntheap.c (recreate_heap):
9398 * ntheap.h (UNINIT_PTR):
9399 * select-msw.c (Fmswindows_get_clipboard):
9400 (Fmswindows_set_clipboard):
9401 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9403 * menubar-msw.c (displayable_menu_item):
9405 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9406 * sysdep.c (sys_subshell):
9407 * process-nt.c (nt_create_process):
9408 * nt.c (normalize_filename):
9409 (dostounix_filename):
9410 (unixtodos_filename):
9411 * ntproc.c (win32_executable_type):
9412 * ntplay.c (play_sound_data_1):
9414 * editfns.c (get_home_directory):
9415 * event-msw.c (struct winsock_stream):
9416 (mswindows_dde_callback):
9417 * device-msw.c (msprinter_init_device):
9418 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9420 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9421 mswindows_clear_toolbar were swapped!
9423 * objects-msw.c:(colormap_t):
9425 * emacs.c (struct standard_args): Fixed const jumble.
9427 * glyphs-widget.c (update_widget): Fixed comparison notation.
9429 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9431 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9432 __declspec(noreturn) syntax.
9434 2000-02-19 Martin Buchholz <martin@xemacs.org>
9436 * eldap.c (Fldap_open):
9437 (Fldap_search_basic):
9440 Use new coding system conversion macros.
9442 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9444 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9446 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9448 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9449 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9451 * eldap.c (Qadd, Qreplace): New constant symbols
9452 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9453 interruptions by XEmacs signals
9454 Remove unnecessary calls to slow_down_interrupts and
9456 (Fldap_search_basic): Renamed from Fldap_search_internal
9457 Added new optional parameter VERBOSE that triggers the
9458 display of progress messages
9459 Remove unnecessary calls to slow_down_interrupts and
9461 LDAP result code analysis rewritten
9462 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9463 (syms_of_eldap): Define the new symbols and functions
9466 2000-02-17 Martin Buchholz <martin@xemacs.org>
9468 * realpath.c: Determine PATH_MAX maximally portably.
9470 * insdel.c (bytecount_to_charcount): Optimize.
9471 The function used to be optimized for entirely ASCII sequences.
9472 Now it is optimized for successive characters from the same
9473 charset. This also wins big for _mostly_ ASCII sequences.
9475 * fileio.c (Ffile_truename): convert return from realpath() using
9476 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9477 - Rewrite GCPROing slightly.
9479 * sysdep.c (sys_open): Do filename conversion, like all other
9480 sys_* functions. Fixes bug:
9481 (let ((file-name-coding-system 'iso-8859-2))
9482 (write-region x y latin2-name))
9483 ==> writes filename using internal encoding.
9485 2000-02-18 Martin Buchholz <martin@xemacs.org>
9487 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9488 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9489 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9490 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9491 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9492 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9493 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9494 (CONST_IF_NOT_DEBUG): Delete.
9495 * alloc.c (this_one_is_unmarkable): Delete.
9496 (mark_object): Don't check for this_one_is_unmarkable. Use the
9497 c_readonly flag instead.
9498 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9500 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9502 * event-msw.c (mswindows_drain_windows_queue):
9503 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9504 away redundant repaint events.
9506 2000-02-17 Andy Piper <andy@xemacs.org>
9508 * redisplay.h: declare mark_redisplay_structs.
9510 * redisplay.c (redisplay_window):
9511 (redisplay_frame): don't check subwindows_state_changed.
9512 (mark_redisplay): mark gutters here.
9514 * glyphs.c: (instantiate_image_instantiator): always layout if we
9515 haven't done so already.
9516 (allocate_image_instance): don't mark as dirty.
9517 (update_subwindow): bind inhibit_quit.
9519 * gutter.c (mark_gutters): new function.
9521 * glyphs-x.c (x_update_widget): Always resize to get round a
9524 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9525 breaking absolutely everything.
9527 * gutter.h: declare mark_gutters.
9529 2000-02-16 Martin Buchholz <martin@xemacs.org>
9531 * XEmacs 21.2.29 is released.
9533 2000-02-15 Olivier Galibert <galibert@pobox.com>
9535 * fns.c (size_bit_vector): Fix computation of the size.
9537 2000-02-15 Martin Buchholz <martin@xemacs.org>
9539 * *.[ch]: Change CONST to const globally.
9540 find -name '*.[ch]' | \
9541 xargs global-replace \
9542 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9543 - Remove vestigial references to CONST_IS_LOSING
9545 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9547 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9548 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9549 events instead of dispatching them directly.
9550 (mswindows_handle_paint): New function to do repainting.
9551 (mswindows_wnd_proc):
9552 (emacs_mswindows_handle_magic_event): Call above function.
9554 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9556 * objects-msw.c (mswindows_create_font_variant): Return the new
9558 (initialize_font_instance): Get font metrics from the underlined
9559 variant of the font to cope with the case where the underlined
9560 font has a bigger descent.
9562 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9564 * gui.c (gui_item_accelerator): Return the first underlined
9565 character in item name.
9567 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9569 * lisp.h: Added Qprinter.
9571 * general.c (syms_of_general): Initialized it.
9573 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9575 (get_frame_compdc): Made inline.
9577 * console.h (struct console_methods): Added eject_page method.
9579 * frame.h: Added FRAME_DISPLAY_P and friends.
9580 Aligned backslahes in many macros in more readable fashion.
9581 Added page_number to struct frame, and an accessor macro
9584 * defice.h: Added DEVICE_DISPLAY_P and friends.
9586 * device.c (Fdevice_printer_p): Used these.
9588 * frame.c (allocate_frame_core): Initialize page number.
9589 (Fprint_job_page_number):
9590 (Fprint_job_eject_page): Implemented.
9592 * frame-msw.c (msprinter_eject_page): Added method.
9593 (msprinter_start_page): Added.
9595 * window.c (Fwindow_truncated_p): Fixed docstring.
9596 (Fwindow_last_line_visible_height): Implemented.
9598 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9600 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9602 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9604 * syntax.c (scan_words): Always advance at least one character.
9606 2000-02-13 Andy Piper <andy@xemacs.org>
9608 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9609 to make sure the glyph is in the cachels.
9611 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9612 global image instance flag.
9613 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9614 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9616 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9617 (Fset_image_instance_property): mark layout as changed.
9618 (invalidate_glyph_geometry_maybe): mark layout as changed.
9619 (glyph_width): use new NEEDS_LAYOUT macro.
9620 (glyph_ascent): ditto.
9621 (glyph_descent): ditto.
9622 (glyph_height): ditto.
9623 (image_instance_layout): mark layout as clean after laying out.
9624 (update_subwindow): don't mark layout as clean here.
9626 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9627 should no longer be needed.
9629 * glyphs-x.c (x_update_widget): sanitize asserts.
9630 (x_finalize_image_instance): sanitize assignment to widgets.
9632 * glyphs-widget.c (widget_instantiate): don't need to clear the
9635 2000-02-13 Martin Buchholz <martin@xemacs.org>
9637 * sysdep.c (getcwd): Use standard prototype.
9638 * sysdep.h (getcwd): Use standard prototype.
9640 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9641 (sequence, start, end).
9642 Remove redundant type checking.
9643 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9644 view of `caller-protects') to avoid a crash where the real fix was
9647 2000-02-12 Martin Buchholz <martin@xemacs.org>
9649 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9651 * s/sol2.h: Remove feature macro initialization.
9653 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9654 (vector_hash): New. Code from internal_hash.
9656 Fix up allocation subsystem comments.
9658 * config.h.in: Add __EXTENSIONS__ for Solaris.
9660 * systime.h (EMACS_GETTIMEOFDAY): New.
9661 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9662 Remove Solaris-specific code.
9663 Use void* for the (ignored) second arg for gettimeofday().
9665 * elhash.c (hash_table_hash): Implement it, finally.
9666 * elhash.c: Use hashcode_t.
9668 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9669 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9671 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9672 * fns.c (size_bit_vector):
9673 * alloc.c (size_vector):
9674 (make_vector_internal):
9675 (make_bit_vector_internal):
9676 (sweep_bit_vectors_1):
9677 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9679 2000-02-10 Martin Buchholz <martin@xemacs.org>
9681 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9682 Include strings.h to avoid warnings for bzero and strcasecmp.
9684 2000-02-10 Olivier Galibert <galibert@pobox.com>
9686 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9687 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9689 * fns.c (size_bit_vector): New. Declare bit vectors as a
9692 2000-02-10 Olivier Galibert <galibert@pobox.com>
9694 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9695 use a value field instead.
9696 (symbol_value_forward_forward): Use value field.
9697 (DEFVAR_SYMVAL_FWD): Use value field.
9698 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9699 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9700 (DEFVAR_CONST_INT): Ditto.
9701 (DEFVAR_BOOL): Ditto.
9702 (DEFVAR_CONST_BOOL): Ditto.
9703 (DEFVAR_INT_MAGIC): Ditto.
9704 (DEFVAR_BOOL_MAGIC): Ditto.
9706 * symbols.c (guts_of_unbound_marker): Use value field.
9707 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9708 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9710 * lisp.h: Declare dumpopaque and noninteractive1.
9712 * alloc.c (dumpopaque): Added.
9713 (pdump_dump_opaquevec): Added.
9714 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9715 (pdump_load): Reload opaque data. Sync noninteractive1 with
9718 2000-02-10 Andy Piper <andy@xemacs.org>
9720 * glyphs.c (image_instance_layout): if the size changes, mark it
9723 * redisplay-output.c (redisplay_output_layout): Update the
9725 (redisplay_output_subwindow): ditto.
9727 * glyphs.c (update_subwindow): make sure we reset flags for
9728 layouts as well as everything else.
9730 * glyphs-widget.c (layout_layout): don't need to set the instances
9733 2000-02-09 Martin Buchholz <martin@xemacs.org>
9735 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9736 not HAVE_DLOPEN, which is a lower-level thing.
9738 * .cvsignore: Ignore gmon.out
9740 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9742 * .cvsignore: Ignore portable dumper xemacs.dmp file
9744 2000-02-09 Andy Piper <andy@xemacs.org>
9746 * redisplay-output.c (redisplay_output_layout): be more clever
9747 about when we output based on the changed flags.
9749 * glyphs.h (struct image_instantiator_methods): add update_method.
9750 (struct Lisp_Image_Instance): add changed flags. Declare new
9751 macros for manipulating them.
9753 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9754 (image_instance_parent_glyph): find an image_instance's parent
9755 glyph or image_instance.
9756 (image_instance_layout): mark the size as changed.
9757 (set_image_instance_dirty_p): new function. mark an image
9758 instance, plus all of its parents, as dirty.
9759 (Fset_image_instance_property): use it.
9760 (Fglyph_animated_timeout_handler): use it.
9761 (update_subwindow): call update_widget and device methods for
9762 update_subwindow. Mark all changed flags as clean.
9763 (Fresize_subwindow): mark size as changed.
9765 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9767 (x_update_subwindow): only resize subwindows here.
9768 (x_update_widget): new function. Update all changed properties of
9770 (x_resize_subwindow): deleted.
9771 (x_widget_set_property): deleted.
9772 (x_progress_gauge_set_property): deleted.
9773 (x_progress_gauge_update): new function. Implement recorded
9775 (x_tab_control_update): ditto.
9776 (x_tab_control_set_property): deleted.
9777 (console_type_create_glyphs_x): declare new functions.
9778 (image_instantiator_format_create_glyphs_x): ditto.
9780 * glyphs-widget.c (widget_set_property): mark text changed.
9781 (update_widget): new function. Update properties of a widget.
9782 (widget_instantiate): for layouts make sure we set their
9783 children's parent correctly.
9784 (tab_control_set_property): new function. Record changes that will
9785 take place under redisplay's control.
9786 (progress_gauge_set_property): ditto.
9787 (image_instantiator_progress_guage): declare new functions.
9788 (image_instantiator_tab_control): ditto.
9790 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9792 (mswindows_update_widget): new function. Update all properties on
9793 a widget that have changed.
9794 (mswindows_button_update): new function. Update a button's set
9796 (mswindows_tab_control_update): new function. Update the items in
9798 (mswindows_tab_control_set_property): deleted.
9799 (mswindows_progress_gauge_update): new function. Update the
9800 progress gauge's progress.
9801 (mswindows_widget_set_property): deleted. This is all done
9803 (mswindows_progress_gauge_set_property): ditto.
9804 (console_type_create_glyphs_mswindows): declare new methods.
9805 (image_instantiator_format_create_glyphs_mswindows): ditto.
9807 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9808 (msprinter_set_frame_properties): ditto.
9810 * console.h (struct console_methods): Add update_widget_method.
9812 2000-02-09 Andy Piper <andy@xemacs.org>
9814 * gui-msw.c (Fmswindows_shell_execute): Make
9815 mswindows-shell-execute industrial strength.
9817 2000-02-08 Martin Buchholz <martin@xemacs.org>
9819 * lrecord.h: Make macro argument `props' match member function `plist'.
9823 * fns.c (Fobject_plist):
9826 Object property list frobbing cleanup.
9827 - Allow any lisp object (compared with `eq'), not just symbols, as
9828 keys in object plists.
9829 - Move symbol plist frobbing into symbols.c, where it belongs.
9830 - Move string plist frobbing into alloc.c, where it belongs.
9831 - Everything's an lrecord now, so no need to test for symbolp, etc.
9832 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9834 * extents.c: Reorder code to remove declarations.
9836 * frame.h (store_in_alist): Remove useless declaration.
9838 2000-02-07 Martin Buchholz <martin@xemacs.org>
9840 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9841 * config.h.in: Add HAVE_XCONVERTCASE.
9843 2000-02-07 Andy Piper <andy@xemacs.org>
9845 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9846 it breaks many things.
9848 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9850 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9851 actually can start a common comment type.
9852 * src/syntax.h (SYNTAX_END_P): ditto for end.
9854 2000-02-07 Martin Buchholz <martin@xemacs.org>
9856 * XEmacs 21.2.28 is released.
9858 2000-02-06 Martin Buchholz <martin@xemacs.org>
9860 * event-Xt.c (x_keysym_to_character): New.
9861 (maybe_define_x_key_as_self_inserting_character): New.
9862 (x_has_keysym): New.
9863 Auto-define all keys on the keyboard as self-insert-key.
9865 2000-02-02 Martin Buchholz <martin@xemacs.org>
9867 * menubar.c (vars_of_menubar): A small code simplification.
9869 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9876 Use consistent style for specifying X resources.
9878 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9879 This makes (dontusethis-set-symbol-value-handler) actually usable.
9881 * lrecord.h (lrecord_decription_type):
9882 * alloc.c (pdump_register_sub):
9885 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9886 Comply with XEmacs coding style.
9887 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9888 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9890 * keymap.c (Faccessible_keymaps):
9891 Make (accessible-keymaps map "\C-h") do the Right Thing.
9892 Make (accessible-keymaps map []) do the Right Thing.
9893 Make (accessible-keymaps map "") do the Right Thing.
9894 (check_keymap_definition_loop): New function.
9895 (keymap_store_internal): Keep luser from shooting self in foot,
9896 via (define-key ctl-x-4-map "p" global-map).
9897 Remove fullness slot from struct Lisp_Keymap, since hash tables
9899 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9901 2000-01-30 Martin Buchholz <martin@xemacs.org>
9903 * redisplay.c (init_redisplay): Fix small memory leak.
9905 * elhash.c (pdump_reorganize_hash_table):
9906 Rename from reorganize_hash_table. Change prototype.
9907 Reuse the original memory for hentries. Save 100k.
9908 * alloc.c (PDUMP_READ): new macro.
9909 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9910 * alloc.c: No need to #ifndef before #undef.
9912 * print.c: Allow debug_print() to print readably by modifying
9913 debug_print_readably. Use consistent variable names.
9915 * .dbxrc: Try to get things to work even if stopped in a function
9916 without source available by explicitly specifying source files.
9917 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9919 * unexnt.c (_start): Removed bogus code which caused loading heap
9920 from differrent executable file.
9921 Removed bogus assignment to _fmode, which caused inconsistencies.
9923 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9925 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9926 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9927 Do not preliminary `#define signal sigset'.
9929 * systime.h: Do not prototype environ on windows nt and cygwin,
9930 this conflicts with system header.
9932 * syssignal.h: Use correct define for WINDOWSNT
9934 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9937 * sysdep.c (near start of file): Fixed commentary and rearranged
9938 ifdefs in readable order.
9939 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9942 (end_of_data): Do not compile in if using PDUMP.
9944 * symsinit.h: Prototyped vars_of_nt().
9946 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9947 (find_child_console): Use it.
9950 * ntheap.h: Do not extern os_subtype.
9952 * ntheap.c (cache_system_info): Do not cache unneeded:
9953 nt_major_version, nt_minor_version and os_subtype.
9954 (recreate_heap): Do not compile in when PDUMPing.
9956 * nt.c (geteuid and friends): Use the new varibale
9957 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9958 (init_user_info): Removed the above mentioned hackery.
9959 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9960 stat has been fixed in the C runtime.
9961 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9963 * file-coding.c (struct file_coding_dump): Do not define
9964 ucs_to_mule_table in the struct if not MULE.
9965 (struct struct lrecord_description fcd_description_1): Do not dump
9968 * emacs.c (main_1): Call vars_of_nt().
9969 (right before Fdump_emacs_data): Don't need lastfile if using both
9970 portabe dumper and system malloc.
9972 * alloc.c (Fmemory_limit): Conditionalized out.
9973 (pdump): Use OPEN_BINARY for the portable dump file.
9974 (pdump_load): Ditto.
9976 2000-02-02 Mike Alexander <mta@arbortext.com>
9978 * nt.c (convert_time): Set tm_isdst before calling mktime and
9979 avoid calling it at all if the compiler supports 64 bit integers.
9980 Also initialize utc_base_ft before using it.
9982 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9984 * frame.c (change_frame_size_1): Take f->internal_border_width
9985 into consideration when calculating the width of the frame.
9987 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9989 * window.c (frame_min_height):
9990 (frame_size_valid_p):
9991 (frame_pixsize_valid_p): Added.
9992 (check_frame_size): Generalized.
9994 * window.h: Prototyped the above.
9997 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
9998 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
9999 Deleted Vwin32_* and Vbinary_process_* unused variables.
10001 * device-msw.c (msprinter_init_device): Do not get printer font
10002 list; Added DEVMODE functions.
10004 * frame-msw.c: Added lots of printer code.
10006 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10009 * console-msw.h: Added more msprinter device private slots.
10011 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10013 * event-msw.c (key_needs_default_processing_p): Added.
10014 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10016 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10018 * glyphs.c (image_instance_layout): Mark image instance as clean
10020 (glyph_dirty_p): Removed redundant function.
10021 (invalidate_glyph_geometry_maybe): Added.
10022 (update_glyph_cachel_data): Call it.
10024 * glyphs.h: Prototyped it.
10026 * redisplay.c (add_glyph_rune): Call it.
10027 (redisplay_window): Reset glyphs cachels when frame faces have
10028 changed, thus forcing recomputation of built-in border glyphs.
10030 2000-01-30 Martin Buchholz <martin@xemacs.org>
10032 * Makefile.in.in: Make portable dumper and purify play well together.
10033 Add imperfect, but better than nothing, support for pdump.
10034 Remove xemacs.dmp when temacs is re-generated.
10035 Don't ignore errors when dumping xemacs.
10037 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10039 2000-01-28 Andy Piper <andy@xemacs.org>
10041 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10042 (setup_normal_frame): ditto.
10043 (setup_frame_without_minibuffer): ditto.
10044 (setup_minibuffer_frame): ditto.
10045 (delete_frame_internal): ditto.
10046 (Fmake_frame_invisible): ditto.
10047 (Ficonify_frame): ditto.
10049 * window.h: change Fset_window_buffer signature.
10051 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10052 (Fset_window_buffer): allow recording of buffer if the window is
10053 the selected window.
10054 (window_loop): Use new Fset_window signature.
10056 2000-01-23 Daniel Pittman <daniel@danann.net>
10058 * config.h.in: Added template for `HAVE_ATHENA_3D'
10060 2000-01-29 Andy Piper <andy@xemacs.org>
10062 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10064 * gutter.c (output_gutter): Don't output if the window isn't live.
10066 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10068 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10069 of 01/12/00: Moved SetFocus back here where it belongs.
10071 2000-01-23 Andy Piper <andy@xemacs.org>
10073 * s/cygwin32.h: declare printer things.
10075 2000-01-26 Andy Piper <andy@xemacs.org>
10077 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10080 2000-01-24 Andy Piper <andy@xemacs.org>
10082 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10083 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10085 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10087 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10089 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10091 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10092 (mswindows_output_display_block): Avoid local shadows.
10094 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10095 (mswindows_enqueue_mouse_button_event): ditto.
10096 (mswindows_handle_gui_wm_command): remove declaration.
10098 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10101 * console-msw.h: Avoid shadows.
10102 (mswindows_get_toolbar_button_text):
10103 (emacs_mswindows_create_stream_pair):
10104 (emacs_mswindows_delete_stream_pair):
10105 (mswindows_handle_toolbar_wm_command): declare.
10107 * device-msw.c (build_syscolor_string): Avoid shadows.
10109 2000-01-23 Andy Piper <andy@xemacs.org>
10111 * glyphs-widget.c (widget_instantiate): reverse the items for
10112 layouts so that children are in the expected order.
10114 2000-01-28 Martin Buchholz <martin@xemacs.org>
10116 * ralloc.c: safe_bcopy ==> memmove
10117 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10118 * s/msdos.h: Remove BCOPY macros.
10119 * insdel.c (gap_right): Remove BCOPY conditional code.
10120 * insdel.c (gap_left): Remove BCOPY conditional code.
10121 XEmacs demands a working ANSI C compiler - hence memmove.
10123 * regex.c (regex_compile): Remove accidental use of trigraphs.
10125 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10127 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10130 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10132 * event-msw.c (mswindows_drain_windows_queue): Added the
10134 (mswindows_need_event): Commented the call to
10135 mswindows_drain_windows_queue().
10136 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10139 * console-msw.h: Moved a few function prototypes here from
10142 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10143 parameter from unsigned short to unsigned long.
10144 (Fmswindows_shell_execute): Added return value.
10146 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10148 * sysdep.c (init_system_name):
10149 process-unix.c (unix_canonicalized_host_name):
10150 Don't call freeaddrinfo() if getaddrinfo() fails.
10152 * process-unix.c (unix_open_unix_network_stream):
10153 Moved the code to get a port # into address loop.
10155 2000-01-27 Martin Buchholz <martin@xemacs.org>
10157 * buffer.c (reinit_vars_of_buffer):
10158 The right place to initialize conversion_in_dynarr and
10159 conversion_out_dynarr.
10161 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10163 * process-unix.c (unix_canonicalize_host_name): Muleize.
10164 (unix_open_network_stream): Muleize.
10166 * buffer.h: Fix up prototypes for ralloc.c functions.
10168 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10169 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10170 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10171 instead of gethostbyname()
10172 * process-unix.c: In unix_canonicalize_host_name() and
10173 unix_open_network_stream(), add code to use getaddrinfo()
10174 instead of gethostbyname().
10176 2000-01-27 Daniel Pittman <daniel@danann.net>
10178 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10179 libs when built with flat Athena.
10181 2000-01-27 Martin Buchholz <martin@xemacs.org>
10183 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10184 Use coding standards for function prototypes.
10186 2000-01-25 Martin Buchholz <martin@xemacs.org>
10188 * dialog-msw.c (push_lisp_string_as_unicode):
10189 * doc.c (unparesseuxify_doc_string):
10190 * dired.c (Fuser_name_completion_1):
10191 * dired.c (Fuser_name_all_completions):
10192 * dired.c (free_user_cache):
10193 * dired.c (user_name_completion):
10194 * console-x.c (get_display_arg_connection):
10195 * minibuf.c (clear_echo_area_internal):
10196 * minibuf.c (echo_area_append):
10197 * eldap.c (Fldap_open):
10198 * eldap.c (Fldap_search_internal):
10199 * frame-x.c (x_set_frame_text_value):
10200 * frame-x.c (x_set_frame_properties):
10201 * frame-x.c (x_create_widgets):
10202 * redisplay-tty.c (term_get_fkeys_1):
10203 * objects-x.c (x_parse_nearest_color):
10204 * objects-x.c (x_valid_color_name_p):
10205 * objects-x.c (x_initialize_font_instance):
10206 * objects-x.c (x_list_fonts):
10207 * objects-x.c (x_find_charset_font):
10208 * tooltalk.c (Fadd_tooltalk_message_arg):
10209 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10210 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10211 * process-unix.c (unix_create_process):
10212 * ntproc.c (sys_spawnve):
10213 * sound.c (Fplay_sound_file):
10214 * sound.c (Fplay_sound):
10215 * buffer.c (init_initial_directory):
10216 * buffer.c (init_buffer):
10217 * editfns.c (init_editfns):
10218 * editfns.c (Ftemp_directory):
10219 * editfns.c (Fuser_full_name):
10220 * editfns.c (uncache_home_directory):
10221 * editfns.c (get_home_directory):
10222 * editfns.c (Fuser_home_directory):
10223 * editfns.c (Fformat_time_string):
10224 * editfns.c (Fcurrent_time_string):
10225 * gui-x.c (button_item_to_widget_value):
10226 * database.c (Fopen_database):
10227 * event-Xt.c (x_to_emacs_keysym):
10228 * event-Xt.c (x_event_to_emacs_event):
10229 * event-Xt.c (describe_event_window):
10230 * event-msw.c (mswindows_wnd_proc):
10231 * glyphs-eimage.c (jpeg_instantiate):
10232 * glyphs-eimage.c (gif_instantiate):
10233 * glyphs-eimage.c (png_instantiate):
10234 * glyphs-eimage.c (tiff_instantiate):
10235 * glyphs-x.c (xbm_instantiate_1):
10236 * glyphs-x.c (x_xbm_instantiate):
10237 * glyphs-x.c (x_xface_instantiate):
10238 * glyphs-x.c (autodetect_instantiate):
10239 * glyphs-x.c (cursor_font_instantiate):
10240 * glyphs-x.c (x_widget_instantiate):
10241 * glyphs-x.c (x_widget_set_property):
10242 * glyphs-x.c (x_widget_property):
10243 * glyphs-x.c (BUILD_GLYPH_INST):
10244 * print.c (write_string_to_stdio_stream):
10245 * print.c (output_string):
10246 * print.c (Falternate_debugging_output):
10247 * print.c (Fexternal_debugging_output):
10248 * glyphs-msw.c (extract_xpm_color_names):
10249 * glyphs-msw.c (mswindows_xpm_instantiate):
10250 * glyphs-msw.c (bmp_instantiate):
10251 * glyphs-msw.c (resource_name_to_resource):
10252 * glyphs-msw.c (mswindows_resource_instantiate):
10253 * glyphs-msw.c (xbm_instantiate_1):
10254 * glyphs-msw.c (mswindows_xbm_instantiate):
10255 * glyphs-msw.c (mswindows_xface_instantiate):
10256 * glyphs-msw.c (mswindows_widget_instantiate):
10257 * glyphs-msw.c (add_tree_item):
10258 * glyphs-msw.c (add_tab_item):
10259 * glyphs-msw.c (mswindows_combo_box_instantiate):
10260 * glyphs-msw.c (mswindows_widget_property):
10261 * glyphs-msw.c (mswindows_combo_box_property):
10262 * glyphs-msw.c (mswindows_widget_set_property):
10263 * console.c (stuff_buffered_input):
10264 * objects-msw.c (mswindows_initialize_color_instance):
10265 * objects-msw.c (mswindows_valid_color_name_p):
10266 * objects-msw.c (mswindows_list_fonts):
10267 * objects-msw.c (mswindows_font_instance_truename):
10268 * bytecode.c (optimize_compiled_function):
10269 * select-x.c (symbol_to_x_atom):
10270 * select-x.c (x_atom_to_symbol):
10271 * select-x.c (hack_motif_clipboard_selection):
10272 * select-x.c (selection_data_to_lisp_data):
10273 * select-x.c (lisp_data_to_selection_data):
10274 * select-x.c (Fx_get_cutbuffer_internal):
10275 * select-x.c (Fx_store_cutbuffer_internal):
10276 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10277 * buffer.h (TO_INTERNAL_FORMAT): New function.
10278 * emacs.c (make_arg_list_1):
10279 * emacs.c (make_argc_argv):
10280 * emacs.c (main_1):
10281 * emacs.c (Fdump_emacs):
10282 * emacs.c (split_string_by_emchar_1):
10287 * device-x.c (x_init_device):
10288 * device-x.c (Fx_valid_keysym_name_p):
10289 * device-x.c (Fx_get_font_path):
10290 * device-x.c (Fx_set_font_path):
10291 * glyphs.c (bitmap_to_lisp_data):
10292 * glyphs.c (pixmap_to_lisp_data):
10293 * alloc.c (make_ext_string): Use coding system arguments. Update
10295 * alloc.c (build_string):
10296 * callproc.c (child_setup):
10297 * callproc.c (init_callproc):
10298 * fileio.c (lisp_strerror):
10299 * fileio.c (directory_file_name):
10300 * fileio.c (Fexpand_file_name):
10301 * fileio.c (Ffile_truename):
10302 * fileio.c (Fsysnetunam):
10303 * fileio.c (Fdo_auto_save):
10304 * sysdep.c (sys_readdir):
10305 * tests.c: New file. Allow adding C tests.
10306 Replace GET_* macros with a more comprehensible and flexible
10307 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10309 Any coding system can be used to do format conversion.
10310 Eliminate enum external_data_format.
10311 Eliminate convert_to_external_format.
10312 Eliminate convert_to_internal_format.
10313 Make sure file-name, keyboard, terminal, and ctext are always
10314 defined as coding systems or aliases. Make
10315 file-name-coding-system, terminal-coding-system, and
10316 keyboard-coding-system magical variables that are equivalent to
10317 defining the corresponding coding system aliases.
10319 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10320 * file-coding.c (Fcoding_system_alias_p): New function.
10321 * file-coding.c (Fcoding_system_aliasee): New function.
10322 * file-coding.c (append_suffix_to_symbol): New function.
10323 * file-coding.c (dangling_coding_system_alias_p): New function.
10324 * file-coding.c (Ffind_coding_system):
10325 * file-coding.c (Fcopy_coding_system):
10326 * file-coding.c (encode_coding_no_conversion):
10327 * file-coding.c (syms_of_file_coding):
10328 * file-coding.c (vars_of_file_coding):
10329 Rewrite coding system alias code.
10330 Allow nested aliases, like symbolic links.
10331 Allow redefinition of coding system aliases.
10332 Prevent existence of dangling coding system aliases.
10334 * dired.c (Fuser_name_completion_1):
10335 * dired.c (Fuser_name_all_completions):
10336 A crash would happen if user did QUIT in the middle of building
10337 user_name_cache. Remove redundant code in mainline and unwind_protect.
10340 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10342 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10343 an unsigned char *. Update all callers.
10345 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10347 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10349 2000-01-25 Martin Buchholz <martin@xemacs.org>
10351 * elhash.c (hentry_description): Use more portable definition.
10352 (resize_hash_table): Initialize new hentries using
10353 xnew_array_and_zero, thereby simplifying the code.
10355 * mule-charset.c (make_charset): Make sure entire object is
10356 initialized, to avoid Purify warnings.
10358 * alloc.c (resize_string): Fix unlikely crash with big strings.
10360 2000-01-24 Martin Buchholz <martin@xemacs.org>
10362 * realpath.c (xrealpath):
10363 Don't call getwd().
10365 2000-01-25 Martin Buchholz <martin@xemacs.org>
10367 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10369 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10371 * unexelfsgi.c (unexec): Change the way we decide which segment
10372 should be extended.
10374 Assumption that .bss section should be outside the PT_LOADable
10375 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10376 it's present) is inside the 'data' segment. This would fail the
10377 test which was used to find a segment to grow and cover new
10378 heap. Instead of this assumption, I created another one - on IRIX
10379 the segment to grow should start below .bss and it's address
10380 should extent above the end of .bss. Once this segment is
10381 identified, it's grown to accommodate the new heap and new
10382 zero-length .bss section is added at the end of .data2.
10384 2000-01-25 Martin Buchholz <martin@xemacs.org>
10386 * eval.c (Feval): Wrong number of arguments should use original
10387 function, not the indirect_function version of it.
10389 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10391 * glyphs-x.c (x_button_instantiate): Don't add image if
10392 it is not a pixmap.
10393 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10396 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10398 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10400 (DEFVAR_INT_MAGIC): Ditto.
10401 (DEFVAR_BOOL_MAGIC): Ditto.
10402 * glyphs.h: Reindent backslash.
10404 2000-01-24 Martin Buchholz <martin@xemacs.org>
10406 * glyphs-widget.c (layout_query_geometry):
10407 (layout_layout): Use correct types for gheight, gwidth.
10409 2000-01-24 Martin Buchholz <martin@xemacs.org>
10411 * EmacsManager.c (QueryGeometry): Purified.
10413 2000-01-23 Martin Buchholz <martin@xemacs.org>
10415 * alloc.c (make_float): Make sure entire object is initialized, to
10416 avoid Purify warnings.
10417 (pdump_register_sub): Remove useless assignment.
10418 (pdump): Use xmalloc, not malloc.
10419 (pdump_load): Use xmalloc, not malloc.
10421 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10428 * sysdep.c: Removed redundant #include <windows.h>
10430 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10432 * frame.c (delete_frame_internal): Do not delete device when its
10433 implementation so declares.
10434 (delete_frame_internal): Set device selected frame to nil when
10435 last frame goes away.
10437 * device-msw.c (msprinter_device_system_metrics): Implemented.
10438 (mswindows_device_system_metrics): Added 'device-dpi property.
10440 * device.c: (Fdevice_printer_p): Added.
10441 Added 'offset-workspace device metric.
10443 * console.h (device_metrics): Declared DM_offset_workspace.
10445 2000-01-23 Martin Buchholz <martin@xemacs.org>
10447 * fileio.c (Ffile_truename): Remove pointless and confusing
10448 initialization of elen.
10450 * glyphs-widget.c: Compiler warning fixes.
10452 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10454 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10455 instead of a Lisp_Object as argument to make it consistent with
10456 the other LIVE_P macros.
10457 (CHECK_LIVE_PROCESS): New macro.
10459 * process.c: Declare Qprocess_live_p.
10460 (Fprocess_live_p): New function.
10461 (create_process): Use PROCESS_LIVE_P.
10462 (read_process_output): Ditto.
10463 (set_process_filter): Ditto.
10464 (Fdelete_process): Ditto.
10465 (kill_buffer_processes): Ditto
10466 (process_send_signal): Use CHECK_LIVE_PROCESS.
10467 (Fprocess_input_coding_system): Check whether process is still
10468 alive (fix PR#1061).
10469 (Fprocess_output_coding_system): Ditto.
10470 (Fprocess_coding_system): Ditto.
10471 (Fset_process_input_coding_system): Ditto.
10472 (Fset_process_output_coding_system): Ditto.
10474 2000-01-23 Andy Piper <andy@xemacs.org>
10476 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10479 * glyphs.c (mark_image_instance): take into account changed
10480 image_instance format.
10481 (image_instance_equal): ditto.
10482 (image_instance_hash): ditto.
10484 * glyphs-widget.c (widget_instantiate): Incorporate layout
10485 instantiation here. Delay layout of the layout until later.
10486 (layout_instantiate): deleted.
10487 (layout_query_geometry): new function. get the geometry of a
10489 (layout_layout): layout a layout dynamically.
10490 (image_instantiator_widget): New function - splitting up
10491 image_instantiator_format_create_glyphs_widget for netwinder
10493 (image_instantiator_buttons):
10494 (image_instantiator_edit_fields):
10495 (image_instantiator_combo_box):
10496 (image_instantiator_scrollbar):
10497 (image_instantiator_progress_guage):
10498 (image_instantiator_tree_view):
10499 (image_instantiator_tab_control):
10500 (image_instantiator_labels):
10501 (image_instantiator_layout): ditto.
10502 (image_instantiator_format_create_glyphs_widget): Call preceding
10505 2000-01-22 Martin Buchholz <martin@xemacs.org>
10507 * process.c (Fset_process_coding_system):
10508 * device-x.c (Fx_keysym_hash_table):
10511 * lstream.c (Lstream_write): Return documented value, not 0.
10513 * fileio.c (directory_file_name):
10514 (Fsubstitute_in_file_name):
10515 (Fsubstitute_insert_file_contents_internal):
10516 (Fwrite_region_internal):
10521 Remove vestigial APOLLO-conditional code.
10523 2000-01-21 Martin Buchholz <martin@xemacs.org>
10525 * getpagesize.h: Add guard macros.
10526 * libsst.h: Add guard macros.
10527 * libst.h: Add guard macros.
10528 * line-number.h: Add guard macros.
10529 * ndir.h: Add guard macros.
10530 * sysfloat.h: Add guard macros.
10531 * sysfile.h: Add guard macros.
10532 * sysproc.h: Add guard macros.
10533 * syswait.h: Add guard macros.
10534 * xintrinsic.h: Add guard macros.
10535 * xintrinsicp.h: Add guard macros.
10536 * xmmanager.h: Add guard macros.
10537 * xmmanagerp.h: Add guard macros.
10538 * xmprimitive.h: Add guard macros.
10539 * xmu.h: Add guard macros.
10540 * gpmevent.h: Add copyright statement. Add guard macros.
10541 * miscplay.h: Add guard macros.
10542 * *.h: Use consistent C-standards-approved guard macro names.
10544 * opaque.c (make_opaque): Switch parameter order.
10545 * opaque.h (make_opaque): Switch parameter order.
10546 Update all callers.
10547 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10549 * config.h.in (type_checking_assert): Added.
10550 (bufpos_checking_assert): Added.
10552 2000-01-21 Martin Buchholz <martin@xemacs.org>
10554 * alloc.c: Harmless pdump changes.
10556 - spell alignment correctly.
10557 * sysdep.c: Use countof()
10559 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10561 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10562 initially_selected_for_input() console method, default to 0.
10563 (semi_canonicalize_console_connection): Try to delegate to
10564 canonicalize_console_connection if no such console method.
10565 (canonicalize_console_connection): Vice versa.
10566 (print_console): Do not print nil connection.
10568 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10569 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10570 (XDEVIMPF_FRAMELESS_OK): Added.
10571 (CONSOLE_INHERITS_METHOD): Added.
10573 * console-msw.c (mswindows_canonicalize_console_connection):
10575 (mswindows_canonicalize_device_connection): Added.
10577 * console-msw.h (struct msprinter_device): Added this struct and
10579 (mswindows_device): Made fontlist a lisp object.
10581 * device.c (semi_canonicalize_device_connection): Try to delegate
10582 to canonicalize_device_connection if no such console method.
10583 (canonicalize_device_connection): Vice versa.
10584 (print_device): Do not print nil connection.
10586 * device-msw.c (mswindows_init_device): Call InitCommonControls
10588 (mswindows_delete_device): Removed fontlist deallocation.
10589 (mswindows_mark_device): Added.
10591 * events.c (event_equal): Added abort() at unreached code.
10592 (event_hash): Ditto.
10594 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10595 fallback tags of Windows devices.
10597 * general.c (syms_of_general): Initialized Qmsprinter.
10599 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10600 of fallback tags of Windows devices.
10602 * lisp.h: Declared Qmsprinter.
10604 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10606 (mswindows_list_fonts): Ditto.
10607 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10608 that it can be used by both mswindows and msprinter devices.
10609 (initialize_font_instance): Added.
10610 (mswindows_initialize_font_instance): Use it.
10611 (msprinter_initialize_font_instance): Added.
10613 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10614 and implementation flags check.
10615 (redisplay_without_hooks): Changed the call to the above.
10616 (Fredraw_device): Ditto.
10617 (Fredisplay_device): Ditto.
10619 * redisplay-msw.c (get_frame_dc): Implemented.
10620 (get_frame_compdc): Implemented.
10621 (many functions): Use the two functions above to get device
10622 contexts, ether for a window or a printer.
10624 2000-01-21 Olivier Galibert <galibert@pobox.com>
10626 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10627 initialization here.
10628 (init_symbols_once_early): Call it.
10629 * emacs.c (main_1): Call it.
10630 * symsinit.h: Declare it.
10632 2000-01-19 Olivier Galibert <galibert@pobox.com>
10634 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10636 (pdump_backtrace): Ditto.
10637 (pdump_register_object): Ditto. Cleanup use of the pointers.
10638 (pdump_get_entry): Abort if trying to register a null pointer.
10639 (pdump_dump_data): Cleanup types when relocating.
10640 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10641 (pdump_dump_rtables): Remove bad casts.
10642 (pdump_load): Cleanup relocation w.r.t union type. Use a
10643 Lisp_Object instead of a EMACS_INT for the hashtable
10646 2000-01-20 Martin Buchholz <martin@xemacs.org>
10648 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10650 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10652 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10654 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10656 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10658 * faces.h (FACE_STRIKETHRU_P): Added.
10660 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10663 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10664 (mswindows_set_dc_font): New function, aware of font variants,
10665 separated from mswindows_update_dc.
10667 * objects-msw.h (struct mswindows_font_instance_data): Added
10670 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10671 cached fonts and the data structure.
10672 (mswindows_initialize_font_instance): Added creation of font data
10674 (mswindows_print_font_instance): Print at least something.
10675 (mswindows_create_font_variant): Implemented.
10676 (mswindows_get_hfont): Implemented.
10678 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10680 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10681 prototyping problem with msvc.
10683 * emacs.c (main_1): added syms_of_gui_mswindows() call
10685 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10686 syms_of_gui_mswindows() function
10688 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10690 2000-01-18 Martin Buchholz <martin@xemacs.org>
10692 * XEmacs 21.2.27 is released.
10694 2000-01-18 Martin Buchholz <martin@xemacs.org>
10696 * glyphs-eimage.c (struct tiff_error_struct):
10698 (tiff_warning_func):
10699 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10704 * unexec.c: Remove vestigial Lucid C code.
10708 * libsst.c: Ansify.
10709 Remove declarations of errno and strerror().
10711 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10713 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10715 2000-01-16 Martin Buchholz <martin@xemacs.org>
10717 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10720 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10725 Change enum eol_type to eol_type_t.
10727 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10729 * gui.c (get_gui_callback): Check cons before accessing car.
10731 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10733 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10734 (XSETSPECIFIER_TYPE): Ditto.
10736 2000-01-17 Didier Verna <didier@xemacs.org>
10738 * redisplay.c (generate_fstring_runes): compute string size in
10739 characters, not bytes.
10741 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10743 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10745 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10747 * print.c (print_error_message): Call print_prepare().
10749 2000-01-14 Martin Buchholz <martin@xemacs.org>
10751 * .dbxrc: Renamed from dbxrc.
10753 * events.c (event_to_character):
10754 Use `assert (foo)' instead of `if (!foo) abort()'
10756 * .gdbinit (xtype): Add documentation.
10757 * .gdbinit (check-temacs): New function.
10758 * .gdbinit (check-xemacs): New function.
10759 * dbxrc (check-xemacs): New function.
10760 * dbxrc (check-xemacs): New function.
10762 2000-01-14 Andy Piper <andy@xemacs.org>
10764 * glyphs-widget.c (widget_query_geometry): Make sure that we
10765 calculate default dimensions correctly.
10767 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10769 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10771 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10772 pdump_wire'd variable.
10774 * emacs.c: (main_1): Conditionalized calls to
10775 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10777 2000-01-13 Martin Buchholz <martin@xemacs.org>
10779 * window.c (Fset_window_configuration):
10780 * sysdep.c (_start):
10781 * input-method-motif.c (res):
10782 * event-Xt.c (Xt_process_to_emacs_event):
10783 Simple compiler warning fixes.
10785 * bytecode.c (funcall_compiled_function): Use the original
10786 function symbol on the backtrace list in preference to the
10787 compiled_function object in error messages.
10789 2000-01-13 Andy Piper <andy@xemacs.org>
10791 * glyphs-x.c (update_widget_face): Make sure we update the widget
10792 background as well as foreground.
10794 2000-01-13 Andy Piper <andy@xemacs.org>
10796 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10797 fields to subwindow.
10798 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10799 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10800 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10801 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10803 * glyphs-widget.c (check_valid_tab_orientation): new function.
10804 (initialize_widget_image_instance): zero orientation and
10806 (widget_instantiate): pick up orientation.
10807 (tab_control_query_geometry): return appropriate values for
10810 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10811 appropriate creation flags for left, right and bottom tabs.
10813 * s/cygwin32.h: add tab definitions.
10815 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10817 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10818 frame upon hiding a subwindow.
10819 (mswindows_button_instantiate): Changed the push button style to
10821 (mswindows_button_instantiate): Removed button BS_NOTIFY
10823 (mswindows_button_instantiate): Removed redundant check for
10824 a disabled gui item.
10825 (mswindows_button_instantiate): Made use of WS_TABSTOP
10826 consistent: "operable" controls (edit, button, tree, scroll) have
10827 this style, "display-only" ones (static, progress gauge) do
10828 not. This style is currently ignored by XEmacs though. Also,
10829 removed the WS_EX_CONTROLPARENT style - it is not for children,
10830 it is for their parents!
10831 (mswindows_edit_field_instantiate): Ditto.
10832 (mswindows_progress_gauge_instantiate): Ditto.
10833 (mswindows_tree_view_instantiate): Ditto.
10834 (mswindows_tab_control_instantiate): Ditto.
10835 (mswindows_scrollbar_instantiate): Ditto.
10836 (mswindows_combo_box_instantiate): Ditto.
10837 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10838 style to the "clip" window.
10839 (mswindows_button_instantiate): Removed compilation warning by
10840 equally typing terms of the ?: operator.
10842 2000-01-12 Didier Verna <didier@xemacs.org>
10844 * redisplay.c (generate_fstring_runes): new parameter holding the
10845 last modeline-format extent.
10846 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10847 extent, fill the glyph block with it.
10848 (generate_fstring_runes): handle these parameters.
10849 (generate_formatted_string_db): ditto.
10851 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10852 glyphs'extents in the modeline.
10854 1999-01-11 Mike Woolley <mike@bulsara.com>
10856 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10857 256Mb, as a workaround for the non-starting problem many people
10860 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10862 * console-tty.c (Fset_console_tty_output_coding_system):
10863 Force redrawing tty frame.
10865 2000-01-10 Didier Verna <didier@xemacs.org>
10867 * redisplay.c (generate_fstring_runes): fix size computation bug.
10869 2000-01-09 William M. Perry <wmperry@aventail.com>
10871 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10873 2000-01-09 Andy Piper <andy@xemacs.org>
10875 * glyphs-msw.c: index -> i to avoid shadows.
10876 (xbm_create_bitmap_from_data): make static.
10877 (check_valid_string_or_int): deleted.
10878 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10880 * glyphs-x.c (x_update_subwindow): remove unused args.
10882 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10883 back pointer - this is done in allocate_image_instance.
10884 (query_string_font): return Qnil to make the compiler happy.
10885 (unmap_subwindow): set to ~0 to make the compiler happy.
10886 (glyph_query_geometry): comment out until used.
10887 (glyph_layout): ditto.
10889 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10891 * insdel.c (signal_after_change): Remove extraneous unbind_to().