1 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (syms_of_mule_charset): Delete charset alias
6 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
8 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
9 (Qvietnamese_viscii_upper): New variable.
10 (Fdefine_charset_alias): New function.
11 (syms_of_mule_charset): Add new function `define-charset-alias'.
12 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
13 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
16 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
18 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
19 (MAX_CHAR_OBS_94x94): New macro.
20 (breakup_char_1): Support obsolete XEmacs-UCS private code space
23 * mule-charset.c (put_byte_from_character_table): Change unit size
25 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
27 (Fmake_reverse_direction_charset): Modify dummy argument of
28 `make_charset' for non-UTF-2000 environment.
30 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
32 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
34 * mule-charset.c (destroy_byte_from_character_table): New macro.
35 (latin_jisx0201_to_ucs): Deleted.
36 (latin_iso8859_2_to_ucs): Deleted.
37 (latin_iso8859_3_to_ucs): Deleted.
38 (latin_iso8859_4_to_ucs): Deleted.
39 (latin_iso8859_9_to_ucs): Deleted.
40 (latin_viscii_lower_to_ucs): Deleted.
41 (latin_viscii_upper_to_ucs): Deleted.
42 (mark_charset): Mark `cs->decoding_table'.
43 (Fcharset_mapping_table): Fix DOC-string.
44 (Fset_charset_mapping_table): New function.
45 (syms_of_mule_charset): Add nwe function
46 `set-charset-mapping-table'.
47 (complex_vars_of_mule_charset): Don't setup and use
50 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
52 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
55 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
57 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
58 (Vcharset_katakana_jisx0208): New variable.
59 (Qhiragana_jisx0208): New variable.
60 (Qkatakana_jisx0208): New variable.
61 (make_charset): Add new argument `byte_offset'.
62 (charset_get_byte1): Modify for new coded-charset definition; use
63 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
64 `XCHARSET_BYTE_OFFSET'.
65 (Fmake_charset): Modify for `make_charset'.
66 (Fmake_reverse_direction_charset): Likewise.
67 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
69 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
70 `.' in font registry of charset `katakana-jisx0201',
71 `latin-jisx0201', `vietnamese-viscii-lower' and
72 `vietnamese-viscii-upper'; modify DOC-string of charset
73 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
74 registry of charset `japanese-jisx0208' not to use font for JIS
75 X0208:1990; add new charset `hiragana-jisx0208' and
78 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
79 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
80 (struct Lisp_Charset): Add `byte_offset'.
81 (CHARSET_BYTE_OFFSET): New macro.
82 (XCHARSET_UCS_MIN): New macro.
83 (XCHARSET_UCS_MAX): New macro.
84 (XCHARSET_CODE_OFFSET): New macro.
85 (XCHARSET_BYTE_OFFSET): New macro.
86 (MIN_CHAR_HIRAGANA): New macro.
87 (MAX_CHAR_HIRAGANA): New macro.
88 (MIN_CHAR_KATAKANA): New macro.
89 (MAX_CHAR_KATAKANA): New macro.
90 (MAKE_CHAR): Modify for new coded-charset definition; use
91 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
92 `XCHARSET_BYTE_OFFSET'.
94 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
96 * mule-charset.c (CHAR96): Deleted.
97 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
99 (latin_iso8859_2_to_ucs): Likewise.
100 (latin_iso8859_3_to_ucs): Likewise.
101 (latin_iso8859_4_to_ucs): Likewise.
102 (latin_iso8859_9_to_ucs): Likewise.
103 (latin_viscii_lower_to_ucs): Likewise.
104 (latin_viscii_upper_to_ucs): Likewise.
105 (latin_tcvn5712_to_ucs): Commented out.
106 (make_charset): Change type of argument `decoding_table' from
107 <Emchar*> to <Lisp_Object> [vector of characters].
108 (Fmake_charset): Modify for `make_charset'.
109 (Fmake_reverse_direction_charset): Likewise.
110 (Fcharset_mapping_table): New function in UTF-2000.
111 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
113 (complex_vars_of_mule_charset): Modify for type change of
114 `*_to_ucs'; modify for `make_charset'.
116 * char-ucs.h (struct Lisp_Charset): Change type of
117 `decoding_table' from <Emchar*> to <Lisp_Object>.
118 (MAKE_CHAR): Modify for new specification of `decoding_table'.
120 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
122 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
123 error with non-UTF-2000-Mule.
125 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
127 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
129 (Vcharset_chinese_cns11643_4): Likewise.
130 (Vcharset_chinese_cns11643_5): Likewise.
131 (Vcharset_chinese_cns11643_6): Likewise.
132 (Vcharset_chinese_cns11643_7): Likewise.
133 (Qchinese_cns11643_3): Likewise.
134 (Qchinese_cns11643_4): Likewise.
135 (Qchinese_cns11643_5): Likewise.
136 (Qchinese_cns11643_6): Likewise.
137 (Qchinese_cns11643_7): Likewise.
138 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
139 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
140 and `chinese-cns11643-7' to lisp/mule/chinese.el.
141 (complex_vars_of_mule_charset): Likewise.
143 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
145 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
147 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
148 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
150 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
152 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
154 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
155 (breakup_char_1): Likewise.
157 * text-coding.c (char_encode_iso2022): Keep designated charsets if
158 one of them includes the specified character.
160 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
162 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
164 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
166 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
168 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
170 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
171 definition for non-UTF-2000 Mule.
172 (latin_iso8859_3_to_ucs): Likewise.
173 (latin_iso8859_4_to_ucs): Likewise.
174 (latin_iso8859_9_to_ucs): Likewise.
175 (latin_jisx0201_to_ucs): Likewise.
176 (MIN_CHAR_THAI): Likewise.
177 (MAX_CHAR_THAI): Likewise.
178 (MIN_CHAR_GREEK): Likewise.
179 (MAX_CHAR_GREEK): Likewise.
180 (MIN_CHAR_HEBREW): Likewise.
181 (MAX_CHAR_HEBREW): Likewise.
182 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
183 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
184 (MIN_CHAR_CYRILLIC): Likewise.
185 (MAX_CHAR_CYRILLIC): Likewise.
187 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
189 * char-ucs.h (breakup_char_1): Use
190 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
191 thai-tis620 and katakana-jisx0201 area.
193 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
195 * char-ucs.h (breakup_char_1): Use
196 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
199 * text-coding.c (reset_encoding_stream): Fixed.
200 (char_encode_ucs4): Delete `& 255'.
202 * char-ucs.h (breakup_char_1): Use
203 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
205 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
207 * file-coding.c (Fmake_coding_system): Don't set up
208 `codesys->fixed.size'.
209 (encode_coding_no_conversion): Don't refer
210 `str->codesys->fixed.size'.
212 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
214 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
215 (latin_a_char_to_byte1): Deleted.
216 (latin_a_char_to_byte2): Deleted.
218 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
220 * mule-charset.c (make_charset): Add new argument `ucs_min',
221 `ucs_max' and `code_offset'.
222 (charset_get_byte1): New implementation [delete specific charset
223 depended implementations].
224 (Fmake_charset): Modify for `make_charset'.
225 (Fmake_reverse_direction_charset): Likewise.
226 (complex_vars_of_mule_charset): Likewise.
228 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
230 (CHARSET_UCS_MIN): New macro.
231 (CHARSET_UCS_MAX): New macro.
232 (CHARSET_CODE_OFFSET): New macro.
233 (MAKE_CHAR): Delete charset depended definitions [except
236 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
238 * char-ucs.h (breakup_char_1): Use
239 `Vdefault_coded_charset_priority_list' for C0-Controls,
240 Basic-Latin, C1-Controls and Latin-1-Supplement area.
242 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
244 * char-ucs.h (charset_get_byte1): New function.
245 (XCHARSET_GET_BYTE1): Deleted.
246 (charset_get_byte2): New function.
247 (XCHARSET_GET_BYTE2): Deleted.
248 (Vdefault_coded_charset_priority_list): New external variable.
249 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
250 `Vdefault_preferred_coded_charset_list'.
252 * mule-charset.c (charset_get_byte1): New function.
253 (charset_get_byte2): New function.
254 (Vdefault_coded_charset_priority_list): New variable.
255 (vars_of_mule_charset): Add new variable
256 `default-coded-charset-priority-list'.
258 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
260 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
261 (XCHARSET_GET_BYTE2): New inline function.
262 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
263 `XCHARSET_GET_BYTE2'.
265 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
267 * mule-charset.c (make_charset): Initialize
268 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
269 NULL if table is not defined.
271 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
273 * text-coding.c (char_encode_shift_jis): Use
274 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
275 `ucs_to_latin_jisx0201'.
277 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
278 (ucs_to_latin_iso8859_2): Deleted.
279 (ucs_to_latin_iso8859_3): Deleted.
280 (ucs_to_latin_iso8859_4): Deleted.
281 (ucs_to_latin_iso8859_9): Deleted.
282 (ucs_to_latin_viscii_lower): Deleted.
283 (ucs_to_latin_viscii_upper): Deleted.
284 (ucs_to_latin_tcvn5712): Deleted.
285 (make_charset): Add new argument `decoding_table'; set up
286 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
287 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
288 `decoding_table' is defined in UTF-2000.
289 (Fmake_charset): Modify for `make_charset'.
290 (Fmake_reverse_direction_charset): Likewise.
291 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
292 and `GENERATE_96_SET'.
294 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
295 (ucs_to_latin_jisx0201): Deleted.
296 (latin_iso8859_2_to_ucs): Deleted.
297 (ucs_to_latin_iso8859_2): Deleted.
298 (latin_iso8859_3_to_ucs): Deleted.
299 (ucs_to_latin_iso8859_3): Deleted.
300 (latin_iso8859_4_to_ucs): Deleted.
301 (ucs_to_latin_iso8859_4): Deleted.
302 (latin_iso8859_9_to_ucs): Deleted.
303 (ucs_to_latin_iso8859_9): Deleted.
304 (latin_viscii_lower_to_ucs): Deleted.
305 (ucs_to_latin_viscii_lower): Deleted.
306 (latin_viscii_upper_to_ucs): Deleted.
307 (ucs_to_latin_viscii_upper): Deleted.
308 (struct Lisp_Charset): Renamed `encoding_table' to
309 `to_byte1_table'; add `to_byte2_table'.
310 (CHARSET_DECODING_TABLE): New macro.
311 (CHARSET_TO_BYTE1_TABLE): New macro.
312 (CHARSET_TO_BYTE2_TABLE): New macro.
313 (XCHARSET_DECODING_TABLE): New macro.
314 (XCHARSET_TO_BYTE1_TABLE): New macro.
315 (XCHARSET_TO_BYTE2_TABLE): New macro.
316 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
318 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
319 don't use `ucs_to_*' tables.
321 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
323 * text-coding.c (Fmake_coding_system): Don't set up
324 `codesys->fixed.size'.
325 (encode_coding_no_conversion): Use `if' instead of `switch'.
327 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
329 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
331 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
332 (Fmake_charset): Modify for `make_charset'.
333 (Fmake_reverse_direction_charset): Likewise.
334 (complex_vars_of_mule_charset): Likewise.
336 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
338 * text-coding.c (char_encode_shift_jis): Use table
339 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
341 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
343 * text-coding.c (text_encode_generic): Use `if' instead of
345 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
348 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
350 * text-coding.c (encode_coding_sjis): Deleted.
351 (char_encode_shift_jis): New function.
352 (char_finish_shift_jis): New function.
353 (reset_encoding_stream): Set up `encode_char' and `finish' for
354 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
355 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
356 (char_encode_utf8): Treat `eol_type'.
358 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
360 * file-coding.c (decode_coding_iso2022): Use
361 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
363 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
365 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
368 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
370 * char-lb.h (CHAR_COLUMNS): New macro.
372 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
374 * text-coding.c (char_encode_ucs4): New function.
375 (char_finish_ucs4): New function.
376 (encode_coding_ucs4): Deleted.
377 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
378 (text_encode_generic): Delete local variable `charset' and `half'.
379 (ucs_to_mule_table): Deleted.
380 (mule_to_ucs_table): Deleted.
381 (Fset_ucs_char): Deleted.
382 (ucs_to_char): Deleted.
383 (Fucs_char): Deleted.
384 (Fset_char_ucs): Deleted.
385 (Fchar_ucs): Deleted.
386 (decode_ucs4): Deleted.
387 (mule_char_to_ucs4): Deleted.
388 (encode_ucs4): Deleted.
389 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
390 (decode_coding_utf8): Likewise.
391 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
392 (char_encode_iso2022): Fixed.
393 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
394 `Fset_char_ucs' and `Fchar_ucs'.
395 (complex_vars_of_file_coding): Don't initialize
398 * objects-tty.c (tty_initialize_font_instance): Don't use
401 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
404 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
405 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
407 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
408 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
409 (emchar_string_displayed_columns): Likewise.
411 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
412 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
413 (string_column_at_point): Likewise.
414 (Fmove_to_column): Likewise.
416 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
417 `encoding_table' and `decoding_table'.
418 (CHARSET_REP_BYTES): Deleted.
419 (XCHARSET_REP_BYTES): Deleted.
420 (XCHARSET_COLUMNS): Deleted.
421 (CHAR_COLUMNS): New macro.
422 (lookup_composite_char): Deleted unconditionally.
423 (composite_char_string): Likewise.
425 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
427 * char-ucs.h (Emchar_to_byte_table): New type.
428 (get_byte_from_character_table): New function interface.
429 (Vcharset_latin_jisx0201): New variable.
430 (latin_jisx0201_to_ucs): New variable.
431 (ucs_to_latin_jisx0201): New variable.
432 (Vcharset_latin_iso8859_2): New variable.
433 (latin_iso8859_2_to_ucs): New variable.
434 (ucs_to_latin_iso8859_2): New variable.
435 (Vcharset_latin_iso8859_3): New variable.
436 (latin_iso8859_3_to_ucs): New variable.
437 (ucs_to_latin_iso8859_3): New variable.
438 (Vcharset_latin_iso8859_4): New variable.
439 (latin_iso8859_4_to_ucs): New variable.
440 (ucs_to_latin_iso8859_4): New variable.
441 (Vcharset_latin_iso8859_9): New variable.
442 (latin_iso8859_9_to_ucs): New variable.
443 (ucs_to_latin_iso8859_9): New variable.
444 (Vcharset_latin_viscii_lower): New variable.
445 (latin_viscii_lower_to_ucs): New variable.
446 (ucs_to_latin_viscii_lower): New variable.
447 (Vcharset_latin_viscii_upper): New variable.
448 (latin_viscii_upper_to_ucs): New variable.
449 (ucs_to_latin_viscii_upper): New variable.
450 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
451 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
452 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
453 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
454 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
455 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
456 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
457 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
458 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
459 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
461 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
462 (Vcharset_latin_viscii_upper): New variable.
463 (make_byte_from_character_table): New function.
464 (put_byte_from_character_table): New function.
465 (get_byte_from_character_table): New function.
467 (ucs_to_latin_jisx0201): New variable.
468 (latin_jisx0201_to_ucs): New variable.
469 (ucs_to_latin_iso8859_2): New variable.
470 (latin_iso8859_2_to_ucs): New variable.
471 (ucs_to_latin_iso8859_3): New variable.
472 (latin_iso8859_3_to_ucs): New variable.
473 (ucs_to_latin_iso8859_4): New variable.
474 (latin_iso8859_4_to_ucs): New variable.
475 (ucs_to_latin_iso8859_9): New variable.
476 (latin_iso8859_9_to_ucs): New variable.
477 (ucs_to_latin_viscii_lower): New variable.
478 (latin_viscii_lower_to_ucs): New variable.
479 (ucs_to_latin_viscii_upper): New variable.
480 (latin_viscii_upper_to_ucs): New variable.
481 (ucs_to_latin_tcvn5712): New variable.
482 (latin_tcvn5712_to_ucs): New variable.
483 (Qlatin_viscii_lower): New variable.
484 (Qlatin_viscii_upper): New variable.
485 (syms_of_mule_charset): Set up new symbol
486 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
487 (complex_vars_of_mule_charset): Set up new charset
488 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
489 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
490 `ucs_to_<CHARSET>' tables.
492 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
494 * text-coding.c: New file.
496 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
498 * mule-charset.c (Fmake_char): Fix problem of 256-set.
500 * char-ucs.h (Vcharset_ucs_bmp): New variable.
501 (MAKE_CHAR): Modify for `ucs-bmp'.
502 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
503 non-MULE characters of BMP.
505 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
507 * mule-charset.c (vars_of_mule_charset):
508 Update `utf-2000-version' to 0.6.
510 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
513 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
514 - Include character.h for `CHAR_ASCII_P'.
516 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
518 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
519 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
521 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
522 (BYTE_C0_P): Likewise.
523 (BYTE_C1_P): Likewise.
524 (Lstream_get_emchar_1): Likewise.
525 (Lstream_fput_emchar): Likewise.
526 (Lstream_funget_emchar): Likewise.
527 (copy_internal_to_external): Likewise.
528 (copy_external_to_internal): Likewise.
530 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
531 (BYTE_C0_P): Likewise.
532 (BYTE_C1_P): Likewise.
533 (Lstream_get_emchar_1): Likewise.
534 (Lstream_fput_emchar): Likewise.
535 (Lstream_funget_emchar): Likewise.
536 (copy_internal_to_external): Likewise.
537 (copy_external_to_internal): Likewise.
539 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
540 (REP_BYTES_BY_FIRST_BYTE): Likewise.
542 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
543 (BYTE_ASCII_P): Moved to mb-1byte.h.
545 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
547 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
549 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
550 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
551 (VALID_CHARPTR_P): Moved to mb-*byte.h.
552 (VALIDATE_CHARPTR_BACKWARD): Likewise.
553 (VALIDATE_CHARPTR_FORWARD): Likewise.
554 (simple_charptr_emchar): Moved to mb-multibyte.h.
555 (simple_set_charptr_emchar): Likewise.
556 (simple_charptr_copy_char): Likewise.
557 (non_ascii_charptr_emchar): Likewise.
558 (non_ascii_set_charptr_emchar): Likewise.
559 (non_ascii_charptr_copy_char): Likewise.
560 (charptr_emchar): Moved to mb-*byte.h.
561 (set_charptr_emchar): Likewise.
562 (charptr_copy_char): Likewise.
564 * mb-1byte.h, mb-multibyte.h: New files.
566 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
568 * mb-utf-8.h (MULTIBYTE): New macro.
569 (MAX_EMCHAR_LEN): Moved from buffer.h.
570 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
572 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
574 * mb-lb.h, multibyte.h: New files.
576 * char-1byte.h (Charset_ID): Moved from buffer.h.
577 (MIN_LEADING_BYTE): Likewise.
578 (LEADING_BYTE_ASCII): Likewise.
579 (NUM_LEADING_BYTES): Likewise.
580 (CHARSETP): Likewise.
581 (CHARSET_BY_LEADING_BYTE): Likewise.
582 (XCHARSET_LEADING_BYTE): Likewise.
583 (XCHARSET_GRAPHIC): Likewise.
584 (XCHARSET_COLUMNS): Likewise.
585 (XCHARSET_DIMENSION): Likewise.
586 (CHAR_CHARSET): Likewise.
587 (CHAR_LEADING_BYTE): Likewise.
588 (BREAKUP_CHAR): Likewise.
589 (Vcharset_ascii): Likewise.
591 * buffer.h: Include multibyte.h unconditionally.
592 (VALID_CHARPTR_P): Moved to multibyte.h.
593 (ASSERT_VALID_CHARPTR): Likewise.
594 (REAL_INC_CHARPTR): Likewise.
595 (REAL_INC_CHARBYTIND): Likewise.
596 (REAL_DEC_CHARPTR): Likewise.
597 (INC_CHARPTR): Likewise.
598 (INC_CHARBYTIND): Likewise.
599 (DEC_CHARPTR): Likewise.
600 (VALIDATE_CHARPTR_BACKWARD): Likewise.
601 (VALIDATE_CHARPTR_FORWARD): Likewise.
602 (charptr_n_addr): Likewise.
603 (MAX_EMCHAR_LEN): Moved to mb-*.h.
604 (simple_charptr_emchar): Moved to multibyte.h.
605 (simple_set_charptr_emchar): Likewise.
606 (simple_charptr_copy_char): Likewise.
607 (non_ascii_charptr_emchar): Likewise.
608 (non_ascii_set_charptr_emchar): Likewise.
609 (non_ascii_charptr_copy_char): Likewise.
610 (charptr_emchar): Likewise.
611 (set_charptr_emchar): Likewise.
612 (charptr_copy_char): Likewise.
613 (charptr_emchar_n): Likewise.
614 (Charset_ID): Moved to char-1byte.h.
615 (Vcharset_ascii): Likewise.
616 (CHAR_CHARSET): Likewise.
617 (CHAR_LEADING_BYTE): Likewise.
618 (LEADING_BYTE_ASCII): Likewise.
619 (NUM_LEADING_BYTES): Likewise.
620 (MIN_LEADING_BYTE): Likewise.
621 (CHARSETP): Likewise.
622 (CHARSET_BY_LEADING_BYTE): Likewise.
623 (XCHARSET_LEADING_BYTE): Likewise.
624 (XCHARSET_GRAPHIC): Likewise.
625 (XCHARSET_COLUMNS): Likewise.
626 (XCHARSET_DIMENSION): Likewise.
627 (BREAKUP_CHAR): Likewise.
629 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
631 * character.h: Add document about interface for characters.
633 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
634 (MAKE_CHAR): Delete comment about
635 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
636 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
637 (BREAKUP_CHAR): Modify name of arguments.
638 (CHAR_CHARSET): Modify name of argument.
640 * buffer.h: Delete document about Emchar accessors.
642 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
644 * character.h (CHAR_INTP): Moved from buffer.h
645 (CHAR_OR_CHAR_INTP): Likewise.
646 (XCHAR_OR_CHAR_INT): Likewise.
647 (CHECK_CHAR_COERCE_INT): Likewise.
649 * buffer.h (CHAR_INTP): Moved to character.h
650 (CHAR_OR_CHAR_INTP): Likewise.
651 (XCHAR_OR_CHAR_INT): Likewise.
652 (CHECK_CHAR_COERCE_INT): Likewise.
654 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
657 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
658 - Include char-1byte.h, char-lb.h or char-ucs.h.
660 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
662 * buffer.h: Include character unconditionally.
663 (valid_char_p): Moved to char-*.h.
664 (non_ascii_valid_char_p): Moved to char-lb.h.
666 * char-1byte.h, char-lb.h, char-ucs.h: New files.
668 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
670 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
671 in UTF-2000 because it is not ported yet and not to use
672 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
673 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
674 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
676 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
677 (CHAR_ASCII_P): Moved from character.h.
679 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
680 (CHAR_ASCII_P): Likewise.
681 (CHAR_FIELD1_MASK): Deleted.
682 (CHAR_FIELD2_MASK): Deleted.
683 (CHAR_FIELD3_MASK): Deleted.
684 (MAX_CHAR_BASIC_LATIN): New macro.
685 (CHAR_FIELD1): Deleted.
686 (CHAR_FIELD2_INTERNAL): Deleted.
687 (CHAR_FIELD3_INTERNAL): Deleted.
688 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
689 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
690 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
691 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
692 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
693 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
694 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
695 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
696 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
697 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
698 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
699 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
700 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
701 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
702 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
703 (MIN_CHAR_COMPOSITION): Deleted.
704 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
705 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
707 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
709 * buffer.h: Include mb-utf-8.h in UTF-2000.
711 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
713 * mb-utf-8.h: New file.
715 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
717 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
720 * mule-charset.h, buffer.h (Charset_ID): New type.
722 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
724 * mule-canna.c (c2mu): Use `MAKE_CHAR',
725 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
726 instead of `MULE_CHAR_PRIVATE_OFFSET',
727 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
728 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
729 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
731 * character.h (Vcharset_japanese_jisx0212): New variable
734 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
736 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
737 (charset_by_attributes): Delete array about direction.
738 (latin_a_char_to_charset): New variable in UTF-2000.
739 (latin_a_char_to_byte1): New variable in UTF-2000.
740 (latin_a_char_to_byte2): New variable in UTF-2000.
741 (Qucs_bmp): New variable.
742 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
744 (next_allocated_2_byte_leading_byte): Likewise.
745 (non_ascii_set_charptr_emchar): Likewise.
746 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
747 `CHARSET_TYPE_256X256' in UTF-2000; modify for
748 `charset_by_attributes'.
749 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
750 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
751 and `CHARSET_BY_LEADING_BYTE'.
752 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
753 `utf-2000-version' to `vars_of_mule_charset'.
754 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
755 define `leading-code-private-11' in UTF-2000; move setting of
756 `utf-2000-version' from `syms_of_mule_charset'.
757 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
760 * character.h (Charset_ID): New type.
761 (LEADING_BYTE_UCS_BMP): New macro.
762 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
763 (CHARSET_ID_OFFSET_94): New macro.
764 (MIN_CHARSET_ID_PRIVATE_94): New macro.
765 (MAX_CHARSET_ID_PRIVATE_94): New macro.
766 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
768 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
769 (LEADING_BYTE_LATIN_JISX0201): Likewise.
770 (CHARSET_ID_OFFSET_96): New macro.
771 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
772 CHARSET_ID_OFFSET_96 and final-byte.
773 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
774 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
775 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
776 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
777 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
778 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
779 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
780 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
781 (LEADING_BYTE_THAI_TIS620): Likewise.
782 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
783 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
784 (CHARSET_ID_OFFSET_94x94): New macro.
785 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
786 CHARSET_ID_OFFSET_94x94 and final-byte.
787 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
788 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
789 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
790 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
791 (LEADING_BYTE_CHINESE_GB2312): Likewise.
792 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
793 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
794 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
795 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
796 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
797 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
798 (CHARSET_TYPE_128X128): New macro.
799 (CHARSET_TYPE_256X256): New macro.
800 (XCHARSET_PRIVATE_P): Delete unconditionally.
801 (charset_by_attributes): Delete array about direction.
802 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
803 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
804 (MIN_CHAR_94): New macro.
805 (MAX_CHAR_94): New macro.
806 (MIN_CHAR_96): New macro.
807 (MAX_CHAR_96): New macro.
808 (MIN_CHAR_94x94): New macro.
809 (MAX_CHAR_94x94): New macro.
810 (MIN_CHAR_96x96): New macro.
811 (MAX_CHAR_96x96): New macro.
812 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
813 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
814 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
816 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
817 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
818 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
819 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
820 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
821 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
822 `XCHARSET_LEADING_BYTE' to make code-point.
823 (latin_a_char_to_charset): New variable.
824 (latin_a_char_to_byte1): New variable.
825 (latin_a_char_to_byte2): New variable.
826 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
827 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
828 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
830 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
831 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
832 (find_charsets_in_emchar_string): Likewise.
833 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
835 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
837 (decode_coding_iso2022): Likewise.
839 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
842 * redisplay.c (redisplay_text_width_emchar_string): Use
843 `Charset_ID' instead of `unsigned char'.
844 (redisplay_frame_text_width_string): Likewise.
846 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
849 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
850 instead of `unsigned char'.
851 (face_cachel_charset_font_metric_info): Likewise.
853 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
854 (get_non_ascii_char_table_value): Likewise.
855 (get_char_table): Likewise.
856 (put_char_table): Likewise.
857 (map_over_other_charset): Likewise.
858 (map_char_table): Likewise.
860 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
861 instead of `unsigned char'.
863 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
865 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
866 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
868 * mule-charset.c (leading_code_private_11): Don't define in
871 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
872 in UTF-2000 because it is not ported yet and not to use
873 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
875 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
877 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
879 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
881 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
884 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
885 of unsigned char to store leading-byte.
887 * chartab.c (get_non_ascii_char_table_value): Don't use
888 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
890 * file-coding.c (encode_coding_big5): Delete bogus implementation
893 * character.h (LEADING_BYTE_*): Delete definition for
895 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
896 (LEADING_BYTE_PREFIX_P): Deleted.
897 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
898 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
899 (BUFBYTE_LEADING_BYTE_P): Deleted.
900 (CHARSET_PRIVATE_P): Deleted unconditionally.
901 (rep_bytes_by_first_byte): Deleted unconditionally.
902 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
903 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
904 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
905 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
906 (CHAR_FIELD2): Deleted.
907 (CHAR_FIELD3): Deleted.
908 (MAKE_CHAR): Delete definition for non-UTF-2000.
909 (BREAKUP_CHAR_1_UNSAFE): Deleted.
910 (breakup_char_1): New implementation.
911 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
912 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
914 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
916 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
919 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
921 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
922 (CHARSET_PRIVATE_P): Likewise.
923 (XCHARSET_PRIVATE_P): Likewise.
924 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
926 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
928 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
930 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
932 * character.h (LEADING_BYTE_*): Changed in UTF2000.
933 (NUM_LEADING_BYTES): Changed from 128 to 256.
934 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
935 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
937 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
939 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
941 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
942 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
943 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
944 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
945 (Qchinese_cns11643_3): New variable in UTF2000.
946 (Qchinese_cns11643_4): New variable in UTF2000.
947 (Qchinese_cns11643_5): New variable in UTF2000.
948 (Qchinese_cns11643_6): New variable in UTF2000.
949 (Qchinese_cns11643_7): New variable in UTF2000.
950 (syms_of_mule_charset): Define `chinese-cns11643-3',
951 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
952 and `chinese-cns11643-7' in UTF2000.
953 (vars_of_mule_charset): Initialize
954 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
956 (complex_vars_of_mule_charset): Setup charset
957 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
958 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
960 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
962 * mule-charset.c: Move setting for `leading-code-private-11' from
963 `syms_of_mule_charset' to `vars_of_mule_charset'.
965 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
967 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
968 and `NUM_LEADING_BYTES' in assert.
970 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
972 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
974 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
975 `NUM_LEADING_BYTES' instead of 128.
977 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
979 * mule-charset.h (charset_by_leading_byte): Use
980 `NUM_LEADING_BYTES' instead of 128.
981 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
983 * mule-charset.c (charset_by_leading_byte): Use
984 `NUM_LEADING_BYTES' instead of 128.
985 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
987 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
990 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
992 * mule-charset.c (syms_of_mule_charset): Update to
995 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
997 * file-coding.c (encode_coding_sjis): New implementation for
998 UTF2000. (decode_coding_sjis): Ditto.
1000 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1002 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1003 Don't define in UTF2000.
1005 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1008 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1009 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1012 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1014 * config.h.in (CHAR_IS_UCS4): New macro.
1016 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1017 conventional MULE representation.
1018 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1020 * mule-charset.h: Reverted to original.
1022 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1023 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1024 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1026 * character.h: New file.
1028 * file-coding.c (Fmake_coding_system): Set 1 to
1029 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1031 (encode_coding_no_conversion): New implementation for UTF2000.
1033 * file-coding.h (struct Lisp_Coding_System): Add new member
1036 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1038 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1039 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1040 (encode_coding_iso2022): New implementation for UTF2000.
1042 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1044 * mule-canna.c (c2mu): New implementation for UTF2000.
1047 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1049 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1051 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1053 * file-coding.c (reset_encoding_stream): Set 0 to
1054 `str->iso2022.current_char_boundary' in UTF2000.
1055 (encode_utf8): Don't define in UTF2000.
1056 (encode_coding_utf8): New implementation for UTF-8 representation
1058 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1060 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1062 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1064 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1066 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1068 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1070 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1071 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1072 as UTF-8 in UTF2000.
1073 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1074 (non_ascii_valid_char_p): Don't define in UTF2000.
1075 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1076 (Lstream_get_emchar_1): Likewise.
1077 (utf-2000-version): New variable in UTF2000.
1079 * lread.c (read_escape): Add new reader `u'.
1081 * insdel.c (three_to_one_table): Don't define in UTF2000.
1082 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1083 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1085 (bytind_to_bufpos_func): Likewise.
1086 (buffer_mule_signal_inserted_region): Likewise.
1087 (vars_of_insdel): Don't initialize `three_to_one_table'.
1088 (init_buffer_text): Use `buf->text->mule_size' instead of
1089 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1092 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1093 UTF-8 representation in UTF2000.
1094 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1095 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1096 (decode_coding_iso2022): Don't define local variable `lb' in
1097 UTF2000; don't use LEADING_BYTE in UTF2000; use
1098 `DECODE_ADD_UCS_CHAR' in UTF2000.
1099 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1101 * config.h.in (UTF2000): New macro.
1103 * buffer.h (struct buffer_text): Add new member `mule_size' and
1104 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1105 (valid_char_p): Return always 1 in UTF2000.
1106 (MAX_EMCHAR_LEN): 6 in UTF2000.
1107 (three_to_one_table): Don't define in UTF2000.
1108 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1110 (real_bytind_to_bufpos): Likewise.
1112 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1114 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1116 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1117 representation change.
1118 (Vutf_2000_version): New variable.
1119 (leading_code_private_11): New variable.
1120 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1121 `leading-code-private-11'.
1123 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1124 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1125 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1126 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1127 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1128 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1129 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1130 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1131 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1132 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1133 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1134 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1135 (MIN_CHAR_GREEK): New macro.
1136 (MAX_CHAR_GREEK): New macro.
1137 (MIN_CHAR_CYRILLIC): New macro.
1138 (MAX_CHAR_CYRILLIC): New macro.
1139 (MIN_CHAR_HEBREW): New macro.
1140 (MAX_CHAR_HEBREW): New macro.
1141 (MIN_CHAR_THAI): New macro.
1142 (MAX_CHAR_THAI): New macro.
1143 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1144 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1145 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1146 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1147 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1148 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1149 (CHAR_FIELD2): New inline function.
1150 (CHAR_FIELD3): New inline function.
1151 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1152 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1153 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1154 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1155 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1156 (MIN_CHAR_COMPOSITION): Likewise.
1157 (CHAR_LEADING_BYTE): Modified for character representation change.
1158 (MAKE_CHAR): Likewise.
1160 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1161 (Vcharset_greek_iso8859_7): Likewise.
1162 (Vcharset_cyrillic_iso8859_5): Likewise.
1163 (Vcharset_hebrew_iso8859_8): Likewise.
1164 (Vcharset_thai_tis620): Likewise.
1165 (Vcharset_katakana_jisx0201): Likewise.
1167 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1169 * file-coding.c (determine_real_coding_system): Treat `coding:'
1172 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1174 * file-coding.c (struct decoding_stream): New member `counter'.
1175 (reset_decoding_stream): Initialize `counter'.
1176 (decode_coding_ucs4): Use `counter'.
1177 (decode_coding_utf8): Likewise.
1179 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1181 * XEmacs 21.2.19 is released
1183 1999-07-27 Jeff Miller <jmiller@smart.net>
1185 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1186 menubar_show_keybindings.
1188 1999-07-23 SL Baur <steve@miho>
1190 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1191 definition of Qccl_program.
1193 * mule-ccl.h: Make a global declaration of it here.
1195 1999-07-20 Bob Weiner <weiner@beopen.com>
1197 * s/sco7.h: Added from rr@sco.com.
1199 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1201 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1203 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1205 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1206 (mule_encode): Likewise.
1208 * mule-ccl.c (Qccl_program): New variable.
1209 (CCL_SUSPEND): New macro.
1210 (CCL_INVALID_CMD): New macro.
1211 (CCL_READ_CHAR): Don't regard as invalid command while processing
1212 the last block even if input is empty; use
1213 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1214 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1216 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1217 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1218 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1219 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1220 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1222 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1224 * mule-ccl.h (struct ccl_program): New member stack_idx.
1226 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1227 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1229 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1231 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1233 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1236 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1238 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1239 processing the last block, don't just finish but processes eol
1240 block of the current CCL program.
1241 (ccl_driver): Add a new jump label ccl_repeat for the above
1244 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1246 * mule-ccl.c: Typo in comments fixed.
1247 (Qccl_program_idx): New variables.
1248 (CCL_ReadMultibyteChar2): Macro name changed from
1249 CCL_ReadMultibyteCharacter.
1250 (CCL_WriteMultibyteChar2): Macro name changed from
1251 CCL_WriteMultibyteChar2.
1252 (ccl_driver): Adjusted for the above changes.
1253 (resolve_symbol_ccl_program): New function.
1254 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1255 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1256 numbers by resolve_symbol_ccl_program.
1257 (Fccl_execute_on_string): Likewise.
1258 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1259 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1261 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1263 * mule-ccl.h: (struct ccl_program): New member private_state.
1266 (CCL_Call): Fix the comment.
1267 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1268 macros for CCL Commands.
1270 (ccl_driver): New case lable `CCL_Extention'.
1271 (setup_ccl_program): Initialize the member `private_state' of CCL.
1273 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1275 * keymap.c (copy_keymap_internal): Inherit the default binding.
1277 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1279 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1280 focus the event (XIM_focus_event).
1281 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1282 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1283 the interface for future use (XIM_SetGeometry).
1284 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1285 location (XIM_SetSpotLocation).
1286 (x_output_eol_cursor): Ditto.
1288 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1290 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1291 Olivier's change to lrecord.h of 1999-04-22
1293 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1295 * gutter.c (redraw_exposed_gutter): Change type of pos from
1296 enum toolbar_pos -> enum gutter_pos, since former is only defined
1297 if toolbar support is.
1299 1999-07-19 Andy Piper <andy@xemacs.org>
1301 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1304 * gutter.c (gutter_validate): new function for the gutter specifier.
1305 (specifier_type_create_gutter): declare specifier validator.
1307 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1309 1999-07-18 Andy Piper <andy@xemacs.org>
1311 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1313 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1315 (mswindows_resize_subwindow): new function.
1317 * gutter.c (redraw_exposed_gutter): only reset the
1318 current_display_lines if non-zero.
1319 (Fgutter_pixel_height): new function.
1320 (Fgutter_pixel_width): new function.
1322 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1323 we want to retrive from the tab control.
1325 1999-07-17 Andy Piper <andy@xemacs.org>
1327 * window.c (change_window_height): mark gutters changed when we're
1330 * gutter.c (specifier_vars_of_gutter): make defaults more
1333 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1335 (DEFAULT_GUTTER_WIDTH): change.
1336 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1338 1999-07-18 Andy Piper <andy@xemacs.org>
1340 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1342 1999-07-16 Andy Piper <andy@xemacs.org>
1344 * frame.c (Fmake_frame): call init_frame_gutters().
1346 * redisplay.c (add_emchar_rune): use string functions if we are
1347 working with a string.
1348 (position_redisplay_data_type): add string element.
1350 1999-07-15 Andy Piper <andy@xemacs.org>
1352 * winslots.h: add real_gutter_size slots to hold the actual gutter
1353 size. This is important for autodetected sizes.
1355 * gutter.c (calculate_gutter_size): calculate size for gutters
1356 that have 'autodetect size.
1358 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1359 extent of divider for gutters.
1361 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1362 divider for gutters.
1364 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1365 position to take into account the gutters.
1367 * redisplay.c (generate_modeline): adjust modeline position to
1368 take into account the gutters.
1370 1999-07-14 Andy Piper <andy@xemacs.org>
1372 * gutter.c (frame_topmost_window): new function.
1373 (frame_bottommost_window): ditto.
1374 (frame_leftmost_window): ditto.
1375 (frame_rightmost_window): ditto.
1377 1999-07-13 Andy Piper <andy@xemacs.org>
1379 * redisplay.c (calculate_display_line_boundaries): use text
1380 boundaries so that gutters get handled properly.
1382 1999-07-12 Andy Piper <andy@xemacs.org>
1384 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1387 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1390 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1393 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1395 * gutter.c: new file - implements gutters. All new functions are
1396 semantically equivalent to the toolbar functions.
1397 (gutter_was_visible): new function.
1398 (get_gutter_coords): ditto.
1399 (output_gutter): ditto.
1400 (clear_gutter): ditto.
1401 (update_frame_gutters): ditto.
1402 (redraw_exposed_gutter): ditto.
1403 (redraw_exposed_gutters): ditto.
1404 (free_frame_gutters): ditto.
1405 (init_frame_gutters): ditto.
1406 (decode_gutter_position): ditto.
1407 (Fset_default_gutter_position): ditto.
1408 (Fset_default_gutter_position): ditto.
1409 (Fdefault_gutter_position): ditto.
1410 (gutter_after_change): ditto.
1411 (Fgutter_specifier_p): ditto.
1412 (recompute_overlaying_specifier): ditto.
1413 (gutter_specs_changed): ditto.
1414 (default_gutter_specs_changed): ditto.
1415 (gutter_geometry_changed_in_window): ditto.
1416 (default_gutter_size_changed_in_window): ditto.
1417 (default_gutter_border_width_changed_in_window): ditto.
1418 (default_gutter_visible_p_changed_in_window): ditto.
1419 (syms_of_gutter): ditto.
1420 (vars_of_gutter): ditto.
1421 (specifier_type_create_gutter): ditto.
1422 (specifier_vars_of_gutter): ditto.
1424 * gutter.h: new file. Contains gutter constants and sizing macros
1425 similar to those for the toolbar.
1427 * winslots.h: add gutter variables.
1429 * window.h: declare window_is_* functions.
1431 * window.c (window_is_lowest): make non-static.
1432 (window_is_highest): ditto.
1433 (window_top_toolbar_height): deleted.
1434 (window_bottom_toolbar_height): deleted.
1435 (window_left_toolbar_width): deleted.
1436 (window_right_toolbar_width): deleted.
1437 (window_top_gutter_height): add gutter sizing.
1438 (window_bottom_gutter_height): ditto.
1439 (window_left_gutter_width): ditto.
1440 (window_right_gutter_width): ditto.
1442 * symsinit.h: declarations for gutters vars etc.
1444 * search.c (bi_find_next_emchar_in_string): new function.
1446 * scrollbar.c (update_scrollbar_instance): remove reference to
1447 window_bottom_toolbar_height which did nothing.
1449 * redisplay.h (struct display_line): add face indices for
1450 overriding defaults in output_display_line.
1451 Add gutter_changed flags and declarations.
1453 * redisplay.c (create_string_text_block): new function, similar to
1454 create_text_block but for strings. Display tables etc are used
1455 from the currently selected window.
1456 (generate_string_display_line): ditto. Similar to
1457 generate_display_line.
1458 (generate_displayable_area): generate display lines for a given
1459 area on a frame. Input is the string, with associated extents, to
1461 (redisplay_frame): add gutter_changed check.
1462 (redisplay_device): ditto.
1463 (redisplay_without_hooks): ditto.
1465 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1466 (x_redraw_exposed_area): redraw exposed gutters.
1467 (x_bevel_area): new redisplay device method.
1468 (x_type_create_redisplay_mswindows): add bevel_area device method.
1469 (x_output_display_block): fiddly Martin-style cleanup.
1470 (x_output_vertical_divider): use bevel_area.
1472 * redisplay-output.c (output_display_line): check display_lines
1473 for face information before using defaults.
1474 (bevel_modeline): new function, calls bevel_area with appropriate
1477 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1478 (mswindows_redraw_exposed_area): redraw exposed gutters.
1479 (mswindows_bevel_area): new redisplay device method.
1480 (console_type_create_redisplay_mswindows): add bevel_area device
1483 * indent.c (string_column_at_point): add column_at_point but for
1486 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1487 instantiate widgets that we have a toolkit for.
1489 * general.c: add Qgutter.
1491 * frame.h (struct frame): add display lines for gutters and
1494 * frame.c (set_frame_selected_window): mark gutters changed.
1496 * emacs.c (main_1): add gutter initialisation.
1498 * device.h (struct device): add gutter_changed flag and macros to
1501 * console.h (struct console_methods): new bevel area redisplay
1504 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1505 REAL_INC_BYTIND is for buffers.
1506 (INC_CHARPTR): ditto.
1508 * Makefile.in.in (objs): add gutter.o
1510 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1512 * XEmacs 21.2.18 is released
1514 1999-07-08 SL Baur <steve@mule.m17n.org>
1516 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1518 (emacs_Xt_handle_magic_event): Ditto.
1519 * redisplay-x.c (x_output_string): Ditto.
1520 (x_output_eol_cursor): Ditto.
1522 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1524 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1525 problem that when XIM is destroyed or missed with some reason,
1526 xemacs will die. Now xim=xlib waits the XIM will be ready and
1527 endures the case of XIM end up.
1529 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1531 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1532 SIGINT and SIGCHLD before calling tt_open and restore the
1533 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1535 1999-07-06 SL Baur <steve@xemacs.org>
1537 * s/linux.h: gcc-2.8 changes for powerpc
1538 From Justin Vallon <vallon@mindspring.com>
1540 1999-07-05 Didier Verna <verna@inf.enst.fr>
1542 * indent.c: new symbol Qcoerce.
1543 (Fmove_to_column): use it + doc string update.
1545 1999-07-04 Andy Piper <andy@xemacs.org>
1547 * console.c: undo earlier Fprovide changes.
1551 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1552 function. validate appropriate image formats for tty.
1554 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1555 initialize consoles parameter.
1556 (struct image_instantiator_methods): add consoles parameter.
1557 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1559 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1562 * glyphs-msw.c: declare instantiators for later use.
1563 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1564 and friends on the mswindows console.
1565 * glyphs-x.c: ditto.
1567 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1568 that have not been registered on the supplied device.
1569 (Fvalid_image_instantiator_format_p): add locale argument.
1570 (instantiate_image_instantiator): valid image instantiator on the
1573 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1576 * emacs.c (main_1): add call to
1577 image_instantiator_format_create_glyphs_tty().
1579 1999-06-29 Olivier Galibert <galibert@pobox.com>
1581 * lisp.h: Add #include <stddef.h>.
1583 * sysdep.c: Remove #include <stddef.h>.
1584 * symbols.c: Remove #include <stddef.h>.
1585 * sheap.c: Remove #include <stddef.h>.
1586 * opaque.c: Remove #include <stddef.h>.
1587 * nt.c: Remove #include <stddef.h>.
1588 * mule-charset.c: Remove #include <stddef.h>.
1589 * marker.c: Remove #include <stddef.h>.
1590 * file-coding.c: Remove #include <stddef.h>.
1591 * extents.c: Remove #include <stddef.h>.
1592 * elhash.c: Remove #include <stddef.h>.
1593 * data.c: Remove #include <stddef.h>.
1594 * chartab.c: Remove #include <stddef.h>.
1595 * bytecode.c: Remove #include <stddef.h>.
1596 * alloc.c: Remove #include <stddef.h>. Fix vector description
1598 1999-06-30 SL Baur <steve@miho.m17n.org>
1600 * editfns.c: Document "%s" format spec.
1601 Suggested by Bob Weiner <weiner@altrasoft.com>
1603 1999-06-29 Andy Piper <andy@xemacs.org>
1605 * event-msw.c: fix definition booboo.
1607 1999-06-28 Andy Piper <andy@xemacs.org>
1609 * glyphs-x.c: change tree -> tree-view, progress ->
1610 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1612 (complex_vars_of_glyphs_x): provide-on-console the implemented
1615 * glyphs-msw.c: ditto.
1616 (complex_vars_of_glyphs_mswindows): ditto.
1618 * lisp.h: add Fprovide_on_console.
1620 * fns.c (Ffeaturep): add extra optional console argument.
1621 (Fprovide_on_console): like Fprovide but provides only on the
1622 specified console-type.
1623 (Frequire): check console-features as well as global features.
1625 * console.c (Fconsole_features): new function. return features for
1627 (syms_of_console): add Fconsole_features.
1629 * console.h (CONMETH_FEATURES): new function for accessing features.
1630 (CONSOLE_FEATURES): ditto.
1631 (struct console_methods): add features slot.
1632 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1634 1999-06-28 Andy Piper <andy@xemacs.org>
1636 * event-Xt.c (handle_focus_event_1): conditionally compile for
1639 * s/cygwin32.h: fix me website address.
1641 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1643 * gui-x.c (button_item_to_widget_value): only add callback if it
1646 * glyphs-x.c: add progress, edit and combo instantiators.
1647 (x_widget_set_property): new function. uses lwlib to set widget
1649 (x_widget_property): new function. uses lwlib to get widget
1651 (x_button_instantiate): support images in buttons.
1652 (x_button_property): new function. use lwlib to get the selected
1654 (x_progress_instantiate): new function for instantiating progress
1656 (x_progress_set_property): new function. sets the progress gauge
1658 (x_edit_instantiate): new function. for instantiating edit fields.
1659 (x_combo_instantiate): new function. for instantiating combo
1661 (image_instantiator_format_create_glyphs_x): add new device ii
1664 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1666 * console.h (CONSOLE_FEATURES): new features accesor.
1668 * conslots.h (MARKED_SLOT): add features entry.
1670 1999-06-25 Andy Piper <andy@xemacs.org>
1672 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1675 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1677 * gui.h (struct Lisp_Gui_Item): add accelerator.
1679 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1680 (gui_item_init): ditto.
1681 (gui_add_item_keywords_to_plist): ditto.
1682 (mark_gui_item): ditto.
1683 (gui_item_hash): ditto.
1684 (gui_item_accelerator): new function.
1685 (gui_name_accelerator): new function stolen from gui-x.c
1687 * gui-x.c (popup_selection_callback): always define. mark
1688 subwindows changed after calling a callback.
1689 (menu_name_to_accelerator): deleted.
1690 (button_item_to_widget_value): forward gui_item things to gui_item
1693 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1694 appropriate accesors.
1696 * glyphs-x.c: declare new glyph formats.
1697 (x_finalize_image_instance): unmanage and destroy widgets if they
1699 (x_unmap_subwindow): handle widgets specially.
1700 (x_map_subwindow): ditto. offset display of widgets by offset of
1701 text widget within container.
1702 (x_update_subwindow): new function. call lw_modify_all_widgets
1703 when we are a widget.
1704 (x_widget_instantiate): new function for generically creating
1705 widgets-glyphs. toolkit specifics forwarded to lwlib.
1706 (x_button_instantiate): new function for instantiating
1707 widgets-glyph buttons.
1708 (console_type_create_glyphs_x): register update_subwindow.
1709 (image_instantiator_format_create_glyphs_x): register widget and
1712 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1714 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1715 when we get a button press in case we do not have the focus.
1716 (handle_focus_event_1): set the keyboard focus to the text widget
1717 if we do not have it.
1719 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1722 1999-06-24 SL Baur <steve@miho.m17n.org>
1724 * syntax.c (scan_words): Restore non-Mule code.
1725 (word_constituent_p): Restore.
1727 1999-06-23 Olivier Galibert <galibert@pobox.com>
1729 * config.h.in: Add missing #undef *_USER_DEFINED.
1731 1999-06-23 SL Baur <steve@miho.m17n.org>
1733 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1734 int (fixes a 64-bit problem).
1736 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1739 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1741 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1743 1999-06-22 Olivier Galibert <galibert@pobox.com>
1745 * lrecord.h: Added basic external description system.
1747 * symbols.c: Added symbol, symbol-value-buffer-local,
1748 symbol-value-lisp-magic and symbol-value-varalias description.
1749 * mule-charset.c: Added charset description.
1750 * marker.c: Added marker description.
1751 * keymap.c: Added keymap description.
1752 * glyphs.c: Added glyph description.
1753 * floatfns.c: Added float description.
1754 * file-coding.c: Added coding-system description.
1755 * extents.c: Added extent description.
1756 * elhash.c: Added hash-table description.
1757 * data.c: Added weak-list desciption.
1758 * chartab.c: Added char-table-entry and char-table description.
1759 * bytecode.c: Added compiled-function description.
1760 * alloc.c: Added cons, vector and string description.
1762 1999-06-22 Olivier Galibert <galibert@pobox.com>
1764 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1765 Updated everything to the removal of the "flags" substructure.
1767 * lisp.h (subr_lheader_initializer): Updated.
1768 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1770 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1772 * syntax.c (word_constituent_p): Deleted.
1773 (scan_words): Use `WORD_BOUNDARY_P'.
1775 * chartab.c (Vword_combining_categories): New variable.
1776 (Vword_separating_categories): Likewise.
1777 (CATEGORYP): New macro.
1778 (CATEGORY_SET): Likewise.
1779 (CATEGORY_MEMBER): Likewise.
1780 (word_boundary_p): New function.
1781 (complex_vars_of_chartab): Set up new variable
1782 `word-combining-categories' and `word-separating-categories'.
1784 1999-06-18 Olivier Galibert <galibert@pobox.com>
1786 * lrecord.h: Added description as a placehold in the lrecord
1787 implementation structures. Added the parameter to all constructor
1790 * alloc.c: Added placeholders.
1792 * bytecode.c: Ditto.
1796 * database.c: Ditto.
1801 * event-stream.c: Ditto.
1805 * file-coding.c: Ditto.
1806 * floatfns.c: Ditto.
1814 * mule-charset.c: Ditto.
1818 * rangetab.c: Ditto.
1819 * specifier.c: Ditto.
1822 * tooltalk.c: Ditto.
1825 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1827 * XEmacs 21.2.17 is released
1829 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1831 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1832 (HAVE_LDAP_GET_LDERRNO): Ditto
1833 (HAVE_LDAP_RESULT2ERROR): Ditto
1834 (HAVE_LDAP_PARSE_RESULT): Ditto
1835 (HAVE_UMICH_LDAP): Removed
1836 (HAVE_NS_LDAP): Removed
1838 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1839 suggested by Olivier Galibert
1840 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1842 * eldap.c: Take the removal of `livep' into account in all the
1844 (signal_ldap_error): Take two additional parameters
1845 Added new finer compilation conditions in order to use
1846 ldap_parse_result or ldap_result2error if available
1847 (Fldap_open): Conform to this new API
1848 (Fldap_search_internal): Ditto
1850 1999-06-17 SL Baur <steve@miho.m17n.org>
1852 * data.c (struct int_or_double): Should use EMACS_INT not int.
1854 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1856 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1859 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1861 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1862 `CCL_MODE_ENCODING'.
1864 * file-coding.c (mule_decode): Run `ccl_driver' with
1865 `CCL_MODE_DECODING'.
1866 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1868 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1869 (ccl_driver): Add new argument `conversion_mode'.
1870 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1871 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1872 new optional argument].
1874 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1875 (CCL_MODE_DECODING): New macro.
1876 (ccl_driver): Add new argument `conversion_mode'.
1878 1999-06-15 SL Baur <steve@miho.m17n.org>
1880 * mule-charset.c (Fsplit_char): New subr.
1881 (Fchar_octet): delete.
1882 (syms_of_mule_charset): DEFSUBR it.
1884 1999-06-13 Andy Piper <andy@xemacs.org>
1886 * menubar.h: update declarations involving gui_items.
1888 * lisp.h: declare Lisp_Gui_Item.
1890 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1892 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1893 (print_image_instance): ditto.
1894 (image_instance_equal): ditto.
1895 (image_instance_hash): ditto.
1897 * event-msw.c (mswindows_need_event): assert badly_p status.
1898 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1899 callbacks in tree-view and tab-control widgets.
1900 (emacs_mswindows_next_event): modify use of
1901 mswindows_dequeue_dispatch_event.
1903 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1904 lisp-based gui_items.
1906 * glyphs-msw.c (mswindows_update_subwindow): update use of
1908 (mswindows_register_gui_item): new function.
1909 (mswindows_register_gui_item): fix to use lisp gui_items.
1910 (mswindows_widget_instantiate): ditto.
1911 (mswindows_button_instantiate): ditto.
1912 (add_tree_item): new function to recursively add tree view
1914 (add_tree_item_list): ditto.
1915 (mswindows_tree_instantiate): new function. instantiate tree view
1917 (add_tab_item): new function to add tabs to a tab control.
1918 (mswindows_tab_instantiate): new function. instantiate tab
1920 (image_instantiator_format_create_glyphs_mswindows): add tree view
1922 (vars_of_glyphs_mswindows): ditto.
1924 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1926 (check_valid_item_list): ditto.
1927 (initialize_widget_image_instance): fix to use new lisp gui_item.
1928 (widget_instantiate_1): allow the setting of default textwidth in
1930 (widget_instantiate): change to use new widget_instantiate_1
1932 (combo_instantiate): ditto.
1933 (static_instantiate): ditto.
1934 (tab_instantiate): new function for tab widgets.
1935 (image_instantiator_format_create_glyphs_widget): add tab and tree
1938 * menubar-msw.c (displayable_menu_item): convert to use lisp
1940 (populate_menu_add_item): ditto.
1941 (populate_or_checksum_helper): ditto.
1943 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1945 (Fmenu_find_real_submenu): ditto.
1947 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1949 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1950 objects, convert functions that use them accordingly.
1951 (gui_item_init): ditto.
1952 (gui_item_active_p): ditto.
1953 (gui_item_selected_p): ditto.
1954 (gui_item_included_p): ditto.
1955 (gui_item_display_flush_left): ditto.
1956 (gui_item_display_flush_right): ditto.
1957 (mark_gui_item): ditto.
1958 (allocate_gui_item): new function to create a gui_item.
1959 (make_gui_item_from_keywords_internal): ditto. create and return a
1960 gui_item as well as setting keywords.
1961 (gui_parse_item_keywords): ditto.
1962 (gui_parse_item_keywords_no_errors): ditto.
1963 (gui_add_item_keywords_to_plist): new function, not yet used.
1964 (gui_item_hash): new function.
1965 (gui_item_id_hash): use gui_item_hash.
1966 (gui_item_equal): new function.
1967 (print_gui_item): new function.
1969 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1971 * XEmacs 21.2.16 is released
1973 1999-06-10 Andy Piper <andy@xemacs.org>
1975 * select-msw.c (mswindows_own_selection): only set the clipboard
1977 (mswindows_get_foreign_selection): only get the clipboard if
1979 (mswindows_disown_selection): only disown the clipboard if asked.
1981 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1983 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1985 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1986 of coding-category `no-conversion'.
1988 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1990 * file-coding.c (Qraw_text): New variable.
1991 (syms_of_mule_coding): Add new symbol `raw-text'.
1992 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1993 define coding-system `binary' independently; define coding-system
1994 `no-conversion' as an alias for `raw-text'.
1996 * file-coding.h (Qraw_text): New variable.
1998 1999-06-08 SL Baur <steve@xemacs.org>
2000 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2002 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2004 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2006 (base64_decode_1): Signal errors instead of returning -1.
2008 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2010 * mule-charset.c (Fmake_char): Update docstring.
2012 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2014 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2016 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2018 * fns.c (base64_decode_1): Allow and ignore any non-base64
2019 characters in input.
2021 1999-05-27 Olivier Galibert <galibert@pobox.com>
2023 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2024 of report_pure_usage().
2026 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2028 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2030 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2032 * XEmacs 21.2.15 is released
2034 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2036 * frame.c (Fset_mouse_position):
2037 (Fset_mouse_pixel_position):
2038 * window.c (Fsplit_window):
2039 (Fmove_to_window_line):
2040 Fix crash when invoking functions with an already-deleted window
2043 * indent.c (vertical_motion_1):
2045 (Fvertical_motion_pixels):
2046 * window.c (Fwindow_displayed_text_pixel_height):
2047 Fix error message when invoking functions with an already-deleted
2050 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2052 * sysdep.c (request_sigio_on_device): Guard against glibc
2053 2.1's stub streams implementation.
2055 1999-06-03 SL Baur <steve@xemacs.org>
2058 * emacs.c: Implement x.y.z version numbers
2059 From Jan Vroonhof <vroonhof@math.ethz.ch>
2061 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2063 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2064 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2067 1999-06-03 SL Baur <steve@xemacs.org>
2070 * device-x.c: rename session option to wmcommand.
2071 From Oliver Graf <ograf@rhein-zeitung.de>
2073 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2075 * fns.c (Fsubstring): Don't traverse the same region twice with
2076 charcount_to_bytecount().
2078 1999-06-03 SL Baur <steve@steve1.m17n.org>
2080 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2083 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2084 doesn't really work as is implied by the commentary).
2085 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2087 1999-06-02 SL Baur <steve@steve1.m17n.org>
2089 * symsinit.h: Declare vars_of_ntproc.
2090 * emacs.c (main_1): Call it.
2092 * ntproc.c (syms_of_ntproc): Move variable initializations from
2094 (vars_of_ntproc): ... to here [new function].
2096 * file-coding.c (syms_of_file_coding): Rename.
2097 (vars_of_file_coding): Ditto.
2098 (complex_vars_of_file_coding): Ditto.
2100 * symsinit.h: Rename *_mule_coding to *_file_coding.
2102 * emacs.c (main_1): Call them by the proper name.
2104 * device-msw.c (syms_of_device_mswindows): Move variable
2105 initializations from here ...
2106 (vars_of_device_mswindows): ... to here.
2108 * chartab.c (vars_of_chartab): New function.
2110 * symsinit.h: New function, vars_of_chartab.
2112 * emacs.c (main_1): Call it.
2114 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2115 (vars_of_mule_canna): ... to here.
2117 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2118 initializations out of syms_of_mule_ccl.
2120 * symsinit.h: Declare new function vars_of_mule_ccl.
2122 * emacs.c (main_1): Call it.
2124 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2126 * fns.c (base64_decode_1): Ignore whitespace.
2128 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2130 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2133 1999-05-21 Andy Piper <andy@xemacs.org>
2135 * xselect.c: deleted.
2137 * symsinit.h: declare select initialisation.
2139 * select.h: new file. declare commonly used select functions and
2142 * select.c: new file. generalised from xselect.c.
2143 (clean_local_selection_data): moved from xselect.c.
2144 (get_local_selection): ditto. device specific pieces called via a
2146 (handle_selection_clear): ditto.
2147 (Fown_selection_internal): renamed and generalised from
2148 Fx_own_selection_internal. moved from xselect.c.
2149 (Fdisown_selection_internal): ditto.
2150 (Fselection_owner_p): ditto.
2151 (Fselection_exists_p): ditto.
2152 (Fget_selection_internal): ditto.
2153 (syms_of_select): new function. QXXXX values moved from xselect.c
2154 (vars_of_select): new function. selection_converter_alist,
2155 lost_selection_hooks moved and renamed from xselect.c
2157 * select-x.c: renamed from xselect.c.
2158 (x_own_selection): converted to device specific. non-X-specific
2159 bits moved to select.c.
2160 (x_get_foreign_selection): ditto.
2161 (x_disown_selection): ditto.
2162 (x_selection_exists_p): ditto.
2163 (console_type_create_select_x): new function.
2165 * select-msw.c (mswindows_own_selection): new device method to set
2166 the clipboard when we 'own' the selection.
2167 (mswindows_get_foreign_selection): new device method to get the
2169 (mswindows_disown_selection): new device method to delete the
2170 selection when we 'disown' it.
2171 (console_type_create_select_mswindows): new function.
2173 * emacs.c (main_1): add select to things to initialise.
2175 * console.h (struct console_methods): new console methods for
2178 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2180 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2182 * print.c (long_to_string): Install a faster version.
2184 1999-05-16 Andy Piper <andy@xemacs.org>
2186 * ntproc.c (syms_of_ntproc): default
2187 win32-start-process-share-console to t.
2189 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2191 * config.h.in: Do it here.
2193 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2195 1999-05-14 Andy Piper <andy@xemacs.org>
2197 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2200 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2202 * XEmacs 21.2.14 is released
2204 1999-05-12 Andy Piper <andy@xemacs.org>
2206 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2208 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2210 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2211 run_temacs_argv array -- fixes random memory corruption crash
2213 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2215 * window.c (Fcurrent_window_configuration):
2216 Save minibuffer height;
2218 * window.c (set_window_configuration): use it.
2220 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2222 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2224 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2226 * redisplay.c (redisplay_window): Do not put data
2227 in the line start cache if it is not guaranteed to be correct
2229 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2231 * window.c (struct window_config): Removed frame
2233 (window_config_equal): No longer compare frame sizes.
2234 (Fset_window_configuration): Resize old top window to fit in the
2235 current frame directly, no longer use a fake frame resize.
2236 (Fcurrent_window_configuration): No longer save frame size
2238 1999-05-11 Andy Piper <andy@xemacs.org>
2240 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2243 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2245 * sysdep.c (init_system_name): If gethostname gives a proper
2246 domain name, don't look further for one.
2248 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2250 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2251 (Fintern_soft): Accept a symbol argument.
2253 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2255 * symbols.c (Fintern): ...do it here.
2257 * lread.c (read_atom): Don't handle keywords here.
2259 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2261 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2263 1999-05-03 Olivier Galibert <galibert@pobox.com>
2265 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2266 is interned in the main obarray.
2268 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2270 * menubar-x.c (pre_activate_callback): set accelerator field in
2271 "No menu" entries to nil. Avoid crash in
2272 command_builder_operate_menu_accelerator
2274 1999-05-03 Olivier Galibert <galibert@pobox.com>
2276 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2278 * lisp.h (DEFUN): Fix lrecord header initialisation.
2280 1999-05-02 Andy Piper <andy@xemacs.org>
2282 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2284 * ntproc.c (sys_kill): cast using MS mandated defines.
2286 1999-04-29 Andy Piper <andy@xemacs.org>
2288 * m/intel386.h: remove redundant definitions.
2290 * s/mingw32.h: new header for mingw32.
2292 * unexnt.c: (open_input_file): function moved to nt.c.
2293 (close_file_data): ditto.
2294 (rva_to_section): function moved to ntproc.
2296 * symsinit.h: declare syms_of_ntproc();
2298 * objects-msw.c (mswindows_font_instance_truename): new function.
2300 * ntproc.c: remove many warnings.
2301 (_sys_read_ahead): moved from nt.c and made static.
2302 (rva_to_section): moved from unexnt.c but not defined under
2304 (win32_executable_type): implement what we can for mingw32
2306 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2308 * ntheap.h: remove declarations of functions that are now static.
2310 * ntheap.c: support static heap.
2312 * nt.h: conditionalise X_OK definition.
2314 * nt.c: eliminate many warnings and support mingw32.
2315 (open_input_file): function moved from unexnt.c and made static
2316 (close_file_data): ditto.
2317 (_sys_read_ahead): moved to ntproc.c
2319 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2321 * console-msw.h: support mingw32.
2322 * getloadavg.c: ditto.
2329 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2330 some systems don't have all of the encapsulated system calls.
2332 * callproc.c: warning elimination.
2333 * dired-msw.c: ditto.
2334 * process-nt.c: ditto.
2335 * realpath.c: ditto.
2337 * Makefile.in.in: tweak : and ; for building under mswindows.
2339 1999-04-26 Michael Harnois <mharnois@willinet.net>
2341 * eldap.c (allocate_ldap): Adapt to the new semantics of
2342 alloc_lcrecord_type().
2344 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2346 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2348 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2350 * Delete mule-coding.c and mule-coding.h because they are not
2353 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2355 * objects.c (print_font_instance): Check for NILP(f->device),
2356 i.e. Vthe_null_font_instance.
2357 (font_instance_truename_internal): ditto.
2358 (Ffont_instance_properties): ditto.
2360 1999-04-22 Olivier Galibert <galibert@pobox.com>
2362 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2365 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2367 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2368 it easier to add new ones.
2370 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2372 * symbols.c (reject_constant_symbols): Ditto.
2373 (init_symbols_once_early): Ditto.
2375 * print.c (print_symbol): Don't use ->obarray.
2377 * symbols.c (Funintern): Ditto.
2379 * alloc.c (Fmake_symbol): Don't set ->obarray.
2381 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2383 * symbols.c (init_symbols_once_early): Removed
2384 Vpure_uninterned_symbol_table.
2385 (Fintern): Don't store to ->obarray field.
2387 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2389 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2390 (eq_with_ebola_notice): Remove abracadabra support.
2392 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2394 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2395 retrieve the distinguished names of entries
2397 1999-03-08 Martin Buchholz <martin@xemacs.org>
2399 * lread.c (read_escape): Make hex escapes read only two hex digits.
2401 1999-04-05 Olivier Galibert <galibert@pobox.com>
2403 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2404 * make-src-depend: Remove puresize-adjust.h.
2405 * src-headers: Remove puresize-adjust.h.
2406 * config.h.in: Kill everything purespace/gung-ho related.
2408 * dbxrc: Make gung-ho mandatory.
2411 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2412 c_readonly and lisp_readonly. Remove implementation arrays.
2413 (C_READONLY_RECORD_HEADER_P): Added.
2414 (LISP_READONLY_RECORD_HEADER_P): Added.
2415 (SET_C_READONLY_RECORD_HEADER): Added.
2416 (SET_LISP_READONLY_RECORD_HEADER): Added.
2418 * lisp.h: Kill everything purespace/non gung-ho related.
2419 (CHECK_C_WRITEABLE): Added.
2420 (CHECK_LISP_WRITEABLE): Added.
2421 (C_READONLY): Added.
2422 (LISP_READONLY): Added.
2424 * lisp-union.h: Make gung-ho mandatory.
2425 * lisp-disunion.h: Ditto.
2427 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2428 set_lheader_implementation calls.
2429 (c_readonly): Added.
2430 (lisp_readonly): Added.
2431 (make_string_nocopy): Added.
2432 (Fpurecopy): Changed to do nothing. Kept the old documentation
2433 for reference purposes for the next patches.
2434 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2435 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2436 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2438 * fns.c: Make gung-ho mandatory.
2439 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2441 (Ffillarray): Ditto.
2443 * data.c: Make gung-ho mandatory.
2444 (pure_write_error): Removed.
2445 (c_write_error): Added.
2446 (lisp_write_error): Added.
2447 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2451 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2452 make_string or make_string_nocopy. Fix various
2453 alloc_lcrecord_type.
2455 * lread.c: Remove everything purespace related.
2456 (Flocate_file_clear_hashing): purified -> c_readonly.
2457 (locate_file): Ditto.
2458 (read_atom): make_pure_pname -> make_string.
2460 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2462 (Fdump_emacs): Ditto.
2464 * print.c (print_internal): Make gung-ho mandatory.
2465 * ntheap.c (sbrk): Ditto.
2466 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2467 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2469 * sheap.c (more_static_core): Remove puresize-adjust.h from
2472 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2474 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2475 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2476 * events.c (deinitialize_event): Fix set_lheader_implementation.
2477 (zero_event): Ditto.
2478 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2479 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2480 * mule-charset.c (make_charset): Ditto.
2481 * console.c (allocate_console): Ditto.
2482 (complex_vars_of_console): Ditto.
2483 * file-coding.c (allocate_coding_system): Ditto.
2484 * device.c (allocate_device): Ditto
2485 * gui-x.c (gcpro_popup_callbacks): Ditto.
2486 * extents.c (allocate_extent_auxiliary): Ditto.
2487 (allocate_extent_info): Ditto.
2488 (copy_extent): Ditto.
2489 * glyphs.c (allocate_image_instance): Ditto.
2490 (allocate_glyph): Ditto.
2491 * frame.c (allocate_frame_core): Ditto.
2492 * database.c (allocate_database): Ditto.
2493 * tooltalk.c (make_tooltalk_message): Ditto.
2494 (make_tooltalk_pattern): Ditto.
2495 * rangetab.c (Fmake_range_table): Ditto.
2496 (Fcopy_range_table): Ditto.
2497 * process.c (make_process_internal): Ditto.
2498 * chartab.c (Fmake_char_table): Ditto.
2499 (make_char_table_entry): Ditto.
2500 (copy_char_table_entry): Ditto.
2501 (Fcopy_char_table): Ditto.
2502 * elhash.c (make_general_lisp_hash_table): Ditto.
2503 (Fcopy_hash_table): Ditto.
2504 * buffer.c (allocate_buffer): Ditto.
2505 (complex_vars_of_buffer): Ditto.
2506 * event-stream.c (allocate_command_builder): Ditto.
2507 * objects.c (Fmake_color_instance): Ditto.
2508 (Fmake_font_instance): Ditto.
2509 (vars_of_objects): Ditto.
2510 * toolbar.c (update_toolbar_button): Ditto.
2511 * window.c (allocate_window): Ditto.
2512 (make_dummy_parent): Ditto.
2513 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2514 (vars_of_window): Fix make_lcrecord_list.
2515 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2517 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2518 * opaque.c (make_opaque): Fix alloc_lrecord.
2519 (make_opaque_list): Fix alloc_lrecord_type.
2521 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2523 * process.c (Fstart_process_internal): Ditto.
2525 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2528 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2530 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2533 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2534 (emodules_load): Use it when calling locate_file().
2536 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2539 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2540 (vars_of_callproc): Initialize it.
2541 (Fcall_process_internal): Use it when calling locate_file().
2543 * alloc.c (disksave_object_finalization): Use
2544 Flocate_file_clear_hashing().
2546 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2547 given `t' as argument.
2549 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2551 * lread.c (locate_file): Expand `pathel' when appropriate.
2552 (Flocate_file_clear_hashing): Expand path elements.
2553 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2555 * dired.c (make_directory_hash_table): Create the hash-table only
2556 if the directory open is successful.
2558 * lread.c (decode_mode_1): New function.
2559 (decode_mode): Ditto.
2560 (Flocate_file): Use them.
2561 (Flocate_file): Expand FILENAME.
2562 (locate_file_map_suffixes): New function.
2563 (locate_file_in_directory_mapper): New function.
2564 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2565 and locate_file_map_suffixes().
2566 (locate_file_construct_suffixed_files): Use
2567 locate_file_map_suffixes().
2568 (locate_file_without_hash): Don't GCPRO path.
2569 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2570 (syms_of_lread): Remove Qlocate_file_hash_table.
2571 (locate_file_find_directory_hash_table): Use
2572 Vlocate_file_hash_table.
2573 (locate_file_refresh_hashing): Ditto.
2575 * lread.c: Renamed read_objects to Vread_objects.
2577 1999-04-16 Olivier Galibert <galibert@pobox.com>
2579 * mule-charset.c: Generally resync with fsf 20.3 charset
2581 (make_charset): Add long and short name. Use id instead of
2583 (Fmake_charset): Ditto.
2584 (Fmake_reverse_direction_charset): Ditto.
2585 (Fcharset_property): Ditto.
2586 (Fcharset_short_name): Added.
2587 (Fcharset_long_name): Added.
2588 (Fcharset_description): Renamed from charset-doc-string.
2589 (syms_of_mule_charset): Synced symbols.
2590 (complex_vars_of_mule_charset): Synced charsets.
2592 * mule-charset.h: Removed leading byte (uses id instead), added
2593 short and long name.
2595 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2597 * file-coding.c (Fdefine_coding_system_alias): New function.
2599 1999-04-08 Olivier Galibert <galibert@pobox.com>
2601 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2602 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2604 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2606 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2607 attach to the extent is valid.
2609 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2611 * dired.c (user_name_completion): Mule-ize.
2612 (user_name_completion): Use xmalloc/xrealloc/xfree.
2613 (user_name_completion): Use DO_REALLOC.
2614 (user_name_completion): Cut down the number of static variables;
2616 (user_name_completion): Username completion is always
2619 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2621 * fns.c (base64_decode_1): Remove COUNTER.
2622 (base64_decode_1): Accept CRLF in addition to CR.
2623 (base64_decode_1): Disallow a stray character after final EOF; the
2624 check was probably a remnant of buggy recode code.
2626 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2628 * fns.c (init_provide_once): Provide `base64'.
2630 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2632 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2633 (Fbase64_encode_region): If buffer is read-only, bail out early.
2634 (Fbase64_decode_region): Ditto.
2635 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2637 (Fbase64_encode_string): Ditto.
2638 (Fbase64_decode_region): Ditto.
2639 (Fbase64_decode_string): Ditto.
2641 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2643 * dired.c (Fdirectory_files): Remove redundant code.
2645 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2647 * frame-msw.c Make raise-frame restore minimised windows.
2649 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2651 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2654 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2656 * toolbar-msw.c Consider captions when deciding whether to rebuild
2657 toolbar. This fixes the initial toolbar display for those of us
2658 who don't like captions. These patches applied by Andy Piper.
2660 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2662 * XEmacs 21.2.13 is released
2664 1999-03-12 SL Baur <steve@xemacs.org>
2666 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2668 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2670 * file-coding.c: docstring and comment improvements.
2671 (decode_ucs4) flag possible data loss with comment.
2673 1999-03-10 Martin Buchholz <martin@xemacs.org>
2675 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2679 (decode_coding_ucs4):
2680 (encode_coding_ucs4):
2681 (detect_coding_utf8):
2682 (decode_coding_utf8):
2684 (encode_coding_utf8):
2685 Add CHECK_* macros where needed to avoid crashes.
2686 #ifdef out all composite character support using
2687 #ifdef ENABLE_COMPOSITE_CHARS
2688 Use normal XEmacs coding standards.
2690 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2692 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2694 * file-coding.c (make-coding-system): Add description about
2695 `ucs-4' and `utf-8'.
2696 (detection_state): Modify to implement ucs-4 and utf-8.
2697 (detect_coding_type): Likewise.
2698 (detect_coding_ucs4): New implementation.
2699 (detect_coding_utf8): New implementation.
2700 (encode_utf8): fixed.
2701 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2704 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2706 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2707 2022 registry to private area.
2709 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2711 * file-coding.c (encode_utf8): New function.
2712 (encode_coding_utf8): New implementation.
2714 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2716 * file-coding.c (ucs_to_mule_table): New variable; abolish
2717 `Vucs_to_mule_table'
2718 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2719 (set-ucs-char): New function.
2720 (ucs_to_char): New function.
2721 (ucs-char): New function.
2722 (set-char-ucs): New function.
2723 (char-ucs): New function.
2724 (decode_ucs4): Use `ucs_to_char'.
2725 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2726 `mule-to-ucs-table'.
2728 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2730 * chartab.h: EXFUN `Fget_char_table'.
2732 * file-coding.c (encode_ucs4): New function.
2733 (encode_coding_ucs4): Use `encode_ucs4'.
2735 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2737 * file-coding.c (decode_coding_ucs4): New implementation.
2739 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2741 * file-coding.c (decode_coding_ucs4): fixed.
2743 * file-coding.c (Vmule_to_ucs_table): New variable.
2744 (mule_char_to_ucs4): New function.
2745 (encode_coding_ucs4): New implementation.
2746 (complex_vars_of_mule_coding): Define variable
2747 `mule-to-ucs-table'.
2749 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2751 * file-coding.c (decode_coding_utf8): New implementation.
2753 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2755 * file-coding.c (decode_coding_utf8): fixed.
2757 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2759 * file-coding.c (Vucs_to_mule_table): New variable.
2760 (decode_ucs4): Refer `Vucs_to_mule_table'.
2761 (complex_vars_of_mule_coding): Define variable
2762 `ucs-to-mule-table'.
2764 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2766 * file-coding.c (detect_coding_ucs4): New function (not
2768 (decode_coding_ucs4): New function.
2769 (encode_coding_ucs4): New function (not implemented yet).
2770 (detect_coding_utf8): New function (not implemented yet).
2771 (decode_coding_utf8): New function.
2772 (encode_coding_utf8): New function (not implemented yet).
2773 (make-coding-system): New type `ucs4' and `utf8'.
2774 (coding-system-type): Likewise.
2775 (detection_state): Add `ucs4' and `utf8'.
2776 (detect_coding_type): Likewise.
2777 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2778 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2779 (decode_ucs4): New function (very incomplete).
2780 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2782 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2784 1999-03-08 Martin Buchholz <martin@xemacs.org>
2787 (non_ascii_valid_char_p):
2788 (lookup_composite_char):
2789 (composite_char_string):
2790 (make-composite-char):
2791 (composite-char-string):
2792 (syms_of_mule_charset):
2793 (complex_vars_of_mule_charset):
2794 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2795 (CHAR_LEADING_BYTE):
2797 * file-coding.h (CODING_STATE_COMPOSITE):
2798 (CODING_STATE_ISO2022_LOCK):
2800 (LEADING_BYTE_COMPOSITE):
2801 * file-coding.c (struct iso2022_decoder):
2804 (parse_iso2022_esc):
2805 (encode_coding_iso2022):
2806 #ifdef out all composite character support using
2807 #ifdef ENABLE_COMPOSITE_CHARS
2809 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2811 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2813 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2814 way of `Fbase64_encode_region'.
2816 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2818 * fns.c (base64_encode_1): Don't add a newline at the tail.
2820 1999-03-08 Andy Piper <andy@xemacs.org>
2822 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2825 1999-03-07 Martin Buchholz <martin@xemacs.org>
2827 * console-stream.h (struct stream_console):
2828 * event-unixoid.c (event_stream_unixoid_select_console):
2829 (event_stream_unixoid_unselect_console):
2830 * print.c (Fexternal_debugging_output):
2831 * sysdep.c (reset_one_device):
2832 * console-stream.c (stream_init_console):
2833 (stream_delete_console):
2834 (allocate_stream_console_struct): move into stream_init_console.
2835 (free_stream_console_struct): move into stream_delete_console.
2836 Use `fd' only for file descriptors.
2837 Therefore, rename members of struct stream_console.
2839 * systime.h: Unix98 says sys/time.h should define select(), but
2840 some systems define that in unistd.h. So include that file always.
2842 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2843 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2844 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2846 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2850 Add #include <stdio.h>.
2851 Some versions of assert.h use printf() without #include'ing stdio.h
2853 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2854 (log_gcpro): Remove unused variable FRAME.
2855 (show_gcprohist): Ansify.
2856 Comment the #endif's
2858 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2859 after it's just been XtDestroy'ed!
2861 1999-02-18 Martin Buchholz <martin@xemacs.org>
2863 * opaque.c (print_opaque):
2867 Egcs 1.1.1 seems to have a bug where
2868 INTP (p->size_or_chain)
2869 will crash XEmacs. Fix by introducing intermediate variable.
2871 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2873 * dired.c (Fdirectory_files):
2874 (Ffile_name_completion):
2875 (Ffile_name_all_completions):
2876 (file_name_completion):
2877 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2878 avoid compiler warnings.
2879 - Fix up docstrings so that C variables match documentation.
2881 1999-03-05 Martin Buchholz <martin@xemacs.org>
2883 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2884 variables as small as possible to help out the compiler and the maintainer.
2886 * alloc.c: (disksave_object_finalization):
2887 Set all the *-load-path variables to
2888 nil, not just load-path itself. This gets the locate-file hash
2889 tables garbage collected BEFORE dump, and has the side effect of
2890 preventing crashes on OSF4.0+egcs.
2895 - Clean up gdb/dbx debugging support.
2896 - Storing an EMACS_INT in an enum is not 64-bit clean!
2897 - So change the enum to a set of separate variables.
2898 - Add test cases to help debug the debugging support!
2899 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2900 - Both dbx and gdb have been tested now.
2902 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2904 * XEmacs 21.2.12 is released
2906 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2908 * device-x.c: Support to find best visual without flashing.
2910 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2912 * database.c (berkdb_map): Add flags argument to cursor call (must
2913 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2915 1999-03-03 Martin Buchholz <martin@xemacs.org>
2919 General cleanup. Get free-hook.c working again.
2920 Remove unused functions:
2921 make_strings_hash_table, copy_hash, expand_hash_table.
2925 Always use new ANSI-style function prototypes.
2927 * unexalpha.c (unexec): Never use implicit int.
2929 * sgiplay.c (close_sound_file):
2931 (restore_audio_port):
2936 (write_mulaw_8_chunk):
2937 (write_linear_chunk):
2938 (write_linear_32_chunk):
2939 (initialize_audio_port):
2942 (set_output_format):
2943 (adjust_audio_volume):
2944 (get_current_volumes):
2946 Always use new ANSI-style function prototypes.
2947 Use unistd.h for missing prototypes.
2949 * unexelfsgi.c (round_up):
2951 (unexec): Always use new ANSI-style function prototypes
2953 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2955 * console.h (struct console_methods): Always use full ANSI prototypes
2957 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2959 1999-03-02 Andy Piper <andy@xemacs.org>
2961 * event-stream.c (init_event_stream): make sure native mswindows
2962 gets an appropriate event loop.
2964 1999-02-22 Andy Piper <andy@xemacs.org>
2966 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2967 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2968 (mswindows_raise_frame): remove comment.
2970 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2972 * XEmacs 21.2.11 is released
2974 1999-02-25 SL Baur <steve@xemacs.org>
2976 * mule-charset.c (Qleading_byte): New variable to implement
2977 charset-leading-byte function.
2978 (Fcharset_property): Use it.
2979 (syms_of_mule_charset): Initialize it.
2980 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2982 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2984 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2985 bytes per pixel counting.
2987 1999-02-15 Andy Piper <andy@xemacs.org>
2989 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2992 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2994 * fns.c (Fbase64_encode_string): New optional argument
2997 1999-02-16 Martin Buchholz <martin@xemacs.org>
2999 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3000 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3002 1999-02-10 Martin Buchholz <martin@xemacs.org>
3004 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3005 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3007 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3009 * XEmacs 21.2.10 is released
3011 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3013 * process-nt.c (nt_send_process):
3014 Fix for process-send-region/process-send-string breaking when size
3015 of the input > 128 chars: change maximum chunk size for process
3016 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3019 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3021 * XEmacs 21.2.9 is released
3023 1999-01-30 Martin Buchholz <martin@xemacs.org>
3025 * bytecode.c (funcall_compiled_function): Call
3026 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3028 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3029 #ifdef 0 out unused macro.
3031 1999-01-27 Martin Buchholz <martin@xemacs.org>
3033 * gui.c (gui_parse_item_keywords_internal): Make static.
3035 1999-01-21 Andy Piper <andy@xemacs.org>
3037 * glyphs-msw.c: add xface support.
3038 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3039 (image_instantiator_format_create_glyphs_mswindows): do device
3040 specific initialisation for xfaces.
3041 (xbm_create_bitmap_from_data): line data must be padded to a word
3044 * glyphs-x.c (xface_validate): moved to glyphs.c
3045 (xface_normalize): ditto.
3046 (xface_possible_dest_types): ditto.
3047 (image_instantiator_format_create_glyphs_x): do device specific
3048 initialisation for xfaces.
3050 * glyphs.h: declare xface symbol.
3052 * glyphs.c: move generic xface support here.
3053 (xface_validate): moved from glyphs-x.c
3054 (xface_normalize): ditto.
3055 (xface_possible_dest_types): ditto.
3056 (image_instantiator_format_create): xface declarations moved from
3059 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3061 * event-stream.c (vars_of_event_stream): Fixing documentation.
3063 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3065 * glyphs-eimage.c (gif_instantiate): Correct handling of
3066 interlaced gifs to avoid writing past the end of the eimage
3069 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3071 * search.c (Freplace_match): Handle single backslash at end of
3074 1999-01-12 William M. Perry <wmperry@aventail.com>
3076 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3077 avoid connection errors.
3079 1999-01-12 Andy Piper <andy@xemacs.org>
3081 * redisplay-output.c (redisplay_update_line): backout change that
3082 shouldn't have gone ine.
3084 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3086 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3087 collide with ldap.el
3089 1999-01-11 Andy Piper <andy@xemacs.org>
3091 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3092 (DISPLAY_LINE_YPOS): new macro.
3094 * redisplay-msw.c (mswindows_output_string): use it.
3095 (mswindows_output_pixmap): ditto.
3096 (mswindows_output_display_block): ditto.
3098 * redisplay-output.c (redisplay_output_display_block): new
3099 function. just call the devmeth, maybe insert some generic code
3101 (compare_display_blocks): use it.
3102 (output_display_line): ditto.
3103 (redisplay_unmap_subwindows_maybe): new function. potentially
3104 unmap subwindows in the given area.
3106 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3109 1999-01-10 J. Kean Johnston <jkj@sco.com>
3111 * Makefile.in.in: Set value of moduledir
3112 - Changed DUMPENV to include $(MODULEPATH)
3113 - Added install rule to install header files for use by ellcc.
3115 * config.h.in: Added INHIBIT_SITE_MODULES
3116 - Added HAVE__DLERROR
3117 - Added HAVE_DLFCN_H
3118 - Added DLSYM_NEEDS_UNDERSCORE
3122 * emodules.c: New file containing dynamic loading code.
3124 * emodules.h: New file.
3126 * emacs.c: Added variables Vmodule_directory,
3127 Vsite_module_directory, Vconfigure_module_directory and
3128 Vconfigure_site_module_directory.
3129 - (main_1): Added new variable inhibit_site_modules and command
3130 line options `-no-site-modules' and `--no-site-modules'.
3131 - (main_1): Call syms_of_module() instead of syms_of_dll().
3132 - (main_1): Call vars_of_module().
3133 - (vars_of_emacs): Introduce inhibit-site-modules,
3134 module-directory, configure-module-directory,
3135 site-module-directory, and configure-site-module-directory to the
3138 * lisp.h: Declare load_module and list_modules, as well as
3139 Vmodule_directory, Vsite_module_directory,
3140 Vconfigure_module_directory and Vconfigure_site_module_directory.
3142 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3143 - Added correct support for site-lisp directory.
3145 * symbols.c (defsubr): Modified to allow modules to add new subrs
3147 - (defsubr_macro): Same.
3148 - (defvar_magick): Only use purespace when not initialized, so
3149 that loaded modules can still add symbols.
3151 * symsinit.h: Add definitions for syms_of_module(),
3152 vars_of_module(). Removed syms_of_dll().
3154 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3155 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3156 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3158 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3159 explicitly pass -belf for native cc.
3161 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3162 hard-coding the library name.
3164 1999-01-01 <martin@xemacs.org>
3166 * device-x.c (Fx_set_font_path):
3167 Add proper cast to permit compilation under C++.
3169 * buffer.c (directory_is_current_directory):
3170 Add proper casts to permit compilation under C++.
3172 1998-12-30 Damon Lipparelli <lipp@primus.com>
3174 * event-msw.c (mswindows_wnd_proc):
3175 Fixed failure when building with MSVC 5.
3177 1998-12-29 Martin Buchholz <martin@xemacs.org>
3179 * file-coding.c (decode_coding_iso2022):
3180 - Prevent crash when decoding ISO7/Lock detected files
3181 - the usual martin fiddling
3183 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3187 Fixed failures when building with MSVC.
3188 * unexnt.c (dump_bss_and_heap):
3189 Removed compiler warning by removing bss_data variable.
3191 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3193 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3194 so that packages that distribute their own fonts can access them.
3196 1998-12-28 Andy Piper <andy@xemacs.org>
3198 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3199 that have an image provided.
3201 * glyphs.h: add Q_image decl.
3203 * glyphs-widget.c new functionality allowing images in
3205 (check_valid_glyph_or_image): new function to validate
3206 glyphs passed in through :image.
3207 (widget_normalize): new function. convert :image parameters into
3208 real glyphs if not already so.
3209 (widget_instantiate_1): mess with size parameters to be similar to
3211 (syms_of_glyphs_widget): new keyword :image.
3212 (image_instantiator_format_create_glyphs_widget): normalize
3213 buttons and allow :image.
3215 1998-12-27 Andy Piper <andy@xemacs.org>
3217 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3219 * glyphs-widget.c (check_valid_anything): no-op function.
3220 (check_valid_callback): check callbacks in gui_items.
3221 (check_valid_symbol): as it sounds.
3222 (check_valid_string_or_vector): ditto.
3223 (widget_validate): modified for descriptors that are vectors or
3224 sequences of keyword/val pairs.
3225 (widget_instantiate_1): ditto.
3226 (image_instantiator_format_create_glyphs_widget): allow gui_item
3227 keywords in the instantiator.
3229 * gui.c (gui_parse_item_keywords_internal): renamed from
3230 gui_parse_item_keywords but taking error behaviour.
3231 (gui_parse_item_keywords): use it.
3232 (gui_parse_item_keywords_no_errors): ditto.
3233 (gui_item_add_keyval_pair): add Error_behavior flag and only
3234 signal invalid keywords if required.
3236 * gui.h: new gui signatures.
3238 * menubar.c (menu_parse_submenu_keywords): use new
3239 gui_item_add_keyval_pair signature.
3241 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3243 1998-12-28 Martin Buchholz <martin@xemacs.org>
3245 * XEmacs 21.2.8 is released.
3247 1998-12-28 Martin Buchholz <martin@xemacs.org>
3249 * editfns.c (get_home_directory):
3250 (user-home-directory): Simplify.
3253 * callproc.c (child_setup):
3254 - Environment variables were being passed to inferior processes
3255 using internal encoding.
3256 - Convert to external encoding.
3257 - Rename local var `tem' to better name `tail'.
3258 - Use Flength instead of `manual' calculation.
3260 * buffer.c (kill-buffer):
3262 (set-buffer-major-mode):
3264 - Fix up parameter names to correspond to docstrings.
3265 - Don't use `bufname' when a buffer will do as well.
3266 - Remove one unneeded GCPRO.
3268 * buffer.h (initial_directory):
3269 * buffer.c (init_initial_directory):
3270 - use correct conversions between internal and external format.
3271 (directory_is_current_directory): new function
3272 (init_buffer): convert initial_directory to internal format.
3273 - solve crashes when current working directory is non-ASCII.
3275 * alloc.c (xmalloc):
3278 - remove stupid casts, since XEmacs requires an ANSI C system.
3279 (lrecord_type_index): replace abort() with more readable assert().
3281 (reset_lcrecord_stats): remove.
3282 (sweep_lcrecords_1):
3283 - replace call to reset_lcrecord_stats() with call to xzero().
3285 1998-12-27 Martin Buchholz <martin@xemacs.org>
3287 * process-unix.c (unix_create_process):
3288 - Fix crash invoking program with non-ASCII name.
3289 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3290 - Remove unused variable `env'.
3291 - Rename `temp' to better name `save_errno'.
3292 - Reorganize code for clarity. But still too chicken to nuke the
3295 1998-12-24 Martin Buchholz <martin@xemacs.org>
3297 * XEmacs 21.2.7 is released.
3299 1998-12-23 Martin Buchholz <martin@xemacs.org>
3301 * glyphs.c (decode_device_ii_format):
3303 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3305 * glyphs-x.c (x_subwindow_instantiate):
3306 - A image instance mask was being assigned to a image instance type!
3307 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3309 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3311 * glyphs-x.h: Make indentation consistent.
3313 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3315 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3317 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3321 Move declarations of decode_device_ii_format and
3322 decode_image_instantiator_format into glyphs.h where they belong.
3324 1998-12-22 Martin Buchholz <martin@xemacs.org>
3326 * frame-x.c (x_delete_frame): Revert part of my changes at the
3327 suggestion of Gunnar Evermann - unfortunately no one really
3328 understands this code.
3330 * callproc.c (init_callproc): code cleanup.
3332 * free-hook.c (malloc):
3337 (block_input_malloc):
3338 (block_input_realloc):
3339 * device-x.c (x_delete_device):
3340 * emacs.c (voodoo_free_hook):
3341 * events.c (print_event):
3343 (CHECK_EVENT_TYPE2):
3344 (CHECK_EVENT_TYPE3):
3345 Use proper prototypes.
3346 Make C_E_T macros a little faster.
3347 Pedantic fiddly little changes. You really don't care.
3349 1998-12-22 Andy Piper <andy@xemacs.org>
3351 * redisplay-output.c (redisplay_clear_region): make sure that
3352 fg/bg colors get set even when we are in the border area.
3354 1998-12-13 Martin Buchholz <martin@xemacs.org>
3356 * console-msw.c: Function definitions follow coding standards
3357 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3359 1998-12-11 Martin Buchholz <martin@xemacs.org>
3361 * events.h (struct timeout_data):
3362 * event-tty.c (tty_timeout_to_emacs_event):
3363 * event-msw.c (mswindows_wm_timer_callback):
3364 * event-Xt.c (Xt_timeout_to_emacs_event):
3365 * event-msw.c (mswindows_cancel_dispatch_event):
3366 Make sure Lisp_Objects inside events are initialized to Qnil, not
3367 Qnull_pointer, which is now illegal.
3369 1998-12-10 Martin Buchholz <martin@xemacs.org>
3371 * lisp.h: Fix up prototypes to match alloc.c
3373 1998-12-08 Martin Buchholz <martin@xemacs.org>
3375 * windowsnt.h: Remove `support' for using index and rindex
3377 * filelock.c (current_lock_owner):
3378 - Change uses of index -> strchr, rindex -> strrchr
3380 1998-12-07 Martin Buchholz <martin@xemacs.org>
3382 * sysdep.c (set_descriptor_non_blocking):
3383 Since O_NONBLOCK is now always #defined, make use of fcntl
3384 conditional on F_SETFL being defined.
3386 * console-msw.c (DHEADgER):
3395 - max_align_t should not be visible to the user of the
3397 - use Bufbyte instead of char
3398 - parens around (FOOP (obj)) are always redundant.
3399 If they were necessary, we should fix the macro instead.
3400 - Always use string_data(foo) instead of foo->data.
3403 1998-12-06 Martin Buchholz <martin@xemacs.org>
3405 * frame-msw.c (mswindows_init_frame_1):
3406 - use make_lisp_hash_table, not Fmake_hash_table
3410 * alloc.c (make_vector): remove travesty
3414 (make_bit_vector_internal):
3416 (make_bit_vector_from_byte_vector):
3418 - make vector_equal a little faster.
3419 - Don't use variable name `new'.
3420 - Use size_t instead of EMACS_INT.
3421 - usual Martin-style pointless bit-twiddling.
3427 Make mapcar faster. In particular, make
3428 (mapc #'identity long-string)
3429 MUCH faster under Mule.
3430 * tests/automated/lisp-tests.el: Test 'em!
3432 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3435 1998-12-01 Martin Buchholz <martin@xemacs.org>
3437 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3438 Qnil, not NULL, to initialize `null' Lisp_Objects.
3440 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3442 * specifier.c (display_table_validate): Update.
3444 * redisplay.c (create_text_block): Use them.
3446 * glyphs.c (display_table_entry): New function.
3447 (get_display_tables): Ditto.
3449 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3451 * eldap.c (toplevel): Mention that eldap.c compiles with
3453 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3454 (Fldap_search_internal): Ditto
3456 1998-12-11 Martin Buchholz <martin@xemacs.org>
3458 * event-msw.c (mswindows_cancel_dispatch_event):
3459 Gratuitous code prettification
3462 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3464 * fns.c (Fnconc): Fix use of wrong_type_argument().
3466 * floatfns.c (Ffloat): Fix docstring.
3467 (Ffloat): Fix use of wrong_type_argument().
3469 (extract_float): Ditto.
3474 1998-12-06 Martin Buchholz <martin@xemacs.org>
3476 * frame-msw.c (mswindows_init_frame_1):
3477 - use make_lisp_hash_table, not Fmake_hash_table
3481 * alloc.c (make_vector): remove travesty
3485 (make_bit_vector_internal):
3487 (make_bit_vector_from_byte_vector):
3489 - make vector_equal a little faster.
3490 - Don't use variable name `new'.
3491 - Use size_t instead of EMACS_INT.
3492 - usual Martin-style pointless bit-twiddling.
3498 Make mapcar faster. In particular, make
3499 (mapc #'identity long-string)
3500 MUCH faster under Mule.
3501 * tests/automated/lisp-tests.el: Test 'em!
3503 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3506 1998-12-02 Didier Verna <verna@inf.enst.fr>
3508 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3509 accelerator field to nil for labels.
3511 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3513 * menubar-msw.c (displayable_menu_item):
3514 Escape occurrences of '&' and support occurrences of the
3515 '%_' accelerator indicator in menus.
3517 1998-11-26 Didier Verna <verna@inf.enst.fr>
3519 * dired.c (Fdirectory_files): use make_string instead of
3520 make_ext_string on the filename. The conversion external->internal
3521 format is already done in sys_readdir.
3523 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3525 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3527 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3530 (Belatedly) added Kirill to list of file's authors.
3531 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3532 quit checking. WM_PAINT messages cause redisplay, but
3533 windows' states are not necessarily stable when this function
3536 1998-12-17 Andy Piper <andy@xemacs.org>
3538 * strftime.c (zone_name): CONSTify.
3540 1998-12-15 Andy Piper <andy@xemacs.org>
3542 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3543 (mswindows_widget_property): return Qunbound when no property available.
3544 (mswindows_button_property): ditto.
3545 (mswindows_combo_property): ditto.
3546 (mswindows_widget_set_property): ditto.
3548 * glyphs-widget.c (check_valid_item_list): use properties.
3550 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3552 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3553 (Fimage_instance_property): ditto.
3554 * glyphs-widget.c (widget_property): ditto.
3555 (widget_set_property): ditto.
3557 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3558 as setting the class cursor so that GC actually changes the
3561 * config.h: don't undef MAIL_USE_POP.
3563 1998-12-13 Andy Piper <andy@xemacs.org>
3566 (image_instantiator_format_create_glyphs_mswindows): line ->
3568 (mswindows_label_instantiate): ditto. Play with window flags.
3569 (image_instantiator_format_create_glyphs_mswindows): ditto.
3570 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3572 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3573 cope with lines and labels.
3574 (static_instantiate): use widget_instantiate_1.
3576 (image_instantiator_format_create_glyphs_widget): ditto.
3578 1998-12-10 Andy Piper <andy@xemacs.org>
3580 * Makefile.in.in (objs): add gui.o
3582 1998-12-10 Andy Piper <andy@xemacs.org>
3584 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3587 1998-12-09 Andy Piper <andy@xemacs.org>
3589 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3590 image instance is removed so that the subwindow cache gets reset
3591 and thus destroyed images get GC'd.
3593 1998-12-08 Andy Piper <andy@xemacs.org>
3595 * gui-msw.c (mswindows_handle_gui_wm_command): call
3596 MARK_SUBWINDOWS_CHANGED.
3598 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3599 subwindows really get deleted.
3601 * redisplay.c: new variable subwindows_changed[_set].
3602 (redisplay_window): use it.
3603 (redisplay_frame): ditto.
3604 (redisplay_device): ditto.
3605 (redisplay_without_hooks): ditto.
3607 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3608 subwindows redisplay as per glyphs equivalent.
3609 * redisplay.h: ditto.
3610 (MARK_SUBWINDOWS_CHANGED): ditto.
3611 (RESET_CHANGED_SET_FLAGS): ditto.
3612 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3614 1998-12-07 Andy Piper <andy@xemacs.org>
3616 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3619 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3621 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3622 messages and paint widget glyphs as appropriate with their face fg
3625 1998-12-06 Andy Piper <andy@xemacs.org>
3627 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3628 here rather than in glyphs-widget - do this because we only want
3629 to provide what is really available.
3631 * glyphs.c (Fimage_instance_property): new function to get the
3632 properties of image instances. wires through to console specific
3633 methods and then to widget specific methods.
3634 (Fset_image_instance_property): ditto but for setting widget properties.
3635 (check_valid_face): make extern so that it can be used elsewhere.
3637 * glyphs-widget.c (widget_property): new function. gets the
3638 properties of widgets in general and wires the function through to
3639 widget specific ones.
3640 (widget_set_property): ditto but for setting widget properties.
3642 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3643 add items to the list. Play with window styles a bit to get the
3645 (mswindows_widget_property): break out specific widget properties.
3646 (mswindows_button_property): new function. gets the checked state
3648 (mswindows_combo_property): new function. gets the current
3649 selection in the combo box.
3650 (mswindows_widget_set_property): new function. sets specific
3651 properties of specific widgets.
3653 * glyphs-widget.c (check_valid_item_list): new function. check
3654 that items for a combo-box are just a list of strings.
3655 (combo_validate): new function. check there is an item list.
3656 (widget_instantiate_1): new function. renamed from
3657 widget_instantiate so that we can do slightly different things for
3659 (widget_instantiate): call widget_instantiate_1.
3660 (combo_instantiate): new function to instantiate combo boxes,
3661 defaults height to the pixel height of the number of items in the
3663 (syms_of_glyphs_widget): move widget keywords here.
3664 (image_instantiator_format_create_glyphs_widget): use new combo
3667 1998-12-04 Andy Piper <andy@xemacs.org>
3669 * event-msw.c (mswindows_wnd_proc): mule-ize.
3671 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3673 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3674 (resource_name_to_resource): ditto.
3675 (mswindows_resource_instantiate): ditto.
3676 (mswindows_widget_instantiate): ditto.
3677 (mswindows_widget_set_property): ditto.
3679 * redisplay-output.c (redisplay_output_subwindow): don't show
3680 subwindows if they are obscured at the edge of the frame, emacs
3681 gets into some sort of redisplay loop otherwise.
3683 * gui.h: prototype gui_item_selected_p.
3685 * gui.c (gui_item_selected_p): new function to determine the
3686 selected state of a gui_item.
3688 * frame.h (struct frame): add subwindows_changed flag.
3690 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3692 * glyphs.c (update_subwindow): new function to update a
3694 (update_frame_subwindows): new function to update all the
3695 subwindows on a frame.
3697 * console.h (struct console_methods): add update_subwindow.
3699 * glyphs-msw.c (mswindows_widget_property): return selected state
3700 for selected property.
3701 (mswindows_update_subwindow): new function. updates widget glyphs
3702 in redisplay as per menubars or toolbars e.g. selected state.
3703 (console_type_create_glyphs_mswindows): add update_subwindow.
3705 1998-12-03 Andy Piper <andy@xemacs.org>
3707 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3708 tty coding system things are such.
3710 * glyphs-widget.c (widget_face_font_info): new function for
3711 pulling out height and width metrics for a widget's face.
3712 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3715 * event-msw.c (mswindows_drain_windows_queue): translate messages
3716 that are destined for subwindows. This makes edit fields interact
3717 with the keyboard correctly.
3718 nuke warnings by #ifndef'ing out stuff not required by msg select().
3720 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3721 macro defining the iiforma without the symbol required by widget.
3722 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3724 * general.c (syms_of_general): add Qwidget, Qselected.
3726 * faces.c (complex_vars_of_faces): add widget face inheriting from
3729 1998-11-09 Andy Piper <andy@xemacs.org>
3731 * window.h (struct window): add a cache of subwindows on a
3734 * window.c (mark_window): mark the subwindow_instance_cache.
3735 (allocate_window): initialise the subwindow instance_cache.
3737 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3738 instead of the devmeth.
3739 (x_clear_toolbar): ditto.
3741 * redisplay-x.c (x_output_display_block): call
3742 redisplay_output_subwindow for subwindows and widgets.
3744 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3745 types to do nothing for.
3747 * lisp.h: declare new widget/subwindow symbols.
3749 * glyphs.c (image_instantiate): cache subwindows on a per-window
3751 (subwindow_possible_dest_types): new function for subwindow dest
3753 (subwindow_instantiate): generic instantiation of a
3754 subwindow. specialised by device multi-methods.
3755 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3757 (Fimage_instance_subwindow_id): ditto.
3758 (Fresize_subwindow): ditto.
3759 (Fforce_subwindow_map): ditto.
3761 * glyphs-x.c (x_print_image_instance): remove subwindow
3762 stuff. Handled genrically in glyphs.c.
3763 (x_image_instance_equal): ditto.
3764 (x_image_instance_hash): ditto.
3765 (x_finalize_image_instance): delete subwindows when required.
3766 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3767 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3768 glyph-based, subwindow implementation.
3769 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3771 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3773 (x_unmap_subwindow): new function to unmap X subwindows.
3774 (x_map_subwindow): new function to map X subwindows.
3775 (x_subwindow_instantiate): new function to instantiate X
3777 (x_resize_subwindow): new function to resize X subwindows.
3778 (console_type_create_glyphs_x): add subwindow functions.
3779 (image_instantiator_format_create_glyphs_x): add device
3780 multi-methods for xpm, xbm and subwindow.
3782 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3783 (subwindow-width): ditto.
3784 (subwindow-height): ditto.
3786 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3787 generally instantiating ms subwindows. Used by
3788 mswindows_*_instantiate.
3789 (mswindows_edit_instantiate): instantiate an edit field on a
3792 1998-11-04 Andy Piper <andy@xemacs.org>
3794 * symsinit.h: declare new functions.
3796 * redisplay.h: declare new functions.
3798 * redisplay-x.c (x_output_display_block): call
3799 redisplay_clear_region rather than x_clear_region.
3800 (x_output_string): ditto.
3801 (x_output_pixmap): ditto.
3802 (x_clear_to_window_end): ditto.
3803 (x_output_eol_cursor): ditto.
3804 (x_clear_region): only do X specific things. other duties handled
3805 in redisplay_clear_region.
3807 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3808 duties moved to redisplay_clear_region.
3810 * redisplay-output.c (clear_left_border): use
3811 redisplay_clear_region instead of device method.
3812 (clear_right_border): ditto.
3813 (output_display_line): ditto.
3814 (redisplay_output_subwindow): ditto.
3815 (redisplay_clear_top_of_window): ditto.
3816 (redisplay_clear_region): perform duties previously handled by
3817 device methods. call the appropriate device method at the
3818 end. unmap subwindows if necessary.
3820 * redisplay-msw.c (mswindows_output_string): use
3821 redisplay_clear_region instead of mswindows_clear_region.
3822 (mswindows_clear_to_window_end): ditto.
3823 (mswindows_output_display_block): output subwindows when required.
3824 (mswindows_clear_region): only do mswindows specific things,
3825 everything else is now handled in redisplay_clear_region.
3827 * gui.h: add item id hash defines and declare function prototypes.
3829 * gui.c (mark_gui_item): new function for marking gui_items.
3830 (gui_item_hash): generic hash function for generating command ids
3833 * gui-msw.c: new file.
3834 (mswindows_handle_gui_wm_command): new function to handle widget
3837 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3839 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3840 (DEFINE_DEVICE_IIFORMAT): ditto.
3841 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3842 (struct Lisp_Image_Instance): add widget and subwindow data plus
3843 appropriate access functions.
3845 * glyphs.c (decode_device_ii_format): new function for decoding
3846 image instantiator functions based on a device type as well as an
3848 (decode_image_instantiator_format): just call
3849 decode_device_ii_format with nil device.
3850 (add_entry_to_device_ii_format_list): new function for per device
3852 (add_entry_to_image_instantiator_format_list): just call
3853 add_entry_to_device_ii_format_list with nil device.
3854 (check_valid_vector): new function.
3855 (instantiate_image_instantiator): instantiate using per-format
3856 method and then per-format-per-device method (device
3857 multi-methods). signal an error if neither is possible.
3858 (mark_image_instance): cope with subwindows and widgets.
3859 (print_image_instance): ditto.
3860 (image_instance_equal): ditto.
3861 (image_instance_hash): ditto.
3862 (allocate_glyph): ditto.
3863 (glyph_width): ditto.
3864 (glyph_height_internal): ditto.
3865 (xpm_instantiate): removed because of device multi-methods.
3866 (mark_subwindow_cachels): new cachel functions for caching
3867 instantiated subwindows on a per-frame basis. mostly copied from
3868 glyph cachel functions.
3869 (update_subwindow_cachel_data): ditto.
3870 (add_subwindow_cachel): ditto.
3871 (get_subwindow_cachel_index): ditto.
3872 (reset_subwindow_cachels): ditto.
3873 (mark_subwindow_cachels_as_not_updated): ditto.
3874 (unmap_subwindow): generic unmapping of subwindows based on cachel
3876 (map_subwindow): ditto.
3877 (initialize_subwindow_image_instance): generic initialisation of
3879 (syms_of_glyphs): add widget keywords.
3881 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3884 1998-11-04 Andy Piper <andy@xemacs.org>
3886 * glyphs-widget.c: new file for instantiating widget type glyphs.
3887 (widget_possible_dest_types): new general dest type function for
3889 (widget_validate): ditto.
3890 (initialize_widget_image_instance): ditto
3891 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3892 before handing on control to device multi-methods.
3893 (syms_of_glyphs_widget): new function.
3894 (image_instantiator_format_create_glyphs_widget): new function,
3895 added placeholders for button, edit, combo, scrollbar
3896 (vars_of_glyphs_widget): new function.
3898 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3899 storing window ids of widgets.
3901 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3902 deletion of widget and subwindow glyphs.
3903 (mswindows_unmap_subwindow): new device function for unmapping
3904 subwindows on a msw frame.
3905 (mswindows_map_subwindow): ditto.
3906 (mswindows_register_image_instance): register instantiated widgets
3907 with the widget hastable.
3908 (mswindows_button_instantiate): instantiate a button type widget
3910 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3912 (image_instantiator_format_create_glyphs_mswindows): add device
3913 multi-methods for xbm, xpm, subwindow, edit and button.
3915 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3916 information about subwindows visible on the current frame. used by
3917 redisplay_clear_region to unmap subwindows as required.
3919 * frame.c (mark_frame): mark subwindow_cachels.
3920 (allocate_frame_core): instantiate subwindow_cachels.
3922 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3925 * event-msw.c (mswindows_wnd_proc): add call to
3926 mswindows_handle_gui_wm_command to handle widget callbacks.
3928 * emacs.c (main_1): add calls to glyphs-widget initialisation
3931 * console.h (struct console_methods): add
3932 unmap/map_subwindow_method for use be redisplay_clear_region to
3933 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3934 with by image instantiator multi-methods. Add
3935 resize_subwindow_method.
3937 * console-stream.c (stream_clear_region): change signature to
3938 match new generic clear region function.
3940 * Makefile.in.in: add glyphs-widget.o to list of objects.
3942 * console-msw.h (struct mswindows_frame): add widget hashtable for
3943 wiring command ids to callbacks.
3945 1998-12-16 Andy Piper <andy@xemacs.org>
3947 * XEmacs 21.2.6 is released
3949 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3951 * md5.c (Fmd5): Correctly initiate string input stream.
3953 * Makefile.in.in (tests): Add md5-tests.el.
3955 1998-12-06 Martin Buchholz <martin@xemacs.org>
3958 * alloc.c (make_vector): remove travesty
3962 (make_bit_vector_internal):
3964 (make_bit_vector_from_byte_vector):
3966 - make vector_equal a little faster.
3967 - Don't use variable name `new'.
3968 - Use size_t instead of EMACS_INT.
3969 - usual Martin-style pointless bit-twiddling.
3975 Make mapcar faster. In particular, make
3976 (mapc #'identity long-string)
3977 MUCH faster under Mule.
3978 * tests/automated/lisp-tests.el: Test 'em!
3980 1998-12-06 Martin Buchholz <martin@xemacs.org>
3982 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3985 1998-12-13 Martin Buchholz <martin@xemacs.org>
3987 * console-msw.c: Function definitions follow coding standards
3988 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3990 1998-12-11 Martin Buchholz <martin@xemacs.org>
3992 * events.h (struct timeout_data):
3993 * event-tty.c (tty_timeout_to_emacs_event):
3994 * event-msw.c (mswindows_wm_timer_callback):
3995 * event-Xt.c (Xt_timeout_to_emacs_event):
3996 * event-msw.c (mswindows_cancel_dispatch_event):
3997 Make sure Lisp_Objects inside events are initialized to Qnil, not
3998 Qnull_pointer, which is now illegal.
4000 1998-12-10 Martin Buchholz <martin@xemacs.org>
4002 * lisp.h: Fix up prototypes to match alloc.c
4004 1998-12-09 Andy Piper <andy@xemacs.org>
4006 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4007 XSETINT for assigning lisp objects.
4009 1998-12-07 Martin Buchholz <martin@xemacs.org>
4012 * console-msw.c (DHEADER):
4021 - max_align_t should not be visible to the user of the
4023 - use Bufbyte instead of char
4024 - parens around (FOOP (obj)) are always redundant.
4025 If they were necessary, we should fix the macro instead.
4026 - Always use string_data(foo) instead of foo->data.
4028 1998-12-07 Martin Buchholz <martin@xemacs.org>
4030 * sysdep.c (set_descriptor_non_blocking):
4031 Since O_NONBLOCK is now always #defined, make use of fcntl
4032 conditional on F_SETFL being defined.
4034 1998-12-09 Andy Piper <andy@xemacs.org>
4036 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4037 that got removed in the merge
4039 1998-11-30 Greg Klanderman <greg@alphatech.com>
4041 * dired.c (vars_of_dired): bugfix for previous conditionalization
4042 of user-name-completion on non- Windows NT.
4044 1998-12-08 Martin Buchholz <martin@xemacs.org>
4046 * windowsnt.h: Remove `support' for using index and rindex
4048 * filelock.c (current_lock_owner):
4049 - Change uses of index -> strchr, rindex -> strrchr
4051 1998-12-06 Martin Buchholz <martin@xemacs.org>
4053 * frame-msw.c (mswindows_init_frame_1):
4054 - use make_lisp_hash_table, not Fmake_hash_table
4057 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4059 * XEmacs 21.2.5 is released
4061 1998-11-30 Martin Buchholz <martin@xemacs.org>
4063 * xselect.c (receive_incremental_selection):
4064 * xselect.c (x_get_window_property):
4065 * xmu.c (XmuReadBitmapDataFromFile):
4066 * xmu.c (XmuCursorNameToIndex):
4067 * xgccache.c (describe_gc_cache):
4068 * xgccache.c (gc_cache_lookup):
4069 * xgccache.c (free_gc_cache):
4070 * xgccache.c (make_gc_cache):
4072 * window.c (map_windows_1):
4073 * window.c (Fother_window_for_scrolling):
4074 * window.c (window_scroll):
4075 * window.c (change_window_height):
4076 * window.c (Fsplit_window):
4077 * window.c (window_left_gutter_width):
4078 * window.c (window_modeline_height):
4079 * window.c (invalidate_vertical_divider_cache_in_window):
4080 * window.c (window_needs_vertical_divider_1):
4081 * window.c (update_mirror_internal):
4082 * window.c (SET_LAST_FACECHANGE):
4083 * widget.c (Fwidget_plist_member):
4084 * unexec.c (copy_text_and_data):
4085 * unexcw.c (copy_executable_and_dump_data_section):
4087 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4088 * tooltalk.c (struct Lisp_Tooltalk_Message):
4089 * toolbar.h (struct toolbar_button):
4090 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4091 * toolbar.c (recompute_overlaying_specifier):
4092 * toolbar.c (toolbar_validate):
4093 * toolbar.c (toolbar_button_at_pixpos):
4094 * toolbar.c (get_toolbar_coords):
4095 * toolbar.c (update_frame_toolbars):
4097 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4098 * toolbar-msw.c (mswindows_find_toolbar_pos):
4099 * toolbar-msw.c (mswindows_output_toolbar):
4100 * toolbar-msw.c (mswindows_clear_toolbar):
4109 * sysdep.c (sys_fopen):
4110 * sysdep.c (sys_open):
4111 * sysdep.c (tty_init_sys_modes_on_device):
4112 * sysdep.c (get_eof_char):
4113 * sysdep.c (child_setup_tty):
4114 * sysdep.c (set_descriptor_non_blocking):
4116 * syntax.c (scan_words):
4119 * symeval.h (struct symbol_value_varalias):
4120 * symeval.h (struct symbol_value_forward):
4121 * symbols.c (syms_of_symbols):
4122 * symbols.c (init_symbols_once_early):
4123 * symbols.c (Fbuilt_in_variable_type):
4124 * symbols.c (Fsymbol_value_in_buffer):
4125 * symbols.c (default_value):
4127 * symbols.c (find_symbol_value_quickly):
4128 * symbols.c (store_symval_forwarding):
4129 * symbols.c (set_default_console_slot_variable):
4130 * symbols.c (set_default_buffer_slot_variable):
4131 * symbols.c (verify_ok_for_buffer_local):
4132 * symbols.c (symbol_is_constant):
4133 * symbols.c (oblookup):
4134 * symbols.c (Funintern):
4135 * symbols.c (Fintern):
4136 * symbols.c (check_obarray):
4138 * specifier.h (struct specifier_methods):
4140 * specifier.c (specifier_instance):
4141 * specifier.c (specifier_instance_from_inst_list):
4142 * specifier.c (decode_locale_type):
4143 * specifier.c (specifier_equal):
4144 * specifier.c (finalize_specifier):
4145 * specifier.c (prune_specifiers):
4146 * specifier.c (kill_specifier_buffer_locals):
4147 * sound.c (init_native_sound):
4150 * search.c (Fmatch_data):
4151 * search.c (match_limit):
4152 * search.c (Freplace_match):
4153 * search.c (skip_chars):
4154 * search.c (scan_buffer):
4156 * scrollbar.c (specifier_vars_of_scrollbar):
4157 * scrollbar.c (Fscrollbar_set_hscroll):
4158 * scrollbar.c (vertical_scrollbar_changed_in_window):
4159 * scrollbar.c (release_window_mirror_scrollbars):
4160 * scrollbar.c (free_scrollbar_instance):
4163 * s/msdos.h (O_BINARY):
4165 * s/freebsd.h (LIBS_TERMCAP):
4166 * regex.c (re_match_2_internal):
4167 * regex.c (compile_extended_range):
4168 * regex.c (POP_FAILURE_POINT):
4169 * regex.c (PUSH_FAILURE_POINT):
4170 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4172 * redisplay.h (struct display_line):
4173 * redisplay.h (struct rune):
4174 * redisplay.c (vars_of_redisplay):
4175 * redisplay.c (redisplay_variable_changed):
4176 * redisplay.c (UPDATE_CACHE_RETURN):
4177 * redisplay.c (validate_line_start_cache):
4178 * redisplay.c (mark_redisplay_structs):
4179 * redisplay.c (mark_glyph_block_dynarr):
4180 * redisplay.c (window_line_number):
4181 * redisplay.c (redisplay_frame):
4182 * redisplay.c (redisplay_window):
4183 * redisplay.c (generate_modeline):
4184 * redisplay.c (create_right_glyph_block):
4185 * redisplay.c (create_left_glyph_block):
4186 * redisplay.c (create_text_block):
4188 * redisplay-x.c (x_output_hline):
4189 * redisplay-x.c (x_output_vertical_divider):
4190 * redisplay-tty.c (tty_output_display_block):
4191 * redisplay-output.c (output_display_line):
4192 * redisplay-output.c:
4193 * redisplay-msw.c (mswindows_output_vertical_divider):
4194 * redisplay-msw.c (mswindows_ring_bell):
4195 * redisplay-msw.c (mswindows_output_cursor):
4199 * puresize.h (RAW_PURESIZE):
4200 * profile.c (syms_of_profile):
4201 * profile.c (Fstart_profiling):
4202 * profile.c (sigprof_handler):
4205 * process.c (vars_of_process):
4206 * process.c (read_process_output):
4207 * process.c (get_process):
4209 * process-unix.c (unix_open_multicast_group):
4210 * process-unix.c (unix_get_tty_name):
4211 * process-unix.c (unix_send_process):
4212 * process-unix.c (unix_reap_exited_processes):
4213 * process-unix.c (unix_create_process):
4214 * process-unix.c (unix_init_process_io_handles):
4215 * process-unix.c (allocate_pty):
4217 * process-nt.c (nt_open_network_stream):
4218 * process-nt.c (nt_update_status_if_terminated):
4219 * process-nt.c (nt_finalize_process_data):
4221 * print.c (debug_short_backtrace):
4222 * print.c (debug_backtrace):
4223 * print.c (print_symbol):
4224 * print.c (print_internal):
4225 * print.c (print_cons):
4226 * print.c (Fwrite_char):
4227 * print.c (print_prepare):
4228 * print.c (canonicalize_printcharfun):
4229 * print.c (output_string):
4232 * opaque.c (allocate_managed_opaque):
4234 * offix.c (DndSetData):
4235 * objects.c (face_boolean_create):
4236 * objects.c (font_instantiate):
4237 * objects.c (font_create):
4238 * objects.c (color_create):
4239 * objects.c (finalize_font_instance):
4240 * objects.c (finalize_color_instance):
4242 * objects-x.c (x_font_instance_truename):
4244 * objects-x.c (x_initialize_font_instance):
4245 * objects-x.c (allocate_nearest_color):
4246 * objects-tty.c (tty_initialize_font_instance):
4247 * objects-tty.c (tty_initialize_color_instance):
4248 * objects-msw.c (mswindows_initialize_color_instance):
4249 * ntproc.c (syms_of_ntproc):
4250 * ntproc.c (Fwin32_set_process_priority):
4251 * ntproc.c (sys_spawnve):
4253 * ntheap.c (get_data_end):
4257 * nt.c (generate_inode_val):
4258 * nt.c (sys_rename):
4260 * mule-wnnfns.c (Fwnn_hinsi_number):
4261 * mule-wnnfns.c (Fwnn_yuragi):
4262 * mule-wnnfns.c (Fwnn_common_learn):
4263 * mule-wnnfns.c (Fwnn_suffix_learn):
4264 * mule-wnnfns.c (Fwnn_prefix_learn):
4265 * mule-wnnfns.c (Fwnn_okuri_learn):
4266 * mule-wnnfns.c (Fwnn_complex_conv):
4267 * mule-wnnfns.c (Fwnn_last_is_first):
4268 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4269 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4270 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4271 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4272 * mule-wnnfns.c (Fwnn_hinsi_list):
4273 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4274 * mule-wnnfns.c (Fwnn_dict_search):
4275 * mule-wnnfns.c (Fwnn_word_toroku):
4276 * mule-wnnfns.c (Fwnn_hindo_update):
4277 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4278 * mule-wnnfns.c (Fwnn_kakutei):
4279 * mule-wnnfns.c (Fwnn_begin_henkan):
4280 * mule-wnnfns.c (Fwnn_dict_comment):
4281 * mule-wnnfns.c (Fwnn_dict_add):
4282 * mule-wnnfns.c (Fwnn_open):
4283 * mule-mcpath.c (mc_getcwd):
4284 * mule-coding.c (vars_of_mule_coding):
4285 * mule-coding.c (convert_to_external_format):
4286 * mule-coding.c (encoding_marker):
4287 * mule-coding.c (decoding_marker):
4288 * mule-coding.c (Fcopy_coding_system):
4289 * mule-coding.c (Fmake_coding_system):
4290 * mule-coding.c (Fcoding_system_list):
4291 * mule-coding.c (Ffind_coding_system):
4292 * mule-coding.c (symbol_to_eol_type):
4294 * mule-charset.c (complex_vars_of_mule_charset):
4295 * mule-charset.c (vars_of_mule_charset):
4296 * mule-charset.c (Fset_charset_ccl_program):
4297 * mule-charset.c (struct charset_list_closure):
4298 * mule-charset.c (Ffind_charset):
4299 * mule-charset.c (make_charset):
4300 * mule-charset.c (non_ascii_valid_char_p):
4302 * mule-ccl.c (ccl_driver):
4303 * mule-canna.c (c2mu):
4304 * mule-canna.c (Fcanna_henkan_begin):
4305 * mule-canna.c (Fcanna_parse):
4306 * mule-canna.c (Fcanna_store_yomi):
4307 * mule-canna.c (Fcanna_touroku_string):
4308 * mule-canna.c (Fcanna_initialize):
4310 * menubar.c (menu_parse_submenu_keywords):
4311 * menubar-x.c (make_dummy_xbutton_event):
4312 * menubar-x.c (set_frame_menubar):
4313 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4316 * menubar-msw.c (mswindows_popup_menu):
4317 * menubar-msw.c (mswindows_update_frame_menubars):
4318 * menubar-msw.c (mswindows_handle_wm_command):
4319 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4320 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4321 * menubar-msw.c (update_frame_menubar_maybe):
4322 * menubar-msw.c (populate_or_checksum_helper):
4323 * menubar-msw.c (empty_menu):
4326 * marker.c (set_marker_internal):
4327 * marker.c (print_marker):
4330 * lstream.c (lisp_buffer_rewinder):
4331 * lstream.c (mark_lstream):
4333 * lrecord.h (struct lrecord_header):
4334 * lread.c (readevalloop):
4335 * lread.c (locate_file):
4336 * lread.c (locate_file_in_directory):
4337 * lread.c (Flocate_file):
4338 * lread.c (load_force_doc_string_unwind):
4339 * lread.c (ebolify_bytecode_constants):
4344 * linuxplay.c (linux_play_data_or_file):
4345 * linuxplay.c (audio_init):
4348 * keymap.c (describe_map):
4349 * keymap.c (describe_map_mapper):
4350 * keymap.c (Fdescribe_bindings_internal):
4351 * keymap.c (Fsingle_key_description):
4352 * keymap.c (map_keymap_sorted):
4353 * keymap.c (get_relevant_keymaps):
4354 * keymap.c (Flookup_key):
4355 * keymap.c (raw_lookup_key_mapper):
4356 * keymap.c (Fdefine_key):
4357 * keymap.c (Fevent_matches_key_specifier_p):
4358 * keymap.c (key_desc_list_to_event):
4359 * keymap.c (define_key_parser):
4360 * keymap.c (define_key_check_and_coerce_keysym):
4361 * keymap.c (keymap_submaps):
4362 * keymap.c (keymap_store_internal):
4363 * keymap.c (keymap_delete_inverse_internal):
4364 * keymap.c (keymap_store_inverse_internal):
4365 * keymap.c (print_keymap):
4366 * keymap.c (Lisp_Keymap):
4369 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4370 * insdel.c (make_gap):
4371 * input-method-xlib.c (get_XIM_input):
4372 * input-method-xlib.c (XIM_init_frame):
4377 * gui-x.c (button_item_to_widget_value):
4378 * gui-x.c (popup_selection_callback):
4379 * glyphs.h (struct image_instantiator_methods):
4380 * glyphs.c (mark_glyph_cachels):
4381 * glyphs.c (Fglyph_type):
4382 * glyphs.c (image_instantiate):
4383 * glyphs.c (image_create):
4384 * glyphs.c (make_image_instance_1):
4385 * glyphs.c (finalize_image_instance):
4387 * glyphs-x.c (finalize_subwindow):
4388 * glyphs-x.c (xface_validate):
4389 * glyphs-x.c (x_locate_pixmap_file):
4390 * glyphs-x.c (convert_EImage_to_XImage):
4392 * glyphs-msw.c (mswindows_resource_instantiate):
4393 * glyphs-msw.c (xpm_to_eimage):
4394 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4395 * glyphs-eimage.c (tiff_instantiate):
4396 * glyphs-eimage.c (png_instantiate):
4397 * glyphs-eimage.c (struct png_error_struct):
4398 * glyphs-eimage.c (gif_memory_storage):
4401 * getloadavg.c (getloadavg):
4404 * free-hook.c (log_gcpro):
4405 * free-hook.c (check_malloc):
4406 * free-hook.c (check_free):
4407 * free-hook.c (ROUND_UP_TO_PAGE):
4409 * frame.h (struct frame):
4411 * frame.c (change_frame_size_1):
4412 * frame.c (allocate_frame_core):
4414 * frame-x.c (x_focus_on_frame):
4415 * frame-x.c (x_init_frame_2):
4416 * frame-x.c (x_popup_frame):
4417 * frame-x.c (xemacs_XtPopup):
4419 * frame-x.c (Foffix_start_drag_internal):
4420 * frame-x.c (x_cde_destroy_callback):
4421 * frame-x.c (x_wm_hack_wm_protocols):
4422 * frame-tty.c (tty_frame_visible_p):
4423 * frame-msw.c (mswindows_make_frame_invisible):
4424 * frame-msw.c (mswindows_after_init_frame):
4425 * frame-msw.c (mswindows_init_frame_1):
4426 * fns.c (syms_of_fns):
4427 * fns.c (Fbase64_decode_string):
4429 * fns.c (Ffillarray):
4430 * fns.c (Fobject_plist):
4432 * fns.c (Fcanonicalize_lax_plist):
4433 * fns.c (Fcanonicalize_plist):
4434 * fns.c (Fplist_remprop):
4435 * fns.c (Fplist_get):
4436 * fns.c (advance_plist_pointers):
4437 * fns.c (internal_plist_put):
4438 * fns.c (Fnreverse):
4441 * fns.c (Fsubstring):
4442 * fns.c (Fbvconcat):
4444 * fns.c (length_with_bytecode_hack):
4445 * fns.c (print_bit_vector):
4447 * floatfns.c (Ffloor):
4449 * floatfns.c (in_float_error):
4450 * fileio.c (Ffile_modes):
4451 * fileio.c (Fexpand_file_name):
4452 * fileio.c (Fmake_temp_name):
4453 * fileio.c (Ffile_name_nondirectory):
4454 * fileio.c (Ffile_name_directory):
4456 * file-coding.c (vars_of_mule_coding):
4457 * file-coding.c (convert_to_external_format):
4458 * file-coding.c (encoding_marker):
4459 * file-coding.c (decoding_marker):
4460 * file-coding.c (Fcopy_coding_system):
4461 * file-coding.c (Fmake_coding_system):
4462 * file-coding.c (struct coding_system_list_closure):
4463 * file-coding.c (Ffind_coding_system):
4464 * file-coding.c (symbol_to_eol_type):
4466 * faces.h (struct face_cachel):
4467 * faces.c (vars_of_faces):
4468 * faces.c (face_property_was_changed):
4469 * faces.c (mark_face_cachels):
4470 * faces.c (temporary_faces_list):
4471 * faces.c (struct face_list_closure):
4473 * extents.h (struct extent):
4474 * extents.c (vars_of_extents):
4475 * extents.c (struct copy_string_extents_1_arg):
4476 * extents.c (add_string_extents_mapper):
4477 * extents.c (Fextent_property):
4478 * extents.c (Fset_extent_property):
4479 * extents.c (symbol_to_glyph_layout):
4480 * extents.c (properties_equal):
4481 * extents.c (print_extent):
4482 * extents.c (print_extent_1):
4483 * extents.c (extent_in_region_p):
4484 * extents.c (gap_array_make_gap):
4486 * events.h (struct Lisp_Event):
4488 * events.c (Fevent_properties):
4489 * events.c (format_event_object):
4490 * events.c (Fmake_event):
4491 * events.c (event_equal):
4492 * events.c (print_event):
4493 * events.c (mark_event):
4494 * event-stream.c ((read-char)
4495 * event-stream.c (vars_of_event_stream):
4496 * event-stream.c (syms_of_event_stream):
4497 * event-stream.c (Fset_recent_keys_ring_size):
4498 * event-stream.c (Fsit_for):
4499 * event-stream.c (Fnext_event):
4500 * event-stream.c (execute_help_form):
4501 * event-stream.c (maybe_kbd_translate):
4503 * event-msw.c (vars_of_event_mswindows):
4504 * event-msw.c (mswindows_wnd_proc):
4505 * event-msw.c (mswindows_need_event):
4506 * event-msw.c (mswindows_drain_windows_queue):
4507 * event-msw.c (mswindows_pump_outstanding_events):
4509 * event-msw.c (slurp_thread):
4510 * event-msw.c (struct ntpipe_slurp_stream):
4511 * event-msw.c (HANDLE_TO_USID):
4512 * event-Xt.c (emacs_Xt_handle_magic_event):
4513 * event-Xt.c (x_event_to_emacs_event):
4514 * event-Xt.c (x_reset_modifier_mapping):
4515 * event-Xt.c (x_reset_key_mapping):
4517 * eval.c (syms_of_eval):
4518 * eval.c (warn_when_safe):
4519 * eval.c (warn_when_safe_lispobj):
4520 * eval.c (Fbacktrace_frame):
4521 * eval.c (Fbacktrace):
4522 * eval.c (top_level_set):
4523 * eval.c (unbind_to_hairy):
4524 * eval.c (specbind_magic):
4525 * eval.c (specbind_unwind_wasnt_local):
4526 * eval.c (call2_trapping_errors):
4527 * eval.c (call1_trapping_errors):
4528 * eval.c (catch_them_squirmers_call2):
4529 * eval.c (call0_trapping_errors):
4530 * eval.c (run_hook_trapping_errors):
4531 * eval.c (catch_them_squirmers_eval_in_buffer):
4532 * eval.c (call4_in_buffer):
4533 * eval.c (call3_in_buffer):
4534 * eval.c (call2_in_buffer):
4535 * eval.c (call1_in_buffer):
4536 * eval.c (call0_in_buffer):
4537 * eval.c (run_hook):
4538 * eval.c (run_hook_with_args_in_buffer):
4541 * eval.c (do_autoload):
4542 * eval.c (un_autoload):
4543 * eval.c (Fautoload):
4544 * eval.c (Finteractive_p):
4545 * eval.c (Fcommand_execute):
4546 * eval.c (signal_quit):
4547 * eval.c (call_with_suspended_errors):
4548 * eval.c (signal_error):
4549 * eval.c (return_from_signal):
4550 * eval.c (Fcall_with_condition_handler):
4551 * eval.c (run_condition_case_handlers):
4552 * eval.c (condition_case_1):
4553 * eval.c (Funwind_protect):
4554 * eval.c (unwind_to_catch):
4555 * eval.c (internal_catch):
4556 * eval.c (Fmacroexpand_internal):
4557 * eval.c (Fuser_variable_p):
4558 * eval.c (Fdefconst):
4560 * eval.c (Ffunction):
4561 * eval.c (signal_call_debugger):
4562 * eval.c (call_debugger):
4565 * emacs.c (sort_args):
4569 * editfns.c (Fencode_time):
4570 * editfns.c (Fdecode_time):
4571 * editfns.c (Fuser_full_name):
4573 * editfns.c (save_excursion_restore):
4576 * doprnt.c (emacs_doprnt_1):
4577 * doc.c (verify_doc_mapper):
4578 * doc.c (Fsnarf_documentation):
4579 * doc.c (Fdocumentation):
4581 * dired.c (user_name_completion):
4582 * dired.c (Fdirectory_files):
4585 * dgif_lib.c (FreeSavedImages):
4586 * dgif_lib.c (DGifGetImageDesc):
4588 * device.h (struct device):
4589 * device.c (Fselect_device):
4590 * device.c (allocate_device):
4592 * device-x.c (Fx_keysym_on_keyboard_p):
4593 * device-x.c (Fx_valid_keysym_name_p):
4594 * device-x.c (x_IO_error_handler):
4595 * device-x.c (x_delete_device):
4596 * device-x.c (x_finish_init_device):
4597 * device-x.c (x_init_device):
4599 * device-msw.c (mswindows_init_device):
4601 * database.c (vars_of_database):
4602 * database.c (Fput_database):
4603 * database.c (Fopen_database):
4604 * database.c (berkdb_remove):
4605 * database.c (berkdb_put):
4606 * database.c (Fdatabasep):
4607 * database.c (print_database):
4609 * data.c (vars_of_data):
4610 * data.c (syms_of_data):
4611 * data.c (init_errors_once_early):
4612 * data.c (prune_weak_lists):
4613 * data.c (finish_marking_weak_lists):
4614 * data.c (print_weak_list):
4616 * data.c (Fstring_to_number):
4617 * data.c (Fnumber_to_string):
4618 * data.c (Findirect_function):
4621 * data.c (Fsubr_interactive):
4623 * data.c (Fkeywordp):
4626 * console.h (CONSOLE_NAME):
4628 * console.c (vars_of_console):
4629 * console.c (Fselect_console):
4631 * console-x.h (DEVICE_X_COLORMAP):
4632 * console-x.h (struct x_device):
4633 * console-x.c (x_device_to_console_connection):
4634 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4635 * console-tty.c (tty_init_console):
4637 * console-msw.h (struct mswindows_frame):
4640 * cmds.c (internal_self_insert):
4641 * cmds.c (Fforward_line):
4642 * cmds.c (Fforward_char):
4645 * chartab.c (mark_char_table_entry):
4647 * casefiddle.c (casify_word):
4648 * callproc.c (child_setup):
4649 * callproc.c (Fcall_process_internal):
4651 * callint.c (Fcall_interactively):
4653 * bytecode.c (execute_rare_opcode):
4654 * bytecode.c (execute_optimized_program):
4657 * buffer.h (BUFFER_REALLOC):
4658 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4659 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4661 * buffer.h (MAP_INDIRECT_BUFFERS):
4662 * buffer.h (CHECK_LIVE_BUFFER):
4663 * buffer.c (init_initial_directory):
4664 * buffer.c (complex_vars_of_buffer):
4665 * buffer.c (vars_of_buffer):
4666 * buffer.c (finish_init_buffer):
4667 * buffer.c (Fget_file_buffer):
4668 * buffer.c (Fbuffer_list):
4669 * buffer.c (mark_buffer):
4670 * balloon_help.c (balloon_help_move_to_pointer):
4671 * balloon_help.c (show_help):
4674 * alloc.c (garbage_collect_1):
4675 * alloc.c (sweep_strings):
4676 * alloc.c (sweep_compiled_functions):
4677 * alloc.c (sweep_bit_vectors_1):
4678 * alloc.c (sweep_vectors_1):
4679 * alloc.c (sweep_lcrecords_1):
4680 * alloc.c (tick_lcrecord_stats):
4681 * alloc.c (pure_string_sizeof):
4682 * alloc.c (mark_conses_in_list):
4683 * alloc.c (mark_object):
4684 * alloc.c (report_pure_usage):
4685 * alloc.c (make_pure_float):
4686 * alloc.c (make_pure_string):
4687 * alloc.c (free_managed_lcrecord):
4688 * alloc.c (mark_string):
4689 * alloc.c (noseeum_make_marker):
4690 * alloc.c (allocate_event):
4691 * alloc.c (Fbit_vector):
4692 * alloc.c (Fvector):
4693 * alloc.c (make_float):
4694 * alloc.c (Fmake_list):
4696 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4697 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4698 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4699 * alloc.c (dbg_constants):
4700 * alloc.c (gc_record_type_p):
4701 * alloc.c (free_lcrecord):
4702 * alloc.c (xmalloc):
4703 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4705 * Makefile.in.in (mostlyclean):
4706 * Makefile.in.in (external_client_xlib_objs_nonshared):
4707 * Makefile.in.in (temacs_link_args):
4708 * Makefile.in.in (release):
4709 * Makefile.in.in (dnd_objs):
4710 * Makefile.in.in (objs):
4711 * Makefile.in.in (PROGNAME):
4712 * EmacsShell.c: cast strings to (XtPointer)
4713 * EmacsFrame.c: cast strings to (XtPointer)
4715 - rewrite basic lisp functions for speed
4716 - rewrite bytecode interpreter for speed
4717 - rewrite list looping constructs for speed and safety using
4719 - use size_t where appropriate.
4720 - new hashtable implementation
4721 - cleanup implementation of opaques
4722 - opaques can now be purecopy'ed
4723 - move some cl functionality into C for speed.
4724 - remove last remaining VMS support
4726 - improve gdb/dbx debugger support
4727 - move pure.c back into alloc.c for performance
4728 - enable report_pure_usage() if --memory-usage-stats
4729 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4730 - don't use symbols with leading `_' or embedded `__'
4731 - globally cleanup duplicated semicolons `;;'
4732 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4734 - globally replace O_NDELAY with O_NONBLOCK.
4735 - globally replace CDISABLE with _POSIX_VDISABLE.
4736 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4737 - define (and maybe use!) STDERR_FILENO and friends.
4738 - add support for macros defined in C
4739 - `when', `unless', `not' and `defalias' now defined in C,
4740 so that they are universally available.
4741 - rename defvar_mumble to defvar_magic
4742 - rename RETURN__ to RETURN_SANS_WARNINGS
4743 - use consistent style of initial caps in error messages
4744 - implement last, butlast, nbutlast, copy-list in C.
4745 - provide typedefs for all struct Lisp_foo types
4746 - Lisp_Objects must be initialized to Qnil rather than 0.
4747 - make sure XEmacs runs (slowly) with always_gc == 1;
4748 - fast and safe LOOP_* macros
4749 - change calls to XSETOBJ to XSETFOO
4750 - replace calls to XSETINT by make_int()
4751 - plug up memory leaks
4752 - use style markobj (foo), not silly ((markobj) (foo))
4753 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4755 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4757 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4759 1998-11-28 SL Baur <steve@altair.xemacs.org>
4761 * XEmacs 21.2-beta4 is released.
4763 1998-11-27 SL Baur <steve@altair.xemacs.org>
4765 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4766 property in control-1 charset.
4767 From Julian Bradfield <jcb@daimi.au.dk>
4769 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4771 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4773 Add stub for :label.
4775 * gui.c (gui_item_add_keyval_pair): ditto.
4777 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4778 :key-sequence keyword.
4780 Support :active for submenus like the Windows code and FSF Emacs.
4782 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4784 * dired.c (make_directory_hash_table): make_string() is OK because
4785 readdir() Mule-encapsulates.
4787 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4789 * fns.c (Fbase64_encode_string): Fix docstring.
4790 (Fbase64_decode_string): Ditto.
4792 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4794 * editfns.c (Ftranslate_region): Use
4795 convert_bufbyte_string_into_emchar_string().
4797 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4799 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4801 (Ftranslate_region): Turn table into an array of Emchars for
4804 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4806 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4808 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4810 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4811 type `char' with nils.
4813 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4814 for tables of type `char'.
4816 1998-11-26 Didier Verna <verna@inf.enst.fr>
4818 * input-method-xlib.c (Initialize_Locale): don't call
4819 XtSetLanguageProc. We've done the whole work here.
4820 * input-method-xfs.c (Initialize_Locale): ditto.
4821 * input-method-motif.c (Initialize_Locale): ditto.
4823 1998-11-26 Didier Verna <verna@inf.enst.fr>
4825 * process-unix.c (unix_create_process): handle properly
4826 Vfile_name_coding_system for converting the program and directory
4829 1998-11-27 SL Baur <steve@altair.xemacs.org>
4831 * m/arm.h: New file.
4832 From James LewisMoss <dres@ioa.com>
4834 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4837 Fix the realpath() problem of UnixWare2.1.3.
4838 Patches for NEC's sysv4.2 machine.
4840 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4842 * dired.c (Fdirectory_files): Remove redundant code.
4844 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4846 * fns.c (free_malloced_ptr): New function.
4847 (XMALLOC_OR_ALLOCA): New macro.
4848 (XMALLOC_UNBIND): Ditto.
4849 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4850 to be freed in case of non-local exit.
4851 (Fbase64_encode_string): Ditto.
4852 (Fbase64_decode_region): Ditto.
4853 (Fbase64_decode_string): Ditto.
4854 (STORE_BYTE): New macro.
4855 (base64_decode_1): Use it.
4857 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4859 * fns.c (base64_value_to_char): Base64 stuff.
4861 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4863 * editfns.c (Fbuffer_substring): New function.
4865 * lisp.h: Declare make_string_from_buffer_no_extents().
4867 * insdel.c (make_string_from_buffer_1): New function.
4868 (make_string_from_buffer_no_extents): Ditto.
4870 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4872 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4873 sound work on AIX with OSS installed. Linux should still work.
4875 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4877 * config.h.in: name change for cygwin/version.h
4879 * configure.in: check for cygwin/version.h now.
4881 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4882 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4883 move cygwin32/version.h to cygwin/version.h
4885 1998-11-03 Olivier Galibert <galibert@pobox.com>
4887 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4890 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4892 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4893 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4894 enable BROKEN_SIGIO under b20 to make QUIT work.
4896 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4898 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4899 to fit within the constraints of the screen size. I.e. make the
4900 frame small enough to fit and move it if some of it will be
4903 1998-10-19 Greg Klanderman <greg@alphatech.com>
4905 * dired.c: conditionalize inclusion of user-name-completion
4906 primitives on non-Windows NT. The needed functions don't exist on NT.
4908 1998-11-24 SL Baur <steve@altair.xemacs.org>
4910 * gifrlib.h: Clean up types for 64 bit compile.
4911 * dgif_lib.c (DGifInitRead): Ditto.
4912 (MakeSavedImage): Ditto.
4913 * emacs.c (decode_path): Ditto.
4914 From Steve Carney <carney@pa.dec.com>
4916 1998-10-16 William M. Perry <wmperry@aventail.com>
4918 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4919 (cehckboxes instead of checkboxes).
4921 1998-10-15 SL Baur <steve@altair.xemacs.org>
4923 * XEmacs 21.2-beta3 is released.
4925 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4927 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4928 gnuclient. Otherwise, we run xemacs as we always did. This gets
4929 rid of the annoying DOS window when running gnuclient.
4931 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4933 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4934 HAVE_MS_WINDOWS typo.
4936 1998-10-13 SL Baur <steve@altair.xemacs.org>
4938 * process-unix.c (unix_send_process): Set closed flag on writable
4939 pipe after SIGPIPE is received and before we call deactivate_process.
4941 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4943 * window.c (Fset_window_start): respect narrowing when
4944 checking wheter start is at the beginning of a line.
4945 (Fset_window_buffer): Ditto
4946 Fixes repeatable crash in VM.
4948 1998-10-09 SL Baur <steve@altair.xemacs.org>
4950 * window.c (specifier_vars_of_window): Set default vertical
4951 divider width to 1 on ttys.
4953 1998-10-08 Martin Buchholz <martin@xemacs.org>
4958 Add <stddef.h> to get ptrdiff_t declaration
4960 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4962 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4963 is used for Motif or Lucid scrollbars under X.
4965 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4967 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4970 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4972 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4974 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4976 * s/cygwin32.h: more cygwin b20 reorganisation.
4978 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4980 * nas.c: Added necessary support functions to be able to handle
4981 WAVE files in memory, just like the support for SND files in
4984 1998-09-30 SL Baur <steve@altair.xemacs.org>
4986 * callproc.c (child_setup): Fix spelling typo.
4988 1998-09-29 SL Baur <steve@altair.xemacs.org>
4990 * XEmacs 21.2-beta2 is released.
4992 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4994 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4995 to prevent memory corruption in the case of jumping out of a series of
4996 nested match patterns. This is a rather brute force approach, though.
4998 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5000 * config.h.in: ditto.
5002 * s/cygwin32.h: rearrange declarations to cope with cygwin
5003 b20. Include cygwin32/version.h if it exists.
5005 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5007 * device-msw.c (mswindows_init_device): Call new
5008 mswindows_enumerate_fonts() function in objects-msw.c instead
5009 of font_enum_callback_1() to enumerate fonts.
5011 font_enum_callback_1() and _2() moved to objects-msw.c.
5013 * faces.c (complex_vars_of_faces): Make the mswindows default
5014 face font fully specified and provide some fallbacks.
5016 * objects-msw.c: font_enum_callback_1() and _2() moved here
5017 from objects-msw.c. Obtain the enumerated font's character
5018 sets by table lookup instead of using the locale-specific
5019 string provided by Windows.
5021 New public non-method mswindows_enumerate_fonts() that fills
5022 in the supplied mswindows device's font list.
5024 mswindows_initialize_font_instance: Use the supplied name
5025 variable instead of f->name when signalling errors. Match font
5026 weights and character sets using lookup tables which handle
5027 spaces instead of by frobbing.
5029 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5031 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5032 on the size of code fragments passed to run_in_other_process.
5034 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5035 the amount of memory to allocate in the other process.
5037 Removed sigkill_code_end(), sigint_code_end() and
5038 sig_enable_code_end() since they are now redundant.
5040 send_signal() and enable_child_signals(): Don't try to work
5041 out the end of the code fragments passed to
5042 run_in_other_process()
5044 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5046 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5049 * src/unexelf.c: Partially synched with FSF's 20.3.
5051 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5053 * insdel.c (signal_after_change): Map across indirect buffers
5054 here, and not in the upper-level functions.
5055 (signal_first_change): Don't check for Armageddon.
5056 (signal_before_change): Map across indirect buffers here.
5057 (prepare_to_modify_buffer): ...and here.
5059 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5061 * insdel.c (signal_after_change): Add return value.
5062 (buffer_insert_string_1): Use it.
5063 (buffer_delete_range): Ditto.
5064 (buffer_replace_char): Ditto.
5065 (cancel_multiple_change): Map the indirect buffers.
5067 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5069 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5070 (uninit_buffer_text): Ditto.
5072 * buffer.c (Fmake_indirect_buffer): Implement stricter
5075 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5077 * insdel.c (change_function_restore): Reverse order of
5078 function-call and assignment.
5079 (first_change_hook_restore): Ditto.
5081 * extents.c (mark_extent_auxiliary): Mark them.
5082 (Fset_extent_property): Set them.
5083 (Fextent_property): Get them.
5084 (Fextent_properties): Ditto.
5085 (vars_of_extents): Set their default.
5087 * extents.h (struct extent_auxiliary): Add before_change_functions
5088 and after_change_functions.
5090 * insdel.c (signal_before_change): Use it.
5091 (signal_after_change): Ditto.
5093 * extents.c (report_extent_modification): New function.
5095 * insdel.c (signal_before_change): Don't check for Armageddon.
5096 (signal_after_change): Ditto.
5098 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5100 * redisplay.c (redisplay_window): make sure a new starting point
5101 is chosen if it somehow got moved from the beginning of the line
5102 -- this can happen because Fwiden was called recently.
5104 * window.c (Fset_window_start): set start_at_line_beg correctly
5105 (Fset_window_buffer): Ditto
5107 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5109 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5110 (uninit_buffer_text): Ditto.
5112 * buffer.c (Fmake_indirect_buffer): Implement stricter
5115 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5117 * emacs.c (main_1): Removed references to *vars_of_filelock.
5119 * lisp.h: Added Fsystem_name.
5121 * filelock.c: Replaced by version from FSF 20.2. Now implements
5122 locking by using symlinks which is NFS safe. However keep the
5123 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5124 version (and of course use ansi C, acessor macros, etc).
5126 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5128 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5129 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5130 in init_signals_very_early. However these should not be passed
5131 on to children attached to the new pty.
5133 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5135 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5137 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5139 * fileio.c (file-name-directory, file_name_as_directory):
5140 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5142 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5144 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5146 * ralloc.c: uncomment __morecore.
5148 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5150 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5151 WriteFile() to fix a winsock 1.x bug on Win95.
5153 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5155 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5157 (x_event_to_emacs_event): Ditto.
5158 (emacs_Xt_handle_focus_event): Ditto.
5159 (emacs_Xt_handle_magic_event): Ditto.
5161 * console-x.h (struct x_device): New flag being_deleted.
5162 (DEVICE_X_BEING_DELETED): New macro.
5164 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5165 returning. Before doing that, set the being_deleted flag on the
5168 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5170 * device-x.c (x-seppuku-on-epipe): Removed.
5172 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5174 * frame-x.c (x_delete_frame): Flush the X output buffer after
5175 calling XtDestroyWidget to ensure that the windows are really
5178 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5180 * menubar-x.c (my_run_hook): New unused function.
5181 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5182 since we ignore the results of the contained functions anyway.
5184 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5186 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5187 interlaced GIF files that are smaller than 4 lines high...
5189 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5191 * buffer.c (map_over_sharing_buffers): Deleted.
5193 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5195 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5198 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5200 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5202 (buffer_delete_range): Ditto.
5204 * marker.c (init_buffer_markers): Set point-marker to the value of
5205 point in an indirect buffer.
5207 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5209 * undo.c (undo_prelude): Test last-undo-buffer against base
5212 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5214 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5216 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5218 * insdel.c (init_buffer_text): Initialize it here.
5220 * line-number.c: Address line_number_cache through buffer->text.
5222 * buffer.c (mark_buffer): Mark line number cache.
5224 * bufslots.h (line_number_cache): Move to struct buffer_text.
5226 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5227 across the children buffers.
5228 (buffer_delete_range): Ditto.
5229 (buffer_replace_char): Ditto.
5233 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5235 * buffer.c (Fmake_indirect_buffer): Uncomment.
5237 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5239 * macros.c (Fend_kbd_macro): Remove trailing period from error
5241 (Fexecute_kbd_macro): Ditto.
5243 1998-08-21 Greg Klanderman <greg@alphatech.com>
5245 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5246 (Fuser_name_completion_1): new function to return uniqueness
5247 indication in addition to the user name completion.
5248 (user_name_completion): change type of `uniq' argument.
5250 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5252 * lread.c (vars_of_lread): Removed `source-directory' variable.
5254 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5256 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5259 1998-08-19 SL Baur <steve@altair.xemacs.org>
5261 * dired.c (vars_of_dired): Fix misapplied patch.
5263 1998-08-16 Martin Buchholz <martin@xemacs.org>
5265 * fns.c (Fremrassq, remrassq_no_quit):
5266 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5268 1998-07-17 Didier Verna <verna@inf.enst.fr>
5270 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5271 style as foreground GC for faces that have the `dim' property.
5272 (x_output_string): when the `dim' face property is set,
5273 ensure the gray pixmap has been created, and get a proper
5274 foreground GC to draw the text.
5276 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5278 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5279 Manually track the state of the left and right Ctrl and Alt
5282 1998-08-07 Matt Stupple <matts@tibco.com>
5284 * ntproc.c: don't wait on char_consumed at thread entry.
5285 Additionally, to get the 'process' marked as finished, ensure
5286 that the CHILD_ACTIVE macro returns false, so before exiting
5287 close char_avail and set it to NULL, and close other handles
5288 to reduce handle leak problems.
5290 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5292 * menubar-msw.c (displayable_menu_item): take account of menu
5293 depth when deciding whether to try to display accelerators.
5295 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5297 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5300 * glyphs-msw.c: fix a couple of potential handle leaks.
5302 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5304 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5305 *decoding ONLY* back into the core.
5306 * glyphs-eimage.c: Change referenced header file for GIF
5307 reading to point to the incore version.
5309 1998-07-20 Martin Buchholz <martin@xemacs.org>
5311 * casefiddle.c (casify_object):
5312 Change algorithm from O(N**2) to O(N).
5316 1998-07-22 Greg Klanderman <greg@alphatech.com>
5318 * dired.c (file_name_completion_unwind): don't leak the cons.
5320 1998-07-20 Greg Klanderman <greg@alphatech.com>
5322 * dired.c (Fuser_name_completion): new function.
5323 (Fuser_name_all_completions): new function.
5324 (user_name_completion): new function.
5325 (syms_of_dired): 2 new DEFSUBRs.
5326 (vars_of_dired): initialize user name cache vars.
5328 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5330 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5331 colors taken from the default face. Also correct a thinko in
5332 transparency (not alpha) handling.
5334 1998-07-23 Martin Buchholz <martin@xemacs.org>
5336 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5337 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5338 * lread.c (Fload_internal): Be very careful with printfs of
5340 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5343 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5345 * callint.c (Fcall_interactively): GCPRO prompt string before
5346 passing it to Fread_key_sequence
5348 1998-07-27 SL Baur <steve@altair.xemacs.org>
5350 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5351 Vvertical_divider_map.
5353 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5354 Qnil or 0, none were initialized prior to this change.
5356 Rename misnamed `V' prefixed integer variables:
5357 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5358 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5359 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5360 Vcanna_ichiran_revLen.
5362 Rename misnamed `V' prefixed integer variables and initialize
5363 properly in the vars_of routine.
5364 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5365 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5366 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5367 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5368 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5369 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5370 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5371 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5372 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5373 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5374 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5375 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5376 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5377 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5378 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5379 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5380 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5381 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5382 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5383 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5384 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5385 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5386 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5387 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5388 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5389 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5390 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5391 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5392 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5393 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5394 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5395 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5396 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5397 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5398 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5399 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5400 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5401 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5402 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5403 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5404 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5405 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5406 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5407 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5408 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5409 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5411 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5413 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5414 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5415 keys thus no longer considering all keysyms on a key.
5417 1998-07-19 SL Baur <steve@altair.xemacs.org>
5419 * XEmacs 21.2-beta1 is released.
5421 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5423 * eldap.c (Fldap_search_internal): When converting the list of
5424 attributes to search Copy the final 0 from Lisp strings to C
5426 Check base, not Vldap_default_base as a a string
5428 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5430 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5432 * unexnt.c: Unconditionally define bss_start and bss_size, and
5433 ensure that they don't go in the .bss section.
5435 1998-07-17 Olivier Galibert <galibert@pobox.com>
5437 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5438 byte order is dependant of the local byte order).
5439 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5441 1998-07-18 SL Baur <steve@altair.xemacs.org>
5443 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5444 Qmswindows_resource.
5445 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5447 1998-07-12 SL Baur <steve@altair.xemacs.org>
5449 * general.c (syms_of_general): Add defsymbol for Qresource.
5451 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5452 Qmswindows_resource.
5453 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5454 (mswindows_resource_validate): Rename.
5455 (mswindows_resource_normalize): Rename.
5456 (mswindows_resource_possible_dest_types): Rename.
5457 (mswindows_resource_instantiate): Rename.
5458 (image_instantiator_format_create_glyphs_mswindows): Replace
5459 `resource' with `mswindows.resource'.
5461 * XEmacs 21.0-pre5 is released.
5463 1998-07-10 SL Baur <steve@altair.xemacs.org>
5465 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5466 server type in environment.
5467 Use alloca-ed strings instead of tiny fixed size ones.
5469 1998-07-09 SL Baur <steve@altair.xemacs.org>
5471 * XEmacs 21.0-pre4 is released.
5473 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5475 * fileio.c: (expand_file_name): under win32: Don't treat names
5476 as UNC names if a drive letter has been specified. If a drive
5477 has been specified, strip out extra directory-seperators that
5478 reportedly cause problems under Win95.
5480 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5482 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5483 MSVC >= 5.0. Put emacs init and zero-init data in a special
5484 section of the executable when this is defined.
5486 * unexnt.c, ntheap.h:
5487 Removed unused find_section() and get_section_size().
5490 Fix up the executable's checksum after dumping otherwise the
5492 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5493 zero-init data separately from init data. Dump emacs data
5494 into a special section of the executable.
5495 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5496 my_ebss instead of up to the end of bss.
5498 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5500 * filelock.c: Removed Vconfigure_lock_directory - already
5503 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5504 defined in frame.c and general.c respectively.
5506 * glyphs-msw.c: Removed Qresource - already defined in
5509 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5511 * eldap.c (Fldap_search_internal): Docstring fixes
5513 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5515 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5516 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5517 EMACSPACKAGEPATH and INFOPATH variables.
5518 Removed unused get_emacs_configuration function.
5520 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5521 it is now defined at build-time by the makefile.
5523 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5525 * fileio.c: (expand_file_name): under win32: Don't treat names as
5526 UNC names if a drive letter has been specified. If a drive has
5527 been specified, strip out extra directory-seperators that
5528 reportedly cause problems under Win95.
5530 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5532 * faces.c (complex_vars_of_faces): for the gui-element face don't
5533 fallback to the default face, instead provide reasonable default
5534 fallbacks that were previously hardcoded elsewhere.
5536 1998-07-06 Olivier Galibert <galibert@pobox.com>
5538 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5539 when the X server endianness is different than the client's one.
5541 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5543 * eval.c (run_hook_with_args_in_buffer): Check
5544 default (non-buffer-local) value of hook for
5545 nil before treating it as a function. Don't initialize
5546 the `globals' variable twice.
5548 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5550 * fileio.c: Don't do directory seperator canonicalisation in
5551 substitute-in-file-name because we don't know that the
5552 filename refers to a local file.
5554 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5556 * process-nt.c (nt_create_process): Try appending the standard
5557 executable file extensions to the filename if none supplied.
5559 1998-06-29 SL Baur <steve@altair.xemacs.org>
5561 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5563 From Keisuke Mori <ksk@ntts.com>
5565 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5567 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5568 images if we have masks. This handles the xbm case (have masks)
5569 and avoids overuse of resources in the xpm case (generally no masks).
5570 Don't output small toolbars.
5572 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5574 * eval.c (run_hook_with_args_in_buffer): Don't treat
5575 the default value of a buffer local hook as a list of
5576 hooks unless it is both a cons and the car of that cons
5579 1998-06-29 SL Baur <steve@altair.xemacs.org>
5581 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5582 * process-unix.c: Ditto.
5583 * mule-coding.h: Ditto.
5584 * mule-coding.c: Ditto.
5585 * mule-charset.c: Ditto.
5586 * mule-charset.h: Ditto.
5587 * file-coding.c: Ditto.
5588 * file-coding.h: Ditto.
5590 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5592 * event-msw.c: Guard against recursion when freeing
5593 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5595 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5596 Call ShowWindow twice in init_frame_3 to get round runemacs
5599 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5601 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5603 * winslots.h: Rename.
5605 * window.c (specifier_vars_of_window): Renamed
5606 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5607 as suggested by Ben Wing.
5608 (specifier_vars_of_window): Fix docstrings.
5610 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5612 * unexaix.c: Line number information works correctly again.
5614 1998-06-22 Olivier Galibert <galibert@pobox.com>
5616 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5618 1998-06-21 Martin Buchholz <martin@xemacs.org>
5620 * editfns.c (get_home_directory): ANSIfy.
5621 XEmacs is compilable under C *and* C++.
5622 It's XEmacs, not Xemacs!
5624 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5626 * console-msw.h: added a list of fonts to device data.
5628 * device-msw.c: enumerate list of available fonts in
5629 mswindows_init_device. Free list in mswindows_delete_device.
5631 * objects-msw.c: Added helper function match_font used by
5632 mswindows_initialize_font_instance and mswindows_list_fonts.
5633 Allow a charset to be specified in a font string, even if
5634 previous fields havn't been specified.
5636 1998-06-23 Greg Klanderman <greg@alphatech.com>
5638 * indent.c (column_at_point): column cache bugfix.
5639 Set last_known_column_point to the buffer position for
5640 which the column was requested, not buffer's point.
5642 * redisplay.c (decode_mode_spec): for current-column, show
5643 window's point's column, not buffer's point's column.
5645 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5647 * menubar-msw.c (mswindows_handle_wm_command): use
5648 enqueue_misc_user event rather than
5649 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5652 * console-msw.h: declare mswindows_enqueue_magic_event.
5654 * event-msw.c (mswindows_enqueue_magic_event): make global.
5656 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5658 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5659 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5660 (add_position_to_cache): Use EMACS_INT instead of int.
5662 1998-06-21 Olivier Galibert <galibert@pobox.com>
5664 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5665 suitable for an int used as a boolean (btw, C sucks.).
5667 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5669 * object-msw.c: remove warnings.
5671 * device-msw.c: #define wrongly named cygwin structure elements.
5673 * s/cygwin32.h: define DEMI_BOLD
5675 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5677 * redisplay-msw.c: new function mswindows_apply_face_effects.
5678 This is called by output_string and output_cursor to display
5679 underline and strikeout on faces.
5681 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5683 * console-msw.h: added a list of fonts to device data.
5685 * device-msw.c: enumerate list of available fonts in
5686 mswindows_init_device. Free list in mswindows_delete_device.
5688 * objects-msw.c: Added helper function match_font used by
5689 mswindows_initialize_font_instance and mswindows_list_fonts.
5690 Allow a charset to be specified in a font string, even if
5691 previous fields havn't been specified.
5693 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5696 Removed compilation warnings from mswindows_string_to_color.
5697 mswindows_list_fonts returns a more general bogus font.
5698 New lisp-visible function mswindows-color-list.
5700 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5702 * editfns.c (Fuser_login_name): Modify to user new function
5704 (user_login_name): C only function to avoid Lisp object overhead
5705 Returns "unknown" instead of nil in Cygwin environment
5707 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5708 equivalent for current user in Cygwin environment. Use new
5709 function user_login_name to get username.
5711 * lisp.h: Declare user_login_name
5713 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5715 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5717 Some other insignificant nitpicks.
5719 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5721 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5722 creating the image list and make sure he bk color is transparent.
5724 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5726 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5727 completed_timeouts. The timer could have expired.
5729 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5731 * console-msw.h: move XEMACS_RECT_WH inside frame
5732 parameters. define macors to access it.
5734 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5735 parameter to intialise desired sizing. (mswindows_init_frame_2):
5736 enable and size the frame to something sensible when we get
5737 here. (mswindows_set_frame_properites): use new
5738 mswindows_size_frame_internal function and size frame if frame
5739 parameters not just if init is finished - WM_SIZE happens too
5740 early for some specs. (mswindows_size_frame_internal): new
5741 function abstracted from mswindows_set_frame_properties.
5742 (Vmswindows_use_system_frame_size_defaults):
5743 new variable controls whether to allow the system to pick frame
5744 size defaults, defaults to nil.
5746 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5747 than duplicated code.
5749 1998-06-15 Colin Rafferty <colin@xemacs.org>
5751 * Makefile.in.in: Made EXTW_LINK expand properly.
5753 1998-06-12 Martin Buchholz <martin@xemacs.org>
5755 * redisplay.c (vars_of_redisplay): default value of
5756 column-number-start-at-one should be NIL!
5758 1998-06-11 Martin Buchholz <martin@xemacs.org>
5761 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5763 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5765 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5766 build_string to avoid crashes under Mule.
5768 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5770 * ntplay.c (play_sound_data_1): don't delete the sound data until
5771 the next sound is played and the previous one finished.
5773 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5775 * fileio.c (directory-sep-char): Escape backslashes.
5777 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5779 * event-stream.c: Fix docstring reference.
5781 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5783 * alloc.c (make_float): Remove useless initialization of `next'
5785 (make_pure_float): Ditto.
5787 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5789 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5791 * fileio.c (Fmake_directory_internal): Remove conditionals
5792 on WINDOWSNT when calling mkdir.
5794 * ntproc.c: Deleted the following unused functions:
5795 register_child, reap_subprocess, sys_wait.
5797 * nt.c (sys_rename): Ifzeroed this implementation.
5798 Deleted the following unused functions:
5799 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5800 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5801 sys_read, sys_write.
5802 Merger sys_fopen and sys_open with sysdep.c implementation.
5804 * sysdep.c: Removed MS-DOS code.
5805 (sys_rename): Deal with Microsoft rename weirdness.
5806 (sys_open): Implemented for Windows.
5810 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5812 * buffer.c (complex_vars_of_buffer): Removed %t description from
5815 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5817 * scrollbar-msw.c: initialize the cbSize element of the
5818 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5819 to ignore the value of cbSize, but Win95 (and I presume Win98)
5820 appear to want it set to sizeof(SCROLLINFO).
5822 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5824 * event-stream.c: Defined Qcancel_mode_internal.
5825 (syms_of_event_stream): defsymbol'ed it.
5827 * events.h: Externed it.
5829 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5831 1998-06-04 Oliver Graf <ograf@fga.de>
5833 * frame-x.c (x_cde_destroy_callback): free the data
5834 (cde-start-drag-internal) corrected root position, 21.1 needs this
5835 hardcoded in Button events
5836 (offix-start-drag-internal) corrected root position
5838 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5840 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5843 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5845 * dialog-msw.c (button_width): Removed `inline' from the function
5848 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5850 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5851 Note that adding this flag to subsequent frames causes problems.
5853 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5855 * glyphs-eimage.c (png_instantiate) move 'struct
5856 png_memory_storage tbr' out of nested block to avoid dangling
5859 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5862 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5863 inherits from gui-element.
5865 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5866 with existing code, generate masks correctly.
5868 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5870 * glyphs-eimage.c: Changed included header for gifs to use
5871 Gifreader instead of giflib.
5873 * glyphs-x.c: removed the image-related functions that were
5874 moved into glyphs-eimage.
5876 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5878 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5879 if built without X Windows support.
5881 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5883 * fns.c (Fconcat): Synch docstring with new reality.
5885 1998-06-03 SL Baur <steve@altair.xemacs.org>
5887 * frame.c: Remove reference to msdos.h (which is going away).
5888 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5890 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5892 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5896 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5898 * events.h: Fixed commentary about misc-user scrollbar events.
5900 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5901 object as an event channel, instead of window object.
5902 (x_update_horizontal_scrollbar_callback): Ditto.
5904 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5906 * ntplay.c (play_sound_data_1) new function. convert alloca data
5907 to malloc if necessary.
5908 (play_sound_file): if the file is not in our path then convert to
5911 1998-06-01 SL Baur <steve@altair.xemacs.org>
5913 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5914 * msdos.c (Frecent_doskeys): Ditto.
5916 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5917 Suggested by Reggie Perry <perry@zso.dec.com>
5919 * buffer.h: Eliminate size in declaration.
5921 1998-06-01 Olivier Galibert <galibert@pobox.com>
5923 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5925 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5927 * gui.c (gui_item_init): Changed the default value for config member
5928 from Qunbound to Qnil.
5930 1998-06-01 Greg Klanderman <greg@alphatech.com>
5932 * indent.c (vmotion_pixels): Don't #define abs().
5934 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5936 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5939 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5941 * glyphs.h: add xbm declarations.
5943 * console.h: add xbm_instantiate_method device method.
5945 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5946 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5947 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5948 locate_pixmap_file device method and read_bitmap_data_from_file
5949 instead of XmuReadBitmapDataFromFile.
5950 (xbm_instatntiate): make a device method.
5952 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5953 new function that just calls XmuReadBitmapDataFromFile.
5954 (x_xbm_instatntiate): device method from xbm_instantiate.
5956 * glyphs-msw.c (read_bitmap_data) (NextInt)
5957 (read_bitmap_data_from_file): new functions copied from Xmu
5959 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5960 inline data to an mswindows bitmap.
5961 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5962 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5965 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5967 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5968 `modeline-visible-p'.
5969 Declared specifier lisp variables at the beginning oh the file
5972 * procimpl.h (struct process_methods): Changed semantics of
5973 create_process method so it accepts lisp strings instead of
5976 * process.c (Fstart_process_internal): Moved building of
5977 unix style argv from here to process-unix.c, ...
5979 * process-unix.c (unix_create_process): ... right here.
5981 * process-nt.c (nt_create_process): Changed this function to
5982 support new semantics, so avoided a GC problem.
5984 * events.c (Fmake_event): Document misc-user events properties.
5985 (Fmake_event): Do not allow arbitrary objects for channel property
5986 of misc-user events.
5987 (Fmake_event): Change misc-user event validation: it is function
5988 which is required, not button.
5990 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5992 (mswindows_enqueue_misc_user_event): Added function.
5993 (mswindows_bump_queue): Removed function.
5994 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5995 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5996 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5997 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5998 really nothing, which is my personal favorite thing.
6000 * console-msw.h: Removed prototype for mswindows_bump_queue().
6001 Added prototype for mswindows_enqueue_misc_user_event().
6003 * menubar-msw.c (mswindows_handle_wm_command): Use
6004 mswindows_enqueue_misc_user_event().
6006 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6008 * dialog-msw.c (dialog_proc): Ditto.
6010 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6011 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6012 user events channel.
6014 1998-05-29 Greg Klanderman <greg@alphatech.com>
6016 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6017 incorrect semantics of vmotion_pixels which has been fixed. don't
6018 use it anymore as it can't easily be used.
6020 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6021 the motion was reported incorrectly if you tried to go past end of
6024 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6026 * toolbar.h: Removed misleading commentary, as Martin suggested.
6028 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6030 * lisp.h: Extern Qactivate_menubar_hook.
6032 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6035 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6037 * glyphs-msw.c: use BPLINE macro.
6039 * select-msw.c (mswindows-selection-exists-p)
6040 (mswindows-delete-selection): doc string fixes.
6042 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6043 unpressable. warning elimination.
6045 1998-05-28 Martin Buchholz <martin@xemacs.org>
6047 * alloc.c (dbg_constants):
6050 Remove toolbar_data debugging code, since that lrecord has
6053 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6055 * alloc.c: zap cached value of (user-home-directory), so that
6058 * buffer.c: From init_buffer(), separated out code that
6059 determined the initial directory for the *scratch* buffer, and
6060 put them into a function called "init_initial_directory()".
6061 The initial directory is now available as a global "char *"
6062 called initial_directory.
6064 * buffer.h: Added extern entries for initial_directory[] and
6065 init_initial_directory().
6067 * editfns.c: added new elisp function "user-home-directory",
6068 which basically returns getenv("HOME"), but attempts to use
6069 other values if $HOME isn't set.This may have to be tweaked in
6070 the future as, under Unix, "/" is used if $HOME isn't set (this
6071 probably should be set to the current directory). To support
6072 this, a new C function, "get_home_directory()", now exists,
6073 which returns the "home directory", as a "char *" string.
6075 * emacs.c: Rearrange NT initialization order so that
6076 environment/registry variables will be properly entered into
6077 Vprocess_enviroment.
6079 * fileio.c: replaced egetenv("HOME") with calls to the new
6080 get_home_directory().
6082 * lisp.h: Added function prototypes for uncache_home_directory()
6083 and get_home_directory(), along with lisp prototypes for
6084 Fuser_home_directory() and friends.
6086 * nt.c: replaced getenv("HOME") with calls to the new
6087 get_home_directory().
6089 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6090 warnings about getcwd(), etc. not having prototypes.
6092 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6094 * process-nt.c (send_signal): Emulate SIGHUP.
6095 (validate_signal_number): Ditto.
6097 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6098 remove MOD_SHIFT from ASCII characters.
6099 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6102 1998-05-24 Oliver Graf <ograf@fga.de>
6104 * frame-x.c (cde-start-drag-internal): added filename and multi-
6106 (x_cde_convert_callback) dito
6108 1998-05-26 Oliver Graf <ograf@fga.de>
6110 * frame-x.c: include event-mod.h also with CDE
6111 (x_cde_convert_callback) made the thing working
6112 (cde-start-drag-internal) also debugging
6114 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6121 - add __OpenBSD__ where __NetBSD__ was found.
6122 - TODO: replace platform-specific conditional compilation by
6123 feature tests in configure.in.
6125 1998-05-15 Greg Klanderman <greg@alphatech.com>
6127 * window.c (Fwindow_displayed_text_pixel_height): New function.
6128 (syms_of_window): DEFSUBR it.
6130 * indent.c (Fvertical_motion_pixels): New function - request
6132 (vmotion_pixels): helper.
6133 (syms_of_indent): DEFSUBR.
6134 * lisp.h: declaration for vmotion_pixels().
6136 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6137 to request returning motion in pixels.
6138 (Fvertical_motion_pixels): Remove, functionality merged into
6140 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6141 (Fmove_to_window_line): ditto.
6142 * lisp.h: Change declaration for Fvertical_motion.
6144 * window.c: rename window-text-pixel-{height,width,edges} to
6145 window-text-area-pixel-*.
6147 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6149 * tooltalk.c (vars_of_tooltalk) added staticpro for
6150 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6152 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6154 * faces.c: create a new 3d_object_face, make modeline and
6155 vertical_divider faces fallback to this rather than the default.
6157 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6159 * s/cygwin32.h: define charsets for cygwin.
6161 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6163 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6164 and coordinates. resize bitmaps if we have already settled on a
6167 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6169 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6171 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6173 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6177 * gui-x.c (popup_selection_callback): Ditto.
6179 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6181 * gui.c (get_callback): Renamed to get_gui_callback.
6183 1998-05-17 Martin Buchholz <martin@xemacs.org>
6185 * glyphs.h: order rearrangement.
6187 * device-tty.c (tty_asynch_device_change): Warning suppression.
6188 * device-x.c (x_device_system_metrics): Warning suppression.
6189 Make Doc strings consistent with coding standards.
6191 1998-05-24 Martin Buchholz <martin@xemacs.org>
6193 * general.c: multiple definition of `Qicon'. general.c seems
6194 like a good home for Qicon.
6196 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6198 * This patch is to fix compilation warnings under Windows.
6200 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6201 Added prototypes for FSF inherited functions, with which XEmacs is
6202 sprinkled thoroughly.
6203 Removed some #if 0 code. Bracketed some more definitions, probably
6204 related to Visual C versions prior to 4 (we do not support them).
6206 * sysfloat.h (logb): Finally, get logb() prototyped.
6208 * sysfile.h: Added Windows specific includes.
6209 Removed old Windows specific code bracketed with #if 0.
6211 * sysdep.h: Added prototype for xrealpath().
6213 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6215 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6216 vars_of_dired_mswindows and init_ntproc (Grrr).
6218 * realpath.c: Added Windows specific include files.
6219 (xrealpath): Conditionalized declaration of some auto variables on
6220 S_IFLNK, to avoid warnings.
6222 * ntproc.c: Disabled some compiler warnings. This file is going to
6223 die, so I have not cleaned it up much.
6224 (set_process_dir): Const parameter.
6225 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6226 (Fwin32_long_file_name): Ditto.
6227 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6230 * nt.h: Added prototypes for set_process_dir and convert_time.
6232 * nt.c: More include files.
6233 (getpwnam): Consted char* argument.
6234 (get_emacs_configuration): Const return value.
6235 (opendir): Const argument.
6236 (stat): Casted converstion long->short.
6237 (stat): Removed ad hoc and questionable support for non-MSC compile.
6238 (sys_pipe): Removed unused auto variable.
6239 (_sys_read_ahead): Removed calls to DebPrint.
6240 (sys_read): Ditto, in 2 places.
6241 (term_ntproc): Added unused int parameter to signal handler, to
6242 avoid a warning when compiling a call to signal().
6243 (msw_sigset): Properly return old signandler or NULL instead of void.
6245 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6247 * gmalloc.c (morecore): Ditto.
6248 (_free_internal): Ditto.
6250 * lread.c (parse_integer): Ditto.
6252 * dired-msw.c: Added several include files.
6254 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6255 of Compilers to Shut Up.
6257 * callproc.c: Added #includes to suppress warnings under Windows.
6258 (init_callproc): Removed #if0'ed code and unused variables.
6260 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6262 * device-msw.c (mswindows_device_system_metrics): do planes in a
6263 way consistent with X.
6265 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6266 use SetPixel, use DIBits functions.
6267 (xpm_to_eimage): frob colors more closely like xpm deos.
6269 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6270 to be closer to X version.
6272 * event-msw.c: use tooltip string directly.
6274 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6276 * objects-msw.c: frob rgb colors that only Kyle uses.
6278 * dialog-msw.c (button_width): INLINE -> inline.
6280 1998-05-23 SL Baur <steve@altair.xemacs.org>
6282 * getloadavg.c (getloadavg): Fix typo.
6284 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6286 * objects-msw.c (mswindows_initialize_font_instance): Added support
6287 for font character sets.
6288 Replaced 'XXX' with '####' in comments throughout the file.
6290 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6292 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6293 console_type_create_dialog_mswindows(), to initialize Windows dialog
6296 * symsinit.h: Prototyped the above functions.
6298 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6299 checks to dialog.c...
6301 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6302 device must support dialog boxes, and the descriptor must supply at
6305 * dialog-msw.c: New file, dialogs for Windows.
6307 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6309 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6310 (Fldap_search_internal): Removed unused variable `err'
6312 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6315 1998-05-17 Martin Buchholz <martin@xemacs.org>
6317 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6318 defined. Therefore there is no need to handle the case when
6319 HAVE_LDAP is undefined. Similarily, there is no reason to have
6320 any code wrapped within `#ifdef emacs', since this code is only
6321 useful within an emacs. This simplifies the code significantly.
6323 * inline.c: Include eldap.h only if HAVE_LDAP.
6324 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6327 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6329 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6330 printing dump stats when building without DEBUG_XEMACS.
6331 (dump_bss_and_heap): Ditto.
6333 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6335 * gnuclient.c: don't suppress window system if there is no display
6336 and we are running under mswindows. send 'mswindows device type if
6337 we are in this situation.
6339 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6342 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6344 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6347 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6349 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6350 {top,bottom}-{left,right} values in addition to
6351 {top,bottom}_{left,right}.
6353 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6355 * fileio.c (Fmake_temp_name): Remove unreached code.
6357 * process-nt.c (validate_signal_number): Use
6358 signal_simple_error().
6360 1998-05-19 Martin Buchholz <martin@xemacs.org>
6363 * sound.c (vars_of_sound):
6364 * sysdep.c (reset_sigio_on_device):
6365 * window.c (window_bottom_gutter_height):
6366 unexhp9k800.c:258: warning: implicit declaration of function
6367 `calculate_checksum'
6368 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6369 sysdep.c:1012: warning: unused variable `owner'
6370 window.c:993: warning: `window_right_toolbar_width' defined but not used
6372 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6374 * glyphs-msw.c (mswindows_create_resized_mask)
6375 (mswindows_create_resized_bitmap): new funnctions split out from
6376 mswindows_resize_dibitmap_instance.
6378 * glyphs-msw.h: declare new resize functions.
6380 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6381 functions so that the original bitmaps are preserved.
6383 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6385 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6386 color if we are trying to output 0 depth bg pixmap.
6388 * scrollbar-msw.c: warning elimination.
6390 1998-05-18 Martin Buchholz <martin@xemacs.org>
6392 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6393 directives in column 1.
6395 * search.c (skip_chars): Avoid using xzero with arrays, since some
6396 compilers get confused by the construct &array.
6398 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6401 * objects-msw.c: Changed the charset value for a new font from
6402 "don't care" to "ansi".
6404 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6406 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6408 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6409 modifier on control chars.
6410 Use IsCharAlpha() instead of isaplha().
6412 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6414 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6416 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6418 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6419 charset when creating font.
6420 (mswindows_initialize_color_instance): Do not create brush along
6422 (mswindows_finalize_color_instance): Do not delete it then.
6424 * objects-msw.h (struct mswindows_color_instance_data): Removed
6425 brush slot, and corresponding accessor macro.
6427 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6429 * toolbar.c: Removed toolbar_data lrecord implementation.
6430 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6431 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6432 (compute_frame_toolbar_buttons): Ditto.
6433 (CHECK_TOOLBAR): Ditto.
6434 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6435 (update_frame_toolbars): Do not check for changed buffer
6436 here. Toolbar information is provided by cached specs in
6437 windows. The check for buffer is eliminated becuase toolbars are
6438 marked changed in set_frame_selected_window() in frame.c
6439 Added check for changed toolbars geometry.
6440 (compute_frame_toolbars_data): Removed unused second parameter;
6441 Adjusted callers of this static function throughout the file.
6442 (init_frame_toolbars): Initialize current_toolbar_size.
6443 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6444 what is its current expansion, for clarity.
6445 (init_frame_toolbars): Ditto.
6446 (init_device_toolbars): Ditto.
6447 (init_global_toolbars): Ditto.
6449 * toolbar.h: Removed definition of toolbar_data lrecord.
6450 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6451 FRAME_CURRENT_TOOLBAR_SIZE.
6452 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6454 * toolbar-x.c (x_output_toolbar): The same change as in
6456 (x_output_toolbar): Ditto.
6457 (x_redraw_exposed_toolbar): Ditto.
6459 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6460 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6461 (mswindows_output_toolbar): Ditto.
6462 (mswindows_output_toolbar): Ditto.
6464 * frame.c (mark_frame): Removed marking of arrays, according to
6465 frameslots.h change.
6466 (nuke_all_frame_slots): Ditto.
6467 (set_frame_selected_window): Mark toolbars changed when
6468 last_nonminibuf_window changes.
6470 * frame.h (struct frame): Moved some slots to frameslots.h.
6471 Added current_toolbar_size array.
6472 Changed references from toolbar_data to toolbar_buttons in macros
6473 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6474 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6475 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6477 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6478 Moved arrays of lisp objects here from frame.h: toolbar_size,
6479 toolbar_visible_p, toolbar_border_width.
6480 Removed toolbar_data slot and added toolbar_buttons.
6482 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6484 * symsinit.h: Externed syms_of_process_nt()
6486 * emacs.c (main_1): Call syms_of_process_nt()
6488 * process-nt.c: Quote process arguments by a call to Lisp function
6489 `nt-quote-process-args'.
6490 (syms_of_process_nt): New function.
6491 (nt_send_process): Flush data stream after each write, to avoid
6492 leaving buffered data.
6493 (nt_send_process): When blocked on process output, wait for
6494 process to slurp more for progressively increasing time intervals.
6496 1998-05-17 Martin Buchholz <martin@xemacs.org>
6498 * window.c (have_undivided_common_edge): Make file-local function
6500 (map_windows): Return 0 if all map functions successful.
6503 * winslots.h: Use unlikely names for local variables in macros to
6504 avoid shadowing warnings.
6506 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6508 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6509 so that we re-output if the toolbar size has changed.
6511 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6513 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6515 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6517 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6520 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6522 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6523 get bitmap manifest constants defined.
6525 * console-msw.h: Include system files in angle brackets, not in
6528 * window.c (specifier_vars_of_window): Fixed a typo in
6529 `vertical-divider-line-width' docstirng.
6531 1998-05-16 Olivier Galibert <galibert@pobox.com>
6533 * line-number.c (delete_invalidate_line_number_cache): Use an
6535 (buffer_line_number): Remove dangerous, plain wrong when using
6536 64bits emacs ints, cast.
6538 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6540 * cmds.c (Fforward_line): Use EMACS_INTs.
6542 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6543 (scan_buffer): Ditto.
6544 (bi_find_next_newline_no_quit): Remove useless cast.
6545 (find_next_newline_no_quit): Ditto.
6546 (find_next_newline): Ditto.
6547 (find_before_next_newline): Use an EMACS_INT.
6549 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6551 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6553 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6555 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6557 * gui-x.c (popup_selection_callback): Use it.
6559 * gui.h (get_callback): Declare it.
6561 * gui.c (get_callback): New function.
6563 1998-05-15 SL Baur <steve@altair.xemacs.org>
6565 * window.c (have_undivided_common_edge): Guard scrollbar specific
6567 (window_needs_vertical_divider_1): Ditto.
6569 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6571 * emacs.c (decode_path): Eliminate compiler warning.
6572 (Fdecode_path): Renamed to Fsplit_path.
6573 (Fsplit_string_by_char): New function.
6575 1998-05-14 Damon Lipparelli <lipp@primus.com>
6577 * winslots.h: close comment
6579 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6581 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6583 * bufslots.h: Removed buffer_file_type slot.
6585 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6587 (complex_vars_of_buffer): Removed buffer-file-type variable and
6588 its default reference.
6590 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6592 * faces.c (complex_vars_of_faces): Defined
6593 Vvertical_divider_face.
6594 (vars_of_faces): Staticpro it.
6596 * faces.h: Externed Vvertical_divider_face.
6598 * redisplay-x.c (x_output_vertical_divider): Use
6599 Vvertical_divider_face to draw the divider instead of modeline
6602 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6603 divider face using Vvertical_divider_face background.
6604 Fix drawing spacing gaps around the divider.
6606 1998-05-14 Didier Verna <verna@inf.enst.fr>
6608 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6609 values for the vertical divider line width and spacing. Use the
6610 cached values from the window structure instead.
6611 (x_divider_width): ditto.
6613 * window.c (specifier_vars_of_window): new specifiers:
6614 vertical-divier -line-width and -spacing.
6615 (vertical_divider_global_width_changed): formerly known as
6616 vertical_divider_shadow_thickness_changed.
6618 * winslots.h: new slots: vertical_specifier _line_width and
6619 _spacing. Plus corrected a comment typo.
6621 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6623 * window.h: Declared window_divider_width().
6625 * console-stream.c (stream_divider_width): Removed method.
6626 (console_type_create_stream): And declaration for it.
6628 * redisplay.c (pixel_to_glyph_translation): Use
6629 window_divider_width() instead of divider_width redisplay method.
6630 (pixel_to_glyph_translation): Fix top divider edge calculation
6631 when scrollbar is on top.
6633 * window.c (window_divider_width): New function, an outphaser for
6634 divider_width redisplay method.
6635 (window_right_gutter_width): Use it.
6636 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6637 specifiers, set fallback values differently on TTYs, and document
6638 the behavior of these on TTYs in the docstrings.
6640 * scrollbar.c (update_scrollbar_instance): Use
6641 window_divider_width() instead of divider_width redisplay method.
6643 * console.h (struct console_methods): Removed divider_width_method.
6645 * redisplay-tty.c (tty_divider_width): Removed device method.
6646 (console_type_create_redisplay_tty): Removed definition for it.
6647 (tty_output_vertical_divider): Respect the value returned by
6648 window_divider_width thus divider line width specification.
6650 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6651 (console_type_create_redisplay_mswindows): Removed definition for it.
6652 (mswinodws_output_vertical_divider): Respect the value returned by
6653 window_divider_width thus divider line width specification.
6655 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6657 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6659 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6661 * glyphs-msw.c: resource loading implementation.
6662 (cursor_normalize): new function.
6663 (cursor_validate): ditto.
6664 (cursor_instantiate): ditto.
6665 (cursor_name_to_resource): ditto.
6666 (cursor_possible_dest_types): ditto.
6667 (check_valid_symbol): ditto.
6668 (check_valid_string_or_int): ditto.
6670 1998-05-14 Martin Buchholz <martin@xemacs.org>
6672 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6675 * process-unix.c (process_signal_char): Use VSUSP instead of
6676 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6678 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6680 * specifier.c (specifier_instance): Change locale precedence of
6681 instantiation so window locale has higher priority than buffer
6683 (Fspecifier_instance): Reflect this in docstring.
6684 (Fadd_spec_list_to_specifier): Ditto.
6685 (Fadd_spec_to_specifier): Ditto.
6686 (Fremove_specifier): Ditto.
6688 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6690 ** Dialog separation into a device method from Andy Piper
6692 * emacs.c (main_1): Call console_type_create_dialog_x().
6694 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6695 into this device method.
6696 (console_type_create_dialog_x): New function.
6698 * dialog.c (Fpopup_dialog_box): New function.
6699 (syms_of_dialog): Defsubr it.
6701 * console.h (struct console_methods): Declared
6702 popup_dialog_box_method().
6704 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6706 1998-05-14 Oliver Graf <ograf@fga.de>
6708 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6709 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6711 1998-05-13 Oliver Graf <ograf@fga.de>
6713 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6715 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6717 * console.h (device_metrics): Removed dbcs, input-method-editor
6718 and right-to-left metrics.
6720 * device.c (Fdevice_system_metric): Ditto.
6721 (Fdevice_system_metrics): Ditto.
6722 (syms_of_device): Ditto.
6723 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6726 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6728 * line-number.h (mark_line_number_cache): Remove unused
6731 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6732 (get_nearest_line_number): Simplify.
6733 (add_position_to_cache): Make the old marker point nowhere.
6735 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6737 ** Renamed window-divider-map => vertical-divider-map
6738 and event-over-divider-p => event-over-vertical-divider-p,
6739 in the following files/functions:
6741 * events.c (Fevent_over_divider_p):
6742 * keymap.c (get_relevant_keymaps):
6745 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6747 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6749 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6751 * window.c (vertical_divider_changed_in_window): Renamed so.
6752 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6753 (window_needs_vertical_divider_1): Decide whether we need it based
6754 on the value of the above specifier. If separators are unwanted,
6755 put them only if there's no scrollbar between this window and its
6757 (have_undivided_common_edge): New function, helper for the above.
6758 (window_needs_vertical_divider): Return either a cached value,
6759 or clauclate and cache one.
6760 (invalidate_vertical_divider_cache_in_window): Implemented.
6761 (map_windows): Changed return type to int, return the value from
6764 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6765 (struct window): Added need_vertical_divider_p and
6766 need_vertical_divider_valid_p.
6768 * winslots.h: Added vertical_divider_draggable_p slot.
6770 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6771 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6773 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6775 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6776 invalidate_vertical_divider_cache_in_frame().
6779 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6781 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6783 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6784 masks correctly and don't select 0.
6786 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6788 * winslots.h: New file, declaration of some struct window and
6789 struct saved_window members.
6791 * window.h (struct window): Include it, with required preprocessor
6794 * window.c (mark_window): Ditto.
6795 (allocate_window): Ditto.
6796 (struct saved_window): Ditto.
6797 (mark_window_config): Ditto.
6798 (saved_window_equal): Ditto.
6799 (Fset_window_configuration): Ditto.
6801 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6803 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6805 1998-05-12 Didier Verna <verna@inf.enst.fr>
6807 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6808 the divider line. The shadow thickness is currently
6809 hard-wired. This will probably be turned into a specifier soon.
6811 1998-05-12 Didier Verna <verna@inf.enst.fr>
6813 * console.h (struct console_methods): the divider_width console
6814 method now requires a struct window * argument.
6816 * redisplay-x.c (x_divider_width): ditto. Plus remove
6817 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6818 (x_output_vertical_divider): give a depressed look when the shadow
6819 thickness is negative.
6821 * console-stream.c (stream_divider_width): pass a struct window *
6824 * redisplay-tty.c (tty_divider_width): ditto.
6826 * window.c (window_right_gutter_width): totdi.
6828 * redisplay.c (generate_modeline): ittod.
6830 * scrollbar.c (update_scrollbar_instance): ttido.
6832 * redisplay-msw.c (mswindows_divider_width): ottid.
6833 WARNING: this enables to compile, but the feature is not functional.
6835 * window.h (struct window): new field
6836 vertical_divider_shadow_thickness.
6838 * window.c (specifier_vars_of_window): new specifier
6839 vertical-divider-shadow-thickness.
6840 (vertical_divider_shadow_thickness_changed): new function to
6841 inform redisplay that the window has changed.
6842 (mark_window): handle new field vertical_divider_shadow_thickness
6844 (allocate_window): ditto.
6845 (saved_window_equal): toddi.
6846 (Fset_window_configuration): totid.
6847 (save_window_save): ttdio.
6848 (struct saved_window): new field vertical_divider_shadow_thickness.
6850 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6852 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6855 1998-05-12 Oliver Graf <ograf@fga.de>
6857 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6858 * event-Xt.c (x_event_to_emacs_event): C++ compability
6860 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6862 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6865 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6867 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6870 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6872 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6874 * emacs.c (decode_path_1): New function.
6875 (decode_path): Use it.
6876 (Fdecode_path): Renamed from Fdecode_path_internal; use
6879 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6881 * macros.c (Fzap_last_kbd_macro_event): New function.
6882 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6884 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6886 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6887 multiple bitmaps are output vertically as well as horizontally.
6888 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6889 crossing lines this is handled by
6890 mswindows_output_dibitmap_region.
6892 1998-05-12 Martin Buchholz <martin@xemacs.org>
6894 * inline.c: Include eldap.h
6896 * menubar-x.c (x_update_frame_menubar_internal):
6897 Remove: unused variable `container'
6899 1998-05-11 Martin Buchholz <martin@xemacs.org>
6901 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6902 Unfortunately, the resulting temacs still cannot dump.
6904 * symbols.c (symbol_is_constant):
6905 (verify_ok_for_buffer_local):
6906 -Wswitch Warning suppression - add default case to switches.
6908 * redisplay.c (decode_mode_spec): Remove unused variables,
6909 Replace Fcoding_system_property (codesys, Qmnemonic) with
6910 XCODING_SYSTEM_MNEMONIC (codesys);
6911 Fcoding_system_property is for users.
6917 Change empty docstrings into no doc strings at all.
6918 Fix bogus FSF-format docstrings.
6921 Standardize docstrings.
6924 Explain problems with matherr.
6926 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6929 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6930 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6931 Fix the weird resultant interaction (causes windows problems)
6935 Take new EMACSBOOTSTRAPLOADPATH into account.
6936 Update documentation strings
6939 - Adjust for luser's CDPATH being set to something weird.
6940 - Take into account bash 2.02's tendency to print the cwd when
6941 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6942 - fix the run-temacs target to use $(DUMPENV)
6943 - fix the run-puremacs target to use $(DUMPENV)
6944 - fix the `depend' target to properly $(RM) the right files
6945 - Generate a better TAGS file for XEmacs' lisp code using
6946 hand-crafted regexps.
6947 - Use standard coding conventions for modules/Makefile.in
6949 1998-05-12 Didier Verna <verna@inf.enst.fr>
6951 * redisplay.c: removed the scrolling modeline code that didn't
6952 make it for 21.0. To be continued ...
6954 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6956 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6957 and empty string inputs.
6959 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6961 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6963 1998-05-10 Oliver Graf <ograf@fga.de>
6965 * event-stream.c (enqueue_misc_user_event_pos): created
6966 * lisp.h (enqueue_misc_user_event_pos): prototype added
6967 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6968 * emacs.c: call vars_of_dragdrop
6969 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6971 1998-05-11 Oliver Graf <ograf@fga.de>
6973 * frame-x.c (x_cde_transfer_callback): return at correct pos
6974 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6975 object for MIME (see comment in dragdrop.c)
6976 * dragdrop.c: API change documented in comment
6977 removed provide of dragdrop [is provided by dragdrop.el]
6979 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6981 * window.c (window_needs_vertical_divider): Enable vertical
6982 dividers for every non-rightmost window.
6983 (window_left_gutter_width): Left gutter consists of mythical
6984 toolbar and a virtual scrollbar.
6985 (window_right_gutter_width): The right one may have a divider
6988 * scrollbar.c (update_scrollbar_instance): Position vertical
6989 scrollbar left to divider if the latter present.
6991 * redisplay.h: Declared OVER_DIVIER constant.
6993 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6996 * redisplay-x.c (x_output_vertical_divider): Output divider along
6997 the right side of the window, down to window bottom. Swapped
6998 foreground and background colors so it is visible by default.
7000 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7001 stick the divider to the right window side.
7003 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7005 (mswindows_divider_width): Ask system for user preferred value.
7006 (mswindows_output_vertical_divider): Always output the divider on
7007 the right side of a window, down to bottom.
7009 * keymap.c (get_relevant_keymaps): Route mouse button events which
7010 happened over a window divider through window-divider-map.
7011 (Fkey_binding): Documented that in the docstring.
7012 Defined the variable Vwindow_divider_map.
7014 * events.c (Fevent_over_divider_p): Added this function.
7016 * events.h: EXFUNed it.
7018 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7020 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7021 toolbar geometry is suspected to change.
7023 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7027 Condition dnd and dde code on HAVE_DRAGNDROP.
7029 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7031 * events.c (format_event_object): Print space as SPC etc.
7033 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7035 * print.c (print_internal): In the default case, abort() if
7036 ERROR_CHECK_TYPECHECK.
7038 * fileio.c (Fmake_temp_name): Doc fix.
7040 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7042 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7044 * undo.c (Fprimitive_undo): Fixed typo.
7046 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7048 * fns.c (concat): Signal error on integer argument.
7050 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7052 * console.h (device_metrics): Prefixed each constatnt with DM_
7054 * device.c: (Fdevice_system_metric): Renamed so from plural form
7055 (metrics); Changed parameters order and added DEFAULT parameter;
7056 Unabbreviated some metric constants; Fixed and untabified doc string.
7057 (Fdevice_system_metrics): Added. Returns a plist of all provided
7060 * device-msw.c (mswindows_device_system_metrics): Renamed
7061 device_metrics enum constants.
7062 Return Qunbound instead of Qnil.
7064 * device-tty.c (tty_device_system_metrics): Ditto.
7066 * device-x.c (x_device_system_metrics): Ditto.
7068 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7070 * redisplay-msw.c: implement background pixmaps (really!). Make
7071 sure bg color is transparent if we have bg pmaps.
7072 * (mswindows_output_string) (mswindows_clear_region): output bg
7074 * (mswindows_output_dibitmap_region): new function.
7075 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7076 the bg color rather than transparently.
7078 * toolbar-msw.c: use masks if they exist.
7080 * glyphs-msw.c: set up masks correctly.
7082 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7084 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7086 * regex.c (re_match_2_internal): Check for quit.
7088 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7090 * frame.c (Ffocus_frame): New function.