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