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