f12136b25c10e7a10f6877c83e2f26ec0f902d13
[chise/xemacs-chise.git-] / src / ChangeLog
1 1999-09-01  MORIOKA Tomohiko  <tomo@etl.go.jp>
2
3         * character.h (Charset_ID): New type.
4         (LEADING_BYTE_UCS_BMP): New macro.
5         (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
6         (CHARSET_ID_OFFSET_94): New macro.
7         (MIN_CHARSET_ID_PRIVATE_94): New macro.
8         (MAX_CHARSET_ID_PRIVATE_94): New macro.
9         (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
10         final-byte.
11         (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
12         (LEADING_BYTE_LATIN_JISX0201): Likewise.
13         (CHARSET_ID_OFFSET_96): New macro.
14         (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
15         CHARSET_ID_OFFSET_96 and final-byte.
16         (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
17         (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
18         (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
19         (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
20         (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
21         (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
22         (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
23         (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
24         (LEADING_BYTE_THAI_TIS620): Likewise.
25         (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
26         (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
27         (CHARSET_ID_OFFSET_94x94): New macro.
28         (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
29         CHARSET_ID_OFFSET_94x94 and final-byte.
30         (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
31         (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
32         (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
33         (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
34         (LEADING_BYTE_CHINESE_GB2312): Likewise.
35         (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
36         (LEADING_BYTE_KOREAN_KSC5601): Likewise.
37         (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
38         (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
39         (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
40         (LEADING_BYTE_KOREAN_KPS9566): Likewise.
41         (CHARSET_TYPE_128X128): New macro.
42         (CHARSET_TYPE_256X256): New macro.
43         (XCHARSET_PRIVATE_P): Delete unconditionally.
44         (charset_by_attributes): Delete array about direction.
45         (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
46         (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
47         (MIN_CHAR_94): New macro.
48         (MAX_CHAR_94): New macro.
49         (MIN_CHAR_96): New macro.
50         (MAX_CHAR_96): New macro.
51         (MIN_CHAR_94x94): New macro.
52         (MAX_CHAR_94x94): New macro.
53         (MIN_CHAR_96x96): New macro.
54         (MAX_CHAR_96x96): New macro.
55         (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
56         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
57         (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
58         - 32)'.
59         (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
60         (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
61         (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
62         (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
63         (MAX_CHAR_PRIVATE_TYPE9N): Changed.
64         (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
65         `XCHARSET_LEADING_BYTE' to make code-point.
66         (latin_a_char_to_charset): New variable.
67         (latin_a_char_to_byte1): New variable.
68         (latin_a_char_to_byte2): New variable.
69         (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
70         Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
71         `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
72         (Vcharset_japanese_jisx0212): New variable definition.
73
74         * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
75         instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
76         (find_charsets_in_emchar_string): Likewise.
77         (vars_of_insdel): Don't define local variable `i' in UTF-2000.
78
79         * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
80         `int'.
81         (decode_coding_iso2022): Likewise.
82
83         * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
84         of `unsigned char'.
85
86         * redisplay.c (redisplay_text_width_emchar_string): Use
87         `Charset_ID' instead of `unsigned char'.
88         (redisplay_frame_text_width_string): Likewise.
89
90         * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
91         `unsigned char'.
92
93         * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
94         instead of `unsigned char'.
95         (face_cachel_charset_font_metric_info): Likewise.
96
97         * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
98         (get_non_ascii_char_table_value): Likewise.
99         (get_char_table): Likewise.
100         (put_char_table): Likewise.
101         (map_over_other_charset): Likewise.
102         (map_char_table): Likewise.
103
104         * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
105         instead of `unsigned char'.
106
107 1999-08-31  MORIOKA Tomohiko  <tomo@etl.go.jp>
108
109         * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
110         (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
111
112         * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
113         in UTF-2000 because it is not ported yet and not to use
114         `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
115
116 1999-08-30  MORIOKA Tomohiko  <tomo@etl.go.jp>
117
118         * character.h (LEADING_BYTE_COMPOSITE): Deleted.
119
120 1999-08-29  MORIOKA Tomohiko  <tomo@etl.go.jp>
121
122         * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
123         in UTF-2000.
124
125         * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
126         of unsigned char to store leading-byte.
127
128         * chartab.c (get_non_ascii_char_table_value): Don't use
129         `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
130
131         * file-coding.c (encode_coding_big5): Delete bogus implementation
132         in UTF2000.
133
134         * character.h (LEADING_BYTE_*): Delete definition for
135         non-UTF-2000.
136         (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
137         (LEADING_BYTE_PREFIX_P): Deleted.
138         (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
139         (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
140         (BUFBYTE_LEADING_BYTE_P): Deleted.
141         (CHARSET_PRIVATE_P): Deleted unconditionally.
142         (rep_bytes_by_first_byte): Deleted unconditionally.
143         (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
144         (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
145         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
146         (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
147         (CHAR_FIELD2): Deleted.
148         (CHAR_FIELD3): Deleted.
149         (MAKE_CHAR): Delete definition for non-UTF-2000.
150         (BREAKUP_CHAR_1_UNSAFE): Deleted.
151         (breakup_char_1): New implementation.
152         (CHAR_CHARSET): Use `BREAKUP_CHAR'.
153         (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
154
155 1999-08-29  MORIOKA Tomohiko  <tomo@etl.go.jp>
156
157         * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
158         condition.
159
160 1999-08-28  MORIOKA Tomohiko  <tomo@etl.go.jp>
161
162         * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
163         (CHARSET_PRIVATE_P): Likewise.
164         (XCHARSET_PRIVATE_P): Likewise.
165         (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
166
167         * file-coding.c (encode_coding_ucs4): Delete bogus implement in
168         UTF2000.
169         (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
170
171 1999-08-28  MORIOKA Tomohiko  <tomo@etl.go.jp>
172
173         * character.h (LEADING_BYTE_*): Changed in UTF2000.
174         (NUM_LEADING_BYTES): Changed from 128 to 256.
175         (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
176         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
177         UTF2000.
178         (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
179
180         * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
181         UTF2000.
182         (Vcharset_chinese_cns11643_4): New variable in UTF2000.
183         (Vcharset_chinese_cns11643_5): New variable in UTF2000.
184         (Vcharset_chinese_cns11643_6): New variable in UTF2000.
185         (Vcharset_chinese_cns11643_7): New variable in UTF2000.
186         (Qchinese_cns11643_3): New variable in UTF2000.
187         (Qchinese_cns11643_4): New variable in UTF2000.
188         (Qchinese_cns11643_5): New variable in UTF2000.
189         (Qchinese_cns11643_6): New variable in UTF2000.
190         (Qchinese_cns11643_7): New variable in UTF2000.
191         (syms_of_mule_charset): Define `chinese-cns11643-3',
192         `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
193         and `chinese-cns11643-7' in UTF2000.
194         (vars_of_mule_charset): Initialize
195         next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
196         + 1 in UTF2000.
197         (complex_vars_of_mule_charset): Setup charset
198         `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
199         `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
200
201 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
202
203         * mule-charset.c: Move setting for `leading-code-private-11' from
204         `syms_of_mule_charset' to `vars_of_mule_charset'.
205
206 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
207
208         * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
209         and `NUM_LEADING_BYTES' in assert.
210
211 1999-08-27  MORIOKA Tomohiko  <tomo@etl.go.jp>
212
213         * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
214         instead of 128.
215         (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
216         `NUM_LEADING_BYTES' instead of 128.
217
218 1999-08-26  MORIOKA Tomohiko  <tomo@etl.go.jp>
219
220         * mule-charset.h (charset_by_leading_byte): Use
221         `NUM_LEADING_BYTES' instead of 128.
222         (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
223
224         * mule-charset.c (charset_by_leading_byte): Use
225         `NUM_LEADING_BYTES' instead of 128.
226         (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
227
228         * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
229         128.
230
231 1999-08-25  MORIOKA Tomohiko  <tomo@etl.go.jp>
232
233         * mule-charset.c (syms_of_mule_charset): Update to
234         0.4 (Shin-Imamiya).
235
236 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
237
238         * file-coding.c (encode_coding_sjis): New implementation for
239         UTF2000.  (decode_coding_sjis): Ditto.
240
241 1999-06-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
242
243         * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
244         Don't define in UTF2000.
245
246         * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
247         defined.
248
249         * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
250         mule-ccl.c, lstream.h, buffer.h: Include character.h in every
251         MULE.
252
253 1999-06-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
254
255         * config.h.in (CHAR_IS_UCS4): New macro.
256
257         * mule-charset.c (rep_bytes_by_first_byte): Modify for
258         conventional MULE representation.
259         (syms_of_mule_charset): Update to 0.3 (Imamiya).
260
261         * mule-charset.h: Reverted to original.
262
263         * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
264         mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
265         "mule-charset.h" if CHAR_IS_UCS4 is defined.
266
267         * character.h: New file.
268
269         * file-coding.c (Fmake_coding_system): Set 1 to
270         `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
271         defined.
272         (encode_coding_no_conversion): New implementation for UTF2000.
273
274         * file-coding.h (struct Lisp_Coding_System): Add new member
275         `fixed.size'.
276
277 1999-06-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
278
279         * file-coding.c (decode_coding_iso2022): Code-point arguments of
280         `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
281         (encode_coding_iso2022): New implementation for UTF2000.
282
283 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
284
285         * mule-canna.c (c2mu): New implementation for UTF2000.
286         (m2c): Likewise.
287
288 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
289
290         * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
291
292 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
293
294         * file-coding.c (reset_encoding_stream): Set 0 to
295         `str->iso2022.current_char_boundary' in UTF2000.
296         (encode_utf8): Don't define in UTF2000.
297         (encode_coding_utf8): New implementation for UTF-8 representation
298         of UTF2000.
299         (complex_vars_of_file_coding): Define coding-system `utf-8'.
300
301 1999-06-15  MORIOKA Tomohiko  <tomo@etl.go.jp>
302
303         * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
304
305         * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
306         UTF2000.
307         (REP_BYTES_BY_FIRST_BYTE): Likewise.
308
309         * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
310
311         * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
312         local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
313         as UTF-8 in UTF2000.
314         (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
315         (non_ascii_valid_char_p): Don't define in UTF2000.
316         (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
317         (Lstream_get_emchar_1): Likewise.
318         (utf-2000-version): New variable in UTF2000.
319
320         * lread.c (read_escape): Add new reader `u'.
321
322         * insdel.c (three_to_one_table): Don't define in UTF2000.
323         (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
324         `buf->text->mule_shifter' and `buf->text->mule_three_p' in
325         UTF2000.
326         (bytind_to_bufpos_func): Likewise.
327         (buffer_mule_signal_inserted_region): Likewise.
328         (vars_of_insdel): Don't initialize `three_to_one_table'.
329         (init_buffer_text): Use `buf->text->mule_size' instead of
330         `buf->text->mule_shifter' and `buf->text->mule_three_p' in
331         UTF2000.
332
333         * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
334         UTF-8 representation in UTF2000.
335         (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
336         (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
337         (decode_coding_iso2022): Don't define local variable `lb' in
338         UTF2000; don't use LEADING_BYTE in UTF2000; use
339         `DECODE_ADD_UCS_CHAR' in UTF2000.
340         (convert_to_external_format): Decode as UTF-8 in UTF2000.
341
342         * config.h.in (UTF2000): New macro.
343
344         * buffer.h (struct buffer_text): Add new member `mule_size' and
345         don't add `mule_shifter' and `mule_three_p' in UTF2000.
346         (valid_char_p): Return always 1 in UTF2000.
347         (MAX_EMCHAR_LEN): 6 in UTF2000.
348         (three_to_one_table): Don't define in UTF2000.
349         (real_bufpos_to_bytind): Modify for UTF-8 representation in
350         UTF2000.
351         (real_bytind_to_bufpos): Likewise.
352
353         * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
354
355 1999-06-10  MORIOKA Tomohiko  <tomo@etl.go.jp>
356
357         * mule-charset.c (rep_bytes_by_first_byte): Modified for character
358         representation change.
359         (Vutf_2000_version): New variable.
360         (leading_code_private_11): New variable.
361         (syms_of_mule_charset): Add new variables `utf-2000-version' and
362         `leading-code-private-11'.
363
364         * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
365         (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
366         (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
367         (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
368         (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
369         (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
370         (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
371         (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
372         (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
373         (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
374         (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
375         (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
376         (MIN_CHAR_GREEK): New macro.
377         (MAX_CHAR_GREEK): New macro.
378         (MIN_CHAR_CYRILLIC): New macro.
379         (MAX_CHAR_CYRILLIC): New macro.
380         (MIN_CHAR_HEBREW): New macro.
381         (MAX_CHAR_HEBREW): New macro.
382         (MIN_CHAR_THAI): New macro.
383         (MAX_CHAR_THAI): New macro.
384         (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
385         (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
386         (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
387         (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
388         (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
389         (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
390         (CHAR_FIELD2): New inline function.
391         (CHAR_FIELD3): New inline function.
392         (MULE_CHAR_PRIVATE_OFFSET): New macro.
393         (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
394         (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
395         (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
396         (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
397         (MIN_CHAR_COMPOSITION): Likewise.
398         (CHAR_LEADING_BYTE): Modified for character representation change.
399         (MAKE_CHAR): Likewise.
400
401         * lisp.h (Vcharset_latin_iso8859_1): New variable.
402         (Vcharset_greek_iso8859_7): Likewise.
403         (Vcharset_cyrillic_iso8859_5): Likewise.
404         (Vcharset_hebrew_iso8859_8): Likewise.
405         (Vcharset_thai_tis620): Likewise.
406         (Vcharset_katakana_jisx0201): Likewise.
407
408 1999-08-17  MORIOKA Tomohiko  <tomo@etl.go.jp>
409
410         * file-coding.c (determine_real_coding_system): Treat `coding:'
411         cookie.
412
413 1999-08-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
414
415         * file-coding.c (struct decoding_stream): New member `counter'.
416         (reset_decoding_stream): Initialize `counter'.
417         (decode_coding_ucs4): Use `counter'.
418         (decode_coding_utf8): Likewise.
419
420 1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>
421
422         * XEmacs 21.2.19 is released
423
424 1999-07-27  Jeff Miller  <jmiller@smart.net>
425
426         * add a "#ifdef HAVE_MENUBARS"  wrapper to gui.c around 
427           menubar_show_keybindings.
428
429 1999-07-23  SL Baur  <steve@miho>
430
431         * mule-charset.c (syms_of_mule_charset): Delete duplicated
432         definition of Qccl_program.
433
434         * mule-ccl.h: Make a global declaration of it here.
435
436 1999-07-20  Bob Weiner  <weiner@beopen.com>
437
438         * s/sco7.h: Added from rr@sco.com.
439
440 1999-06-25  MORIOKA Tomohiko  <tomo@etl.go.jp>
441
442         * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
443
444 1999-06-24  MORIOKA Tomohiko  <tomo@etl.go.jp>
445
446         * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
447         (mule_encode): Likewise.
448
449         * mule-ccl.c (Qccl_program): New variable.
450         (CCL_SUSPEND): New macro.
451         (CCL_INVALID_CMD): New macro.
452         (CCL_READ_CHAR): Don't regard as invalid command while processing
453         the last block even if input is empty; use
454         `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
455         (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
456
457         * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
458         (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
459         (CCL_STAT_SUSPEND_BY_DST): Likewise.
460         (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
461         (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
462
463 1999-05-04  Ken'ichi Handa  <handa@gnu.org>
464
465         * mule-ccl.h (struct ccl_program): New member stack_idx.
466
467         * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
468         (ccl_driver): Setup stack_idx and ccl_prog correctly.  Update them
469         before returing.
470         (setup_ccl_program): Initialize ccl->stack_idx to 0.
471
472 1998-10-12  Kenichi Handa  <handa@etl.go.jp>
473
474         * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
475         definitions.
476
477 1998-08-18  Kenichi Handa  <handa@etl.go.jp>
478
479         * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
480         processing the last block, don't just finish but processes eol
481         block of the current CCL program.
482         (ccl_driver): Add a new jump label ccl_repeat for the above
483         change.
484
485 1998-04-15  Kenichi Handa  <handa@etl.go.jp>
486
487         * mule-ccl.c: Typo in comments fixed.
488         (Qccl_program_idx): New variables.
489         (CCL_ReadMultibyteChar2): Macro name changed from
490         CCL_ReadMultibyteCharacter.
491         (CCL_WriteMultibyteChar2): Macro name changed from
492         CCL_WriteMultibyteChar2.
493         (ccl_driver): Adjusted for the above changes.
494         (resolve_symbol_ccl_program): New function.
495         (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
496         program.  If CCL-PRGRAM is a vector, convert symbols in it to ID
497         numbers by resolve_symbol_ccl_program.
498         (Fccl_execute_on_string): Likewise.
499         (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
500         convert symbols in it to ID numbers by resolve_symbol_ccl_program.
501
502 1998-01-21  Kenichi Handa  <handa@etl.go.jp>
503
504         * mule-ccl.h: (struct ccl_program): New member private_state.
505
506         * mule-ccl.c
507         (CCL_Call): Fix the comment.
508         (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
509         macros for CCL Commands.
510         (EXCMD): New macro.
511         (ccl_driver): New case lable `CCL_Extention'.
512         (setup_ccl_program): Initialize the member `private_state' of CCL.
513
514 1999-07-08  Katsumi Yamaoka <yamaoka@jpl.org>
515
516         * keymap.c (copy_keymap_internal): Inherit the default binding.
517
518 1999-07-14  Kazuyuki IENAGA <kazz@imasy.or.jp>
519
520         * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
521         focus the event (XIM_focus_event).
522         (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because 
523         XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
524         the interface for future use (XIM_SetGeometry).
525         * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot 
526         location (XIM_SetSpotLocation).
527         (x_output_eol_cursor): Ditto.
528
529 1999-07-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
530
531         * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
532         Olivier's change to lrecord.h of 1999-04-22
533
534 1999-07-20  Robert Pluim  <rpluim@bigfoot.com>
535
536         * gutter.c (redraw_exposed_gutter): Change type of pos from
537         enum toolbar_pos -> enum gutter_pos, since former is only defined
538         if toolbar support is.
539
540 1999-07-19  Andy Piper  <andy@xemacs.org>
541
542         * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
543         subwindows.
544
545         * gutter.c (gutter_validate): new function for the gutter specifier.
546         (specifier_type_create_gutter): declare specifier validator.
547
548         * buffer.h (INC_CHARBYTIND): add for no error checking version.
549
550 1999-07-18  Andy Piper  <andy@xemacs.org>
551
552         * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
553
554         * glyphs-msw.c (console_type_create_glyphs_mswindows): add
555         resize_subwindow.
556         (mswindows_resize_subwindow): new function.
557
558         * gutter.c (redraw_exposed_gutter): only reset the
559         current_display_lines if non-zero.
560         (Fgutter_pixel_height): new function.
561         (Fgutter_pixel_width): new function.
562
563         * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
564         we want to retrive from the tab control.
565
566 1999-07-17  Andy Piper  <andy@xemacs.org>
567
568         * window.c (change_window_height): mark gutters changed when we're
569         done.
570
571         * gutter.c (specifier_vars_of_gutter): make defaults more
572         sensible.
573
574         * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
575         height gutter.
576         (DEFAULT_GUTTER_WIDTH): change.
577         (DEFAULT_GUTTER_BORDER_WIDTH): change.
578
579 1999-07-18  Andy Piper  <andy@xemacs.org>
580
581         * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
582
583 1999-07-16  Andy Piper  <andy@xemacs.org>
584
585         * frame.c (Fmake_frame): call init_frame_gutters().
586
587         * redisplay.c (add_emchar_rune): use string functions if we are
588         working with a string.
589         (position_redisplay_data_type): add string element.
590
591 1999-07-15  Andy Piper  <andy@xemacs.org>
592
593         * winslots.h: add real_gutter_size slots to hold the actual gutter
594         size. This is important for autodetected sizes.
595
596         * gutter.c (calculate_gutter_size): calculate size for gutters
597         that have 'autodetect size.
598
599         * redisplay-msw.c (mswindows_output_vertical_divider): adjust
600         extent of divider for gutters.
601
602         * redisplay-x.c (x_output_vertical_divider): adjust extent of
603         divider for gutters.
604
605         * scrollbar.c (update_scrollbar_instance): adjust scrollbar
606         position to take into account the gutters.
607
608         * redisplay.c (generate_modeline): adjust modeline position to
609         take into account the gutters.
610
611 1999-07-14  Andy Piper  <andy@xemacs.org>
612
613         * gutter.c (frame_topmost_window): new function.
614         (frame_bottommost_window): ditto.
615         (frame_leftmost_window): ditto.
616         (frame_rightmost_window): ditto.
617
618 1999-07-13  Andy Piper  <andy@xemacs.org>
619
620         * redisplay.c (calculate_display_line_boundaries): use text
621         boundaries so that gutters get handled properly.
622
623 1999-07-12  Andy Piper  <andy@xemacs.org>
624
625         * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
626         we're using Motif.
627
628         * redisplay-output.c (redisplay_clear_to_window_end): generalised
629         from redisplay-x.c
630
631         * redisplay-x.c (redisplay_clear_to_window_end): moved to
632         redisplay.c
633         
634         * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
635
636         * gutter.c: new file - implements gutters. All new functions are
637         semantically equivalent to the toolbar functions.
638         (gutter_was_visible): new function.
639         (get_gutter_coords): ditto.
640         (output_gutter): ditto.
641         (clear_gutter): ditto.
642         (update_frame_gutters): ditto.
643         (redraw_exposed_gutter): ditto.
644         (redraw_exposed_gutters): ditto.
645         (free_frame_gutters): ditto.
646         (init_frame_gutters): ditto.
647         (decode_gutter_position): ditto.
648         (Fset_default_gutter_position): ditto.
649         (Fset_default_gutter_position): ditto.
650         (Fdefault_gutter_position): ditto.
651         (gutter_after_change): ditto.
652         (Fgutter_specifier_p): ditto.
653         (recompute_overlaying_specifier): ditto.
654         (gutter_specs_changed): ditto.
655         (default_gutter_specs_changed): ditto.
656         (gutter_geometry_changed_in_window): ditto.
657         (default_gutter_size_changed_in_window): ditto.
658         (default_gutter_border_width_changed_in_window): ditto.
659         (default_gutter_visible_p_changed_in_window): ditto.
660         (syms_of_gutter): ditto.
661         (vars_of_gutter): ditto.
662         (specifier_type_create_gutter): ditto.
663         (specifier_vars_of_gutter): ditto.
664
665         * gutter.h: new file. Contains gutter constants and sizing macros
666         similar to those for the toolbar.
667
668         * winslots.h: add gutter variables.
669
670         * window.h: declare window_is_* functions.
671
672         * window.c (window_is_lowest): make non-static.
673         (window_is_highest): ditto.
674         (window_top_toolbar_height): deleted.
675         (window_bottom_toolbar_height): deleted.
676         (window_left_toolbar_width): deleted.
677         (window_right_toolbar_width): deleted.
678         (window_top_gutter_height): add gutter sizing.
679         (window_bottom_gutter_height): ditto.
680         (window_left_gutter_width): ditto.
681         (window_right_gutter_width): ditto.
682
683         * symsinit.h: declarations for gutters vars etc.
684
685         * search.c (bi_find_next_emchar_in_string): new function.
686
687         * scrollbar.c (update_scrollbar_instance): remove reference to
688         window_bottom_toolbar_height which did nothing.
689
690         * redisplay.h (struct display_line): add face indices for
691         overriding defaults in output_display_line.
692         Add gutter_changed flags and declarations.
693
694         * redisplay.c (create_string_text_block): new function, similar to
695         create_text_block but for strings. Display tables etc are used
696         from the currently selected window.
697         (generate_string_display_line): ditto. Similar to
698         generate_display_line.
699         (generate_displayable_area): generate display lines for a given
700         area on a frame. Input is the string, with associated extents, to
701         display.
702         (redisplay_frame): add gutter_changed check.
703         (redisplay_device): ditto.
704         (redisplay_without_hooks): ditto.
705
706         * redisplay-x.c (bevel_modeline): moved to redisplay.c.
707         (x_redraw_exposed_area): redraw exposed gutters.
708         (x_bevel_area): new redisplay device method.
709         (x_type_create_redisplay_mswindows): add bevel_area device method.
710         (x_output_display_block): fiddly Martin-style cleanup.
711         (x_output_vertical_divider): use bevel_area.
712
713         * redisplay-output.c (output_display_line): check display_lines
714         for face information before using defaults.
715         (bevel_modeline): new function, calls bevel_area with appropriate
716         values.
717
718         * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
719         (mswindows_redraw_exposed_area): redraw exposed gutters.
720         (mswindows_bevel_area): new redisplay device method.
721         (console_type_create_redisplay_mswindows): add bevel_area device
722         method.
723
724         * indent.c (string_column_at_point): add column_at_point but for
725         strings.
726
727         * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
728         instantiate widgets that we have a toolkit for.
729
730         * general.c: add Qgutter.
731
732         * frame.h (struct frame): add display lines for gutters and
733         visibility flags.
734
735         * frame.c (set_frame_selected_window): mark gutters changed.
736
737         * emacs.c (main_1): add gutter initialisation.
738
739         * device.h (struct device): add gutter_changed flag and macros to
740         manipulate it.
741
742         * console.h (struct console_methods): new bevel area redisplay
743         method.
744
745         * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
746         REAL_INC_BYTIND is for buffers.
747         (INC_CHARPTR): ditto.
748
749         * Makefile.in.in (objs): add gutter.o
750
751 1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>
752
753         * XEmacs 21.2.18 is released
754
755 1999-07-08  SL Baur  <steve@mule.m17n.org>
756
757         * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
758         XIM_XLIB.
759         (emacs_Xt_handle_magic_event): Ditto.
760         * redisplay-x.c (x_output_string): Ditto.
761         (x_output_eol_cursor): Ditto.
762
763 1999-06-30  Kazuyuki IENAGA <kazz@imasy.or.jp>
764
765         *  event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
766         problem that when XIM is destroyed or missed with some reason,
767         xemacs will die.  Now xim=xlib waits the XIM will be ready and
768         endures the case of XIM end up.
769
770 1999-07-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
771
772         * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
773         SIGINT and SIGCHLD before calling tt_open and restore the
774         afterwards. This fixes e.g. the zombie subprocesses on Solaris
775
776 1999-07-06  SL Baur  <steve@xemacs.org>
777
778         * s/linux.h: gcc-2.8 changes for powerpc
779         From Justin Vallon <vallon@mindspring.com>
780
781 1999-07-05  Didier Verna  <verna@inf.enst.fr>
782
783         * indent.c: new symbol Qcoerce.
784         (Fmove_to_column): use it + doc string update.
785
786 1999-07-04  Andy Piper  <andy@xemacs.org>
787
788         * console.c: undo earlier Fprovide changes.
789         * fns.c: ditto.
790         * console.h: ditto.
791
792         * console-tty.c (image_instantiator_format_create_glyphs_tty): new
793         function. validate appropriate image formats for tty.
794
795         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
796         initialize consoles parameter.
797         (struct image_instantiator_methods): add consoles parameter.
798         (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
799         console.
800         (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
801         console.
802
803         * glyphs-msw.c: declare instantiators for later use.
804         (image_instantiator_format_create_glyphs_mswindows): validate xpm
805         and friends on the mswindows console.
806         * glyphs-x.c: ditto.
807
808         * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
809         that have not been registered on the supplied device.
810         (Fvalid_image_instantiator_format_p): add locale argument.
811         (instantiate_image_instantiator): valid image instantiator on the
812         device.
813
814         * symsinit.h: add image_instantiator_format_create_glyphs_tty()
815         declaration.
816
817         * emacs.c (main_1): add call to
818         image_instantiator_format_create_glyphs_tty().
819
820 1999-06-29  Olivier Galibert  <galibert@pobox.com>
821
822         * lisp.h: Add #include <stddef.h>.
823
824         * sysdep.c: Remove #include <stddef.h>.
825         * symbols.c: Remove #include <stddef.h>.
826         * sheap.c: Remove #include <stddef.h>.
827         * opaque.c: Remove #include <stddef.h>.
828         * nt.c: Remove #include <stddef.h>.
829         * mule-charset.c: Remove #include <stddef.h>.
830         * marker.c: Remove #include <stddef.h>.
831         * file-coding.c: Remove #include <stddef.h>.
832         * extents.c: Remove #include <stddef.h>.
833         * elhash.c: Remove #include <stddef.h>.
834         * data.c: Remove #include <stddef.h>.
835         * chartab.c: Remove #include <stddef.h>.
836         * bytecode.c: Remove #include <stddef.h>.
837         * alloc.c: Remove #include <stddef.h>.  Fix vector description
838
839 1999-06-30  SL Baur  <steve@miho.m17n.org>
840
841         * editfns.c: Document "%s" format spec.
842         Suggested by Bob Weiner <weiner@altrasoft.com>
843
844 1999-06-29  Andy Piper  <andy@xemacs.org>
845
846         * event-msw.c: fix definition booboo.
847
848 1999-06-28  Andy Piper  <andy@xemacs.org>
849
850         * glyphs-x.c: change tree -> tree-view, progress ->
851         progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
852         combo-box.
853         (complex_vars_of_glyphs_x): provide-on-console the implemented
854         widget types.
855
856         * glyphs-msw.c: ditto.
857         (complex_vars_of_glyphs_mswindows): ditto.
858
859         * lisp.h: add Fprovide_on_console.
860
861         * fns.c (Ffeaturep): add extra optional console argument.
862         (Fprovide_on_console): like Fprovide but provides only on the
863         specified console-type.
864         (Frequire): check console-features as well as global features.
865
866         * console.c (Fconsole_features): new function. return features for
867         this console.
868         (syms_of_console): add Fconsole_features.
869
870         * console.h (CONMETH_FEATURES): new function for accessing features.
871         (CONSOLE_FEATURES): ditto.
872         (struct console_methods): add features slot.
873         (INITIALIZE_CONSOLE_TYPE): initialize features slot.
874
875 1999-06-28  Andy Piper  <andy@xemacs.org>
876
877         * event-Xt.c (handle_focus_event_1): conditionally compile for
878         X11R5.
879
880         * s/cygwin32.h: fix me website address.
881
882         * event-msw.c: add NMHDR for pre b20 cygwin builds.
883
884         * gui-x.c (button_item_to_widget_value): only add callback if it
885         is non-nil.
886
887         * glyphs-x.c: add progress, edit and combo instantiators.
888         (x_widget_set_property): new function. uses lwlib to set widget
889         values.
890         (x_widget_property): new function. uses lwlib to get widget
891         values.
892         (x_button_instantiate): support images in buttons.
893         (x_button_property): new function. use lwlib to get the selected
894         state.
895         (x_progress_instantiate): new function for instantiating progress
896         gauges.
897         (x_progress_set_property): new function. sets the progress gauge
898         position.
899         (x_edit_instantiate): new function. for instantiating edit fields.
900         (x_combo_instantiate): new function. for instantiating combo
901         boxes.
902         (image_instantiator_format_create_glyphs_x): add new device ii
903         formats.
904
905         * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
906
907         * console.h (CONSOLE_FEATURES): new features accesor.
908
909         * conslots.h (MARKED_SLOT): add features entry.
910
911 1999-06-25  Andy Piper  <andy@xemacs.org>
912
913         * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
914         gui functions.
915
916         * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
917
918         * gui.h (struct Lisp_Gui_Item): add accelerator.
919
920         * gui.c (gui_item_add_keyval_pair): deal with accelerators.
921         (gui_item_init): ditto.
922         (gui_add_item_keywords_to_plist): ditto.
923         (mark_gui_item): ditto.
924         (gui_item_hash): ditto.
925         (gui_item_accelerator): new function.
926         (gui_name_accelerator): new function stolen from gui-x.c
927
928         * gui-x.c (popup_selection_callback): always define. mark
929         subwindows changed after calling a callback.
930         (menu_name_to_accelerator): deleted.
931         (button_item_to_widget_value): forward gui_item things to gui_item
932         functions.
933
934         * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
935         appropriate accesors.
936
937         * glyphs-x.c: declare new glyph formats.
938         (x_finalize_image_instance): unmanage and destroy widgets if they
939         exist.
940         (x_unmap_subwindow): handle widgets specially.
941         (x_map_subwindow): ditto. offset display of widgets by offset of
942         text widget within container.
943         (x_update_subwindow): new function. call lw_modify_all_widgets
944         when we are a widget.
945         (x_widget_instantiate): new function for generically creating
946         widgets-glyphs. toolkit specifics forwarded to lwlib.
947         (x_button_instantiate): new function for instantiating
948         widgets-glyph buttons.
949         (console_type_create_glyphs_x): register update_subwindow.
950         (image_instantiator_format_create_glyphs_x): register widget and
951         button types.
952
953         * event-msw.c (mswindows_wnd_proc): remove redundant variable.
954
955         * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
956         when we get a button press in case we do not have the focus.
957         (handle_focus_event_1): set the keyboard focus to the text widget
958         if we do not have it.
959
960         * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
961         functions.
962
963 1999-06-24  SL Baur  <steve@miho.m17n.org>
964
965         * syntax.c (scan_words): Restore non-Mule code.
966         (word_constituent_p): Restore.
967
968 1999-06-23  Olivier Galibert  <galibert@pobox.com>
969
970         * config.h.in: Add missing #undef *_USER_DEFINED.
971
972 1999-06-23  SL Baur  <steve@miho.m17n.org>
973
974         * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
975         int (fixes a 64-bit problem).
976
977         * chartab.c (word_boundary_p): Use EQ not == for lisp_object
978         comparison.
979
980 1999-03-23  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
981
982         * paths.h.in (PATH_DOC): Made doc-directory configurable.
983
984 1999-06-22  Olivier Galibert  <galibert@pobox.com>
985
986         * lrecord.h: Added basic external description system.
987
988         * symbols.c: Added symbol, symbol-value-buffer-local,
989         symbol-value-lisp-magic and symbol-value-varalias description.
990         * mule-charset.c: Added charset description.
991         * marker.c: Added marker description.
992         * keymap.c: Added keymap description.
993         * glyphs.c: Added glyph description.
994         * floatfns.c: Added float description.
995         * file-coding.c: Added coding-system description.
996         * extents.c: Added extent description.
997         * elhash.c: Added hash-table description.
998         * data.c: Added weak-list desciption.
999         * chartab.c: Added char-table-entry and char-table description.
1000         * bytecode.c: Added compiled-function description.
1001         * alloc.c: Added cons, vector and string description.
1002
1003 1999-06-22  Olivier Galibert  <galibert@pobox.com>
1004
1005         * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1006         Updated everything to the removal of the "flags" substructure.
1007
1008         * lisp.h (subr_lheader_initializer): Updated.
1009         * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1010
1011 1999-06-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
1012
1013         * syntax.c (word_constituent_p): Deleted.
1014         (scan_words): Use `WORD_BOUNDARY_P'.
1015
1016         * chartab.c (Vword_combining_categories): New variable.
1017         (Vword_separating_categories): Likewise.
1018         (CATEGORYP): New macro.
1019         (CATEGORY_SET): Likewise.
1020         (CATEGORY_MEMBER): Likewise.
1021         (word_boundary_p): New function.
1022         (complex_vars_of_chartab): Set up new variable
1023         `word-combining-categories' and `word-separating-categories'.
1024
1025 1999-06-18  Olivier Galibert  <galibert@pobox.com>
1026
1027         * lrecord.h: Added description as a placehold in the lrecord
1028         implementation structures.  Added the parameter to all constructor
1029         defines.
1030
1031         * alloc.c: Added placeholders.
1032         * buffer.c: Ditto.
1033         * bytecode.c: Ditto.
1034         * chartab.c: Ditto.
1035         * console.c: Ditto.
1036         * data.c: Ditto.
1037         * database.c: Ditto.
1038         * device.c: Ditto.
1039         * eldap.c: Ditto.
1040         * elhash.c: Ditto.
1041         * eval.c: Ditto.
1042         * event-stream.c: Ditto.
1043         * events.c: Ditto.
1044         * extents.c: Ditto.
1045         * faces.c: Ditto.
1046         * file-coding.c: Ditto.
1047         * floatfns.c: Ditto.
1048         * fns.c: Ditto.
1049         * frame.c: Ditto.
1050         * glyphs.c: Ditto.
1051         * gui-x.c: Ditto.
1052         * keymap.c: Ditto.
1053         * lstream.c: Ditto.
1054         * marker.c: Ditto.
1055         * mule-charset.c: Ditto.
1056         * objects.c: Ditto.
1057         * opaque.c: Ditto.
1058         * process.c: Ditto.
1059         * rangetab.c: Ditto.
1060         * specifier.c: Ditto.
1061         * symbols.c: Ditto.
1062         * toolbar.c: Ditto.
1063         * tooltalk.c: Ditto.
1064         * window.c: Ditto.
1065
1066 1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
1067
1068         * XEmacs 21.2.17 is released
1069
1070 1999-06-13  Oscar Figueiredo  <oscar@xemacs.org>
1071
1072         * config.h.in (HAVE_LDAP_SET_OPTION): New define
1073         (HAVE_LDAP_GET_LDERRNO): Ditto
1074         (HAVE_LDAP_RESULT2ERROR): Ditto
1075         (HAVE_LDAP_PARSE_RESULT): Ditto
1076         (HAVE_UMICH_LDAP): Removed
1077         (HAVE_NS_LDAP): Removed
1078
1079         * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1080         suggested by Olivier Galibert
1081         (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1082
1083         * eldap.c: Take the removal of `livep' into account in all the
1084         necessary functions
1085         (signal_ldap_error): Take two additional parameters
1086         Added new finer compilation conditions in order to use
1087         ldap_parse_result or ldap_result2error if available
1088         (Fldap_open): Conform to this new API
1089         (Fldap_search_internal): Ditto
1090
1091 1999-06-17  SL Baur  <steve@miho.m17n.org>
1092
1093         * data.c (struct int_or_double): Should use EMACS_INT not int.
1094
1095 1999-06-16  Norbert Koch  <n.koch@eai-delta.de>
1096
1097         * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1098         redisplay-x.c
1099
1100 1999-06-12  MORIOKA Tomohiko  <tomo@etl.go.jp>
1101
1102         * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1103         `CCL_MODE_ENCODING'.
1104
1105         * file-coding.c (mule_decode): Run `ccl_driver' with
1106         `CCL_MODE_DECODING'.
1107         (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1108
1109         * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1110         (ccl_driver): Add new argument `conversion_mode'.
1111         (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1112         (Fccl_execute_on_string): Likewise [perhaps it is better to add
1113         new optional argument].
1114
1115         * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1116         (CCL_MODE_DECODING): New macro.
1117         (ccl_driver): Add new argument `conversion_mode'.
1118
1119 1999-06-15  SL Baur  <steve@miho.m17n.org>
1120
1121         * mule-charset.c (Fsplit_char): New subr.
1122         (Fchar_octet): delete.
1123         (syms_of_mule_charset): DEFSUBR it.
1124
1125 1999-06-13  Andy Piper  <andy@xemacs.org>
1126
1127         * menubar.h: update declarations involving gui_items.
1128
1129         * lisp.h: declare Lisp_Gui_Item.
1130
1131         * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1132
1133         * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1134         (print_image_instance): ditto.
1135         (image_instance_equal): ditto.
1136         (image_instance_hash): ditto.
1137
1138         * event-msw.c (mswindows_need_event): assert badly_p status.
1139         (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1140         callbacks in tree-view and tab-control widgets.
1141         (emacs_mswindows_next_event): modify use of
1142         mswindows_dequeue_dispatch_event.
1143
1144         * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1145         lisp-based gui_items.
1146
1147         * glyphs-msw.c (mswindows_update_subwindow): update use of
1148         gui_items.
1149         (mswindows_register_gui_item): new function.
1150         (mswindows_register_gui_item): fix to use lisp gui_items.
1151         (mswindows_widget_instantiate): ditto.
1152         (mswindows_button_instantiate): ditto.
1153         (add_tree_item): new function to recursively add tree view
1154         elements.
1155         (add_tree_item_list): ditto.
1156         (mswindows_tree_instantiate): new function. instantiate tree view
1157         controls.
1158         (add_tab_item): new function to add tabs to a tab control.
1159         (mswindows_tab_instantiate): new function. instantiate tab
1160         controls.
1161         (image_instantiator_format_create_glyphs_mswindows): add tree view
1162         and tab controls.
1163         (vars_of_glyphs_mswindows): ditto.
1164
1165         * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1166         item lists.
1167         (check_valid_item_list): ditto.
1168         (initialize_widget_image_instance): fix to use new lisp gui_item.
1169         (widget_instantiate_1): allow the setting of default textwidth in
1170         characters.
1171         (widget_instantiate): change to use new widget_instantiate_1
1172         signature.
1173         (combo_instantiate): ditto.
1174         (static_instantiate): ditto.
1175         (tab_instantiate): new function for tab widgets.
1176         (image_instantiator_format_create_glyphs_widget): add tab and tree
1177         view widgets.
1178
1179         * menubar-msw.c (displayable_menu_item): convert to use lisp
1180         gui_items.
1181         (populate_menu_add_item): ditto.
1182         (populate_or_checksum_helper): ditto.
1183
1184         * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1185         gui_items.
1186         (Fmenu_find_real_submenu): ditto.
1187
1188         * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1189
1190         * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1191         objects, convert functions that use them accordingly.
1192         (gui_item_init): ditto.
1193         (gui_item_active_p): ditto.
1194         (gui_item_selected_p): ditto.
1195         (gui_item_included_p): ditto.
1196         (gui_item_display_flush_left): ditto.
1197         (gui_item_display_flush_right): ditto.
1198         (mark_gui_item): ditto.
1199         (allocate_gui_item): new function to create a gui_item.
1200         (make_gui_item_from_keywords_internal): ditto. create and return a
1201         gui_item as well as setting keywords.
1202         (gui_parse_item_keywords): ditto.
1203         (gui_parse_item_keywords_no_errors): ditto.
1204         (gui_add_item_keywords_to_plist): new function, not yet used.
1205         (gui_item_hash): new function.
1206         (gui_item_id_hash): use gui_item_hash.
1207         (gui_item_equal): new function.
1208         (print_gui_item): new function.
1209
1210 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
1211
1212         * XEmacs 21.2.16 is released
1213
1214 1999-06-10  Andy Piper  <andy@xemacs.org>
1215
1216         * select-msw.c (mswindows_own_selection): only set the clipboard
1217         if asked.
1218         (mswindows_get_foreign_selection): only get the clipboard if
1219         asked.
1220         (mswindows_disown_selection): only disown the clipboard if asked.
1221
1222 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
1223
1224         * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1225         of `no-conversion'.
1226         (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1227         of coding-category `no-conversion'.
1228
1229 1999-06-03  MORIOKA Tomohiko  <tomo@etl.go.jp>
1230
1231         * file-coding.c (Qraw_text): New variable.
1232         (syms_of_mule_coding): Add new symbol `raw-text'.
1233         (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1234         define coding-system `binary' independently; define coding-system
1235         `no-conversion' as an alias for `raw-text'.
1236
1237         * file-coding.h (Qraw_text): New variable.
1238
1239 1999-06-08  SL Baur  <steve@xemacs.org>
1240
1241         * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1242
1243 1999-06-06  Hrvoje Niksic  <hniksic@srce.hr>
1244
1245         * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1246         base64.el.
1247         (base64_decode_1): Signal errors instead of returning -1.
1248
1249 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
1250
1251         * mule-charset.c (Fmake_char): Update docstring.
1252
1253 1999-06-07  Hrvoje Niksic  <hniksic@srce.hr>
1254
1255         * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1256
1257 1999-06-05  Hrvoje Niksic  <hniksic@srce.hr>
1258
1259         * fns.c (base64_decode_1): Allow and ignore any non-base64
1260         characters in input.
1261
1262 1999-05-27  Olivier Galibert  <galibert@pobox.com>
1263
1264         * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1265         of report_pure_usage().
1266
1267 1999-06-04  Hrvoje Niksic  <hniksic@srce.hr>
1268
1269         * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1270
1271 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
1272
1273         * XEmacs 21.2.15 is released
1274
1275 1999-06-01  Hirokazu FUKUI  <fukui@atesoft.advantest.co.jp>
1276
1277         * frame.c (Fset_mouse_position):
1278         (Fset_mouse_pixel_position):
1279         * window.c (Fsplit_window):
1280         (Fmove_to_window_line):
1281         Fix crash when invoking functions with an already-deleted window
1282         argument.
1283
1284         * indent.c (vertical_motion_1):
1285         (vmotion_pixels):
1286         (Fvertical_motion_pixels):
1287         * window.c (Fwindow_displayed_text_pixel_height):
1288         Fix error message when invoking functions with an already-deleted
1289         window argument.
1290
1291 1999-06-01  Jan Vroonhof  <vroonhof@math.ethz.ch>
1292
1293         * sysdep.c (request_sigio_on_device): Guard against glibc
1294         2.1's stub streams implementation.
1295
1296 1999-06-03  SL Baur  <steve@xemacs.org>
1297
1298         * config.h.in:
1299         * emacs.c:  Implement x.y.z version numbers
1300         From Jan Vroonhof <vroonhof@math.ethz.ch>
1301
1302 1999-05-20  MORIOKA Tomohiko  <tomo@etl.go.jp>
1303
1304         * mule-charset.c (complex_vars_of_mule_charset): Registry of
1305         japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1306         "jisc6226.1983".
1307
1308 1999-06-03  SL Baur  <steve@xemacs.org>
1309
1310         * frame-x.c:
1311         * device-x.c: rename session option to wmcommand.
1312         From Oliver Graf <ograf@rhein-zeitung.de>
1313
1314 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1315
1316         * fns.c (Fsubstring): Don't traverse the same region twice with
1317         charcount_to_bytecount().
1318
1319 1999-06-03  SL Baur  <steve@steve1.m17n.org>
1320
1321         * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1322         garbage.
1323
1324         * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1325         doesn't really work as is implied by the commentary).
1326         Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1327
1328 1999-06-02  SL Baur  <steve@steve1.m17n.org>
1329
1330         * symsinit.h: Declare vars_of_ntproc.
1331         * emacs.c (main_1): Call it.
1332
1333         * ntproc.c (syms_of_ntproc): Move variable initializations from
1334         here ...
1335         (vars_of_ntproc): ... to here [new function].
1336
1337         * file-coding.c (syms_of_file_coding): Rename.
1338         (vars_of_file_coding): Ditto.
1339         (complex_vars_of_file_coding): Ditto.
1340
1341         * symsinit.h: Rename *_mule_coding to *_file_coding.
1342
1343         * emacs.c (main_1): Call them by the proper name.
1344
1345         * device-msw.c (syms_of_device_mswindows): Move variable
1346         initializations from here ...
1347         (vars_of_device_mswindows): ... to here.
1348
1349         * chartab.c (vars_of_chartab): New function.
1350
1351         * symsinit.h: New function, vars_of_chartab.
1352
1353         * emacs.c (main_1): Call it.
1354
1355         * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1356         (vars_of_mule_canna): ... to here.
1357
1358         * mule-ccl.c (vars_of_mule_ccl): New function.  Move variable
1359         initializations out of syms_of_mule_ccl.
1360
1361         * symsinit.h: Declare new function vars_of_mule_ccl.
1362
1363         * emacs.c (main_1): Call it.
1364
1365 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1366
1367         * fns.c (base64_decode_1): Ignore whitespace.
1368
1369 1999-05-27  Hrvoje Niksic  <hniksic@srce.hr>
1370
1371         * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1372         ARG2.
1373
1374 1999-05-21  Andy Piper  <andy@xemacs.org>
1375
1376         * xselect.c: deleted.
1377
1378         * symsinit.h: declare select initialisation.
1379
1380         * select.h: new file. declare commonly used select functions and
1381         variables.
1382
1383         * select.c: new file. generalised from xselect.c.
1384         (clean_local_selection_data): moved from xselect.c.
1385         (get_local_selection): ditto. device specific pieces called via a
1386         devmeth.
1387         (handle_selection_clear): ditto.
1388         (Fown_selection_internal): renamed and generalised from
1389         Fx_own_selection_internal. moved from xselect.c.
1390         (Fdisown_selection_internal): ditto.
1391         (Fselection_owner_p): ditto.
1392         (Fselection_exists_p): ditto.
1393         (Fget_selection_internal): ditto.
1394         (syms_of_select): new function. QXXXX values moved from xselect.c
1395         (vars_of_select): new function. selection_converter_alist,
1396         lost_selection_hooks moved and renamed from xselect.c
1397
1398         * select-x.c: renamed from xselect.c.
1399         (x_own_selection): converted to device specific. non-X-specific
1400         bits moved to select.c.
1401         (x_get_foreign_selection): ditto.
1402         (x_disown_selection): ditto.
1403         (x_selection_exists_p): ditto.
1404         (console_type_create_select_x): new function.
1405
1406         * select-msw.c (mswindows_own_selection): new device method to set
1407         the clipboard when we 'own' the selection.
1408         (mswindows_get_foreign_selection): new device method to get the
1409         clipboard.
1410         (mswindows_disown_selection): new device method to delete the
1411         selection when we 'disown' it.
1412         (console_type_create_select_mswindows): new function.
1413
1414         * emacs.c (main_1): add select to things to initialise.
1415
1416         * console.h (struct console_methods): new console methods for
1417         selection.
1418
1419         * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1420
1421 1999-05-20  Hrvoje Niksic  <hniksic@srce.hr>
1422
1423         * print.c (long_to_string): Install a faster version.
1424
1425 1999-05-16  Andy Piper  <andy@xemacs.org>
1426
1427         * ntproc.c (syms_of_ntproc): default
1428         win32-start-process-share-console to t.
1429
1430 1999-05-14  Hrvoje Niksic  <hniksic@srce.hr>
1431
1432         * config.h.in: Do it here.
1433
1434         * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1435
1436 1999-05-14  Andy Piper  <andy@xemacs.org>
1437
1438         * toolbar-msw.c (mswindows_output_toolbar): hash on something
1439         hashable.
1440
1441 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
1442
1443         * XEmacs 21.2.14 is released
1444
1445 1999-05-12  Andy Piper  <andy@xemacs.org>
1446
1447         * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1448
1449 1999-05-11  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1450
1451         * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1452         run_temacs_argv array -- fixes random memory corruption crash
1453
1454 1999-05-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
1455
1456         * window.c (Fcurrent_window_configuration):
1457         Save minibuffer height;
1458
1459         * window.c (set_window_configuration): use it.
1460
1461 1999-05-10  Robert Pluim  <rpluim@bigfoot.com>
1462
1463         * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1464
1465 1999-04-21  Jan Vroonhof  <vroonhof@math.ethz.ch>
1466
1467         * redisplay.c (redisplay_window): Do not put data
1468         in the line start cache if it is not guaranteed to be correct
1469
1470 1999-04-02  Jan Vroonhof  <vroonhof@math.ethz.ch>
1471
1472         * window.c (struct window_config): Removed frame
1473         size members.
1474         (window_config_equal): No longer compare frame sizes.
1475         (Fset_window_configuration): Resize old top window to fit in the
1476         current frame directly, no longer use a fake frame resize.
1477         (Fcurrent_window_configuration): No longer save frame size
1478
1479 1999-05-11  Andy Piper  <andy@xemacs.org>
1480
1481         * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1482         first character.
1483
1484 1999-05-10  Hrvoje Niksic  <hniksic@srce.hr>
1485
1486         * sysdep.c (init_system_name): If gethostname gives a proper
1487         domain name, don't look further for one.
1488
1489 1999-05-09  Hrvoje Niksic  <hniksic@srce.hr>
1490
1491         * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1492         (Fintern_soft): Accept a symbol argument.
1493
1494 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
1495
1496         * symbols.c (Fintern): ...do it here.
1497
1498         * lread.c (read_atom): Don't handle keywords here.
1499
1500 1999-05-06  Hrvoje Niksic  <hniksic@srce.hr>
1501
1502         * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1503
1504 1999-05-03  Olivier Galibert  <galibert@pobox.com>
1505
1506         * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1507         is interned in the main obarray.
1508
1509 1999-04-23  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1510
1511         * menubar-x.c (pre_activate_callback): set accelerator field in
1512         "No menu" entries to nil. Avoid crash in
1513         command_builder_operate_menu_accelerator
1514
1515 1999-05-03  Olivier Galibert  <galibert@pobox.com>
1516
1517         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1518
1519         * lisp.h (DEFUN): Fix lrecord header initialisation.
1520
1521 1999-05-02  Andy Piper  <andy@xemacs.org>
1522
1523         * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1524
1525         * ntproc.c (sys_kill): cast using MS mandated defines.
1526
1527 1999-04-29  Andy Piper  <andy@xemacs.org>
1528
1529         * m/intel386.h: remove redundant definitions.
1530
1531         * s/mingw32.h: new header for mingw32.
1532
1533         * unexnt.c: (open_input_file): function moved to nt.c.
1534         (close_file_data): ditto.
1535         (rva_to_section): function moved to ntproc.
1536
1537         * symsinit.h: declare syms_of_ntproc();
1538
1539         * objects-msw.c (mswindows_font_instance_truename): new function.
1540
1541         * ntproc.c: remove many warnings.
1542         (_sys_read_ahead): moved from nt.c and made static.
1543         (rva_to_section): moved from unexnt.c but not defined under
1544         mingw32.
1545         (win32_executable_type): implement what we can for mingw32
1546         headers.
1547         (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1548
1549         * ntheap.h: remove declarations of functions that are now static.
1550
1551         * ntheap.c: support static heap.
1552
1553         * nt.h: conditionalise X_OK definition.
1554
1555         * nt.c: eliminate many warnings and support mingw32.
1556         (open_input_file): function moved from unexnt.c and made static
1557         (close_file_data): ditto.
1558         (_sys_read_ahead): moved to ntproc.c
1559
1560         * emacs.c: make sure syms_of_ntptroc gets called under windows.
1561
1562         * console-msw.h: support mingw32.
1563         * getloadavg.c: ditto.
1564         * ntplay.c: ditto.
1565         * sysdep.c: ditto.
1566         * sysdir.h: ditto.
1567         * systime.h: ditto.
1568         * systty.h: ditto.
1569
1570         * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1571         some systems don't have all of the encapsulated system calls.
1572
1573         * callproc.c: warning elimination.
1574         * dired-msw.c: ditto.
1575         * process-nt.c: ditto.
1576         * realpath.c: ditto.
1577
1578         * Makefile.in.in: tweak : and ; for building under mswindows.
1579
1580 1999-04-26  Michael Harnois  <mharnois@willinet.net>
1581
1582         * eldap.c (allocate_ldap): Adapt to the new semantics of
1583         alloc_lcrecord_type().
1584
1585 1999-03-16  MORIOKA Tomohiko  <tomo@etl.go.jp>
1586
1587         * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1588
1589 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1590
1591         * Delete mule-coding.c and mule-coding.h because they are not
1592         used.
1593
1594 1999-04-22  Gunnar Evermann  <ge204@eng.cam.ac.uk>
1595
1596         * objects.c (print_font_instance): Check for NILP(f->device),
1597         i.e. Vthe_null_font_instance.
1598         (font_instance_truename_internal): ditto.
1599         (Ffont_instance_properties): ditto.
1600
1601 1999-04-22  Olivier Galibert  <galibert@pobox.com>
1602
1603         * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1604         array anymore.
1605
1606 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1607
1608         * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1609         it easier to add new ones.
1610
1611 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1612
1613         * symbols.c (reject_constant_symbols): Ditto.
1614         (init_symbols_once_early): Ditto.
1615
1616         * print.c (print_symbol): Don't use ->obarray.
1617
1618         * symbols.c (Funintern): Ditto.
1619
1620         * alloc.c (Fmake_symbol): Don't set ->obarray.
1621
1622         * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1623
1624         * symbols.c (init_symbols_once_early): Removed
1625         Vpure_uninterned_symbol_table.
1626         (Fintern): Don't store to ->obarray field.
1627
1628 1999-04-22  Hrvoje Niksic  <hniksic@srce.hr>
1629
1630         * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1631         (eq_with_ebola_notice): Remove abracadabra support.
1632
1633 1999-04-11  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
1634
1635         * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1636         retrieve the distinguished names of entries
1637
1638 1999-03-08  Martin Buchholz  <martin@xemacs.org>
1639
1640         * lread.c (read_escape): Make hex escapes read only two hex digits.
1641
1642 1999-04-05  Olivier Galibert  <galibert@pobox.com>
1643
1644         * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1645         * make-src-depend: Remove puresize-adjust.h.
1646         * src-headers: Remove puresize-adjust.h.
1647         * config.h.in: Kill everything purespace/gung-ho related.
1648
1649         * dbxrc: Make gung-ho mandatory.
1650         * gdbinit: Ditto.
1651
1652         * lrecord.h: Make gung-ho mandatory.  Remove pure flag and add
1653         c_readonly and lisp_readonly.  Remove implementation arrays.
1654         (C_READONLY_RECORD_HEADER_P): Added.
1655         (LISP_READONLY_RECORD_HEADER_P): Added.
1656         (SET_C_READONLY_RECORD_HEADER): Added.
1657         (SET_LISP_READONLY_RECORD_HEADER): Added.
1658
1659         * lisp.h: Kill everything purespace/non gung-ho related.
1660         (CHECK_C_WRITEABLE): Added.
1661         (CHECK_LISP_WRITEABLE): Added.
1662         (C_READONLY): Added.
1663         (LISP_READONLY): Added.
1664
1665         * lisp-union.h: Make gung-ho mandatory.
1666         * lisp-disunion.h: Ditto.
1667
1668         * alloc.c: Kill everything purespace/non  gung-ho related. Fix all
1669         set_lheader_implementation calls.
1670         (c_readonly): Added.
1671         (lisp_readonly): Added.
1672         (make_string_nocopy): Added.
1673         (Fpurecopy):  Changed to do  nothing.   Kept the old documentation
1674         for reference purposes for the next patches.
1675         (sweep_lcrecords_1): Don't free C readonly lcrecords.
1676         (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1677         (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1678
1679         * fns.c: Make gung-ho mandatory.
1680         (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1681         (Fremprop): Ditto.
1682         (Ffillarray): Ditto.
1683
1684         * data.c: Make gung-ho mandatory.
1685         (pure_write_error): Removed.
1686         (c_write_error): Added.
1687         (lisp_write_error): Added.
1688         (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1689         (Fsetcdr): Ditto.
1690         (Faset): Ditto.
1691
1692         * symbols.c: Make gung-ho mandatory.  make_pure_pname ->
1693                   make_string or make_string_nocopy.  Fix various
1694                   alloc_lcrecord_type.
1695
1696         * lread.c: Remove everything purespace related.
1697         (Flocate_file_clear_hashing): purified -> c_readonly.
1698         (locate_file): Ditto.
1699         (read_atom): make_pure_pname -> make_string.
1700
1701         * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1702                   reporting.
1703         (Fdump_emacs): Ditto.
1704
1705         * print.c (print_internal): Make gung-ho mandatory.
1706         * ntheap.c (sbrk): Ditto.
1707         * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1708         * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1709
1710         * sheap.c (more_static_core): Remove puresize-adjust.h from
1711                   message.
1712
1713         * syntax.c (complex_vars_of_syntax): make_pure_string ->
1714                   make_string_nocopy.
1715         * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1716         (vars_of_keymap): make_pure_string -> make_string_nocopy.
1717         * events.c (deinitialize_event): Fix set_lheader_implementation.
1718         (zero_event): Ditto.
1719         * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1720         * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1721         * mule-charset.c (make_charset): Ditto.
1722         * console.c (allocate_console): Ditto.
1723         (complex_vars_of_console): Ditto.
1724         * file-coding.c (allocate_coding_system): Ditto.
1725         * device.c (allocate_device): Ditto
1726         * gui-x.c (gcpro_popup_callbacks): Ditto.
1727         * extents.c (allocate_extent_auxiliary): Ditto.
1728         (allocate_extent_info): Ditto.
1729         (copy_extent): Ditto.
1730         * glyphs.c (allocate_image_instance): Ditto.
1731         (allocate_glyph): Ditto.
1732         * frame.c (allocate_frame_core): Ditto.
1733         * database.c (allocate_database): Ditto.
1734         * tooltalk.c (make_tooltalk_message): Ditto.
1735         (make_tooltalk_pattern): Ditto.
1736         * rangetab.c (Fmake_range_table): Ditto.
1737         (Fcopy_range_table): Ditto.
1738         * process.c (make_process_internal): Ditto.
1739         * chartab.c (Fmake_char_table): Ditto.
1740         (make_char_table_entry): Ditto.
1741         (copy_char_table_entry): Ditto.
1742         (Fcopy_char_table): Ditto.
1743         * elhash.c (make_general_lisp_hash_table): Ditto.
1744         (Fcopy_hash_table): Ditto.
1745         * buffer.c (allocate_buffer): Ditto.
1746         (complex_vars_of_buffer): Ditto.
1747         * event-stream.c (allocate_command_builder): Ditto.
1748         * objects.c (Fmake_color_instance): Ditto.
1749         (Fmake_font_instance): Ditto.
1750         (vars_of_objects): Ditto.
1751         * toolbar.c (update_toolbar_button): Ditto.
1752         * window.c (allocate_window): Ditto.
1753         (make_dummy_parent): Ditto.
1754         (Fcurrent_window_configuration): Fix alloc_lcrecord.
1755         (vars_of_window): Fix make_lcrecord_list.
1756         * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1757                   Flist.
1758         * lstream.c (Lstream_new): Fix make_lcrecord_list.
1759         * opaque.c (make_opaque): Fix alloc_lrecord.
1760         (make_opaque_list): Fix alloc_lrecord_type.
1761
1762 1999-04-19  Hrvoje Niksic  <hniksic@srce.hr>
1763
1764         * process.c (Fstart_process_internal): Ditto.
1765
1766         * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1767         locate_file().
1768
1769         * glyphs-x.c (x_locate_pixmap_file): Ditto.
1770
1771         * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1772         locate_file().
1773
1774         * emodules.c (vars_of_module): New variable Vmodule_extensions.
1775         (emodules_load): Use it when calling locate_file().
1776
1777         * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1778         locate_file().
1779
1780         * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1781         (vars_of_callproc): Initialize it.
1782         (Fcall_process_internal): Use it when calling locate_file().
1783
1784         * alloc.c (disksave_object_finalization): Use
1785         Flocate_file_clear_hashing().
1786
1787         * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1788         given `t' as argument.
1789
1790 1999-04-18  Hrvoje Niksic  <hniksic@srce.hr>
1791
1792         * lread.c (locate_file): Expand `pathel' when appropriate.
1793         (Flocate_file_clear_hashing): Expand path elements.
1794         (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1795
1796         * dired.c (make_directory_hash_table): Create the hash-table only
1797         if the directory open is successful.
1798
1799         * lread.c (decode_mode_1): New function.
1800         (decode_mode): Ditto.
1801         (Flocate_file): Use them.
1802         (Flocate_file): Expand FILENAME.
1803         (locate_file_map_suffixes): New function.
1804         (locate_file_in_directory_mapper): New function.
1805         (locate_file_in_directory): Use locate_file_in_directory_mapper()
1806         and locate_file_map_suffixes().
1807         (locate_file_construct_suffixed_files): Use
1808         locate_file_map_suffixes().
1809         (locate_file_without_hash): Don't GCPRO path.
1810         (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1811         (syms_of_lread): Remove Qlocate_file_hash_table.
1812         (locate_file_find_directory_hash_table): Use
1813         Vlocate_file_hash_table.
1814         (locate_file_refresh_hashing): Ditto.
1815
1816         * lread.c: Renamed read_objects to Vread_objects.
1817
1818 1999-04-16  Olivier Galibert  <galibert@pobox.com>
1819
1820         * mule-charset.c: Generally resync with fsf 20.3 charset
1821         interface.
1822         (make_charset): Add long and short name.  Use id instead of
1823         leading byte.
1824         (Fmake_charset): Ditto.
1825         (Fmake_reverse_direction_charset): Ditto.
1826         (Fcharset_property): Ditto.
1827         (Fcharset_short_name): Added.
1828         (Fcharset_long_name): Added.
1829         (Fcharset_description): Renamed from charset-doc-string.
1830         (syms_of_mule_charset): Synced symbols.
1831         (complex_vars_of_mule_charset): Synced charsets.
1832
1833         * mule-charset.h: Removed leading byte (uses id instead), added
1834         short and long name.
1835
1836 1999-04-15  Hrvoje Niksic  <hniksic@srce.hr>
1837
1838         * file-coding.c (Fdefine_coding_system_alias): New function.
1839
1840 1999-04-08  Olivier Galibert  <galibert@pobox.com>
1841
1842         * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1843         and -ascii fonts for displaying ascii instead of iso8859-1 only.
1844
1845 1998-12-14  Hrvoje Niksic  <hniksic@srce.hr>
1846
1847         * extents.c (set_extent_glyph_1): Make sure that the glyph we
1848         attach to the extent is valid.
1849
1850 1998-12-12  Hrvoje Niksic  <hniksic@srce.hr>
1851
1852         * dired.c (user_name_completion): Mule-ize.
1853         (user_name_completion): Use xmalloc/xrealloc/xfree.
1854         (user_name_completion): Use DO_REALLOC.
1855         (user_name_completion): Cut down the number of static variables;
1856         use a structure.
1857         (user_name_completion): Username completion is always
1858         case-sensitive.
1859
1860 1998-12-06  Hrvoje Niksic  <hniksic@srce.hr>
1861
1862         * fns.c (base64_decode_1): Remove COUNTER.
1863         (base64_decode_1): Accept CRLF in addition to CR.
1864         (base64_decode_1): Disallow a stray character after final EOF; the
1865         check was probably a remnant of buggy recode code.
1866
1867 1998-12-05  Hrvoje Niksic  <hniksic@srce.hr>
1868
1869         * fns.c (init_provide_once): Provide `base64'.
1870
1871 1998-12-04  Hrvoje Niksic  <hniksic@srce.hr>
1872
1873         * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1874         (Fbase64_encode_region): If buffer is read-only, bail out early.
1875         (Fbase64_decode_region): Ditto.
1876         (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1877         compiler.
1878         (Fbase64_encode_string): Ditto.
1879         (Fbase64_decode_region): Ditto.
1880         (Fbase64_decode_string): Ditto.
1881
1882 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
1883
1884         * dired.c (Fdirectory_files): Remove redundant code.
1885
1886 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1887
1888         * frame-msw.c Make raise-frame restore minimised windows.
1889
1890 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1891
1892         * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1893         add magic newline.
1894
1895 1999-03-05  Philip Aston  <philipa@parallax.co.uk>
1896
1897         * toolbar-msw.c Consider captions when deciding whether to rebuild
1898         toolbar. This fixes the initial toolbar display for those of us
1899         who don't like captions. These patches applied by Andy Piper.
1900
1901 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
1902
1903         * XEmacs 21.2.13 is released
1904
1905 1999-03-12  SL Baur  <steve@xemacs.org>
1906
1907         * file-coding.c: Guard ucs table initialization with ifdef MULE.
1908
1909 1999-03-10  Stephen J. Turnbull  <turnbull@sk.tsukuba.ac.jp>
1910
1911         * file-coding.c:  docstring and comment improvements.
1912         (decode_ucs4)  flag possible data loss with comment.
1913
1914 1999-03-10  Martin Buchholz  <martin@xemacs.org>
1915
1916         * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1917         (ucs_to_char):
1918         (Fucs_char):
1919         (Fset_char_ucs):
1920         (decode_coding_ucs4):
1921         (encode_coding_ucs4):
1922         (detect_coding_utf8):
1923         (decode_coding_utf8):
1924         (encode_utf8):
1925         (encode_coding_utf8):
1926         Add CHECK_* macros where needed to avoid crashes.
1927         #ifdef out all composite character support using
1928         #ifdef ENABLE_COMPOSITE_CHARS
1929         Use normal XEmacs coding standards.
1930         Fix docstrings.
1931         Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1932
1933 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1934
1935         * file-coding.c (make-coding-system): Add description about
1936         `ucs-4' and `utf-8'.
1937         (detection_state): Modify to implement ucs-4 and utf-8.
1938         (detect_coding_type): Likewise.
1939         (detect_coding_ucs4): New implementation.
1940         (detect_coding_utf8): New implementation.
1941         (encode_utf8): fixed.
1942         (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1943         `utf-8'.
1944
1945 1998-09-08  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1946
1947         * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1948         2022 registry to private area.
1949
1950 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1951
1952         * file-coding.c (encode_utf8): New function.
1953         (encode_coding_utf8): New implementation.
1954
1955 1998-09-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1956
1957         * file-coding.c (ucs_to_mule_table): New variable; abolish
1958         `Vucs_to_mule_table'
1959         (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1960         (set-ucs-char): New function.
1961         (ucs_to_char): New function.
1962         (ucs-char): New function.
1963         (set-char-ucs): New function.
1964         (char-ucs): New function.
1965         (decode_ucs4): Use `ucs_to_char'.
1966         (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1967         `mule-to-ucs-table'.
1968
1969 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1970
1971         * chartab.h: EXFUN `Fget_char_table'.
1972
1973         * file-coding.c (encode_ucs4): New function.
1974         (encode_coding_ucs4): Use `encode_ucs4'.
1975
1976 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1977
1978         * file-coding.c (decode_coding_ucs4): New implementation.
1979
1980 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1981
1982         * file-coding.c (decode_coding_ucs4): fixed.
1983
1984         * file-coding.c (Vmule_to_ucs_table): New variable.
1985         (mule_char_to_ucs4): New function.
1986         (encode_coding_ucs4): New implementation.
1987         (complex_vars_of_mule_coding): Define variable
1988         `mule-to-ucs-table'.
1989
1990 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1991
1992         * file-coding.c (decode_coding_utf8): New implementation.
1993
1994 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1995
1996         * file-coding.c (decode_coding_utf8): fixed.
1997
1998 1998-09-06  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
1999
2000         * file-coding.c (Vucs_to_mule_table): New variable.
2001         (decode_ucs4): Refer `Vucs_to_mule_table'.
2002         (complex_vars_of_mule_coding): Define variable
2003         `ucs-to-mule-table'.
2004
2005 1998-09-04  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
2006
2007         * file-coding.c (detect_coding_ucs4): New function (not
2008         implemented yet).
2009         (decode_coding_ucs4): New function.
2010         (encode_coding_ucs4): New function (not implemented yet).
2011         (detect_coding_utf8): New function (not implemented yet).
2012         (decode_coding_utf8): New function.
2013         (encode_coding_utf8): New function (not implemented yet).
2014         (make-coding-system): New type `ucs4' and `utf8'.
2015         (coding-system-type): Likewise.
2016         (detection_state): Add `ucs4' and `utf8'.
2017         (detect_coding_type): Likewise.
2018         (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2019         (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2020         (decode_ucs4): New function (very incomplete).
2021         (syms_of_mule_coding): Add `ucs4' and `utf8'.
2022
2023         * file-coding.h: Add definitions for UCS-4 and UTF-8.
2024
2025 1999-03-08  Martin Buchholz  <martin@xemacs.org>
2026
2027         * mule-charset.c:
2028         (non_ascii_valid_char_p):
2029         (lookup_composite_char):
2030         (composite_char_string):
2031         (make-composite-char):
2032         (composite-char-string):
2033         (syms_of_mule_charset):
2034         (complex_vars_of_mule_charset):
2035         * mule-charset.h (LEADING_BYTE_COMPOSITE):
2036         (CHAR_LEADING_BYTE):
2037         (MAKE_CHAR):
2038         * file-coding.h (CODING_STATE_COMPOSITE):
2039         (CODING_STATE_ISO2022_LOCK):
2040         (iso_esc_flag):
2041         (LEADING_BYTE_COMPOSITE):
2042         * file-coding.c (struct iso2022_decoder):
2043         (decoding_closer):
2044         (reset_iso2022):
2045         (parse_iso2022_esc):
2046         (encode_coding_iso2022):
2047         #ifdef out all composite character support using
2048         #ifdef ENABLE_COMPOSITE_CHARS
2049
2050         * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2051
2052 1999-03-04  Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2053
2054         * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2055         way of `Fbase64_encode_region'.
2056
2057 1999-02-18  Katsumi Yamaoka   <yamaoka@jpl.org>
2058
2059         * fns.c (base64_encode_1): Don't add a newline at the tail.
2060
2061 1999-03-08  Andy Piper  <andy@xemacs.org>
2062
2063         * menubar-msw.c (displayable_menu_item): correct off-by-one &
2064         handling.
2065
2066 1999-03-07  Martin Buchholz  <martin@xemacs.org>
2067
2068         * console-stream.h (struct stream_console):
2069         * event-unixoid.c (event_stream_unixoid_select_console):
2070         (event_stream_unixoid_unselect_console):
2071         * print.c (Fexternal_debugging_output):
2072         * sysdep.c (reset_one_device):
2073         * console-stream.c (stream_init_console):
2074         (stream_delete_console):
2075         (allocate_stream_console_struct): move into stream_init_console.
2076         (free_stream_console_struct): move into stream_delete_console.
2077         Use `fd' only for file descriptors.
2078         Therefore, rename members of struct stream_console.
2079
2080         * systime.h: Unix98 says sys/time.h should define select(), but
2081         some systems define that in unistd.h.  So include that file always.
2082
2083         * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'.  Avoid
2084         multiple evaluation of first arg.  Do proper do {} while (0) wrapping.
2085         (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2086         non-boolean context
2087         (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2088
2089         * EmacsShell.c:
2090         * balloon_help.c:
2091         Add #include <stdio.h>.
2092         Some versions of assert.h use printf() without #include'ing stdio.h
2093
2094         * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2095         (log_gcpro): Remove unused variable FRAME.
2096         (show_gcprohist): Ansify.
2097         Comment the #endif's
2098
2099         * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2100         after it's just been XtDestroy'ed!
2101
2102 1999-02-18  Martin Buchholz  <martin@xemacs.org>
2103
2104         * opaque.c (print_opaque):
2105         (sizeof_opaque):
2106         (equal_opaque):
2107         (hash_opaque):
2108         Egcs 1.1.1 seems to have a bug where
2109         INTP (p->size_or_chain)
2110         will crash XEmacs.  Fix by introducing intermediate variable.
2111
2112         * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2113
2114         * dired.c (Fdirectory_files):
2115         (Ffile_name_completion):
2116         (Ffile_name_all_completions):
2117         (file_name_completion):
2118         - Use `directory' instead of `dirname' to sync with FSF Emacs and
2119         avoid compiler warnings.
2120         - Fix up docstrings so that C variables match documentation.
2121
2122 1999-03-05  Martin Buchholz  <martin@xemacs.org>
2123
2124         * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2125         variables as small as possible to help out the compiler and the maintainer.
2126
2127         * alloc.c: (disksave_object_finalization):
2128         Set all the *-load-path variables to
2129         nil, not just load-path itself.  This gets the locate-file hash
2130         tables garbage collected BEFORE dump, and has the side effect of
2131         preventing crashes on OSF4.0+egcs.
2132
2133         * alloc.c:
2134         * gdbinit:
2135         * dbxrc:
2136         - Clean up gdb/dbx debugging support.
2137         - Storing an EMACS_INT in an enum is not 64-bit clean!
2138         - So change the enum to a set of separate variables.
2139         - Add test cases to help debug the debugging support!
2140         - Add `lisp-shadows' and `run-temacs' targets for dbx.
2141         - Both dbx and gdb have been tested now.
2142
2143 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2144
2145         * XEmacs 21.2.12 is released
2146
2147 1999-02-16  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
2148
2149         * device-x.c: Support to find best visual without flashing.
2150
2151 1999-03-02  Paul Keusemann  <pkeusem@visi.com>
2152
2153         * database.c (berkdb_map): Add flags argument to cursor call (must
2154           be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2155
2156 1999-03-03  Martin Buchholz  <martin@xemacs.org>
2157
2158         * hash.c:
2159         * hash.h:
2160         General cleanup.  Get free-hook.c working again.
2161         Remove unused functions:
2162         make_strings_hash_table, copy_hash, expand_hash_table.
2163
2164         * malloc.c:
2165         * mem-limits.h:
2166         Always use new ANSI-style function prototypes.
2167
2168         * unexalpha.c (unexec): Never use implicit int.
2169
2170         * sgiplay.c (close_sound_file):
2171         (play_sound_file):
2172         (restore_audio_port):
2173         (play_sound_data):
2174         (audio_initialize):
2175         (play_internal):
2176         (drain_audio_port):
2177         (write_mulaw_8_chunk):
2178         (write_linear_chunk):
2179         (write_linear_32_chunk):
2180         (initialize_audio_port):
2181         (open_audio_port):
2182         (set_channels):
2183         (set_output_format):
2184         (adjust_audio_volume):
2185         (get_current_volumes):
2186         (parse_snd_header):
2187         Always use new ANSI-style function prototypes.
2188         Use unistd.h for missing prototypes.
2189
2190         * unexelfsgi.c (round_up):
2191         (find_section):
2192         (unexec): Always use new ANSI-style function prototypes
2193
2194         * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2195
2196         * console.h (struct console_methods): Always use full ANSI prototypes
2197
2198         * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2199
2200 1999-03-02  Andy Piper  <andy@xemacs.org>
2201
2202         * event-stream.c (init_event_stream): make sure native mswindows
2203         gets an appropriate event loop.
2204
2205 1999-02-22  Andy Piper  <andy@xemacs.org>
2206
2207         * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2208         than SW_SHOWNORMAL to prevent resizing of maximised frames.
2209         (mswindows_raise_frame): remove comment.
2210
2211 1999-03-01  XEmacs Build Bot <builds@cvs.xemacs.org>
2212
2213         * XEmacs 21.2.11 is released
2214
2215 1999-02-25  SL Baur  <steve@xemacs.org>
2216
2217         * mule-charset.c (Qleading_byte): New variable to implement
2218         charset-leading-byte function.
2219         (Fcharset_property): Use it.
2220         (syms_of_mule_charset): Initialize it.
2221         From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2222
2223 1999-02-17  Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2224
2225         * glyphs-x.c (cononvert_EImage_to_XImage): correct
2226         bytes per pixel counting.
2227
2228 1999-02-15  Andy Piper  <andy@xemacs.org>
2229
2230         * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2231         major lockups.
2232
2233 1999-02-16  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
2234
2235         * fns.c (Fbase64_encode_string): New optional argument
2236         `NO_LINE_BREAK'.
2237
2238 1999-02-16  Martin Buchholz  <martin@xemacs.org>
2239
2240         * gdbinit:  Fix up commands to run temacs.  Add lisp-shadows command.
2241         * alloc.c (xcalloc):  undef xcalloc, just like xmalloc
2242
2243 1999-02-10  Martin Buchholz  <martin@xemacs.org>
2244
2245         * s/bsdos4.h: New file.  Port to BSDI BSD/OS 4.0.
2246         * xintrinsic.h:  Redo CONST support for X11 R4 compatibility.
2247
2248 1999-02-05  XEmacs Build Bot <builds@cvs.xemacs.org>
2249
2250         * XEmacs 21.2.10 is released
2251
2252 1999-02-02  Gleb Arshinov  <gleb@cs.stanford.edu>
2253
2254         * process-nt.c (nt_send_process):
2255         Fix for process-send-region/process-send-string breaking when size
2256         of the input > 128 chars: change maximum chunk size for process
2257         stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2258         succeeds.
2259
2260 1999-02-02  XEmacs Build Bot <builds@cvs.xemacs.org>
2261
2262         * XEmacs 21.2.9 is released
2263
2264 1999-01-30  Martin Buchholz  <martin@xemacs.org>
2265
2266         * bytecode.c (funcall_compiled_function): Call
2267         UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2268
2269         * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2270         #ifdef 0 out unused macro.
2271
2272 1999-01-27  Martin Buchholz  <martin@xemacs.org>
2273
2274         * gui.c (gui_parse_item_keywords_internal): Make static.
2275
2276 1999-01-21  Andy Piper  <andy@xemacs.org>
2277
2278         * glyphs-msw.c: add xface support.
2279         (mswindows_xface_instantiate): new function copied from glyphs-x.c
2280         (image_instantiator_format_create_glyphs_mswindows): do device
2281         specific initialisation for xfaces.
2282         (xbm_create_bitmap_from_data): line data must be padded to a word
2283         boundary.
2284
2285         * glyphs-x.c (xface_validate): moved to glyphs.c
2286         (xface_normalize): ditto.
2287         (xface_possible_dest_types): ditto.
2288         (image_instantiator_format_create_glyphs_x): do device specific
2289         initialisation for xfaces.
2290
2291         * glyphs.h: declare xface symbol.
2292
2293         * glyphs.c: move generic xface support here.
2294         (xface_validate): moved from glyphs-x.c
2295         (xface_normalize): ditto.
2296         (xface_possible_dest_types): ditto.
2297         (image_instantiator_format_create): xface declarations moved from
2298         glyphs-x.c.
2299
2300 1999-01-14  Adrian Aichner  <aichner@ecf.teradyne.com>
2301
2302         * event-stream.c (vars_of_event_stream): Fixing documentation.
2303
2304 1999-01-17  Gunnar Evermann  <ge204@eng.cam.ac.uk>
2305
2306         * glyphs-eimage.c (gif_instantiate): Correct handling of
2307         interlaced gifs to avoid writing past the end of the eimage
2308         buffer.
2309
2310 1999-01-13  Hrvoje Niksic  <hniksic@srce.hr>
2311
2312         * search.c (Freplace_match): Handle single backslash at end of
2313         NEWTEXT correctly.
2314
2315 1999-01-12  William M. Perry  <wmperry@aventail.com>
2316
2317         * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2318           avoid connection errors.
2319
2320 1999-01-12  Andy Piper  <andy@xemacs.org>
2321
2322         * redisplay-output.c (redisplay_update_line): backout change that
2323         shouldn't have gone ine.
2324
2325 1999-01-09  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2326
2327         * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2328         collide with ldap.el
2329
2330 1999-01-11  Andy Piper  <andy@xemacs.org>
2331
2332         * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2333         (DISPLAY_LINE_YPOS): new macro.
2334
2335         * redisplay-msw.c (mswindows_output_string): use it.
2336         (mswindows_output_pixmap): ditto.
2337         (mswindows_output_display_block): ditto.
2338
2339         * redisplay-output.c (redisplay_output_display_block): new
2340         function. just call the devmeth, maybe insert some generic code
2341         here later.
2342         (compare_display_blocks): use it.
2343         (output_display_line): ditto.
2344         (redisplay_unmap_subwindows_maybe): new function. potentially
2345         unmap subwindows in the given area.
2346
2347         * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2348         resetting.
2349
2350 1999-01-10  J. Kean Johnston  <jkj@sco.com>
2351
2352         * Makefile.in.in: Set value of moduledir
2353         - Changed DUMPENV to include $(MODULEPATH)
2354         - Added install rule to install header files for use by ellcc.
2355
2356         * config.h.in: Added INHIBIT_SITE_MODULES
2357         - Added HAVE__DLERROR
2358         - Added HAVE_DLFCN_H
2359         - Added DLSYM_NEEDS_UNDERSCORE
2360
2361         * dll.c: Removed.
2362
2363         * emodules.c: New file containing dynamic loading code.
2364
2365         * emodules.h: New file.
2366
2367         * emacs.c: Added variables Vmodule_directory,
2368         Vsite_module_directory, Vconfigure_module_directory and
2369         Vconfigure_site_module_directory.
2370         - (main_1): Added new variable inhibit_site_modules and command
2371         line options `-no-site-modules' and `--no-site-modules'.
2372         - (main_1): Call syms_of_module() instead of syms_of_dll().
2373         - (main_1): Call vars_of_module().
2374         - (vars_of_emacs): Introduce inhibit-site-modules,
2375         module-directory, configure-module-directory,
2376         site-module-directory, and configure-site-module-directory to the
2377         Lisp reader.
2378
2379         * lisp.h: Declare load_module and list_modules, as well as
2380         Vmodule_directory, Vsite_module_directory,
2381         Vconfigure_module_directory and Vconfigure_site_module_directory.
2382
2383         * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2384         - Added correct support for site-lisp directory.
2385
2386         * symbols.c (defsubr): Modified to allow modules to add new subrs
2387         after dump time.
2388         - (defsubr_macro): Same.
2389         - (defvar_magick): Only use purespace when not initialized, so
2390         that loaded modules can still add symbols.
2391
2392         * symsinit.h: Add definitions for syms_of_module(),
2393         vars_of_module().  Removed syms_of_dll().
2394
2395         * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2396         - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2397         - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2398
2399         * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2400         explicitly pass -belf for native cc.
2401
2402         * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2403         hard-coding the library name.
2404
2405 1999-01-01    <martin@xemacs.org>
2406
2407         * device-x.c (Fx_set_font_path):
2408         Add proper cast to permit compilation under C++.
2409
2410         * buffer.c (directory_is_current_directory):
2411         Add proper casts to permit compilation under C++.
2412
2413 1998-12-30  Damon Lipparelli  <lipp@primus.com>
2414
2415         * event-msw.c (mswindows_wnd_proc):
2416           Fixed failure when building with MSVC 5.
2417
2418 1998-12-29  Martin Buchholz  <martin@xemacs.org>
2419
2420         * file-coding.c (decode_coding_iso2022):
2421         - Prevent crash when decoding ISO7/Lock detected files
2422         - the usual martin fiddling
2423
2424 1998-12-29  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2425
2426         * event-msw.c:
2427           glyphs-msw.c:
2428           Fixed failures when building with MSVC.
2429         * unexnt.c (dump_bss_and_heap):
2430           Removed compiler warning by removing bss_data variable.
2431
2432 1998-12-18  Jim Radford  <radford@robby.caltech.edu>
2433
2434         * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2435         so that packages that distribute their own fonts can access them.
2436
2437 1998-12-28  Andy Piper  <andy@xemacs.org>
2438
2439         * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2440         that have an image provided.
2441
2442         * glyphs.h: add Q_image decl.
2443
2444         * glyphs-widget.c new functionality allowing images in
2445         widgets.
2446         (check_valid_glyph_or_image): new function to validate
2447         glyphs passed in through :image.
2448         (widget_normalize): new function. convert :image parameters into
2449         real glyphs if not already so.
2450         (widget_instantiate_1): mess with size parameters to be similar to
2451         :image if provided.
2452         (syms_of_glyphs_widget): new keyword :image.
2453         (image_instantiator_format_create_glyphs_widget): normalize
2454         buttons and allow :image.
2455
2456 1998-12-27  Andy Piper  <andy@xemacs.org>
2457
2458         * frame-msw.c (mswindows_init_frame_1): warning elimination.
2459
2460         * glyphs-widget.c (check_valid_anything): no-op function.
2461         (check_valid_callback): check callbacks in gui_items.
2462         (check_valid_symbol): as it sounds.
2463         (check_valid_string_or_vector): ditto.
2464         (widget_validate): modified for descriptors that are vectors or
2465         sequences of keyword/val pairs.
2466         (widget_instantiate_1): ditto.
2467         (image_instantiator_format_create_glyphs_widget): allow gui_item
2468         keywords in the instantiator.
2469
2470         * gui.c (gui_parse_item_keywords_internal): renamed from
2471         gui_parse_item_keywords but taking error behaviour.
2472         (gui_parse_item_keywords): use it.
2473         (gui_parse_item_keywords_no_errors): ditto.
2474         (gui_item_add_keyval_pair): add Error_behavior flag and only
2475         signal invalid keywords if required.
2476
2477         * gui.h: new gui signatures.
2478
2479         * menubar.c (menu_parse_submenu_keywords): use new
2480         gui_item_add_keyval_pair signature.
2481
2482         * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2483
2484 1998-12-28  Martin Buchholz <martin@xemacs.org>
2485
2486         * XEmacs 21.2.8 is released.
2487
2488 1998-12-28  Martin Buchholz  <martin@xemacs.org>
2489
2490         * editfns.c (get_home_directory):
2491         (user-home-directory): Simplify.
2492
2493
2494         * callproc.c (child_setup):
2495         - Environment variables were being passed to inferior processes
2496           using internal encoding.
2497         - Convert to external encoding.
2498         - Rename local var `tem' to better name `tail'.
2499         - Use Flength instead of `manual' calculation.
2500
2501         * buffer.c (kill-buffer):
2502         (record-buffer):
2503         (set-buffer-major-mode):
2504         (current-buffer):
2505         - Fix up parameter names to correspond to docstrings.
2506         - Don't use `bufname' when a buffer will do as well.
2507         - Remove one unneeded GCPRO.
2508
2509         * buffer.h (initial_directory):
2510         * buffer.c (init_initial_directory):
2511         - use correct conversions between internal and external format.
2512         (directory_is_current_directory): new function
2513         (init_buffer): convert initial_directory to internal format.
2514         - solve crashes when current working directory is non-ASCII.
2515
2516         * alloc.c (xmalloc):
2517         (xcalloc):
2518         (xrealloc):
2519         - remove stupid casts, since XEmacs requires an ANSI C system.
2520         (lrecord_type_index): replace abort() with more readable assert().
2521
2522         (reset_lcrecord_stats): remove.
2523         (sweep_lcrecords_1):
2524         - replace call to reset_lcrecord_stats() with call to xzero().
2525
2526 1998-12-27  Martin Buchholz  <martin@xemacs.org>
2527
2528         * process-unix.c (unix_create_process):
2529         - Fix crash invoking program with non-ASCII name.
2530           Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2531         - Remove unused variable `env'.
2532         - Rename `temp' to better name `save_errno'.
2533         - Reorganize code for clarity.  But still too chicken to nuke the
2534           BSD 4.2 support.
2535
2536 1998-12-24  Martin Buchholz <martin@xemacs.org>
2537
2538         * XEmacs 21.2.7 is released.
2539
2540 1998-12-23  Martin Buchholz  <martin@xemacs.org>
2541
2542         * glyphs.c (decode_device_ii_format):
2543         - Fix indentation.
2544         - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2545
2546         * glyphs-x.c (x_subwindow_instantiate):
2547         - A image instance mask was being assigned to a image instance type!
2548         - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2549
2550         * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2551         Fix indentation.
2552         * glyphs-x.h: Make indentation consistent.
2553
2554         * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2555
2556         * glyphs-widget.c (check_valid_glyph): Warning suppression.
2557         - Make it static
2558         - #ifdef it out, since it's not actually used yet (FIX THIS!)
2559
2560         * glyphs-widget.c:
2561         * glyphs.h:
2562         Move declarations of decode_device_ii_format and
2563         decode_image_instantiator_format into glyphs.h where they belong.
2564
2565 1998-12-22  Martin Buchholz  <martin@xemacs.org>
2566
2567         * frame-x.c (x_delete_frame): Revert part of my changes at the
2568         suggestion of Gunnar Evermann - unfortunately no one really
2569         understands this code.
2570
2571         * callproc.c (init_callproc): code cleanup.
2572
2573         * free-hook.c (malloc):
2574         (check_malloc):
2575         (__free_hook):
2576         (__malloc_hook):
2577         (__realloc_hook):
2578         (block_input_malloc):
2579         (block_input_realloc):
2580         * device-x.c (x_delete_device):
2581         * emacs.c (voodoo_free_hook):
2582         * events.c (print_event):
2583         (CHECK_EVENT_TYPE):
2584         (CHECK_EVENT_TYPE2):
2585         (CHECK_EVENT_TYPE3):
2586         Use proper prototypes.
2587         Make C_E_T macros a little faster.
2588         Pedantic fiddly little changes.  You really don't care.
2589
2590 1998-12-22  Andy Piper  <andy@xemacs.org>
2591
2592         * redisplay-output.c (redisplay_clear_region): make sure that
2593         fg/bg colors get set even when we are in the border area.
2594
2595 1998-12-13  Martin Buchholz  <martin@xemacs.org>
2596
2597         * console-msw.c: Function definitions follow coding standards
2598         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2599
2600 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2601
2602         * events.h (struct timeout_data):
2603         * event-tty.c (tty_timeout_to_emacs_event):
2604         * event-msw.c (mswindows_wm_timer_callback):
2605         * event-Xt.c (Xt_timeout_to_emacs_event):
2606         * event-msw.c (mswindows_cancel_dispatch_event):
2607         Make sure Lisp_Objects inside events are initialized to Qnil, not
2608         Qnull_pointer, which is now illegal.
2609
2610 1998-12-10  Martin Buchholz  <martin@xemacs.org>
2611
2612         * lisp.h: Fix up prototypes to match alloc.c
2613
2614 1998-12-08  Martin Buchholz  <martin@xemacs.org>
2615
2616         * windowsnt.h: Remove `support' for using index and rindex
2617
2618         * filelock.c (current_lock_owner):
2619         - Change uses of index -> strchr, rindex -> strrchr
2620
2621 1998-12-07  Martin Buchholz  <martin@xemacs.org>
2622
2623         * sysdep.c (set_descriptor_non_blocking):
2624         Since O_NONBLOCK is now always #defined, make use of fcntl
2625         conditional on F_SETFL being defined.
2626
2627         * console-msw.c (DHEADgER):
2628         (DOPAQUE_DATA):
2629         (DEVENT):
2630         (DCONS):
2631         (DCONSCDR):
2632         (DSTRING):
2633         (DVECTOR):
2634         (DSYMBOL):
2635         (DSYMNAME):
2636         - max_align_t should not be visible to the user of the
2637           XOPAQUE_DATA macro.
2638         - use Bufbyte instead of char
2639         - parens around (FOOP (obj)) are always redundant.
2640           If they were necessary, we should fix the macro instead.
2641         - Always use string_data(foo) instead of foo->data.
2642
2643
2644 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2645
2646         * frame-msw.c (mswindows_init_frame_1):
2647         - use make_lisp_hash_table, not Fmake_hash_table
2648         - include elhash.h
2649
2650         * lisp.h:
2651         * alloc.c (make_vector): remove travesty
2652         (Fmake_vector):
2653         (make_pure_vector):
2654         (pure_cons):
2655         (make_bit_vector_internal):
2656         (make_bit_vector):
2657         (make_bit_vector_from_byte_vector):
2658         (Fmake_bit_vector):
2659         - make vector_equal a little faster.
2660         - Don't use variable name `new'.
2661         - Use size_t instead of EMACS_INT.
2662         - usual Martin-style pointless bit-twiddling.
2663
2664         * fns.c (mapcar1):
2665         (Fmapconcat):
2666         (Fmapcar):
2667         (Fmapvector):
2668         Make mapcar faster.  In particular, make
2669           (mapc #'identity long-string)
2670         MUCH faster under Mule.
2671         * tests/automated/lisp-tests.el: Test 'em!
2672
2673         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2674         bytecode.
2675
2676 1998-12-01  Martin Buchholz  <martin@xemacs.org>
2677
2678         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2679         Qnil, not NULL, to initialize `null' Lisp_Objects.
2680
2681 1998-11-29  Hrvoje Niksic  <hniksic@srce.hr>
2682
2683         * specifier.c (display_table_validate): Update.
2684
2685         * redisplay.c (create_text_block): Use them.
2686
2687         * glyphs.c (display_table_entry): New function.
2688         (get_display_tables): Ditto.
2689
2690 1998-12-15  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
2691
2692         * eldap.c (toplevel): Mention that eldap.c compiles with
2693         OpenLDAP libs
2694         (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2695         (Fldap_search_internal): Ditto
2696
2697 1998-12-11  Martin Buchholz  <martin@xemacs.org>
2698
2699         * event-msw.c (mswindows_cancel_dispatch_event):
2700         Gratuitous code prettification
2701
2702
2703 1998-12-07  Hrvoje Niksic  <hniksic@srce.hr>
2704
2705         * fns.c (Fnconc): Fix use of wrong_type_argument().
2706
2707         * floatfns.c (Ffloat): Fix docstring.
2708         (Ffloat): Fix use of wrong_type_argument().
2709         (Fabs): Ditto.
2710         (extract_float): Ditto.
2711         (Fceiling): Ditto.
2712         (Fround): Ditto.
2713         (Ftruncate): Ditto.
2714
2715 1998-12-06  Martin Buchholz  <martin@xemacs.org>
2716
2717         * frame-msw.c (mswindows_init_frame_1):
2718         - use make_lisp_hash_table, not Fmake_hash_table
2719         - include elhash.h
2720
2721         * lisp.h:
2722         * alloc.c (make_vector): remove travesty
2723         (Fmake_vector):
2724         (make_pure_vector):
2725         (pure_cons):
2726         (make_bit_vector_internal):
2727         (make_bit_vector):
2728         (make_bit_vector_from_byte_vector):
2729         (Fmake_bit_vector):
2730         - make vector_equal a little faster.
2731         - Don't use variable name `new'.
2732         - Use size_t instead of EMACS_INT.
2733         - usual Martin-style pointless bit-twiddling.
2734
2735         * fns.c (mapcar1):
2736         (Fmapconcat):
2737         (Fmapcar):
2738         (Fmapvector):
2739         Make mapcar faster.  In particular, make
2740           (mapc #'identity long-string)
2741         MUCH faster under Mule.
2742         * tests/automated/lisp-tests.el: Test 'em!
2743
2744         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2745         bytecode.
2746
2747 1998-12-02  Didier Verna  <verna@inf.enst.fr>
2748
2749         * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2750         accelerator field to nil for labels.
2751
2752 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2753
2754         * menubar-msw.c (displayable_menu_item):
2755           Escape occurrences of '&' and support occurrences of the
2756          '%_' accelerator indicator in menus.
2757
2758 1998-11-26  Didier Verna  <verna@inf.enst.fr>
2759
2760         * dired.c (Fdirectory_files): use make_string instead of
2761         make_ext_string on the filename. The conversion external->internal
2762         format is already done in sys_readdir.
2763
2764 1998-12-15  Gunnar Evermann  <ge204@eng.cam.ac.uk>
2765
2766         * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2767
2768 1998-12-16  Jonathan Harris  <jhar@tardis.ed.ac.uk>
2769
2770         * event-msw.c
2771           (Belatedly) added Kirill to list of file's authors.
2772           emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2773           quit checking. WM_PAINT messages cause redisplay, but
2774           windows' states are not necessarily stable when this function
2775           gets called.
2776
2777 1998-12-17  Andy Piper  <andy@xemacs.org>
2778
2779         * strftime.c (zone_name): CONSTify.
2780
2781 1998-12-15  Andy Piper  <andy@xemacs.org>
2782
2783         * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2784         (mswindows_widget_property): return Qunbound when no property available.
2785         (mswindows_button_property): ditto.
2786         (mswindows_combo_property): ditto.
2787         (mswindows_widget_set_property): ditto.
2788
2789         * glyphs-widget.c (check_valid_item_list): use properties.
2790
2791         * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2792
2793         * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2794         (Fimage_instance_property): ditto.
2795         * glyphs-widget.c (widget_property): ditto.
2796         (widget_set_property): ditto.
2797
2798         * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2799         as setting the class cursor so that GC actually changes the
2800         cursor.
2801
2802         * config.h: don't undef MAIL_USE_POP.
2803
2804 1998-12-13  Andy Piper  <andy@xemacs.org>
2805
2806         * glyphs-msw.c
2807         (image_instantiator_format_create_glyphs_mswindows): line ->
2808         label.
2809         (mswindows_label_instantiate): ditto. Play with window flags.
2810         (image_instantiator_format_create_glyphs_mswindows): ditto.
2811         (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2812
2813         * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2814         cope with lines and labels.
2815         (static_instantiate): use widget_instantiate_1.
2816         line -> label.
2817         (image_instantiator_format_create_glyphs_widget): ditto.
2818
2819 1998-12-10  Andy Piper  <andy@xemacs.org>
2820
2821         * Makefile.in.in (objs): add gui.o
2822
2823 1998-12-10  Andy Piper  <andy@xemacs.org>
2824
2825         * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2826         no window system.
2827
2828 1998-12-09  Andy Piper  <andy@xemacs.org>
2829
2830         * glyphs.c (finalize_image_instance): mark glyphs changed when an
2831         image instance is removed so that the subwindow cache gets reset
2832         and thus destroyed images get GC'd.
2833
2834 1998-12-08  Andy Piper  <andy@xemacs.org>
2835
2836         * gui-msw.c (mswindows_handle_gui_wm_command): call
2837         MARK_SUBWINDOWS_CHANGED.
2838
2839         * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2840         subwindows really get deleted.
2841
2842         * redisplay.c: new variable subwindows_changed[_set].
2843         (redisplay_window): use it.
2844         (redisplay_frame): ditto.
2845         (redisplay_device): ditto.
2846         (redisplay_without_hooks): ditto.
2847
2848         * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2849         subwindows redisplay as per glyphs equivalent.
2850         * redisplay.h: ditto.
2851         (MARK_SUBWINDOWS_CHANGED): ditto.
2852         (RESET_CHANGED_SET_FLAGS): ditto.
2853         * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2854
2855 1998-12-07  Andy Piper  <andy@xemacs.org>
2856
2857         * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2858         frames.
2859
2860         * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2861
2862         * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2863         messages and paint widget glyphs as appropriate with their face fg
2864         & bg.
2865
2866 1998-12-06  Andy Piper  <andy@xemacs.org>
2867
2868         * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2869         here rather than in glyphs-widget - do this because we only want
2870         to provide what is really available.
2871
2872         * glyphs.c (Fimage_instance_property): new function to get the
2873         properties of image instances. wires through to console specific
2874         methods and then to widget specific methods.
2875         (Fset_image_instance_property): ditto but for setting widget properties.
2876         (check_valid_face): make extern so that it can be used elsewhere.
2877
2878         * glyphs-widget.c (widget_property): new function. gets the
2879         properties of widgets in general and wires the function through to
2880         widget specific ones.
2881         (widget_set_property): ditto but for setting widget properties.
2882
2883         * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2884         add items to the list. Play with window styles a bit to get the
2885         desired effect.
2886         (mswindows_widget_property): break out specific widget properties.
2887         (mswindows_button_property): new function. gets the checked state
2888         of a button.
2889         (mswindows_combo_property): new function. gets the current
2890         selection in the combo box.
2891         (mswindows_widget_set_property): new function. sets specific
2892         properties of specific widgets.
2893
2894         * glyphs-widget.c (check_valid_item_list): new function. check
2895         that items for a combo-box are just a list of strings.
2896         (combo_validate): new function. check there is an item list.
2897         (widget_instantiate_1): new function. renamed from
2898         widget_instantiate so that we can do slightly different things for
2899         other widgets.
2900         (widget_instantiate): call widget_instantiate_1.
2901         (combo_instantiate): new function to instantiate combo boxes,
2902         defaults height to the pixel height of the number of items in the
2903         box.
2904         (syms_of_glyphs_widget): move widget keywords here.
2905         (image_instantiator_format_create_glyphs_widget): use new combo
2906         functions.
2907
2908 1998-12-04  Andy Piper  <andy@xemacs.org>
2909
2910         * event-msw.c (mswindows_wnd_proc): mule-ize.
2911
2912         * glyphs.c (pixmap_to_lisp_data): mule-ize.
2913
2914         * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2915         (resource_name_to_resource): ditto.
2916         (mswindows_resource_instantiate): ditto.
2917         (mswindows_widget_instantiate): ditto.
2918         (mswindows_widget_set_property): ditto.
2919
2920         * redisplay-output.c (redisplay_output_subwindow): don't show
2921         subwindows if they are obscured at the edge of the frame, emacs
2922         gets into some sort of redisplay loop otherwise.
2923
2924         * gui.h: prototype gui_item_selected_p.
2925
2926         * gui.c (gui_item_selected_p): new function to determine the
2927         selected state of a gui_item.
2928
2929         * frame.h (struct frame): add subwindows_changed flag.
2930
2931         * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2932
2933         * glyphs.c (update_subwindow): new function to update a
2934         subwindow's state.
2935         (update_frame_subwindows): new function to update all the
2936         subwindows on a frame.
2937
2938         * console.h (struct console_methods): add update_subwindow.
2939
2940         * glyphs-msw.c (mswindows_widget_property): return selected state
2941         for selected property.
2942         (mswindows_update_subwindow): new function. updates widget glyphs
2943         in redisplay as per menubars or toolbars e.g. selected state.
2944         (console_type_create_glyphs_mswindows): add update_subwindow.
2945
2946 1998-12-03  Andy Piper  <andy@xemacs.org>
2947
2948         * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2949         tty coding system things are such.
2950
2951         * glyphs-widget.c (widget_face_font_info): new function for
2952         pulling out height and width metrics for a widget's face.
2953         (widget_text_to_pixel_conversion): calculate pixel sizes of text
2954         for widgets.
2955
2956         * event-msw.c (mswindows_drain_windows_queue): translate messages
2957         that are destined for subwindows. This makes edit fields interact
2958         with the keyboard correctly.
2959         nuke warnings by #ifndef'ing out stuff not required by msg select().
2960
2961         * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2962         macro defining the iiforma without the symbol required by widget.
2963         (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2964
2965         * general.c (syms_of_general): add Qwidget, Qselected.
2966
2967         * faces.c (complex_vars_of_faces): add widget face inheriting from
2968         gui-element face.
2969
2970 1998-11-09  Andy Piper  <andy@xemacs.org>
2971
2972         * window.h (struct window): add a cache of subwindows on a
2973         per-window basis.
2974
2975         * window.c (mark_window): mark the subwindow_instance_cache.
2976         (allocate_window): initialise the subwindow instance_cache.
2977
2978         * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2979         instead of the devmeth.
2980         (x_clear_toolbar): ditto.
2981
2982         * redisplay-x.c (x_output_display_block): call
2983         redisplay_output_subwindow for subwindows and widgets.
2984
2985         * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2986         types to do nothing for.
2987
2988         * lisp.h: declare new widget/subwindow symbols.
2989
2990         * glyphs.c (image_instantiate): cache subwindows on a per-window
2991         basis.
2992         (subwindow_possible_dest_types): new function for subwindow dest
2993         types.
2994         (subwindow_instantiate): generic instantiation of a
2995         subwindow. specialised by device multi-methods.
2996         (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2997         subwindows.
2998         (Fimage_instance_subwindow_id): ditto.
2999         (Fresize_subwindow): ditto.
3000         (Fforce_subwindow_map): ditto.
3001
3002         * glyphs-x.c (x_print_image_instance): remove subwindow
3003         stuff. Handled genrically in glyphs.c.
3004         (x_image_instance_equal): ditto.
3005         (x_image_instance_hash): ditto.
3006         (x_finalize_image_instance): delete subwindows when required.
3007         (mark_subwindow) (print_subwindow) (finalize_subwindow)
3008         (subwindow_hash) (Fmake_subwindow): deleted because of new,
3009         glyph-based, subwindow implementation.
3010         (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3011         in glyphs.el
3012         (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3013         glyphs.c.
3014         (x_unmap_subwindow): new function to unmap X subwindows.
3015         (x_map_subwindow): new function to map X subwindows.
3016         (x_subwindow_instantiate): new function to instantiate X
3017         subwindows.
3018         (x_resize_subwindow): new function to resize X subwindows.
3019         (console_type_create_glyphs_x): add subwindow functions.
3020         (image_instantiator_format_create_glyphs_x): add device
3021         multi-methods for xpm, xbm and subwindow.
3022
3023         * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3024         (subwindow-width): ditto.
3025         (subwindow-height): ditto.
3026
3027         * glyphs-msw.c (mswindows_widget_instantiate): new function for
3028         generally instantiating ms subwindows. Used by
3029         mswindows_*_instantiate.
3030         (mswindows_edit_instantiate): instantiate an edit field on a
3031         mswindows frame.
3032
3033 1998-11-04  Andy Piper  <andy@xemacs.org>
3034
3035         * symsinit.h: declare new functions.
3036
3037         * redisplay.h: declare new functions.
3038
3039         * redisplay-x.c (x_output_display_block): call
3040         redisplay_clear_region rather than x_clear_region.
3041         (x_output_string): ditto.
3042         (x_output_pixmap): ditto.
3043         (x_clear_to_window_end): ditto.
3044         (x_output_eol_cursor): ditto.
3045         (x_clear_region): only do X specific things. other duties handled
3046         in redisplay_clear_region.
3047
3048         * redisplay-tty.c (tty_clear_region): do tty specific things - some
3049         duties moved to redisplay_clear_region.
3050
3051         * redisplay-output.c (clear_left_border): use
3052         redisplay_clear_region instead of device method.
3053         (clear_right_border): ditto.
3054         (output_display_line): ditto.
3055         (redisplay_output_subwindow): ditto.
3056         (redisplay_clear_top_of_window): ditto.
3057         (redisplay_clear_region): perform duties previously handled by
3058         device methods. call the appropriate device method at the
3059         end. unmap subwindows if necessary.
3060
3061         * redisplay-msw.c (mswindows_output_string): use
3062         redisplay_clear_region instead of mswindows_clear_region.
3063         (mswindows_clear_to_window_end): ditto.
3064         (mswindows_output_display_block): output subwindows when required.
3065         (mswindows_clear_region): only do mswindows specific things,
3066         everything else is now handled in redisplay_clear_region.
3067
3068         * gui.h: add item id hash defines and declare function prototypes.
3069
3070         * gui.c (mark_gui_item): new function for marking gui_items.
3071         (gui_item_hash): generic hash function for generating command ids
3072         for gui_items.
3073
3074         * gui-msw.c: new file.
3075         (mswindows_handle_gui_wm_command): new function to handle widget
3076         callbacks.
3077
3078         * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3079         multi-methods.
3080         (IIFORMAT_HAS_SHARED_METHOD): ditto.
3081         (DEFINE_DEVICE_IIFORMAT): ditto.
3082         (INITIALIZE_DEVICE_IIFORMAT): ditto.
3083         (struct Lisp_Image_Instance): add widget and subwindow data plus
3084         appropriate access functions.
3085
3086         * glyphs.c (decode_device_ii_format): new function for decoding
3087         image instantiator functions based on a device type as well as an
3088         image format.
3089         (decode_image_instantiator_format): just call
3090         decode_device_ii_format with nil device.
3091         (add_entry_to_device_ii_format_list): new function for per device
3092         method instances.
3093         (add_entry_to_image_instantiator_format_list): just call
3094         add_entry_to_device_ii_format_list with nil device.
3095         (check_valid_vector): new function.
3096         (instantiate_image_instantiator): instantiate using per-format
3097         method and then per-format-per-device method (device
3098         multi-methods). signal an error if neither is possible.
3099         (mark_image_instance): cope with subwindows and widgets.
3100         (print_image_instance): ditto.
3101         (image_instance_equal): ditto.
3102         (image_instance_hash): ditto.
3103         (allocate_glyph): ditto.
3104         (glyph_width): ditto.
3105         (glyph_height_internal): ditto.
3106         (xpm_instantiate): removed because of device multi-methods.
3107         (mark_subwindow_cachels): new cachel functions for caching
3108         instantiated subwindows on a per-frame basis. mostly copied from
3109         glyph cachel functions.
3110         (update_subwindow_cachel_data): ditto.
3111         (add_subwindow_cachel): ditto.
3112         (get_subwindow_cachel_index): ditto.
3113         (reset_subwindow_cachels): ditto.
3114         (mark_subwindow_cachels_as_not_updated): ditto.
3115         (unmap_subwindow): generic unmapping of subwindows based on cachel
3116         data.
3117         (map_subwindow): ditto.
3118         (initialize_subwindow_image_instance): generic initialisation of
3119         subwindow data.
3120         (syms_of_glyphs): add widget keywords.
3121
3122         * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3123         x_subwindow_data.
3124
3125 1998-11-04  Andy Piper  <andy@xemacs.org>
3126
3127         * glyphs-widget.c: new file for instantiating widget type glyphs.
3128         (widget_possible_dest_types): new general dest type function for
3129         widgets.
3130         (widget_validate): ditto.
3131         (initialize_widget_image_instance): ditto
3132         (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3133         before handing on control to device multi-methods.
3134         (syms_of_glyphs_widget): new function.
3135         (image_instantiator_format_create_glyphs_widget): new function,
3136         added placeholders for button, edit, combo, scrollbar
3137         (vars_of_glyphs_widget): new function.
3138
3139         * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3140         storing window ids of widgets.
3141
3142         * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3143         deletion of widget and subwindow glyphs.
3144         (mswindows_unmap_subwindow): new device function for unmapping
3145         subwindows on a msw frame.
3146         (mswindows_map_subwindow): ditto.
3147         (mswindows_register_image_instance): register instantiated widgets
3148         with the widget hastable.
3149         (mswindows_button_instantiate): instantiate a button type widget
3150         on an msw frame.
3151         (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3152         mswindows frame.
3153         (image_instantiator_format_create_glyphs_mswindows): add device
3154         multi-methods for xbm, xpm, subwindow, edit and button.
3155
3156         * frame.h (struct frame): add subwindow_cachels dynarr for caching
3157         information about subwindows visible on the current frame. used by
3158         redisplay_clear_region to unmap subwindows as required.
3159
3160         * frame.c (mark_frame): mark subwindow_cachels.
3161         (allocate_frame_core): instantiate subwindow_cachels.
3162
3163         * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3164         widget hashtable.
3165
3166         * event-msw.c (mswindows_wnd_proc): add call to
3167         mswindows_handle_gui_wm_command to handle widget callbacks.
3168
3169         * emacs.c (main_1): add calls to glyphs-widget initialisation
3170         routines.
3171
3172         * console.h (struct console_methods): add
3173         unmap/map_subwindow_method for use be redisplay_clear_region to
3174         map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3175         with by image instantiator multi-methods. Add
3176         resize_subwindow_method.
3177
3178         * console-stream.c (stream_clear_region): change signature to
3179         match new generic clear region function.
3180
3181         * Makefile.in.in: add glyphs-widget.o to list of objects.
3182
3183         * console-msw.h (struct mswindows_frame): add widget hashtable for
3184         wiring command ids to callbacks.
3185
3186 1998-12-16  Andy Piper  <andy@xemacs.org>
3187
3188         * XEmacs 21.2.6 is released
3189
3190 1998-12-08  Hrvoje Niksic  <hniksic@srce.hr>
3191
3192         * md5.c (Fmd5): Correctly initiate string input stream.
3193
3194         * Makefile.in.in (tests): Add md5-tests.el.
3195
3196 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3197
3198         * lisp.h:
3199         * alloc.c (make_vector): remove travesty
3200         (Fmake_vector):
3201         (make_pure_vector):
3202         (pure_cons):
3203         (make_bit_vector_internal):
3204         (make_bit_vector):
3205         (make_bit_vector_from_byte_vector):
3206         (Fmake_bit_vector):
3207         - make vector_equal a little faster.
3208         - Don't use variable name `new'.
3209         - Use size_t instead of EMACS_INT.
3210         - usual Martin-style pointless bit-twiddling.
3211
3212         * fns.c (mapcar1):
3213         (Fmapconcat):
3214         (Fmapcar):
3215         (Fmapvector):
3216         Make mapcar faster.  In particular, make
3217           (mapc #'identity long-string)
3218         MUCH faster under Mule.
3219         * tests/automated/lisp-tests.el: Test 'em!
3220
3221 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3222
3223         * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3224         bytecode.
3225
3226 1998-12-13  Martin Buchholz  <martin@xemacs.org>
3227
3228         * console-msw.c: Function definitions follow coding standards
3229         - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3230
3231 1998-12-11  Martin Buchholz  <martin@xemacs.org>
3232
3233         * events.h (struct timeout_data):
3234         * event-tty.c (tty_timeout_to_emacs_event):
3235         * event-msw.c (mswindows_wm_timer_callback):
3236         * event-Xt.c (Xt_timeout_to_emacs_event):
3237         * event-msw.c (mswindows_cancel_dispatch_event):
3238         Make sure Lisp_Objects inside events are initialized to Qnil, not
3239         Qnull_pointer, which is now illegal.
3240
3241 1998-12-10  Martin Buchholz  <martin@xemacs.org>
3242
3243         * lisp.h: Fix up prototypes to match alloc.c
3244
3245 1998-12-09  Andy Piper  <andy@xemacs.org>
3246
3247         * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3248         XSETINT for assigning lisp objects.
3249
3250 1998-12-07  Martin Buchholz  <martin@xemacs.org>
3251
3252         * opaque.h:
3253         * console-msw.c (DHEADER):
3254         (DOPAQUE_DATA):
3255         (DEVENT):
3256         (DCONS):
3257         (DCONSCDR):
3258         (DSTRING):
3259         (DVECTOR):
3260         (DSYMBOL):
3261         (DSYMNAME):
3262         - max_align_t should not be visible to the user of the
3263           XOPAQUE_DATA macro.
3264         - use Bufbyte instead of char
3265         - parens around (FOOP (obj)) are always redundant.
3266           If they were necessary, we should fix the macro instead.
3267         - Always use string_data(foo) instead of foo->data.
3268
3269 1998-12-07  Martin Buchholz  <martin@xemacs.org>
3270
3271         * sysdep.c (set_descriptor_non_blocking):
3272         Since O_NONBLOCK is now always #defined, make use of fcntl
3273         conditional on F_SETFL being defined.
3274
3275 1998-12-09  Andy Piper  <andy@xemacs.org>
3276
3277         * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3278         that got removed in the merge
3279
3280 1998-11-30  Greg Klanderman  <greg@alphatech.com>
3281
3282         * dired.c (vars_of_dired): bugfix for previous conditionalization
3283         of user-name-completion on non- Windows NT.
3284
3285 1998-12-08  Martin Buchholz  <martin@xemacs.org>
3286
3287         * windowsnt.h: Remove `support' for using index and rindex
3288
3289         * filelock.c (current_lock_owner):
3290         - Change uses of index -> strchr, rindex -> strrchr
3291
3292 1998-12-06  Martin Buchholz  <martin@xemacs.org>
3293
3294         * frame-msw.c (mswindows_init_frame_1):
3295         - use make_lisp_hash_table, not Fmake_hash_table
3296         - include elhash.h
3297
3298 1998-12-05  XEmacs Build Bot <builds@cvs.xemacs.org>
3299
3300         * XEmacs 21.2.5 is released
3301
3302 1998-11-30  Martin Buchholz  <martin@xemacs.org>
3303
3304         * xselect.c (receive_incremental_selection):
3305         * xselect.c (x_get_window_property):
3306         * xmu.c (XmuReadBitmapDataFromFile):
3307         * xmu.c (XmuCursorNameToIndex):
3308         * xgccache.c (describe_gc_cache):
3309         * xgccache.c (gc_cache_lookup):
3310         * xgccache.c (free_gc_cache):
3311         * xgccache.c (make_gc_cache):
3312         * window.h:
3313         * window.c (map_windows_1):
3314         * window.c (Fother_window_for_scrolling):
3315         * window.c (window_scroll):
3316         * window.c (change_window_height):
3317         * window.c (Fsplit_window):
3318         * window.c (window_left_gutter_width):
3319         * window.c (window_modeline_height):
3320         * window.c (invalidate_vertical_divider_cache_in_window):
3321         * window.c (window_needs_vertical_divider_1):
3322         * window.c (update_mirror_internal):
3323         * window.c (SET_LAST_FACECHANGE):
3324         * widget.c (Fwidget_plist_member):
3325         * unexec.c (copy_text_and_data):
3326         * unexcw.c (copy_executable_and_dump_data_section):
3327         * tooltalk.doc:
3328         * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3329         * tooltalk.c (struct Lisp_Tooltalk_Message):
3330         * toolbar.h (struct toolbar_button):
3331         * toolbar.c (default_toolbar_visible_p_changed_in_window):
3332         * toolbar.c (recompute_overlaying_specifier):
3333         * toolbar.c (toolbar_validate):
3334         * toolbar.c (toolbar_button_at_pixpos):
3335         * toolbar.c (get_toolbar_coords):
3336         * toolbar.c (update_frame_toolbars):
3337         * toolbar-x.c:
3338         * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3339         * toolbar-msw.c (mswindows_find_toolbar_pos):
3340         * toolbar-msw.c (mswindows_output_toolbar):
3341         * toolbar-msw.c (mswindows_clear_toolbar):
3342         * toolbar-msw.c:
3343         * systty.h:
3344         * syssignal.h:
3345         * sysproc.h:
3346         * sysfile.h:
3347         * sysdll.c:
3348         * sysdep.h:
3349         * sysdep.c (rmdir):
3350         * sysdep.c (sys_fopen):
3351         * sysdep.c (sys_open):
3352         * sysdep.c (tty_init_sys_modes_on_device):
3353         * sysdep.c (get_eof_char):
3354         * sysdep.c (child_setup_tty):
3355         * sysdep.c (set_descriptor_non_blocking):
3356         * syntax.h:
3357         * syntax.c (scan_words):
3358         * syntax.c:
3359         * symsinit.h:
3360         * symeval.h (struct symbol_value_varalias):
3361         * symeval.h (struct symbol_value_forward):
3362         * symbols.c (syms_of_symbols):
3363         * symbols.c (init_symbols_once_early):
3364         * symbols.c (Fbuilt_in_variable_type):
3365         * symbols.c (Fsymbol_value_in_buffer):
3366         * symbols.c (default_value):
3367         * symbols.c (Fset):
3368         * symbols.c (find_symbol_value_quickly):
3369         * symbols.c (store_symval_forwarding):
3370         * symbols.c (set_default_console_slot_variable):
3371         * symbols.c (set_default_buffer_slot_variable):
3372         * symbols.c (verify_ok_for_buffer_local):
3373         * symbols.c (symbol_is_constant):
3374         * symbols.c (oblookup):
3375         * symbols.c (Funintern):
3376         * symbols.c (Fintern):
3377         * symbols.c (check_obarray):
3378         * sunplay.c:
3379         * specifier.h (struct specifier_methods):
3380         * specifier.h:
3381         * specifier.c (specifier_instance):
3382         * specifier.c (specifier_instance_from_inst_list):
3383         * specifier.c (decode_locale_type):
3384         * specifier.c (specifier_equal):
3385         * specifier.c (finalize_specifier):
3386         * specifier.c (prune_specifiers):
3387         * specifier.c (kill_specifier_buffer_locals):
3388         * sound.c (init_native_sound):
3389         * sound.c:
3390         * signal.c (alarm):
3391         * search.c (Fmatch_data):
3392         * search.c (match_limit):
3393         * search.c (Freplace_match):
3394         * search.c (skip_chars):
3395         * search.c (scan_buffer):
3396         * search.c:
3397         * scrollbar.c (specifier_vars_of_scrollbar):
3398         * scrollbar.c (Fscrollbar_set_hscroll):
3399         * scrollbar.c (vertical_scrollbar_changed_in_window):
3400         * scrollbar.c (release_window_mirror_scrollbars):
3401         * scrollbar.c (free_scrollbar_instance):
3402         * scrollbar-x.c:
3403         * scrollbar-msw.c:
3404         * s/msdos.h (O_BINARY):
3405         * s/linux.h:
3406         * s/freebsd.h (LIBS_TERMCAP):
3407         * regex.c (re_match_2_internal):
3408         * regex.c (compile_extended_range):
3409         * regex.c (POP_FAILURE_POINT):
3410         * regex.c (PUSH_FAILURE_POINT):
3411         * redisplay.h (RESET_CHANGED_SET_FLAGS):
3412         * redisplay.h:
3413         * redisplay.h (struct display_line):
3414         * redisplay.h (struct rune):
3415         * redisplay.c (vars_of_redisplay):
3416         * redisplay.c (redisplay_variable_changed):
3417         * redisplay.c (UPDATE_CACHE_RETURN):
3418         * redisplay.c (validate_line_start_cache):
3419         * redisplay.c (mark_redisplay_structs):
3420         * redisplay.c (mark_glyph_block_dynarr):
3421         * redisplay.c (window_line_number):
3422         * redisplay.c (redisplay_frame):
3423         * redisplay.c (redisplay_window):
3424         * redisplay.c (generate_modeline):
3425         * redisplay.c (create_right_glyph_block):
3426         * redisplay.c (create_left_glyph_block):
3427         * redisplay.c (create_text_block):
3428         * redisplay.c:
3429         * redisplay-x.c (x_output_hline):
3430         * redisplay-x.c (x_output_vertical_divider):
3431         * redisplay-tty.c (tty_output_display_block):
3432         * redisplay-output.c (output_display_line):
3433         * redisplay-output.c:
3434         * redisplay-msw.c (mswindows_output_vertical_divider):
3435         * redisplay-msw.c (mswindows_ring_bell):
3436         * redisplay-msw.c (mswindows_output_cursor):
3437         * redisplay-msw.c:
3438         * rangetab.c:
3439         * ralloc.c:
3440         * puresize.h (RAW_PURESIZE):
3441         * profile.c (syms_of_profile):
3442         * profile.c (Fstart_profiling):
3443         * profile.c (sigprof_handler):
3444         * profile.c:
3445         * procimpl.h:
3446         * process.c (vars_of_process):
3447         * process.c (read_process_output):
3448         * process.c (get_process):
3449         * process.c:
3450         * process-unix.c (unix_open_multicast_group):
3451         * process-unix.c (unix_get_tty_name):
3452         * process-unix.c (unix_send_process):
3453         * process-unix.c (unix_reap_exited_processes):
3454         * process-unix.c (unix_create_process):
3455         * process-unix.c (unix_init_process_io_handles):
3456         * process-unix.c (allocate_pty):
3457         * process-unix.c:
3458         * process-nt.c (nt_open_network_stream):
3459         * process-nt.c (nt_update_status_if_terminated):
3460         * process-nt.c (nt_finalize_process_data):
3461         * process-nt.c:
3462         * print.c (debug_short_backtrace):
3463         * print.c (debug_backtrace):
3464         * print.c (print_symbol):
3465         * print.c (print_internal):
3466         * print.c (print_cons):
3467         * print.c (Fwrite_char):
3468         * print.c (print_prepare):
3469         * print.c (canonicalize_printcharfun):
3470         * print.c (output_string):
3471         * print.c:
3472         * opaque.h:
3473         * opaque.c (allocate_managed_opaque):
3474         * opaque.c:
3475         * offix.c (DndSetData):
3476         * objects.c (face_boolean_create):
3477         * objects.c (font_instantiate):
3478         * objects.c (font_create):
3479         * objects.c (color_create):
3480         * objects.c (finalize_font_instance):
3481         * objects.c (finalize_color_instance):
3482         * objects.c:
3483         * objects-x.c (x_font_instance_truename):
3484         * objects-x.c:
3485         * objects-x.c (x_initialize_font_instance):
3486         * objects-x.c (allocate_nearest_color):
3487         * objects-tty.c (tty_initialize_font_instance):
3488         * objects-tty.c (tty_initialize_color_instance):
3489         * objects-msw.c (mswindows_initialize_color_instance):
3490         * ntproc.c (syms_of_ntproc):
3491         * ntproc.c (Fwin32_set_process_priority):
3492         * ntproc.c (sys_spawnve):
3493         * ntproc.c:
3494         * ntheap.c (get_data_end):
3495         * nt.c (period):
3496         * nt.c:
3497         * nt.c (stat):
3498         * nt.c (generate_inode_val):
3499         * nt.c (sys_rename):
3500         * nas.c:
3501         * mule-wnnfns.c (Fwnn_hinsi_number):
3502         * mule-wnnfns.c (Fwnn_yuragi):
3503         * mule-wnnfns.c (Fwnn_common_learn):
3504         * mule-wnnfns.c (Fwnn_suffix_learn):
3505         * mule-wnnfns.c (Fwnn_prefix_learn):
3506         * mule-wnnfns.c (Fwnn_okuri_learn):
3507         * mule-wnnfns.c (Fwnn_complex_conv):
3508         * mule-wnnfns.c (Fwnn_last_is_first):
3509         * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3510         * mule-wnnfns.c (Fwnn_notrans_dict_add):
3511         * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3512         * mule-wnnfns.c (Fwnn_fisys_dict_add):
3513         * mule-wnnfns.c (Fwnn_hinsi_list):
3514         * mule-wnnfns.c (Fwnn_fuzokugo_set):
3515         * mule-wnnfns.c (Fwnn_dict_search):
3516         * mule-wnnfns.c (Fwnn_word_toroku):
3517         * mule-wnnfns.c (Fwnn_hindo_update):
3518         * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3519         * mule-wnnfns.c (Fwnn_kakutei):
3520         * mule-wnnfns.c (Fwnn_begin_henkan):
3521         * mule-wnnfns.c (Fwnn_dict_comment):
3522         * mule-wnnfns.c (Fwnn_dict_add):
3523         * mule-wnnfns.c (Fwnn_open):
3524         * mule-mcpath.c (mc_getcwd):
3525         * mule-coding.c (vars_of_mule_coding):
3526         * mule-coding.c (convert_to_external_format):
3527         * mule-coding.c (encoding_marker):
3528         * mule-coding.c (decoding_marker):
3529         * mule-coding.c (Fcopy_coding_system):
3530         * mule-coding.c (Fmake_coding_system):
3531         * mule-coding.c (Fcoding_system_list):
3532         * mule-coding.c (Ffind_coding_system):
3533         * mule-coding.c (symbol_to_eol_type):
3534         * mule-coding.c:
3535         * mule-charset.c (complex_vars_of_mule_charset):
3536         * mule-charset.c (vars_of_mule_charset):
3537         * mule-charset.c (Fset_charset_ccl_program):
3538         * mule-charset.c (struct charset_list_closure):
3539         * mule-charset.c (Ffind_charset):
3540         * mule-charset.c (make_charset):
3541         * mule-charset.c (non_ascii_valid_char_p):
3542         * mule-charset.c:
3543         * mule-ccl.c (ccl_driver):
3544         * mule-canna.c (c2mu):
3545         * mule-canna.c (Fcanna_henkan_begin):
3546         * mule-canna.c (Fcanna_parse):
3547         * mule-canna.c (Fcanna_store_yomi):
3548         * mule-canna.c (Fcanna_touroku_string):
3549         * mule-canna.c (Fcanna_initialize):
3550         * minibuf.c:
3551         * menubar.c (menu_parse_submenu_keywords):
3552         * menubar-x.c (make_dummy_xbutton_event):
3553         * menubar-x.c (set_frame_menubar):
3554         * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3555         * menubar-x.c:
3556         * menubar-msw.h:
3557         * menubar-msw.c (mswindows_popup_menu):
3558         * menubar-msw.c (mswindows_update_frame_menubars):
3559         * menubar-msw.c (mswindows_handle_wm_command):
3560         * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3561         * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3562         * menubar-msw.c (update_frame_menubar_maybe):
3563         * menubar-msw.c (populate_or_checksum_helper):
3564         * menubar-msw.c (empty_menu):
3565         * menubar-msw.c:
3566         * md5.c:
3567         * marker.c (set_marker_internal):
3568         * marker.c (print_marker):
3569         * malloc.c:
3570         * make-src-depend:
3571         * lstream.c (lisp_buffer_rewinder):
3572         * lstream.c (mark_lstream):
3573         * lrecord.h:
3574         * lrecord.h (struct lrecord_header):
3575         * lread.c (readevalloop):
3576         * lread.c (locate_file):
3577         * lread.c (locate_file_in_directory):
3578         * lread.c (Flocate_file):
3579         * lread.c (load_force_doc_string_unwind):
3580         * lread.c (ebolify_bytecode_constants):
3581         * lread.c:
3582         * lisp.h:
3583         * lisp-union.h:
3584         * lisp-disunion.h:
3585         * linuxplay.c (linux_play_data_or_file):
3586         * linuxplay.c (audio_init):
3587         * line-number.c:
3588         * keymap.h:
3589         * keymap.c (describe_map):
3590         * keymap.c (describe_map_mapper):
3591         * keymap.c (Fdescribe_bindings_internal):
3592         * keymap.c (Fsingle_key_description):
3593         * keymap.c (map_keymap_sorted):
3594         * keymap.c (get_relevant_keymaps):
3595         * keymap.c (Flookup_key):
3596         * keymap.c (raw_lookup_key_mapper):
3597         * keymap.c (Fdefine_key):
3598         * keymap.c (Fevent_matches_key_specifier_p):
3599         * keymap.c (key_desc_list_to_event):
3600         * keymap.c (define_key_parser):
3601         * keymap.c (define_key_check_and_coerce_keysym):
3602         * keymap.c (keymap_submaps):
3603         * keymap.c (keymap_store_internal):
3604         * keymap.c (keymap_delete_inverse_internal):
3605         * keymap.c (keymap_store_inverse_internal):
3606         * keymap.c (print_keymap):
3607         * keymap.c (Lisp_Keymap):
3608         * keymap.c:
3609         * intl.c:
3610         * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3611         * insdel.c (make_gap):
3612         * input-method-xlib.c (get_XIM_input):
3613         * input-method-xlib.c (XIM_init_frame):
3614         * imgproc.c:
3615         * hash.h:
3616         * hash.c:
3617         * gui.c:
3618         * gui-x.c (button_item_to_widget_value):
3619         * gui-x.c (popup_selection_callback):
3620         * glyphs.h (struct image_instantiator_methods):
3621         * glyphs.c (mark_glyph_cachels):
3622         * glyphs.c (Fglyph_type):
3623         * glyphs.c (image_instantiate):
3624         * glyphs.c (image_create):
3625         * glyphs.c (make_image_instance_1):
3626         * glyphs.c (finalize_image_instance):
3627         * glyphs.c:
3628         * glyphs-x.c (finalize_subwindow):
3629         * glyphs-x.c (xface_validate):
3630         * glyphs-x.c (x_locate_pixmap_file):
3631         * glyphs-x.c (convert_EImage_to_XImage):
3632         * glyphs-msw.c:
3633         * glyphs-msw.c (mswindows_resource_instantiate):
3634         * glyphs-msw.c (xpm_to_eimage):
3635         * glyphs-msw.c (convert_EImage_to_DIBitmap):
3636         * glyphs-eimage.c (tiff_instantiate):
3637         * glyphs-eimage.c (png_instantiate):
3638         * glyphs-eimage.c (struct png_error_struct):
3639         * glyphs-eimage.c (gif_memory_storage):
3640         * glyphs-eimage.c:
3641         * gifrlib.h:
3642         * getloadavg.c (getloadavg):
3643         * getloadavg.c:
3644         * gdbinit:
3645         * free-hook.c (log_gcpro):
3646         * free-hook.c (check_malloc):
3647         * free-hook.c (check_free):
3648         * free-hook.c (ROUND_UP_TO_PAGE):
3649         * free-hook.c:
3650         * frame.h (struct frame):
3651         * frame.h:
3652         * frame.c (change_frame_size_1):
3653         * frame.c (allocate_frame_core):
3654         * frame.c:
3655         * frame-x.c (x_focus_on_frame):
3656         * frame-x.c (x_init_frame_2):
3657         * frame-x.c (x_popup_frame):
3658         * frame-x.c (xemacs_XtPopup):
3659         * frame-x.c:
3660         * frame-x.c (Foffix_start_drag_internal):
3661         * frame-x.c (x_cde_destroy_callback):
3662         * frame-x.c (x_wm_hack_wm_protocols):
3663         * frame-tty.c (tty_frame_visible_p):
3664         * frame-msw.c (mswindows_make_frame_invisible):
3665         * frame-msw.c (mswindows_after_init_frame):
3666         * frame-msw.c (mswindows_init_frame_1):
3667         * fns.c (syms_of_fns):
3668         * fns.c (Fbase64_decode_string):
3669         * fns.c (Fnconc):
3670         * fns.c (Ffillarray):
3671         * fns.c (Fobject_plist):
3672         * fns.c (Fget):
3673         * fns.c (Fcanonicalize_lax_plist):
3674         * fns.c (Fcanonicalize_plist):
3675         * fns.c (Fplist_remprop):
3676         * fns.c (Fplist_get):
3677         * fns.c (advance_plist_pointers):
3678         * fns.c (internal_plist_put):
3679         * fns.c (Fnreverse):
3680         * fns.c (Fremassq):
3681         * fns.c (Felt):
3682         * fns.c (Fsubstring):
3683         * fns.c (Fbvconcat):
3684         * fns.c (Flength):
3685         * fns.c (length_with_bytecode_hack):
3686         * fns.c (print_bit_vector):
3687         * fns.c:
3688         * floatfns.c (Ffloor):
3689         * floatfns.c:
3690         * floatfns.c (in_float_error):
3691         * fileio.c (Ffile_modes):
3692         * fileio.c (Fexpand_file_name):
3693         * fileio.c (Fmake_temp_name):
3694         * fileio.c (Ffile_name_nondirectory):
3695         * fileio.c (Ffile_name_directory):
3696         * file-coding.h:
3697         * file-coding.c (vars_of_mule_coding):
3698         * file-coding.c (convert_to_external_format):
3699         * file-coding.c (encoding_marker):
3700         * file-coding.c (decoding_marker):
3701         * file-coding.c (Fcopy_coding_system):
3702         * file-coding.c (Fmake_coding_system):
3703         * file-coding.c (struct coding_system_list_closure):
3704         * file-coding.c (Ffind_coding_system):
3705         * file-coding.c (symbol_to_eol_type):
3706         * file-coding.c:
3707         * faces.h (struct face_cachel):
3708         * faces.c (vars_of_faces):
3709         * faces.c (face_property_was_changed):
3710         * faces.c (mark_face_cachels):
3711         * faces.c (temporary_faces_list):
3712         * faces.c (struct face_list_closure):
3713         * faces.c:
3714         * extents.h (struct extent):
3715         * extents.c (vars_of_extents):
3716         * extents.c (struct copy_string_extents_1_arg):
3717         * extents.c (add_string_extents_mapper):
3718         * extents.c (Fextent_property):
3719         * extents.c (Fset_extent_property):
3720         * extents.c (symbol_to_glyph_layout):
3721         * extents.c (properties_equal):
3722         * extents.c (print_extent):
3723         * extents.c (print_extent_1):
3724         * extents.c (extent_in_region_p):
3725         * extents.c (gap_array_make_gap):
3726         * extents.c:
3727         * events.h (struct Lisp_Event):
3728         * events.h:
3729         * events.c (Fevent_properties):
3730         * events.c (format_event_object):
3731         * events.c (Fmake_event):
3732         * events.c (event_equal):
3733         * events.c (print_event):
3734         * events.c (mark_event):
3735         * event-stream.c ((read-char)
3736         * event-stream.c (vars_of_event_stream):
3737         * event-stream.c (syms_of_event_stream):
3738         * event-stream.c (Fset_recent_keys_ring_size):
3739         * event-stream.c (Fsit_for):
3740         * event-stream.c (Fnext_event):
3741         * event-stream.c (execute_help_form):
3742         * event-stream.c (maybe_kbd_translate):
3743         * event-stream.c:
3744         * event-msw.c (vars_of_event_mswindows):
3745         * event-msw.c (mswindows_wnd_proc):
3746         * event-msw.c (mswindows_need_event):
3747         * event-msw.c (mswindows_drain_windows_queue):
3748         * event-msw.c (mswindows_pump_outstanding_events):
3749         * event-msw.c:
3750         * event-msw.c (slurp_thread):
3751         * event-msw.c (struct ntpipe_slurp_stream):
3752         * event-msw.c (HANDLE_TO_USID):
3753         * event-Xt.c (emacs_Xt_handle_magic_event):
3754         * event-Xt.c (x_event_to_emacs_event):
3755         * event-Xt.c (x_reset_modifier_mapping):
3756         * event-Xt.c (x_reset_key_mapping):
3757         * event-Xt.c:
3758         * eval.c (syms_of_eval):
3759         * eval.c (warn_when_safe):
3760         * eval.c (warn_when_safe_lispobj):
3761         * eval.c (Fbacktrace_frame):
3762         * eval.c (Fbacktrace):
3763         * eval.c (top_level_set):
3764         * eval.c (unbind_to_hairy):
3765         * eval.c (specbind_magic):
3766         * eval.c (specbind_unwind_wasnt_local):
3767         * eval.c (call2_trapping_errors):
3768         * eval.c (call1_trapping_errors):
3769         * eval.c (catch_them_squirmers_call2):
3770         * eval.c (call0_trapping_errors):
3771         * eval.c (run_hook_trapping_errors):
3772         * eval.c (catch_them_squirmers_eval_in_buffer):
3773         * eval.c (call4_in_buffer):
3774         * eval.c (call3_in_buffer):
3775         * eval.c (call2_in_buffer):
3776         * eval.c (call1_in_buffer):
3777         * eval.c (call0_in_buffer):
3778         * eval.c (run_hook):
3779         * eval.c (run_hook_with_args_in_buffer):
3780         * eval.c (Fapply):
3781         * eval.c (Feval):
3782         * eval.c (do_autoload):
3783         * eval.c (un_autoload):
3784         * eval.c (Fautoload):
3785         * eval.c (Finteractive_p):
3786         * eval.c (Fcommand_execute):
3787         * eval.c (signal_quit):
3788         * eval.c (call_with_suspended_errors):
3789         * eval.c (signal_error):
3790         * eval.c (return_from_signal):
3791         * eval.c (Fcall_with_condition_handler):
3792         * eval.c (run_condition_case_handlers):
3793         * eval.c (condition_case_1):
3794         * eval.c (Funwind_protect):
3795         * eval.c (unwind_to_catch):
3796         * eval.c (internal_catch):
3797         * eval.c (Fmacroexpand_internal):
3798         * eval.c (Fuser_variable_p):
3799         * eval.c (Fdefconst):
3800         * eval.c (Fdefvar):
3801         * eval.c (Ffunction):
3802         * eval.c (signal_call_debugger):
3803         * eval.c (call_debugger):
3804         * eval.c:
3805         * emacs.c (main):
3806         * emacs.c (sort_args):
3807         * emacs.c (main_1):
3808         * elhash.h:
3809         * elhash.c:
3810         * editfns.c (Fencode_time):
3811         * editfns.c (Fdecode_time):
3812         * editfns.c (Fuser_full_name):
3813         * editfns.c:
3814         * editfns.c (save_excursion_restore):
3815         * ecrt0.c:
3816         * dynarr.c:
3817         * doprnt.c (emacs_doprnt_1):
3818         * doc.c (verify_doc_mapper):
3819         * doc.c (Fsnarf_documentation):
3820         * doc.c (Fdocumentation):
3821         * dll.c:
3822         * dired.c (user_name_completion):
3823         * dired.c (Fdirectory_files):
3824         * dialog-x.c:
3825         * dialog-msw.c:
3826         * dgif_lib.c (FreeSavedImages):
3827         * dgif_lib.c (DGifGetImageDesc):
3828         * device.h:
3829         * device.h (struct device):
3830         * device.c (Fselect_device):
3831         * device.c (allocate_device):
3832         * device.c:
3833         * device-x.c (Fx_keysym_on_keyboard_p):
3834         * device-x.c (Fx_valid_keysym_name_p):
3835         * device-x.c (x_IO_error_handler):
3836         * device-x.c (x_delete_device):
3837         * device-x.c (x_finish_init_device):
3838         * device-x.c (x_init_device):
3839         * device-x.c:
3840         * device-msw.c (mswindows_init_device):
3841         * dbxrc:
3842         * database.c (vars_of_database):
3843         * database.c (Fput_database):
3844         * database.c (Fopen_database):
3845         * database.c (berkdb_remove):
3846         * database.c (berkdb_put):
3847         * database.c (Fdatabasep):
3848         * database.c (print_database):
3849         * database.c:
3850         * data.c (vars_of_data):
3851         * data.c (syms_of_data):
3852         * data.c (init_errors_once_early):
3853         * data.c (prune_weak_lists):
3854         * data.c (finish_marking_weak_lists):
3855         * data.c (print_weak_list):
3856         * data.c (Fmod):
3857         * data.c (Fstring_to_number):
3858         * data.c (Fnumber_to_string):
3859         * data.c (Findirect_function):
3860         * data.c (Fsetcdr):
3861         * data.c (Ffloatp):
3862         * data.c (Fsubr_interactive):
3863         * data.c (Farrayp):
3864         * data.c (Fkeywordp):
3865         * data.c (Fnull):
3866         * data.c:
3867         * console.h (CONSOLE_NAME):
3868         * console.h:
3869         * console.c (vars_of_console):
3870         * console.c (Fselect_console):
3871         * console.c:
3872         * console-x.h (DEVICE_X_COLORMAP):
3873         * console-x.h (struct x_device):
3874         * console-x.c (x_device_to_console_connection):
3875         * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3876         * console-tty.c (tty_init_console):
3877         * console-tty.c:
3878         * console-msw.h (struct mswindows_frame):
3879         * conslots.h:
3880         * config.h.in:
3881         * cmds.c (internal_self_insert):
3882         * cmds.c (Fforward_line):
3883         * cmds.c (Fforward_char):
3884         * cmds.c:
3885         * cmdloop.c:
3886         * chartab.c (mark_char_table_entry):
3887         * chartab.c:
3888         * casefiddle.c (casify_word):
3889         * callproc.c (child_setup):
3890         * callproc.c (Fcall_process_internal):
3891         * callproc.c:
3892         * callint.c (Fcall_interactively):
3893         * bytecode.h:
3894         * bytecode.c (execute_rare_opcode):
3895         * bytecode.c (execute_optimized_program):
3896         * bytecode.c:
3897         * bufslots.h:
3898         * buffer.h (BUFFER_REALLOC):
3899         * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3900         * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3901         * buffer.h:
3902         * buffer.h (MAP_INDIRECT_BUFFERS):
3903         * buffer.h (CHECK_LIVE_BUFFER):
3904         * buffer.c (init_initial_directory):
3905         * buffer.c (complex_vars_of_buffer):
3906         * buffer.c (vars_of_buffer):
3907         * buffer.c (finish_init_buffer):
3908         * buffer.c (Fget_file_buffer):
3909         * buffer.c (Fbuffer_list):
3910         * buffer.c (mark_buffer):
3911         * balloon_help.c (balloon_help_move_to_pointer):
3912         * balloon_help.c (show_help):
3913         * balloon_help.c:
3914         * backtrace.h:
3915         * alloc.c (garbage_collect_1):
3916         * alloc.c (sweep_strings):
3917         * alloc.c (sweep_compiled_functions):
3918         * alloc.c (sweep_bit_vectors_1):
3919         * alloc.c (sweep_vectors_1):
3920         * alloc.c (sweep_lcrecords_1):
3921         * alloc.c (tick_lcrecord_stats):
3922         * alloc.c (pure_string_sizeof):
3923         * alloc.c (mark_conses_in_list):
3924         * alloc.c (mark_object):
3925         * alloc.c (report_pure_usage):
3926         * alloc.c (make_pure_float):
3927         * alloc.c (make_pure_string):
3928         * alloc.c (free_managed_lcrecord):
3929         * alloc.c (mark_string):
3930         * alloc.c (noseeum_make_marker):
3931         * alloc.c (allocate_event):
3932         * alloc.c (Fbit_vector):
3933         * alloc.c (Fvector):
3934         * alloc.c (make_float):
3935         * alloc.c (Fmake_list):
3936         * alloc.c (Flist):
3937         * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3938         * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3939         * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3940         * alloc.c (dbg_constants):
3941         * alloc.c (gc_record_type_p):
3942         * alloc.c (free_lcrecord):
3943         * alloc.c (xmalloc):
3944         * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3945         * abbrev.c:
3946         * Makefile.in.in (mostlyclean):
3947         * Makefile.in.in (external_client_xlib_objs_nonshared):
3948         * Makefile.in.in (temacs_link_args):
3949         * Makefile.in.in (release):
3950         * Makefile.in.in (dnd_objs):
3951         * Makefile.in.in (objs):
3952         * Makefile.in.in (PROGNAME):
3953         * EmacsShell.c: cast strings to (XtPointer)
3954         * EmacsFrame.c: cast strings to (XtPointer)
3955         - mega patch
3956         - rewrite basic lisp functions for speed
3957         - rewrite bytecode interpreter for speed
3958         - rewrite list looping constructs for speed and safety using
3959           tortoise/hare.
3960         - use size_t where appropriate.
3961         - new hashtable implementation
3962         - cleanup implementation of opaques
3963         - opaques can now be purecopy'ed
3964         - move some cl functionality into C for speed.
3965         - remove last remaining VMS support
3966         - spelling fixes
3967         - improve gdb/dbx debugger support
3968         - move pure.c back into alloc.c for performance
3969         - enable report_pure_usage() if --memory-usage-stats
3970         - remove remnants of Energize support (EMACS_BTL, cadillac...)
3971         - don't use symbols with leading `_' or embedded `__'
3972         - globally cleanup duplicated semicolons `;;'
3973         - I give in on %p vs %lx - we use printf("%lx",(long) p)
3974           globally.
3975         - globally replace O_NDELAY with O_NONBLOCK.
3976         - globally replace CDISABLE with _POSIX_VDISABLE.
3977         - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3978         - define (and maybe use!) STDERR_FILENO and friends.
3979         - add support for macros defined in C
3980         - `when', `unless', `not' and `defalias' now defined in C,
3981           so that they are universally available.
3982         - rename defvar_mumble to defvar_magic
3983         - rename RETURN__ to RETURN_SANS_WARNINGS
3984         - use consistent style of initial caps in error messages
3985         - implement last, butlast, nbutlast, copy-list in C.
3986         - provide typedefs for all struct Lisp_foo types
3987         - Lisp_Objects must be initialized to Qnil rather than 0.
3988         - make sure XEmacs runs (slowly) with always_gc == 1;
3989         - fast and safe LOOP_* macros
3990         - change calls to XSETOBJ to XSETFOO
3991         - replace calls to XSETINT by make_int()
3992         - plug up memory leaks
3993         - use style markobj (foo), not silly ((markobj) (foo))
3994         - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3995
3996 1998-12-02  P. E. Jareth Hein  <jareth@camelot.co.jp>
3997
3998         * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3999
4000 1998-11-28  SL Baur  <steve@altair.xemacs.org>
4001
4002         * XEmacs 21.2-beta4 is released.
4003
4004 1998-11-27  SL Baur  <steve@altair.xemacs.org>
4005
4006         * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4007         property in control-1 charset.
4008         From Julian Bradfield <jcb@daimi.au.dk>
4009
4010 1998-11-26  Jan Vroonhof  <vroonhof@math.ethz.ch>
4011
4012         * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4013         keyword.
4014         Add stub for :label.
4015
4016         * gui.c (gui_item_add_keyval_pair): ditto.
4017
4018         * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4019         :key-sequence keyword.
4020         Add stub for:label.
4021         Support :active for submenus like the Windows code and FSF Emacs.
4022
4023 1998-11-27  Hrvoje Niksic  <hniksic@srce.hr>
4024
4025         * dired.c (make_directory_hash_table): make_string() is OK because
4026         readdir() Mule-encapsulates.
4027
4028 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
4029
4030         * fns.c (Fbase64_encode_string): Fix docstring.
4031         (Fbase64_decode_string): Ditto.
4032
4033 1998-11-26  Hrvoje Niksic  <hniksic@srce.hr>
4034
4035         * editfns.c (Ftranslate_region): Use
4036         convert_bufbyte_string_into_emchar_string().
4037
4038 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4039
4040         * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4041         well as strings.
4042         (Ftranslate_region): Turn table into an array of Emchars for
4043         larger regions.
4044
4045 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4046
4047         * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4048
4049 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
4050
4051         * chartab.c (Freset_char_table): Don't blindly fill chartables of
4052         type `char' with nils.
4053
4054         * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4055         for tables of type `char'.
4056
4057 1998-11-26  Didier Verna  <verna@inf.enst.fr>
4058
4059         * input-method-xlib.c (Initialize_Locale): don't call
4060         XtSetLanguageProc. We've done the whole work here.
4061         * input-method-xfs.c (Initialize_Locale): ditto.
4062         * input-method-motif.c (Initialize_Locale): ditto.
4063
4064 1998-11-26  Didier Verna  <verna@inf.enst.fr>
4065
4066         * process-unix.c (unix_create_process): handle properly
4067         Vfile_name_coding_system for converting the program and directory
4068         names.
4069
4070 1998-11-27  SL Baur  <steve@altair.xemacs.org>
4071
4072         * m/arm.h: New file.
4073         From James LewisMoss <dres@ioa.com>
4074
4075 1998-11-27  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
4076
4077         * m/mips-nec.h:
4078         Fix the realpath() problem of UnixWare2.1.3.
4079         Patches for NEC's sysv4.2 machine.
4080
4081 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4082
4083         * dired.c (Fdirectory_files): Remove redundant code.
4084
4085 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4086
4087         * fns.c (free_malloced_ptr): New function.
4088         (XMALLOC_OR_ALLOCA): New macro.
4089         (XMALLOC_UNBIND): Ditto.
4090         (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4091         to be freed in case of non-local exit.
4092         (Fbase64_encode_string): Ditto.
4093         (Fbase64_decode_region): Ditto.
4094         (Fbase64_decode_string): Ditto.
4095         (STORE_BYTE): New macro.
4096         (base64_decode_1): Use it.
4097
4098 1998-11-25  Hrvoje Niksic  <hniksic@srce.hr>
4099
4100         * fns.c (base64_value_to_char): Base64 stuff.
4101
4102 1998-11-24  Hrvoje Niksic  <hniksic@srce.hr>
4103
4104         * editfns.c (Fbuffer_substring): New function.
4105
4106         * lisp.h: Declare make_string_from_buffer_no_extents().
4107
4108         * insdel.c (make_string_from_buffer_1): New function.
4109         (make_string_from_buffer_no_extents): Ditto.
4110
4111 1998-11-15  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4112
4113         * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4114         sound work on AIX with OSS installed.  Linux should still work.
4115
4116 1998-11-03  Andy Piper  <andyp@parallax.co.uk>
4117
4118         * config.h.in: name change for cygwin/version.h
4119
4120         * configure.in: check for cygwin/version.h now.
4121
4122         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4123         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4124         move cygwin32/version.h to cygwin/version.h
4125
4126 1998-11-03  Olivier Galibert  <galibert@pobox.com>
4127
4128         * lisp.h  (struct  Lisp_Bit_Vector): Fix declaration of  bits from
4129         int to long.
4130
4131 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
4132
4133         * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4134         CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4135         enable BROKEN_SIGIO under b20 to make QUIT work.
4136
4137 1998-10-22  Andy Piper  <andyp@parallax.co.uk>
4138
4139         * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4140         to fit within the constraints of the screen size. I.e. make the
4141         frame small enough to fit and move it if some of it will be
4142         off-screen.
4143
4144 1998-10-19  Greg Klanderman  <greg@alphatech.com>
4145
4146         * dired.c: conditionalize inclusion of user-name-completion
4147         primitives on non-Windows NT.  The needed functions don't exist on NT.
4148
4149 1998-11-24  SL Baur  <steve@altair.xemacs.org>
4150
4151         * gifrlib.h: Clean up types for 64 bit compile.
4152         * dgif_lib.c (DGifInitRead): Ditto.
4153         (MakeSavedImage): Ditto.
4154         * emacs.c (decode_path): Ditto.
4155         From Steve Carney <carney@pa.dec.com>
4156
4157 1998-10-16  William M. Perry  <wmperry@aventail.com>
4158
4159         * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4160           (cehckboxes instead of checkboxes).
4161
4162 1998-10-15  SL Baur  <steve@altair.xemacs.org>
4163
4164         * XEmacs 21.2-beta3 is released.
4165
4166 1998-10-13  Raymond Toy  <toy@rtp.ericsson.se>
4167
4168         * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4169         gnuclient.  Otherwise, we run xemacs as we always did.  This gets
4170         rid of the annoying DOS window when running gnuclient.
4171
4172 1998-10-13  Andy Piper  <andyp@parallax.co.uk>
4173
4174         * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4175         HAVE_MS_WINDOWS typo.
4176
4177 1998-10-13  SL Baur  <steve@altair.xemacs.org>
4178
4179         * process-unix.c (unix_send_process): Set closed flag on writable
4180         pipe after SIGPIPE is received and before we call deactivate_process.
4181
4182 1998-10-03  Gunnar Evermann  <ge204@eng.cam.ac.uk>
4183
4184         * window.c (Fset_window_start): respect narrowing when
4185         checking wheter start is at the beginning of a line.
4186         (Fset_window_buffer): Ditto
4187         Fixes repeatable crash in VM.
4188
4189 1998-10-09  SL Baur  <steve@altair.xemacs.org>
4190
4191         * window.c (specifier_vars_of_window): Set default vertical
4192         divider width to 1 on ttys.
4193
4194 1998-10-08  Martin Buchholz  <martin@xemacs.org>
4195
4196         * alloc.c:
4197         * unexec.c:
4198         * malloc.c:
4199         Add <stddef.h> to get ptrdiff_t declaration
4200
4201 1998-10-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4202
4203         * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4204           is used for Motif or Lucid scrollbars under X.
4205
4206 1998-10-08  Pierre Wendling  <pw@ebc.vbe.dec.com>
4207
4208         * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4209         `configure'
4210
4211 1998-10-06  Takeshi Hagiwara  <hagiwara@ie.niigata-u.ac.jp>
4212
4213         * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4214
4215 1998-10-05  Andy Piper  <andyp@parallax.co.uk>
4216
4217         * s/cygwin32.h: more cygwin b20 reorganisation.
4218
4219 1998-10-01  Raymond Toy  <toy@rtp.ericsson.se>
4220
4221         * nas.c: Added necessary support functions to be able to handle
4222         WAVE files in memory, just like the support for SND files in
4223         memory.
4224
4225 1998-09-30  SL Baur  <steve@altair.xemacs.org>
4226
4227         * callproc.c (child_setup): Fix spelling typo.
4228
4229 1998-09-29  SL Baur  <steve@altair.xemacs.org>
4230
4231         * XEmacs 21.2-beta2 is released.
4232
4233 1998-09-27  P. E. Jareth Hein  <jareth@camelot.co.jp>
4234
4235         * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4236         to prevent memory corruption in the case of jumping out of a series of
4237         nested match patterns. This is a rather brute force approach, though.
4238
4239 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
4240
4241         * config.h.in: ditto.
4242
4243         * s/cygwin32.h: rearrange declarations to cope with cygwin
4244         b20. Include cygwin32/version.h if it exists.
4245
4246 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4247
4248         * device-msw.c (mswindows_init_device): Call new
4249           mswindows_enumerate_fonts() function in objects-msw.c instead
4250           of font_enum_callback_1() to enumerate fonts.
4251
4252           font_enum_callback_1() and _2() moved to objects-msw.c.
4253
4254         * faces.c (complex_vars_of_faces): Make the mswindows default
4255           face font fully specified and provide some fallbacks.
4256
4257         * objects-msw.c: font_enum_callback_1() and _2() moved here
4258           from objects-msw.c. Obtain the enumerated font's character
4259           sets by table lookup instead of using the locale-specific
4260           string provided by Windows.
4261
4262           New public non-method mswindows_enumerate_fonts() that fills
4263           in the supplied mswindows device's font list.
4264
4265           mswindows_initialize_font_instance: Use the supplied name
4266           variable instead of f->name when signalling errors. Match font
4267           weights and character sets using lookup tables which handle
4268           spaces instead of by frobbing.
4269
4270 1998-09-20  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4271
4272         * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4273           on the size of code fragments passed to run_in_other_process.
4274
4275           run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4276           the amount of memory to allocate in the other process.
4277
4278           Removed sigkill_code_end(), sigint_code_end() and
4279           sig_enable_code_end() since they are now redundant.
4280
4281           send_signal() and enable_child_signals(): Don't try to work
4282           out the end of the code fragments passed to
4283           run_in_other_process()
4284
4285 1998-09-10  Kazuyuki IENAGA  <ienaga@jsys.co.jp>
4286
4287         * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4288         FreeBSD-current.
4289
4290         * src/unexelf.c: Partially synched with FSF's 20.3.
4291
4292 1998-09-10  Hrvoje Niksic  <hniksic@srce.hr>
4293
4294         * insdel.c (signal_after_change): Map across indirect buffers
4295         here, and not in the upper-level functions.
4296         (signal_first_change): Don't check for Armageddon.
4297         (signal_before_change): Map across indirect buffers here.
4298         (prepare_to_modify_buffer): ...and here.
4299
4300 1998-09-09  Hrvoje Niksic  <hniksic@srce.hr>
4301
4302         * insdel.c (signal_after_change): Add return value.
4303         (buffer_insert_string_1): Use it.
4304         (buffer_delete_range): Ditto.
4305         (buffer_replace_char): Ditto.
4306         (cancel_multiple_change): Map the indirect buffers.
4307
4308 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
4309
4310         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4311         (uninit_buffer_text): Ditto.
4312
4313         * buffer.c (Fmake_indirect_buffer): Implement stricter
4314         error-checking.
4315
4316 1998-09-04  Hrvoje Niksic  <hniksic@srce.hr>
4317
4318         * insdel.c (change_function_restore): Reverse order of
4319         function-call and assignment.
4320         (first_change_hook_restore): Ditto.
4321
4322         * extents.c (mark_extent_auxiliary): Mark them.
4323         (Fset_extent_property): Set them.
4324         (Fextent_property): Get them.
4325         (Fextent_properties): Ditto.
4326         (vars_of_extents): Set their default.
4327
4328         * extents.h (struct extent_auxiliary): Add before_change_functions
4329         and after_change_functions.
4330
4331         * insdel.c (signal_before_change): Use it.
4332         (signal_after_change): Ditto.
4333
4334         * extents.c (report_extent_modification): New function.
4335
4336         * insdel.c (signal_before_change): Don't check for Armageddon.
4337         (signal_after_change): Ditto.
4338
4339 1998-09-11  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4340
4341         * redisplay.c (redisplay_window): make sure a new starting point
4342         is chosen if it somehow got moved from the beginning of the line
4343         -- this can happen because Fwiden was called recently.
4344
4345         * window.c (Fset_window_start): set start_at_line_beg correctly
4346         (Fset_window_buffer): Ditto
4347
4348 1998-09-06  Hrvoje Niksic  <hniksic@srce.hr>
4349
4350         * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4351         (uninit_buffer_text): Ditto.
4352
4353         * buffer.c (Fmake_indirect_buffer): Implement stricter
4354         error-checking.
4355
4356 1998-05-14  Jan Vroonhof  <vroonhof@math.ethz.ch>
4357
4358         * emacs.c (main_1): Removed references to *vars_of_filelock.
4359
4360         * lisp.h: Added Fsystem_name.
4361
4362         * filelock.c: Replaced by version from FSF 20.2. Now implements
4363         locking by using symlinks which is NFS safe. However keep the
4364         GCPRO's in lock_file and the calls to callx_in_buffer like our old
4365         version (and of course use ansi C, acessor macros, etc).
4366
4367 1998-09-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
4368
4369         * process-unix.c (unix_create_process): Reset SIGHUP handler to
4370         SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4371         in init_signals_very_early. However these should not be passed
4372         on to children attached to the new pty.
4373
4374 1998-08-28  Andy Piper  <andyp@parallax.co.uk>
4375
4376         * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4377
4378 1998-09-07  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4379
4380         * fileio.c (file-name-directory, file_name_as_directory):
4381           Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4382
4383 1998-09-02  Andy Piper  <andyp@parallax.co.uk>
4384
4385         * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4386
4387         * ralloc.c: uncomment __morecore.
4388
4389 1998-09-92  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4390
4391         * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4392           WriteFile() to fix a winsock 1.x bug on Win95.
4393
4394 1998-08-28  Hrvoje Niksic  <hniksic@srce.hr>
4395
4396         * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4397         deleted.
4398         (x_event_to_emacs_event): Ditto.
4399         (emacs_Xt_handle_focus_event): Ditto.
4400         (emacs_Xt_handle_magic_event): Ditto.
4401
4402         * console-x.h (struct x_device): New flag being_deleted.
4403         (DEVICE_X_BEING_DELETED): New macro.
4404
4405         * device-x.c (x_IO_error_handler): Throw to top-level instead of
4406         returning.  Before doing that, set the being_deleted flag on the
4407         device.
4408
4409 1998-08-27  Hrvoje Niksic  <hniksic@srce.hr>
4410
4411         * device-x.c (x-seppuku-on-epipe): Removed.
4412
4413 1998-08-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4414
4415         * frame-x.c (x_delete_frame): Flush the X output buffer after
4416         calling XtDestroyWidget to ensure that the windows are really
4417         killed right now.
4418
4419 1998-08-26  Hrvoje Niksic  <hniksic@srce.hr>
4420
4421         * menubar-x.c (my_run_hook): New unused function.
4422         (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4423         since we ignore the results of the contained functions anyway.
4424
4425 1998-08-26  P. E. Jareth Hein  <jareth@camelot.co.jp>
4426
4427         * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4428         interlaced GIF files that are smaller than 4 lines high...
4429
4430 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4431
4432         * buffer.c (map_over_sharing_buffers): Deleted.
4433
4434         * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4435
4436         * buffer.c (Fkill_buffer): Keep indirect_children updated while
4437         killing them.
4438
4439 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4440
4441         * insdel.c (buffer_insert_string_1): Advance the point bytind in
4442         all the buffers.
4443         (buffer_delete_range): Ditto.
4444
4445         * marker.c (init_buffer_markers): Set point-marker to the value of
4446         point in an indirect buffer.
4447
4448 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
4449
4450         * undo.c (undo_prelude): Test last-undo-buffer against base
4451         buffer.
4452
4453         * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4454
4455         * buffer.h (BUFFER_BASE_BUFFER): New macro.
4456
4457 1998-08-30  Hrvoje Niksic  <hniksic@srce.hr>
4458
4459         * insdel.c (init_buffer_text): Initialize it here.
4460
4461         * line-number.c: Address line_number_cache through buffer->text.
4462
4463         * buffer.c (mark_buffer): Mark line number cache.
4464
4465         * bufslots.h (line_number_cache): Move to struct buffer_text.
4466
4467         * insdel.c (buffer_insert_string_1): Propagate signals and changes
4468         across the children buffers.
4469         (buffer_delete_range): Ditto.
4470         (buffer_replace_char): Ditto.
4471         (gap_left): Ditto.
4472         (gap_right): Ditto.
4473
4474         * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4475
4476         * buffer.c (Fmake_indirect_buffer): Uncomment.
4477
4478 1998-08-31  Hrvoje Niksic  <hniksic@srce.hr>
4479
4480         * macros.c (Fend_kbd_macro): Remove trailing period from error
4481         message.
4482         (Fexecute_kbd_macro): Ditto.
4483
4484 1998-08-21  Greg Klanderman  <greg@alphatech.com>
4485
4486         * dired.c (Fuser_name_completion): remove optional 2nd argument.
4487         (Fuser_name_completion_1): new function to return uniqueness
4488         indication in addition to the user name completion.
4489         (user_name_completion): change type of `uniq' argument.
4490
4491 1998-08-19  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4492
4493         * lread.c (vars_of_lread): Removed `source-directory' variable.
4494
4495 1998-08-22  Hrvoje Niksic  <hniksic@srce.hr>
4496
4497         * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4498         Cygwin.
4499
4500 1998-08-19  SL Baur  <steve@altair.xemacs.org>
4501
4502         * dired.c (vars_of_dired): Fix misapplied patch.
4503
4504 1998-08-16  Martin Buchholz  <martin@xemacs.org>
4505
4506         * fns.c (Fremrassq, remrassq_no_quit):
4507         A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4508
4509 1998-07-17  Didier Verna  <verna@inf.enst.fr>
4510
4511         * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4512         style as foreground GC for faces that have the `dim' property.
4513         (x_output_string): when the `dim' face property is set,
4514         ensure the gray pixmap has been created, and get a proper
4515         foreground GC to draw the text.
4516
4517 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4518
4519         * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4520           Manually track the state of the left and right Ctrl and Alt
4521           modifiers.
4522
4523 1998-08-07 Matt Stupple <matts@tibco.com>
4524
4525         * ntproc.c: don't wait on char_consumed at thread entry.
4526         Additionally, to get the 'process' marked as finished, ensure
4527         that the CHILD_ACTIVE macro returns false, so before exiting
4528         close char_avail and set it to NULL, and close other handles
4529         to reduce handle leak problems.
4530
4531 1998-08-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4532
4533         * menubar-msw.c (displayable_menu_item): take account of menu
4534           depth when deciding whether to try to display accelerators.
4535
4536 1998-08-04  Andy Piper  <andyp@parallax.co.uk>
4537
4538         * event-msw.c: use MsgWaitForMultipleObjects if there are no
4539         subprocesses.
4540
4541         * glyphs-msw.c: fix a couple of potential handle leaks.
4542
4543 1998-08-04  P. E. Jareth Hein  <jareth@camelot.co.jp>
4544
4545         * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4546           *decoding ONLY* back into the core.
4547         * glyphs-eimage.c: Change referenced header file for GIF
4548           reading to point to the incore version.
4549
4550 1998-07-20  Martin Buchholz  <martin@xemacs.org>
4551
4552         * casefiddle.c (casify_object):
4553         Change algorithm from O(N**2) to O(N).
4554         Code cleanup.
4555         Doc string cleanup.
4556
4557 1998-07-22  Greg Klanderman  <greg@alphatech.com>
4558
4559         * dired.c (file_name_completion_unwind): don't leak the cons.
4560
4561 1998-07-20  Greg Klanderman  <greg@alphatech.com>
4562
4563         * dired.c (Fuser_name_completion): new function.
4564         (Fuser_name_all_completions): new function.
4565         (user_name_completion): new function.
4566         (syms_of_dired): 2 new DEFSUBRs.
4567         (vars_of_dired): initialize user name cache vars.
4568
4569 1998-07-29  P. E. Jareth Hein  <jareth@camelot.co.jp>
4570
4571         * glyphs-eimage.c (png_instantiate): Add proper handling for background
4572         colors taken from the default face.  Also correct a thinko in
4573         transparency (not alpha) handling.
4574
4575 1998-07-23  Martin Buchholz  <martin@xemacs.org>
4576
4577         * s/decosf4-0.h:  Use a perfectly ordinary link.  Nuke BSD crap.
4578         * unexalpha.c: ANSI C-ize.  Clean compiler warnings.
4579         * lread.c (Fload_internal):  Be very careful with printfs of
4580         size_t's
4581         * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4582         argument.
4583
4584 1998-07-27  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4585
4586         * callint.c (Fcall_interactively): GCPRO prompt string before
4587         passing it to Fread_key_sequence
4588
4589 1998-07-27  SL Baur  <steve@altair.xemacs.org>
4590
4591         * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4592         Vvertical_divider_map.
4593
4594         * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4595         Qnil or 0, none were initialized prior to this change.
4596
4597         Rename misnamed `V' prefixed integer variables:
4598         Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4599         Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4600         Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4601         Vcanna_ichiran_revLen.
4602
4603         Rename misnamed `V' prefixed integer variables and initialize
4604         properly in the vars_of routine.
4605         Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4606         Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4607         Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4608         Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4609         Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4610         Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4611         Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4612         Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4613         Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4614         Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4615         Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4616         Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4617         Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4618         Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4619         Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4620         Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4621         Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4622         Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4623         Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4624         Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4625         Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4626         Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4627         Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4628         Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4629         Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4630         Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4631         Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4632         Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4633         Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4634         Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4635         Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4636         Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4637         Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4638         Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4639         Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4640         Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4641         Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4642         Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4643         Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4644         Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4645         Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4646         Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4647         Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4648         Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4649         Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4650         Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4651
4652 1998-07-16  Jan Vroonhof  <vroonhof@math.ethz.ch>
4653
4654         * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4655         (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4656         keys thus no longer considering all keysyms on a key.
4657
4658 1998-07-19  SL Baur  <steve@altair.xemacs.org>
4659
4660         * XEmacs 21.2-beta1 is released.
4661
4662 1998-07-12  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4663
4664         * eldap.c (Fldap_search_internal): When converting the list of
4665         attributes to search Copy the final 0 from Lisp strings to C
4666         strings.
4667         Check base, not Vldap_default_base as a a string
4668
4669 1998-07-13  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4670
4671         * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4672
4673         * unexnt.c: Unconditionally define bss_start and bss_size, and
4674           ensure that they don't go in the .bss section.
4675
4676 1998-07-17  Olivier Galibert  <galibert@pobox.com>
4677
4678         * glyphs-x.c (convert_EImage_to_XImage):  Fix previous patch (conv
4679         byte order is dependant  of  the local  byte order).
4680         From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4681
4682 1998-07-18  SL Baur  <steve@altair.xemacs.org>
4683
4684         * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4685         Qmswindows_resource.
4686         From Jonathan Harris <jhar@tardis.ed.ac.uk>
4687
4688 1998-07-12  SL Baur  <steve@altair.xemacs.org>
4689
4690         * general.c (syms_of_general): Add defsymbol for Qresource.
4691
4692         * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4693         Qmswindows_resource.
4694         (TopLevel): Rename 'resource image format to 'mswindows_resource.
4695         (mswindows_resource_validate): Rename.
4696         (mswindows_resource_normalize): Rename.
4697         (mswindows_resource_possible_dest_types): Rename.
4698         (mswindows_resource_instantiate): Rename.
4699         (image_instantiator_format_create_glyphs_mswindows): Replace
4700         `resource' with `mswindows.resource'.
4701
4702         * XEmacs 21.0-pre5 is released.
4703
4704 1998-07-10  SL Baur  <steve@altair.xemacs.org>
4705
4706         * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4707         server type in environment.
4708         Use alloca-ed strings instead of tiny fixed size ones.
4709
4710 1998-07-09  SL Baur  <steve@altair.xemacs.org>
4711
4712         * XEmacs 21.0-pre4 is released.
4713
4714 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
4715
4716         * fileio.c: (expand_file_name): under win32: Don't treat names
4717         as UNC names if a drive letter has been specified.  If a drive
4718         has been specified, strip out extra directory-seperators that
4719         reportedly cause problems under Win95.
4720
4721 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4722
4723         * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4724           MSVC >= 5.0. Put emacs init and zero-init data in a special
4725           section of the executable when this is defined.
4726
4727         * unexnt.c, ntheap.h:
4728           Removed unused find_section() and get_section_size().
4729
4730         * unexnt.c:
4731           Fix up the executable's checksum after dumping otherwise the
4732           profiler complains.
4733           When DUMP_SEPARATE_SECTION is defined, don't need to dump
4734           zero-init data separately from init data. Dump emacs data
4735           into a special section of the executable.
4736           When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4737           my_ebss instead of up to the end of bss.
4738
4739 1998-07-09  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4740
4741         * filelock.c: Removed Vconfigure_lock_directory - already
4742           defined in emacs.c.
4743
4744         * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4745           defined in frame.c and general.c respectively.
4746
4747         * glyphs-msw.c: Removed Qresource - already defined in
4748           general.c.
4749
4750 1998-07-05  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
4751
4752         * eldap.c (Fldap_search_internal): Docstring fixes
4753
4754 1998-07-04  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4755
4756         * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4757           EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4758           EMACSPACKAGEPATH and INFOPATH variables.
4759           Removed unused get_emacs_configuration function.
4760
4761         * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4762           it is now defined at build-time by the makefile.
4763
4764 1998-07-01  James N. Potts  <jnpotts@plutonium.net>
4765
4766         * fileio.c: (expand_file_name): under win32: Don't treat names as
4767         UNC names if a drive letter has been specified.  If a drive has
4768         been specified, strip out extra directory-seperators that
4769         reportedly cause problems under Win95.
4770
4771 1998-07-05  Andy Piper  <andyp@parallax.co.uk>
4772
4773         * faces.c (complex_vars_of_faces): for the gui-element face don't
4774         fallback to the default face, instead provide reasonable default
4775         fallbacks that were previously hardcoded elsewhere.
4776
4777 1998-07-06  Olivier Galibert  <galibert@pobox.com>
4778
4779         * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4780         when the X server endianness is different than the client's one.
4781
4782 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
4783
4784         * eval.c (run_hook_with_args_in_buffer): Check
4785           default (non-buffer-local) value of hook for
4786           nil before treating it as a function.  Don't initialize
4787           the `globals' variable twice.
4788
4789 1998-06-24  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4790
4791         * fileio.c: Don't do directory seperator canonicalisation in
4792           substitute-in-file-name because we don't know that the
4793           filename refers to a local file.
4794
4795 1998-06-24  Adrian Aichner  <aichner@ecf.teradyne.com>
4796
4797         * process-nt.c (nt_create_process): Try appending the standard
4798           executable file extensions to the filename if none supplied.
4799
4800 1998-06-29  SL Baur  <steve@altair.xemacs.org>
4801
4802         * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4803         for cygwin32.
4804         From Keisuke Mori <ksk@ntts.com>
4805
4806 1998-06-24  Andy Piper  <andyp@parallax.co.uk>
4807
4808         * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4809         images if we have masks. This handles the xbm case (have masks)
4810         and avoids overuse of resources in the xpm case (generally no masks).
4811         Don't output small toolbars.
4812
4813 1998-06-29  Kyle Jones  <kyle_jones@wonderworks.com>
4814
4815         * eval.c (run_hook_with_args_in_buffer): Don't treat
4816           the default value of a buffer local hook as a list of
4817           hooks unless it is both a cons and the car of that cons
4818           is not Qlambda.
4819
4820 1998-06-29  SL Baur  <steve@altair.xemacs.org>
4821
4822         * extents.c: Email address for Ben Wing is ben@xemacs.org.
4823         * process-unix.c: Ditto.
4824         * mule-coding.h: Ditto.
4825         * mule-coding.c: Ditto.
4826         * mule-charset.c: Ditto.
4827         * mule-charset.h: Ditto.
4828         * file-coding.c: Ditto.
4829         * file-coding.h: Ditto.
4830
4831 1998-06-22  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4832
4833         * event-msw.c: Guard against recursion when freeing
4834           FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4835
4836         * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4837           Call ShowWindow twice in init_frame_3 to get round runemacs
4838           weirdness.
4839
4840 1998-06-27  Hrvoje Niksic  <hniksic@srce.hr>
4841
4842         * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4843
4844         * winslots.h: Rename.
4845
4846         * window.c (specifier_vars_of_window): Renamed
4847         vertical-divider-draggable-p to vertical-divider-always-visible-p,
4848         as suggested by Ben Wing.
4849         (specifier_vars_of_window): Fix docstrings.
4850
4851 1998-06-22  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4852
4853         * unexaix.c: Line number information works correctly again.
4854
4855 1998-06-22  Olivier Galibert  <galibert@pobox.com>
4856
4857         * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4858
4859 1998-06-21  Martin Buchholz  <martin@xemacs.org>
4860
4861         * editfns.c (get_home_directory): ANSIfy.
4862         XEmacs is compilable under C *and* C++.
4863         It's XEmacs, not Xemacs!
4864
4865 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4866
4867         * console-msw.h: added a list of fonts to device data.
4868
4869         * device-msw.c: enumerate list of available fonts in
4870           mswindows_init_device. Free list in mswindows_delete_device.
4871
4872         * objects-msw.c: Added helper function match_font used by
4873           mswindows_initialize_font_instance and mswindows_list_fonts.
4874           Allow a charset to be specified in a font string, even if
4875           previous fields havn't been specified.
4876
4877 1998-06-23  Greg Klanderman  <greg@alphatech.com>
4878
4879         * indent.c (column_at_point): column cache bugfix.
4880         Set last_known_column_point to the buffer position for
4881         which the column was requested, not buffer's point.
4882
4883         * redisplay.c (decode_mode_spec): for current-column, show
4884         window's point's column, not buffer's point's column.
4885
4886 1998-06-23  Andy Piper  <andyp@parallax.co.uk>
4887
4888         * menubar-msw.c (mswindows_handle_wm_command): use
4889         enqueue_misc_user event rather than
4890         mswindows_enqueue_msic_user_event to fix customize problems. Add some
4891         checks that X does.
4892
4893         * console-msw.h: declare mswindows_enqueue_magic_event.
4894
4895         * event-msw.c (mswindows_enqueue_magic_event): make global.
4896
4897 1998-06-24  Hrvoje Niksic  <hniksic@srce.hr>
4898
4899         * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4900         (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4901         (add_position_to_cache): Use EMACS_INT instead of int.
4902
4903 1998-06-21  Olivier Galibert  <galibert@pobox.com>
4904
4905         * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4906         suitable for an int used as a boolean (btw, C sucks.).
4907
4908 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
4909
4910         * object-msw.c: remove warnings.
4911
4912         * device-msw.c: #define wrongly named cygwin structure elements.
4913
4914         * s/cygwin32.h: define DEMI_BOLD
4915
4916 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4917
4918         * redisplay-msw.c: new function mswindows_apply_face_effects.
4919           This is called by output_string and output_cursor to display
4920           underline and strikeout on faces.
4921
4922 1998-06-19  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4923
4924         * console-msw.h: added a list of fonts to device data.
4925
4926         * device-msw.c: enumerate list of available fonts in
4927           mswindows_init_device. Free list in mswindows_delete_device.
4928
4929         * objects-msw.c: Added helper function match_font used by
4930           mswindows_initialize_font_instance and mswindows_list_fonts.
4931           Allow a charset to be specified in a font string, even if
4932           previous fields havn't been specified.
4933
4934 1998-06-15  Jonathan Harris  <jhar@tardis.ed.ac.uk>
4935
4936         * objects-msw.c:
4937           Removed compilation warnings from mswindows_string_to_color.
4938           mswindows_list_fonts returns a more general bogus font.
4939           New lisp-visible function mswindows-color-list.
4940
4941 1998-06-19  David Bush <david.bush@adn.alcatel.com>
4942
4943         * editfns.c (Fuser_login_name): Modify to user new function
4944         user_login_name.
4945         (user_login_name): C only function to avoid Lisp object overhead
4946         Returns "unknown" instead of nil in Cygwin environment
4947
4948         * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4949         equivalent for current user in Cygwin environment. Use new
4950         function user_login_name to get username.
4951
4952         * lisp.h: Declare user_login_name
4953
4954 1998-06-18  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
4955
4956         * unexaix.c (make_hdr): Fixed bias computations so debugging info
4957         works again.
4958         Some other insignificant nitpicks.
4959
4960 1998-06-18  Andy Piper  <andyp@parallax.co.uk>
4961
4962         * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4963         creating the image list and make sure he bk color is transparent.
4964
4965 1998-06-18  Jan Vroonhof  <vroonhof@math.ethz.ch>
4966
4967         * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4968         completed_timeouts. The timer could have expired.
4969
4970 1998-06-17  Andy Piper  <andyp@parallax.co.uk>
4971
4972         * console-msw.h: move XEMACS_RECT_WH inside frame
4973         parameters. define macors to access it.
4974
4975         * frame-msw.c (mswindows_init_frame_1): use new target_rect
4976         parameter to intialise desired sizing. (mswindows_init_frame_2):
4977         enable and size the frame to something sensible when we get
4978         here. (mswindows_set_frame_properites): use new
4979         mswindows_size_frame_internal function and size frame if frame
4980         parameters not just if init is finished - WM_SIZE happens too
4981         early for some specs. (mswindows_size_frame_internal): new
4982         function abstracted from mswindows_set_frame_properties.
4983         (Vmswindows_use_system_frame_size_defaults):
4984         new variable controls whether to allow the system to pick frame
4985         size defaults, defaults to nil.
4986
4987         * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4988         than duplicated code.
4989
4990 1998-06-15  Colin Rafferty <colin@xemacs.org>
4991
4992         * Makefile.in.in: Made EXTW_LINK expand properly.
4993
4994 1998-06-12  Martin Buchholz  <martin@xemacs.org>
4995
4996         * redisplay.c (vars_of_redisplay): default value of
4997         column-number-start-at-one should be NIL!
4998
4999 1998-06-11  Martin Buchholz  <martin@xemacs.org>
5000
5001         * casefiddle.c:
5002         (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5003
5004 1998-06-05  Hrvoje Niksic  <hniksic@srce.hr>
5005
5006         * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5007         build_string to avoid crashes under Mule.
5008
5009 1998-06-13  Andy Piper  <andyp@parallax.co.uk>
5010
5011         * ntplay.c (play_sound_data_1): don't delete the sound data until
5012         the next sound is played and the previous one finished.
5013
5014 1998-06-10  Samuel Mikes  <smikes@alumni.hmc.edu>
5015
5016         * fileio.c (directory-sep-char): Escape backslashes.
5017
5018 1998-06-10  Hrvoje Niksic  <hniksic@srce.hr>
5019
5020         * event-stream.c: Fix docstring reference.
5021
5022 1998-06-12  Hrvoje Niksic  <hniksic@srce.hr>
5023
5024         * alloc.c (make_float): Remove useless initialization of `next'
5025         field.
5026         (make_pure_float): Ditto.
5027
5028         * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5029
5030 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
5031
5032         * fileio.c (Fmake_directory_internal): Remove conditionals
5033         on WINDOWSNT when calling mkdir.
5034
5035         * ntproc.c: Deleted the following unused functions:
5036         register_child, reap_subprocess, sys_wait.
5037
5038         * nt.c (sys_rename): Ifzeroed this implementation.
5039         Deleted the following unused functions:
5040         sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5041         sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5042         sys_read, sys_write.
5043         Merger sys_fopen and sys_open with sysdep.c implementation.
5044
5045         * sysdep.c: Removed MS-DOS code.
5046         (sys_rename): Deal with Microsoft rename weirdness.
5047         (sys_open): Implemented for Windows.
5048         (sys_fopen): Ditto.
5049         (sys_mkdir): Ditto.
5050
5051 1998-06-08  Kirill M. Katsnelson  <kkm@kis.ru>
5052
5053         * buffer.c (complex_vars_of_buffer): Removed %t description from
5054         the docstring.
5055
5056 1998-06-04  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
5057
5058         * scrollbar-msw.c: initialize the cbSize element of the
5059         SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5060         to ignore the value of cbSize, but Win95 (and I presume Win98)
5061         appear to want it set to sizeof(SCROLLINFO).
5062
5063 1998-06-04  Kirill M. Katsnelson  <kkm@kis.ru>
5064
5065         * event-stream.c: Defined Qcancel_mode_internal.
5066         (syms_of_event_stream): defsymbol'ed it.
5067
5068         * events.h: Externed it.
5069
5070         * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5071
5072 1998-06-04  Oliver Graf <ograf@fga.de>
5073
5074         * frame-x.c (x_cde_destroy_callback): free the data
5075         (cde-start-drag-internal) corrected root position, 21.1 needs this
5076         hardcoded in Button events
5077         (offix-start-drag-internal) corrected root position
5078
5079 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
5080
5081         * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5082         instead of error().
5083
5084 1998-06-03  Kirill M. Katsnelson  <kkm@kis.ru>
5085
5086         * dialog-msw.c (button_width): Removed `inline' from the function
5087         declaration.
5088
5089 1998-06-03  Rick Rankin  <Rick_Rankin-P15254@email.mot.com>
5090
5091         * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5092         Note that adding this flag to subsequent frames causes problems.
5093
5094 1998-06-03  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5095
5096         * glyphs-eimage.c (png_instantiate) move 'struct
5097         png_memory_storage tbr' out of nested block to avoid dangling
5098         reference
5099
5100 1998-06-02  Andy Piper  <andyp@parallax.co.uk>
5101
5102         * faces.h:
5103         * faces.c: rename 3d-object -> gui-element. add toolbar face which
5104         inherits from gui-element.
5105
5106         * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5107         with existing code, generate masks correctly.
5108
5109 1998-06-03  P. E. Jareth Hein  <jareth@camelot-soft.com>
5110
5111         * glyphs-eimage.c: Changed included header for gifs to use
5112         Gifreader instead of giflib.
5113
5114         * glyphs-x.c: removed the image-related functions that were
5115         moved into glyphs-eimage.
5116
5117 1998-06-02  David Bush  <david.bush@adnb.alcatel.com>
5118
5119         * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5120         if built without X Windows support.
5121
5122 1998-06-02  Hrvoje Niksic  <hniksic@srce.hr>
5123
5124         * fns.c (Fconcat): Synch docstring with new reality.
5125
5126 1998-06-03  SL Baur  <steve@altair.xemacs.org>
5127
5128         * frame.c: Remove reference to msdos.h (which is going away).
5129         Suggested by Hrvoje Niksic and Kirill Katsnelson.
5130
5131 1998-06-02  P. E. Jareth Hein  <jareth@camelot-soft.com>
5132
5133         * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5134         grayscale images/
5135
5136
5137 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5138
5139         * events.h: Fixed commentary about misc-user scrollbar events.
5140
5141         * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5142         object as an event channel, instead of window object.
5143         (x_update_horizontal_scrollbar_callback): Ditto.
5144
5145 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
5146
5147         * ntplay.c (play_sound_data_1) new function. convert alloca data
5148         to malloc if necessary.
5149         (play_sound_file): if the file is not in our path then convert to
5150         data and play.
5151
5152 1998-06-01  SL Baur  <steve@altair.xemacs.org>
5153
5154         * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5155         * msdos.c (Frecent_doskeys): Ditto.
5156
5157         * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5158         Suggested by Reggie Perry <perry@zso.dec.com>
5159
5160         * buffer.h: Eliminate size in declaration.
5161
5162 1998-06-01  Olivier Galibert  <galibert@pobox.com>
5163
5164         * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5165
5166 1998-06-01  Kirill M. Katsnelson  <kkm@kis.ru>
5167
5168         * gui.c (gui_item_init): Changed the default value for config member
5169         from Qunbound to Qnil.
5170
5171 1998-06-01  Greg Klanderman  <greg@alphatech.com>
5172
5173         * indent.c (vmotion_pixels): Don't #define abs().
5174
5175 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5176
5177         * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5178         respectively.
5179
5180 1998-05-30  Andy Piper  <andyp@parallax.co.uk>
5181
5182         * glyphs.h: add xbm declarations.
5183
5184         * console.h: add xbm_instantiate_method device method.
5185
5186         * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5187         (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5188         (xbm_possible_dest_types): moved here from glyphs-x.c. use
5189         locate_pixmap_file device method and read_bitmap_data_from_file
5190         instead of XmuReadBitmapDataFromFile.
5191         (xbm_instatntiate): make a device method.
5192
5193         * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5194         new function that just calls XmuReadBitmapDataFromFile.
5195         (x_xbm_instatntiate): device method from xbm_instantiate.
5196
5197         * glyphs-msw.c (read_bitmap_data) (NextInt)
5198         (read_bitmap_data_from_file): new functions copied from Xmu
5199         sources.
5200         (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5201         inline data to an mswindows bitmap.
5202         (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5203         (mswindows_xbm_instantiate): mswindows-ized versions of the X
5204         functions.
5205
5206 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5207
5208         * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5209         `modeline-visible-p'.
5210         Declared specifier lisp variables at the beginning oh the file
5211         as static.
5212
5213         * procimpl.h (struct process_methods): Changed semantics of
5214         create_process method so it accepts lisp strings instead of
5215         char pointers.
5216
5217         * process.c (Fstart_process_internal): Moved building of
5218         unix style argv from here to process-unix.c, ...
5219
5220         * process-unix.c (unix_create_process): ... right here.
5221
5222         * process-nt.c (nt_create_process): Changed this function to
5223         support new semantics, so avoided a GC problem.
5224
5225         * events.c (Fmake_event): Document misc-user events properties.
5226         (Fmake_event): Do not allow arbitrary objects for channel property
5227         of misc-user events.
5228         (Fmake_event): Change misc-user event validation: it is function
5229         which is required, not button.
5230
5231         * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5232         user events.
5233         (mswindows_enqueue_misc_user_event): Added function.
5234         (mswindows_bump_queue): Removed function.
5235         (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5236         (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5237         (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5238         (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5239         really nothing, which is my personal favorite thing.
5240
5241         * console-msw.h: Removed prototype for mswindows_bump_queue().
5242         Added prototype for mswindows_enqueue_misc_user_event().
5243
5244         * menubar-msw.c (mswindows_handle_wm_command): Use
5245         mswindows_enqueue_misc_user_event().
5246
5247         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5248
5249         * dialog-msw.c (dialog_proc): Ditto.
5250
5251         * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5252          (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5253         user events channel.
5254
5255 1998-05-29  Greg Klanderman  <greg@alphatech.com>
5256
5257         * window.c (Fwindow_displayed_text_pixel_height): was relying on
5258         incorrect semantics of vmotion_pixels which has been fixed.  don't
5259         use it anymore as it can't easily be used.
5260
5261         * indent.c (vmotion_pixels): fix off by one bug moving up.  also
5262         the motion was reported incorrectly if you tried to go past end of
5263         buffer.
5264
5265 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5266
5267         * toolbar.h: Removed misleading commentary, as Martin suggested.
5268
5269 1998-05-30  Kirill M. Katsnelson  <kkm@kis.ru>
5270
5271         * lisp.h: Extern Qactivate_menubar_hook.
5272
5273         * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5274         run_hook ().
5275
5276 1998-05-29  Andy Piper  <andyp@parallax.co.uk>
5277
5278         * glyphs-msw.c: use BPLINE macro.
5279
5280         * select-msw.c (mswindows-selection-exists-p)
5281         (mswindows-delete-selection): doc string fixes.
5282
5283         * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5284         unpressable. warning elimination.
5285
5286 1998-05-28  Martin Buchholz  <martin@xemacs.org>
5287
5288         * alloc.c (dbg_constants):
5289         * dbxrc:
5290         * gdbinit:
5291         Remove toolbar_data debugging code, since that lrecord has
5292         also been removed.
5293
5294 Wed May 27, 1998  Darryl Okahata  <darrylo@sr.hp.com>
5295
5296         * alloc.c: zap cached value of (user-home-directory), so that
5297           it's not undumped.
5298
5299         * buffer.c: From init_buffer(), separated out code that
5300           determined the initial directory for the *scratch* buffer, and
5301           put them into a function called "init_initial_directory()".
5302           The initial directory is now available as a global "char *"
5303           called initial_directory.
5304
5305         * buffer.h: Added extern entries for initial_directory[] and
5306           init_initial_directory().
5307
5308         * editfns.c: added new elisp function "user-home-directory",
5309         which basically returns getenv("HOME"), but attempts to use
5310         other values if $HOME isn't set.This may have to be tweaked in
5311         the future as, under Unix, "/" is used if $HOME isn't set (this
5312         probably should be set to the current directory).  To support
5313         this, a new C function, "get_home_directory()", now exists,
5314         which returns the "home directory", as a "char *" string.
5315
5316         * emacs.c: Rearrange NT initialization order so that
5317         environment/registry variables will be properly entered into
5318         Vprocess_enviroment.
5319
5320         * fileio.c: replaced egetenv("HOME") with calls to the new
5321           get_home_directory().
5322
5323         * lisp.h: Added function prototypes for uncache_home_directory()
5324           and get_home_directory(), along with lisp prototypes for
5325           Fuser_home_directory() and friends.
5326
5327         * nt.c: replaced getenv("HOME") with calls to the new
5328           get_home_directory().
5329
5330         * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5331           warnings about getcwd(), etc. not having prototypes.
5332
5333 1998-05-28  Kirill M. Katsnelson  <kkm@kis.ru>
5334
5335         * process-nt.c (send_signal): Emulate SIGHUP.
5336         (validate_signal_number): Ditto.
5337
5338         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5339         remove MOD_SHIFT from ASCII characters.
5340         (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5341         F10 is pressed.
5342
5343 1998-05-24  Oliver Graf <ograf@fga.de>
5344
5345         * frame-x.c (cde-start-drag-internal): added filename and multi-
5346         data transfers
5347         (x_cde_convert_callback) dito
5348
5349 1998-05-26  Oliver Graf <ograf@fga.de>
5350
5351         * frame-x.c: include event-mod.h also with CDE
5352         (x_cde_convert_callback) made the thing working
5353         (cde-start-drag-internal) also debugging
5354
5355 1998-05-25  Hans Guenter Weigand  <hgweigand@wiesbaden.netsurf.de>
5356
5357         * m/sparc.h:
5358         * getloadavg.c:
5359         * malloc.c:
5360         * unexec.c:
5361         * mem-limits.h:
5362           - add __OpenBSD__ where __NetBSD__ was found.
5363           - TODO: replace platform-specific conditional compilation by
5364             feature tests in configure.in.
5365
5366 1998-05-15  Greg Klanderman  <greg@alphatech.com>
5367
5368         * window.c (Fwindow_displayed_text_pixel_height): New function.
5369         (syms_of_window): DEFSUBR it.
5370
5371         * indent.c (Fvertical_motion_pixels): New function - request
5372         movement in pixels.
5373         (vmotion_pixels): helper.
5374         (syms_of_indent): DEFSUBR.
5375         * lisp.h: declaration for vmotion_pixels().
5376
5377         * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5378         to request returning motion in pixels.
5379         (Fvertical_motion_pixels): Remove, functionality merged into
5380         Fvertical_motion.
5381         * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5382         (Fmove_to_window_line): ditto.
5383         * lisp.h: Change declaration for Fvertical_motion.
5384
5385         * window.c: rename window-text-pixel-{height,width,edges} to
5386         window-text-area-pixel-*.
5387
5388 1998-05-26  Gunnar Evermann  <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5389
5390         * tooltalk.c (vars_of_tooltalk) added staticpro for
5391         Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5392
5393 1998-05-27  Andy Piper  <andyp@parallax.co.uk>
5394
5395         * faces.c: create a new 3d_object_face, make modeline and
5396         vertical_divider faces fallback to this rather than the default.
5397
5398 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
5399
5400         * s/cygwin32.h: define charsets for cygwin.
5401
5402 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
5403
5404         * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5405         and coordinates. resize bitmaps if we have already settled on a
5406         different size.
5407
5408         * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5409
5410 1998-05-25  Hrvoje Niksic  <hniksic@srce.hr>
5411
5412         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5413
5414         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5415
5416         * gui.h: Ditto.
5417
5418         * gui-x.c (popup_selection_callback): Ditto.
5419
5420         * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5421
5422         * gui.c (get_callback): Renamed to get_gui_callback.
5423
5424 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5425
5426         * glyphs.h: order rearrangement.
5427
5428         * device-tty.c (tty_asynch_device_change): Warning suppression.
5429         * device-x.c (x_device_system_metrics): Warning suppression.
5430         Make Doc strings consistent with coding standards.
5431
5432 1998-05-24  Martin Buchholz  <martin@xemacs.org>
5433
5434         * general.c: multiple definition of `Qicon'.  general.c seems
5435           like a good home for Qicon.
5436
5437 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
5438
5439         * This patch is to fix compilation warnings under Windows.
5440
5441         * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5442         Added prototypes for FSF inherited functions, with which XEmacs is
5443         sprinkled thoroughly.
5444         Removed some #if 0 code. Bracketed some more definitions, probably
5445         related to Visual C versions prior to 4 (we do not support them).
5446
5447         * sysfloat.h (logb): Finally, get logb() prototyped.
5448
5449         * sysfile.h: Added Windows specific includes.
5450         Removed old Windows specific code bracketed with #if 0.
5451
5452         * sysdep.h: Added prototype for xrealpath().
5453
5454         * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5455
5456         * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5457         vars_of_dired_mswindows and init_ntproc (Grrr).
5458
5459         * realpath.c: Added Windows specific include files.
5460         (xrealpath): Conditionalized declaration of some auto variables on
5461         S_IFLNK, to avoid warnings.
5462
5463         * ntproc.c: Disabled some compiler warnings. This file is going to
5464         die, so I have not cleaned it up much.
5465         (set_process_dir): Const parameter.
5466         (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5467         (Fwin32_long_file_name): Ditto.
5468         (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5469         three functions?
5470
5471         * nt.h: Added prototypes for set_process_dir and convert_time.
5472
5473         * nt.c: More include files.
5474         (getpwnam): Consted char* argument.
5475         (get_emacs_configuration): Const return value.
5476         (opendir): Const argument.
5477         (stat): Casted converstion long->short.
5478         (stat): Removed ad hoc and questionable support for non-MSC compile.
5479         (sys_pipe): Removed unused auto variable.
5480         (_sys_read_ahead): Removed calls to DebPrint.
5481         (sys_read): Ditto, in 2 places.
5482         (term_ntproc): Added unused int parameter to signal handler, to
5483         avoid a warning when compiling a call to signal().
5484         (msw_sigset): Properly return old signandler or NULL instead of void.
5485
5486         * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5487
5488         * gmalloc.c (morecore): Ditto.
5489         (_free_internal): Ditto.
5490
5491         * lread.c (parse_integer): Ditto.
5492
5493         * dired-msw.c: Added several include files.
5494
5495         * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5496         of Compilers to Shut Up.
5497
5498         * callproc.c: Added #includes to suppress warnings under Windows.
5499         (init_callproc): Removed #if0'ed code and unused variables.
5500
5501 1998-05-25  Andy Piper  <andyp@parallax.co.uk>
5502
5503         * device-msw.c (mswindows_device_system_metrics): do planes in a
5504         way consistent with X.
5505
5506         * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5507         use SetPixel, use DIBits functions.
5508         (xpm_to_eimage): frob colors more closely like xpm deos.
5509
5510         * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5511         to be closer to X version.
5512
5513         * event-msw.c: use tooltip string directly.
5514
5515         * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5516
5517         * objects-msw.c: frob rgb colors that only Kyle uses.
5518
5519         * dialog-msw.c (button_width): INLINE -> inline.
5520
5521 1998-05-23  SL Baur  <steve@altair.xemacs.org>
5522
5523         * getloadavg.c (getloadavg): Fix typo.
5524
5525 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
5526
5527         * objects-msw.c (mswindows_initialize_font_instance): Added support
5528         for font character sets.
5529         Replaced 'XXX' with '####' in comments throughout the file.
5530
5531 1998-05-23  Kirill M. Katsnelson  <kkm@kis.ru>
5532
5533         * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5534         console_type_create_dialog_mswindows(), to initialize Windows dialog
5535         support.
5536
5537         * symsinit.h: Prototyped the above functions.
5538
5539         * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5540         checks to dialog.c...
5541
5542         * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5543         device must support dialog boxes, and the descriptor must supply at
5544         least one button.
5545
5546         * dialog-msw.c: New file, dialogs for Windows.
5547
5548 1998-05-21  Oscar Figueiredo  <Oscar.Figueiredo@di.epfl.ch>
5549
5550         * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5551         (Fldap_search_internal): Removed unused variable `err'
5552
5553         * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5554         forward declaration
5555
5556 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5557
5558         * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5559         defined.  Therefore there is no need to handle the case when
5560         HAVE_LDAP is undefined.  Similarily, there is no reason to have
5561         any code wrapped within `#ifdef emacs', since this code is only
5562         useful within an emacs.  This simplifies the code significantly.
5563
5564         * inline.c: Include eldap.h only if HAVE_LDAP.
5565         * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5566         already does that.
5567
5568 1998-05-21  Kirill M. Katsnelson  <kkm@kis.ru>
5569
5570         * unexnt.c (copy_executable_and_dump_data_section): Suppress
5571         printing dump stats when building without DEBUG_XEMACS.
5572         (dump_bss_and_heap): Ditto.
5573
5574 1998-05-21  Andy Piper  <andyp@parallax.co.uk>
5575
5576         * gnuclient.c: don't suppress window system if there is no display
5577         and we are running under mswindows. send 'mswindows device type if
5578         we are in this situation.
5579
5580 1998-05-20  Andy Piper  <andyp@parallax.co.uk>
5581
5582         * general.c:
5583         * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5584
5585         * glyphs-msw.c: change cursor imgae type name to resource. Fix
5586         some nits.
5587
5588 1998-05-20  Kirill M. Katsnelson  <kkm@kis.ru>
5589
5590         * EmacsFrame.c (Xt_StringToScrollBarPlacement):  Added support for
5591         {top,bottom}-{left,right} values in addition to
5592         {top,bottom}_{left,right}.
5593
5594 1998-05-18  Hrvoje Niksic  <hniksic@srce.hr>
5595
5596         * fileio.c (Fmake_temp_name): Remove unreached code.
5597
5598         * process-nt.c (validate_signal_number): Use
5599         signal_simple_error().
5600
5601 1998-05-19  Martin Buchholz  <martin@xemacs.org>
5602
5603         * unexhp9k800.c:
5604         * sound.c (vars_of_sound):
5605         * sysdep.c (reset_sigio_on_device):
5606         * window.c (window_bottom_gutter_height):
5607         unexhp9k800.c:258: warning: implicit declaration of function
5608         `calculate_checksum'
5609         sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5610         sysdep.c:1012: warning: unused variable `owner'
5611         window.c:993: warning: `window_right_toolbar_width' defined but not used
5612
5613 1998-05-19  Andy Piper  <andyp@parallax.co.uk>
5614
5615         * glyphs-msw.c (mswindows_create_resized_mask)
5616         (mswindows_create_resized_bitmap): new funnctions split out from
5617         mswindows_resize_dibitmap_instance.
5618
5619         * glyphs-msw.h: declare new resize functions.
5620
5621         * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5622         functions so that the original bitmaps are preserved.
5623
5624         * sheap.c: fixup static heap exhausted error to avoid FAQs.
5625
5626         * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5627         color if we are trying to output 0 depth bg pixmap.
5628
5629         * scrollbar-msw.c: warning elimination.
5630
5631 1998-05-18  Martin Buchholz  <martin@xemacs.org>
5632
5633         * frame-x.c (x_update_frame_external_traits): Start preprocessor
5634         directives in column 1.
5635
5636         * search.c (skip_chars): Avoid using xzero with arrays, since some
5637         compilers get confused by the construct &array.
5638
5639 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5640
5641         * objects-msw.h:
5642         * objects-msw.c: Changed the charset value for a new font from
5643         "don't care" to "ansi".
5644
5645         * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5646
5647 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5648
5649         * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5650         modifier on control chars.
5651         Use IsCharAlpha() instead of isaplha().
5652
5653 1998-05-19  Kazuyuki IENAGA <ienaga@jsys.co.jp>
5654
5655         * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5656
5657 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5658
5659         * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5660         charset when creating font.
5661         (mswindows_initialize_color_instance): Do not create brush along
5662         with a color.
5663         (mswindows_finalize_color_instance): Do not delete it then.
5664
5665         * objects-msw.h (struct mswindows_color_instance_data): Removed
5666         brush slot, and corresponding accessor macro.
5667
5668 1998-05-18  Kirill M. Katsnelson  <kkm@kis.ru>
5669
5670         * toolbar.c: Removed toolbar_data lrecord implementation.
5671         (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5672         with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5673         (compute_frame_toolbar_buttons): Ditto.
5674         (CHECK_TOOLBAR): Ditto.
5675         (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5676         (update_frame_toolbars): Do not check for changed buffer
5677         here. Toolbar information is provided by cached specs in
5678         windows. The check for buffer is eliminated becuase toolbars are
5679         marked changed in set_frame_selected_window() in frame.c
5680         Added check for changed toolbars geometry.
5681         (compute_frame_toolbars_data): Removed unused second parameter;
5682         Adjusted callers of this static function throughout the file.
5683         (init_frame_toolbars): Initialize current_toolbar_size.
5684         (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5685         what is its current expansion, for clarity.
5686         (init_frame_toolbars): Ditto.
5687         (init_device_toolbars): Ditto.
5688         (init_global_toolbars): Ditto.
5689
5690         * toolbar.h: Removed definition of toolbar_data lrecord.
5691         Added accessor macros FRAME_TOOLBAR_BUTTONS and
5692         FRAME_CURRENT_TOOLBAR_SIZE.
5693         Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5694
5695         * toolbar-x.c (x_output_toolbar): The same change as in
5696         toolbar-msw.c
5697         (x_output_toolbar): Ditto.
5698         (x_redraw_exposed_toolbar): Ditto.
5699
5700         * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5701         buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5702         (mswindows_output_toolbar): Ditto.
5703         (mswindows_output_toolbar): Ditto.
5704
5705         * frame.c (mark_frame): Removed marking of arrays, according to
5706         frameslots.h change.
5707         (nuke_all_frame_slots): Ditto.
5708         (set_frame_selected_window): Mark toolbars changed when
5709         last_nonminibuf_window changes.
5710
5711         * frame.h (struct frame): Moved some slots to frameslots.h.
5712         Added current_toolbar_size array.
5713         Changed references from toolbar_data to toolbar_buttons in macros
5714         FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5715         FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5716         FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5717
5718         * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5719         Moved arrays of lisp objects here from frame.h: toolbar_size,
5720         toolbar_visible_p, toolbar_border_width.
5721         Removed toolbar_data slot and added toolbar_buttons.
5722
5723 1998-05-17  Kirill M. Katsnelson  <kkm@kis.ru>
5724
5725         * symsinit.h: Externed syms_of_process_nt()
5726
5727         * emacs.c (main_1): Call syms_of_process_nt()
5728
5729         * process-nt.c: Quote process arguments by a call to Lisp function
5730         `nt-quote-process-args'.
5731         (syms_of_process_nt): New function.
5732         (nt_send_process): Flush data stream after each write, to avoid
5733         leaving buffered data.
5734         (nt_send_process): When blocked on process output, wait for
5735         process to slurp more for progressively increasing time intervals.
5736
5737 1998-05-17  Martin Buchholz  <martin@xemacs.org>
5738
5739         * window.c (have_undivided_common_edge): Make file-local function
5740         static.
5741         (map_windows): Return 0 if all map functions successful.
5742         Fix typos.
5743
5744         * winslots.h: Use unlikely names for local variables in macros to
5745         avoid shadowing warnings.
5746
5747 1998-05-17  Andy Piper  <andyp@parallax.co.uk>
5748
5749         * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5750         so that we re-output if the toolbar size has changed.
5751
5752 1998-05-17  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
5753
5754         * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5755
5756         * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5757
5758         * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5759         greater).
5760
5761 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
5762
5763         * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5764         get bitmap manifest constants defined.
5765
5766         * console-msw.h: Include system files in angle brackets, not in
5767         quotes.
5768
5769         * window.c (specifier_vars_of_window): Fixed a typo in
5770         `vertical-divider-line-width' docstirng.
5771
5772 1998-05-16  Olivier Galibert  <galibert@pobox.com>
5773
5774         * line-number.c (delete_invalidate_line_number_cache): Use an
5775         EMACS_INT.
5776         (buffer_line_number): Remove dangerous, plain wrong when using
5777         64bits emacs ints, cast.
5778
5779         * insdel.c (buffer_delete_range): Use an EMACS_INT.
5780
5781         * cmds.c (Fforward_line): Use EMACS_INTs.
5782
5783         * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5784         (scan_buffer): Ditto.
5785         (bi_find_next_newline_no_quit): Remove useless cast.
5786         (find_next_newline_no_quit): Ditto.
5787         (find_next_newline): Ditto.
5788         (find_before_next_newline): Use an EMACS_INT.
5789
5790         * lisp.h: Change scan_buffer to pass EMACS_INTs.
5791
5792 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
5793
5794         * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5795
5796         * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5797
5798         * gui-x.c (popup_selection_callback): Use it.
5799
5800         * gui.h (get_callback): Declare it.
5801
5802         * gui.c (get_callback): New function.
5803
5804 1998-05-15  SL Baur  <steve@altair.xemacs.org>
5805
5806         * window.c (have_undivided_common_edge): Guard scrollbar specific
5807         stuff.
5808         (window_needs_vertical_divider_1): Ditto.
5809
5810 1998-05-16  Hrvoje Niksic  <hniksic@srce.hr>
5811
5812         * emacs.c (decode_path): Eliminate compiler warning.
5813         (Fdecode_path): Renamed to Fsplit_path.
5814         (Fsplit_string_by_char): New function.
5815
5816 1998-05-14  Damon Lipparelli  <lipp@primus.com>
5817
5818         * winslots.h: close comment
5819
5820 1998-05-16  Kirill M. Katsnelson  <kkm@kis.ru>
5821
5822         * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5823
5824         * bufslots.h: Removed buffer_file_type slot.
5825
5826         * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5827         buffer local flags.
5828         (complex_vars_of_buffer): Removed buffer-file-type variable and
5829         its default reference.
5830
5831 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5832
5833         * faces.c (complex_vars_of_faces): Defined
5834         Vvertical_divider_face.
5835         (vars_of_faces): Staticpro it.
5836
5837         * faces.h: Externed Vvertical_divider_face.
5838
5839         * redisplay-x.c (x_output_vertical_divider): Use
5840         Vvertical_divider_face to draw the divider instead of modeline
5841         face.
5842
5843         * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5844         divider face using Vvertical_divider_face background.
5845         Fix drawing spacing gaps around the divider.
5846
5847 1998-05-14  Didier Verna  <verna@inf.enst.fr>
5848
5849         * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5850         values for the vertical divider line width and spacing. Use the
5851         cached values from the window structure instead.
5852         (x_divider_width): ditto.
5853
5854         * window.c (specifier_vars_of_window): new specifiers:
5855         vertical-divier -line-width and -spacing.
5856         (vertical_divider_global_width_changed): formerly known as
5857         vertical_divider_shadow_thickness_changed.
5858
5859         * winslots.h: new slots: vertical_specifier _line_width and
5860         _spacing. Plus corrected a comment typo.
5861
5862 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5863
5864         * window.h: Declared window_divider_width().
5865
5866         * console-stream.c (stream_divider_width): Removed method.
5867         (console_type_create_stream): And declaration for it.
5868
5869         * redisplay.c (pixel_to_glyph_translation): Use
5870         window_divider_width() instead of divider_width redisplay method.
5871         (pixel_to_glyph_translation): Fix top divider edge calculation
5872         when scrollbar is on top.
5873
5874         * window.c (window_divider_width): New function, an outphaser for
5875         divider_width redisplay method.
5876         (window_right_gutter_width): Use it.
5877         (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5878         specifiers, set fallback values differently on TTYs, and document
5879         the behavior of these on TTYs in the docstrings.
5880
5881         * scrollbar.c (update_scrollbar_instance): Use
5882         window_divider_width() instead of divider_width redisplay method.
5883
5884         * console.h (struct console_methods): Removed divider_width_method.
5885
5886         * redisplay-tty.c (tty_divider_width): Removed device method.
5887         (console_type_create_redisplay_tty): Removed definition for it.
5888         (tty_output_vertical_divider): Respect the value returned by
5889         window_divider_width thus divider line width specification.
5890
5891         * redisplay-msw.c (mswindows_divider_width): Removed device method.
5892         (console_type_create_redisplay_mswindows): Removed definition for it.
5893         (mswinodws_output_vertical_divider): Respect the value returned by
5894         window_divider_width thus divider line width specification.
5895
5896 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
5897
5898         * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5899
5900 1998-05-15  Andy Piper  <andyp@parallax.co.uk>
5901
5902         * glyphs-msw.c: resource loading implementation.
5903         (cursor_normalize): new function.
5904         (cursor_validate): ditto.
5905         (cursor_instantiate): ditto.
5906         (cursor_name_to_resource): ditto.
5907         (cursor_possible_dest_types): ditto.
5908         (check_valid_symbol): ditto.
5909         (check_valid_string_or_int): ditto.
5910
5911 1998-05-14  Martin Buchholz  <martin@xemacs.org>
5912
5913         * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5914         VINTR and VQUIT.
5915
5916         * process-unix.c (process_signal_char): Use VSUSP instead of
5917         non-standard VSWTCH.  Always prefer VSUSP to VSWTCH.
5918
5919 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5920
5921         * specifier.c (specifier_instance): Change locale precedence of
5922         instantiation so window locale has higher priority than buffer
5923         locale.
5924         (Fspecifier_instance): Reflect this in docstring.
5925         (Fadd_spec_list_to_specifier): Ditto.
5926         (Fadd_spec_to_specifier): Ditto.
5927         (Fremove_specifier): Ditto.
5928
5929 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5930
5931         ** Dialog separation into a device method from Andy Piper
5932
5933         * emacs.c (main_1): Call console_type_create_dialog_x().
5934
5935         * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5936         into this device method.
5937         (console_type_create_dialog_x): New function.
5938
5939         * dialog.c (Fpopup_dialog_box): New function.
5940         (syms_of_dialog): Defsubr it.
5941
5942         * console.h (struct console_methods): Declared
5943         popup_dialog_box_method().
5944
5945         * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5946
5947 1998-05-14  Oliver Graf <ograf@fga.de>
5948
5949         * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5950         * frame-x.c (x_cde_transfer_callback): checked for merge errors
5951
5952 1998-05-13  Oliver Graf <ograf@fga.de>
5953
5954         * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5955
5956 1998-05-15  Kirill M. Katsnelson  <kkm@kis.ru>
5957
5958         * console.h (device_metrics): Removed dbcs, input-method-editor
5959         and right-to-left metrics.
5960
5961         * device.c (Fdevice_system_metric): Ditto.
5962         (Fdevice_system_metrics): Ditto.
5963         (syms_of_device): Ditto.
5964         (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5965         again.
5966
5967 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
5968
5969         * line-number.h (mark_line_number_cache): Remove unused
5970         declaration.
5971
5972         * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5973         (get_nearest_line_number): Simplify.
5974         (add_position_to_cache): Make the old marker point nowhere.
5975
5976 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5977
5978         ** Renamed window-divider-map => vertical-divider-map
5979         and event-over-divider-p => event-over-vertical-divider-p,
5980         in the following files/functions:
5981         * events.h:
5982         * events.c (Fevent_over_divider_p):
5983         * keymap.c (get_relevant_keymaps):
5984         (vars_of_keymap):
5985
5986         * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5987
5988         * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5989
5990 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
5991
5992         * window.c (vertical_divider_changed_in_window): Renamed so.
5993         (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5994         (window_needs_vertical_divider_1): Decide whether we need it based
5995         on the value of the above specifier. If separators are unwanted,
5996         put them only if there's no scrollbar between this window and its
5997         right neighbor.
5998         (have_undivided_common_edge): New function, helper for the above.
5999         (window_needs_vertical_divider): Return either a cached value,
6000         or clauclate and cache one.
6001         (invalidate_vertical_divider_cache_in_window): Implemented.
6002         (map_windows): Changed return type to int, return the value from
6003         MAPFUN.
6004
6005         * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6006         (struct window): Added need_vertical_divider_p and
6007         need_vertical_divider_valid_p.
6008
6009         * winslots.h: Added vertical_divider_draggable_p slot.
6010
6011         * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6012         (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6013
6014         * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6015
6016         * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6017         invalidate_vertical_divider_cache_in_frame().
6018         Prototype it.
6019
6020 1998-05-14  Andy Piper  <andyp@parallax.co.uk>
6021
6022         * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6023
6024         * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6025         masks correctly and don't select 0.
6026
6027 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
6028
6029         * winslots.h: New file, declaration of some struct window and
6030         struct saved_window members.
6031
6032         * window.h (struct window): Include it, with required preprocessor
6033         magic.
6034
6035         * window.c (mark_window): Ditto.
6036         (allocate_window): Ditto.
6037         (struct saved_window): Ditto.
6038         (mark_window_config): Ditto.
6039         (saved_window_equal): Ditto.
6040         (Fset_window_configuration): Ditto.
6041
6042 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
6043
6044         * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6045
6046 1998-05-12  Didier Verna  <verna@inf.enst.fr>
6047
6048         * redisplay-x.c (x_output_vertical_divider): draw shadows around
6049         the divider line. The shadow thickness is currently
6050         hard-wired. This will probably be turned into a specifier soon.
6051
6052 1998-05-12  Didier Verna  <verna@inf.enst.fr>
6053
6054         * console.h (struct console_methods): the divider_width console
6055         method now requires a struct window * argument.
6056
6057         * redisplay-x.c (x_divider_width): ditto. Plus remove
6058         X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6059         (x_output_vertical_divider): give a depressed look when the shadow
6060         thickness is negative.
6061
6062         * console-stream.c (stream_divider_width): pass a struct window *
6063         argument.
6064
6065         * redisplay-tty.c (tty_divider_width): ditto.
6066
6067         * window.c (window_right_gutter_width): totdi.
6068
6069         * redisplay.c (generate_modeline): ittod.
6070
6071         * scrollbar.c (update_scrollbar_instance): ttido.
6072
6073         * redisplay-msw.c (mswindows_divider_width): ottid.
6074         WARNING: this enables to compile, but the feature is not functional.
6075
6076         * window.h (struct window): new field
6077         vertical_divider_shadow_thickness.
6078
6079         * window.c (specifier_vars_of_window): new specifier
6080         vertical-divider-shadow-thickness.
6081         (vertical_divider_shadow_thickness_changed): new function to
6082         inform redisplay that the window has changed.
6083         (mark_window): handle new field vertical_divider_shadow_thickness
6084         from struct window.
6085         (allocate_window): ditto.
6086         (saved_window_equal): toddi.
6087         (Fset_window_configuration): totid.
6088         (save_window_save): ttdio.
6089         (struct saved_window): new field vertical_divider_shadow_thickness.
6090
6091 1998-05-14  Kirill M. Katsnelson  <kkm@kis.ru>
6092
6093         * device-msw.c (mswindows_device_system_metrics): Support a deluge
6094         of metrics.
6095
6096 1998-05-12  Oliver Graf <ograf@fga.de>
6097
6098         * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6099         * event-Xt.c (x_event_to_emacs_event): C++ compability
6100
6101 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6102
6103         * emacs.c (Fdecode_path): Default SEPCHAR to value of
6104         path-separator.
6105
6106 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6107
6108         * emacs.c (vars_of_emacs): Do it here; change the meaning of
6109         Vpath_separator.
6110
6111         * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6112
6113 1998-05-14  Hrvoje Niksic  <hniksic@srce.hr>
6114
6115         * emacs.c (decode_path_1): New function.
6116         (decode_path): Use it.
6117         (Fdecode_path): Renamed from Fdecode_path_internal; use
6118         decode_path_1.
6119
6120 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
6121
6122         * macros.c (Fzap_last_kbd_macro_event): New function.
6123         (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6124
6125 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
6126
6127         * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6128         multiple bitmaps are output vertically as well as horizontally.
6129         * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6130         crossing lines this is handled by
6131         mswindows_output_dibitmap_region.
6132
6133 1998-05-12  Martin Buchholz  <martin@xemacs.org>
6134
6135         * inline.c: Include eldap.h
6136
6137         * menubar-x.c (x_update_frame_menubar_internal):
6138         Remove: unused variable `container'
6139
6140 1998-05-11  Martin Buchholz  <martin@xemacs.org>
6141
6142         * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6143         Unfortunately, the resulting temacs still cannot dump.
6144
6145         * symbols.c (symbol_is_constant):
6146         (verify_ok_for_buffer_local):
6147         -Wswitch Warning suppression - add default case to switches.
6148
6149         * redisplay.c (decode_mode_spec): Remove unused variables,
6150         Replace Fcoding_system_property (codesys, Qmnemonic) with
6151         XCODING_SYSTEM_MNEMONIC (codesys);
6152         Fcoding_system_property is for users.
6153
6154         * buffer.c:
6155         * fileio.c:
6156         * lread.c:
6157         * xselect.c:
6158         Change empty docstrings into no doc strings at all.
6159         Fix bogus FSF-format docstrings.
6160
6161         * extents.c:
6162         Standardize docstrings.
6163
6164         * floatfns.c:
6165         Explain problems with matherr.
6166
6167         * glyphs.c:  make DEFUNs etags-readable, i.e. single-line
6168
6169         * syssignal.h:
6170         if BROKEN_SIGIO, then SIGIO wants to be undefined.
6171         if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6172         Fix the weird resultant interaction (causes windows problems)
6173
6174         * gdbinit:
6175         * dbxrc:
6176         Take new EMACSBOOTSTRAPLOADPATH into account.
6177         Update documentation strings
6178
6179         * Makefile.in.in:
6180         - Adjust for luser's CDPATH being set to something weird.
6181         - Take into account bash 2.02's tendency to print the cwd when
6182           using CDPATH.  Always use `cd ./foo' instead of `cd foo'.
6183         - fix the run-temacs target to use $(DUMPENV)
6184         - fix the run-puremacs target to use $(DUMPENV)
6185         - fix the `depend' target to properly $(RM) the right files
6186         - Generate a better TAGS file for XEmacs' lisp code using
6187           hand-crafted regexps.
6188         - Use standard coding conventions for modules/Makefile.in
6189
6190 1998-05-12  Didier Verna  <verna@inf.enst.fr>
6191
6192         * redisplay.c: removed the scrolling modeline code that didn't
6193         make it for 21.0. To be continued ...
6194
6195 1998-05-13  Michael Sperber [Mr. Preprocessor]  <sperber@informatik.uni-tuebingen.de>
6196
6197         * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6198         and empty string inputs.
6199
6200 1998-05-12  Hrvoje Niksic  <hniksic@srce.hr>
6201
6202         * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6203
6204 1998-05-10  Oliver Graf <ograf@fga.de>
6205
6206         * event-stream.c (enqueue_misc_user_event_pos): created
6207         * lisp.h (enqueue_misc_user_event_pos): prototype added
6208         * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6209         * emacs.c: call vars_of_dragdrop
6210         * dragdrop.c (vars_of_dragdrop): provide dragdrop
6211
6212 1998-05-11  Oliver Graf <ograf@fga.de>
6213
6214         * frame-x.c (x_cde_transfer_callback): return at correct pos
6215         * event-Xt.c (x_event_to_emacs_event): changed format of drop
6216         object for MIME (see comment in dragdrop.c)
6217         * dragdrop.c: API change documented in comment
6218         removed provide of dragdrop [is provided by dragdrop.el]
6219
6220 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
6221
6222         * window.c (window_needs_vertical_divider): Enable vertical
6223         dividers for every non-rightmost window.
6224         (window_left_gutter_width): Left gutter consists of mythical
6225         toolbar and a virtual scrollbar.
6226         (window_right_gutter_width): The right one may have a divider
6227         also.
6228
6229         * scrollbar.c (update_scrollbar_instance): Position vertical
6230         scrollbar left to divider if the latter present.
6231
6232         * redisplay.h: Declared OVER_DIVIER constant.
6233
6234         * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6235         case.
6236
6237         * redisplay-x.c (x_output_vertical_divider): Output divider along
6238         the right side of the window, down to window bottom. Swapped
6239         foreground and background colors so it is visible by default.
6240
6241         * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6242         stick the divider to the right window side.
6243
6244         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6245         deadbox painting.
6246         (mswindows_divider_width): Ask system for user preferred value.
6247         (mswindows_output_vertical_divider): Always output the divider on
6248         the right side of a window, down to bottom.
6249
6250         * keymap.c (get_relevant_keymaps): Route mouse button events which
6251         happened over a window divider through window-divider-map.
6252         (Fkey_binding): Documented that in the docstring.
6253         Defined the variable Vwindow_divider_map.
6254
6255         * events.c (Fevent_over_divider_p): Added this function.
6256
6257         * events.h: EXFUNed it.
6258
6259 1998-05-12  Kirill M. Katsnelson  <kkm@kis.ru>
6260
6261         * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6262         toolbar geometry is suspected to change.
6263
6264 1998-05-11  Jonathan Harris  <jhar@tardis.ed.ac.uk>
6265
6266         * src/device-msw.c
6267         * src/event-msw.c
6268         Condition dnd and dde code on HAVE_DRAGNDROP.
6269
6270 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6271
6272         * events.c (format_event_object): Print space as SPC etc.
6273
6274 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6275
6276         * print.c (print_internal): In the default case, abort() if
6277         ERROR_CHECK_TYPECHECK.
6278
6279         * fileio.c (Fmake_temp_name): Doc fix.
6280
6281 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6282
6283         * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6284
6285         * undo.c (Fprimitive_undo): Fixed typo.
6286
6287 1998-05-11  Hrvoje Niksic  <hniksic@srce.hr>
6288
6289         * fns.c (concat): Signal error on integer argument.
6290
6291 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
6292
6293         * console.h (device_metrics): Prefixed each constatnt with DM_
6294
6295         * device.c: (Fdevice_system_metric): Renamed so from plural form
6296         (metrics); Changed parameters order and added DEFAULT parameter;
6297         Unabbreviated some metric constants; Fixed and untabified doc string.
6298         (Fdevice_system_metrics): Added. Returns a plist of all provided
6299         metrics.
6300
6301         * device-msw.c (mswindows_device_system_metrics): Renamed
6302         device_metrics enum constants.
6303         Return Qunbound instead of Qnil.
6304
6305         * device-tty.c (tty_device_system_metrics): Ditto.
6306
6307         * device-x.c (x_device_system_metrics): Ditto.
6308
6309 1998-05-10  Andy Piper  <andyp@parallax.co.uk>
6310
6311         * redisplay-msw.c: implement background pixmaps (really!). Make
6312         sure bg color is transparent if we have bg pmaps.
6313         * (mswindows_output_string) (mswindows_clear_region): output bg
6314         pmap if required.
6315         * (mswindows_output_dibitmap_region): new function.
6316         * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6317         the bg color rather than transparently.
6318
6319         * toolbar-msw.c: use masks if they exist.
6320
6321         * glyphs-msw.c: set up masks correctly.
6322
6323         * event-msw.c: typedef SOCKET if cygwin and not msg select().
6324
6325 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6326
6327         * regex.c (re_match_2_internal): Check for quit.
6328
6329 1998-05-10  Hrvoje Niksic  <hniksic@srce.hr>
6330
6331         * frame.c (Ffocus_frame): New function.