1 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
3 * buffer.h: Include mb-utf-8.h in UTF-2000.
5 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
7 * mb-utf-8.h: New file.
9 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
11 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
14 * mule-charset.h, buffer.h (Charset_ID): New type.
16 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
18 * mule-canna.c (c2mu): Use `MAKE_CHAR',
19 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
20 instead of `MULE_CHAR_PRIVATE_OFFSET',
21 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
22 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
23 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
25 * character.h (Vcharset_japanese_jisx0212): New variable
28 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
30 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
31 (charset_by_attributes): Delete array about direction.
32 (latin_a_char_to_charset): New variable in UTF-2000.
33 (latin_a_char_to_byte1): New variable in UTF-2000.
34 (latin_a_char_to_byte2): New variable in UTF-2000.
35 (Qucs_bmp): New variable.
36 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
38 (next_allocated_2_byte_leading_byte): Likewise.
39 (non_ascii_set_charptr_emchar): Likewise.
40 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
41 `CHARSET_TYPE_256X256' in UTF-2000; modify for
42 `charset_by_attributes'.
43 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
44 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
45 and `CHARSET_BY_LEADING_BYTE'.
46 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
47 `utf-2000-version' to `vars_of_mule_charset'.
48 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
49 define `leading-code-private-11' in UTF-2000; move setting of
50 `utf-2000-version' from `syms_of_mule_charset'.
51 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
54 * character.h (Charset_ID): New type.
55 (LEADING_BYTE_UCS_BMP): New macro.
56 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
57 (CHARSET_ID_OFFSET_94): New macro.
58 (MIN_CHARSET_ID_PRIVATE_94): New macro.
59 (MAX_CHARSET_ID_PRIVATE_94): New macro.
60 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
62 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
63 (LEADING_BYTE_LATIN_JISX0201): Likewise.
64 (CHARSET_ID_OFFSET_96): New macro.
65 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
66 CHARSET_ID_OFFSET_96 and final-byte.
67 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
68 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
69 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
70 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
71 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
72 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
73 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
74 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
75 (LEADING_BYTE_THAI_TIS620): Likewise.
76 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
77 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
78 (CHARSET_ID_OFFSET_94x94): New macro.
79 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
80 CHARSET_ID_OFFSET_94x94 and final-byte.
81 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
82 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
83 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
84 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
85 (LEADING_BYTE_CHINESE_GB2312): Likewise.
86 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
87 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
88 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
89 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
90 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
91 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
92 (CHARSET_TYPE_128X128): New macro.
93 (CHARSET_TYPE_256X256): New macro.
94 (XCHARSET_PRIVATE_P): Delete unconditionally.
95 (charset_by_attributes): Delete array about direction.
96 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
97 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
98 (MIN_CHAR_94): New macro.
99 (MAX_CHAR_94): New macro.
100 (MIN_CHAR_96): New macro.
101 (MAX_CHAR_96): New macro.
102 (MIN_CHAR_94x94): New macro.
103 (MAX_CHAR_94x94): New macro.
104 (MIN_CHAR_96x96): New macro.
105 (MAX_CHAR_96x96): New macro.
106 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
107 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
108 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
110 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
111 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
112 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
113 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
114 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
115 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
116 `XCHARSET_LEADING_BYTE' to make code-point.
117 (latin_a_char_to_charset): New variable.
118 (latin_a_char_to_byte1): New variable.
119 (latin_a_char_to_byte2): New variable.
120 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
121 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
122 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
124 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
125 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
126 (find_charsets_in_emchar_string): Likewise.
127 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
129 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
131 (decode_coding_iso2022): Likewise.
133 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
136 * redisplay.c (redisplay_text_width_emchar_string): Use
137 `Charset_ID' instead of `unsigned char'.
138 (redisplay_frame_text_width_string): Likewise.
140 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
143 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
144 instead of `unsigned char'.
145 (face_cachel_charset_font_metric_info): Likewise.
147 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
148 (get_non_ascii_char_table_value): Likewise.
149 (get_char_table): Likewise.
150 (put_char_table): Likewise.
151 (map_over_other_charset): Likewise.
152 (map_char_table): Likewise.
154 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
155 instead of `unsigned char'.
157 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
159 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
160 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
162 * mule-charset.c (leading_code_private_11): Don't define in
165 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
166 in UTF-2000 because it is not ported yet and not to use
167 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
169 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
171 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
173 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
175 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
178 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
179 of unsigned char to store leading-byte.
181 * chartab.c (get_non_ascii_char_table_value): Don't use
182 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
184 * file-coding.c (encode_coding_big5): Delete bogus implementation
187 * character.h (LEADING_BYTE_*): Delete definition for
189 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
190 (LEADING_BYTE_PREFIX_P): Deleted.
191 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
192 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
193 (BUFBYTE_LEADING_BYTE_P): Deleted.
194 (CHARSET_PRIVATE_P): Deleted unconditionally.
195 (rep_bytes_by_first_byte): Deleted unconditionally.
196 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
197 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
198 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
199 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
200 (CHAR_FIELD2): Deleted.
201 (CHAR_FIELD3): Deleted.
202 (MAKE_CHAR): Delete definition for non-UTF-2000.
203 (BREAKUP_CHAR_1_UNSAFE): Deleted.
204 (breakup_char_1): New implementation.
205 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
206 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
208 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
210 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
213 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
215 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
216 (CHARSET_PRIVATE_P): Likewise.
217 (XCHARSET_PRIVATE_P): Likewise.
218 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
220 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
222 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
224 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
226 * character.h (LEADING_BYTE_*): Changed in UTF2000.
227 (NUM_LEADING_BYTES): Changed from 128 to 256.
228 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
229 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
231 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
233 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
235 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
236 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
237 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
238 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
239 (Qchinese_cns11643_3): New variable in UTF2000.
240 (Qchinese_cns11643_4): New variable in UTF2000.
241 (Qchinese_cns11643_5): New variable in UTF2000.
242 (Qchinese_cns11643_6): New variable in UTF2000.
243 (Qchinese_cns11643_7): New variable in UTF2000.
244 (syms_of_mule_charset): Define `chinese-cns11643-3',
245 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
246 and `chinese-cns11643-7' in UTF2000.
247 (vars_of_mule_charset): Initialize
248 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
250 (complex_vars_of_mule_charset): Setup charset
251 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
252 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
254 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
256 * mule-charset.c: Move setting for `leading-code-private-11' from
257 `syms_of_mule_charset' to `vars_of_mule_charset'.
259 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
261 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
262 and `NUM_LEADING_BYTES' in assert.
264 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
266 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
268 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
269 `NUM_LEADING_BYTES' instead of 128.
271 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
273 * mule-charset.h (charset_by_leading_byte): Use
274 `NUM_LEADING_BYTES' instead of 128.
275 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
277 * mule-charset.c (charset_by_leading_byte): Use
278 `NUM_LEADING_BYTES' instead of 128.
279 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
281 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
284 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
286 * mule-charset.c (syms_of_mule_charset): Update to
289 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
291 * file-coding.c (encode_coding_sjis): New implementation for
292 UTF2000. (decode_coding_sjis): Ditto.
294 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
296 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
297 Don't define in UTF2000.
299 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
302 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
303 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
306 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
308 * config.h.in (CHAR_IS_UCS4): New macro.
310 * mule-charset.c (rep_bytes_by_first_byte): Modify for
311 conventional MULE representation.
312 (syms_of_mule_charset): Update to 0.3 (Imamiya).
314 * mule-charset.h: Reverted to original.
316 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
317 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
318 "mule-charset.h" if CHAR_IS_UCS4 is defined.
320 * character.h: New file.
322 * file-coding.c (Fmake_coding_system): Set 1 to
323 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
325 (encode_coding_no_conversion): New implementation for UTF2000.
327 * file-coding.h (struct Lisp_Coding_System): Add new member
330 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
332 * file-coding.c (decode_coding_iso2022): Code-point arguments of
333 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
334 (encode_coding_iso2022): New implementation for UTF2000.
336 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
338 * mule-canna.c (c2mu): New implementation for UTF2000.
341 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
343 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
345 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
347 * file-coding.c (reset_encoding_stream): Set 0 to
348 `str->iso2022.current_char_boundary' in UTF2000.
349 (encode_utf8): Don't define in UTF2000.
350 (encode_coding_utf8): New implementation for UTF-8 representation
352 (complex_vars_of_file_coding): Define coding-system `utf-8'.
354 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
356 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
358 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
360 (REP_BYTES_BY_FIRST_BYTE): Likewise.
362 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
364 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
365 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
367 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
368 (non_ascii_valid_char_p): Don't define in UTF2000.
369 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
370 (Lstream_get_emchar_1): Likewise.
371 (utf-2000-version): New variable in UTF2000.
373 * lread.c (read_escape): Add new reader `u'.
375 * insdel.c (three_to_one_table): Don't define in UTF2000.
376 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
377 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
379 (bytind_to_bufpos_func): Likewise.
380 (buffer_mule_signal_inserted_region): Likewise.
381 (vars_of_insdel): Don't initialize `three_to_one_table'.
382 (init_buffer_text): Use `buf->text->mule_size' instead of
383 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
386 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
387 UTF-8 representation in UTF2000.
388 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
389 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
390 (decode_coding_iso2022): Don't define local variable `lb' in
391 UTF2000; don't use LEADING_BYTE in UTF2000; use
392 `DECODE_ADD_UCS_CHAR' in UTF2000.
393 (convert_to_external_format): Decode as UTF-8 in UTF2000.
395 * config.h.in (UTF2000): New macro.
397 * buffer.h (struct buffer_text): Add new member `mule_size' and
398 don't add `mule_shifter' and `mule_three_p' in UTF2000.
399 (valid_char_p): Return always 1 in UTF2000.
400 (MAX_EMCHAR_LEN): 6 in UTF2000.
401 (three_to_one_table): Don't define in UTF2000.
402 (real_bufpos_to_bytind): Modify for UTF-8 representation in
404 (real_bytind_to_bufpos): Likewise.
406 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
408 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
410 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
411 representation change.
412 (Vutf_2000_version): New variable.
413 (leading_code_private_11): New variable.
414 (syms_of_mule_charset): Add new variables `utf-2000-version' and
415 `leading-code-private-11'.
417 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
418 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
419 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
420 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
421 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
422 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
423 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
424 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
425 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
426 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
427 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
428 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
429 (MIN_CHAR_GREEK): New macro.
430 (MAX_CHAR_GREEK): New macro.
431 (MIN_CHAR_CYRILLIC): New macro.
432 (MAX_CHAR_CYRILLIC): New macro.
433 (MIN_CHAR_HEBREW): New macro.
434 (MAX_CHAR_HEBREW): New macro.
435 (MIN_CHAR_THAI): New macro.
436 (MAX_CHAR_THAI): New macro.
437 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
438 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
439 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
440 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
441 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
442 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
443 (CHAR_FIELD2): New inline function.
444 (CHAR_FIELD3): New inline function.
445 (MULE_CHAR_PRIVATE_OFFSET): New macro.
446 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
447 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
448 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
449 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
450 (MIN_CHAR_COMPOSITION): Likewise.
451 (CHAR_LEADING_BYTE): Modified for character representation change.
452 (MAKE_CHAR): Likewise.
454 * lisp.h (Vcharset_latin_iso8859_1): New variable.
455 (Vcharset_greek_iso8859_7): Likewise.
456 (Vcharset_cyrillic_iso8859_5): Likewise.
457 (Vcharset_hebrew_iso8859_8): Likewise.
458 (Vcharset_thai_tis620): Likewise.
459 (Vcharset_katakana_jisx0201): Likewise.
461 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
463 * file-coding.c (determine_real_coding_system): Treat `coding:'
466 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
468 * file-coding.c (struct decoding_stream): New member `counter'.
469 (reset_decoding_stream): Initialize `counter'.
470 (decode_coding_ucs4): Use `counter'.
471 (decode_coding_utf8): Likewise.
473 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
475 * XEmacs 21.2.19 is released
477 1999-07-27 Jeff Miller <jmiller@smart.net>
479 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
480 menubar_show_keybindings.
482 1999-07-23 SL Baur <steve@miho>
484 * mule-charset.c (syms_of_mule_charset): Delete duplicated
485 definition of Qccl_program.
487 * mule-ccl.h: Make a global declaration of it here.
489 1999-07-20 Bob Weiner <weiner@beopen.com>
491 * s/sco7.h: Added from rr@sco.com.
493 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
495 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
497 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
499 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
500 (mule_encode): Likewise.
502 * mule-ccl.c (Qccl_program): New variable.
503 (CCL_SUSPEND): New macro.
504 (CCL_INVALID_CMD): New macro.
505 (CCL_READ_CHAR): Don't regard as invalid command while processing
506 the last block even if input is empty; use
507 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
508 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
510 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
511 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
512 (CCL_STAT_SUSPEND_BY_DST): Likewise.
513 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
514 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
516 1999-05-04 Ken'ichi Handa <handa@gnu.org>
518 * mule-ccl.h (struct ccl_program): New member stack_idx.
520 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
521 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
523 (setup_ccl_program): Initialize ccl->stack_idx to 0.
525 1998-10-12 Kenichi Handa <handa@etl.go.jp>
527 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
530 1998-08-18 Kenichi Handa <handa@etl.go.jp>
532 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
533 processing the last block, don't just finish but processes eol
534 block of the current CCL program.
535 (ccl_driver): Add a new jump label ccl_repeat for the above
538 1998-04-15 Kenichi Handa <handa@etl.go.jp>
540 * mule-ccl.c: Typo in comments fixed.
541 (Qccl_program_idx): New variables.
542 (CCL_ReadMultibyteChar2): Macro name changed from
543 CCL_ReadMultibyteCharacter.
544 (CCL_WriteMultibyteChar2): Macro name changed from
545 CCL_WriteMultibyteChar2.
546 (ccl_driver): Adjusted for the above changes.
547 (resolve_symbol_ccl_program): New function.
548 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
549 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
550 numbers by resolve_symbol_ccl_program.
551 (Fccl_execute_on_string): Likewise.
552 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
553 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
555 1998-01-21 Kenichi Handa <handa@etl.go.jp>
557 * mule-ccl.h: (struct ccl_program): New member private_state.
560 (CCL_Call): Fix the comment.
561 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
562 macros for CCL Commands.
564 (ccl_driver): New case lable `CCL_Extention'.
565 (setup_ccl_program): Initialize the member `private_state' of CCL.
567 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
569 * keymap.c (copy_keymap_internal): Inherit the default binding.
571 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
573 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
574 focus the event (XIM_focus_event).
575 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
576 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
577 the interface for future use (XIM_SetGeometry).
578 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
579 location (XIM_SetSpotLocation).
580 (x_output_eol_cursor): Ditto.
582 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
584 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
585 Olivier's change to lrecord.h of 1999-04-22
587 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
589 * gutter.c (redraw_exposed_gutter): Change type of pos from
590 enum toolbar_pos -> enum gutter_pos, since former is only defined
591 if toolbar support is.
593 1999-07-19 Andy Piper <andy@xemacs.org>
595 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
598 * gutter.c (gutter_validate): new function for the gutter specifier.
599 (specifier_type_create_gutter): declare specifier validator.
601 * buffer.h (INC_CHARBYTIND): add for no error checking version.
603 1999-07-18 Andy Piper <andy@xemacs.org>
605 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
607 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
609 (mswindows_resize_subwindow): new function.
611 * gutter.c (redraw_exposed_gutter): only reset the
612 current_display_lines if non-zero.
613 (Fgutter_pixel_height): new function.
614 (Fgutter_pixel_width): new function.
616 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
617 we want to retrive from the tab control.
619 1999-07-17 Andy Piper <andy@xemacs.org>
621 * window.c (change_window_height): mark gutters changed when we're
624 * gutter.c (specifier_vars_of_gutter): make defaults more
627 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
629 (DEFAULT_GUTTER_WIDTH): change.
630 (DEFAULT_GUTTER_BORDER_WIDTH): change.
632 1999-07-18 Andy Piper <andy@xemacs.org>
634 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
636 1999-07-16 Andy Piper <andy@xemacs.org>
638 * frame.c (Fmake_frame): call init_frame_gutters().
640 * redisplay.c (add_emchar_rune): use string functions if we are
641 working with a string.
642 (position_redisplay_data_type): add string element.
644 1999-07-15 Andy Piper <andy@xemacs.org>
646 * winslots.h: add real_gutter_size slots to hold the actual gutter
647 size. This is important for autodetected sizes.
649 * gutter.c (calculate_gutter_size): calculate size for gutters
650 that have 'autodetect size.
652 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
653 extent of divider for gutters.
655 * redisplay-x.c (x_output_vertical_divider): adjust extent of
658 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
659 position to take into account the gutters.
661 * redisplay.c (generate_modeline): adjust modeline position to
662 take into account the gutters.
664 1999-07-14 Andy Piper <andy@xemacs.org>
666 * gutter.c (frame_topmost_window): new function.
667 (frame_bottommost_window): ditto.
668 (frame_leftmost_window): ditto.
669 (frame_rightmost_window): ditto.
671 1999-07-13 Andy Piper <andy@xemacs.org>
673 * redisplay.c (calculate_display_line_boundaries): use text
674 boundaries so that gutters get handled properly.
676 1999-07-12 Andy Piper <andy@xemacs.org>
678 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
681 * redisplay-output.c (redisplay_clear_to_window_end): generalised
684 * redisplay-x.c (redisplay_clear_to_window_end): moved to
687 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
689 * gutter.c: new file - implements gutters. All new functions are
690 semantically equivalent to the toolbar functions.
691 (gutter_was_visible): new function.
692 (get_gutter_coords): ditto.
693 (output_gutter): ditto.
694 (clear_gutter): ditto.
695 (update_frame_gutters): ditto.
696 (redraw_exposed_gutter): ditto.
697 (redraw_exposed_gutters): ditto.
698 (free_frame_gutters): ditto.
699 (init_frame_gutters): ditto.
700 (decode_gutter_position): ditto.
701 (Fset_default_gutter_position): ditto.
702 (Fset_default_gutter_position): ditto.
703 (Fdefault_gutter_position): ditto.
704 (gutter_after_change): ditto.
705 (Fgutter_specifier_p): ditto.
706 (recompute_overlaying_specifier): ditto.
707 (gutter_specs_changed): ditto.
708 (default_gutter_specs_changed): ditto.
709 (gutter_geometry_changed_in_window): ditto.
710 (default_gutter_size_changed_in_window): ditto.
711 (default_gutter_border_width_changed_in_window): ditto.
712 (default_gutter_visible_p_changed_in_window): ditto.
713 (syms_of_gutter): ditto.
714 (vars_of_gutter): ditto.
715 (specifier_type_create_gutter): ditto.
716 (specifier_vars_of_gutter): ditto.
718 * gutter.h: new file. Contains gutter constants and sizing macros
719 similar to those for the toolbar.
721 * winslots.h: add gutter variables.
723 * window.h: declare window_is_* functions.
725 * window.c (window_is_lowest): make non-static.
726 (window_is_highest): ditto.
727 (window_top_toolbar_height): deleted.
728 (window_bottom_toolbar_height): deleted.
729 (window_left_toolbar_width): deleted.
730 (window_right_toolbar_width): deleted.
731 (window_top_gutter_height): add gutter sizing.
732 (window_bottom_gutter_height): ditto.
733 (window_left_gutter_width): ditto.
734 (window_right_gutter_width): ditto.
736 * symsinit.h: declarations for gutters vars etc.
738 * search.c (bi_find_next_emchar_in_string): new function.
740 * scrollbar.c (update_scrollbar_instance): remove reference to
741 window_bottom_toolbar_height which did nothing.
743 * redisplay.h (struct display_line): add face indices for
744 overriding defaults in output_display_line.
745 Add gutter_changed flags and declarations.
747 * redisplay.c (create_string_text_block): new function, similar to
748 create_text_block but for strings. Display tables etc are used
749 from the currently selected window.
750 (generate_string_display_line): ditto. Similar to
751 generate_display_line.
752 (generate_displayable_area): generate display lines for a given
753 area on a frame. Input is the string, with associated extents, to
755 (redisplay_frame): add gutter_changed check.
756 (redisplay_device): ditto.
757 (redisplay_without_hooks): ditto.
759 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
760 (x_redraw_exposed_area): redraw exposed gutters.
761 (x_bevel_area): new redisplay device method.
762 (x_type_create_redisplay_mswindows): add bevel_area device method.
763 (x_output_display_block): fiddly Martin-style cleanup.
764 (x_output_vertical_divider): use bevel_area.
766 * redisplay-output.c (output_display_line): check display_lines
767 for face information before using defaults.
768 (bevel_modeline): new function, calls bevel_area with appropriate
771 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
772 (mswindows_redraw_exposed_area): redraw exposed gutters.
773 (mswindows_bevel_area): new redisplay device method.
774 (console_type_create_redisplay_mswindows): add bevel_area device
777 * indent.c (string_column_at_point): add column_at_point but for
780 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
781 instantiate widgets that we have a toolkit for.
783 * general.c: add Qgutter.
785 * frame.h (struct frame): add display lines for gutters and
788 * frame.c (set_frame_selected_window): mark gutters changed.
790 * emacs.c (main_1): add gutter initialisation.
792 * device.h (struct device): add gutter_changed flag and macros to
795 * console.h (struct console_methods): new bevel area redisplay
798 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
799 REAL_INC_BYTIND is for buffers.
800 (INC_CHARPTR): ditto.
802 * Makefile.in.in (objs): add gutter.o
804 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
806 * XEmacs 21.2.18 is released
808 1999-07-08 SL Baur <steve@mule.m17n.org>
810 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
812 (emacs_Xt_handle_magic_event): Ditto.
813 * redisplay-x.c (x_output_string): Ditto.
814 (x_output_eol_cursor): Ditto.
816 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
818 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
819 problem that when XIM is destroyed or missed with some reason,
820 xemacs will die. Now xim=xlib waits the XIM will be ready and
821 endures the case of XIM end up.
823 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
825 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
826 SIGINT and SIGCHLD before calling tt_open and restore the
827 afterwards. This fixes e.g. the zombie subprocesses on Solaris
829 1999-07-06 SL Baur <steve@xemacs.org>
831 * s/linux.h: gcc-2.8 changes for powerpc
832 From Justin Vallon <vallon@mindspring.com>
834 1999-07-05 Didier Verna <verna@inf.enst.fr>
836 * indent.c: new symbol Qcoerce.
837 (Fmove_to_column): use it + doc string update.
839 1999-07-04 Andy Piper <andy@xemacs.org>
841 * console.c: undo earlier Fprovide changes.
845 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
846 function. validate appropriate image formats for tty.
848 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
849 initialize consoles parameter.
850 (struct image_instantiator_methods): add consoles parameter.
851 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
853 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
856 * glyphs-msw.c: declare instantiators for later use.
857 (image_instantiator_format_create_glyphs_mswindows): validate xpm
858 and friends on the mswindows console.
861 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
862 that have not been registered on the supplied device.
863 (Fvalid_image_instantiator_format_p): add locale argument.
864 (instantiate_image_instantiator): valid image instantiator on the
867 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
870 * emacs.c (main_1): add call to
871 image_instantiator_format_create_glyphs_tty().
873 1999-06-29 Olivier Galibert <galibert@pobox.com>
875 * lisp.h: Add #include <stddef.h>.
877 * sysdep.c: Remove #include <stddef.h>.
878 * symbols.c: Remove #include <stddef.h>.
879 * sheap.c: Remove #include <stddef.h>.
880 * opaque.c: Remove #include <stddef.h>.
881 * nt.c: Remove #include <stddef.h>.
882 * mule-charset.c: Remove #include <stddef.h>.
883 * marker.c: Remove #include <stddef.h>.
884 * file-coding.c: Remove #include <stddef.h>.
885 * extents.c: Remove #include <stddef.h>.
886 * elhash.c: Remove #include <stddef.h>.
887 * data.c: Remove #include <stddef.h>.
888 * chartab.c: Remove #include <stddef.h>.
889 * bytecode.c: Remove #include <stddef.h>.
890 * alloc.c: Remove #include <stddef.h>. Fix vector description
892 1999-06-30 SL Baur <steve@miho.m17n.org>
894 * editfns.c: Document "%s" format spec.
895 Suggested by Bob Weiner <weiner@altrasoft.com>
897 1999-06-29 Andy Piper <andy@xemacs.org>
899 * event-msw.c: fix definition booboo.
901 1999-06-28 Andy Piper <andy@xemacs.org>
903 * glyphs-x.c: change tree -> tree-view, progress ->
904 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
906 (complex_vars_of_glyphs_x): provide-on-console the implemented
909 * glyphs-msw.c: ditto.
910 (complex_vars_of_glyphs_mswindows): ditto.
912 * lisp.h: add Fprovide_on_console.
914 * fns.c (Ffeaturep): add extra optional console argument.
915 (Fprovide_on_console): like Fprovide but provides only on the
916 specified console-type.
917 (Frequire): check console-features as well as global features.
919 * console.c (Fconsole_features): new function. return features for
921 (syms_of_console): add Fconsole_features.
923 * console.h (CONMETH_FEATURES): new function for accessing features.
924 (CONSOLE_FEATURES): ditto.
925 (struct console_methods): add features slot.
926 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
928 1999-06-28 Andy Piper <andy@xemacs.org>
930 * event-Xt.c (handle_focus_event_1): conditionally compile for
933 * s/cygwin32.h: fix me website address.
935 * event-msw.c: add NMHDR for pre b20 cygwin builds.
937 * gui-x.c (button_item_to_widget_value): only add callback if it
940 * glyphs-x.c: add progress, edit and combo instantiators.
941 (x_widget_set_property): new function. uses lwlib to set widget
943 (x_widget_property): new function. uses lwlib to get widget
945 (x_button_instantiate): support images in buttons.
946 (x_button_property): new function. use lwlib to get the selected
948 (x_progress_instantiate): new function for instantiating progress
950 (x_progress_set_property): new function. sets the progress gauge
952 (x_edit_instantiate): new function. for instantiating edit fields.
953 (x_combo_instantiate): new function. for instantiating combo
955 (image_instantiator_format_create_glyphs_x): add new device ii
958 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
960 * console.h (CONSOLE_FEATURES): new features accesor.
962 * conslots.h (MARKED_SLOT): add features entry.
964 1999-06-25 Andy Piper <andy@xemacs.org>
966 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
969 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
971 * gui.h (struct Lisp_Gui_Item): add accelerator.
973 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
974 (gui_item_init): ditto.
975 (gui_add_item_keywords_to_plist): ditto.
976 (mark_gui_item): ditto.
977 (gui_item_hash): ditto.
978 (gui_item_accelerator): new function.
979 (gui_name_accelerator): new function stolen from gui-x.c
981 * gui-x.c (popup_selection_callback): always define. mark
982 subwindows changed after calling a callback.
983 (menu_name_to_accelerator): deleted.
984 (button_item_to_widget_value): forward gui_item things to gui_item
987 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
988 appropriate accesors.
990 * glyphs-x.c: declare new glyph formats.
991 (x_finalize_image_instance): unmanage and destroy widgets if they
993 (x_unmap_subwindow): handle widgets specially.
994 (x_map_subwindow): ditto. offset display of widgets by offset of
995 text widget within container.
996 (x_update_subwindow): new function. call lw_modify_all_widgets
997 when we are a widget.
998 (x_widget_instantiate): new function for generically creating
999 widgets-glyphs. toolkit specifics forwarded to lwlib.
1000 (x_button_instantiate): new function for instantiating
1001 widgets-glyph buttons.
1002 (console_type_create_glyphs_x): register update_subwindow.
1003 (image_instantiator_format_create_glyphs_x): register widget and
1006 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1008 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1009 when we get a button press in case we do not have the focus.
1010 (handle_focus_event_1): set the keyboard focus to the text widget
1011 if we do not have it.
1013 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1016 1999-06-24 SL Baur <steve@miho.m17n.org>
1018 * syntax.c (scan_words): Restore non-Mule code.
1019 (word_constituent_p): Restore.
1021 1999-06-23 Olivier Galibert <galibert@pobox.com>
1023 * config.h.in: Add missing #undef *_USER_DEFINED.
1025 1999-06-23 SL Baur <steve@miho.m17n.org>
1027 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1028 int (fixes a 64-bit problem).
1030 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1033 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1035 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1037 1999-06-22 Olivier Galibert <galibert@pobox.com>
1039 * lrecord.h: Added basic external description system.
1041 * symbols.c: Added symbol, symbol-value-buffer-local,
1042 symbol-value-lisp-magic and symbol-value-varalias description.
1043 * mule-charset.c: Added charset description.
1044 * marker.c: Added marker description.
1045 * keymap.c: Added keymap description.
1046 * glyphs.c: Added glyph description.
1047 * floatfns.c: Added float description.
1048 * file-coding.c: Added coding-system description.
1049 * extents.c: Added extent description.
1050 * elhash.c: Added hash-table description.
1051 * data.c: Added weak-list desciption.
1052 * chartab.c: Added char-table-entry and char-table description.
1053 * bytecode.c: Added compiled-function description.
1054 * alloc.c: Added cons, vector and string description.
1056 1999-06-22 Olivier Galibert <galibert@pobox.com>
1058 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1059 Updated everything to the removal of the "flags" substructure.
1061 * lisp.h (subr_lheader_initializer): Updated.
1062 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1064 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1066 * syntax.c (word_constituent_p): Deleted.
1067 (scan_words): Use `WORD_BOUNDARY_P'.
1069 * chartab.c (Vword_combining_categories): New variable.
1070 (Vword_separating_categories): Likewise.
1071 (CATEGORYP): New macro.
1072 (CATEGORY_SET): Likewise.
1073 (CATEGORY_MEMBER): Likewise.
1074 (word_boundary_p): New function.
1075 (complex_vars_of_chartab): Set up new variable
1076 `word-combining-categories' and `word-separating-categories'.
1078 1999-06-18 Olivier Galibert <galibert@pobox.com>
1080 * lrecord.h: Added description as a placehold in the lrecord
1081 implementation structures. Added the parameter to all constructor
1084 * alloc.c: Added placeholders.
1086 * bytecode.c: Ditto.
1090 * database.c: Ditto.
1095 * event-stream.c: Ditto.
1099 * file-coding.c: Ditto.
1100 * floatfns.c: Ditto.
1108 * mule-charset.c: Ditto.
1112 * rangetab.c: Ditto.
1113 * specifier.c: Ditto.
1116 * tooltalk.c: Ditto.
1119 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1121 * XEmacs 21.2.17 is released
1123 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1125 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1126 (HAVE_LDAP_GET_LDERRNO): Ditto
1127 (HAVE_LDAP_RESULT2ERROR): Ditto
1128 (HAVE_LDAP_PARSE_RESULT): Ditto
1129 (HAVE_UMICH_LDAP): Removed
1130 (HAVE_NS_LDAP): Removed
1132 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1133 suggested by Olivier Galibert
1134 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1136 * eldap.c: Take the removal of `livep' into account in all the
1138 (signal_ldap_error): Take two additional parameters
1139 Added new finer compilation conditions in order to use
1140 ldap_parse_result or ldap_result2error if available
1141 (Fldap_open): Conform to this new API
1142 (Fldap_search_internal): Ditto
1144 1999-06-17 SL Baur <steve@miho.m17n.org>
1146 * data.c (struct int_or_double): Should use EMACS_INT not int.
1148 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1150 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1153 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1155 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1156 `CCL_MODE_ENCODING'.
1158 * file-coding.c (mule_decode): Run `ccl_driver' with
1159 `CCL_MODE_DECODING'.
1160 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1162 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1163 (ccl_driver): Add new argument `conversion_mode'.
1164 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1165 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1166 new optional argument].
1168 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1169 (CCL_MODE_DECODING): New macro.
1170 (ccl_driver): Add new argument `conversion_mode'.
1172 1999-06-15 SL Baur <steve@miho.m17n.org>
1174 * mule-charset.c (Fsplit_char): New subr.
1175 (Fchar_octet): delete.
1176 (syms_of_mule_charset): DEFSUBR it.
1178 1999-06-13 Andy Piper <andy@xemacs.org>
1180 * menubar.h: update declarations involving gui_items.
1182 * lisp.h: declare Lisp_Gui_Item.
1184 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1186 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1187 (print_image_instance): ditto.
1188 (image_instance_equal): ditto.
1189 (image_instance_hash): ditto.
1191 * event-msw.c (mswindows_need_event): assert badly_p status.
1192 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1193 callbacks in tree-view and tab-control widgets.
1194 (emacs_mswindows_next_event): modify use of
1195 mswindows_dequeue_dispatch_event.
1197 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1198 lisp-based gui_items.
1200 * glyphs-msw.c (mswindows_update_subwindow): update use of
1202 (mswindows_register_gui_item): new function.
1203 (mswindows_register_gui_item): fix to use lisp gui_items.
1204 (mswindows_widget_instantiate): ditto.
1205 (mswindows_button_instantiate): ditto.
1206 (add_tree_item): new function to recursively add tree view
1208 (add_tree_item_list): ditto.
1209 (mswindows_tree_instantiate): new function. instantiate tree view
1211 (add_tab_item): new function to add tabs to a tab control.
1212 (mswindows_tab_instantiate): new function. instantiate tab
1214 (image_instantiator_format_create_glyphs_mswindows): add tree view
1216 (vars_of_glyphs_mswindows): ditto.
1218 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1220 (check_valid_item_list): ditto.
1221 (initialize_widget_image_instance): fix to use new lisp gui_item.
1222 (widget_instantiate_1): allow the setting of default textwidth in
1224 (widget_instantiate): change to use new widget_instantiate_1
1226 (combo_instantiate): ditto.
1227 (static_instantiate): ditto.
1228 (tab_instantiate): new function for tab widgets.
1229 (image_instantiator_format_create_glyphs_widget): add tab and tree
1232 * menubar-msw.c (displayable_menu_item): convert to use lisp
1234 (populate_menu_add_item): ditto.
1235 (populate_or_checksum_helper): ditto.
1237 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1239 (Fmenu_find_real_submenu): ditto.
1241 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1243 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1244 objects, convert functions that use them accordingly.
1245 (gui_item_init): ditto.
1246 (gui_item_active_p): ditto.
1247 (gui_item_selected_p): ditto.
1248 (gui_item_included_p): ditto.
1249 (gui_item_display_flush_left): ditto.
1250 (gui_item_display_flush_right): ditto.
1251 (mark_gui_item): ditto.
1252 (allocate_gui_item): new function to create a gui_item.
1253 (make_gui_item_from_keywords_internal): ditto. create and return a
1254 gui_item as well as setting keywords.
1255 (gui_parse_item_keywords): ditto.
1256 (gui_parse_item_keywords_no_errors): ditto.
1257 (gui_add_item_keywords_to_plist): new function, not yet used.
1258 (gui_item_hash): new function.
1259 (gui_item_id_hash): use gui_item_hash.
1260 (gui_item_equal): new function.
1261 (print_gui_item): new function.
1263 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1265 * XEmacs 21.2.16 is released
1267 1999-06-10 Andy Piper <andy@xemacs.org>
1269 * select-msw.c (mswindows_own_selection): only set the clipboard
1271 (mswindows_get_foreign_selection): only get the clipboard if
1273 (mswindows_disown_selection): only disown the clipboard if asked.
1275 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1277 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1279 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1280 of coding-category `no-conversion'.
1282 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1284 * file-coding.c (Qraw_text): New variable.
1285 (syms_of_mule_coding): Add new symbol `raw-text'.
1286 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1287 define coding-system `binary' independently; define coding-system
1288 `no-conversion' as an alias for `raw-text'.
1290 * file-coding.h (Qraw_text): New variable.
1292 1999-06-08 SL Baur <steve@xemacs.org>
1294 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1296 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1298 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1300 (base64_decode_1): Signal errors instead of returning -1.
1302 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1304 * mule-charset.c (Fmake_char): Update docstring.
1306 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1308 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1310 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1312 * fns.c (base64_decode_1): Allow and ignore any non-base64
1313 characters in input.
1315 1999-05-27 Olivier Galibert <galibert@pobox.com>
1317 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1318 of report_pure_usage().
1320 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1322 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1324 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1326 * XEmacs 21.2.15 is released
1328 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1330 * frame.c (Fset_mouse_position):
1331 (Fset_mouse_pixel_position):
1332 * window.c (Fsplit_window):
1333 (Fmove_to_window_line):
1334 Fix crash when invoking functions with an already-deleted window
1337 * indent.c (vertical_motion_1):
1339 (Fvertical_motion_pixels):
1340 * window.c (Fwindow_displayed_text_pixel_height):
1341 Fix error message when invoking functions with an already-deleted
1344 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1346 * sysdep.c (request_sigio_on_device): Guard against glibc
1347 2.1's stub streams implementation.
1349 1999-06-03 SL Baur <steve@xemacs.org>
1352 * emacs.c: Implement x.y.z version numbers
1353 From Jan Vroonhof <vroonhof@math.ethz.ch>
1355 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1357 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1358 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1361 1999-06-03 SL Baur <steve@xemacs.org>
1364 * device-x.c: rename session option to wmcommand.
1365 From Oliver Graf <ograf@rhein-zeitung.de>
1367 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1369 * fns.c (Fsubstring): Don't traverse the same region twice with
1370 charcount_to_bytecount().
1372 1999-06-03 SL Baur <steve@steve1.m17n.org>
1374 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1377 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1378 doesn't really work as is implied by the commentary).
1379 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1381 1999-06-02 SL Baur <steve@steve1.m17n.org>
1383 * symsinit.h: Declare vars_of_ntproc.
1384 * emacs.c (main_1): Call it.
1386 * ntproc.c (syms_of_ntproc): Move variable initializations from
1388 (vars_of_ntproc): ... to here [new function].
1390 * file-coding.c (syms_of_file_coding): Rename.
1391 (vars_of_file_coding): Ditto.
1392 (complex_vars_of_file_coding): Ditto.
1394 * symsinit.h: Rename *_mule_coding to *_file_coding.
1396 * emacs.c (main_1): Call them by the proper name.
1398 * device-msw.c (syms_of_device_mswindows): Move variable
1399 initializations from here ...
1400 (vars_of_device_mswindows): ... to here.
1402 * chartab.c (vars_of_chartab): New function.
1404 * symsinit.h: New function, vars_of_chartab.
1406 * emacs.c (main_1): Call it.
1408 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1409 (vars_of_mule_canna): ... to here.
1411 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1412 initializations out of syms_of_mule_ccl.
1414 * symsinit.h: Declare new function vars_of_mule_ccl.
1416 * emacs.c (main_1): Call it.
1418 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1420 * fns.c (base64_decode_1): Ignore whitespace.
1422 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1424 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1427 1999-05-21 Andy Piper <andy@xemacs.org>
1429 * xselect.c: deleted.
1431 * symsinit.h: declare select initialisation.
1433 * select.h: new file. declare commonly used select functions and
1436 * select.c: new file. generalised from xselect.c.
1437 (clean_local_selection_data): moved from xselect.c.
1438 (get_local_selection): ditto. device specific pieces called via a
1440 (handle_selection_clear): ditto.
1441 (Fown_selection_internal): renamed and generalised from
1442 Fx_own_selection_internal. moved from xselect.c.
1443 (Fdisown_selection_internal): ditto.
1444 (Fselection_owner_p): ditto.
1445 (Fselection_exists_p): ditto.
1446 (Fget_selection_internal): ditto.
1447 (syms_of_select): new function. QXXXX values moved from xselect.c
1448 (vars_of_select): new function. selection_converter_alist,
1449 lost_selection_hooks moved and renamed from xselect.c
1451 * select-x.c: renamed from xselect.c.
1452 (x_own_selection): converted to device specific. non-X-specific
1453 bits moved to select.c.
1454 (x_get_foreign_selection): ditto.
1455 (x_disown_selection): ditto.
1456 (x_selection_exists_p): ditto.
1457 (console_type_create_select_x): new function.
1459 * select-msw.c (mswindows_own_selection): new device method to set
1460 the clipboard when we 'own' the selection.
1461 (mswindows_get_foreign_selection): new device method to get the
1463 (mswindows_disown_selection): new device method to delete the
1464 selection when we 'disown' it.
1465 (console_type_create_select_mswindows): new function.
1467 * emacs.c (main_1): add select to things to initialise.
1469 * console.h (struct console_methods): new console methods for
1472 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1474 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1476 * print.c (long_to_string): Install a faster version.
1478 1999-05-16 Andy Piper <andy@xemacs.org>
1480 * ntproc.c (syms_of_ntproc): default
1481 win32-start-process-share-console to t.
1483 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1485 * config.h.in: Do it here.
1487 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1489 1999-05-14 Andy Piper <andy@xemacs.org>
1491 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1494 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1496 * XEmacs 21.2.14 is released
1498 1999-05-12 Andy Piper <andy@xemacs.org>
1500 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1502 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1504 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1505 run_temacs_argv array -- fixes random memory corruption crash
1507 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1509 * window.c (Fcurrent_window_configuration):
1510 Save minibuffer height;
1512 * window.c (set_window_configuration): use it.
1514 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1516 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1518 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1520 * redisplay.c (redisplay_window): Do not put data
1521 in the line start cache if it is not guaranteed to be correct
1523 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1525 * window.c (struct window_config): Removed frame
1527 (window_config_equal): No longer compare frame sizes.
1528 (Fset_window_configuration): Resize old top window to fit in the
1529 current frame directly, no longer use a fake frame resize.
1530 (Fcurrent_window_configuration): No longer save frame size
1532 1999-05-11 Andy Piper <andy@xemacs.org>
1534 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1537 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1539 * sysdep.c (init_system_name): If gethostname gives a proper
1540 domain name, don't look further for one.
1542 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1544 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1545 (Fintern_soft): Accept a symbol argument.
1547 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1549 * symbols.c (Fintern): ...do it here.
1551 * lread.c (read_atom): Don't handle keywords here.
1553 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1555 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1557 1999-05-03 Olivier Galibert <galibert@pobox.com>
1559 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1560 is interned in the main obarray.
1562 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1564 * menubar-x.c (pre_activate_callback): set accelerator field in
1565 "No menu" entries to nil. Avoid crash in
1566 command_builder_operate_menu_accelerator
1568 1999-05-03 Olivier Galibert <galibert@pobox.com>
1570 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1572 * lisp.h (DEFUN): Fix lrecord header initialisation.
1574 1999-05-02 Andy Piper <andy@xemacs.org>
1576 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1578 * ntproc.c (sys_kill): cast using MS mandated defines.
1580 1999-04-29 Andy Piper <andy@xemacs.org>
1582 * m/intel386.h: remove redundant definitions.
1584 * s/mingw32.h: new header for mingw32.
1586 * unexnt.c: (open_input_file): function moved to nt.c.
1587 (close_file_data): ditto.
1588 (rva_to_section): function moved to ntproc.
1590 * symsinit.h: declare syms_of_ntproc();
1592 * objects-msw.c (mswindows_font_instance_truename): new function.
1594 * ntproc.c: remove many warnings.
1595 (_sys_read_ahead): moved from nt.c and made static.
1596 (rva_to_section): moved from unexnt.c but not defined under
1598 (win32_executable_type): implement what we can for mingw32
1600 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1602 * ntheap.h: remove declarations of functions that are now static.
1604 * ntheap.c: support static heap.
1606 * nt.h: conditionalise X_OK definition.
1608 * nt.c: eliminate many warnings and support mingw32.
1609 (open_input_file): function moved from unexnt.c and made static
1610 (close_file_data): ditto.
1611 (_sys_read_ahead): moved to ntproc.c
1613 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1615 * console-msw.h: support mingw32.
1616 * getloadavg.c: ditto.
1623 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1624 some systems don't have all of the encapsulated system calls.
1626 * callproc.c: warning elimination.
1627 * dired-msw.c: ditto.
1628 * process-nt.c: ditto.
1629 * realpath.c: ditto.
1631 * Makefile.in.in: tweak : and ; for building under mswindows.
1633 1999-04-26 Michael Harnois <mharnois@willinet.net>
1635 * eldap.c (allocate_ldap): Adapt to the new semantics of
1636 alloc_lcrecord_type().
1638 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1640 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1642 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1644 * Delete mule-coding.c and mule-coding.h because they are not
1647 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1649 * objects.c (print_font_instance): Check for NILP(f->device),
1650 i.e. Vthe_null_font_instance.
1651 (font_instance_truename_internal): ditto.
1652 (Ffont_instance_properties): ditto.
1654 1999-04-22 Olivier Galibert <galibert@pobox.com>
1656 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1659 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1661 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1662 it easier to add new ones.
1664 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1666 * symbols.c (reject_constant_symbols): Ditto.
1667 (init_symbols_once_early): Ditto.
1669 * print.c (print_symbol): Don't use ->obarray.
1671 * symbols.c (Funintern): Ditto.
1673 * alloc.c (Fmake_symbol): Don't set ->obarray.
1675 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1677 * symbols.c (init_symbols_once_early): Removed
1678 Vpure_uninterned_symbol_table.
1679 (Fintern): Don't store to ->obarray field.
1681 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1683 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1684 (eq_with_ebola_notice): Remove abracadabra support.
1686 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1688 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1689 retrieve the distinguished names of entries
1691 1999-03-08 Martin Buchholz <martin@xemacs.org>
1693 * lread.c (read_escape): Make hex escapes read only two hex digits.
1695 1999-04-05 Olivier Galibert <galibert@pobox.com>
1697 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1698 * make-src-depend: Remove puresize-adjust.h.
1699 * src-headers: Remove puresize-adjust.h.
1700 * config.h.in: Kill everything purespace/gung-ho related.
1702 * dbxrc: Make gung-ho mandatory.
1705 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1706 c_readonly and lisp_readonly. Remove implementation arrays.
1707 (C_READONLY_RECORD_HEADER_P): Added.
1708 (LISP_READONLY_RECORD_HEADER_P): Added.
1709 (SET_C_READONLY_RECORD_HEADER): Added.
1710 (SET_LISP_READONLY_RECORD_HEADER): Added.
1712 * lisp.h: Kill everything purespace/non gung-ho related.
1713 (CHECK_C_WRITEABLE): Added.
1714 (CHECK_LISP_WRITEABLE): Added.
1715 (C_READONLY): Added.
1716 (LISP_READONLY): Added.
1718 * lisp-union.h: Make gung-ho mandatory.
1719 * lisp-disunion.h: Ditto.
1721 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1722 set_lheader_implementation calls.
1723 (c_readonly): Added.
1724 (lisp_readonly): Added.
1725 (make_string_nocopy): Added.
1726 (Fpurecopy): Changed to do nothing. Kept the old documentation
1727 for reference purposes for the next patches.
1728 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1729 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1730 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1732 * fns.c: Make gung-ho mandatory.
1733 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1735 (Ffillarray): Ditto.
1737 * data.c: Make gung-ho mandatory.
1738 (pure_write_error): Removed.
1739 (c_write_error): Added.
1740 (lisp_write_error): Added.
1741 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1745 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1746 make_string or make_string_nocopy. Fix various
1747 alloc_lcrecord_type.
1749 * lread.c: Remove everything purespace related.
1750 (Flocate_file_clear_hashing): purified -> c_readonly.
1751 (locate_file): Ditto.
1752 (read_atom): make_pure_pname -> make_string.
1754 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1756 (Fdump_emacs): Ditto.
1758 * print.c (print_internal): Make gung-ho mandatory.
1759 * ntheap.c (sbrk): Ditto.
1760 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1761 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1763 * sheap.c (more_static_core): Remove puresize-adjust.h from
1766 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1768 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1769 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1770 * events.c (deinitialize_event): Fix set_lheader_implementation.
1771 (zero_event): Ditto.
1772 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1773 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1774 * mule-charset.c (make_charset): Ditto.
1775 * console.c (allocate_console): Ditto.
1776 (complex_vars_of_console): Ditto.
1777 * file-coding.c (allocate_coding_system): Ditto.
1778 * device.c (allocate_device): Ditto
1779 * gui-x.c (gcpro_popup_callbacks): Ditto.
1780 * extents.c (allocate_extent_auxiliary): Ditto.
1781 (allocate_extent_info): Ditto.
1782 (copy_extent): Ditto.
1783 * glyphs.c (allocate_image_instance): Ditto.
1784 (allocate_glyph): Ditto.
1785 * frame.c (allocate_frame_core): Ditto.
1786 * database.c (allocate_database): Ditto.
1787 * tooltalk.c (make_tooltalk_message): Ditto.
1788 (make_tooltalk_pattern): Ditto.
1789 * rangetab.c (Fmake_range_table): Ditto.
1790 (Fcopy_range_table): Ditto.
1791 * process.c (make_process_internal): Ditto.
1792 * chartab.c (Fmake_char_table): Ditto.
1793 (make_char_table_entry): Ditto.
1794 (copy_char_table_entry): Ditto.
1795 (Fcopy_char_table): Ditto.
1796 * elhash.c (make_general_lisp_hash_table): Ditto.
1797 (Fcopy_hash_table): Ditto.
1798 * buffer.c (allocate_buffer): Ditto.
1799 (complex_vars_of_buffer): Ditto.
1800 * event-stream.c (allocate_command_builder): Ditto.
1801 * objects.c (Fmake_color_instance): Ditto.
1802 (Fmake_font_instance): Ditto.
1803 (vars_of_objects): Ditto.
1804 * toolbar.c (update_toolbar_button): Ditto.
1805 * window.c (allocate_window): Ditto.
1806 (make_dummy_parent): Ditto.
1807 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1808 (vars_of_window): Fix make_lcrecord_list.
1809 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1811 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1812 * opaque.c (make_opaque): Fix alloc_lrecord.
1813 (make_opaque_list): Fix alloc_lrecord_type.
1815 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1817 * process.c (Fstart_process_internal): Ditto.
1819 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1822 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1824 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1827 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1828 (emodules_load): Use it when calling locate_file().
1830 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1833 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1834 (vars_of_callproc): Initialize it.
1835 (Fcall_process_internal): Use it when calling locate_file().
1837 * alloc.c (disksave_object_finalization): Use
1838 Flocate_file_clear_hashing().
1840 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1841 given `t' as argument.
1843 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1845 * lread.c (locate_file): Expand `pathel' when appropriate.
1846 (Flocate_file_clear_hashing): Expand path elements.
1847 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1849 * dired.c (make_directory_hash_table): Create the hash-table only
1850 if the directory open is successful.
1852 * lread.c (decode_mode_1): New function.
1853 (decode_mode): Ditto.
1854 (Flocate_file): Use them.
1855 (Flocate_file): Expand FILENAME.
1856 (locate_file_map_suffixes): New function.
1857 (locate_file_in_directory_mapper): New function.
1858 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1859 and locate_file_map_suffixes().
1860 (locate_file_construct_suffixed_files): Use
1861 locate_file_map_suffixes().
1862 (locate_file_without_hash): Don't GCPRO path.
1863 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1864 (syms_of_lread): Remove Qlocate_file_hash_table.
1865 (locate_file_find_directory_hash_table): Use
1866 Vlocate_file_hash_table.
1867 (locate_file_refresh_hashing): Ditto.
1869 * lread.c: Renamed read_objects to Vread_objects.
1871 1999-04-16 Olivier Galibert <galibert@pobox.com>
1873 * mule-charset.c: Generally resync with fsf 20.3 charset
1875 (make_charset): Add long and short name. Use id instead of
1877 (Fmake_charset): Ditto.
1878 (Fmake_reverse_direction_charset): Ditto.
1879 (Fcharset_property): Ditto.
1880 (Fcharset_short_name): Added.
1881 (Fcharset_long_name): Added.
1882 (Fcharset_description): Renamed from charset-doc-string.
1883 (syms_of_mule_charset): Synced symbols.
1884 (complex_vars_of_mule_charset): Synced charsets.
1886 * mule-charset.h: Removed leading byte (uses id instead), added
1887 short and long name.
1889 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1891 * file-coding.c (Fdefine_coding_system_alias): New function.
1893 1999-04-08 Olivier Galibert <galibert@pobox.com>
1895 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1896 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1898 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1900 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1901 attach to the extent is valid.
1903 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1905 * dired.c (user_name_completion): Mule-ize.
1906 (user_name_completion): Use xmalloc/xrealloc/xfree.
1907 (user_name_completion): Use DO_REALLOC.
1908 (user_name_completion): Cut down the number of static variables;
1910 (user_name_completion): Username completion is always
1913 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1915 * fns.c (base64_decode_1): Remove COUNTER.
1916 (base64_decode_1): Accept CRLF in addition to CR.
1917 (base64_decode_1): Disallow a stray character after final EOF; the
1918 check was probably a remnant of buggy recode code.
1920 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1922 * fns.c (init_provide_once): Provide `base64'.
1924 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1926 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1927 (Fbase64_encode_region): If buffer is read-only, bail out early.
1928 (Fbase64_decode_region): Ditto.
1929 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1931 (Fbase64_encode_string): Ditto.
1932 (Fbase64_decode_region): Ditto.
1933 (Fbase64_decode_string): Ditto.
1935 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1937 * dired.c (Fdirectory_files): Remove redundant code.
1939 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1941 * frame-msw.c Make raise-frame restore minimised windows.
1943 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1945 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1948 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1950 * toolbar-msw.c Consider captions when deciding whether to rebuild
1951 toolbar. This fixes the initial toolbar display for those of us
1952 who don't like captions. These patches applied by Andy Piper.
1954 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1956 * XEmacs 21.2.13 is released
1958 1999-03-12 SL Baur <steve@xemacs.org>
1960 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1962 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1964 * file-coding.c: docstring and comment improvements.
1965 (decode_ucs4) flag possible data loss with comment.
1967 1999-03-10 Martin Buchholz <martin@xemacs.org>
1969 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1973 (decode_coding_ucs4):
1974 (encode_coding_ucs4):
1975 (detect_coding_utf8):
1976 (decode_coding_utf8):
1978 (encode_coding_utf8):
1979 Add CHECK_* macros where needed to avoid crashes.
1980 #ifdef out all composite character support using
1981 #ifdef ENABLE_COMPOSITE_CHARS
1982 Use normal XEmacs coding standards.
1984 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1986 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1988 * file-coding.c (make-coding-system): Add description about
1989 `ucs-4' and `utf-8'.
1990 (detection_state): Modify to implement ucs-4 and utf-8.
1991 (detect_coding_type): Likewise.
1992 (detect_coding_ucs4): New implementation.
1993 (detect_coding_utf8): New implementation.
1994 (encode_utf8): fixed.
1995 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1998 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2000 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2001 2022 registry to private area.
2003 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2005 * file-coding.c (encode_utf8): New function.
2006 (encode_coding_utf8): New implementation.
2008 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2010 * file-coding.c (ucs_to_mule_table): New variable; abolish
2011 `Vucs_to_mule_table'
2012 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2013 (set-ucs-char): New function.
2014 (ucs_to_char): New function.
2015 (ucs-char): New function.
2016 (set-char-ucs): New function.
2017 (char-ucs): New function.
2018 (decode_ucs4): Use `ucs_to_char'.
2019 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2020 `mule-to-ucs-table'.
2022 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2024 * chartab.h: EXFUN `Fget_char_table'.
2026 * file-coding.c (encode_ucs4): New function.
2027 (encode_coding_ucs4): Use `encode_ucs4'.
2029 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2031 * file-coding.c (decode_coding_ucs4): New implementation.
2033 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2035 * file-coding.c (decode_coding_ucs4): fixed.
2037 * file-coding.c (Vmule_to_ucs_table): New variable.
2038 (mule_char_to_ucs4): New function.
2039 (encode_coding_ucs4): New implementation.
2040 (complex_vars_of_mule_coding): Define variable
2041 `mule-to-ucs-table'.
2043 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2045 * file-coding.c (decode_coding_utf8): New implementation.
2047 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2049 * file-coding.c (decode_coding_utf8): fixed.
2051 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2053 * file-coding.c (Vucs_to_mule_table): New variable.
2054 (decode_ucs4): Refer `Vucs_to_mule_table'.
2055 (complex_vars_of_mule_coding): Define variable
2056 `ucs-to-mule-table'.
2058 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2060 * file-coding.c (detect_coding_ucs4): New function (not
2062 (decode_coding_ucs4): New function.
2063 (encode_coding_ucs4): New function (not implemented yet).
2064 (detect_coding_utf8): New function (not implemented yet).
2065 (decode_coding_utf8): New function.
2066 (encode_coding_utf8): New function (not implemented yet).
2067 (make-coding-system): New type `ucs4' and `utf8'.
2068 (coding-system-type): Likewise.
2069 (detection_state): Add `ucs4' and `utf8'.
2070 (detect_coding_type): Likewise.
2071 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2072 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2073 (decode_ucs4): New function (very incomplete).
2074 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2076 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2078 1999-03-08 Martin Buchholz <martin@xemacs.org>
2081 (non_ascii_valid_char_p):
2082 (lookup_composite_char):
2083 (composite_char_string):
2084 (make-composite-char):
2085 (composite-char-string):
2086 (syms_of_mule_charset):
2087 (complex_vars_of_mule_charset):
2088 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2089 (CHAR_LEADING_BYTE):
2091 * file-coding.h (CODING_STATE_COMPOSITE):
2092 (CODING_STATE_ISO2022_LOCK):
2094 (LEADING_BYTE_COMPOSITE):
2095 * file-coding.c (struct iso2022_decoder):
2098 (parse_iso2022_esc):
2099 (encode_coding_iso2022):
2100 #ifdef out all composite character support using
2101 #ifdef ENABLE_COMPOSITE_CHARS
2103 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2105 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2107 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2108 way of `Fbase64_encode_region'.
2110 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2112 * fns.c (base64_encode_1): Don't add a newline at the tail.
2114 1999-03-08 Andy Piper <andy@xemacs.org>
2116 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2119 1999-03-07 Martin Buchholz <martin@xemacs.org>
2121 * console-stream.h (struct stream_console):
2122 * event-unixoid.c (event_stream_unixoid_select_console):
2123 (event_stream_unixoid_unselect_console):
2124 * print.c (Fexternal_debugging_output):
2125 * sysdep.c (reset_one_device):
2126 * console-stream.c (stream_init_console):
2127 (stream_delete_console):
2128 (allocate_stream_console_struct): move into stream_init_console.
2129 (free_stream_console_struct): move into stream_delete_console.
2130 Use `fd' only for file descriptors.
2131 Therefore, rename members of struct stream_console.
2133 * systime.h: Unix98 says sys/time.h should define select(), but
2134 some systems define that in unistd.h. So include that file always.
2136 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2137 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2138 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2140 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2144 Add #include <stdio.h>.
2145 Some versions of assert.h use printf() without #include'ing stdio.h
2147 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2148 (log_gcpro): Remove unused variable FRAME.
2149 (show_gcprohist): Ansify.
2150 Comment the #endif's
2152 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2153 after it's just been XtDestroy'ed!
2155 1999-02-18 Martin Buchholz <martin@xemacs.org>
2157 * opaque.c (print_opaque):
2161 Egcs 1.1.1 seems to have a bug where
2162 INTP (p->size_or_chain)
2163 will crash XEmacs. Fix by introducing intermediate variable.
2165 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2167 * dired.c (Fdirectory_files):
2168 (Ffile_name_completion):
2169 (Ffile_name_all_completions):
2170 (file_name_completion):
2171 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2172 avoid compiler warnings.
2173 - Fix up docstrings so that C variables match documentation.
2175 1999-03-05 Martin Buchholz <martin@xemacs.org>
2177 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2178 variables as small as possible to help out the compiler and the maintainer.
2180 * alloc.c: (disksave_object_finalization):
2181 Set all the *-load-path variables to
2182 nil, not just load-path itself. This gets the locate-file hash
2183 tables garbage collected BEFORE dump, and has the side effect of
2184 preventing crashes on OSF4.0+egcs.
2189 - Clean up gdb/dbx debugging support.
2190 - Storing an EMACS_INT in an enum is not 64-bit clean!
2191 - So change the enum to a set of separate variables.
2192 - Add test cases to help debug the debugging support!
2193 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2194 - Both dbx and gdb have been tested now.
2196 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2198 * XEmacs 21.2.12 is released
2200 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2202 * device-x.c: Support to find best visual without flashing.
2204 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2206 * database.c (berkdb_map): Add flags argument to cursor call (must
2207 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2209 1999-03-03 Martin Buchholz <martin@xemacs.org>
2213 General cleanup. Get free-hook.c working again.
2214 Remove unused functions:
2215 make_strings_hash_table, copy_hash, expand_hash_table.
2219 Always use new ANSI-style function prototypes.
2221 * unexalpha.c (unexec): Never use implicit int.
2223 * sgiplay.c (close_sound_file):
2225 (restore_audio_port):
2230 (write_mulaw_8_chunk):
2231 (write_linear_chunk):
2232 (write_linear_32_chunk):
2233 (initialize_audio_port):
2236 (set_output_format):
2237 (adjust_audio_volume):
2238 (get_current_volumes):
2240 Always use new ANSI-style function prototypes.
2241 Use unistd.h for missing prototypes.
2243 * unexelfsgi.c (round_up):
2245 (unexec): Always use new ANSI-style function prototypes
2247 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2249 * console.h (struct console_methods): Always use full ANSI prototypes
2251 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2253 1999-03-02 Andy Piper <andy@xemacs.org>
2255 * event-stream.c (init_event_stream): make sure native mswindows
2256 gets an appropriate event loop.
2258 1999-02-22 Andy Piper <andy@xemacs.org>
2260 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2261 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2262 (mswindows_raise_frame): remove comment.
2264 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2266 * XEmacs 21.2.11 is released
2268 1999-02-25 SL Baur <steve@xemacs.org>
2270 * mule-charset.c (Qleading_byte): New variable to implement
2271 charset-leading-byte function.
2272 (Fcharset_property): Use it.
2273 (syms_of_mule_charset): Initialize it.
2274 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2276 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2278 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2279 bytes per pixel counting.
2281 1999-02-15 Andy Piper <andy@xemacs.org>
2283 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2286 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2288 * fns.c (Fbase64_encode_string): New optional argument
2291 1999-02-16 Martin Buchholz <martin@xemacs.org>
2293 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2294 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2296 1999-02-10 Martin Buchholz <martin@xemacs.org>
2298 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2299 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2301 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2303 * XEmacs 21.2.10 is released
2305 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2307 * process-nt.c (nt_send_process):
2308 Fix for process-send-region/process-send-string breaking when size
2309 of the input > 128 chars: change maximum chunk size for process
2310 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2313 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2315 * XEmacs 21.2.9 is released
2317 1999-01-30 Martin Buchholz <martin@xemacs.org>
2319 * bytecode.c (funcall_compiled_function): Call
2320 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2322 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2323 #ifdef 0 out unused macro.
2325 1999-01-27 Martin Buchholz <martin@xemacs.org>
2327 * gui.c (gui_parse_item_keywords_internal): Make static.
2329 1999-01-21 Andy Piper <andy@xemacs.org>
2331 * glyphs-msw.c: add xface support.
2332 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2333 (image_instantiator_format_create_glyphs_mswindows): do device
2334 specific initialisation for xfaces.
2335 (xbm_create_bitmap_from_data): line data must be padded to a word
2338 * glyphs-x.c (xface_validate): moved to glyphs.c
2339 (xface_normalize): ditto.
2340 (xface_possible_dest_types): ditto.
2341 (image_instantiator_format_create_glyphs_x): do device specific
2342 initialisation for xfaces.
2344 * glyphs.h: declare xface symbol.
2346 * glyphs.c: move generic xface support here.
2347 (xface_validate): moved from glyphs-x.c
2348 (xface_normalize): ditto.
2349 (xface_possible_dest_types): ditto.
2350 (image_instantiator_format_create): xface declarations moved from
2353 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2355 * event-stream.c (vars_of_event_stream): Fixing documentation.
2357 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2359 * glyphs-eimage.c (gif_instantiate): Correct handling of
2360 interlaced gifs to avoid writing past the end of the eimage
2363 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2365 * search.c (Freplace_match): Handle single backslash at end of
2368 1999-01-12 William M. Perry <wmperry@aventail.com>
2370 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2371 avoid connection errors.
2373 1999-01-12 Andy Piper <andy@xemacs.org>
2375 * redisplay-output.c (redisplay_update_line): backout change that
2376 shouldn't have gone ine.
2378 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2380 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2381 collide with ldap.el
2383 1999-01-11 Andy Piper <andy@xemacs.org>
2385 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2386 (DISPLAY_LINE_YPOS): new macro.
2388 * redisplay-msw.c (mswindows_output_string): use it.
2389 (mswindows_output_pixmap): ditto.
2390 (mswindows_output_display_block): ditto.
2392 * redisplay-output.c (redisplay_output_display_block): new
2393 function. just call the devmeth, maybe insert some generic code
2395 (compare_display_blocks): use it.
2396 (output_display_line): ditto.
2397 (redisplay_unmap_subwindows_maybe): new function. potentially
2398 unmap subwindows in the given area.
2400 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2403 1999-01-10 J. Kean Johnston <jkj@sco.com>
2405 * Makefile.in.in: Set value of moduledir
2406 - Changed DUMPENV to include $(MODULEPATH)
2407 - Added install rule to install header files for use by ellcc.
2409 * config.h.in: Added INHIBIT_SITE_MODULES
2410 - Added HAVE__DLERROR
2411 - Added HAVE_DLFCN_H
2412 - Added DLSYM_NEEDS_UNDERSCORE
2416 * emodules.c: New file containing dynamic loading code.
2418 * emodules.h: New file.
2420 * emacs.c: Added variables Vmodule_directory,
2421 Vsite_module_directory, Vconfigure_module_directory and
2422 Vconfigure_site_module_directory.
2423 - (main_1): Added new variable inhibit_site_modules and command
2424 line options `-no-site-modules' and `--no-site-modules'.
2425 - (main_1): Call syms_of_module() instead of syms_of_dll().
2426 - (main_1): Call vars_of_module().
2427 - (vars_of_emacs): Introduce inhibit-site-modules,
2428 module-directory, configure-module-directory,
2429 site-module-directory, and configure-site-module-directory to the
2432 * lisp.h: Declare load_module and list_modules, as well as
2433 Vmodule_directory, Vsite_module_directory,
2434 Vconfigure_module_directory and Vconfigure_site_module_directory.
2436 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2437 - Added correct support for site-lisp directory.
2439 * symbols.c (defsubr): Modified to allow modules to add new subrs
2441 - (defsubr_macro): Same.
2442 - (defvar_magick): Only use purespace when not initialized, so
2443 that loaded modules can still add symbols.
2445 * symsinit.h: Add definitions for syms_of_module(),
2446 vars_of_module(). Removed syms_of_dll().
2448 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2449 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2450 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2452 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2453 explicitly pass -belf for native cc.
2455 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2456 hard-coding the library name.
2458 1999-01-01 <martin@xemacs.org>
2460 * device-x.c (Fx_set_font_path):
2461 Add proper cast to permit compilation under C++.
2463 * buffer.c (directory_is_current_directory):
2464 Add proper casts to permit compilation under C++.
2466 1998-12-30 Damon Lipparelli <lipp@primus.com>
2468 * event-msw.c (mswindows_wnd_proc):
2469 Fixed failure when building with MSVC 5.
2471 1998-12-29 Martin Buchholz <martin@xemacs.org>
2473 * file-coding.c (decode_coding_iso2022):
2474 - Prevent crash when decoding ISO7/Lock detected files
2475 - the usual martin fiddling
2477 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2481 Fixed failures when building with MSVC.
2482 * unexnt.c (dump_bss_and_heap):
2483 Removed compiler warning by removing bss_data variable.
2485 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2487 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2488 so that packages that distribute their own fonts can access them.
2490 1998-12-28 Andy Piper <andy@xemacs.org>
2492 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2493 that have an image provided.
2495 * glyphs.h: add Q_image decl.
2497 * glyphs-widget.c new functionality allowing images in
2499 (check_valid_glyph_or_image): new function to validate
2500 glyphs passed in through :image.
2501 (widget_normalize): new function. convert :image parameters into
2502 real glyphs if not already so.
2503 (widget_instantiate_1): mess with size parameters to be similar to
2505 (syms_of_glyphs_widget): new keyword :image.
2506 (image_instantiator_format_create_glyphs_widget): normalize
2507 buttons and allow :image.
2509 1998-12-27 Andy Piper <andy@xemacs.org>
2511 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2513 * glyphs-widget.c (check_valid_anything): no-op function.
2514 (check_valid_callback): check callbacks in gui_items.
2515 (check_valid_symbol): as it sounds.
2516 (check_valid_string_or_vector): ditto.
2517 (widget_validate): modified for descriptors that are vectors or
2518 sequences of keyword/val pairs.
2519 (widget_instantiate_1): ditto.
2520 (image_instantiator_format_create_glyphs_widget): allow gui_item
2521 keywords in the instantiator.
2523 * gui.c (gui_parse_item_keywords_internal): renamed from
2524 gui_parse_item_keywords but taking error behaviour.
2525 (gui_parse_item_keywords): use it.
2526 (gui_parse_item_keywords_no_errors): ditto.
2527 (gui_item_add_keyval_pair): add Error_behavior flag and only
2528 signal invalid keywords if required.
2530 * gui.h: new gui signatures.
2532 * menubar.c (menu_parse_submenu_keywords): use new
2533 gui_item_add_keyval_pair signature.
2535 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2537 1998-12-28 Martin Buchholz <martin@xemacs.org>
2539 * XEmacs 21.2.8 is released.
2541 1998-12-28 Martin Buchholz <martin@xemacs.org>
2543 * editfns.c (get_home_directory):
2544 (user-home-directory): Simplify.
2547 * callproc.c (child_setup):
2548 - Environment variables were being passed to inferior processes
2549 using internal encoding.
2550 - Convert to external encoding.
2551 - Rename local var `tem' to better name `tail'.
2552 - Use Flength instead of `manual' calculation.
2554 * buffer.c (kill-buffer):
2556 (set-buffer-major-mode):
2558 - Fix up parameter names to correspond to docstrings.
2559 - Don't use `bufname' when a buffer will do as well.
2560 - Remove one unneeded GCPRO.
2562 * buffer.h (initial_directory):
2563 * buffer.c (init_initial_directory):
2564 - use correct conversions between internal and external format.
2565 (directory_is_current_directory): new function
2566 (init_buffer): convert initial_directory to internal format.
2567 - solve crashes when current working directory is non-ASCII.
2569 * alloc.c (xmalloc):
2572 - remove stupid casts, since XEmacs requires an ANSI C system.
2573 (lrecord_type_index): replace abort() with more readable assert().
2575 (reset_lcrecord_stats): remove.
2576 (sweep_lcrecords_1):
2577 - replace call to reset_lcrecord_stats() with call to xzero().
2579 1998-12-27 Martin Buchholz <martin@xemacs.org>
2581 * process-unix.c (unix_create_process):
2582 - Fix crash invoking program with non-ASCII name.
2583 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2584 - Remove unused variable `env'.
2585 - Rename `temp' to better name `save_errno'.
2586 - Reorganize code for clarity. But still too chicken to nuke the
2589 1998-12-24 Martin Buchholz <martin@xemacs.org>
2591 * XEmacs 21.2.7 is released.
2593 1998-12-23 Martin Buchholz <martin@xemacs.org>
2595 * glyphs.c (decode_device_ii_format):
2597 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2599 * glyphs-x.c (x_subwindow_instantiate):
2600 - A image instance mask was being assigned to a image instance type!
2601 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2603 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2605 * glyphs-x.h: Make indentation consistent.
2607 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2609 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2611 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2615 Move declarations of decode_device_ii_format and
2616 decode_image_instantiator_format into glyphs.h where they belong.
2618 1998-12-22 Martin Buchholz <martin@xemacs.org>
2620 * frame-x.c (x_delete_frame): Revert part of my changes at the
2621 suggestion of Gunnar Evermann - unfortunately no one really
2622 understands this code.
2624 * callproc.c (init_callproc): code cleanup.
2626 * free-hook.c (malloc):
2631 (block_input_malloc):
2632 (block_input_realloc):
2633 * device-x.c (x_delete_device):
2634 * emacs.c (voodoo_free_hook):
2635 * events.c (print_event):
2637 (CHECK_EVENT_TYPE2):
2638 (CHECK_EVENT_TYPE3):
2639 Use proper prototypes.
2640 Make C_E_T macros a little faster.
2641 Pedantic fiddly little changes. You really don't care.
2643 1998-12-22 Andy Piper <andy@xemacs.org>
2645 * redisplay-output.c (redisplay_clear_region): make sure that
2646 fg/bg colors get set even when we are in the border area.
2648 1998-12-13 Martin Buchholz <martin@xemacs.org>
2650 * console-msw.c: Function definitions follow coding standards
2651 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2653 1998-12-11 Martin Buchholz <martin@xemacs.org>
2655 * events.h (struct timeout_data):
2656 * event-tty.c (tty_timeout_to_emacs_event):
2657 * event-msw.c (mswindows_wm_timer_callback):
2658 * event-Xt.c (Xt_timeout_to_emacs_event):
2659 * event-msw.c (mswindows_cancel_dispatch_event):
2660 Make sure Lisp_Objects inside events are initialized to Qnil, not
2661 Qnull_pointer, which is now illegal.
2663 1998-12-10 Martin Buchholz <martin@xemacs.org>
2665 * lisp.h: Fix up prototypes to match alloc.c
2667 1998-12-08 Martin Buchholz <martin@xemacs.org>
2669 * windowsnt.h: Remove `support' for using index and rindex
2671 * filelock.c (current_lock_owner):
2672 - Change uses of index -> strchr, rindex -> strrchr
2674 1998-12-07 Martin Buchholz <martin@xemacs.org>
2676 * sysdep.c (set_descriptor_non_blocking):
2677 Since O_NONBLOCK is now always #defined, make use of fcntl
2678 conditional on F_SETFL being defined.
2680 * console-msw.c (DHEADgER):
2689 - max_align_t should not be visible to the user of the
2691 - use Bufbyte instead of char
2692 - parens around (FOOP (obj)) are always redundant.
2693 If they were necessary, we should fix the macro instead.
2694 - Always use string_data(foo) instead of foo->data.
2697 1998-12-06 Martin Buchholz <martin@xemacs.org>
2699 * frame-msw.c (mswindows_init_frame_1):
2700 - use make_lisp_hash_table, not Fmake_hash_table
2704 * alloc.c (make_vector): remove travesty
2708 (make_bit_vector_internal):
2710 (make_bit_vector_from_byte_vector):
2712 - make vector_equal a little faster.
2713 - Don't use variable name `new'.
2714 - Use size_t instead of EMACS_INT.
2715 - usual Martin-style pointless bit-twiddling.
2721 Make mapcar faster. In particular, make
2722 (mapc #'identity long-string)
2723 MUCH faster under Mule.
2724 * tests/automated/lisp-tests.el: Test 'em!
2726 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2729 1998-12-01 Martin Buchholz <martin@xemacs.org>
2731 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2732 Qnil, not NULL, to initialize `null' Lisp_Objects.
2734 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2736 * specifier.c (display_table_validate): Update.
2738 * redisplay.c (create_text_block): Use them.
2740 * glyphs.c (display_table_entry): New function.
2741 (get_display_tables): Ditto.
2743 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2745 * eldap.c (toplevel): Mention that eldap.c compiles with
2747 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2748 (Fldap_search_internal): Ditto
2750 1998-12-11 Martin Buchholz <martin@xemacs.org>
2752 * event-msw.c (mswindows_cancel_dispatch_event):
2753 Gratuitous code prettification
2756 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2758 * fns.c (Fnconc): Fix use of wrong_type_argument().
2760 * floatfns.c (Ffloat): Fix docstring.
2761 (Ffloat): Fix use of wrong_type_argument().
2763 (extract_float): Ditto.
2768 1998-12-06 Martin Buchholz <martin@xemacs.org>
2770 * frame-msw.c (mswindows_init_frame_1):
2771 - use make_lisp_hash_table, not Fmake_hash_table
2775 * alloc.c (make_vector): remove travesty
2779 (make_bit_vector_internal):
2781 (make_bit_vector_from_byte_vector):
2783 - make vector_equal a little faster.
2784 - Don't use variable name `new'.
2785 - Use size_t instead of EMACS_INT.
2786 - usual Martin-style pointless bit-twiddling.
2792 Make mapcar faster. In particular, make
2793 (mapc #'identity long-string)
2794 MUCH faster under Mule.
2795 * tests/automated/lisp-tests.el: Test 'em!
2797 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2800 1998-12-02 Didier Verna <verna@inf.enst.fr>
2802 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2803 accelerator field to nil for labels.
2805 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2807 * menubar-msw.c (displayable_menu_item):
2808 Escape occurrences of '&' and support occurrences of the
2809 '%_' accelerator indicator in menus.
2811 1998-11-26 Didier Verna <verna@inf.enst.fr>
2813 * dired.c (Fdirectory_files): use make_string instead of
2814 make_ext_string on the filename. The conversion external->internal
2815 format is already done in sys_readdir.
2817 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2819 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2821 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2824 (Belatedly) added Kirill to list of file's authors.
2825 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2826 quit checking. WM_PAINT messages cause redisplay, but
2827 windows' states are not necessarily stable when this function
2830 1998-12-17 Andy Piper <andy@xemacs.org>
2832 * strftime.c (zone_name): CONSTify.
2834 1998-12-15 Andy Piper <andy@xemacs.org>
2836 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2837 (mswindows_widget_property): return Qunbound when no property available.
2838 (mswindows_button_property): ditto.
2839 (mswindows_combo_property): ditto.
2840 (mswindows_widget_set_property): ditto.
2842 * glyphs-widget.c (check_valid_item_list): use properties.
2844 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2846 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2847 (Fimage_instance_property): ditto.
2848 * glyphs-widget.c (widget_property): ditto.
2849 (widget_set_property): ditto.
2851 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2852 as setting the class cursor so that GC actually changes the
2855 * config.h: don't undef MAIL_USE_POP.
2857 1998-12-13 Andy Piper <andy@xemacs.org>
2860 (image_instantiator_format_create_glyphs_mswindows): line ->
2862 (mswindows_label_instantiate): ditto. Play with window flags.
2863 (image_instantiator_format_create_glyphs_mswindows): ditto.
2864 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2866 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2867 cope with lines and labels.
2868 (static_instantiate): use widget_instantiate_1.
2870 (image_instantiator_format_create_glyphs_widget): ditto.
2872 1998-12-10 Andy Piper <andy@xemacs.org>
2874 * Makefile.in.in (objs): add gui.o
2876 1998-12-10 Andy Piper <andy@xemacs.org>
2878 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2881 1998-12-09 Andy Piper <andy@xemacs.org>
2883 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2884 image instance is removed so that the subwindow cache gets reset
2885 and thus destroyed images get GC'd.
2887 1998-12-08 Andy Piper <andy@xemacs.org>
2889 * gui-msw.c (mswindows_handle_gui_wm_command): call
2890 MARK_SUBWINDOWS_CHANGED.
2892 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2893 subwindows really get deleted.
2895 * redisplay.c: new variable subwindows_changed[_set].
2896 (redisplay_window): use it.
2897 (redisplay_frame): ditto.
2898 (redisplay_device): ditto.
2899 (redisplay_without_hooks): ditto.
2901 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2902 subwindows redisplay as per glyphs equivalent.
2903 * redisplay.h: ditto.
2904 (MARK_SUBWINDOWS_CHANGED): ditto.
2905 (RESET_CHANGED_SET_FLAGS): ditto.
2906 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2908 1998-12-07 Andy Piper <andy@xemacs.org>
2910 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2913 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2915 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2916 messages and paint widget glyphs as appropriate with their face fg
2919 1998-12-06 Andy Piper <andy@xemacs.org>
2921 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2922 here rather than in glyphs-widget - do this because we only want
2923 to provide what is really available.
2925 * glyphs.c (Fimage_instance_property): new function to get the
2926 properties of image instances. wires through to console specific
2927 methods and then to widget specific methods.
2928 (Fset_image_instance_property): ditto but for setting widget properties.
2929 (check_valid_face): make extern so that it can be used elsewhere.
2931 * glyphs-widget.c (widget_property): new function. gets the
2932 properties of widgets in general and wires the function through to
2933 widget specific ones.
2934 (widget_set_property): ditto but for setting widget properties.
2936 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2937 add items to the list. Play with window styles a bit to get the
2939 (mswindows_widget_property): break out specific widget properties.
2940 (mswindows_button_property): new function. gets the checked state
2942 (mswindows_combo_property): new function. gets the current
2943 selection in the combo box.
2944 (mswindows_widget_set_property): new function. sets specific
2945 properties of specific widgets.
2947 * glyphs-widget.c (check_valid_item_list): new function. check
2948 that items for a combo-box are just a list of strings.
2949 (combo_validate): new function. check there is an item list.
2950 (widget_instantiate_1): new function. renamed from
2951 widget_instantiate so that we can do slightly different things for
2953 (widget_instantiate): call widget_instantiate_1.
2954 (combo_instantiate): new function to instantiate combo boxes,
2955 defaults height to the pixel height of the number of items in the
2957 (syms_of_glyphs_widget): move widget keywords here.
2958 (image_instantiator_format_create_glyphs_widget): use new combo
2961 1998-12-04 Andy Piper <andy@xemacs.org>
2963 * event-msw.c (mswindows_wnd_proc): mule-ize.
2965 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2967 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2968 (resource_name_to_resource): ditto.
2969 (mswindows_resource_instantiate): ditto.
2970 (mswindows_widget_instantiate): ditto.
2971 (mswindows_widget_set_property): ditto.
2973 * redisplay-output.c (redisplay_output_subwindow): don't show
2974 subwindows if they are obscured at the edge of the frame, emacs
2975 gets into some sort of redisplay loop otherwise.
2977 * gui.h: prototype gui_item_selected_p.
2979 * gui.c (gui_item_selected_p): new function to determine the
2980 selected state of a gui_item.
2982 * frame.h (struct frame): add subwindows_changed flag.
2984 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2986 * glyphs.c (update_subwindow): new function to update a
2988 (update_frame_subwindows): new function to update all the
2989 subwindows on a frame.
2991 * console.h (struct console_methods): add update_subwindow.
2993 * glyphs-msw.c (mswindows_widget_property): return selected state
2994 for selected property.
2995 (mswindows_update_subwindow): new function. updates widget glyphs
2996 in redisplay as per menubars or toolbars e.g. selected state.
2997 (console_type_create_glyphs_mswindows): add update_subwindow.
2999 1998-12-03 Andy Piper <andy@xemacs.org>
3001 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3002 tty coding system things are such.
3004 * glyphs-widget.c (widget_face_font_info): new function for
3005 pulling out height and width metrics for a widget's face.
3006 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3009 * event-msw.c (mswindows_drain_windows_queue): translate messages
3010 that are destined for subwindows. This makes edit fields interact
3011 with the keyboard correctly.
3012 nuke warnings by #ifndef'ing out stuff not required by msg select().
3014 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3015 macro defining the iiforma without the symbol required by widget.
3016 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3018 * general.c (syms_of_general): add Qwidget, Qselected.
3020 * faces.c (complex_vars_of_faces): add widget face inheriting from
3023 1998-11-09 Andy Piper <andy@xemacs.org>
3025 * window.h (struct window): add a cache of subwindows on a
3028 * window.c (mark_window): mark the subwindow_instance_cache.
3029 (allocate_window): initialise the subwindow instance_cache.
3031 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3032 instead of the devmeth.
3033 (x_clear_toolbar): ditto.
3035 * redisplay-x.c (x_output_display_block): call
3036 redisplay_output_subwindow for subwindows and widgets.
3038 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3039 types to do nothing for.
3041 * lisp.h: declare new widget/subwindow symbols.
3043 * glyphs.c (image_instantiate): cache subwindows on a per-window
3045 (subwindow_possible_dest_types): new function for subwindow dest
3047 (subwindow_instantiate): generic instantiation of a
3048 subwindow. specialised by device multi-methods.
3049 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3051 (Fimage_instance_subwindow_id): ditto.
3052 (Fresize_subwindow): ditto.
3053 (Fforce_subwindow_map): ditto.
3055 * glyphs-x.c (x_print_image_instance): remove subwindow
3056 stuff. Handled genrically in glyphs.c.
3057 (x_image_instance_equal): ditto.
3058 (x_image_instance_hash): ditto.
3059 (x_finalize_image_instance): delete subwindows when required.
3060 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3061 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3062 glyph-based, subwindow implementation.
3063 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3065 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3067 (x_unmap_subwindow): new function to unmap X subwindows.
3068 (x_map_subwindow): new function to map X subwindows.
3069 (x_subwindow_instantiate): new function to instantiate X
3071 (x_resize_subwindow): new function to resize X subwindows.
3072 (console_type_create_glyphs_x): add subwindow functions.
3073 (image_instantiator_format_create_glyphs_x): add device
3074 multi-methods for xpm, xbm and subwindow.
3076 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3077 (subwindow-width): ditto.
3078 (subwindow-height): ditto.
3080 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3081 generally instantiating ms subwindows. Used by
3082 mswindows_*_instantiate.
3083 (mswindows_edit_instantiate): instantiate an edit field on a
3086 1998-11-04 Andy Piper <andy@xemacs.org>
3088 * symsinit.h: declare new functions.
3090 * redisplay.h: declare new functions.
3092 * redisplay-x.c (x_output_display_block): call
3093 redisplay_clear_region rather than x_clear_region.
3094 (x_output_string): ditto.
3095 (x_output_pixmap): ditto.
3096 (x_clear_to_window_end): ditto.
3097 (x_output_eol_cursor): ditto.
3098 (x_clear_region): only do X specific things. other duties handled
3099 in redisplay_clear_region.
3101 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3102 duties moved to redisplay_clear_region.
3104 * redisplay-output.c (clear_left_border): use
3105 redisplay_clear_region instead of device method.
3106 (clear_right_border): ditto.
3107 (output_display_line): ditto.
3108 (redisplay_output_subwindow): ditto.
3109 (redisplay_clear_top_of_window): ditto.
3110 (redisplay_clear_region): perform duties previously handled by
3111 device methods. call the appropriate device method at the
3112 end. unmap subwindows if necessary.
3114 * redisplay-msw.c (mswindows_output_string): use
3115 redisplay_clear_region instead of mswindows_clear_region.
3116 (mswindows_clear_to_window_end): ditto.
3117 (mswindows_output_display_block): output subwindows when required.
3118 (mswindows_clear_region): only do mswindows specific things,
3119 everything else is now handled in redisplay_clear_region.
3121 * gui.h: add item id hash defines and declare function prototypes.
3123 * gui.c (mark_gui_item): new function for marking gui_items.
3124 (gui_item_hash): generic hash function for generating command ids
3127 * gui-msw.c: new file.
3128 (mswindows_handle_gui_wm_command): new function to handle widget
3131 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3133 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3134 (DEFINE_DEVICE_IIFORMAT): ditto.
3135 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3136 (struct Lisp_Image_Instance): add widget and subwindow data plus
3137 appropriate access functions.
3139 * glyphs.c (decode_device_ii_format): new function for decoding
3140 image instantiator functions based on a device type as well as an
3142 (decode_image_instantiator_format): just call
3143 decode_device_ii_format with nil device.
3144 (add_entry_to_device_ii_format_list): new function for per device
3146 (add_entry_to_image_instantiator_format_list): just call
3147 add_entry_to_device_ii_format_list with nil device.
3148 (check_valid_vector): new function.
3149 (instantiate_image_instantiator): instantiate using per-format
3150 method and then per-format-per-device method (device
3151 multi-methods). signal an error if neither is possible.
3152 (mark_image_instance): cope with subwindows and widgets.
3153 (print_image_instance): ditto.
3154 (image_instance_equal): ditto.
3155 (image_instance_hash): ditto.
3156 (allocate_glyph): ditto.
3157 (glyph_width): ditto.
3158 (glyph_height_internal): ditto.
3159 (xpm_instantiate): removed because of device multi-methods.
3160 (mark_subwindow_cachels): new cachel functions for caching
3161 instantiated subwindows on a per-frame basis. mostly copied from
3162 glyph cachel functions.
3163 (update_subwindow_cachel_data): ditto.
3164 (add_subwindow_cachel): ditto.
3165 (get_subwindow_cachel_index): ditto.
3166 (reset_subwindow_cachels): ditto.
3167 (mark_subwindow_cachels_as_not_updated): ditto.
3168 (unmap_subwindow): generic unmapping of subwindows based on cachel
3170 (map_subwindow): ditto.
3171 (initialize_subwindow_image_instance): generic initialisation of
3173 (syms_of_glyphs): add widget keywords.
3175 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3178 1998-11-04 Andy Piper <andy@xemacs.org>
3180 * glyphs-widget.c: new file for instantiating widget type glyphs.
3181 (widget_possible_dest_types): new general dest type function for
3183 (widget_validate): ditto.
3184 (initialize_widget_image_instance): ditto
3185 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3186 before handing on control to device multi-methods.
3187 (syms_of_glyphs_widget): new function.
3188 (image_instantiator_format_create_glyphs_widget): new function,
3189 added placeholders for button, edit, combo, scrollbar
3190 (vars_of_glyphs_widget): new function.
3192 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3193 storing window ids of widgets.
3195 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3196 deletion of widget and subwindow glyphs.
3197 (mswindows_unmap_subwindow): new device function for unmapping
3198 subwindows on a msw frame.
3199 (mswindows_map_subwindow): ditto.
3200 (mswindows_register_image_instance): register instantiated widgets
3201 with the widget hastable.
3202 (mswindows_button_instantiate): instantiate a button type widget
3204 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3206 (image_instantiator_format_create_glyphs_mswindows): add device
3207 multi-methods for xbm, xpm, subwindow, edit and button.
3209 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3210 information about subwindows visible on the current frame. used by
3211 redisplay_clear_region to unmap subwindows as required.
3213 * frame.c (mark_frame): mark subwindow_cachels.
3214 (allocate_frame_core): instantiate subwindow_cachels.
3216 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3219 * event-msw.c (mswindows_wnd_proc): add call to
3220 mswindows_handle_gui_wm_command to handle widget callbacks.
3222 * emacs.c (main_1): add calls to glyphs-widget initialisation
3225 * console.h (struct console_methods): add
3226 unmap/map_subwindow_method for use be redisplay_clear_region to
3227 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3228 with by image instantiator multi-methods. Add
3229 resize_subwindow_method.
3231 * console-stream.c (stream_clear_region): change signature to
3232 match new generic clear region function.
3234 * Makefile.in.in: add glyphs-widget.o to list of objects.
3236 * console-msw.h (struct mswindows_frame): add widget hashtable for
3237 wiring command ids to callbacks.
3239 1998-12-16 Andy Piper <andy@xemacs.org>
3241 * XEmacs 21.2.6 is released
3243 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3245 * md5.c (Fmd5): Correctly initiate string input stream.
3247 * Makefile.in.in (tests): Add md5-tests.el.
3249 1998-12-06 Martin Buchholz <martin@xemacs.org>
3252 * alloc.c (make_vector): remove travesty
3256 (make_bit_vector_internal):
3258 (make_bit_vector_from_byte_vector):
3260 - make vector_equal a little faster.
3261 - Don't use variable name `new'.
3262 - Use size_t instead of EMACS_INT.
3263 - usual Martin-style pointless bit-twiddling.
3269 Make mapcar faster. In particular, make
3270 (mapc #'identity long-string)
3271 MUCH faster under Mule.
3272 * tests/automated/lisp-tests.el: Test 'em!
3274 1998-12-06 Martin Buchholz <martin@xemacs.org>
3276 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3279 1998-12-13 Martin Buchholz <martin@xemacs.org>
3281 * console-msw.c: Function definitions follow coding standards
3282 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3284 1998-12-11 Martin Buchholz <martin@xemacs.org>
3286 * events.h (struct timeout_data):
3287 * event-tty.c (tty_timeout_to_emacs_event):
3288 * event-msw.c (mswindows_wm_timer_callback):
3289 * event-Xt.c (Xt_timeout_to_emacs_event):
3290 * event-msw.c (mswindows_cancel_dispatch_event):
3291 Make sure Lisp_Objects inside events are initialized to Qnil, not
3292 Qnull_pointer, which is now illegal.
3294 1998-12-10 Martin Buchholz <martin@xemacs.org>
3296 * lisp.h: Fix up prototypes to match alloc.c
3298 1998-12-09 Andy Piper <andy@xemacs.org>
3300 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3301 XSETINT for assigning lisp objects.
3303 1998-12-07 Martin Buchholz <martin@xemacs.org>
3306 * console-msw.c (DHEADER):
3315 - max_align_t should not be visible to the user of the
3317 - use Bufbyte instead of char
3318 - parens around (FOOP (obj)) are always redundant.
3319 If they were necessary, we should fix the macro instead.
3320 - Always use string_data(foo) instead of foo->data.
3322 1998-12-07 Martin Buchholz <martin@xemacs.org>
3324 * sysdep.c (set_descriptor_non_blocking):
3325 Since O_NONBLOCK is now always #defined, make use of fcntl
3326 conditional on F_SETFL being defined.
3328 1998-12-09 Andy Piper <andy@xemacs.org>
3330 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3331 that got removed in the merge
3333 1998-11-30 Greg Klanderman <greg@alphatech.com>
3335 * dired.c (vars_of_dired): bugfix for previous conditionalization
3336 of user-name-completion on non- Windows NT.
3338 1998-12-08 Martin Buchholz <martin@xemacs.org>
3340 * windowsnt.h: Remove `support' for using index and rindex
3342 * filelock.c (current_lock_owner):
3343 - Change uses of index -> strchr, rindex -> strrchr
3345 1998-12-06 Martin Buchholz <martin@xemacs.org>
3347 * frame-msw.c (mswindows_init_frame_1):
3348 - use make_lisp_hash_table, not Fmake_hash_table
3351 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3353 * XEmacs 21.2.5 is released
3355 1998-11-30 Martin Buchholz <martin@xemacs.org>
3357 * xselect.c (receive_incremental_selection):
3358 * xselect.c (x_get_window_property):
3359 * xmu.c (XmuReadBitmapDataFromFile):
3360 * xmu.c (XmuCursorNameToIndex):
3361 * xgccache.c (describe_gc_cache):
3362 * xgccache.c (gc_cache_lookup):
3363 * xgccache.c (free_gc_cache):
3364 * xgccache.c (make_gc_cache):
3366 * window.c (map_windows_1):
3367 * window.c (Fother_window_for_scrolling):
3368 * window.c (window_scroll):
3369 * window.c (change_window_height):
3370 * window.c (Fsplit_window):
3371 * window.c (window_left_gutter_width):
3372 * window.c (window_modeline_height):
3373 * window.c (invalidate_vertical_divider_cache_in_window):
3374 * window.c (window_needs_vertical_divider_1):
3375 * window.c (update_mirror_internal):
3376 * window.c (SET_LAST_FACECHANGE):
3377 * widget.c (Fwidget_plist_member):
3378 * unexec.c (copy_text_and_data):
3379 * unexcw.c (copy_executable_and_dump_data_section):
3381 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3382 * tooltalk.c (struct Lisp_Tooltalk_Message):
3383 * toolbar.h (struct toolbar_button):
3384 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3385 * toolbar.c (recompute_overlaying_specifier):
3386 * toolbar.c (toolbar_validate):
3387 * toolbar.c (toolbar_button_at_pixpos):
3388 * toolbar.c (get_toolbar_coords):
3389 * toolbar.c (update_frame_toolbars):
3391 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3392 * toolbar-msw.c (mswindows_find_toolbar_pos):
3393 * toolbar-msw.c (mswindows_output_toolbar):
3394 * toolbar-msw.c (mswindows_clear_toolbar):
3403 * sysdep.c (sys_fopen):
3404 * sysdep.c (sys_open):
3405 * sysdep.c (tty_init_sys_modes_on_device):
3406 * sysdep.c (get_eof_char):
3407 * sysdep.c (child_setup_tty):
3408 * sysdep.c (set_descriptor_non_blocking):
3410 * syntax.c (scan_words):
3413 * symeval.h (struct symbol_value_varalias):
3414 * symeval.h (struct symbol_value_forward):
3415 * symbols.c (syms_of_symbols):
3416 * symbols.c (init_symbols_once_early):
3417 * symbols.c (Fbuilt_in_variable_type):
3418 * symbols.c (Fsymbol_value_in_buffer):
3419 * symbols.c (default_value):
3421 * symbols.c (find_symbol_value_quickly):
3422 * symbols.c (store_symval_forwarding):
3423 * symbols.c (set_default_console_slot_variable):
3424 * symbols.c (set_default_buffer_slot_variable):
3425 * symbols.c (verify_ok_for_buffer_local):
3426 * symbols.c (symbol_is_constant):
3427 * symbols.c (oblookup):
3428 * symbols.c (Funintern):
3429 * symbols.c (Fintern):
3430 * symbols.c (check_obarray):
3432 * specifier.h (struct specifier_methods):
3434 * specifier.c (specifier_instance):
3435 * specifier.c (specifier_instance_from_inst_list):
3436 * specifier.c (decode_locale_type):
3437 * specifier.c (specifier_equal):
3438 * specifier.c (finalize_specifier):
3439 * specifier.c (prune_specifiers):
3440 * specifier.c (kill_specifier_buffer_locals):
3441 * sound.c (init_native_sound):
3444 * search.c (Fmatch_data):
3445 * search.c (match_limit):
3446 * search.c (Freplace_match):
3447 * search.c (skip_chars):
3448 * search.c (scan_buffer):
3450 * scrollbar.c (specifier_vars_of_scrollbar):
3451 * scrollbar.c (Fscrollbar_set_hscroll):
3452 * scrollbar.c (vertical_scrollbar_changed_in_window):
3453 * scrollbar.c (release_window_mirror_scrollbars):
3454 * scrollbar.c (free_scrollbar_instance):
3457 * s/msdos.h (O_BINARY):
3459 * s/freebsd.h (LIBS_TERMCAP):
3460 * regex.c (re_match_2_internal):
3461 * regex.c (compile_extended_range):
3462 * regex.c (POP_FAILURE_POINT):
3463 * regex.c (PUSH_FAILURE_POINT):
3464 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3466 * redisplay.h (struct display_line):
3467 * redisplay.h (struct rune):
3468 * redisplay.c (vars_of_redisplay):
3469 * redisplay.c (redisplay_variable_changed):
3470 * redisplay.c (UPDATE_CACHE_RETURN):
3471 * redisplay.c (validate_line_start_cache):
3472 * redisplay.c (mark_redisplay_structs):
3473 * redisplay.c (mark_glyph_block_dynarr):
3474 * redisplay.c (window_line_number):
3475 * redisplay.c (redisplay_frame):
3476 * redisplay.c (redisplay_window):
3477 * redisplay.c (generate_modeline):
3478 * redisplay.c (create_right_glyph_block):
3479 * redisplay.c (create_left_glyph_block):
3480 * redisplay.c (create_text_block):
3482 * redisplay-x.c (x_output_hline):
3483 * redisplay-x.c (x_output_vertical_divider):
3484 * redisplay-tty.c (tty_output_display_block):
3485 * redisplay-output.c (output_display_line):
3486 * redisplay-output.c:
3487 * redisplay-msw.c (mswindows_output_vertical_divider):
3488 * redisplay-msw.c (mswindows_ring_bell):
3489 * redisplay-msw.c (mswindows_output_cursor):
3493 * puresize.h (RAW_PURESIZE):
3494 * profile.c (syms_of_profile):
3495 * profile.c (Fstart_profiling):
3496 * profile.c (sigprof_handler):
3499 * process.c (vars_of_process):
3500 * process.c (read_process_output):
3501 * process.c (get_process):
3503 * process-unix.c (unix_open_multicast_group):
3504 * process-unix.c (unix_get_tty_name):
3505 * process-unix.c (unix_send_process):
3506 * process-unix.c (unix_reap_exited_processes):
3507 * process-unix.c (unix_create_process):
3508 * process-unix.c (unix_init_process_io_handles):
3509 * process-unix.c (allocate_pty):
3511 * process-nt.c (nt_open_network_stream):
3512 * process-nt.c (nt_update_status_if_terminated):
3513 * process-nt.c (nt_finalize_process_data):
3515 * print.c (debug_short_backtrace):
3516 * print.c (debug_backtrace):
3517 * print.c (print_symbol):
3518 * print.c (print_internal):
3519 * print.c (print_cons):
3520 * print.c (Fwrite_char):
3521 * print.c (print_prepare):
3522 * print.c (canonicalize_printcharfun):
3523 * print.c (output_string):
3526 * opaque.c (allocate_managed_opaque):
3528 * offix.c (DndSetData):
3529 * objects.c (face_boolean_create):
3530 * objects.c (font_instantiate):
3531 * objects.c (font_create):
3532 * objects.c (color_create):
3533 * objects.c (finalize_font_instance):
3534 * objects.c (finalize_color_instance):
3536 * objects-x.c (x_font_instance_truename):
3538 * objects-x.c (x_initialize_font_instance):
3539 * objects-x.c (allocate_nearest_color):
3540 * objects-tty.c (tty_initialize_font_instance):
3541 * objects-tty.c (tty_initialize_color_instance):
3542 * objects-msw.c (mswindows_initialize_color_instance):
3543 * ntproc.c (syms_of_ntproc):
3544 * ntproc.c (Fwin32_set_process_priority):
3545 * ntproc.c (sys_spawnve):
3547 * ntheap.c (get_data_end):
3551 * nt.c (generate_inode_val):
3552 * nt.c (sys_rename):
3554 * mule-wnnfns.c (Fwnn_hinsi_number):
3555 * mule-wnnfns.c (Fwnn_yuragi):
3556 * mule-wnnfns.c (Fwnn_common_learn):
3557 * mule-wnnfns.c (Fwnn_suffix_learn):
3558 * mule-wnnfns.c (Fwnn_prefix_learn):
3559 * mule-wnnfns.c (Fwnn_okuri_learn):
3560 * mule-wnnfns.c (Fwnn_complex_conv):
3561 * mule-wnnfns.c (Fwnn_last_is_first):
3562 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3563 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3564 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3565 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3566 * mule-wnnfns.c (Fwnn_hinsi_list):
3567 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3568 * mule-wnnfns.c (Fwnn_dict_search):
3569 * mule-wnnfns.c (Fwnn_word_toroku):
3570 * mule-wnnfns.c (Fwnn_hindo_update):
3571 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3572 * mule-wnnfns.c (Fwnn_kakutei):
3573 * mule-wnnfns.c (Fwnn_begin_henkan):
3574 * mule-wnnfns.c (Fwnn_dict_comment):
3575 * mule-wnnfns.c (Fwnn_dict_add):
3576 * mule-wnnfns.c (Fwnn_open):
3577 * mule-mcpath.c (mc_getcwd):
3578 * mule-coding.c (vars_of_mule_coding):
3579 * mule-coding.c (convert_to_external_format):
3580 * mule-coding.c (encoding_marker):
3581 * mule-coding.c (decoding_marker):
3582 * mule-coding.c (Fcopy_coding_system):
3583 * mule-coding.c (Fmake_coding_system):
3584 * mule-coding.c (Fcoding_system_list):
3585 * mule-coding.c (Ffind_coding_system):
3586 * mule-coding.c (symbol_to_eol_type):
3588 * mule-charset.c (complex_vars_of_mule_charset):
3589 * mule-charset.c (vars_of_mule_charset):
3590 * mule-charset.c (Fset_charset_ccl_program):
3591 * mule-charset.c (struct charset_list_closure):
3592 * mule-charset.c (Ffind_charset):
3593 * mule-charset.c (make_charset):
3594 * mule-charset.c (non_ascii_valid_char_p):
3596 * mule-ccl.c (ccl_driver):
3597 * mule-canna.c (c2mu):
3598 * mule-canna.c (Fcanna_henkan_begin):
3599 * mule-canna.c (Fcanna_parse):
3600 * mule-canna.c (Fcanna_store_yomi):
3601 * mule-canna.c (Fcanna_touroku_string):
3602 * mule-canna.c (Fcanna_initialize):
3604 * menubar.c (menu_parse_submenu_keywords):
3605 * menubar-x.c (make_dummy_xbutton_event):
3606 * menubar-x.c (set_frame_menubar):
3607 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3610 * menubar-msw.c (mswindows_popup_menu):
3611 * menubar-msw.c (mswindows_update_frame_menubars):
3612 * menubar-msw.c (mswindows_handle_wm_command):
3613 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3614 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3615 * menubar-msw.c (update_frame_menubar_maybe):
3616 * menubar-msw.c (populate_or_checksum_helper):
3617 * menubar-msw.c (empty_menu):
3620 * marker.c (set_marker_internal):
3621 * marker.c (print_marker):
3624 * lstream.c (lisp_buffer_rewinder):
3625 * lstream.c (mark_lstream):
3627 * lrecord.h (struct lrecord_header):
3628 * lread.c (readevalloop):
3629 * lread.c (locate_file):
3630 * lread.c (locate_file_in_directory):
3631 * lread.c (Flocate_file):
3632 * lread.c (load_force_doc_string_unwind):
3633 * lread.c (ebolify_bytecode_constants):
3638 * linuxplay.c (linux_play_data_or_file):
3639 * linuxplay.c (audio_init):
3642 * keymap.c (describe_map):
3643 * keymap.c (describe_map_mapper):
3644 * keymap.c (Fdescribe_bindings_internal):
3645 * keymap.c (Fsingle_key_description):
3646 * keymap.c (map_keymap_sorted):
3647 * keymap.c (get_relevant_keymaps):
3648 * keymap.c (Flookup_key):
3649 * keymap.c (raw_lookup_key_mapper):
3650 * keymap.c (Fdefine_key):
3651 * keymap.c (Fevent_matches_key_specifier_p):
3652 * keymap.c (key_desc_list_to_event):
3653 * keymap.c (define_key_parser):
3654 * keymap.c (define_key_check_and_coerce_keysym):
3655 * keymap.c (keymap_submaps):
3656 * keymap.c (keymap_store_internal):
3657 * keymap.c (keymap_delete_inverse_internal):
3658 * keymap.c (keymap_store_inverse_internal):
3659 * keymap.c (print_keymap):
3660 * keymap.c (Lisp_Keymap):
3663 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3664 * insdel.c (make_gap):
3665 * input-method-xlib.c (get_XIM_input):
3666 * input-method-xlib.c (XIM_init_frame):
3671 * gui-x.c (button_item_to_widget_value):
3672 * gui-x.c (popup_selection_callback):
3673 * glyphs.h (struct image_instantiator_methods):
3674 * glyphs.c (mark_glyph_cachels):
3675 * glyphs.c (Fglyph_type):
3676 * glyphs.c (image_instantiate):
3677 * glyphs.c (image_create):
3678 * glyphs.c (make_image_instance_1):
3679 * glyphs.c (finalize_image_instance):
3681 * glyphs-x.c (finalize_subwindow):
3682 * glyphs-x.c (xface_validate):
3683 * glyphs-x.c (x_locate_pixmap_file):
3684 * glyphs-x.c (convert_EImage_to_XImage):
3686 * glyphs-msw.c (mswindows_resource_instantiate):
3687 * glyphs-msw.c (xpm_to_eimage):
3688 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3689 * glyphs-eimage.c (tiff_instantiate):
3690 * glyphs-eimage.c (png_instantiate):
3691 * glyphs-eimage.c (struct png_error_struct):
3692 * glyphs-eimage.c (gif_memory_storage):
3695 * getloadavg.c (getloadavg):
3698 * free-hook.c (log_gcpro):
3699 * free-hook.c (check_malloc):
3700 * free-hook.c (check_free):
3701 * free-hook.c (ROUND_UP_TO_PAGE):
3703 * frame.h (struct frame):
3705 * frame.c (change_frame_size_1):
3706 * frame.c (allocate_frame_core):
3708 * frame-x.c (x_focus_on_frame):
3709 * frame-x.c (x_init_frame_2):
3710 * frame-x.c (x_popup_frame):
3711 * frame-x.c (xemacs_XtPopup):
3713 * frame-x.c (Foffix_start_drag_internal):
3714 * frame-x.c (x_cde_destroy_callback):
3715 * frame-x.c (x_wm_hack_wm_protocols):
3716 * frame-tty.c (tty_frame_visible_p):
3717 * frame-msw.c (mswindows_make_frame_invisible):
3718 * frame-msw.c (mswindows_after_init_frame):
3719 * frame-msw.c (mswindows_init_frame_1):
3720 * fns.c (syms_of_fns):
3721 * fns.c (Fbase64_decode_string):
3723 * fns.c (Ffillarray):
3724 * fns.c (Fobject_plist):
3726 * fns.c (Fcanonicalize_lax_plist):
3727 * fns.c (Fcanonicalize_plist):
3728 * fns.c (Fplist_remprop):
3729 * fns.c (Fplist_get):
3730 * fns.c (advance_plist_pointers):
3731 * fns.c (internal_plist_put):
3732 * fns.c (Fnreverse):
3735 * fns.c (Fsubstring):
3736 * fns.c (Fbvconcat):
3738 * fns.c (length_with_bytecode_hack):
3739 * fns.c (print_bit_vector):
3741 * floatfns.c (Ffloor):
3743 * floatfns.c (in_float_error):
3744 * fileio.c (Ffile_modes):
3745 * fileio.c (Fexpand_file_name):
3746 * fileio.c (Fmake_temp_name):
3747 * fileio.c (Ffile_name_nondirectory):
3748 * fileio.c (Ffile_name_directory):
3750 * file-coding.c (vars_of_mule_coding):
3751 * file-coding.c (convert_to_external_format):
3752 * file-coding.c (encoding_marker):
3753 * file-coding.c (decoding_marker):
3754 * file-coding.c (Fcopy_coding_system):
3755 * file-coding.c (Fmake_coding_system):
3756 * file-coding.c (struct coding_system_list_closure):
3757 * file-coding.c (Ffind_coding_system):
3758 * file-coding.c (symbol_to_eol_type):
3760 * faces.h (struct face_cachel):
3761 * faces.c (vars_of_faces):
3762 * faces.c (face_property_was_changed):
3763 * faces.c (mark_face_cachels):
3764 * faces.c (temporary_faces_list):
3765 * faces.c (struct face_list_closure):
3767 * extents.h (struct extent):
3768 * extents.c (vars_of_extents):
3769 * extents.c (struct copy_string_extents_1_arg):
3770 * extents.c (add_string_extents_mapper):
3771 * extents.c (Fextent_property):
3772 * extents.c (Fset_extent_property):
3773 * extents.c (symbol_to_glyph_layout):
3774 * extents.c (properties_equal):
3775 * extents.c (print_extent):
3776 * extents.c (print_extent_1):
3777 * extents.c (extent_in_region_p):
3778 * extents.c (gap_array_make_gap):
3780 * events.h (struct Lisp_Event):
3782 * events.c (Fevent_properties):
3783 * events.c (format_event_object):
3784 * events.c (Fmake_event):
3785 * events.c (event_equal):
3786 * events.c (print_event):
3787 * events.c (mark_event):
3788 * event-stream.c ((read-char)
3789 * event-stream.c (vars_of_event_stream):
3790 * event-stream.c (syms_of_event_stream):
3791 * event-stream.c (Fset_recent_keys_ring_size):
3792 * event-stream.c (Fsit_for):
3793 * event-stream.c (Fnext_event):
3794 * event-stream.c (execute_help_form):
3795 * event-stream.c (maybe_kbd_translate):
3797 * event-msw.c (vars_of_event_mswindows):
3798 * event-msw.c (mswindows_wnd_proc):
3799 * event-msw.c (mswindows_need_event):
3800 * event-msw.c (mswindows_drain_windows_queue):
3801 * event-msw.c (mswindows_pump_outstanding_events):
3803 * event-msw.c (slurp_thread):
3804 * event-msw.c (struct ntpipe_slurp_stream):
3805 * event-msw.c (HANDLE_TO_USID):
3806 * event-Xt.c (emacs_Xt_handle_magic_event):
3807 * event-Xt.c (x_event_to_emacs_event):
3808 * event-Xt.c (x_reset_modifier_mapping):
3809 * event-Xt.c (x_reset_key_mapping):
3811 * eval.c (syms_of_eval):
3812 * eval.c (warn_when_safe):
3813 * eval.c (warn_when_safe_lispobj):
3814 * eval.c (Fbacktrace_frame):
3815 * eval.c (Fbacktrace):
3816 * eval.c (top_level_set):
3817 * eval.c (unbind_to_hairy):
3818 * eval.c (specbind_magic):
3819 * eval.c (specbind_unwind_wasnt_local):
3820 * eval.c (call2_trapping_errors):
3821 * eval.c (call1_trapping_errors):
3822 * eval.c (catch_them_squirmers_call2):
3823 * eval.c (call0_trapping_errors):
3824 * eval.c (run_hook_trapping_errors):
3825 * eval.c (catch_them_squirmers_eval_in_buffer):
3826 * eval.c (call4_in_buffer):
3827 * eval.c (call3_in_buffer):
3828 * eval.c (call2_in_buffer):
3829 * eval.c (call1_in_buffer):
3830 * eval.c (call0_in_buffer):
3831 * eval.c (run_hook):
3832 * eval.c (run_hook_with_args_in_buffer):
3835 * eval.c (do_autoload):
3836 * eval.c (un_autoload):
3837 * eval.c (Fautoload):
3838 * eval.c (Finteractive_p):
3839 * eval.c (Fcommand_execute):
3840 * eval.c (signal_quit):
3841 * eval.c (call_with_suspended_errors):
3842 * eval.c (signal_error):
3843 * eval.c (return_from_signal):
3844 * eval.c (Fcall_with_condition_handler):
3845 * eval.c (run_condition_case_handlers):
3846 * eval.c (condition_case_1):
3847 * eval.c (Funwind_protect):
3848 * eval.c (unwind_to_catch):
3849 * eval.c (internal_catch):
3850 * eval.c (Fmacroexpand_internal):
3851 * eval.c (Fuser_variable_p):
3852 * eval.c (Fdefconst):
3854 * eval.c (Ffunction):
3855 * eval.c (signal_call_debugger):
3856 * eval.c (call_debugger):
3859 * emacs.c (sort_args):
3863 * editfns.c (Fencode_time):
3864 * editfns.c (Fdecode_time):
3865 * editfns.c (Fuser_full_name):
3867 * editfns.c (save_excursion_restore):
3870 * doprnt.c (emacs_doprnt_1):
3871 * doc.c (verify_doc_mapper):
3872 * doc.c (Fsnarf_documentation):
3873 * doc.c (Fdocumentation):
3875 * dired.c (user_name_completion):
3876 * dired.c (Fdirectory_files):
3879 * dgif_lib.c (FreeSavedImages):
3880 * dgif_lib.c (DGifGetImageDesc):
3882 * device.h (struct device):
3883 * device.c (Fselect_device):
3884 * device.c (allocate_device):
3886 * device-x.c (Fx_keysym_on_keyboard_p):
3887 * device-x.c (Fx_valid_keysym_name_p):
3888 * device-x.c (x_IO_error_handler):
3889 * device-x.c (x_delete_device):
3890 * device-x.c (x_finish_init_device):
3891 * device-x.c (x_init_device):
3893 * device-msw.c (mswindows_init_device):
3895 * database.c (vars_of_database):
3896 * database.c (Fput_database):
3897 * database.c (Fopen_database):
3898 * database.c (berkdb_remove):
3899 * database.c (berkdb_put):
3900 * database.c (Fdatabasep):
3901 * database.c (print_database):
3903 * data.c (vars_of_data):
3904 * data.c (syms_of_data):
3905 * data.c (init_errors_once_early):
3906 * data.c (prune_weak_lists):
3907 * data.c (finish_marking_weak_lists):
3908 * data.c (print_weak_list):
3910 * data.c (Fstring_to_number):
3911 * data.c (Fnumber_to_string):
3912 * data.c (Findirect_function):
3915 * data.c (Fsubr_interactive):
3917 * data.c (Fkeywordp):
3920 * console.h (CONSOLE_NAME):
3922 * console.c (vars_of_console):
3923 * console.c (Fselect_console):
3925 * console-x.h (DEVICE_X_COLORMAP):
3926 * console-x.h (struct x_device):
3927 * console-x.c (x_device_to_console_connection):
3928 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3929 * console-tty.c (tty_init_console):
3931 * console-msw.h (struct mswindows_frame):
3934 * cmds.c (internal_self_insert):
3935 * cmds.c (Fforward_line):
3936 * cmds.c (Fforward_char):
3939 * chartab.c (mark_char_table_entry):
3941 * casefiddle.c (casify_word):
3942 * callproc.c (child_setup):
3943 * callproc.c (Fcall_process_internal):
3945 * callint.c (Fcall_interactively):
3947 * bytecode.c (execute_rare_opcode):
3948 * bytecode.c (execute_optimized_program):
3951 * buffer.h (BUFFER_REALLOC):
3952 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3953 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3955 * buffer.h (MAP_INDIRECT_BUFFERS):
3956 * buffer.h (CHECK_LIVE_BUFFER):
3957 * buffer.c (init_initial_directory):
3958 * buffer.c (complex_vars_of_buffer):
3959 * buffer.c (vars_of_buffer):
3960 * buffer.c (finish_init_buffer):
3961 * buffer.c (Fget_file_buffer):
3962 * buffer.c (Fbuffer_list):
3963 * buffer.c (mark_buffer):
3964 * balloon_help.c (balloon_help_move_to_pointer):
3965 * balloon_help.c (show_help):
3968 * alloc.c (garbage_collect_1):
3969 * alloc.c (sweep_strings):
3970 * alloc.c (sweep_compiled_functions):
3971 * alloc.c (sweep_bit_vectors_1):
3972 * alloc.c (sweep_vectors_1):
3973 * alloc.c (sweep_lcrecords_1):
3974 * alloc.c (tick_lcrecord_stats):
3975 * alloc.c (pure_string_sizeof):
3976 * alloc.c (mark_conses_in_list):
3977 * alloc.c (mark_object):
3978 * alloc.c (report_pure_usage):
3979 * alloc.c (make_pure_float):
3980 * alloc.c (make_pure_string):
3981 * alloc.c (free_managed_lcrecord):
3982 * alloc.c (mark_string):
3983 * alloc.c (noseeum_make_marker):
3984 * alloc.c (allocate_event):
3985 * alloc.c (Fbit_vector):
3986 * alloc.c (Fvector):
3987 * alloc.c (make_float):
3988 * alloc.c (Fmake_list):
3990 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3991 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3992 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3993 * alloc.c (dbg_constants):
3994 * alloc.c (gc_record_type_p):
3995 * alloc.c (free_lcrecord):
3996 * alloc.c (xmalloc):
3997 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3999 * Makefile.in.in (mostlyclean):
4000 * Makefile.in.in (external_client_xlib_objs_nonshared):
4001 * Makefile.in.in (temacs_link_args):
4002 * Makefile.in.in (release):
4003 * Makefile.in.in (dnd_objs):
4004 * Makefile.in.in (objs):
4005 * Makefile.in.in (PROGNAME):
4006 * EmacsShell.c: cast strings to (XtPointer)
4007 * EmacsFrame.c: cast strings to (XtPointer)
4009 - rewrite basic lisp functions for speed
4010 - rewrite bytecode interpreter for speed
4011 - rewrite list looping constructs for speed and safety using
4013 - use size_t where appropriate.
4014 - new hashtable implementation
4015 - cleanup implementation of opaques
4016 - opaques can now be purecopy'ed
4017 - move some cl functionality into C for speed.
4018 - remove last remaining VMS support
4020 - improve gdb/dbx debugger support
4021 - move pure.c back into alloc.c for performance
4022 - enable report_pure_usage() if --memory-usage-stats
4023 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4024 - don't use symbols with leading `_' or embedded `__'
4025 - globally cleanup duplicated semicolons `;;'
4026 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4028 - globally replace O_NDELAY with O_NONBLOCK.
4029 - globally replace CDISABLE with _POSIX_VDISABLE.
4030 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4031 - define (and maybe use!) STDERR_FILENO and friends.
4032 - add support for macros defined in C
4033 - `when', `unless', `not' and `defalias' now defined in C,
4034 so that they are universally available.
4035 - rename defvar_mumble to defvar_magic
4036 - rename RETURN__ to RETURN_SANS_WARNINGS
4037 - use consistent style of initial caps in error messages
4038 - implement last, butlast, nbutlast, copy-list in C.
4039 - provide typedefs for all struct Lisp_foo types
4040 - Lisp_Objects must be initialized to Qnil rather than 0.
4041 - make sure XEmacs runs (slowly) with always_gc == 1;
4042 - fast and safe LOOP_* macros
4043 - change calls to XSETOBJ to XSETFOO
4044 - replace calls to XSETINT by make_int()
4045 - plug up memory leaks
4046 - use style markobj (foo), not silly ((markobj) (foo))
4047 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4049 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4051 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4053 1998-11-28 SL Baur <steve@altair.xemacs.org>
4055 * XEmacs 21.2-beta4 is released.
4057 1998-11-27 SL Baur <steve@altair.xemacs.org>
4059 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4060 property in control-1 charset.
4061 From Julian Bradfield <jcb@daimi.au.dk>
4063 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4065 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4067 Add stub for :label.
4069 * gui.c (gui_item_add_keyval_pair): ditto.
4071 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4072 :key-sequence keyword.
4074 Support :active for submenus like the Windows code and FSF Emacs.
4076 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4078 * dired.c (make_directory_hash_table): make_string() is OK because
4079 readdir() Mule-encapsulates.
4081 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4083 * fns.c (Fbase64_encode_string): Fix docstring.
4084 (Fbase64_decode_string): Ditto.
4086 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4088 * editfns.c (Ftranslate_region): Use
4089 convert_bufbyte_string_into_emchar_string().
4091 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4093 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4095 (Ftranslate_region): Turn table into an array of Emchars for
4098 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4100 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4102 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4104 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4105 type `char' with nils.
4107 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4108 for tables of type `char'.
4110 1998-11-26 Didier Verna <verna@inf.enst.fr>
4112 * input-method-xlib.c (Initialize_Locale): don't call
4113 XtSetLanguageProc. We've done the whole work here.
4114 * input-method-xfs.c (Initialize_Locale): ditto.
4115 * input-method-motif.c (Initialize_Locale): ditto.
4117 1998-11-26 Didier Verna <verna@inf.enst.fr>
4119 * process-unix.c (unix_create_process): handle properly
4120 Vfile_name_coding_system for converting the program and directory
4123 1998-11-27 SL Baur <steve@altair.xemacs.org>
4125 * m/arm.h: New file.
4126 From James LewisMoss <dres@ioa.com>
4128 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4131 Fix the realpath() problem of UnixWare2.1.3.
4132 Patches for NEC's sysv4.2 machine.
4134 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4136 * dired.c (Fdirectory_files): Remove redundant code.
4138 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4140 * fns.c (free_malloced_ptr): New function.
4141 (XMALLOC_OR_ALLOCA): New macro.
4142 (XMALLOC_UNBIND): Ditto.
4143 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4144 to be freed in case of non-local exit.
4145 (Fbase64_encode_string): Ditto.
4146 (Fbase64_decode_region): Ditto.
4147 (Fbase64_decode_string): Ditto.
4148 (STORE_BYTE): New macro.
4149 (base64_decode_1): Use it.
4151 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4153 * fns.c (base64_value_to_char): Base64 stuff.
4155 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4157 * editfns.c (Fbuffer_substring): New function.
4159 * lisp.h: Declare make_string_from_buffer_no_extents().
4161 * insdel.c (make_string_from_buffer_1): New function.
4162 (make_string_from_buffer_no_extents): Ditto.
4164 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4166 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4167 sound work on AIX with OSS installed. Linux should still work.
4169 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4171 * config.h.in: name change for cygwin/version.h
4173 * configure.in: check for cygwin/version.h now.
4175 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4176 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4177 move cygwin32/version.h to cygwin/version.h
4179 1998-11-03 Olivier Galibert <galibert@pobox.com>
4181 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4184 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4186 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4187 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4188 enable BROKEN_SIGIO under b20 to make QUIT work.
4190 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4192 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4193 to fit within the constraints of the screen size. I.e. make the
4194 frame small enough to fit and move it if some of it will be
4197 1998-10-19 Greg Klanderman <greg@alphatech.com>
4199 * dired.c: conditionalize inclusion of user-name-completion
4200 primitives on non-Windows NT. The needed functions don't exist on NT.
4202 1998-11-24 SL Baur <steve@altair.xemacs.org>
4204 * gifrlib.h: Clean up types for 64 bit compile.
4205 * dgif_lib.c (DGifInitRead): Ditto.
4206 (MakeSavedImage): Ditto.
4207 * emacs.c (decode_path): Ditto.
4208 From Steve Carney <carney@pa.dec.com>
4210 1998-10-16 William M. Perry <wmperry@aventail.com>
4212 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4213 (cehckboxes instead of checkboxes).
4215 1998-10-15 SL Baur <steve@altair.xemacs.org>
4217 * XEmacs 21.2-beta3 is released.
4219 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4221 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4222 gnuclient. Otherwise, we run xemacs as we always did. This gets
4223 rid of the annoying DOS window when running gnuclient.
4225 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4227 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4228 HAVE_MS_WINDOWS typo.
4230 1998-10-13 SL Baur <steve@altair.xemacs.org>
4232 * process-unix.c (unix_send_process): Set closed flag on writable
4233 pipe after SIGPIPE is received and before we call deactivate_process.
4235 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4237 * window.c (Fset_window_start): respect narrowing when
4238 checking wheter start is at the beginning of a line.
4239 (Fset_window_buffer): Ditto
4240 Fixes repeatable crash in VM.
4242 1998-10-09 SL Baur <steve@altair.xemacs.org>
4244 * window.c (specifier_vars_of_window): Set default vertical
4245 divider width to 1 on ttys.
4247 1998-10-08 Martin Buchholz <martin@xemacs.org>
4252 Add <stddef.h> to get ptrdiff_t declaration
4254 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4256 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4257 is used for Motif or Lucid scrollbars under X.
4259 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4261 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4264 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4266 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4268 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4270 * s/cygwin32.h: more cygwin b20 reorganisation.
4272 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4274 * nas.c: Added necessary support functions to be able to handle
4275 WAVE files in memory, just like the support for SND files in
4278 1998-09-30 SL Baur <steve@altair.xemacs.org>
4280 * callproc.c (child_setup): Fix spelling typo.
4282 1998-09-29 SL Baur <steve@altair.xemacs.org>
4284 * XEmacs 21.2-beta2 is released.
4286 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4288 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4289 to prevent memory corruption in the case of jumping out of a series of
4290 nested match patterns. This is a rather brute force approach, though.
4292 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4294 * config.h.in: ditto.
4296 * s/cygwin32.h: rearrange declarations to cope with cygwin
4297 b20. Include cygwin32/version.h if it exists.
4299 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4301 * device-msw.c (mswindows_init_device): Call new
4302 mswindows_enumerate_fonts() function in objects-msw.c instead
4303 of font_enum_callback_1() to enumerate fonts.
4305 font_enum_callback_1() and _2() moved to objects-msw.c.
4307 * faces.c (complex_vars_of_faces): Make the mswindows default
4308 face font fully specified and provide some fallbacks.
4310 * objects-msw.c: font_enum_callback_1() and _2() moved here
4311 from objects-msw.c. Obtain the enumerated font's character
4312 sets by table lookup instead of using the locale-specific
4313 string provided by Windows.
4315 New public non-method mswindows_enumerate_fonts() that fills
4316 in the supplied mswindows device's font list.
4318 mswindows_initialize_font_instance: Use the supplied name
4319 variable instead of f->name when signalling errors. Match font
4320 weights and character sets using lookup tables which handle
4321 spaces instead of by frobbing.
4323 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4325 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4326 on the size of code fragments passed to run_in_other_process.
4328 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4329 the amount of memory to allocate in the other process.
4331 Removed sigkill_code_end(), sigint_code_end() and
4332 sig_enable_code_end() since they are now redundant.
4334 send_signal() and enable_child_signals(): Don't try to work
4335 out the end of the code fragments passed to
4336 run_in_other_process()
4338 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4340 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4343 * src/unexelf.c: Partially synched with FSF's 20.3.
4345 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4347 * insdel.c (signal_after_change): Map across indirect buffers
4348 here, and not in the upper-level functions.
4349 (signal_first_change): Don't check for Armageddon.
4350 (signal_before_change): Map across indirect buffers here.
4351 (prepare_to_modify_buffer): ...and here.
4353 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4355 * insdel.c (signal_after_change): Add return value.
4356 (buffer_insert_string_1): Use it.
4357 (buffer_delete_range): Ditto.
4358 (buffer_replace_char): Ditto.
4359 (cancel_multiple_change): Map the indirect buffers.
4361 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4363 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4364 (uninit_buffer_text): Ditto.
4366 * buffer.c (Fmake_indirect_buffer): Implement stricter
4369 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4371 * insdel.c (change_function_restore): Reverse order of
4372 function-call and assignment.
4373 (first_change_hook_restore): Ditto.
4375 * extents.c (mark_extent_auxiliary): Mark them.
4376 (Fset_extent_property): Set them.
4377 (Fextent_property): Get them.
4378 (Fextent_properties): Ditto.
4379 (vars_of_extents): Set their default.
4381 * extents.h (struct extent_auxiliary): Add before_change_functions
4382 and after_change_functions.
4384 * insdel.c (signal_before_change): Use it.
4385 (signal_after_change): Ditto.
4387 * extents.c (report_extent_modification): New function.
4389 * insdel.c (signal_before_change): Don't check for Armageddon.
4390 (signal_after_change): Ditto.
4392 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4394 * redisplay.c (redisplay_window): make sure a new starting point
4395 is chosen if it somehow got moved from the beginning of the line
4396 -- this can happen because Fwiden was called recently.
4398 * window.c (Fset_window_start): set start_at_line_beg correctly
4399 (Fset_window_buffer): Ditto
4401 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4403 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4404 (uninit_buffer_text): Ditto.
4406 * buffer.c (Fmake_indirect_buffer): Implement stricter
4409 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4411 * emacs.c (main_1): Removed references to *vars_of_filelock.
4413 * lisp.h: Added Fsystem_name.
4415 * filelock.c: Replaced by version from FSF 20.2. Now implements
4416 locking by using symlinks which is NFS safe. However keep the
4417 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4418 version (and of course use ansi C, acessor macros, etc).
4420 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4422 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4423 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4424 in init_signals_very_early. However these should not be passed
4425 on to children attached to the new pty.
4427 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4429 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4431 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4433 * fileio.c (file-name-directory, file_name_as_directory):
4434 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4436 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4438 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4440 * ralloc.c: uncomment __morecore.
4442 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4444 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4445 WriteFile() to fix a winsock 1.x bug on Win95.
4447 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4449 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4451 (x_event_to_emacs_event): Ditto.
4452 (emacs_Xt_handle_focus_event): Ditto.
4453 (emacs_Xt_handle_magic_event): Ditto.
4455 * console-x.h (struct x_device): New flag being_deleted.
4456 (DEVICE_X_BEING_DELETED): New macro.
4458 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4459 returning. Before doing that, set the being_deleted flag on the
4462 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4464 * device-x.c (x-seppuku-on-epipe): Removed.
4466 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4468 * frame-x.c (x_delete_frame): Flush the X output buffer after
4469 calling XtDestroyWidget to ensure that the windows are really
4472 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4474 * menubar-x.c (my_run_hook): New unused function.
4475 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4476 since we ignore the results of the contained functions anyway.
4478 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4480 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4481 interlaced GIF files that are smaller than 4 lines high...
4483 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4485 * buffer.c (map_over_sharing_buffers): Deleted.
4487 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4489 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4492 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4494 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4496 (buffer_delete_range): Ditto.
4498 * marker.c (init_buffer_markers): Set point-marker to the value of
4499 point in an indirect buffer.
4501 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4503 * undo.c (undo_prelude): Test last-undo-buffer against base
4506 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4508 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4510 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4512 * insdel.c (init_buffer_text): Initialize it here.
4514 * line-number.c: Address line_number_cache through buffer->text.
4516 * buffer.c (mark_buffer): Mark line number cache.
4518 * bufslots.h (line_number_cache): Move to struct buffer_text.
4520 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4521 across the children buffers.
4522 (buffer_delete_range): Ditto.
4523 (buffer_replace_char): Ditto.
4527 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4529 * buffer.c (Fmake_indirect_buffer): Uncomment.
4531 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4533 * macros.c (Fend_kbd_macro): Remove trailing period from error
4535 (Fexecute_kbd_macro): Ditto.
4537 1998-08-21 Greg Klanderman <greg@alphatech.com>
4539 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4540 (Fuser_name_completion_1): new function to return uniqueness
4541 indication in addition to the user name completion.
4542 (user_name_completion): change type of `uniq' argument.
4544 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4546 * lread.c (vars_of_lread): Removed `source-directory' variable.
4548 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4550 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4553 1998-08-19 SL Baur <steve@altair.xemacs.org>
4555 * dired.c (vars_of_dired): Fix misapplied patch.
4557 1998-08-16 Martin Buchholz <martin@xemacs.org>
4559 * fns.c (Fremrassq, remrassq_no_quit):
4560 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4562 1998-07-17 Didier Verna <verna@inf.enst.fr>
4564 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4565 style as foreground GC for faces that have the `dim' property.
4566 (x_output_string): when the `dim' face property is set,
4567 ensure the gray pixmap has been created, and get a proper
4568 foreground GC to draw the text.
4570 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4572 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4573 Manually track the state of the left and right Ctrl and Alt
4576 1998-08-07 Matt Stupple <matts@tibco.com>
4578 * ntproc.c: don't wait on char_consumed at thread entry.
4579 Additionally, to get the 'process' marked as finished, ensure
4580 that the CHILD_ACTIVE macro returns false, so before exiting
4581 close char_avail and set it to NULL, and close other handles
4582 to reduce handle leak problems.
4584 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4586 * menubar-msw.c (displayable_menu_item): take account of menu
4587 depth when deciding whether to try to display accelerators.
4589 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4591 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4594 * glyphs-msw.c: fix a couple of potential handle leaks.
4596 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4598 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4599 *decoding ONLY* back into the core.
4600 * glyphs-eimage.c: Change referenced header file for GIF
4601 reading to point to the incore version.
4603 1998-07-20 Martin Buchholz <martin@xemacs.org>
4605 * casefiddle.c (casify_object):
4606 Change algorithm from O(N**2) to O(N).
4610 1998-07-22 Greg Klanderman <greg@alphatech.com>
4612 * dired.c (file_name_completion_unwind): don't leak the cons.
4614 1998-07-20 Greg Klanderman <greg@alphatech.com>
4616 * dired.c (Fuser_name_completion): new function.
4617 (Fuser_name_all_completions): new function.
4618 (user_name_completion): new function.
4619 (syms_of_dired): 2 new DEFSUBRs.
4620 (vars_of_dired): initialize user name cache vars.
4622 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4624 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4625 colors taken from the default face. Also correct a thinko in
4626 transparency (not alpha) handling.
4628 1998-07-23 Martin Buchholz <martin@xemacs.org>
4630 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4631 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4632 * lread.c (Fload_internal): Be very careful with printfs of
4634 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4637 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4639 * callint.c (Fcall_interactively): GCPRO prompt string before
4640 passing it to Fread_key_sequence
4642 1998-07-27 SL Baur <steve@altair.xemacs.org>
4644 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4645 Vvertical_divider_map.
4647 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4648 Qnil or 0, none were initialized prior to this change.
4650 Rename misnamed `V' prefixed integer variables:
4651 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4652 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4653 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4654 Vcanna_ichiran_revLen.
4656 Rename misnamed `V' prefixed integer variables and initialize
4657 properly in the vars_of routine.
4658 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4659 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4660 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4661 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4662 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4663 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4664 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4665 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4666 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4667 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4668 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4669 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4670 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4671 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4672 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4673 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4674 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4675 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4676 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4677 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4678 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4679 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4680 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4681 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4682 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4683 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4684 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4685 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4686 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4687 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4688 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4689 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4690 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4691 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4692 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4693 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4694 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4695 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4696 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4697 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4698 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4699 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4700 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4701 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4702 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4703 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4705 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4707 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4708 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4709 keys thus no longer considering all keysyms on a key.
4711 1998-07-19 SL Baur <steve@altair.xemacs.org>
4713 * XEmacs 21.2-beta1 is released.
4715 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4717 * eldap.c (Fldap_search_internal): When converting the list of
4718 attributes to search Copy the final 0 from Lisp strings to C
4720 Check base, not Vldap_default_base as a a string
4722 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4724 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4726 * unexnt.c: Unconditionally define bss_start and bss_size, and
4727 ensure that they don't go in the .bss section.
4729 1998-07-17 Olivier Galibert <galibert@pobox.com>
4731 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4732 byte order is dependant of the local byte order).
4733 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4735 1998-07-18 SL Baur <steve@altair.xemacs.org>
4737 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4738 Qmswindows_resource.
4739 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4741 1998-07-12 SL Baur <steve@altair.xemacs.org>
4743 * general.c (syms_of_general): Add defsymbol for Qresource.
4745 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4746 Qmswindows_resource.
4747 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4748 (mswindows_resource_validate): Rename.
4749 (mswindows_resource_normalize): Rename.
4750 (mswindows_resource_possible_dest_types): Rename.
4751 (mswindows_resource_instantiate): Rename.
4752 (image_instantiator_format_create_glyphs_mswindows): Replace
4753 `resource' with `mswindows.resource'.
4755 * XEmacs 21.0-pre5 is released.
4757 1998-07-10 SL Baur <steve@altair.xemacs.org>
4759 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4760 server type in environment.
4761 Use alloca-ed strings instead of tiny fixed size ones.
4763 1998-07-09 SL Baur <steve@altair.xemacs.org>
4765 * XEmacs 21.0-pre4 is released.
4767 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4769 * fileio.c: (expand_file_name): under win32: Don't treat names
4770 as UNC names if a drive letter has been specified. If a drive
4771 has been specified, strip out extra directory-seperators that
4772 reportedly cause problems under Win95.
4774 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4776 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4777 MSVC >= 5.0. Put emacs init and zero-init data in a special
4778 section of the executable when this is defined.
4780 * unexnt.c, ntheap.h:
4781 Removed unused find_section() and get_section_size().
4784 Fix up the executable's checksum after dumping otherwise the
4786 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4787 zero-init data separately from init data. Dump emacs data
4788 into a special section of the executable.
4789 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4790 my_ebss instead of up to the end of bss.
4792 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4794 * filelock.c: Removed Vconfigure_lock_directory - already
4797 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4798 defined in frame.c and general.c respectively.
4800 * glyphs-msw.c: Removed Qresource - already defined in
4803 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4805 * eldap.c (Fldap_search_internal): Docstring fixes
4807 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4809 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4810 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4811 EMACSPACKAGEPATH and INFOPATH variables.
4812 Removed unused get_emacs_configuration function.
4814 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4815 it is now defined at build-time by the makefile.
4817 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4819 * fileio.c: (expand_file_name): under win32: Don't treat names as
4820 UNC names if a drive letter has been specified. If a drive has
4821 been specified, strip out extra directory-seperators that
4822 reportedly cause problems under Win95.
4824 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4826 * faces.c (complex_vars_of_faces): for the gui-element face don't
4827 fallback to the default face, instead provide reasonable default
4828 fallbacks that were previously hardcoded elsewhere.
4830 1998-07-06 Olivier Galibert <galibert@pobox.com>
4832 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4833 when the X server endianness is different than the client's one.
4835 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4837 * eval.c (run_hook_with_args_in_buffer): Check
4838 default (non-buffer-local) value of hook for
4839 nil before treating it as a function. Don't initialize
4840 the `globals' variable twice.
4842 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4844 * fileio.c: Don't do directory seperator canonicalisation in
4845 substitute-in-file-name because we don't know that the
4846 filename refers to a local file.
4848 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4850 * process-nt.c (nt_create_process): Try appending the standard
4851 executable file extensions to the filename if none supplied.
4853 1998-06-29 SL Baur <steve@altair.xemacs.org>
4855 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4857 From Keisuke Mori <ksk@ntts.com>
4859 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4861 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4862 images if we have masks. This handles the xbm case (have masks)
4863 and avoids overuse of resources in the xpm case (generally no masks).
4864 Don't output small toolbars.
4866 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4868 * eval.c (run_hook_with_args_in_buffer): Don't treat
4869 the default value of a buffer local hook as a list of
4870 hooks unless it is both a cons and the car of that cons
4873 1998-06-29 SL Baur <steve@altair.xemacs.org>
4875 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4876 * process-unix.c: Ditto.
4877 * mule-coding.h: Ditto.
4878 * mule-coding.c: Ditto.
4879 * mule-charset.c: Ditto.
4880 * mule-charset.h: Ditto.
4881 * file-coding.c: Ditto.
4882 * file-coding.h: Ditto.
4884 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4886 * event-msw.c: Guard against recursion when freeing
4887 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4889 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4890 Call ShowWindow twice in init_frame_3 to get round runemacs
4893 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4895 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4897 * winslots.h: Rename.
4899 * window.c (specifier_vars_of_window): Renamed
4900 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4901 as suggested by Ben Wing.
4902 (specifier_vars_of_window): Fix docstrings.
4904 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4906 * unexaix.c: Line number information works correctly again.
4908 1998-06-22 Olivier Galibert <galibert@pobox.com>
4910 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4912 1998-06-21 Martin Buchholz <martin@xemacs.org>
4914 * editfns.c (get_home_directory): ANSIfy.
4915 XEmacs is compilable under C *and* C++.
4916 It's XEmacs, not Xemacs!
4918 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4920 * console-msw.h: added a list of fonts to device data.
4922 * device-msw.c: enumerate list of available fonts in
4923 mswindows_init_device. Free list in mswindows_delete_device.
4925 * objects-msw.c: Added helper function match_font used by
4926 mswindows_initialize_font_instance and mswindows_list_fonts.
4927 Allow a charset to be specified in a font string, even if
4928 previous fields havn't been specified.
4930 1998-06-23 Greg Klanderman <greg@alphatech.com>
4932 * indent.c (column_at_point): column cache bugfix.
4933 Set last_known_column_point to the buffer position for
4934 which the column was requested, not buffer's point.
4936 * redisplay.c (decode_mode_spec): for current-column, show
4937 window's point's column, not buffer's point's column.
4939 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4941 * menubar-msw.c (mswindows_handle_wm_command): use
4942 enqueue_misc_user event rather than
4943 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4946 * console-msw.h: declare mswindows_enqueue_magic_event.
4948 * event-msw.c (mswindows_enqueue_magic_event): make global.
4950 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4952 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4953 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4954 (add_position_to_cache): Use EMACS_INT instead of int.
4956 1998-06-21 Olivier Galibert <galibert@pobox.com>
4958 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4959 suitable for an int used as a boolean (btw, C sucks.).
4961 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4963 * object-msw.c: remove warnings.
4965 * device-msw.c: #define wrongly named cygwin structure elements.
4967 * s/cygwin32.h: define DEMI_BOLD
4969 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4971 * redisplay-msw.c: new function mswindows_apply_face_effects.
4972 This is called by output_string and output_cursor to display
4973 underline and strikeout on faces.
4975 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4977 * console-msw.h: added a list of fonts to device data.
4979 * device-msw.c: enumerate list of available fonts in
4980 mswindows_init_device. Free list in mswindows_delete_device.
4982 * objects-msw.c: Added helper function match_font used by
4983 mswindows_initialize_font_instance and mswindows_list_fonts.
4984 Allow a charset to be specified in a font string, even if
4985 previous fields havn't been specified.
4987 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4990 Removed compilation warnings from mswindows_string_to_color.
4991 mswindows_list_fonts returns a more general bogus font.
4992 New lisp-visible function mswindows-color-list.
4994 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4996 * editfns.c (Fuser_login_name): Modify to user new function
4998 (user_login_name): C only function to avoid Lisp object overhead
4999 Returns "unknown" instead of nil in Cygwin environment
5001 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5002 equivalent for current user in Cygwin environment. Use new
5003 function user_login_name to get username.
5005 * lisp.h: Declare user_login_name
5007 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5009 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5011 Some other insignificant nitpicks.
5013 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5015 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5016 creating the image list and make sure he bk color is transparent.
5018 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5020 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5021 completed_timeouts. The timer could have expired.
5023 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5025 * console-msw.h: move XEMACS_RECT_WH inside frame
5026 parameters. define macors to access it.
5028 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5029 parameter to intialise desired sizing. (mswindows_init_frame_2):
5030 enable and size the frame to something sensible when we get
5031 here. (mswindows_set_frame_properites): use new
5032 mswindows_size_frame_internal function and size frame if frame
5033 parameters not just if init is finished - WM_SIZE happens too
5034 early for some specs. (mswindows_size_frame_internal): new
5035 function abstracted from mswindows_set_frame_properties.
5036 (Vmswindows_use_system_frame_size_defaults):
5037 new variable controls whether to allow the system to pick frame
5038 size defaults, defaults to nil.
5040 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5041 than duplicated code.
5043 1998-06-15 Colin Rafferty <colin@xemacs.org>
5045 * Makefile.in.in: Made EXTW_LINK expand properly.
5047 1998-06-12 Martin Buchholz <martin@xemacs.org>
5049 * redisplay.c (vars_of_redisplay): default value of
5050 column-number-start-at-one should be NIL!
5052 1998-06-11 Martin Buchholz <martin@xemacs.org>
5055 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5057 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5059 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5060 build_string to avoid crashes under Mule.
5062 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5064 * ntplay.c (play_sound_data_1): don't delete the sound data until
5065 the next sound is played and the previous one finished.
5067 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5069 * fileio.c (directory-sep-char): Escape backslashes.
5071 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5073 * event-stream.c: Fix docstring reference.
5075 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5077 * alloc.c (make_float): Remove useless initialization of `next'
5079 (make_pure_float): Ditto.
5081 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5083 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5085 * fileio.c (Fmake_directory_internal): Remove conditionals
5086 on WINDOWSNT when calling mkdir.
5088 * ntproc.c: Deleted the following unused functions:
5089 register_child, reap_subprocess, sys_wait.
5091 * nt.c (sys_rename): Ifzeroed this implementation.
5092 Deleted the following unused functions:
5093 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5094 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5095 sys_read, sys_write.
5096 Merger sys_fopen and sys_open with sysdep.c implementation.
5098 * sysdep.c: Removed MS-DOS code.
5099 (sys_rename): Deal with Microsoft rename weirdness.
5100 (sys_open): Implemented for Windows.
5104 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5106 * buffer.c (complex_vars_of_buffer): Removed %t description from
5109 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5111 * scrollbar-msw.c: initialize the cbSize element of the
5112 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5113 to ignore the value of cbSize, but Win95 (and I presume Win98)
5114 appear to want it set to sizeof(SCROLLINFO).
5116 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5118 * event-stream.c: Defined Qcancel_mode_internal.
5119 (syms_of_event_stream): defsymbol'ed it.
5121 * events.h: Externed it.
5123 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5125 1998-06-04 Oliver Graf <ograf@fga.de>
5127 * frame-x.c (x_cde_destroy_callback): free the data
5128 (cde-start-drag-internal) corrected root position, 21.1 needs this
5129 hardcoded in Button events
5130 (offix-start-drag-internal) corrected root position
5132 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5134 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5137 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5139 * dialog-msw.c (button_width): Removed `inline' from the function
5142 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5144 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5145 Note that adding this flag to subsequent frames causes problems.
5147 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5149 * glyphs-eimage.c (png_instantiate) move 'struct
5150 png_memory_storage tbr' out of nested block to avoid dangling
5153 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5156 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5157 inherits from gui-element.
5159 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5160 with existing code, generate masks correctly.
5162 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5164 * glyphs-eimage.c: Changed included header for gifs to use
5165 Gifreader instead of giflib.
5167 * glyphs-x.c: removed the image-related functions that were
5168 moved into glyphs-eimage.
5170 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5172 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5173 if built without X Windows support.
5175 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5177 * fns.c (Fconcat): Synch docstring with new reality.
5179 1998-06-03 SL Baur <steve@altair.xemacs.org>
5181 * frame.c: Remove reference to msdos.h (which is going away).
5182 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5184 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5186 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5190 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5192 * events.h: Fixed commentary about misc-user scrollbar events.
5194 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5195 object as an event channel, instead of window object.
5196 (x_update_horizontal_scrollbar_callback): Ditto.
5198 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5200 * ntplay.c (play_sound_data_1) new function. convert alloca data
5201 to malloc if necessary.
5202 (play_sound_file): if the file is not in our path then convert to
5205 1998-06-01 SL Baur <steve@altair.xemacs.org>
5207 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5208 * msdos.c (Frecent_doskeys): Ditto.
5210 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5211 Suggested by Reggie Perry <perry@zso.dec.com>
5213 * buffer.h: Eliminate size in declaration.
5215 1998-06-01 Olivier Galibert <galibert@pobox.com>
5217 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5219 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5221 * gui.c (gui_item_init): Changed the default value for config member
5222 from Qunbound to Qnil.
5224 1998-06-01 Greg Klanderman <greg@alphatech.com>
5226 * indent.c (vmotion_pixels): Don't #define abs().
5228 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5230 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5233 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5235 * glyphs.h: add xbm declarations.
5237 * console.h: add xbm_instantiate_method device method.
5239 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5240 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5241 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5242 locate_pixmap_file device method and read_bitmap_data_from_file
5243 instead of XmuReadBitmapDataFromFile.
5244 (xbm_instatntiate): make a device method.
5246 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5247 new function that just calls XmuReadBitmapDataFromFile.
5248 (x_xbm_instatntiate): device method from xbm_instantiate.
5250 * glyphs-msw.c (read_bitmap_data) (NextInt)
5251 (read_bitmap_data_from_file): new functions copied from Xmu
5253 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5254 inline data to an mswindows bitmap.
5255 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5256 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5259 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5261 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5262 `modeline-visible-p'.
5263 Declared specifier lisp variables at the beginning oh the file
5266 * procimpl.h (struct process_methods): Changed semantics of
5267 create_process method so it accepts lisp strings instead of
5270 * process.c (Fstart_process_internal): Moved building of
5271 unix style argv from here to process-unix.c, ...
5273 * process-unix.c (unix_create_process): ... right here.
5275 * process-nt.c (nt_create_process): Changed this function to
5276 support new semantics, so avoided a GC problem.
5278 * events.c (Fmake_event): Document misc-user events properties.
5279 (Fmake_event): Do not allow arbitrary objects for channel property
5280 of misc-user events.
5281 (Fmake_event): Change misc-user event validation: it is function
5282 which is required, not button.
5284 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5286 (mswindows_enqueue_misc_user_event): Added function.
5287 (mswindows_bump_queue): Removed function.
5288 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5289 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5290 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5291 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5292 really nothing, which is my personal favorite thing.
5294 * console-msw.h: Removed prototype for mswindows_bump_queue().
5295 Added prototype for mswindows_enqueue_misc_user_event().
5297 * menubar-msw.c (mswindows_handle_wm_command): Use
5298 mswindows_enqueue_misc_user_event().
5300 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5302 * dialog-msw.c (dialog_proc): Ditto.
5304 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5305 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5306 user events channel.
5308 1998-05-29 Greg Klanderman <greg@alphatech.com>
5310 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5311 incorrect semantics of vmotion_pixels which has been fixed. don't
5312 use it anymore as it can't easily be used.
5314 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5315 the motion was reported incorrectly if you tried to go past end of
5318 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5320 * toolbar.h: Removed misleading commentary, as Martin suggested.
5322 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5324 * lisp.h: Extern Qactivate_menubar_hook.
5326 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5329 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5331 * glyphs-msw.c: use BPLINE macro.
5333 * select-msw.c (mswindows-selection-exists-p)
5334 (mswindows-delete-selection): doc string fixes.
5336 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5337 unpressable. warning elimination.
5339 1998-05-28 Martin Buchholz <martin@xemacs.org>
5341 * alloc.c (dbg_constants):
5344 Remove toolbar_data debugging code, since that lrecord has
5347 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5349 * alloc.c: zap cached value of (user-home-directory), so that
5352 * buffer.c: From init_buffer(), separated out code that
5353 determined the initial directory for the *scratch* buffer, and
5354 put them into a function called "init_initial_directory()".
5355 The initial directory is now available as a global "char *"
5356 called initial_directory.
5358 * buffer.h: Added extern entries for initial_directory[] and
5359 init_initial_directory().
5361 * editfns.c: added new elisp function "user-home-directory",
5362 which basically returns getenv("HOME"), but attempts to use
5363 other values if $HOME isn't set.This may have to be tweaked in
5364 the future as, under Unix, "/" is used if $HOME isn't set (this
5365 probably should be set to the current directory). To support
5366 this, a new C function, "get_home_directory()", now exists,
5367 which returns the "home directory", as a "char *" string.
5369 * emacs.c: Rearrange NT initialization order so that
5370 environment/registry variables will be properly entered into
5371 Vprocess_enviroment.
5373 * fileio.c: replaced egetenv("HOME") with calls to the new
5374 get_home_directory().
5376 * lisp.h: Added function prototypes for uncache_home_directory()
5377 and get_home_directory(), along with lisp prototypes for
5378 Fuser_home_directory() and friends.
5380 * nt.c: replaced getenv("HOME") with calls to the new
5381 get_home_directory().
5383 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5384 warnings about getcwd(), etc. not having prototypes.
5386 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5388 * process-nt.c (send_signal): Emulate SIGHUP.
5389 (validate_signal_number): Ditto.
5391 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5392 remove MOD_SHIFT from ASCII characters.
5393 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5396 1998-05-24 Oliver Graf <ograf@fga.de>
5398 * frame-x.c (cde-start-drag-internal): added filename and multi-
5400 (x_cde_convert_callback) dito
5402 1998-05-26 Oliver Graf <ograf@fga.de>
5404 * frame-x.c: include event-mod.h also with CDE
5405 (x_cde_convert_callback) made the thing working
5406 (cde-start-drag-internal) also debugging
5408 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5415 - add __OpenBSD__ where __NetBSD__ was found.
5416 - TODO: replace platform-specific conditional compilation by
5417 feature tests in configure.in.
5419 1998-05-15 Greg Klanderman <greg@alphatech.com>
5421 * window.c (Fwindow_displayed_text_pixel_height): New function.
5422 (syms_of_window): DEFSUBR it.
5424 * indent.c (Fvertical_motion_pixels): New function - request
5426 (vmotion_pixels): helper.
5427 (syms_of_indent): DEFSUBR.
5428 * lisp.h: declaration for vmotion_pixels().
5430 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5431 to request returning motion in pixels.
5432 (Fvertical_motion_pixels): Remove, functionality merged into
5434 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5435 (Fmove_to_window_line): ditto.
5436 * lisp.h: Change declaration for Fvertical_motion.
5438 * window.c: rename window-text-pixel-{height,width,edges} to
5439 window-text-area-pixel-*.
5441 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5443 * tooltalk.c (vars_of_tooltalk) added staticpro for
5444 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5446 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5448 * faces.c: create a new 3d_object_face, make modeline and
5449 vertical_divider faces fallback to this rather than the default.
5451 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5453 * s/cygwin32.h: define charsets for cygwin.
5455 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5457 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5458 and coordinates. resize bitmaps if we have already settled on a
5461 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5463 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5465 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5467 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5471 * gui-x.c (popup_selection_callback): Ditto.
5473 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5475 * gui.c (get_callback): Renamed to get_gui_callback.
5477 1998-05-17 Martin Buchholz <martin@xemacs.org>
5479 * glyphs.h: order rearrangement.
5481 * device-tty.c (tty_asynch_device_change): Warning suppression.
5482 * device-x.c (x_device_system_metrics): Warning suppression.
5483 Make Doc strings consistent with coding standards.
5485 1998-05-24 Martin Buchholz <martin@xemacs.org>
5487 * general.c: multiple definition of `Qicon'. general.c seems
5488 like a good home for Qicon.
5490 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5492 * This patch is to fix compilation warnings under Windows.
5494 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5495 Added prototypes for FSF inherited functions, with which XEmacs is
5496 sprinkled thoroughly.
5497 Removed some #if 0 code. Bracketed some more definitions, probably
5498 related to Visual C versions prior to 4 (we do not support them).
5500 * sysfloat.h (logb): Finally, get logb() prototyped.
5502 * sysfile.h: Added Windows specific includes.
5503 Removed old Windows specific code bracketed with #if 0.
5505 * sysdep.h: Added prototype for xrealpath().
5507 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5509 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5510 vars_of_dired_mswindows and init_ntproc (Grrr).
5512 * realpath.c: Added Windows specific include files.
5513 (xrealpath): Conditionalized declaration of some auto variables on
5514 S_IFLNK, to avoid warnings.
5516 * ntproc.c: Disabled some compiler warnings. This file is going to
5517 die, so I have not cleaned it up much.
5518 (set_process_dir): Const parameter.
5519 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5520 (Fwin32_long_file_name): Ditto.
5521 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5524 * nt.h: Added prototypes for set_process_dir and convert_time.
5526 * nt.c: More include files.
5527 (getpwnam): Consted char* argument.
5528 (get_emacs_configuration): Const return value.
5529 (opendir): Const argument.
5530 (stat): Casted converstion long->short.
5531 (stat): Removed ad hoc and questionable support for non-MSC compile.
5532 (sys_pipe): Removed unused auto variable.
5533 (_sys_read_ahead): Removed calls to DebPrint.
5534 (sys_read): Ditto, in 2 places.
5535 (term_ntproc): Added unused int parameter to signal handler, to
5536 avoid a warning when compiling a call to signal().
5537 (msw_sigset): Properly return old signandler or NULL instead of void.
5539 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5541 * gmalloc.c (morecore): Ditto.
5542 (_free_internal): Ditto.
5544 * lread.c (parse_integer): Ditto.
5546 * dired-msw.c: Added several include files.
5548 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5549 of Compilers to Shut Up.
5551 * callproc.c: Added #includes to suppress warnings under Windows.
5552 (init_callproc): Removed #if0'ed code and unused variables.
5554 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5556 * device-msw.c (mswindows_device_system_metrics): do planes in a
5557 way consistent with X.
5559 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5560 use SetPixel, use DIBits functions.
5561 (xpm_to_eimage): frob colors more closely like xpm deos.
5563 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5564 to be closer to X version.
5566 * event-msw.c: use tooltip string directly.
5568 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5570 * objects-msw.c: frob rgb colors that only Kyle uses.
5572 * dialog-msw.c (button_width): INLINE -> inline.
5574 1998-05-23 SL Baur <steve@altair.xemacs.org>
5576 * getloadavg.c (getloadavg): Fix typo.
5578 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5580 * objects-msw.c (mswindows_initialize_font_instance): Added support
5581 for font character sets.
5582 Replaced 'XXX' with '####' in comments throughout the file.
5584 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5586 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5587 console_type_create_dialog_mswindows(), to initialize Windows dialog
5590 * symsinit.h: Prototyped the above functions.
5592 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5593 checks to dialog.c...
5595 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5596 device must support dialog boxes, and the descriptor must supply at
5599 * dialog-msw.c: New file, dialogs for Windows.
5601 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5603 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5604 (Fldap_search_internal): Removed unused variable `err'
5606 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5609 1998-05-17 Martin Buchholz <martin@xemacs.org>
5611 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5612 defined. Therefore there is no need to handle the case when
5613 HAVE_LDAP is undefined. Similarily, there is no reason to have
5614 any code wrapped within `#ifdef emacs', since this code is only
5615 useful within an emacs. This simplifies the code significantly.
5617 * inline.c: Include eldap.h only if HAVE_LDAP.
5618 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5621 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5623 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5624 printing dump stats when building without DEBUG_XEMACS.
5625 (dump_bss_and_heap): Ditto.
5627 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5629 * gnuclient.c: don't suppress window system if there is no display
5630 and we are running under mswindows. send 'mswindows device type if
5631 we are in this situation.
5633 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5636 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5638 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5641 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5643 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5644 {top,bottom}-{left,right} values in addition to
5645 {top,bottom}_{left,right}.
5647 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5649 * fileio.c (Fmake_temp_name): Remove unreached code.
5651 * process-nt.c (validate_signal_number): Use
5652 signal_simple_error().
5654 1998-05-19 Martin Buchholz <martin@xemacs.org>
5657 * sound.c (vars_of_sound):
5658 * sysdep.c (reset_sigio_on_device):
5659 * window.c (window_bottom_gutter_height):
5660 unexhp9k800.c:258: warning: implicit declaration of function
5661 `calculate_checksum'
5662 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5663 sysdep.c:1012: warning: unused variable `owner'
5664 window.c:993: warning: `window_right_toolbar_width' defined but not used
5666 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5668 * glyphs-msw.c (mswindows_create_resized_mask)
5669 (mswindows_create_resized_bitmap): new funnctions split out from
5670 mswindows_resize_dibitmap_instance.
5672 * glyphs-msw.h: declare new resize functions.
5674 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5675 functions so that the original bitmaps are preserved.
5677 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5679 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5680 color if we are trying to output 0 depth bg pixmap.
5682 * scrollbar-msw.c: warning elimination.
5684 1998-05-18 Martin Buchholz <martin@xemacs.org>
5686 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5687 directives in column 1.
5689 * search.c (skip_chars): Avoid using xzero with arrays, since some
5690 compilers get confused by the construct &array.
5692 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5695 * objects-msw.c: Changed the charset value for a new font from
5696 "don't care" to "ansi".
5698 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5700 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5702 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5703 modifier on control chars.
5704 Use IsCharAlpha() instead of isaplha().
5706 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5708 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5710 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5712 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5713 charset when creating font.
5714 (mswindows_initialize_color_instance): Do not create brush along
5716 (mswindows_finalize_color_instance): Do not delete it then.
5718 * objects-msw.h (struct mswindows_color_instance_data): Removed
5719 brush slot, and corresponding accessor macro.
5721 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5723 * toolbar.c: Removed toolbar_data lrecord implementation.
5724 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5725 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5726 (compute_frame_toolbar_buttons): Ditto.
5727 (CHECK_TOOLBAR): Ditto.
5728 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5729 (update_frame_toolbars): Do not check for changed buffer
5730 here. Toolbar information is provided by cached specs in
5731 windows. The check for buffer is eliminated becuase toolbars are
5732 marked changed in set_frame_selected_window() in frame.c
5733 Added check for changed toolbars geometry.
5734 (compute_frame_toolbars_data): Removed unused second parameter;
5735 Adjusted callers of this static function throughout the file.
5736 (init_frame_toolbars): Initialize current_toolbar_size.
5737 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5738 what is its current expansion, for clarity.
5739 (init_frame_toolbars): Ditto.
5740 (init_device_toolbars): Ditto.
5741 (init_global_toolbars): Ditto.
5743 * toolbar.h: Removed definition of toolbar_data lrecord.
5744 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5745 FRAME_CURRENT_TOOLBAR_SIZE.
5746 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5748 * toolbar-x.c (x_output_toolbar): The same change as in
5750 (x_output_toolbar): Ditto.
5751 (x_redraw_exposed_toolbar): Ditto.
5753 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5754 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5755 (mswindows_output_toolbar): Ditto.
5756 (mswindows_output_toolbar): Ditto.
5758 * frame.c (mark_frame): Removed marking of arrays, according to
5759 frameslots.h change.
5760 (nuke_all_frame_slots): Ditto.
5761 (set_frame_selected_window): Mark toolbars changed when
5762 last_nonminibuf_window changes.
5764 * frame.h (struct frame): Moved some slots to frameslots.h.
5765 Added current_toolbar_size array.
5766 Changed references from toolbar_data to toolbar_buttons in macros
5767 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5768 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5769 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5771 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5772 Moved arrays of lisp objects here from frame.h: toolbar_size,
5773 toolbar_visible_p, toolbar_border_width.
5774 Removed toolbar_data slot and added toolbar_buttons.
5776 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5778 * symsinit.h: Externed syms_of_process_nt()
5780 * emacs.c (main_1): Call syms_of_process_nt()
5782 * process-nt.c: Quote process arguments by a call to Lisp function
5783 `nt-quote-process-args'.
5784 (syms_of_process_nt): New function.
5785 (nt_send_process): Flush data stream after each write, to avoid
5786 leaving buffered data.
5787 (nt_send_process): When blocked on process output, wait for
5788 process to slurp more for progressively increasing time intervals.
5790 1998-05-17 Martin Buchholz <martin@xemacs.org>
5792 * window.c (have_undivided_common_edge): Make file-local function
5794 (map_windows): Return 0 if all map functions successful.
5797 * winslots.h: Use unlikely names for local variables in macros to
5798 avoid shadowing warnings.
5800 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5802 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5803 so that we re-output if the toolbar size has changed.
5805 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5807 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5809 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5811 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5814 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5816 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5817 get bitmap manifest constants defined.
5819 * console-msw.h: Include system files in angle brackets, not in
5822 * window.c (specifier_vars_of_window): Fixed a typo in
5823 `vertical-divider-line-width' docstirng.
5825 1998-05-16 Olivier Galibert <galibert@pobox.com>
5827 * line-number.c (delete_invalidate_line_number_cache): Use an
5829 (buffer_line_number): Remove dangerous, plain wrong when using
5830 64bits emacs ints, cast.
5832 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5834 * cmds.c (Fforward_line): Use EMACS_INTs.
5836 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5837 (scan_buffer): Ditto.
5838 (bi_find_next_newline_no_quit): Remove useless cast.
5839 (find_next_newline_no_quit): Ditto.
5840 (find_next_newline): Ditto.
5841 (find_before_next_newline): Use an EMACS_INT.
5843 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5845 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5847 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5849 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5851 * gui-x.c (popup_selection_callback): Use it.
5853 * gui.h (get_callback): Declare it.
5855 * gui.c (get_callback): New function.
5857 1998-05-15 SL Baur <steve@altair.xemacs.org>
5859 * window.c (have_undivided_common_edge): Guard scrollbar specific
5861 (window_needs_vertical_divider_1): Ditto.
5863 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5865 * emacs.c (decode_path): Eliminate compiler warning.
5866 (Fdecode_path): Renamed to Fsplit_path.
5867 (Fsplit_string_by_char): New function.
5869 1998-05-14 Damon Lipparelli <lipp@primus.com>
5871 * winslots.h: close comment
5873 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5875 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5877 * bufslots.h: Removed buffer_file_type slot.
5879 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5881 (complex_vars_of_buffer): Removed buffer-file-type variable and
5882 its default reference.
5884 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5886 * faces.c (complex_vars_of_faces): Defined
5887 Vvertical_divider_face.
5888 (vars_of_faces): Staticpro it.
5890 * faces.h: Externed Vvertical_divider_face.
5892 * redisplay-x.c (x_output_vertical_divider): Use
5893 Vvertical_divider_face to draw the divider instead of modeline
5896 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5897 divider face using Vvertical_divider_face background.
5898 Fix drawing spacing gaps around the divider.
5900 1998-05-14 Didier Verna <verna@inf.enst.fr>
5902 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5903 values for the vertical divider line width and spacing. Use the
5904 cached values from the window structure instead.
5905 (x_divider_width): ditto.
5907 * window.c (specifier_vars_of_window): new specifiers:
5908 vertical-divier -line-width and -spacing.
5909 (vertical_divider_global_width_changed): formerly known as
5910 vertical_divider_shadow_thickness_changed.
5912 * winslots.h: new slots: vertical_specifier _line_width and
5913 _spacing. Plus corrected a comment typo.
5915 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5917 * window.h: Declared window_divider_width().
5919 * console-stream.c (stream_divider_width): Removed method.
5920 (console_type_create_stream): And declaration for it.
5922 * redisplay.c (pixel_to_glyph_translation): Use
5923 window_divider_width() instead of divider_width redisplay method.
5924 (pixel_to_glyph_translation): Fix top divider edge calculation
5925 when scrollbar is on top.
5927 * window.c (window_divider_width): New function, an outphaser for
5928 divider_width redisplay method.
5929 (window_right_gutter_width): Use it.
5930 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5931 specifiers, set fallback values differently on TTYs, and document
5932 the behavior of these on TTYs in the docstrings.
5934 * scrollbar.c (update_scrollbar_instance): Use
5935 window_divider_width() instead of divider_width redisplay method.
5937 * console.h (struct console_methods): Removed divider_width_method.
5939 * redisplay-tty.c (tty_divider_width): Removed device method.
5940 (console_type_create_redisplay_tty): Removed definition for it.
5941 (tty_output_vertical_divider): Respect the value returned by
5942 window_divider_width thus divider line width specification.
5944 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5945 (console_type_create_redisplay_mswindows): Removed definition for it.
5946 (mswinodws_output_vertical_divider): Respect the value returned by
5947 window_divider_width thus divider line width specification.
5949 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5951 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5953 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5955 * glyphs-msw.c: resource loading implementation.
5956 (cursor_normalize): new function.
5957 (cursor_validate): ditto.
5958 (cursor_instantiate): ditto.
5959 (cursor_name_to_resource): ditto.
5960 (cursor_possible_dest_types): ditto.
5961 (check_valid_symbol): ditto.
5962 (check_valid_string_or_int): ditto.
5964 1998-05-14 Martin Buchholz <martin@xemacs.org>
5966 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5969 * process-unix.c (process_signal_char): Use VSUSP instead of
5970 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5972 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5974 * specifier.c (specifier_instance): Change locale precedence of
5975 instantiation so window locale has higher priority than buffer
5977 (Fspecifier_instance): Reflect this in docstring.
5978 (Fadd_spec_list_to_specifier): Ditto.
5979 (Fadd_spec_to_specifier): Ditto.
5980 (Fremove_specifier): Ditto.
5982 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5984 ** Dialog separation into a device method from Andy Piper
5986 * emacs.c (main_1): Call console_type_create_dialog_x().
5988 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5989 into this device method.
5990 (console_type_create_dialog_x): New function.
5992 * dialog.c (Fpopup_dialog_box): New function.
5993 (syms_of_dialog): Defsubr it.
5995 * console.h (struct console_methods): Declared
5996 popup_dialog_box_method().
5998 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6000 1998-05-14 Oliver Graf <ograf@fga.de>
6002 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6003 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6005 1998-05-13 Oliver Graf <ograf@fga.de>
6007 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6009 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6011 * console.h (device_metrics): Removed dbcs, input-method-editor
6012 and right-to-left metrics.
6014 * device.c (Fdevice_system_metric): Ditto.
6015 (Fdevice_system_metrics): Ditto.
6016 (syms_of_device): Ditto.
6017 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6020 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6022 * line-number.h (mark_line_number_cache): Remove unused
6025 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6026 (get_nearest_line_number): Simplify.
6027 (add_position_to_cache): Make the old marker point nowhere.
6029 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6031 ** Renamed window-divider-map => vertical-divider-map
6032 and event-over-divider-p => event-over-vertical-divider-p,
6033 in the following files/functions:
6035 * events.c (Fevent_over_divider_p):
6036 * keymap.c (get_relevant_keymaps):
6039 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6041 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6043 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6045 * window.c (vertical_divider_changed_in_window): Renamed so.
6046 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6047 (window_needs_vertical_divider_1): Decide whether we need it based
6048 on the value of the above specifier. If separators are unwanted,
6049 put them only if there's no scrollbar between this window and its
6051 (have_undivided_common_edge): New function, helper for the above.
6052 (window_needs_vertical_divider): Return either a cached value,
6053 or clauclate and cache one.
6054 (invalidate_vertical_divider_cache_in_window): Implemented.
6055 (map_windows): Changed return type to int, return the value from
6058 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6059 (struct window): Added need_vertical_divider_p and
6060 need_vertical_divider_valid_p.
6062 * winslots.h: Added vertical_divider_draggable_p slot.
6064 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6065 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6067 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6069 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6070 invalidate_vertical_divider_cache_in_frame().
6073 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6075 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6077 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6078 masks correctly and don't select 0.
6080 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6082 * winslots.h: New file, declaration of some struct window and
6083 struct saved_window members.
6085 * window.h (struct window): Include it, with required preprocessor
6088 * window.c (mark_window): Ditto.
6089 (allocate_window): Ditto.
6090 (struct saved_window): Ditto.
6091 (mark_window_config): Ditto.
6092 (saved_window_equal): Ditto.
6093 (Fset_window_configuration): Ditto.
6095 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6097 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6099 1998-05-12 Didier Verna <verna@inf.enst.fr>
6101 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6102 the divider line. The shadow thickness is currently
6103 hard-wired. This will probably be turned into a specifier soon.
6105 1998-05-12 Didier Verna <verna@inf.enst.fr>
6107 * console.h (struct console_methods): the divider_width console
6108 method now requires a struct window * argument.
6110 * redisplay-x.c (x_divider_width): ditto. Plus remove
6111 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6112 (x_output_vertical_divider): give a depressed look when the shadow
6113 thickness is negative.
6115 * console-stream.c (stream_divider_width): pass a struct window *
6118 * redisplay-tty.c (tty_divider_width): ditto.
6120 * window.c (window_right_gutter_width): totdi.
6122 * redisplay.c (generate_modeline): ittod.
6124 * scrollbar.c (update_scrollbar_instance): ttido.
6126 * redisplay-msw.c (mswindows_divider_width): ottid.
6127 WARNING: this enables to compile, but the feature is not functional.
6129 * window.h (struct window): new field
6130 vertical_divider_shadow_thickness.
6132 * window.c (specifier_vars_of_window): new specifier
6133 vertical-divider-shadow-thickness.
6134 (vertical_divider_shadow_thickness_changed): new function to
6135 inform redisplay that the window has changed.
6136 (mark_window): handle new field vertical_divider_shadow_thickness
6138 (allocate_window): ditto.
6139 (saved_window_equal): toddi.
6140 (Fset_window_configuration): totid.
6141 (save_window_save): ttdio.
6142 (struct saved_window): new field vertical_divider_shadow_thickness.
6144 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6146 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6149 1998-05-12 Oliver Graf <ograf@fga.de>
6151 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6152 * event-Xt.c (x_event_to_emacs_event): C++ compability
6154 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6156 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6159 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6161 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6164 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6166 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6168 * emacs.c (decode_path_1): New function.
6169 (decode_path): Use it.
6170 (Fdecode_path): Renamed from Fdecode_path_internal; use
6173 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6175 * macros.c (Fzap_last_kbd_macro_event): New function.
6176 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6178 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6180 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6181 multiple bitmaps are output vertically as well as horizontally.
6182 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6183 crossing lines this is handled by
6184 mswindows_output_dibitmap_region.
6186 1998-05-12 Martin Buchholz <martin@xemacs.org>
6188 * inline.c: Include eldap.h
6190 * menubar-x.c (x_update_frame_menubar_internal):
6191 Remove: unused variable `container'
6193 1998-05-11 Martin Buchholz <martin@xemacs.org>
6195 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6196 Unfortunately, the resulting temacs still cannot dump.
6198 * symbols.c (symbol_is_constant):
6199 (verify_ok_for_buffer_local):
6200 -Wswitch Warning suppression - add default case to switches.
6202 * redisplay.c (decode_mode_spec): Remove unused variables,
6203 Replace Fcoding_system_property (codesys, Qmnemonic) with
6204 XCODING_SYSTEM_MNEMONIC (codesys);
6205 Fcoding_system_property is for users.
6211 Change empty docstrings into no doc strings at all.
6212 Fix bogus FSF-format docstrings.
6215 Standardize docstrings.
6218 Explain problems with matherr.
6220 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6223 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6224 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6225 Fix the weird resultant interaction (causes windows problems)
6229 Take new EMACSBOOTSTRAPLOADPATH into account.
6230 Update documentation strings
6233 - Adjust for luser's CDPATH being set to something weird.
6234 - Take into account bash 2.02's tendency to print the cwd when
6235 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6236 - fix the run-temacs target to use $(DUMPENV)
6237 - fix the run-puremacs target to use $(DUMPENV)
6238 - fix the `depend' target to properly $(RM) the right files
6239 - Generate a better TAGS file for XEmacs' lisp code using
6240 hand-crafted regexps.
6241 - Use standard coding conventions for modules/Makefile.in
6243 1998-05-12 Didier Verna <verna@inf.enst.fr>
6245 * redisplay.c: removed the scrolling modeline code that didn't
6246 make it for 21.0. To be continued ...
6248 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6250 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6251 and empty string inputs.
6253 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6255 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6257 1998-05-10 Oliver Graf <ograf@fga.de>
6259 * event-stream.c (enqueue_misc_user_event_pos): created
6260 * lisp.h (enqueue_misc_user_event_pos): prototype added
6261 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6262 * emacs.c: call vars_of_dragdrop
6263 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6265 1998-05-11 Oliver Graf <ograf@fga.de>
6267 * frame-x.c (x_cde_transfer_callback): return at correct pos
6268 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6269 object for MIME (see comment in dragdrop.c)
6270 * dragdrop.c: API change documented in comment
6271 removed provide of dragdrop [is provided by dragdrop.el]
6273 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6275 * window.c (window_needs_vertical_divider): Enable vertical
6276 dividers for every non-rightmost window.
6277 (window_left_gutter_width): Left gutter consists of mythical
6278 toolbar and a virtual scrollbar.
6279 (window_right_gutter_width): The right one may have a divider
6282 * scrollbar.c (update_scrollbar_instance): Position vertical
6283 scrollbar left to divider if the latter present.
6285 * redisplay.h: Declared OVER_DIVIER constant.
6287 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6290 * redisplay-x.c (x_output_vertical_divider): Output divider along
6291 the right side of the window, down to window bottom. Swapped
6292 foreground and background colors so it is visible by default.
6294 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6295 stick the divider to the right window side.
6297 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6299 (mswindows_divider_width): Ask system for user preferred value.
6300 (mswindows_output_vertical_divider): Always output the divider on
6301 the right side of a window, down to bottom.
6303 * keymap.c (get_relevant_keymaps): Route mouse button events which
6304 happened over a window divider through window-divider-map.
6305 (Fkey_binding): Documented that in the docstring.
6306 Defined the variable Vwindow_divider_map.
6308 * events.c (Fevent_over_divider_p): Added this function.
6310 * events.h: EXFUNed it.
6312 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6314 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6315 toolbar geometry is suspected to change.
6317 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6321 Condition dnd and dde code on HAVE_DRAGNDROP.
6323 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6325 * events.c (format_event_object): Print space as SPC etc.
6327 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6329 * print.c (print_internal): In the default case, abort() if
6330 ERROR_CHECK_TYPECHECK.
6332 * fileio.c (Fmake_temp_name): Doc fix.
6334 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6336 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6338 * undo.c (Fprimitive_undo): Fixed typo.
6340 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6342 * fns.c (concat): Signal error on integer argument.
6344 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6346 * console.h (device_metrics): Prefixed each constatnt with DM_
6348 * device.c: (Fdevice_system_metric): Renamed so from plural form
6349 (metrics); Changed parameters order and added DEFAULT parameter;
6350 Unabbreviated some metric constants; Fixed and untabified doc string.
6351 (Fdevice_system_metrics): Added. Returns a plist of all provided
6354 * device-msw.c (mswindows_device_system_metrics): Renamed
6355 device_metrics enum constants.
6356 Return Qunbound instead of Qnil.
6358 * device-tty.c (tty_device_system_metrics): Ditto.
6360 * device-x.c (x_device_system_metrics): Ditto.
6362 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6364 * redisplay-msw.c: implement background pixmaps (really!). Make
6365 sure bg color is transparent if we have bg pmaps.
6366 * (mswindows_output_string) (mswindows_clear_region): output bg
6368 * (mswindows_output_dibitmap_region): new function.
6369 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6370 the bg color rather than transparently.
6372 * toolbar-msw.c: use masks if they exist.
6374 * glyphs-msw.c: set up masks correctly.
6376 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6378 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6380 * regex.c (re_match_2_internal): Check for quit.
6382 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6384 * frame.c (Ffocus_frame): New function.