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