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