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