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