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