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