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