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