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