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