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