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