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