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