1 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4 (Qvietnamese_viscii_upper): New variable.
5 (Fdefine_charset_alias): New function.
6 (syms_of_mule_charset): Add new function `define-charset-alias'.
7 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
8 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
11 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
13 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
14 (MAX_CHAR_OBS_94x94): New macro.
15 (breakup_char_1): Support obsolete XEmacs-UCS private code space
18 * mule-charset.c (put_byte_from_character_table): Change unit size
20 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
22 (Fmake_reverse_direction_charset): Modify dummy argument of
23 `make_charset' for non-UTF-2000 environment.
25 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
27 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
29 * mule-charset.c (destroy_byte_from_character_table): New macro.
30 (latin_jisx0201_to_ucs): Deleted.
31 (latin_iso8859_2_to_ucs): Deleted.
32 (latin_iso8859_3_to_ucs): Deleted.
33 (latin_iso8859_4_to_ucs): Deleted.
34 (latin_iso8859_9_to_ucs): Deleted.
35 (latin_viscii_lower_to_ucs): Deleted.
36 (latin_viscii_upper_to_ucs): Deleted.
37 (mark_charset): Mark `cs->decoding_table'.
38 (Fcharset_mapping_table): Fix DOC-string.
39 (Fset_charset_mapping_table): New function.
40 (syms_of_mule_charset): Add nwe function
41 `set-charset-mapping-table'.
42 (complex_vars_of_mule_charset): Don't setup and use
45 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
47 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
50 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
52 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
53 (Vcharset_katakana_jisx0208): New variable.
54 (Qhiragana_jisx0208): New variable.
55 (Qkatakana_jisx0208): New variable.
56 (make_charset): Add new argument `byte_offset'.
57 (charset_get_byte1): Modify for new coded-charset definition; use
58 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
59 `XCHARSET_BYTE_OFFSET'.
60 (Fmake_charset): Modify for `make_charset'.
61 (Fmake_reverse_direction_charset): Likewise.
62 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
64 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
65 `.' in font registry of charset `katakana-jisx0201',
66 `latin-jisx0201', `vietnamese-viscii-lower' and
67 `vietnamese-viscii-upper'; modify DOC-string of charset
68 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
69 registry of charset `japanese-jisx0208' not to use font for JIS
70 X0208:1990; add new charset `hiragana-jisx0208' and
73 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
74 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
75 (struct Lisp_Charset): Add `byte_offset'.
76 (CHARSET_BYTE_OFFSET): New macro.
77 (XCHARSET_UCS_MIN): New macro.
78 (XCHARSET_UCS_MAX): New macro.
79 (XCHARSET_CODE_OFFSET): New macro.
80 (XCHARSET_BYTE_OFFSET): New macro.
81 (MIN_CHAR_HIRAGANA): New macro.
82 (MAX_CHAR_HIRAGANA): New macro.
83 (MIN_CHAR_KATAKANA): New macro.
84 (MAX_CHAR_KATAKANA): New macro.
85 (MAKE_CHAR): Modify for new coded-charset definition; use
86 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
87 `XCHARSET_BYTE_OFFSET'.
89 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
91 * mule-charset.c (CHAR96): Deleted.
92 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
94 (latin_iso8859_2_to_ucs): Likewise.
95 (latin_iso8859_3_to_ucs): Likewise.
96 (latin_iso8859_4_to_ucs): Likewise.
97 (latin_iso8859_9_to_ucs): Likewise.
98 (latin_viscii_lower_to_ucs): Likewise.
99 (latin_viscii_upper_to_ucs): Likewise.
100 (latin_tcvn5712_to_ucs): Commented out.
101 (make_charset): Change type of argument `decoding_table' from
102 <Emchar*> to <Lisp_Object> [vector of characters].
103 (Fmake_charset): Modify for `make_charset'.
104 (Fmake_reverse_direction_charset): Likewise.
105 (Fcharset_mapping_table): New function in UTF-2000.
106 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
108 (complex_vars_of_mule_charset): Modify for type change of
109 `*_to_ucs'; modify for `make_charset'.
111 * char-ucs.h (struct Lisp_Charset): Change type of
112 `decoding_table' from <Emchar*> to <Lisp_Object>.
113 (MAKE_CHAR): Modify for new specification of `decoding_table'.
115 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
117 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
118 error with non-UTF-2000-Mule.
120 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
122 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
124 (Vcharset_chinese_cns11643_4): Likewise.
125 (Vcharset_chinese_cns11643_5): Likewise.
126 (Vcharset_chinese_cns11643_6): Likewise.
127 (Vcharset_chinese_cns11643_7): Likewise.
128 (Qchinese_cns11643_3): Likewise.
129 (Qchinese_cns11643_4): Likewise.
130 (Qchinese_cns11643_5): Likewise.
131 (Qchinese_cns11643_6): Likewise.
132 (Qchinese_cns11643_7): Likewise.
133 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
134 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
135 and `chinese-cns11643-7' to lisp/mule/chinese.el.
136 (complex_vars_of_mule_charset): Likewise.
138 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
140 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
142 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
143 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
145 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
147 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
149 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
150 (breakup_char_1): Likewise.
152 * text-coding.c (char_encode_iso2022): Keep designated charsets if
153 one of them includes the specified character.
155 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
157 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
159 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
161 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
163 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
165 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
166 definition for non-UTF-2000 Mule.
167 (latin_iso8859_3_to_ucs): Likewise.
168 (latin_iso8859_4_to_ucs): Likewise.
169 (latin_iso8859_9_to_ucs): Likewise.
170 (latin_jisx0201_to_ucs): Likewise.
171 (MIN_CHAR_THAI): Likewise.
172 (MAX_CHAR_THAI): Likewise.
173 (MIN_CHAR_GREEK): Likewise.
174 (MAX_CHAR_GREEK): Likewise.
175 (MIN_CHAR_HEBREW): Likewise.
176 (MAX_CHAR_HEBREW): Likewise.
177 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
178 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
179 (MIN_CHAR_CYRILLIC): Likewise.
180 (MAX_CHAR_CYRILLIC): Likewise.
182 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
184 * char-ucs.h (breakup_char_1): Use
185 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
186 thai-tis620 and katakana-jisx0201 area.
188 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
190 * char-ucs.h (breakup_char_1): Use
191 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
194 * text-coding.c (reset_encoding_stream): Fixed.
195 (char_encode_ucs4): Delete `& 255'.
197 * char-ucs.h (breakup_char_1): Use
198 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
200 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
202 * file-coding.c (Fmake_coding_system): Don't set up
203 `codesys->fixed.size'.
204 (encode_coding_no_conversion): Don't refer
205 `str->codesys->fixed.size'.
207 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
209 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
210 (latin_a_char_to_byte1): Deleted.
211 (latin_a_char_to_byte2): Deleted.
213 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
215 * mule-charset.c (make_charset): Add new argument `ucs_min',
216 `ucs_max' and `code_offset'.
217 (charset_get_byte1): New implementation [delete specific charset
218 depended implementations].
219 (Fmake_charset): Modify for `make_charset'.
220 (Fmake_reverse_direction_charset): Likewise.
221 (complex_vars_of_mule_charset): Likewise.
223 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
225 (CHARSET_UCS_MIN): New macro.
226 (CHARSET_UCS_MAX): New macro.
227 (CHARSET_CODE_OFFSET): New macro.
228 (MAKE_CHAR): Delete charset depended definitions [except
231 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
233 * char-ucs.h (breakup_char_1): Use
234 `Vdefault_coded_charset_priority_list' for C0-Controls,
235 Basic-Latin, C1-Controls and Latin-1-Supplement area.
237 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
239 * char-ucs.h (charset_get_byte1): New function.
240 (XCHARSET_GET_BYTE1): Deleted.
241 (charset_get_byte2): New function.
242 (XCHARSET_GET_BYTE2): Deleted.
243 (Vdefault_coded_charset_priority_list): New external variable.
244 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
245 `Vdefault_preferred_coded_charset_list'.
247 * mule-charset.c (charset_get_byte1): New function.
248 (charset_get_byte2): New function.
249 (Vdefault_coded_charset_priority_list): New variable.
250 (vars_of_mule_charset): Add new variable
251 `default-coded-charset-priority-list'.
253 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
255 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
256 (XCHARSET_GET_BYTE2): New inline function.
257 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
258 `XCHARSET_GET_BYTE2'.
260 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
262 * mule-charset.c (make_charset): Initialize
263 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
264 NULL if table is not defined.
266 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
268 * text-coding.c (char_encode_shift_jis): Use
269 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
270 `ucs_to_latin_jisx0201'.
272 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
273 (ucs_to_latin_iso8859_2): Deleted.
274 (ucs_to_latin_iso8859_3): Deleted.
275 (ucs_to_latin_iso8859_4): Deleted.
276 (ucs_to_latin_iso8859_9): Deleted.
277 (ucs_to_latin_viscii_lower): Deleted.
278 (ucs_to_latin_viscii_upper): Deleted.
279 (ucs_to_latin_tcvn5712): Deleted.
280 (make_charset): Add new argument `decoding_table'; set up
281 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
282 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
283 `decoding_table' is defined in UTF-2000.
284 (Fmake_charset): Modify for `make_charset'.
285 (Fmake_reverse_direction_charset): Likewise.
286 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
287 and `GENERATE_96_SET'.
289 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
290 (ucs_to_latin_jisx0201): Deleted.
291 (latin_iso8859_2_to_ucs): Deleted.
292 (ucs_to_latin_iso8859_2): Deleted.
293 (latin_iso8859_3_to_ucs): Deleted.
294 (ucs_to_latin_iso8859_3): Deleted.
295 (latin_iso8859_4_to_ucs): Deleted.
296 (ucs_to_latin_iso8859_4): Deleted.
297 (latin_iso8859_9_to_ucs): Deleted.
298 (ucs_to_latin_iso8859_9): Deleted.
299 (latin_viscii_lower_to_ucs): Deleted.
300 (ucs_to_latin_viscii_lower): Deleted.
301 (latin_viscii_upper_to_ucs): Deleted.
302 (ucs_to_latin_viscii_upper): Deleted.
303 (struct Lisp_Charset): Renamed `encoding_table' to
304 `to_byte1_table'; add `to_byte2_table'.
305 (CHARSET_DECODING_TABLE): New macro.
306 (CHARSET_TO_BYTE1_TABLE): New macro.
307 (CHARSET_TO_BYTE2_TABLE): New macro.
308 (XCHARSET_DECODING_TABLE): New macro.
309 (XCHARSET_TO_BYTE1_TABLE): New macro.
310 (XCHARSET_TO_BYTE2_TABLE): New macro.
311 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
313 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
314 don't use `ucs_to_*' tables.
316 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
318 * text-coding.c (Fmake_coding_system): Don't set up
319 `codesys->fixed.size'.
320 (encode_coding_no_conversion): Use `if' instead of `switch'.
322 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
324 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
326 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
327 (Fmake_charset): Modify for `make_charset'.
328 (Fmake_reverse_direction_charset): Likewise.
329 (complex_vars_of_mule_charset): Likewise.
331 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
333 * text-coding.c (char_encode_shift_jis): Use table
334 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
336 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
338 * text-coding.c (text_encode_generic): Use `if' instead of
340 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
343 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
345 * text-coding.c (encode_coding_sjis): Deleted.
346 (char_encode_shift_jis): New function.
347 (char_finish_shift_jis): New function.
348 (reset_encoding_stream): Set up `encode_char' and `finish' for
349 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
350 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
351 (char_encode_utf8): Treat `eol_type'.
353 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
355 * file-coding.c (decode_coding_iso2022): Use
356 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
358 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
360 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
363 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
365 * char-lb.h (CHAR_COLUMNS): New macro.
367 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
369 * text-coding.c (char_encode_ucs4): New function.
370 (char_finish_ucs4): New function.
371 (encode_coding_ucs4): Deleted.
372 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
373 (text_encode_generic): Delete local variable `charset' and `half'.
374 (ucs_to_mule_table): Deleted.
375 (mule_to_ucs_table): Deleted.
376 (Fset_ucs_char): Deleted.
377 (ucs_to_char): Deleted.
378 (Fucs_char): Deleted.
379 (Fset_char_ucs): Deleted.
380 (Fchar_ucs): Deleted.
381 (decode_ucs4): Deleted.
382 (mule_char_to_ucs4): Deleted.
383 (encode_ucs4): Deleted.
384 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
385 (decode_coding_utf8): Likewise.
386 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
387 (char_encode_iso2022): Fixed.
388 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
389 `Fset_char_ucs' and `Fchar_ucs'.
390 (complex_vars_of_file_coding): Don't initialize
393 * objects-tty.c (tty_initialize_font_instance): Don't use
396 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
399 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
400 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
402 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
403 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
404 (emchar_string_displayed_columns): Likewise.
406 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
407 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
408 (string_column_at_point): Likewise.
409 (Fmove_to_column): Likewise.
411 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
412 `encoding_table' and `decoding_table'.
413 (CHARSET_REP_BYTES): Deleted.
414 (XCHARSET_REP_BYTES): Deleted.
415 (XCHARSET_COLUMNS): Deleted.
416 (CHAR_COLUMNS): New macro.
417 (lookup_composite_char): Deleted unconditionally.
418 (composite_char_string): Likewise.
420 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
422 * char-ucs.h (Emchar_to_byte_table): New type.
423 (get_byte_from_character_table): New function interface.
424 (Vcharset_latin_jisx0201): New variable.
425 (latin_jisx0201_to_ucs): New variable.
426 (ucs_to_latin_jisx0201): New variable.
427 (Vcharset_latin_iso8859_2): New variable.
428 (latin_iso8859_2_to_ucs): New variable.
429 (ucs_to_latin_iso8859_2): New variable.
430 (Vcharset_latin_iso8859_3): New variable.
431 (latin_iso8859_3_to_ucs): New variable.
432 (ucs_to_latin_iso8859_3): New variable.
433 (Vcharset_latin_iso8859_4): New variable.
434 (latin_iso8859_4_to_ucs): New variable.
435 (ucs_to_latin_iso8859_4): New variable.
436 (Vcharset_latin_iso8859_9): New variable.
437 (latin_iso8859_9_to_ucs): New variable.
438 (ucs_to_latin_iso8859_9): New variable.
439 (Vcharset_latin_viscii_lower): New variable.
440 (latin_viscii_lower_to_ucs): New variable.
441 (ucs_to_latin_viscii_lower): New variable.
442 (Vcharset_latin_viscii_upper): New variable.
443 (latin_viscii_upper_to_ucs): New variable.
444 (ucs_to_latin_viscii_upper): New variable.
445 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
446 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
447 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
448 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
449 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
450 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
451 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
452 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
453 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
454 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
456 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
457 (Vcharset_latin_viscii_upper): New variable.
458 (make_byte_from_character_table): New function.
459 (put_byte_from_character_table): New function.
460 (get_byte_from_character_table): New function.
462 (ucs_to_latin_jisx0201): New variable.
463 (latin_jisx0201_to_ucs): New variable.
464 (ucs_to_latin_iso8859_2): New variable.
465 (latin_iso8859_2_to_ucs): New variable.
466 (ucs_to_latin_iso8859_3): New variable.
467 (latin_iso8859_3_to_ucs): New variable.
468 (ucs_to_latin_iso8859_4): New variable.
469 (latin_iso8859_4_to_ucs): New variable.
470 (ucs_to_latin_iso8859_9): New variable.
471 (latin_iso8859_9_to_ucs): New variable.
472 (ucs_to_latin_viscii_lower): New variable.
473 (latin_viscii_lower_to_ucs): New variable.
474 (ucs_to_latin_viscii_upper): New variable.
475 (latin_viscii_upper_to_ucs): New variable.
476 (ucs_to_latin_tcvn5712): New variable.
477 (latin_tcvn5712_to_ucs): New variable.
478 (Qlatin_viscii_lower): New variable.
479 (Qlatin_viscii_upper): New variable.
480 (syms_of_mule_charset): Set up new symbol
481 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
482 (complex_vars_of_mule_charset): Set up new charset
483 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
484 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
485 `ucs_to_<CHARSET>' tables.
487 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
489 * text-coding.c: New file.
491 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
493 * mule-charset.c (Fmake_char): Fix problem of 256-set.
495 * char-ucs.h (Vcharset_ucs_bmp): New variable.
496 (MAKE_CHAR): Modify for `ucs-bmp'.
497 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
498 non-MULE characters of BMP.
500 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
502 * mule-charset.c (vars_of_mule_charset):
503 Update `utf-2000-version' to 0.6.
505 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
508 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
509 - Include character.h for `CHAR_ASCII_P'.
511 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
513 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
514 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
516 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
517 (BYTE_C0_P): Likewise.
518 (BYTE_C1_P): Likewise.
519 (Lstream_get_emchar_1): Likewise.
520 (Lstream_fput_emchar): Likewise.
521 (Lstream_funget_emchar): Likewise.
522 (copy_internal_to_external): Likewise.
523 (copy_external_to_internal): Likewise.
525 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
526 (BYTE_C0_P): Likewise.
527 (BYTE_C1_P): Likewise.
528 (Lstream_get_emchar_1): Likewise.
529 (Lstream_fput_emchar): Likewise.
530 (Lstream_funget_emchar): Likewise.
531 (copy_internal_to_external): Likewise.
532 (copy_external_to_internal): Likewise.
534 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
535 (REP_BYTES_BY_FIRST_BYTE): Likewise.
537 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
538 (BYTE_ASCII_P): Moved to mb-1byte.h.
540 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
542 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
544 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
545 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
546 (VALID_CHARPTR_P): Moved to mb-*byte.h.
547 (VALIDATE_CHARPTR_BACKWARD): Likewise.
548 (VALIDATE_CHARPTR_FORWARD): Likewise.
549 (simple_charptr_emchar): Moved to mb-multibyte.h.
550 (simple_set_charptr_emchar): Likewise.
551 (simple_charptr_copy_char): Likewise.
552 (non_ascii_charptr_emchar): Likewise.
553 (non_ascii_set_charptr_emchar): Likewise.
554 (non_ascii_charptr_copy_char): Likewise.
555 (charptr_emchar): Moved to mb-*byte.h.
556 (set_charptr_emchar): Likewise.
557 (charptr_copy_char): Likewise.
559 * mb-1byte.h, mb-multibyte.h: New files.
561 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
563 * mb-utf-8.h (MULTIBYTE): New macro.
564 (MAX_EMCHAR_LEN): Moved from buffer.h.
565 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
567 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
569 * mb-lb.h, multibyte.h: New files.
571 * char-1byte.h (Charset_ID): Moved from buffer.h.
572 (MIN_LEADING_BYTE): Likewise.
573 (LEADING_BYTE_ASCII): Likewise.
574 (NUM_LEADING_BYTES): Likewise.
575 (CHARSETP): Likewise.
576 (CHARSET_BY_LEADING_BYTE): Likewise.
577 (XCHARSET_LEADING_BYTE): Likewise.
578 (XCHARSET_GRAPHIC): Likewise.
579 (XCHARSET_COLUMNS): Likewise.
580 (XCHARSET_DIMENSION): Likewise.
581 (CHAR_CHARSET): Likewise.
582 (CHAR_LEADING_BYTE): Likewise.
583 (BREAKUP_CHAR): Likewise.
584 (Vcharset_ascii): Likewise.
586 * buffer.h: Include multibyte.h unconditionally.
587 (VALID_CHARPTR_P): Moved to multibyte.h.
588 (ASSERT_VALID_CHARPTR): Likewise.
589 (REAL_INC_CHARPTR): Likewise.
590 (REAL_INC_CHARBYTIND): Likewise.
591 (REAL_DEC_CHARPTR): Likewise.
592 (INC_CHARPTR): Likewise.
593 (INC_CHARBYTIND): Likewise.
594 (DEC_CHARPTR): Likewise.
595 (VALIDATE_CHARPTR_BACKWARD): Likewise.
596 (VALIDATE_CHARPTR_FORWARD): Likewise.
597 (charptr_n_addr): Likewise.
598 (MAX_EMCHAR_LEN): Moved to mb-*.h.
599 (simple_charptr_emchar): Moved to multibyte.h.
600 (simple_set_charptr_emchar): Likewise.
601 (simple_charptr_copy_char): Likewise.
602 (non_ascii_charptr_emchar): Likewise.
603 (non_ascii_set_charptr_emchar): Likewise.
604 (non_ascii_charptr_copy_char): Likewise.
605 (charptr_emchar): Likewise.
606 (set_charptr_emchar): Likewise.
607 (charptr_copy_char): Likewise.
608 (charptr_emchar_n): Likewise.
609 (Charset_ID): Moved to char-1byte.h.
610 (Vcharset_ascii): Likewise.
611 (CHAR_CHARSET): Likewise.
612 (CHAR_LEADING_BYTE): Likewise.
613 (LEADING_BYTE_ASCII): Likewise.
614 (NUM_LEADING_BYTES): Likewise.
615 (MIN_LEADING_BYTE): Likewise.
616 (CHARSETP): Likewise.
617 (CHARSET_BY_LEADING_BYTE): Likewise.
618 (XCHARSET_LEADING_BYTE): Likewise.
619 (XCHARSET_GRAPHIC): Likewise.
620 (XCHARSET_COLUMNS): Likewise.
621 (XCHARSET_DIMENSION): Likewise.
622 (BREAKUP_CHAR): Likewise.
624 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
626 * character.h: Add document about interface for characters.
628 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
629 (MAKE_CHAR): Delete comment about
630 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
631 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
632 (BREAKUP_CHAR): Modify name of arguments.
633 (CHAR_CHARSET): Modify name of argument.
635 * buffer.h: Delete document about Emchar accessors.
637 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
639 * character.h (CHAR_INTP): Moved from buffer.h
640 (CHAR_OR_CHAR_INTP): Likewise.
641 (XCHAR_OR_CHAR_INT): Likewise.
642 (CHECK_CHAR_COERCE_INT): Likewise.
644 * buffer.h (CHAR_INTP): Moved to character.h
645 (CHAR_OR_CHAR_INTP): Likewise.
646 (XCHAR_OR_CHAR_INT): Likewise.
647 (CHECK_CHAR_COERCE_INT): Likewise.
649 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
652 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
653 - Include char-1byte.h, char-lb.h or char-ucs.h.
655 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
657 * buffer.h: Include character unconditionally.
658 (valid_char_p): Moved to char-*.h.
659 (non_ascii_valid_char_p): Moved to char-lb.h.
661 * char-1byte.h, char-lb.h, char-ucs.h: New files.
663 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
665 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
666 in UTF-2000 because it is not ported yet and not to use
667 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
668 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
669 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
671 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
672 (CHAR_ASCII_P): Moved from character.h.
674 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
675 (CHAR_ASCII_P): Likewise.
676 (CHAR_FIELD1_MASK): Deleted.
677 (CHAR_FIELD2_MASK): Deleted.
678 (CHAR_FIELD3_MASK): Deleted.
679 (MAX_CHAR_BASIC_LATIN): New macro.
680 (CHAR_FIELD1): Deleted.
681 (CHAR_FIELD2_INTERNAL): Deleted.
682 (CHAR_FIELD3_INTERNAL): Deleted.
683 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
684 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
685 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
686 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
687 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
688 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
689 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
690 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
691 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
692 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
693 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
694 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
695 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
696 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
697 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
698 (MIN_CHAR_COMPOSITION): Deleted.
699 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
700 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
702 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
704 * buffer.h: Include mb-utf-8.h in UTF-2000.
706 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
708 * mb-utf-8.h: New file.
710 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
712 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
715 * mule-charset.h, buffer.h (Charset_ID): New type.
717 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
719 * mule-canna.c (c2mu): Use `MAKE_CHAR',
720 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
721 instead of `MULE_CHAR_PRIVATE_OFFSET',
722 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
723 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
724 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
726 * character.h (Vcharset_japanese_jisx0212): New variable
729 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
731 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
732 (charset_by_attributes): Delete array about direction.
733 (latin_a_char_to_charset): New variable in UTF-2000.
734 (latin_a_char_to_byte1): New variable in UTF-2000.
735 (latin_a_char_to_byte2): New variable in UTF-2000.
736 (Qucs_bmp): New variable.
737 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
739 (next_allocated_2_byte_leading_byte): Likewise.
740 (non_ascii_set_charptr_emchar): Likewise.
741 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
742 `CHARSET_TYPE_256X256' in UTF-2000; modify for
743 `charset_by_attributes'.
744 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
745 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
746 and `CHARSET_BY_LEADING_BYTE'.
747 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
748 `utf-2000-version' to `vars_of_mule_charset'.
749 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
750 define `leading-code-private-11' in UTF-2000; move setting of
751 `utf-2000-version' from `syms_of_mule_charset'.
752 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
755 * character.h (Charset_ID): New type.
756 (LEADING_BYTE_UCS_BMP): New macro.
757 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
758 (CHARSET_ID_OFFSET_94): New macro.
759 (MIN_CHARSET_ID_PRIVATE_94): New macro.
760 (MAX_CHARSET_ID_PRIVATE_94): New macro.
761 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
763 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
764 (LEADING_BYTE_LATIN_JISX0201): Likewise.
765 (CHARSET_ID_OFFSET_96): New macro.
766 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
767 CHARSET_ID_OFFSET_96 and final-byte.
768 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
769 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
770 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
771 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
772 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
773 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
774 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
775 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
776 (LEADING_BYTE_THAI_TIS620): Likewise.
777 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
778 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
779 (CHARSET_ID_OFFSET_94x94): New macro.
780 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
781 CHARSET_ID_OFFSET_94x94 and final-byte.
782 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
783 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
784 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
785 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
786 (LEADING_BYTE_CHINESE_GB2312): Likewise.
787 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
788 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
789 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
790 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
791 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
792 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
793 (CHARSET_TYPE_128X128): New macro.
794 (CHARSET_TYPE_256X256): New macro.
795 (XCHARSET_PRIVATE_P): Delete unconditionally.
796 (charset_by_attributes): Delete array about direction.
797 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
798 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
799 (MIN_CHAR_94): New macro.
800 (MAX_CHAR_94): New macro.
801 (MIN_CHAR_96): New macro.
802 (MAX_CHAR_96): New macro.
803 (MIN_CHAR_94x94): New macro.
804 (MAX_CHAR_94x94): New macro.
805 (MIN_CHAR_96x96): New macro.
806 (MAX_CHAR_96x96): New macro.
807 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
808 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
809 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
811 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
812 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
813 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
814 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
815 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
816 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
817 `XCHARSET_LEADING_BYTE' to make code-point.
818 (latin_a_char_to_charset): New variable.
819 (latin_a_char_to_byte1): New variable.
820 (latin_a_char_to_byte2): New variable.
821 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
822 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
823 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
825 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
826 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
827 (find_charsets_in_emchar_string): Likewise.
828 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
830 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
832 (decode_coding_iso2022): Likewise.
834 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
837 * redisplay.c (redisplay_text_width_emchar_string): Use
838 `Charset_ID' instead of `unsigned char'.
839 (redisplay_frame_text_width_string): Likewise.
841 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
844 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
845 instead of `unsigned char'.
846 (face_cachel_charset_font_metric_info): Likewise.
848 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
849 (get_non_ascii_char_table_value): Likewise.
850 (get_char_table): Likewise.
851 (put_char_table): Likewise.
852 (map_over_other_charset): Likewise.
853 (map_char_table): Likewise.
855 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
856 instead of `unsigned char'.
858 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
860 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
861 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
863 * mule-charset.c (leading_code_private_11): Don't define in
866 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
867 in UTF-2000 because it is not ported yet and not to use
868 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
870 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
872 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
874 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
876 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
879 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
880 of unsigned char to store leading-byte.
882 * chartab.c (get_non_ascii_char_table_value): Don't use
883 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
885 * file-coding.c (encode_coding_big5): Delete bogus implementation
888 * character.h (LEADING_BYTE_*): Delete definition for
890 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
891 (LEADING_BYTE_PREFIX_P): Deleted.
892 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
893 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
894 (BUFBYTE_LEADING_BYTE_P): Deleted.
895 (CHARSET_PRIVATE_P): Deleted unconditionally.
896 (rep_bytes_by_first_byte): Deleted unconditionally.
897 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
898 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
899 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
900 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
901 (CHAR_FIELD2): Deleted.
902 (CHAR_FIELD3): Deleted.
903 (MAKE_CHAR): Delete definition for non-UTF-2000.
904 (BREAKUP_CHAR_1_UNSAFE): Deleted.
905 (breakup_char_1): New implementation.
906 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
907 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
909 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
911 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
914 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
916 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
917 (CHARSET_PRIVATE_P): Likewise.
918 (XCHARSET_PRIVATE_P): Likewise.
919 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
921 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
923 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
925 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
927 * character.h (LEADING_BYTE_*): Changed in UTF2000.
928 (NUM_LEADING_BYTES): Changed from 128 to 256.
929 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
930 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
932 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
934 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
936 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
937 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
938 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
939 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
940 (Qchinese_cns11643_3): New variable in UTF2000.
941 (Qchinese_cns11643_4): New variable in UTF2000.
942 (Qchinese_cns11643_5): New variable in UTF2000.
943 (Qchinese_cns11643_6): New variable in UTF2000.
944 (Qchinese_cns11643_7): New variable in UTF2000.
945 (syms_of_mule_charset): Define `chinese-cns11643-3',
946 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
947 and `chinese-cns11643-7' in UTF2000.
948 (vars_of_mule_charset): Initialize
949 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
951 (complex_vars_of_mule_charset): Setup charset
952 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
953 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
955 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
957 * mule-charset.c: Move setting for `leading-code-private-11' from
958 `syms_of_mule_charset' to `vars_of_mule_charset'.
960 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
962 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
963 and `NUM_LEADING_BYTES' in assert.
965 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
967 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
969 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
970 `NUM_LEADING_BYTES' instead of 128.
972 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
974 * mule-charset.h (charset_by_leading_byte): Use
975 `NUM_LEADING_BYTES' instead of 128.
976 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
978 * mule-charset.c (charset_by_leading_byte): Use
979 `NUM_LEADING_BYTES' instead of 128.
980 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
982 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
985 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
987 * mule-charset.c (syms_of_mule_charset): Update to
990 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
992 * file-coding.c (encode_coding_sjis): New implementation for
993 UTF2000. (decode_coding_sjis): Ditto.
995 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
997 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
998 Don't define in UTF2000.
1000 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1003 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1004 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1007 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1009 * config.h.in (CHAR_IS_UCS4): New macro.
1011 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1012 conventional MULE representation.
1013 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1015 * mule-charset.h: Reverted to original.
1017 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1018 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1019 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1021 * character.h: New file.
1023 * file-coding.c (Fmake_coding_system): Set 1 to
1024 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1026 (encode_coding_no_conversion): New implementation for UTF2000.
1028 * file-coding.h (struct Lisp_Coding_System): Add new member
1031 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1033 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1034 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1035 (encode_coding_iso2022): New implementation for UTF2000.
1037 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1039 * mule-canna.c (c2mu): New implementation for UTF2000.
1042 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1044 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1046 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1048 * file-coding.c (reset_encoding_stream): Set 0 to
1049 `str->iso2022.current_char_boundary' in UTF2000.
1050 (encode_utf8): Don't define in UTF2000.
1051 (encode_coding_utf8): New implementation for UTF-8 representation
1053 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1055 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1057 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1059 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1061 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1063 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1065 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1066 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1067 as UTF-8 in UTF2000.
1068 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1069 (non_ascii_valid_char_p): Don't define in UTF2000.
1070 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1071 (Lstream_get_emchar_1): Likewise.
1072 (utf-2000-version): New variable in UTF2000.
1074 * lread.c (read_escape): Add new reader `u'.
1076 * insdel.c (three_to_one_table): Don't define in UTF2000.
1077 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1078 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1080 (bytind_to_bufpos_func): Likewise.
1081 (buffer_mule_signal_inserted_region): Likewise.
1082 (vars_of_insdel): Don't initialize `three_to_one_table'.
1083 (init_buffer_text): Use `buf->text->mule_size' instead of
1084 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1087 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1088 UTF-8 representation in UTF2000.
1089 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1090 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1091 (decode_coding_iso2022): Don't define local variable `lb' in
1092 UTF2000; don't use LEADING_BYTE in UTF2000; use
1093 `DECODE_ADD_UCS_CHAR' in UTF2000.
1094 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1096 * config.h.in (UTF2000): New macro.
1098 * buffer.h (struct buffer_text): Add new member `mule_size' and
1099 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1100 (valid_char_p): Return always 1 in UTF2000.
1101 (MAX_EMCHAR_LEN): 6 in UTF2000.
1102 (three_to_one_table): Don't define in UTF2000.
1103 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1105 (real_bytind_to_bufpos): Likewise.
1107 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1109 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1111 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1112 representation change.
1113 (Vutf_2000_version): New variable.
1114 (leading_code_private_11): New variable.
1115 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1116 `leading-code-private-11'.
1118 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1119 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1120 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1121 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1122 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1123 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1124 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1125 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1126 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1127 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1128 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1129 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1130 (MIN_CHAR_GREEK): New macro.
1131 (MAX_CHAR_GREEK): New macro.
1132 (MIN_CHAR_CYRILLIC): New macro.
1133 (MAX_CHAR_CYRILLIC): New macro.
1134 (MIN_CHAR_HEBREW): New macro.
1135 (MAX_CHAR_HEBREW): New macro.
1136 (MIN_CHAR_THAI): New macro.
1137 (MAX_CHAR_THAI): New macro.
1138 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1139 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1140 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1141 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1142 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1143 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1144 (CHAR_FIELD2): New inline function.
1145 (CHAR_FIELD3): New inline function.
1146 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1147 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1148 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1149 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1150 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1151 (MIN_CHAR_COMPOSITION): Likewise.
1152 (CHAR_LEADING_BYTE): Modified for character representation change.
1153 (MAKE_CHAR): Likewise.
1155 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1156 (Vcharset_greek_iso8859_7): Likewise.
1157 (Vcharset_cyrillic_iso8859_5): Likewise.
1158 (Vcharset_hebrew_iso8859_8): Likewise.
1159 (Vcharset_thai_tis620): Likewise.
1160 (Vcharset_katakana_jisx0201): Likewise.
1162 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1164 * file-coding.c (determine_real_coding_system): Treat `coding:'
1167 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1169 * file-coding.c (struct decoding_stream): New member `counter'.
1170 (reset_decoding_stream): Initialize `counter'.
1171 (decode_coding_ucs4): Use `counter'.
1172 (decode_coding_utf8): Likewise.
1174 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1176 * XEmacs 21.2.19 is released
1178 1999-07-27 Jeff Miller <jmiller@smart.net>
1180 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1181 menubar_show_keybindings.
1183 1999-07-23 SL Baur <steve@miho>
1185 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1186 definition of Qccl_program.
1188 * mule-ccl.h: Make a global declaration of it here.
1190 1999-07-20 Bob Weiner <weiner@beopen.com>
1192 * s/sco7.h: Added from rr@sco.com.
1194 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1196 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1198 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1200 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1201 (mule_encode): Likewise.
1203 * mule-ccl.c (Qccl_program): New variable.
1204 (CCL_SUSPEND): New macro.
1205 (CCL_INVALID_CMD): New macro.
1206 (CCL_READ_CHAR): Don't regard as invalid command while processing
1207 the last block even if input is empty; use
1208 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1209 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1211 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1212 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1213 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1214 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1215 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1217 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1219 * mule-ccl.h (struct ccl_program): New member stack_idx.
1221 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1222 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1224 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1226 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1228 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1231 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1233 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1234 processing the last block, don't just finish but processes eol
1235 block of the current CCL program.
1236 (ccl_driver): Add a new jump label ccl_repeat for the above
1239 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1241 * mule-ccl.c: Typo in comments fixed.
1242 (Qccl_program_idx): New variables.
1243 (CCL_ReadMultibyteChar2): Macro name changed from
1244 CCL_ReadMultibyteCharacter.
1245 (CCL_WriteMultibyteChar2): Macro name changed from
1246 CCL_WriteMultibyteChar2.
1247 (ccl_driver): Adjusted for the above changes.
1248 (resolve_symbol_ccl_program): New function.
1249 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1250 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1251 numbers by resolve_symbol_ccl_program.
1252 (Fccl_execute_on_string): Likewise.
1253 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1254 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1256 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1258 * mule-ccl.h: (struct ccl_program): New member private_state.
1261 (CCL_Call): Fix the comment.
1262 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1263 macros for CCL Commands.
1265 (ccl_driver): New case lable `CCL_Extention'.
1266 (setup_ccl_program): Initialize the member `private_state' of CCL.
1268 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1270 * keymap.c (copy_keymap_internal): Inherit the default binding.
1272 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1274 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1275 focus the event (XIM_focus_event).
1276 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1277 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1278 the interface for future use (XIM_SetGeometry).
1279 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1280 location (XIM_SetSpotLocation).
1281 (x_output_eol_cursor): Ditto.
1283 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1285 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1286 Olivier's change to lrecord.h of 1999-04-22
1288 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1290 * gutter.c (redraw_exposed_gutter): Change type of pos from
1291 enum toolbar_pos -> enum gutter_pos, since former is only defined
1292 if toolbar support is.
1294 1999-07-19 Andy Piper <andy@xemacs.org>
1296 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1299 * gutter.c (gutter_validate): new function for the gutter specifier.
1300 (specifier_type_create_gutter): declare specifier validator.
1302 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1304 1999-07-18 Andy Piper <andy@xemacs.org>
1306 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1308 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1310 (mswindows_resize_subwindow): new function.
1312 * gutter.c (redraw_exposed_gutter): only reset the
1313 current_display_lines if non-zero.
1314 (Fgutter_pixel_height): new function.
1315 (Fgutter_pixel_width): new function.
1317 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1318 we want to retrive from the tab control.
1320 1999-07-17 Andy Piper <andy@xemacs.org>
1322 * window.c (change_window_height): mark gutters changed when we're
1325 * gutter.c (specifier_vars_of_gutter): make defaults more
1328 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1330 (DEFAULT_GUTTER_WIDTH): change.
1331 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1333 1999-07-18 Andy Piper <andy@xemacs.org>
1335 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1337 1999-07-16 Andy Piper <andy@xemacs.org>
1339 * frame.c (Fmake_frame): call init_frame_gutters().
1341 * redisplay.c (add_emchar_rune): use string functions if we are
1342 working with a string.
1343 (position_redisplay_data_type): add string element.
1345 1999-07-15 Andy Piper <andy@xemacs.org>
1347 * winslots.h: add real_gutter_size slots to hold the actual gutter
1348 size. This is important for autodetected sizes.
1350 * gutter.c (calculate_gutter_size): calculate size for gutters
1351 that have 'autodetect size.
1353 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1354 extent of divider for gutters.
1356 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1357 divider for gutters.
1359 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1360 position to take into account the gutters.
1362 * redisplay.c (generate_modeline): adjust modeline position to
1363 take into account the gutters.
1365 1999-07-14 Andy Piper <andy@xemacs.org>
1367 * gutter.c (frame_topmost_window): new function.
1368 (frame_bottommost_window): ditto.
1369 (frame_leftmost_window): ditto.
1370 (frame_rightmost_window): ditto.
1372 1999-07-13 Andy Piper <andy@xemacs.org>
1374 * redisplay.c (calculate_display_line_boundaries): use text
1375 boundaries so that gutters get handled properly.
1377 1999-07-12 Andy Piper <andy@xemacs.org>
1379 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1382 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1385 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1388 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1390 * gutter.c: new file - implements gutters. All new functions are
1391 semantically equivalent to the toolbar functions.
1392 (gutter_was_visible): new function.
1393 (get_gutter_coords): ditto.
1394 (output_gutter): ditto.
1395 (clear_gutter): ditto.
1396 (update_frame_gutters): ditto.
1397 (redraw_exposed_gutter): ditto.
1398 (redraw_exposed_gutters): ditto.
1399 (free_frame_gutters): ditto.
1400 (init_frame_gutters): ditto.
1401 (decode_gutter_position): ditto.
1402 (Fset_default_gutter_position): ditto.
1403 (Fset_default_gutter_position): ditto.
1404 (Fdefault_gutter_position): ditto.
1405 (gutter_after_change): ditto.
1406 (Fgutter_specifier_p): ditto.
1407 (recompute_overlaying_specifier): ditto.
1408 (gutter_specs_changed): ditto.
1409 (default_gutter_specs_changed): ditto.
1410 (gutter_geometry_changed_in_window): ditto.
1411 (default_gutter_size_changed_in_window): ditto.
1412 (default_gutter_border_width_changed_in_window): ditto.
1413 (default_gutter_visible_p_changed_in_window): ditto.
1414 (syms_of_gutter): ditto.
1415 (vars_of_gutter): ditto.
1416 (specifier_type_create_gutter): ditto.
1417 (specifier_vars_of_gutter): ditto.
1419 * gutter.h: new file. Contains gutter constants and sizing macros
1420 similar to those for the toolbar.
1422 * winslots.h: add gutter variables.
1424 * window.h: declare window_is_* functions.
1426 * window.c (window_is_lowest): make non-static.
1427 (window_is_highest): ditto.
1428 (window_top_toolbar_height): deleted.
1429 (window_bottom_toolbar_height): deleted.
1430 (window_left_toolbar_width): deleted.
1431 (window_right_toolbar_width): deleted.
1432 (window_top_gutter_height): add gutter sizing.
1433 (window_bottom_gutter_height): ditto.
1434 (window_left_gutter_width): ditto.
1435 (window_right_gutter_width): ditto.
1437 * symsinit.h: declarations for gutters vars etc.
1439 * search.c (bi_find_next_emchar_in_string): new function.
1441 * scrollbar.c (update_scrollbar_instance): remove reference to
1442 window_bottom_toolbar_height which did nothing.
1444 * redisplay.h (struct display_line): add face indices for
1445 overriding defaults in output_display_line.
1446 Add gutter_changed flags and declarations.
1448 * redisplay.c (create_string_text_block): new function, similar to
1449 create_text_block but for strings. Display tables etc are used
1450 from the currently selected window.
1451 (generate_string_display_line): ditto. Similar to
1452 generate_display_line.
1453 (generate_displayable_area): generate display lines for a given
1454 area on a frame. Input is the string, with associated extents, to
1456 (redisplay_frame): add gutter_changed check.
1457 (redisplay_device): ditto.
1458 (redisplay_without_hooks): ditto.
1460 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1461 (x_redraw_exposed_area): redraw exposed gutters.
1462 (x_bevel_area): new redisplay device method.
1463 (x_type_create_redisplay_mswindows): add bevel_area device method.
1464 (x_output_display_block): fiddly Martin-style cleanup.
1465 (x_output_vertical_divider): use bevel_area.
1467 * redisplay-output.c (output_display_line): check display_lines
1468 for face information before using defaults.
1469 (bevel_modeline): new function, calls bevel_area with appropriate
1472 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1473 (mswindows_redraw_exposed_area): redraw exposed gutters.
1474 (mswindows_bevel_area): new redisplay device method.
1475 (console_type_create_redisplay_mswindows): add bevel_area device
1478 * indent.c (string_column_at_point): add column_at_point but for
1481 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1482 instantiate widgets that we have a toolkit for.
1484 * general.c: add Qgutter.
1486 * frame.h (struct frame): add display lines for gutters and
1489 * frame.c (set_frame_selected_window): mark gutters changed.
1491 * emacs.c (main_1): add gutter initialisation.
1493 * device.h (struct device): add gutter_changed flag and macros to
1496 * console.h (struct console_methods): new bevel area redisplay
1499 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1500 REAL_INC_BYTIND is for buffers.
1501 (INC_CHARPTR): ditto.
1503 * Makefile.in.in (objs): add gutter.o
1505 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1507 * XEmacs 21.2.18 is released
1509 1999-07-08 SL Baur <steve@mule.m17n.org>
1511 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1513 (emacs_Xt_handle_magic_event): Ditto.
1514 * redisplay-x.c (x_output_string): Ditto.
1515 (x_output_eol_cursor): Ditto.
1517 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1519 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1520 problem that when XIM is destroyed or missed with some reason,
1521 xemacs will die. Now xim=xlib waits the XIM will be ready and
1522 endures the case of XIM end up.
1524 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1526 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1527 SIGINT and SIGCHLD before calling tt_open and restore the
1528 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1530 1999-07-06 SL Baur <steve@xemacs.org>
1532 * s/linux.h: gcc-2.8 changes for powerpc
1533 From Justin Vallon <vallon@mindspring.com>
1535 1999-07-05 Didier Verna <verna@inf.enst.fr>
1537 * indent.c: new symbol Qcoerce.
1538 (Fmove_to_column): use it + doc string update.
1540 1999-07-04 Andy Piper <andy@xemacs.org>
1542 * console.c: undo earlier Fprovide changes.
1546 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1547 function. validate appropriate image formats for tty.
1549 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1550 initialize consoles parameter.
1551 (struct image_instantiator_methods): add consoles parameter.
1552 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1554 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1557 * glyphs-msw.c: declare instantiators for later use.
1558 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1559 and friends on the mswindows console.
1560 * glyphs-x.c: ditto.
1562 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1563 that have not been registered on the supplied device.
1564 (Fvalid_image_instantiator_format_p): add locale argument.
1565 (instantiate_image_instantiator): valid image instantiator on the
1568 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1571 * emacs.c (main_1): add call to
1572 image_instantiator_format_create_glyphs_tty().
1574 1999-06-29 Olivier Galibert <galibert@pobox.com>
1576 * lisp.h: Add #include <stddef.h>.
1578 * sysdep.c: Remove #include <stddef.h>.
1579 * symbols.c: Remove #include <stddef.h>.
1580 * sheap.c: Remove #include <stddef.h>.
1581 * opaque.c: Remove #include <stddef.h>.
1582 * nt.c: Remove #include <stddef.h>.
1583 * mule-charset.c: Remove #include <stddef.h>.
1584 * marker.c: Remove #include <stddef.h>.
1585 * file-coding.c: Remove #include <stddef.h>.
1586 * extents.c: Remove #include <stddef.h>.
1587 * elhash.c: Remove #include <stddef.h>.
1588 * data.c: Remove #include <stddef.h>.
1589 * chartab.c: Remove #include <stddef.h>.
1590 * bytecode.c: Remove #include <stddef.h>.
1591 * alloc.c: Remove #include <stddef.h>. Fix vector description
1593 1999-06-30 SL Baur <steve@miho.m17n.org>
1595 * editfns.c: Document "%s" format spec.
1596 Suggested by Bob Weiner <weiner@altrasoft.com>
1598 1999-06-29 Andy Piper <andy@xemacs.org>
1600 * event-msw.c: fix definition booboo.
1602 1999-06-28 Andy Piper <andy@xemacs.org>
1604 * glyphs-x.c: change tree -> tree-view, progress ->
1605 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1607 (complex_vars_of_glyphs_x): provide-on-console the implemented
1610 * glyphs-msw.c: ditto.
1611 (complex_vars_of_glyphs_mswindows): ditto.
1613 * lisp.h: add Fprovide_on_console.
1615 * fns.c (Ffeaturep): add extra optional console argument.
1616 (Fprovide_on_console): like Fprovide but provides only on the
1617 specified console-type.
1618 (Frequire): check console-features as well as global features.
1620 * console.c (Fconsole_features): new function. return features for
1622 (syms_of_console): add Fconsole_features.
1624 * console.h (CONMETH_FEATURES): new function for accessing features.
1625 (CONSOLE_FEATURES): ditto.
1626 (struct console_methods): add features slot.
1627 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1629 1999-06-28 Andy Piper <andy@xemacs.org>
1631 * event-Xt.c (handle_focus_event_1): conditionally compile for
1634 * s/cygwin32.h: fix me website address.
1636 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1638 * gui-x.c (button_item_to_widget_value): only add callback if it
1641 * glyphs-x.c: add progress, edit and combo instantiators.
1642 (x_widget_set_property): new function. uses lwlib to set widget
1644 (x_widget_property): new function. uses lwlib to get widget
1646 (x_button_instantiate): support images in buttons.
1647 (x_button_property): new function. use lwlib to get the selected
1649 (x_progress_instantiate): new function for instantiating progress
1651 (x_progress_set_property): new function. sets the progress gauge
1653 (x_edit_instantiate): new function. for instantiating edit fields.
1654 (x_combo_instantiate): new function. for instantiating combo
1656 (image_instantiator_format_create_glyphs_x): add new device ii
1659 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1661 * console.h (CONSOLE_FEATURES): new features accesor.
1663 * conslots.h (MARKED_SLOT): add features entry.
1665 1999-06-25 Andy Piper <andy@xemacs.org>
1667 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1670 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1672 * gui.h (struct Lisp_Gui_Item): add accelerator.
1674 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1675 (gui_item_init): ditto.
1676 (gui_add_item_keywords_to_plist): ditto.
1677 (mark_gui_item): ditto.
1678 (gui_item_hash): ditto.
1679 (gui_item_accelerator): new function.
1680 (gui_name_accelerator): new function stolen from gui-x.c
1682 * gui-x.c (popup_selection_callback): always define. mark
1683 subwindows changed after calling a callback.
1684 (menu_name_to_accelerator): deleted.
1685 (button_item_to_widget_value): forward gui_item things to gui_item
1688 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1689 appropriate accesors.
1691 * glyphs-x.c: declare new glyph formats.
1692 (x_finalize_image_instance): unmanage and destroy widgets if they
1694 (x_unmap_subwindow): handle widgets specially.
1695 (x_map_subwindow): ditto. offset display of widgets by offset of
1696 text widget within container.
1697 (x_update_subwindow): new function. call lw_modify_all_widgets
1698 when we are a widget.
1699 (x_widget_instantiate): new function for generically creating
1700 widgets-glyphs. toolkit specifics forwarded to lwlib.
1701 (x_button_instantiate): new function for instantiating
1702 widgets-glyph buttons.
1703 (console_type_create_glyphs_x): register update_subwindow.
1704 (image_instantiator_format_create_glyphs_x): register widget and
1707 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1709 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1710 when we get a button press in case we do not have the focus.
1711 (handle_focus_event_1): set the keyboard focus to the text widget
1712 if we do not have it.
1714 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1717 1999-06-24 SL Baur <steve@miho.m17n.org>
1719 * syntax.c (scan_words): Restore non-Mule code.
1720 (word_constituent_p): Restore.
1722 1999-06-23 Olivier Galibert <galibert@pobox.com>
1724 * config.h.in: Add missing #undef *_USER_DEFINED.
1726 1999-06-23 SL Baur <steve@miho.m17n.org>
1728 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1729 int (fixes a 64-bit problem).
1731 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1734 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1736 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1738 1999-06-22 Olivier Galibert <galibert@pobox.com>
1740 * lrecord.h: Added basic external description system.
1742 * symbols.c: Added symbol, symbol-value-buffer-local,
1743 symbol-value-lisp-magic and symbol-value-varalias description.
1744 * mule-charset.c: Added charset description.
1745 * marker.c: Added marker description.
1746 * keymap.c: Added keymap description.
1747 * glyphs.c: Added glyph description.
1748 * floatfns.c: Added float description.
1749 * file-coding.c: Added coding-system description.
1750 * extents.c: Added extent description.
1751 * elhash.c: Added hash-table description.
1752 * data.c: Added weak-list desciption.
1753 * chartab.c: Added char-table-entry and char-table description.
1754 * bytecode.c: Added compiled-function description.
1755 * alloc.c: Added cons, vector and string description.
1757 1999-06-22 Olivier Galibert <galibert@pobox.com>
1759 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1760 Updated everything to the removal of the "flags" substructure.
1762 * lisp.h (subr_lheader_initializer): Updated.
1763 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1765 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1767 * syntax.c (word_constituent_p): Deleted.
1768 (scan_words): Use `WORD_BOUNDARY_P'.
1770 * chartab.c (Vword_combining_categories): New variable.
1771 (Vword_separating_categories): Likewise.
1772 (CATEGORYP): New macro.
1773 (CATEGORY_SET): Likewise.
1774 (CATEGORY_MEMBER): Likewise.
1775 (word_boundary_p): New function.
1776 (complex_vars_of_chartab): Set up new variable
1777 `word-combining-categories' and `word-separating-categories'.
1779 1999-06-18 Olivier Galibert <galibert@pobox.com>
1781 * lrecord.h: Added description as a placehold in the lrecord
1782 implementation structures. Added the parameter to all constructor
1785 * alloc.c: Added placeholders.
1787 * bytecode.c: Ditto.
1791 * database.c: Ditto.
1796 * event-stream.c: Ditto.
1800 * file-coding.c: Ditto.
1801 * floatfns.c: Ditto.
1809 * mule-charset.c: Ditto.
1813 * rangetab.c: Ditto.
1814 * specifier.c: Ditto.
1817 * tooltalk.c: Ditto.
1820 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1822 * XEmacs 21.2.17 is released
1824 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1826 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1827 (HAVE_LDAP_GET_LDERRNO): Ditto
1828 (HAVE_LDAP_RESULT2ERROR): Ditto
1829 (HAVE_LDAP_PARSE_RESULT): Ditto
1830 (HAVE_UMICH_LDAP): Removed
1831 (HAVE_NS_LDAP): Removed
1833 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1834 suggested by Olivier Galibert
1835 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1837 * eldap.c: Take the removal of `livep' into account in all the
1839 (signal_ldap_error): Take two additional parameters
1840 Added new finer compilation conditions in order to use
1841 ldap_parse_result or ldap_result2error if available
1842 (Fldap_open): Conform to this new API
1843 (Fldap_search_internal): Ditto
1845 1999-06-17 SL Baur <steve@miho.m17n.org>
1847 * data.c (struct int_or_double): Should use EMACS_INT not int.
1849 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1851 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1854 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1856 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1857 `CCL_MODE_ENCODING'.
1859 * file-coding.c (mule_decode): Run `ccl_driver' with
1860 `CCL_MODE_DECODING'.
1861 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1863 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1864 (ccl_driver): Add new argument `conversion_mode'.
1865 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1866 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1867 new optional argument].
1869 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1870 (CCL_MODE_DECODING): New macro.
1871 (ccl_driver): Add new argument `conversion_mode'.
1873 1999-06-15 SL Baur <steve@miho.m17n.org>
1875 * mule-charset.c (Fsplit_char): New subr.
1876 (Fchar_octet): delete.
1877 (syms_of_mule_charset): DEFSUBR it.
1879 1999-06-13 Andy Piper <andy@xemacs.org>
1881 * menubar.h: update declarations involving gui_items.
1883 * lisp.h: declare Lisp_Gui_Item.
1885 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1887 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1888 (print_image_instance): ditto.
1889 (image_instance_equal): ditto.
1890 (image_instance_hash): ditto.
1892 * event-msw.c (mswindows_need_event): assert badly_p status.
1893 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1894 callbacks in tree-view and tab-control widgets.
1895 (emacs_mswindows_next_event): modify use of
1896 mswindows_dequeue_dispatch_event.
1898 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1899 lisp-based gui_items.
1901 * glyphs-msw.c (mswindows_update_subwindow): update use of
1903 (mswindows_register_gui_item): new function.
1904 (mswindows_register_gui_item): fix to use lisp gui_items.
1905 (mswindows_widget_instantiate): ditto.
1906 (mswindows_button_instantiate): ditto.
1907 (add_tree_item): new function to recursively add tree view
1909 (add_tree_item_list): ditto.
1910 (mswindows_tree_instantiate): new function. instantiate tree view
1912 (add_tab_item): new function to add tabs to a tab control.
1913 (mswindows_tab_instantiate): new function. instantiate tab
1915 (image_instantiator_format_create_glyphs_mswindows): add tree view
1917 (vars_of_glyphs_mswindows): ditto.
1919 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1921 (check_valid_item_list): ditto.
1922 (initialize_widget_image_instance): fix to use new lisp gui_item.
1923 (widget_instantiate_1): allow the setting of default textwidth in
1925 (widget_instantiate): change to use new widget_instantiate_1
1927 (combo_instantiate): ditto.
1928 (static_instantiate): ditto.
1929 (tab_instantiate): new function for tab widgets.
1930 (image_instantiator_format_create_glyphs_widget): add tab and tree
1933 * menubar-msw.c (displayable_menu_item): convert to use lisp
1935 (populate_menu_add_item): ditto.
1936 (populate_or_checksum_helper): ditto.
1938 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1940 (Fmenu_find_real_submenu): ditto.
1942 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1944 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1945 objects, convert functions that use them accordingly.
1946 (gui_item_init): ditto.
1947 (gui_item_active_p): ditto.
1948 (gui_item_selected_p): ditto.
1949 (gui_item_included_p): ditto.
1950 (gui_item_display_flush_left): ditto.
1951 (gui_item_display_flush_right): ditto.
1952 (mark_gui_item): ditto.
1953 (allocate_gui_item): new function to create a gui_item.
1954 (make_gui_item_from_keywords_internal): ditto. create and return a
1955 gui_item as well as setting keywords.
1956 (gui_parse_item_keywords): ditto.
1957 (gui_parse_item_keywords_no_errors): ditto.
1958 (gui_add_item_keywords_to_plist): new function, not yet used.
1959 (gui_item_hash): new function.
1960 (gui_item_id_hash): use gui_item_hash.
1961 (gui_item_equal): new function.
1962 (print_gui_item): new function.
1964 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1966 * XEmacs 21.2.16 is released
1968 1999-06-10 Andy Piper <andy@xemacs.org>
1970 * select-msw.c (mswindows_own_selection): only set the clipboard
1972 (mswindows_get_foreign_selection): only get the clipboard if
1974 (mswindows_disown_selection): only disown the clipboard if asked.
1976 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1978 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1980 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1981 of coding-category `no-conversion'.
1983 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1985 * file-coding.c (Qraw_text): New variable.
1986 (syms_of_mule_coding): Add new symbol `raw-text'.
1987 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1988 define coding-system `binary' independently; define coding-system
1989 `no-conversion' as an alias for `raw-text'.
1991 * file-coding.h (Qraw_text): New variable.
1993 1999-06-08 SL Baur <steve@xemacs.org>
1995 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1997 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1999 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2001 (base64_decode_1): Signal errors instead of returning -1.
2003 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2005 * mule-charset.c (Fmake_char): Update docstring.
2007 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2009 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2011 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2013 * fns.c (base64_decode_1): Allow and ignore any non-base64
2014 characters in input.
2016 1999-05-27 Olivier Galibert <galibert@pobox.com>
2018 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2019 of report_pure_usage().
2021 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2023 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2025 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2027 * XEmacs 21.2.15 is released
2029 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2031 * frame.c (Fset_mouse_position):
2032 (Fset_mouse_pixel_position):
2033 * window.c (Fsplit_window):
2034 (Fmove_to_window_line):
2035 Fix crash when invoking functions with an already-deleted window
2038 * indent.c (vertical_motion_1):
2040 (Fvertical_motion_pixels):
2041 * window.c (Fwindow_displayed_text_pixel_height):
2042 Fix error message when invoking functions with an already-deleted
2045 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2047 * sysdep.c (request_sigio_on_device): Guard against glibc
2048 2.1's stub streams implementation.
2050 1999-06-03 SL Baur <steve@xemacs.org>
2053 * emacs.c: Implement x.y.z version numbers
2054 From Jan Vroonhof <vroonhof@math.ethz.ch>
2056 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2058 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2059 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2062 1999-06-03 SL Baur <steve@xemacs.org>
2065 * device-x.c: rename session option to wmcommand.
2066 From Oliver Graf <ograf@rhein-zeitung.de>
2068 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2070 * fns.c (Fsubstring): Don't traverse the same region twice with
2071 charcount_to_bytecount().
2073 1999-06-03 SL Baur <steve@steve1.m17n.org>
2075 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2078 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2079 doesn't really work as is implied by the commentary).
2080 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2082 1999-06-02 SL Baur <steve@steve1.m17n.org>
2084 * symsinit.h: Declare vars_of_ntproc.
2085 * emacs.c (main_1): Call it.
2087 * ntproc.c (syms_of_ntproc): Move variable initializations from
2089 (vars_of_ntproc): ... to here [new function].
2091 * file-coding.c (syms_of_file_coding): Rename.
2092 (vars_of_file_coding): Ditto.
2093 (complex_vars_of_file_coding): Ditto.
2095 * symsinit.h: Rename *_mule_coding to *_file_coding.
2097 * emacs.c (main_1): Call them by the proper name.
2099 * device-msw.c (syms_of_device_mswindows): Move variable
2100 initializations from here ...
2101 (vars_of_device_mswindows): ... to here.
2103 * chartab.c (vars_of_chartab): New function.
2105 * symsinit.h: New function, vars_of_chartab.
2107 * emacs.c (main_1): Call it.
2109 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2110 (vars_of_mule_canna): ... to here.
2112 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2113 initializations out of syms_of_mule_ccl.
2115 * symsinit.h: Declare new function vars_of_mule_ccl.
2117 * emacs.c (main_1): Call it.
2119 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2121 * fns.c (base64_decode_1): Ignore whitespace.
2123 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2125 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2128 1999-05-21 Andy Piper <andy@xemacs.org>
2130 * xselect.c: deleted.
2132 * symsinit.h: declare select initialisation.
2134 * select.h: new file. declare commonly used select functions and
2137 * select.c: new file. generalised from xselect.c.
2138 (clean_local_selection_data): moved from xselect.c.
2139 (get_local_selection): ditto. device specific pieces called via a
2141 (handle_selection_clear): ditto.
2142 (Fown_selection_internal): renamed and generalised from
2143 Fx_own_selection_internal. moved from xselect.c.
2144 (Fdisown_selection_internal): ditto.
2145 (Fselection_owner_p): ditto.
2146 (Fselection_exists_p): ditto.
2147 (Fget_selection_internal): ditto.
2148 (syms_of_select): new function. QXXXX values moved from xselect.c
2149 (vars_of_select): new function. selection_converter_alist,
2150 lost_selection_hooks moved and renamed from xselect.c
2152 * select-x.c: renamed from xselect.c.
2153 (x_own_selection): converted to device specific. non-X-specific
2154 bits moved to select.c.
2155 (x_get_foreign_selection): ditto.
2156 (x_disown_selection): ditto.
2157 (x_selection_exists_p): ditto.
2158 (console_type_create_select_x): new function.
2160 * select-msw.c (mswindows_own_selection): new device method to set
2161 the clipboard when we 'own' the selection.
2162 (mswindows_get_foreign_selection): new device method to get the
2164 (mswindows_disown_selection): new device method to delete the
2165 selection when we 'disown' it.
2166 (console_type_create_select_mswindows): new function.
2168 * emacs.c (main_1): add select to things to initialise.
2170 * console.h (struct console_methods): new console methods for
2173 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2175 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2177 * print.c (long_to_string): Install a faster version.
2179 1999-05-16 Andy Piper <andy@xemacs.org>
2181 * ntproc.c (syms_of_ntproc): default
2182 win32-start-process-share-console to t.
2184 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2186 * config.h.in: Do it here.
2188 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2190 1999-05-14 Andy Piper <andy@xemacs.org>
2192 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2195 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2197 * XEmacs 21.2.14 is released
2199 1999-05-12 Andy Piper <andy@xemacs.org>
2201 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2203 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2205 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2206 run_temacs_argv array -- fixes random memory corruption crash
2208 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2210 * window.c (Fcurrent_window_configuration):
2211 Save minibuffer height;
2213 * window.c (set_window_configuration): use it.
2215 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2217 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2219 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2221 * redisplay.c (redisplay_window): Do not put data
2222 in the line start cache if it is not guaranteed to be correct
2224 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2226 * window.c (struct window_config): Removed frame
2228 (window_config_equal): No longer compare frame sizes.
2229 (Fset_window_configuration): Resize old top window to fit in the
2230 current frame directly, no longer use a fake frame resize.
2231 (Fcurrent_window_configuration): No longer save frame size
2233 1999-05-11 Andy Piper <andy@xemacs.org>
2235 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2238 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2240 * sysdep.c (init_system_name): If gethostname gives a proper
2241 domain name, don't look further for one.
2243 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2245 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2246 (Fintern_soft): Accept a symbol argument.
2248 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2250 * symbols.c (Fintern): ...do it here.
2252 * lread.c (read_atom): Don't handle keywords here.
2254 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2256 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2258 1999-05-03 Olivier Galibert <galibert@pobox.com>
2260 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2261 is interned in the main obarray.
2263 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2265 * menubar-x.c (pre_activate_callback): set accelerator field in
2266 "No menu" entries to nil. Avoid crash in
2267 command_builder_operate_menu_accelerator
2269 1999-05-03 Olivier Galibert <galibert@pobox.com>
2271 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2273 * lisp.h (DEFUN): Fix lrecord header initialisation.
2275 1999-05-02 Andy Piper <andy@xemacs.org>
2277 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2279 * ntproc.c (sys_kill): cast using MS mandated defines.
2281 1999-04-29 Andy Piper <andy@xemacs.org>
2283 * m/intel386.h: remove redundant definitions.
2285 * s/mingw32.h: new header for mingw32.
2287 * unexnt.c: (open_input_file): function moved to nt.c.
2288 (close_file_data): ditto.
2289 (rva_to_section): function moved to ntproc.
2291 * symsinit.h: declare syms_of_ntproc();
2293 * objects-msw.c (mswindows_font_instance_truename): new function.
2295 * ntproc.c: remove many warnings.
2296 (_sys_read_ahead): moved from nt.c and made static.
2297 (rva_to_section): moved from unexnt.c but not defined under
2299 (win32_executable_type): implement what we can for mingw32
2301 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2303 * ntheap.h: remove declarations of functions that are now static.
2305 * ntheap.c: support static heap.
2307 * nt.h: conditionalise X_OK definition.
2309 * nt.c: eliminate many warnings and support mingw32.
2310 (open_input_file): function moved from unexnt.c and made static
2311 (close_file_data): ditto.
2312 (_sys_read_ahead): moved to ntproc.c
2314 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2316 * console-msw.h: support mingw32.
2317 * getloadavg.c: ditto.
2324 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2325 some systems don't have all of the encapsulated system calls.
2327 * callproc.c: warning elimination.
2328 * dired-msw.c: ditto.
2329 * process-nt.c: ditto.
2330 * realpath.c: ditto.
2332 * Makefile.in.in: tweak : and ; for building under mswindows.
2334 1999-04-26 Michael Harnois <mharnois@willinet.net>
2336 * eldap.c (allocate_ldap): Adapt to the new semantics of
2337 alloc_lcrecord_type().
2339 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2341 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2343 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2345 * Delete mule-coding.c and mule-coding.h because they are not
2348 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2350 * objects.c (print_font_instance): Check for NILP(f->device),
2351 i.e. Vthe_null_font_instance.
2352 (font_instance_truename_internal): ditto.
2353 (Ffont_instance_properties): ditto.
2355 1999-04-22 Olivier Galibert <galibert@pobox.com>
2357 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2360 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2362 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2363 it easier to add new ones.
2365 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2367 * symbols.c (reject_constant_symbols): Ditto.
2368 (init_symbols_once_early): Ditto.
2370 * print.c (print_symbol): Don't use ->obarray.
2372 * symbols.c (Funintern): Ditto.
2374 * alloc.c (Fmake_symbol): Don't set ->obarray.
2376 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2378 * symbols.c (init_symbols_once_early): Removed
2379 Vpure_uninterned_symbol_table.
2380 (Fintern): Don't store to ->obarray field.
2382 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2384 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2385 (eq_with_ebola_notice): Remove abracadabra support.
2387 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2389 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2390 retrieve the distinguished names of entries
2392 1999-03-08 Martin Buchholz <martin@xemacs.org>
2394 * lread.c (read_escape): Make hex escapes read only two hex digits.
2396 1999-04-05 Olivier Galibert <galibert@pobox.com>
2398 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2399 * make-src-depend: Remove puresize-adjust.h.
2400 * src-headers: Remove puresize-adjust.h.
2401 * config.h.in: Kill everything purespace/gung-ho related.
2403 * dbxrc: Make gung-ho mandatory.
2406 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2407 c_readonly and lisp_readonly. Remove implementation arrays.
2408 (C_READONLY_RECORD_HEADER_P): Added.
2409 (LISP_READONLY_RECORD_HEADER_P): Added.
2410 (SET_C_READONLY_RECORD_HEADER): Added.
2411 (SET_LISP_READONLY_RECORD_HEADER): Added.
2413 * lisp.h: Kill everything purespace/non gung-ho related.
2414 (CHECK_C_WRITEABLE): Added.
2415 (CHECK_LISP_WRITEABLE): Added.
2416 (C_READONLY): Added.
2417 (LISP_READONLY): Added.
2419 * lisp-union.h: Make gung-ho mandatory.
2420 * lisp-disunion.h: Ditto.
2422 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2423 set_lheader_implementation calls.
2424 (c_readonly): Added.
2425 (lisp_readonly): Added.
2426 (make_string_nocopy): Added.
2427 (Fpurecopy): Changed to do nothing. Kept the old documentation
2428 for reference purposes for the next patches.
2429 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2430 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2431 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2433 * fns.c: Make gung-ho mandatory.
2434 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2436 (Ffillarray): Ditto.
2438 * data.c: Make gung-ho mandatory.
2439 (pure_write_error): Removed.
2440 (c_write_error): Added.
2441 (lisp_write_error): Added.
2442 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2446 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2447 make_string or make_string_nocopy. Fix various
2448 alloc_lcrecord_type.
2450 * lread.c: Remove everything purespace related.
2451 (Flocate_file_clear_hashing): purified -> c_readonly.
2452 (locate_file): Ditto.
2453 (read_atom): make_pure_pname -> make_string.
2455 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2457 (Fdump_emacs): Ditto.
2459 * print.c (print_internal): Make gung-ho mandatory.
2460 * ntheap.c (sbrk): Ditto.
2461 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2462 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2464 * sheap.c (more_static_core): Remove puresize-adjust.h from
2467 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2469 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2470 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2471 * events.c (deinitialize_event): Fix set_lheader_implementation.
2472 (zero_event): Ditto.
2473 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2474 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2475 * mule-charset.c (make_charset): Ditto.
2476 * console.c (allocate_console): Ditto.
2477 (complex_vars_of_console): Ditto.
2478 * file-coding.c (allocate_coding_system): Ditto.
2479 * device.c (allocate_device): Ditto
2480 * gui-x.c (gcpro_popup_callbacks): Ditto.
2481 * extents.c (allocate_extent_auxiliary): Ditto.
2482 (allocate_extent_info): Ditto.
2483 (copy_extent): Ditto.
2484 * glyphs.c (allocate_image_instance): Ditto.
2485 (allocate_glyph): Ditto.
2486 * frame.c (allocate_frame_core): Ditto.
2487 * database.c (allocate_database): Ditto.
2488 * tooltalk.c (make_tooltalk_message): Ditto.
2489 (make_tooltalk_pattern): Ditto.
2490 * rangetab.c (Fmake_range_table): Ditto.
2491 (Fcopy_range_table): Ditto.
2492 * process.c (make_process_internal): Ditto.
2493 * chartab.c (Fmake_char_table): Ditto.
2494 (make_char_table_entry): Ditto.
2495 (copy_char_table_entry): Ditto.
2496 (Fcopy_char_table): Ditto.
2497 * elhash.c (make_general_lisp_hash_table): Ditto.
2498 (Fcopy_hash_table): Ditto.
2499 * buffer.c (allocate_buffer): Ditto.
2500 (complex_vars_of_buffer): Ditto.
2501 * event-stream.c (allocate_command_builder): Ditto.
2502 * objects.c (Fmake_color_instance): Ditto.
2503 (Fmake_font_instance): Ditto.
2504 (vars_of_objects): Ditto.
2505 * toolbar.c (update_toolbar_button): Ditto.
2506 * window.c (allocate_window): Ditto.
2507 (make_dummy_parent): Ditto.
2508 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2509 (vars_of_window): Fix make_lcrecord_list.
2510 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2512 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2513 * opaque.c (make_opaque): Fix alloc_lrecord.
2514 (make_opaque_list): Fix alloc_lrecord_type.
2516 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2518 * process.c (Fstart_process_internal): Ditto.
2520 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2523 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2525 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2528 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2529 (emodules_load): Use it when calling locate_file().
2531 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2534 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2535 (vars_of_callproc): Initialize it.
2536 (Fcall_process_internal): Use it when calling locate_file().
2538 * alloc.c (disksave_object_finalization): Use
2539 Flocate_file_clear_hashing().
2541 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2542 given `t' as argument.
2544 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2546 * lread.c (locate_file): Expand `pathel' when appropriate.
2547 (Flocate_file_clear_hashing): Expand path elements.
2548 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2550 * dired.c (make_directory_hash_table): Create the hash-table only
2551 if the directory open is successful.
2553 * lread.c (decode_mode_1): New function.
2554 (decode_mode): Ditto.
2555 (Flocate_file): Use them.
2556 (Flocate_file): Expand FILENAME.
2557 (locate_file_map_suffixes): New function.
2558 (locate_file_in_directory_mapper): New function.
2559 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2560 and locate_file_map_suffixes().
2561 (locate_file_construct_suffixed_files): Use
2562 locate_file_map_suffixes().
2563 (locate_file_without_hash): Don't GCPRO path.
2564 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2565 (syms_of_lread): Remove Qlocate_file_hash_table.
2566 (locate_file_find_directory_hash_table): Use
2567 Vlocate_file_hash_table.
2568 (locate_file_refresh_hashing): Ditto.
2570 * lread.c: Renamed read_objects to Vread_objects.
2572 1999-04-16 Olivier Galibert <galibert@pobox.com>
2574 * mule-charset.c: Generally resync with fsf 20.3 charset
2576 (make_charset): Add long and short name. Use id instead of
2578 (Fmake_charset): Ditto.
2579 (Fmake_reverse_direction_charset): Ditto.
2580 (Fcharset_property): Ditto.
2581 (Fcharset_short_name): Added.
2582 (Fcharset_long_name): Added.
2583 (Fcharset_description): Renamed from charset-doc-string.
2584 (syms_of_mule_charset): Synced symbols.
2585 (complex_vars_of_mule_charset): Synced charsets.
2587 * mule-charset.h: Removed leading byte (uses id instead), added
2588 short and long name.
2590 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2592 * file-coding.c (Fdefine_coding_system_alias): New function.
2594 1999-04-08 Olivier Galibert <galibert@pobox.com>
2596 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2597 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2599 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2601 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2602 attach to the extent is valid.
2604 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2606 * dired.c (user_name_completion): Mule-ize.
2607 (user_name_completion): Use xmalloc/xrealloc/xfree.
2608 (user_name_completion): Use DO_REALLOC.
2609 (user_name_completion): Cut down the number of static variables;
2611 (user_name_completion): Username completion is always
2614 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2616 * fns.c (base64_decode_1): Remove COUNTER.
2617 (base64_decode_1): Accept CRLF in addition to CR.
2618 (base64_decode_1): Disallow a stray character after final EOF; the
2619 check was probably a remnant of buggy recode code.
2621 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2623 * fns.c (init_provide_once): Provide `base64'.
2625 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2627 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2628 (Fbase64_encode_region): If buffer is read-only, bail out early.
2629 (Fbase64_decode_region): Ditto.
2630 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2632 (Fbase64_encode_string): Ditto.
2633 (Fbase64_decode_region): Ditto.
2634 (Fbase64_decode_string): Ditto.
2636 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2638 * dired.c (Fdirectory_files): Remove redundant code.
2640 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2642 * frame-msw.c Make raise-frame restore minimised windows.
2644 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2646 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2649 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2651 * toolbar-msw.c Consider captions when deciding whether to rebuild
2652 toolbar. This fixes the initial toolbar display for those of us
2653 who don't like captions. These patches applied by Andy Piper.
2655 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2657 * XEmacs 21.2.13 is released
2659 1999-03-12 SL Baur <steve@xemacs.org>
2661 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2663 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2665 * file-coding.c: docstring and comment improvements.
2666 (decode_ucs4) flag possible data loss with comment.
2668 1999-03-10 Martin Buchholz <martin@xemacs.org>
2670 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2674 (decode_coding_ucs4):
2675 (encode_coding_ucs4):
2676 (detect_coding_utf8):
2677 (decode_coding_utf8):
2679 (encode_coding_utf8):
2680 Add CHECK_* macros where needed to avoid crashes.
2681 #ifdef out all composite character support using
2682 #ifdef ENABLE_COMPOSITE_CHARS
2683 Use normal XEmacs coding standards.
2685 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2687 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2689 * file-coding.c (make-coding-system): Add description about
2690 `ucs-4' and `utf-8'.
2691 (detection_state): Modify to implement ucs-4 and utf-8.
2692 (detect_coding_type): Likewise.
2693 (detect_coding_ucs4): New implementation.
2694 (detect_coding_utf8): New implementation.
2695 (encode_utf8): fixed.
2696 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2699 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2701 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2702 2022 registry to private area.
2704 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2706 * file-coding.c (encode_utf8): New function.
2707 (encode_coding_utf8): New implementation.
2709 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2711 * file-coding.c (ucs_to_mule_table): New variable; abolish
2712 `Vucs_to_mule_table'
2713 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2714 (set-ucs-char): New function.
2715 (ucs_to_char): New function.
2716 (ucs-char): New function.
2717 (set-char-ucs): New function.
2718 (char-ucs): New function.
2719 (decode_ucs4): Use `ucs_to_char'.
2720 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2721 `mule-to-ucs-table'.
2723 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2725 * chartab.h: EXFUN `Fget_char_table'.
2727 * file-coding.c (encode_ucs4): New function.
2728 (encode_coding_ucs4): Use `encode_ucs4'.
2730 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2732 * file-coding.c (decode_coding_ucs4): New implementation.
2734 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2736 * file-coding.c (decode_coding_ucs4): fixed.
2738 * file-coding.c (Vmule_to_ucs_table): New variable.
2739 (mule_char_to_ucs4): New function.
2740 (encode_coding_ucs4): New implementation.
2741 (complex_vars_of_mule_coding): Define variable
2742 `mule-to-ucs-table'.
2744 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2746 * file-coding.c (decode_coding_utf8): New implementation.
2748 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2750 * file-coding.c (decode_coding_utf8): fixed.
2752 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2754 * file-coding.c (Vucs_to_mule_table): New variable.
2755 (decode_ucs4): Refer `Vucs_to_mule_table'.
2756 (complex_vars_of_mule_coding): Define variable
2757 `ucs-to-mule-table'.
2759 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2761 * file-coding.c (detect_coding_ucs4): New function (not
2763 (decode_coding_ucs4): New function.
2764 (encode_coding_ucs4): New function (not implemented yet).
2765 (detect_coding_utf8): New function (not implemented yet).
2766 (decode_coding_utf8): New function.
2767 (encode_coding_utf8): New function (not implemented yet).
2768 (make-coding-system): New type `ucs4' and `utf8'.
2769 (coding-system-type): Likewise.
2770 (detection_state): Add `ucs4' and `utf8'.
2771 (detect_coding_type): Likewise.
2772 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2773 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2774 (decode_ucs4): New function (very incomplete).
2775 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2777 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2779 1999-03-08 Martin Buchholz <martin@xemacs.org>
2782 (non_ascii_valid_char_p):
2783 (lookup_composite_char):
2784 (composite_char_string):
2785 (make-composite-char):
2786 (composite-char-string):
2787 (syms_of_mule_charset):
2788 (complex_vars_of_mule_charset):
2789 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2790 (CHAR_LEADING_BYTE):
2792 * file-coding.h (CODING_STATE_COMPOSITE):
2793 (CODING_STATE_ISO2022_LOCK):
2795 (LEADING_BYTE_COMPOSITE):
2796 * file-coding.c (struct iso2022_decoder):
2799 (parse_iso2022_esc):
2800 (encode_coding_iso2022):
2801 #ifdef out all composite character support using
2802 #ifdef ENABLE_COMPOSITE_CHARS
2804 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2806 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2808 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2809 way of `Fbase64_encode_region'.
2811 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2813 * fns.c (base64_encode_1): Don't add a newline at the tail.
2815 1999-03-08 Andy Piper <andy@xemacs.org>
2817 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2820 1999-03-07 Martin Buchholz <martin@xemacs.org>
2822 * console-stream.h (struct stream_console):
2823 * event-unixoid.c (event_stream_unixoid_select_console):
2824 (event_stream_unixoid_unselect_console):
2825 * print.c (Fexternal_debugging_output):
2826 * sysdep.c (reset_one_device):
2827 * console-stream.c (stream_init_console):
2828 (stream_delete_console):
2829 (allocate_stream_console_struct): move into stream_init_console.
2830 (free_stream_console_struct): move into stream_delete_console.
2831 Use `fd' only for file descriptors.
2832 Therefore, rename members of struct stream_console.
2834 * systime.h: Unix98 says sys/time.h should define select(), but
2835 some systems define that in unistd.h. So include that file always.
2837 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2838 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2839 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2841 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2845 Add #include <stdio.h>.
2846 Some versions of assert.h use printf() without #include'ing stdio.h
2848 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2849 (log_gcpro): Remove unused variable FRAME.
2850 (show_gcprohist): Ansify.
2851 Comment the #endif's
2853 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2854 after it's just been XtDestroy'ed!
2856 1999-02-18 Martin Buchholz <martin@xemacs.org>
2858 * opaque.c (print_opaque):
2862 Egcs 1.1.1 seems to have a bug where
2863 INTP (p->size_or_chain)
2864 will crash XEmacs. Fix by introducing intermediate variable.
2866 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2868 * dired.c (Fdirectory_files):
2869 (Ffile_name_completion):
2870 (Ffile_name_all_completions):
2871 (file_name_completion):
2872 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2873 avoid compiler warnings.
2874 - Fix up docstrings so that C variables match documentation.
2876 1999-03-05 Martin Buchholz <martin@xemacs.org>
2878 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2879 variables as small as possible to help out the compiler and the maintainer.
2881 * alloc.c: (disksave_object_finalization):
2882 Set all the *-load-path variables to
2883 nil, not just load-path itself. This gets the locate-file hash
2884 tables garbage collected BEFORE dump, and has the side effect of
2885 preventing crashes on OSF4.0+egcs.
2890 - Clean up gdb/dbx debugging support.
2891 - Storing an EMACS_INT in an enum is not 64-bit clean!
2892 - So change the enum to a set of separate variables.
2893 - Add test cases to help debug the debugging support!
2894 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2895 - Both dbx and gdb have been tested now.
2897 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2899 * XEmacs 21.2.12 is released
2901 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2903 * device-x.c: Support to find best visual without flashing.
2905 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2907 * database.c (berkdb_map): Add flags argument to cursor call (must
2908 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2910 1999-03-03 Martin Buchholz <martin@xemacs.org>
2914 General cleanup. Get free-hook.c working again.
2915 Remove unused functions:
2916 make_strings_hash_table, copy_hash, expand_hash_table.
2920 Always use new ANSI-style function prototypes.
2922 * unexalpha.c (unexec): Never use implicit int.
2924 * sgiplay.c (close_sound_file):
2926 (restore_audio_port):
2931 (write_mulaw_8_chunk):
2932 (write_linear_chunk):
2933 (write_linear_32_chunk):
2934 (initialize_audio_port):
2937 (set_output_format):
2938 (adjust_audio_volume):
2939 (get_current_volumes):
2941 Always use new ANSI-style function prototypes.
2942 Use unistd.h for missing prototypes.
2944 * unexelfsgi.c (round_up):
2946 (unexec): Always use new ANSI-style function prototypes
2948 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2950 * console.h (struct console_methods): Always use full ANSI prototypes
2952 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2954 1999-03-02 Andy Piper <andy@xemacs.org>
2956 * event-stream.c (init_event_stream): make sure native mswindows
2957 gets an appropriate event loop.
2959 1999-02-22 Andy Piper <andy@xemacs.org>
2961 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2962 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2963 (mswindows_raise_frame): remove comment.
2965 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2967 * XEmacs 21.2.11 is released
2969 1999-02-25 SL Baur <steve@xemacs.org>
2971 * mule-charset.c (Qleading_byte): New variable to implement
2972 charset-leading-byte function.
2973 (Fcharset_property): Use it.
2974 (syms_of_mule_charset): Initialize it.
2975 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2977 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2979 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2980 bytes per pixel counting.
2982 1999-02-15 Andy Piper <andy@xemacs.org>
2984 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2987 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2989 * fns.c (Fbase64_encode_string): New optional argument
2992 1999-02-16 Martin Buchholz <martin@xemacs.org>
2994 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2995 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2997 1999-02-10 Martin Buchholz <martin@xemacs.org>
2999 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3000 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3002 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3004 * XEmacs 21.2.10 is released
3006 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3008 * process-nt.c (nt_send_process):
3009 Fix for process-send-region/process-send-string breaking when size
3010 of the input > 128 chars: change maximum chunk size for process
3011 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3014 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3016 * XEmacs 21.2.9 is released
3018 1999-01-30 Martin Buchholz <martin@xemacs.org>
3020 * bytecode.c (funcall_compiled_function): Call
3021 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3023 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3024 #ifdef 0 out unused macro.
3026 1999-01-27 Martin Buchholz <martin@xemacs.org>
3028 * gui.c (gui_parse_item_keywords_internal): Make static.
3030 1999-01-21 Andy Piper <andy@xemacs.org>
3032 * glyphs-msw.c: add xface support.
3033 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3034 (image_instantiator_format_create_glyphs_mswindows): do device
3035 specific initialisation for xfaces.
3036 (xbm_create_bitmap_from_data): line data must be padded to a word
3039 * glyphs-x.c (xface_validate): moved to glyphs.c
3040 (xface_normalize): ditto.
3041 (xface_possible_dest_types): ditto.
3042 (image_instantiator_format_create_glyphs_x): do device specific
3043 initialisation for xfaces.
3045 * glyphs.h: declare xface symbol.
3047 * glyphs.c: move generic xface support here.
3048 (xface_validate): moved from glyphs-x.c
3049 (xface_normalize): ditto.
3050 (xface_possible_dest_types): ditto.
3051 (image_instantiator_format_create): xface declarations moved from
3054 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3056 * event-stream.c (vars_of_event_stream): Fixing documentation.
3058 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3060 * glyphs-eimage.c (gif_instantiate): Correct handling of
3061 interlaced gifs to avoid writing past the end of the eimage
3064 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3066 * search.c (Freplace_match): Handle single backslash at end of
3069 1999-01-12 William M. Perry <wmperry@aventail.com>
3071 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3072 avoid connection errors.
3074 1999-01-12 Andy Piper <andy@xemacs.org>
3076 * redisplay-output.c (redisplay_update_line): backout change that
3077 shouldn't have gone ine.
3079 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3081 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3082 collide with ldap.el
3084 1999-01-11 Andy Piper <andy@xemacs.org>
3086 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3087 (DISPLAY_LINE_YPOS): new macro.
3089 * redisplay-msw.c (mswindows_output_string): use it.
3090 (mswindows_output_pixmap): ditto.
3091 (mswindows_output_display_block): ditto.
3093 * redisplay-output.c (redisplay_output_display_block): new
3094 function. just call the devmeth, maybe insert some generic code
3096 (compare_display_blocks): use it.
3097 (output_display_line): ditto.
3098 (redisplay_unmap_subwindows_maybe): new function. potentially
3099 unmap subwindows in the given area.
3101 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3104 1999-01-10 J. Kean Johnston <jkj@sco.com>
3106 * Makefile.in.in: Set value of moduledir
3107 - Changed DUMPENV to include $(MODULEPATH)
3108 - Added install rule to install header files for use by ellcc.
3110 * config.h.in: Added INHIBIT_SITE_MODULES
3111 - Added HAVE__DLERROR
3112 - Added HAVE_DLFCN_H
3113 - Added DLSYM_NEEDS_UNDERSCORE
3117 * emodules.c: New file containing dynamic loading code.
3119 * emodules.h: New file.
3121 * emacs.c: Added variables Vmodule_directory,
3122 Vsite_module_directory, Vconfigure_module_directory and
3123 Vconfigure_site_module_directory.
3124 - (main_1): Added new variable inhibit_site_modules and command
3125 line options `-no-site-modules' and `--no-site-modules'.
3126 - (main_1): Call syms_of_module() instead of syms_of_dll().
3127 - (main_1): Call vars_of_module().
3128 - (vars_of_emacs): Introduce inhibit-site-modules,
3129 module-directory, configure-module-directory,
3130 site-module-directory, and configure-site-module-directory to the
3133 * lisp.h: Declare load_module and list_modules, as well as
3134 Vmodule_directory, Vsite_module_directory,
3135 Vconfigure_module_directory and Vconfigure_site_module_directory.
3137 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3138 - Added correct support for site-lisp directory.
3140 * symbols.c (defsubr): Modified to allow modules to add new subrs
3142 - (defsubr_macro): Same.
3143 - (defvar_magick): Only use purespace when not initialized, so
3144 that loaded modules can still add symbols.
3146 * symsinit.h: Add definitions for syms_of_module(),
3147 vars_of_module(). Removed syms_of_dll().
3149 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3150 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3151 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3153 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3154 explicitly pass -belf for native cc.
3156 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3157 hard-coding the library name.
3159 1999-01-01 <martin@xemacs.org>
3161 * device-x.c (Fx_set_font_path):
3162 Add proper cast to permit compilation under C++.
3164 * buffer.c (directory_is_current_directory):
3165 Add proper casts to permit compilation under C++.
3167 1998-12-30 Damon Lipparelli <lipp@primus.com>
3169 * event-msw.c (mswindows_wnd_proc):
3170 Fixed failure when building with MSVC 5.
3172 1998-12-29 Martin Buchholz <martin@xemacs.org>
3174 * file-coding.c (decode_coding_iso2022):
3175 - Prevent crash when decoding ISO7/Lock detected files
3176 - the usual martin fiddling
3178 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3182 Fixed failures when building with MSVC.
3183 * unexnt.c (dump_bss_and_heap):
3184 Removed compiler warning by removing bss_data variable.
3186 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3188 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3189 so that packages that distribute their own fonts can access them.
3191 1998-12-28 Andy Piper <andy@xemacs.org>
3193 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3194 that have an image provided.
3196 * glyphs.h: add Q_image decl.
3198 * glyphs-widget.c new functionality allowing images in
3200 (check_valid_glyph_or_image): new function to validate
3201 glyphs passed in through :image.
3202 (widget_normalize): new function. convert :image parameters into
3203 real glyphs if not already so.
3204 (widget_instantiate_1): mess with size parameters to be similar to
3206 (syms_of_glyphs_widget): new keyword :image.
3207 (image_instantiator_format_create_glyphs_widget): normalize
3208 buttons and allow :image.
3210 1998-12-27 Andy Piper <andy@xemacs.org>
3212 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3214 * glyphs-widget.c (check_valid_anything): no-op function.
3215 (check_valid_callback): check callbacks in gui_items.
3216 (check_valid_symbol): as it sounds.
3217 (check_valid_string_or_vector): ditto.
3218 (widget_validate): modified for descriptors that are vectors or
3219 sequences of keyword/val pairs.
3220 (widget_instantiate_1): ditto.
3221 (image_instantiator_format_create_glyphs_widget): allow gui_item
3222 keywords in the instantiator.
3224 * gui.c (gui_parse_item_keywords_internal): renamed from
3225 gui_parse_item_keywords but taking error behaviour.
3226 (gui_parse_item_keywords): use it.
3227 (gui_parse_item_keywords_no_errors): ditto.
3228 (gui_item_add_keyval_pair): add Error_behavior flag and only
3229 signal invalid keywords if required.
3231 * gui.h: new gui signatures.
3233 * menubar.c (menu_parse_submenu_keywords): use new
3234 gui_item_add_keyval_pair signature.
3236 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3238 1998-12-28 Martin Buchholz <martin@xemacs.org>
3240 * XEmacs 21.2.8 is released.
3242 1998-12-28 Martin Buchholz <martin@xemacs.org>
3244 * editfns.c (get_home_directory):
3245 (user-home-directory): Simplify.
3248 * callproc.c (child_setup):
3249 - Environment variables were being passed to inferior processes
3250 using internal encoding.
3251 - Convert to external encoding.
3252 - Rename local var `tem' to better name `tail'.
3253 - Use Flength instead of `manual' calculation.
3255 * buffer.c (kill-buffer):
3257 (set-buffer-major-mode):
3259 - Fix up parameter names to correspond to docstrings.
3260 - Don't use `bufname' when a buffer will do as well.
3261 - Remove one unneeded GCPRO.
3263 * buffer.h (initial_directory):
3264 * buffer.c (init_initial_directory):
3265 - use correct conversions between internal and external format.
3266 (directory_is_current_directory): new function
3267 (init_buffer): convert initial_directory to internal format.
3268 - solve crashes when current working directory is non-ASCII.
3270 * alloc.c (xmalloc):
3273 - remove stupid casts, since XEmacs requires an ANSI C system.
3274 (lrecord_type_index): replace abort() with more readable assert().
3276 (reset_lcrecord_stats): remove.
3277 (sweep_lcrecords_1):
3278 - replace call to reset_lcrecord_stats() with call to xzero().
3280 1998-12-27 Martin Buchholz <martin@xemacs.org>
3282 * process-unix.c (unix_create_process):
3283 - Fix crash invoking program with non-ASCII name.
3284 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3285 - Remove unused variable `env'.
3286 - Rename `temp' to better name `save_errno'.
3287 - Reorganize code for clarity. But still too chicken to nuke the
3290 1998-12-24 Martin Buchholz <martin@xemacs.org>
3292 * XEmacs 21.2.7 is released.
3294 1998-12-23 Martin Buchholz <martin@xemacs.org>
3296 * glyphs.c (decode_device_ii_format):
3298 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3300 * glyphs-x.c (x_subwindow_instantiate):
3301 - A image instance mask was being assigned to a image instance type!
3302 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3304 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3306 * glyphs-x.h: Make indentation consistent.
3308 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3310 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3312 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3316 Move declarations of decode_device_ii_format and
3317 decode_image_instantiator_format into glyphs.h where they belong.
3319 1998-12-22 Martin Buchholz <martin@xemacs.org>
3321 * frame-x.c (x_delete_frame): Revert part of my changes at the
3322 suggestion of Gunnar Evermann - unfortunately no one really
3323 understands this code.
3325 * callproc.c (init_callproc): code cleanup.
3327 * free-hook.c (malloc):
3332 (block_input_malloc):
3333 (block_input_realloc):
3334 * device-x.c (x_delete_device):
3335 * emacs.c (voodoo_free_hook):
3336 * events.c (print_event):
3338 (CHECK_EVENT_TYPE2):
3339 (CHECK_EVENT_TYPE3):
3340 Use proper prototypes.
3341 Make C_E_T macros a little faster.
3342 Pedantic fiddly little changes. You really don't care.
3344 1998-12-22 Andy Piper <andy@xemacs.org>
3346 * redisplay-output.c (redisplay_clear_region): make sure that
3347 fg/bg colors get set even when we are in the border area.
3349 1998-12-13 Martin Buchholz <martin@xemacs.org>
3351 * console-msw.c: Function definitions follow coding standards
3352 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3354 1998-12-11 Martin Buchholz <martin@xemacs.org>
3356 * events.h (struct timeout_data):
3357 * event-tty.c (tty_timeout_to_emacs_event):
3358 * event-msw.c (mswindows_wm_timer_callback):
3359 * event-Xt.c (Xt_timeout_to_emacs_event):
3360 * event-msw.c (mswindows_cancel_dispatch_event):
3361 Make sure Lisp_Objects inside events are initialized to Qnil, not
3362 Qnull_pointer, which is now illegal.
3364 1998-12-10 Martin Buchholz <martin@xemacs.org>
3366 * lisp.h: Fix up prototypes to match alloc.c
3368 1998-12-08 Martin Buchholz <martin@xemacs.org>
3370 * windowsnt.h: Remove `support' for using index and rindex
3372 * filelock.c (current_lock_owner):
3373 - Change uses of index -> strchr, rindex -> strrchr
3375 1998-12-07 Martin Buchholz <martin@xemacs.org>
3377 * sysdep.c (set_descriptor_non_blocking):
3378 Since O_NONBLOCK is now always #defined, make use of fcntl
3379 conditional on F_SETFL being defined.
3381 * console-msw.c (DHEADgER):
3390 - max_align_t should not be visible to the user of the
3392 - use Bufbyte instead of char
3393 - parens around (FOOP (obj)) are always redundant.
3394 If they were necessary, we should fix the macro instead.
3395 - Always use string_data(foo) instead of foo->data.
3398 1998-12-06 Martin Buchholz <martin@xemacs.org>
3400 * frame-msw.c (mswindows_init_frame_1):
3401 - use make_lisp_hash_table, not Fmake_hash_table
3405 * alloc.c (make_vector): remove travesty
3409 (make_bit_vector_internal):
3411 (make_bit_vector_from_byte_vector):
3413 - make vector_equal a little faster.
3414 - Don't use variable name `new'.
3415 - Use size_t instead of EMACS_INT.
3416 - usual Martin-style pointless bit-twiddling.
3422 Make mapcar faster. In particular, make
3423 (mapc #'identity long-string)
3424 MUCH faster under Mule.
3425 * tests/automated/lisp-tests.el: Test 'em!
3427 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3430 1998-12-01 Martin Buchholz <martin@xemacs.org>
3432 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3433 Qnil, not NULL, to initialize `null' Lisp_Objects.
3435 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3437 * specifier.c (display_table_validate): Update.
3439 * redisplay.c (create_text_block): Use them.
3441 * glyphs.c (display_table_entry): New function.
3442 (get_display_tables): Ditto.
3444 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3446 * eldap.c (toplevel): Mention that eldap.c compiles with
3448 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3449 (Fldap_search_internal): Ditto
3451 1998-12-11 Martin Buchholz <martin@xemacs.org>
3453 * event-msw.c (mswindows_cancel_dispatch_event):
3454 Gratuitous code prettification
3457 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3459 * fns.c (Fnconc): Fix use of wrong_type_argument().
3461 * floatfns.c (Ffloat): Fix docstring.
3462 (Ffloat): Fix use of wrong_type_argument().
3464 (extract_float): Ditto.
3469 1998-12-06 Martin Buchholz <martin@xemacs.org>
3471 * frame-msw.c (mswindows_init_frame_1):
3472 - use make_lisp_hash_table, not Fmake_hash_table
3476 * alloc.c (make_vector): remove travesty
3480 (make_bit_vector_internal):
3482 (make_bit_vector_from_byte_vector):
3484 - make vector_equal a little faster.
3485 - Don't use variable name `new'.
3486 - Use size_t instead of EMACS_INT.
3487 - usual Martin-style pointless bit-twiddling.
3493 Make mapcar faster. In particular, make
3494 (mapc #'identity long-string)
3495 MUCH faster under Mule.
3496 * tests/automated/lisp-tests.el: Test 'em!
3498 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3501 1998-12-02 Didier Verna <verna@inf.enst.fr>
3503 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3504 accelerator field to nil for labels.
3506 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3508 * menubar-msw.c (displayable_menu_item):
3509 Escape occurrences of '&' and support occurrences of the
3510 '%_' accelerator indicator in menus.
3512 1998-11-26 Didier Verna <verna@inf.enst.fr>
3514 * dired.c (Fdirectory_files): use make_string instead of
3515 make_ext_string on the filename. The conversion external->internal
3516 format is already done in sys_readdir.
3518 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3520 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3522 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3525 (Belatedly) added Kirill to list of file's authors.
3526 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3527 quit checking. WM_PAINT messages cause redisplay, but
3528 windows' states are not necessarily stable when this function
3531 1998-12-17 Andy Piper <andy@xemacs.org>
3533 * strftime.c (zone_name): CONSTify.
3535 1998-12-15 Andy Piper <andy@xemacs.org>
3537 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3538 (mswindows_widget_property): return Qunbound when no property available.
3539 (mswindows_button_property): ditto.
3540 (mswindows_combo_property): ditto.
3541 (mswindows_widget_set_property): ditto.
3543 * glyphs-widget.c (check_valid_item_list): use properties.
3545 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3547 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3548 (Fimage_instance_property): ditto.
3549 * glyphs-widget.c (widget_property): ditto.
3550 (widget_set_property): ditto.
3552 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3553 as setting the class cursor so that GC actually changes the
3556 * config.h: don't undef MAIL_USE_POP.
3558 1998-12-13 Andy Piper <andy@xemacs.org>
3561 (image_instantiator_format_create_glyphs_mswindows): line ->
3563 (mswindows_label_instantiate): ditto. Play with window flags.
3564 (image_instantiator_format_create_glyphs_mswindows): ditto.
3565 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3567 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3568 cope with lines and labels.
3569 (static_instantiate): use widget_instantiate_1.
3571 (image_instantiator_format_create_glyphs_widget): ditto.
3573 1998-12-10 Andy Piper <andy@xemacs.org>
3575 * Makefile.in.in (objs): add gui.o
3577 1998-12-10 Andy Piper <andy@xemacs.org>
3579 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3582 1998-12-09 Andy Piper <andy@xemacs.org>
3584 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3585 image instance is removed so that the subwindow cache gets reset
3586 and thus destroyed images get GC'd.
3588 1998-12-08 Andy Piper <andy@xemacs.org>
3590 * gui-msw.c (mswindows_handle_gui_wm_command): call
3591 MARK_SUBWINDOWS_CHANGED.
3593 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3594 subwindows really get deleted.
3596 * redisplay.c: new variable subwindows_changed[_set].
3597 (redisplay_window): use it.
3598 (redisplay_frame): ditto.
3599 (redisplay_device): ditto.
3600 (redisplay_without_hooks): ditto.
3602 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3603 subwindows redisplay as per glyphs equivalent.
3604 * redisplay.h: ditto.
3605 (MARK_SUBWINDOWS_CHANGED): ditto.
3606 (RESET_CHANGED_SET_FLAGS): ditto.
3607 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3609 1998-12-07 Andy Piper <andy@xemacs.org>
3611 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3614 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3616 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3617 messages and paint widget glyphs as appropriate with their face fg
3620 1998-12-06 Andy Piper <andy@xemacs.org>
3622 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3623 here rather than in glyphs-widget - do this because we only want
3624 to provide what is really available.
3626 * glyphs.c (Fimage_instance_property): new function to get the
3627 properties of image instances. wires through to console specific
3628 methods and then to widget specific methods.
3629 (Fset_image_instance_property): ditto but for setting widget properties.
3630 (check_valid_face): make extern so that it can be used elsewhere.
3632 * glyphs-widget.c (widget_property): new function. gets the
3633 properties of widgets in general and wires the function through to
3634 widget specific ones.
3635 (widget_set_property): ditto but for setting widget properties.
3637 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3638 add items to the list. Play with window styles a bit to get the
3640 (mswindows_widget_property): break out specific widget properties.
3641 (mswindows_button_property): new function. gets the checked state
3643 (mswindows_combo_property): new function. gets the current
3644 selection in the combo box.
3645 (mswindows_widget_set_property): new function. sets specific
3646 properties of specific widgets.
3648 * glyphs-widget.c (check_valid_item_list): new function. check
3649 that items for a combo-box are just a list of strings.
3650 (combo_validate): new function. check there is an item list.
3651 (widget_instantiate_1): new function. renamed from
3652 widget_instantiate so that we can do slightly different things for
3654 (widget_instantiate): call widget_instantiate_1.
3655 (combo_instantiate): new function to instantiate combo boxes,
3656 defaults height to the pixel height of the number of items in the
3658 (syms_of_glyphs_widget): move widget keywords here.
3659 (image_instantiator_format_create_glyphs_widget): use new combo
3662 1998-12-04 Andy Piper <andy@xemacs.org>
3664 * event-msw.c (mswindows_wnd_proc): mule-ize.
3666 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3668 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3669 (resource_name_to_resource): ditto.
3670 (mswindows_resource_instantiate): ditto.
3671 (mswindows_widget_instantiate): ditto.
3672 (mswindows_widget_set_property): ditto.
3674 * redisplay-output.c (redisplay_output_subwindow): don't show
3675 subwindows if they are obscured at the edge of the frame, emacs
3676 gets into some sort of redisplay loop otherwise.
3678 * gui.h: prototype gui_item_selected_p.
3680 * gui.c (gui_item_selected_p): new function to determine the
3681 selected state of a gui_item.
3683 * frame.h (struct frame): add subwindows_changed flag.
3685 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3687 * glyphs.c (update_subwindow): new function to update a
3689 (update_frame_subwindows): new function to update all the
3690 subwindows on a frame.
3692 * console.h (struct console_methods): add update_subwindow.
3694 * glyphs-msw.c (mswindows_widget_property): return selected state
3695 for selected property.
3696 (mswindows_update_subwindow): new function. updates widget glyphs
3697 in redisplay as per menubars or toolbars e.g. selected state.
3698 (console_type_create_glyphs_mswindows): add update_subwindow.
3700 1998-12-03 Andy Piper <andy@xemacs.org>
3702 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3703 tty coding system things are such.
3705 * glyphs-widget.c (widget_face_font_info): new function for
3706 pulling out height and width metrics for a widget's face.
3707 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3710 * event-msw.c (mswindows_drain_windows_queue): translate messages
3711 that are destined for subwindows. This makes edit fields interact
3712 with the keyboard correctly.
3713 nuke warnings by #ifndef'ing out stuff not required by msg select().
3715 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3716 macro defining the iiforma without the symbol required by widget.
3717 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3719 * general.c (syms_of_general): add Qwidget, Qselected.
3721 * faces.c (complex_vars_of_faces): add widget face inheriting from
3724 1998-11-09 Andy Piper <andy@xemacs.org>
3726 * window.h (struct window): add a cache of subwindows on a
3729 * window.c (mark_window): mark the subwindow_instance_cache.
3730 (allocate_window): initialise the subwindow instance_cache.
3732 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3733 instead of the devmeth.
3734 (x_clear_toolbar): ditto.
3736 * redisplay-x.c (x_output_display_block): call
3737 redisplay_output_subwindow for subwindows and widgets.
3739 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3740 types to do nothing for.
3742 * lisp.h: declare new widget/subwindow symbols.
3744 * glyphs.c (image_instantiate): cache subwindows on a per-window
3746 (subwindow_possible_dest_types): new function for subwindow dest
3748 (subwindow_instantiate): generic instantiation of a
3749 subwindow. specialised by device multi-methods.
3750 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3752 (Fimage_instance_subwindow_id): ditto.
3753 (Fresize_subwindow): ditto.
3754 (Fforce_subwindow_map): ditto.
3756 * glyphs-x.c (x_print_image_instance): remove subwindow
3757 stuff. Handled genrically in glyphs.c.
3758 (x_image_instance_equal): ditto.
3759 (x_image_instance_hash): ditto.
3760 (x_finalize_image_instance): delete subwindows when required.
3761 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3762 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3763 glyph-based, subwindow implementation.
3764 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3766 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3768 (x_unmap_subwindow): new function to unmap X subwindows.
3769 (x_map_subwindow): new function to map X subwindows.
3770 (x_subwindow_instantiate): new function to instantiate X
3772 (x_resize_subwindow): new function to resize X subwindows.
3773 (console_type_create_glyphs_x): add subwindow functions.
3774 (image_instantiator_format_create_glyphs_x): add device
3775 multi-methods for xpm, xbm and subwindow.
3777 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3778 (subwindow-width): ditto.
3779 (subwindow-height): ditto.
3781 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3782 generally instantiating ms subwindows. Used by
3783 mswindows_*_instantiate.
3784 (mswindows_edit_instantiate): instantiate an edit field on a
3787 1998-11-04 Andy Piper <andy@xemacs.org>
3789 * symsinit.h: declare new functions.
3791 * redisplay.h: declare new functions.
3793 * redisplay-x.c (x_output_display_block): call
3794 redisplay_clear_region rather than x_clear_region.
3795 (x_output_string): ditto.
3796 (x_output_pixmap): ditto.
3797 (x_clear_to_window_end): ditto.
3798 (x_output_eol_cursor): ditto.
3799 (x_clear_region): only do X specific things. other duties handled
3800 in redisplay_clear_region.
3802 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3803 duties moved to redisplay_clear_region.
3805 * redisplay-output.c (clear_left_border): use
3806 redisplay_clear_region instead of device method.
3807 (clear_right_border): ditto.
3808 (output_display_line): ditto.
3809 (redisplay_output_subwindow): ditto.
3810 (redisplay_clear_top_of_window): ditto.
3811 (redisplay_clear_region): perform duties previously handled by
3812 device methods. call the appropriate device method at the
3813 end. unmap subwindows if necessary.
3815 * redisplay-msw.c (mswindows_output_string): use
3816 redisplay_clear_region instead of mswindows_clear_region.
3817 (mswindows_clear_to_window_end): ditto.
3818 (mswindows_output_display_block): output subwindows when required.
3819 (mswindows_clear_region): only do mswindows specific things,
3820 everything else is now handled in redisplay_clear_region.
3822 * gui.h: add item id hash defines and declare function prototypes.
3824 * gui.c (mark_gui_item): new function for marking gui_items.
3825 (gui_item_hash): generic hash function for generating command ids
3828 * gui-msw.c: new file.
3829 (mswindows_handle_gui_wm_command): new function to handle widget
3832 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3834 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3835 (DEFINE_DEVICE_IIFORMAT): ditto.
3836 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3837 (struct Lisp_Image_Instance): add widget and subwindow data plus
3838 appropriate access functions.
3840 * glyphs.c (decode_device_ii_format): new function for decoding
3841 image instantiator functions based on a device type as well as an
3843 (decode_image_instantiator_format): just call
3844 decode_device_ii_format with nil device.
3845 (add_entry_to_device_ii_format_list): new function for per device
3847 (add_entry_to_image_instantiator_format_list): just call
3848 add_entry_to_device_ii_format_list with nil device.
3849 (check_valid_vector): new function.
3850 (instantiate_image_instantiator): instantiate using per-format
3851 method and then per-format-per-device method (device
3852 multi-methods). signal an error if neither is possible.
3853 (mark_image_instance): cope with subwindows and widgets.
3854 (print_image_instance): ditto.
3855 (image_instance_equal): ditto.
3856 (image_instance_hash): ditto.
3857 (allocate_glyph): ditto.
3858 (glyph_width): ditto.
3859 (glyph_height_internal): ditto.
3860 (xpm_instantiate): removed because of device multi-methods.
3861 (mark_subwindow_cachels): new cachel functions for caching
3862 instantiated subwindows on a per-frame basis. mostly copied from
3863 glyph cachel functions.
3864 (update_subwindow_cachel_data): ditto.
3865 (add_subwindow_cachel): ditto.
3866 (get_subwindow_cachel_index): ditto.
3867 (reset_subwindow_cachels): ditto.
3868 (mark_subwindow_cachels_as_not_updated): ditto.
3869 (unmap_subwindow): generic unmapping of subwindows based on cachel
3871 (map_subwindow): ditto.
3872 (initialize_subwindow_image_instance): generic initialisation of
3874 (syms_of_glyphs): add widget keywords.
3876 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3879 1998-11-04 Andy Piper <andy@xemacs.org>
3881 * glyphs-widget.c: new file for instantiating widget type glyphs.
3882 (widget_possible_dest_types): new general dest type function for
3884 (widget_validate): ditto.
3885 (initialize_widget_image_instance): ditto
3886 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3887 before handing on control to device multi-methods.
3888 (syms_of_glyphs_widget): new function.
3889 (image_instantiator_format_create_glyphs_widget): new function,
3890 added placeholders for button, edit, combo, scrollbar
3891 (vars_of_glyphs_widget): new function.
3893 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3894 storing window ids of widgets.
3896 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3897 deletion of widget and subwindow glyphs.
3898 (mswindows_unmap_subwindow): new device function for unmapping
3899 subwindows on a msw frame.
3900 (mswindows_map_subwindow): ditto.
3901 (mswindows_register_image_instance): register instantiated widgets
3902 with the widget hastable.
3903 (mswindows_button_instantiate): instantiate a button type widget
3905 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3907 (image_instantiator_format_create_glyphs_mswindows): add device
3908 multi-methods for xbm, xpm, subwindow, edit and button.
3910 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3911 information about subwindows visible on the current frame. used by
3912 redisplay_clear_region to unmap subwindows as required.
3914 * frame.c (mark_frame): mark subwindow_cachels.
3915 (allocate_frame_core): instantiate subwindow_cachels.
3917 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3920 * event-msw.c (mswindows_wnd_proc): add call to
3921 mswindows_handle_gui_wm_command to handle widget callbacks.
3923 * emacs.c (main_1): add calls to glyphs-widget initialisation
3926 * console.h (struct console_methods): add
3927 unmap/map_subwindow_method for use be redisplay_clear_region to
3928 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3929 with by image instantiator multi-methods. Add
3930 resize_subwindow_method.
3932 * console-stream.c (stream_clear_region): change signature to
3933 match new generic clear region function.
3935 * Makefile.in.in: add glyphs-widget.o to list of objects.
3937 * console-msw.h (struct mswindows_frame): add widget hashtable for
3938 wiring command ids to callbacks.
3940 1998-12-16 Andy Piper <andy@xemacs.org>
3942 * XEmacs 21.2.6 is released
3944 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3946 * md5.c (Fmd5): Correctly initiate string input stream.
3948 * Makefile.in.in (tests): Add md5-tests.el.
3950 1998-12-06 Martin Buchholz <martin@xemacs.org>
3953 * alloc.c (make_vector): remove travesty
3957 (make_bit_vector_internal):
3959 (make_bit_vector_from_byte_vector):
3961 - make vector_equal a little faster.
3962 - Don't use variable name `new'.
3963 - Use size_t instead of EMACS_INT.
3964 - usual Martin-style pointless bit-twiddling.
3970 Make mapcar faster. In particular, make
3971 (mapc #'identity long-string)
3972 MUCH faster under Mule.
3973 * tests/automated/lisp-tests.el: Test 'em!
3975 1998-12-06 Martin Buchholz <martin@xemacs.org>
3977 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3980 1998-12-13 Martin Buchholz <martin@xemacs.org>
3982 * console-msw.c: Function definitions follow coding standards
3983 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3985 1998-12-11 Martin Buchholz <martin@xemacs.org>
3987 * events.h (struct timeout_data):
3988 * event-tty.c (tty_timeout_to_emacs_event):
3989 * event-msw.c (mswindows_wm_timer_callback):
3990 * event-Xt.c (Xt_timeout_to_emacs_event):
3991 * event-msw.c (mswindows_cancel_dispatch_event):
3992 Make sure Lisp_Objects inside events are initialized to Qnil, not
3993 Qnull_pointer, which is now illegal.
3995 1998-12-10 Martin Buchholz <martin@xemacs.org>
3997 * lisp.h: Fix up prototypes to match alloc.c
3999 1998-12-09 Andy Piper <andy@xemacs.org>
4001 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4002 XSETINT for assigning lisp objects.
4004 1998-12-07 Martin Buchholz <martin@xemacs.org>
4007 * console-msw.c (DHEADER):
4016 - max_align_t should not be visible to the user of the
4018 - use Bufbyte instead of char
4019 - parens around (FOOP (obj)) are always redundant.
4020 If they were necessary, we should fix the macro instead.
4021 - Always use string_data(foo) instead of foo->data.
4023 1998-12-07 Martin Buchholz <martin@xemacs.org>
4025 * sysdep.c (set_descriptor_non_blocking):
4026 Since O_NONBLOCK is now always #defined, make use of fcntl
4027 conditional on F_SETFL being defined.
4029 1998-12-09 Andy Piper <andy@xemacs.org>
4031 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4032 that got removed in the merge
4034 1998-11-30 Greg Klanderman <greg@alphatech.com>
4036 * dired.c (vars_of_dired): bugfix for previous conditionalization
4037 of user-name-completion on non- Windows NT.
4039 1998-12-08 Martin Buchholz <martin@xemacs.org>
4041 * windowsnt.h: Remove `support' for using index and rindex
4043 * filelock.c (current_lock_owner):
4044 - Change uses of index -> strchr, rindex -> strrchr
4046 1998-12-06 Martin Buchholz <martin@xemacs.org>
4048 * frame-msw.c (mswindows_init_frame_1):
4049 - use make_lisp_hash_table, not Fmake_hash_table
4052 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4054 * XEmacs 21.2.5 is released
4056 1998-11-30 Martin Buchholz <martin@xemacs.org>
4058 * xselect.c (receive_incremental_selection):
4059 * xselect.c (x_get_window_property):
4060 * xmu.c (XmuReadBitmapDataFromFile):
4061 * xmu.c (XmuCursorNameToIndex):
4062 * xgccache.c (describe_gc_cache):
4063 * xgccache.c (gc_cache_lookup):
4064 * xgccache.c (free_gc_cache):
4065 * xgccache.c (make_gc_cache):
4067 * window.c (map_windows_1):
4068 * window.c (Fother_window_for_scrolling):
4069 * window.c (window_scroll):
4070 * window.c (change_window_height):
4071 * window.c (Fsplit_window):
4072 * window.c (window_left_gutter_width):
4073 * window.c (window_modeline_height):
4074 * window.c (invalidate_vertical_divider_cache_in_window):
4075 * window.c (window_needs_vertical_divider_1):
4076 * window.c (update_mirror_internal):
4077 * window.c (SET_LAST_FACECHANGE):
4078 * widget.c (Fwidget_plist_member):
4079 * unexec.c (copy_text_and_data):
4080 * unexcw.c (copy_executable_and_dump_data_section):
4082 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4083 * tooltalk.c (struct Lisp_Tooltalk_Message):
4084 * toolbar.h (struct toolbar_button):
4085 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4086 * toolbar.c (recompute_overlaying_specifier):
4087 * toolbar.c (toolbar_validate):
4088 * toolbar.c (toolbar_button_at_pixpos):
4089 * toolbar.c (get_toolbar_coords):
4090 * toolbar.c (update_frame_toolbars):
4092 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4093 * toolbar-msw.c (mswindows_find_toolbar_pos):
4094 * toolbar-msw.c (mswindows_output_toolbar):
4095 * toolbar-msw.c (mswindows_clear_toolbar):
4104 * sysdep.c (sys_fopen):
4105 * sysdep.c (sys_open):
4106 * sysdep.c (tty_init_sys_modes_on_device):
4107 * sysdep.c (get_eof_char):
4108 * sysdep.c (child_setup_tty):
4109 * sysdep.c (set_descriptor_non_blocking):
4111 * syntax.c (scan_words):
4114 * symeval.h (struct symbol_value_varalias):
4115 * symeval.h (struct symbol_value_forward):
4116 * symbols.c (syms_of_symbols):
4117 * symbols.c (init_symbols_once_early):
4118 * symbols.c (Fbuilt_in_variable_type):
4119 * symbols.c (Fsymbol_value_in_buffer):
4120 * symbols.c (default_value):
4122 * symbols.c (find_symbol_value_quickly):
4123 * symbols.c (store_symval_forwarding):
4124 * symbols.c (set_default_console_slot_variable):
4125 * symbols.c (set_default_buffer_slot_variable):
4126 * symbols.c (verify_ok_for_buffer_local):
4127 * symbols.c (symbol_is_constant):
4128 * symbols.c (oblookup):
4129 * symbols.c (Funintern):
4130 * symbols.c (Fintern):
4131 * symbols.c (check_obarray):
4133 * specifier.h (struct specifier_methods):
4135 * specifier.c (specifier_instance):
4136 * specifier.c (specifier_instance_from_inst_list):
4137 * specifier.c (decode_locale_type):
4138 * specifier.c (specifier_equal):
4139 * specifier.c (finalize_specifier):
4140 * specifier.c (prune_specifiers):
4141 * specifier.c (kill_specifier_buffer_locals):
4142 * sound.c (init_native_sound):
4145 * search.c (Fmatch_data):
4146 * search.c (match_limit):
4147 * search.c (Freplace_match):
4148 * search.c (skip_chars):
4149 * search.c (scan_buffer):
4151 * scrollbar.c (specifier_vars_of_scrollbar):
4152 * scrollbar.c (Fscrollbar_set_hscroll):
4153 * scrollbar.c (vertical_scrollbar_changed_in_window):
4154 * scrollbar.c (release_window_mirror_scrollbars):
4155 * scrollbar.c (free_scrollbar_instance):
4158 * s/msdos.h (O_BINARY):
4160 * s/freebsd.h (LIBS_TERMCAP):
4161 * regex.c (re_match_2_internal):
4162 * regex.c (compile_extended_range):
4163 * regex.c (POP_FAILURE_POINT):
4164 * regex.c (PUSH_FAILURE_POINT):
4165 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4167 * redisplay.h (struct display_line):
4168 * redisplay.h (struct rune):
4169 * redisplay.c (vars_of_redisplay):
4170 * redisplay.c (redisplay_variable_changed):
4171 * redisplay.c (UPDATE_CACHE_RETURN):
4172 * redisplay.c (validate_line_start_cache):
4173 * redisplay.c (mark_redisplay_structs):
4174 * redisplay.c (mark_glyph_block_dynarr):
4175 * redisplay.c (window_line_number):
4176 * redisplay.c (redisplay_frame):
4177 * redisplay.c (redisplay_window):
4178 * redisplay.c (generate_modeline):
4179 * redisplay.c (create_right_glyph_block):
4180 * redisplay.c (create_left_glyph_block):
4181 * redisplay.c (create_text_block):
4183 * redisplay-x.c (x_output_hline):
4184 * redisplay-x.c (x_output_vertical_divider):
4185 * redisplay-tty.c (tty_output_display_block):
4186 * redisplay-output.c (output_display_line):
4187 * redisplay-output.c:
4188 * redisplay-msw.c (mswindows_output_vertical_divider):
4189 * redisplay-msw.c (mswindows_ring_bell):
4190 * redisplay-msw.c (mswindows_output_cursor):
4194 * puresize.h (RAW_PURESIZE):
4195 * profile.c (syms_of_profile):
4196 * profile.c (Fstart_profiling):
4197 * profile.c (sigprof_handler):
4200 * process.c (vars_of_process):
4201 * process.c (read_process_output):
4202 * process.c (get_process):
4204 * process-unix.c (unix_open_multicast_group):
4205 * process-unix.c (unix_get_tty_name):
4206 * process-unix.c (unix_send_process):
4207 * process-unix.c (unix_reap_exited_processes):
4208 * process-unix.c (unix_create_process):
4209 * process-unix.c (unix_init_process_io_handles):
4210 * process-unix.c (allocate_pty):
4212 * process-nt.c (nt_open_network_stream):
4213 * process-nt.c (nt_update_status_if_terminated):
4214 * process-nt.c (nt_finalize_process_data):
4216 * print.c (debug_short_backtrace):
4217 * print.c (debug_backtrace):
4218 * print.c (print_symbol):
4219 * print.c (print_internal):
4220 * print.c (print_cons):
4221 * print.c (Fwrite_char):
4222 * print.c (print_prepare):
4223 * print.c (canonicalize_printcharfun):
4224 * print.c (output_string):
4227 * opaque.c (allocate_managed_opaque):
4229 * offix.c (DndSetData):
4230 * objects.c (face_boolean_create):
4231 * objects.c (font_instantiate):
4232 * objects.c (font_create):
4233 * objects.c (color_create):
4234 * objects.c (finalize_font_instance):
4235 * objects.c (finalize_color_instance):
4237 * objects-x.c (x_font_instance_truename):
4239 * objects-x.c (x_initialize_font_instance):
4240 * objects-x.c (allocate_nearest_color):
4241 * objects-tty.c (tty_initialize_font_instance):
4242 * objects-tty.c (tty_initialize_color_instance):
4243 * objects-msw.c (mswindows_initialize_color_instance):
4244 * ntproc.c (syms_of_ntproc):
4245 * ntproc.c (Fwin32_set_process_priority):
4246 * ntproc.c (sys_spawnve):
4248 * ntheap.c (get_data_end):
4252 * nt.c (generate_inode_val):
4253 * nt.c (sys_rename):
4255 * mule-wnnfns.c (Fwnn_hinsi_number):
4256 * mule-wnnfns.c (Fwnn_yuragi):
4257 * mule-wnnfns.c (Fwnn_common_learn):
4258 * mule-wnnfns.c (Fwnn_suffix_learn):
4259 * mule-wnnfns.c (Fwnn_prefix_learn):
4260 * mule-wnnfns.c (Fwnn_okuri_learn):
4261 * mule-wnnfns.c (Fwnn_complex_conv):
4262 * mule-wnnfns.c (Fwnn_last_is_first):
4263 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4264 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4265 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4266 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4267 * mule-wnnfns.c (Fwnn_hinsi_list):
4268 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4269 * mule-wnnfns.c (Fwnn_dict_search):
4270 * mule-wnnfns.c (Fwnn_word_toroku):
4271 * mule-wnnfns.c (Fwnn_hindo_update):
4272 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4273 * mule-wnnfns.c (Fwnn_kakutei):
4274 * mule-wnnfns.c (Fwnn_begin_henkan):
4275 * mule-wnnfns.c (Fwnn_dict_comment):
4276 * mule-wnnfns.c (Fwnn_dict_add):
4277 * mule-wnnfns.c (Fwnn_open):
4278 * mule-mcpath.c (mc_getcwd):
4279 * mule-coding.c (vars_of_mule_coding):
4280 * mule-coding.c (convert_to_external_format):
4281 * mule-coding.c (encoding_marker):
4282 * mule-coding.c (decoding_marker):
4283 * mule-coding.c (Fcopy_coding_system):
4284 * mule-coding.c (Fmake_coding_system):
4285 * mule-coding.c (Fcoding_system_list):
4286 * mule-coding.c (Ffind_coding_system):
4287 * mule-coding.c (symbol_to_eol_type):
4289 * mule-charset.c (complex_vars_of_mule_charset):
4290 * mule-charset.c (vars_of_mule_charset):
4291 * mule-charset.c (Fset_charset_ccl_program):
4292 * mule-charset.c (struct charset_list_closure):
4293 * mule-charset.c (Ffind_charset):
4294 * mule-charset.c (make_charset):
4295 * mule-charset.c (non_ascii_valid_char_p):
4297 * mule-ccl.c (ccl_driver):
4298 * mule-canna.c (c2mu):
4299 * mule-canna.c (Fcanna_henkan_begin):
4300 * mule-canna.c (Fcanna_parse):
4301 * mule-canna.c (Fcanna_store_yomi):
4302 * mule-canna.c (Fcanna_touroku_string):
4303 * mule-canna.c (Fcanna_initialize):
4305 * menubar.c (menu_parse_submenu_keywords):
4306 * menubar-x.c (make_dummy_xbutton_event):
4307 * menubar-x.c (set_frame_menubar):
4308 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4311 * menubar-msw.c (mswindows_popup_menu):
4312 * menubar-msw.c (mswindows_update_frame_menubars):
4313 * menubar-msw.c (mswindows_handle_wm_command):
4314 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4315 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4316 * menubar-msw.c (update_frame_menubar_maybe):
4317 * menubar-msw.c (populate_or_checksum_helper):
4318 * menubar-msw.c (empty_menu):
4321 * marker.c (set_marker_internal):
4322 * marker.c (print_marker):
4325 * lstream.c (lisp_buffer_rewinder):
4326 * lstream.c (mark_lstream):
4328 * lrecord.h (struct lrecord_header):
4329 * lread.c (readevalloop):
4330 * lread.c (locate_file):
4331 * lread.c (locate_file_in_directory):
4332 * lread.c (Flocate_file):
4333 * lread.c (load_force_doc_string_unwind):
4334 * lread.c (ebolify_bytecode_constants):
4339 * linuxplay.c (linux_play_data_or_file):
4340 * linuxplay.c (audio_init):
4343 * keymap.c (describe_map):
4344 * keymap.c (describe_map_mapper):
4345 * keymap.c (Fdescribe_bindings_internal):
4346 * keymap.c (Fsingle_key_description):
4347 * keymap.c (map_keymap_sorted):
4348 * keymap.c (get_relevant_keymaps):
4349 * keymap.c (Flookup_key):
4350 * keymap.c (raw_lookup_key_mapper):
4351 * keymap.c (Fdefine_key):
4352 * keymap.c (Fevent_matches_key_specifier_p):
4353 * keymap.c (key_desc_list_to_event):
4354 * keymap.c (define_key_parser):
4355 * keymap.c (define_key_check_and_coerce_keysym):
4356 * keymap.c (keymap_submaps):
4357 * keymap.c (keymap_store_internal):
4358 * keymap.c (keymap_delete_inverse_internal):
4359 * keymap.c (keymap_store_inverse_internal):
4360 * keymap.c (print_keymap):
4361 * keymap.c (Lisp_Keymap):
4364 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4365 * insdel.c (make_gap):
4366 * input-method-xlib.c (get_XIM_input):
4367 * input-method-xlib.c (XIM_init_frame):
4372 * gui-x.c (button_item_to_widget_value):
4373 * gui-x.c (popup_selection_callback):
4374 * glyphs.h (struct image_instantiator_methods):
4375 * glyphs.c (mark_glyph_cachels):
4376 * glyphs.c (Fglyph_type):
4377 * glyphs.c (image_instantiate):
4378 * glyphs.c (image_create):
4379 * glyphs.c (make_image_instance_1):
4380 * glyphs.c (finalize_image_instance):
4382 * glyphs-x.c (finalize_subwindow):
4383 * glyphs-x.c (xface_validate):
4384 * glyphs-x.c (x_locate_pixmap_file):
4385 * glyphs-x.c (convert_EImage_to_XImage):
4387 * glyphs-msw.c (mswindows_resource_instantiate):
4388 * glyphs-msw.c (xpm_to_eimage):
4389 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4390 * glyphs-eimage.c (tiff_instantiate):
4391 * glyphs-eimage.c (png_instantiate):
4392 * glyphs-eimage.c (struct png_error_struct):
4393 * glyphs-eimage.c (gif_memory_storage):
4396 * getloadavg.c (getloadavg):
4399 * free-hook.c (log_gcpro):
4400 * free-hook.c (check_malloc):
4401 * free-hook.c (check_free):
4402 * free-hook.c (ROUND_UP_TO_PAGE):
4404 * frame.h (struct frame):
4406 * frame.c (change_frame_size_1):
4407 * frame.c (allocate_frame_core):
4409 * frame-x.c (x_focus_on_frame):
4410 * frame-x.c (x_init_frame_2):
4411 * frame-x.c (x_popup_frame):
4412 * frame-x.c (xemacs_XtPopup):
4414 * frame-x.c (Foffix_start_drag_internal):
4415 * frame-x.c (x_cde_destroy_callback):
4416 * frame-x.c (x_wm_hack_wm_protocols):
4417 * frame-tty.c (tty_frame_visible_p):
4418 * frame-msw.c (mswindows_make_frame_invisible):
4419 * frame-msw.c (mswindows_after_init_frame):
4420 * frame-msw.c (mswindows_init_frame_1):
4421 * fns.c (syms_of_fns):
4422 * fns.c (Fbase64_decode_string):
4424 * fns.c (Ffillarray):
4425 * fns.c (Fobject_plist):
4427 * fns.c (Fcanonicalize_lax_plist):
4428 * fns.c (Fcanonicalize_plist):
4429 * fns.c (Fplist_remprop):
4430 * fns.c (Fplist_get):
4431 * fns.c (advance_plist_pointers):
4432 * fns.c (internal_plist_put):
4433 * fns.c (Fnreverse):
4436 * fns.c (Fsubstring):
4437 * fns.c (Fbvconcat):
4439 * fns.c (length_with_bytecode_hack):
4440 * fns.c (print_bit_vector):
4442 * floatfns.c (Ffloor):
4444 * floatfns.c (in_float_error):
4445 * fileio.c (Ffile_modes):
4446 * fileio.c (Fexpand_file_name):
4447 * fileio.c (Fmake_temp_name):
4448 * fileio.c (Ffile_name_nondirectory):
4449 * fileio.c (Ffile_name_directory):
4451 * file-coding.c (vars_of_mule_coding):
4452 * file-coding.c (convert_to_external_format):
4453 * file-coding.c (encoding_marker):
4454 * file-coding.c (decoding_marker):
4455 * file-coding.c (Fcopy_coding_system):
4456 * file-coding.c (Fmake_coding_system):
4457 * file-coding.c (struct coding_system_list_closure):
4458 * file-coding.c (Ffind_coding_system):
4459 * file-coding.c (symbol_to_eol_type):
4461 * faces.h (struct face_cachel):
4462 * faces.c (vars_of_faces):
4463 * faces.c (face_property_was_changed):
4464 * faces.c (mark_face_cachels):
4465 * faces.c (temporary_faces_list):
4466 * faces.c (struct face_list_closure):
4468 * extents.h (struct extent):
4469 * extents.c (vars_of_extents):
4470 * extents.c (struct copy_string_extents_1_arg):
4471 * extents.c (add_string_extents_mapper):
4472 * extents.c (Fextent_property):
4473 * extents.c (Fset_extent_property):
4474 * extents.c (symbol_to_glyph_layout):
4475 * extents.c (properties_equal):
4476 * extents.c (print_extent):
4477 * extents.c (print_extent_1):
4478 * extents.c (extent_in_region_p):
4479 * extents.c (gap_array_make_gap):
4481 * events.h (struct Lisp_Event):
4483 * events.c (Fevent_properties):
4484 * events.c (format_event_object):
4485 * events.c (Fmake_event):
4486 * events.c (event_equal):
4487 * events.c (print_event):
4488 * events.c (mark_event):
4489 * event-stream.c ((read-char)
4490 * event-stream.c (vars_of_event_stream):
4491 * event-stream.c (syms_of_event_stream):
4492 * event-stream.c (Fset_recent_keys_ring_size):
4493 * event-stream.c (Fsit_for):
4494 * event-stream.c (Fnext_event):
4495 * event-stream.c (execute_help_form):
4496 * event-stream.c (maybe_kbd_translate):
4498 * event-msw.c (vars_of_event_mswindows):
4499 * event-msw.c (mswindows_wnd_proc):
4500 * event-msw.c (mswindows_need_event):
4501 * event-msw.c (mswindows_drain_windows_queue):
4502 * event-msw.c (mswindows_pump_outstanding_events):
4504 * event-msw.c (slurp_thread):
4505 * event-msw.c (struct ntpipe_slurp_stream):
4506 * event-msw.c (HANDLE_TO_USID):
4507 * event-Xt.c (emacs_Xt_handle_magic_event):
4508 * event-Xt.c (x_event_to_emacs_event):
4509 * event-Xt.c (x_reset_modifier_mapping):
4510 * event-Xt.c (x_reset_key_mapping):
4512 * eval.c (syms_of_eval):
4513 * eval.c (warn_when_safe):
4514 * eval.c (warn_when_safe_lispobj):
4515 * eval.c (Fbacktrace_frame):
4516 * eval.c (Fbacktrace):
4517 * eval.c (top_level_set):
4518 * eval.c (unbind_to_hairy):
4519 * eval.c (specbind_magic):
4520 * eval.c (specbind_unwind_wasnt_local):
4521 * eval.c (call2_trapping_errors):
4522 * eval.c (call1_trapping_errors):
4523 * eval.c (catch_them_squirmers_call2):
4524 * eval.c (call0_trapping_errors):
4525 * eval.c (run_hook_trapping_errors):
4526 * eval.c (catch_them_squirmers_eval_in_buffer):
4527 * eval.c (call4_in_buffer):
4528 * eval.c (call3_in_buffer):
4529 * eval.c (call2_in_buffer):
4530 * eval.c (call1_in_buffer):
4531 * eval.c (call0_in_buffer):
4532 * eval.c (run_hook):
4533 * eval.c (run_hook_with_args_in_buffer):
4536 * eval.c (do_autoload):
4537 * eval.c (un_autoload):
4538 * eval.c (Fautoload):
4539 * eval.c (Finteractive_p):
4540 * eval.c (Fcommand_execute):
4541 * eval.c (signal_quit):
4542 * eval.c (call_with_suspended_errors):
4543 * eval.c (signal_error):
4544 * eval.c (return_from_signal):
4545 * eval.c (Fcall_with_condition_handler):
4546 * eval.c (run_condition_case_handlers):
4547 * eval.c (condition_case_1):
4548 * eval.c (Funwind_protect):
4549 * eval.c (unwind_to_catch):
4550 * eval.c (internal_catch):
4551 * eval.c (Fmacroexpand_internal):
4552 * eval.c (Fuser_variable_p):
4553 * eval.c (Fdefconst):
4555 * eval.c (Ffunction):
4556 * eval.c (signal_call_debugger):
4557 * eval.c (call_debugger):
4560 * emacs.c (sort_args):
4564 * editfns.c (Fencode_time):
4565 * editfns.c (Fdecode_time):
4566 * editfns.c (Fuser_full_name):
4568 * editfns.c (save_excursion_restore):
4571 * doprnt.c (emacs_doprnt_1):
4572 * doc.c (verify_doc_mapper):
4573 * doc.c (Fsnarf_documentation):
4574 * doc.c (Fdocumentation):
4576 * dired.c (user_name_completion):
4577 * dired.c (Fdirectory_files):
4580 * dgif_lib.c (FreeSavedImages):
4581 * dgif_lib.c (DGifGetImageDesc):
4583 * device.h (struct device):
4584 * device.c (Fselect_device):
4585 * device.c (allocate_device):
4587 * device-x.c (Fx_keysym_on_keyboard_p):
4588 * device-x.c (Fx_valid_keysym_name_p):
4589 * device-x.c (x_IO_error_handler):
4590 * device-x.c (x_delete_device):
4591 * device-x.c (x_finish_init_device):
4592 * device-x.c (x_init_device):
4594 * device-msw.c (mswindows_init_device):
4596 * database.c (vars_of_database):
4597 * database.c (Fput_database):
4598 * database.c (Fopen_database):
4599 * database.c (berkdb_remove):
4600 * database.c (berkdb_put):
4601 * database.c (Fdatabasep):
4602 * database.c (print_database):
4604 * data.c (vars_of_data):
4605 * data.c (syms_of_data):
4606 * data.c (init_errors_once_early):
4607 * data.c (prune_weak_lists):
4608 * data.c (finish_marking_weak_lists):
4609 * data.c (print_weak_list):
4611 * data.c (Fstring_to_number):
4612 * data.c (Fnumber_to_string):
4613 * data.c (Findirect_function):
4616 * data.c (Fsubr_interactive):
4618 * data.c (Fkeywordp):
4621 * console.h (CONSOLE_NAME):
4623 * console.c (vars_of_console):
4624 * console.c (Fselect_console):
4626 * console-x.h (DEVICE_X_COLORMAP):
4627 * console-x.h (struct x_device):
4628 * console-x.c (x_device_to_console_connection):
4629 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4630 * console-tty.c (tty_init_console):
4632 * console-msw.h (struct mswindows_frame):
4635 * cmds.c (internal_self_insert):
4636 * cmds.c (Fforward_line):
4637 * cmds.c (Fforward_char):
4640 * chartab.c (mark_char_table_entry):
4642 * casefiddle.c (casify_word):
4643 * callproc.c (child_setup):
4644 * callproc.c (Fcall_process_internal):
4646 * callint.c (Fcall_interactively):
4648 * bytecode.c (execute_rare_opcode):
4649 * bytecode.c (execute_optimized_program):
4652 * buffer.h (BUFFER_REALLOC):
4653 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4654 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4656 * buffer.h (MAP_INDIRECT_BUFFERS):
4657 * buffer.h (CHECK_LIVE_BUFFER):
4658 * buffer.c (init_initial_directory):
4659 * buffer.c (complex_vars_of_buffer):
4660 * buffer.c (vars_of_buffer):
4661 * buffer.c (finish_init_buffer):
4662 * buffer.c (Fget_file_buffer):
4663 * buffer.c (Fbuffer_list):
4664 * buffer.c (mark_buffer):
4665 * balloon_help.c (balloon_help_move_to_pointer):
4666 * balloon_help.c (show_help):
4669 * alloc.c (garbage_collect_1):
4670 * alloc.c (sweep_strings):
4671 * alloc.c (sweep_compiled_functions):
4672 * alloc.c (sweep_bit_vectors_1):
4673 * alloc.c (sweep_vectors_1):
4674 * alloc.c (sweep_lcrecords_1):
4675 * alloc.c (tick_lcrecord_stats):
4676 * alloc.c (pure_string_sizeof):
4677 * alloc.c (mark_conses_in_list):
4678 * alloc.c (mark_object):
4679 * alloc.c (report_pure_usage):
4680 * alloc.c (make_pure_float):
4681 * alloc.c (make_pure_string):
4682 * alloc.c (free_managed_lcrecord):
4683 * alloc.c (mark_string):
4684 * alloc.c (noseeum_make_marker):
4685 * alloc.c (allocate_event):
4686 * alloc.c (Fbit_vector):
4687 * alloc.c (Fvector):
4688 * alloc.c (make_float):
4689 * alloc.c (Fmake_list):
4691 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4692 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4693 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4694 * alloc.c (dbg_constants):
4695 * alloc.c (gc_record_type_p):
4696 * alloc.c (free_lcrecord):
4697 * alloc.c (xmalloc):
4698 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4700 * Makefile.in.in (mostlyclean):
4701 * Makefile.in.in (external_client_xlib_objs_nonshared):
4702 * Makefile.in.in (temacs_link_args):
4703 * Makefile.in.in (release):
4704 * Makefile.in.in (dnd_objs):
4705 * Makefile.in.in (objs):
4706 * Makefile.in.in (PROGNAME):
4707 * EmacsShell.c: cast strings to (XtPointer)
4708 * EmacsFrame.c: cast strings to (XtPointer)
4710 - rewrite basic lisp functions for speed
4711 - rewrite bytecode interpreter for speed
4712 - rewrite list looping constructs for speed and safety using
4714 - use size_t where appropriate.
4715 - new hashtable implementation
4716 - cleanup implementation of opaques
4717 - opaques can now be purecopy'ed
4718 - move some cl functionality into C for speed.
4719 - remove last remaining VMS support
4721 - improve gdb/dbx debugger support
4722 - move pure.c back into alloc.c for performance
4723 - enable report_pure_usage() if --memory-usage-stats
4724 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4725 - don't use symbols with leading `_' or embedded `__'
4726 - globally cleanup duplicated semicolons `;;'
4727 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4729 - globally replace O_NDELAY with O_NONBLOCK.
4730 - globally replace CDISABLE with _POSIX_VDISABLE.
4731 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4732 - define (and maybe use!) STDERR_FILENO and friends.
4733 - add support for macros defined in C
4734 - `when', `unless', `not' and `defalias' now defined in C,
4735 so that they are universally available.
4736 - rename defvar_mumble to defvar_magic
4737 - rename RETURN__ to RETURN_SANS_WARNINGS
4738 - use consistent style of initial caps in error messages
4739 - implement last, butlast, nbutlast, copy-list in C.
4740 - provide typedefs for all struct Lisp_foo types
4741 - Lisp_Objects must be initialized to Qnil rather than 0.
4742 - make sure XEmacs runs (slowly) with always_gc == 1;
4743 - fast and safe LOOP_* macros
4744 - change calls to XSETOBJ to XSETFOO
4745 - replace calls to XSETINT by make_int()
4746 - plug up memory leaks
4747 - use style markobj (foo), not silly ((markobj) (foo))
4748 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4750 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4752 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4754 1998-11-28 SL Baur <steve@altair.xemacs.org>
4756 * XEmacs 21.2-beta4 is released.
4758 1998-11-27 SL Baur <steve@altair.xemacs.org>
4760 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4761 property in control-1 charset.
4762 From Julian Bradfield <jcb@daimi.au.dk>
4764 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4766 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4768 Add stub for :label.
4770 * gui.c (gui_item_add_keyval_pair): ditto.
4772 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4773 :key-sequence keyword.
4775 Support :active for submenus like the Windows code and FSF Emacs.
4777 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4779 * dired.c (make_directory_hash_table): make_string() is OK because
4780 readdir() Mule-encapsulates.
4782 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4784 * fns.c (Fbase64_encode_string): Fix docstring.
4785 (Fbase64_decode_string): Ditto.
4787 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4789 * editfns.c (Ftranslate_region): Use
4790 convert_bufbyte_string_into_emchar_string().
4792 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4794 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4796 (Ftranslate_region): Turn table into an array of Emchars for
4799 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4801 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4803 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4805 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4806 type `char' with nils.
4808 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4809 for tables of type `char'.
4811 1998-11-26 Didier Verna <verna@inf.enst.fr>
4813 * input-method-xlib.c (Initialize_Locale): don't call
4814 XtSetLanguageProc. We've done the whole work here.
4815 * input-method-xfs.c (Initialize_Locale): ditto.
4816 * input-method-motif.c (Initialize_Locale): ditto.
4818 1998-11-26 Didier Verna <verna@inf.enst.fr>
4820 * process-unix.c (unix_create_process): handle properly
4821 Vfile_name_coding_system for converting the program and directory
4824 1998-11-27 SL Baur <steve@altair.xemacs.org>
4826 * m/arm.h: New file.
4827 From James LewisMoss <dres@ioa.com>
4829 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4832 Fix the realpath() problem of UnixWare2.1.3.
4833 Patches for NEC's sysv4.2 machine.
4835 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4837 * dired.c (Fdirectory_files): Remove redundant code.
4839 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4841 * fns.c (free_malloced_ptr): New function.
4842 (XMALLOC_OR_ALLOCA): New macro.
4843 (XMALLOC_UNBIND): Ditto.
4844 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4845 to be freed in case of non-local exit.
4846 (Fbase64_encode_string): Ditto.
4847 (Fbase64_decode_region): Ditto.
4848 (Fbase64_decode_string): Ditto.
4849 (STORE_BYTE): New macro.
4850 (base64_decode_1): Use it.
4852 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4854 * fns.c (base64_value_to_char): Base64 stuff.
4856 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4858 * editfns.c (Fbuffer_substring): New function.
4860 * lisp.h: Declare make_string_from_buffer_no_extents().
4862 * insdel.c (make_string_from_buffer_1): New function.
4863 (make_string_from_buffer_no_extents): Ditto.
4865 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4867 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4868 sound work on AIX with OSS installed. Linux should still work.
4870 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4872 * config.h.in: name change for cygwin/version.h
4874 * configure.in: check for cygwin/version.h now.
4876 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4877 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4878 move cygwin32/version.h to cygwin/version.h
4880 1998-11-03 Olivier Galibert <galibert@pobox.com>
4882 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4885 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4887 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4888 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4889 enable BROKEN_SIGIO under b20 to make QUIT work.
4891 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4893 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4894 to fit within the constraints of the screen size. I.e. make the
4895 frame small enough to fit and move it if some of it will be
4898 1998-10-19 Greg Klanderman <greg@alphatech.com>
4900 * dired.c: conditionalize inclusion of user-name-completion
4901 primitives on non-Windows NT. The needed functions don't exist on NT.
4903 1998-11-24 SL Baur <steve@altair.xemacs.org>
4905 * gifrlib.h: Clean up types for 64 bit compile.
4906 * dgif_lib.c (DGifInitRead): Ditto.
4907 (MakeSavedImage): Ditto.
4908 * emacs.c (decode_path): Ditto.
4909 From Steve Carney <carney@pa.dec.com>
4911 1998-10-16 William M. Perry <wmperry@aventail.com>
4913 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4914 (cehckboxes instead of checkboxes).
4916 1998-10-15 SL Baur <steve@altair.xemacs.org>
4918 * XEmacs 21.2-beta3 is released.
4920 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4922 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4923 gnuclient. Otherwise, we run xemacs as we always did. This gets
4924 rid of the annoying DOS window when running gnuclient.
4926 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4928 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4929 HAVE_MS_WINDOWS typo.
4931 1998-10-13 SL Baur <steve@altair.xemacs.org>
4933 * process-unix.c (unix_send_process): Set closed flag on writable
4934 pipe after SIGPIPE is received and before we call deactivate_process.
4936 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4938 * window.c (Fset_window_start): respect narrowing when
4939 checking wheter start is at the beginning of a line.
4940 (Fset_window_buffer): Ditto
4941 Fixes repeatable crash in VM.
4943 1998-10-09 SL Baur <steve@altair.xemacs.org>
4945 * window.c (specifier_vars_of_window): Set default vertical
4946 divider width to 1 on ttys.
4948 1998-10-08 Martin Buchholz <martin@xemacs.org>
4953 Add <stddef.h> to get ptrdiff_t declaration
4955 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4957 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4958 is used for Motif or Lucid scrollbars under X.
4960 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4962 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4965 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4967 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4969 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4971 * s/cygwin32.h: more cygwin b20 reorganisation.
4973 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4975 * nas.c: Added necessary support functions to be able to handle
4976 WAVE files in memory, just like the support for SND files in
4979 1998-09-30 SL Baur <steve@altair.xemacs.org>
4981 * callproc.c (child_setup): Fix spelling typo.
4983 1998-09-29 SL Baur <steve@altair.xemacs.org>
4985 * XEmacs 21.2-beta2 is released.
4987 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4989 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4990 to prevent memory corruption in the case of jumping out of a series of
4991 nested match patterns. This is a rather brute force approach, though.
4993 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4995 * config.h.in: ditto.
4997 * s/cygwin32.h: rearrange declarations to cope with cygwin
4998 b20. Include cygwin32/version.h if it exists.
5000 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5002 * device-msw.c (mswindows_init_device): Call new
5003 mswindows_enumerate_fonts() function in objects-msw.c instead
5004 of font_enum_callback_1() to enumerate fonts.
5006 font_enum_callback_1() and _2() moved to objects-msw.c.
5008 * faces.c (complex_vars_of_faces): Make the mswindows default
5009 face font fully specified and provide some fallbacks.
5011 * objects-msw.c: font_enum_callback_1() and _2() moved here
5012 from objects-msw.c. Obtain the enumerated font's character
5013 sets by table lookup instead of using the locale-specific
5014 string provided by Windows.
5016 New public non-method mswindows_enumerate_fonts() that fills
5017 in the supplied mswindows device's font list.
5019 mswindows_initialize_font_instance: Use the supplied name
5020 variable instead of f->name when signalling errors. Match font
5021 weights and character sets using lookup tables which handle
5022 spaces instead of by frobbing.
5024 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5026 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5027 on the size of code fragments passed to run_in_other_process.
5029 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5030 the amount of memory to allocate in the other process.
5032 Removed sigkill_code_end(), sigint_code_end() and
5033 sig_enable_code_end() since they are now redundant.
5035 send_signal() and enable_child_signals(): Don't try to work
5036 out the end of the code fragments passed to
5037 run_in_other_process()
5039 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5041 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5044 * src/unexelf.c: Partially synched with FSF's 20.3.
5046 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5048 * insdel.c (signal_after_change): Map across indirect buffers
5049 here, and not in the upper-level functions.
5050 (signal_first_change): Don't check for Armageddon.
5051 (signal_before_change): Map across indirect buffers here.
5052 (prepare_to_modify_buffer): ...and here.
5054 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5056 * insdel.c (signal_after_change): Add return value.
5057 (buffer_insert_string_1): Use it.
5058 (buffer_delete_range): Ditto.
5059 (buffer_replace_char): Ditto.
5060 (cancel_multiple_change): Map the indirect buffers.
5062 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5064 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5065 (uninit_buffer_text): Ditto.
5067 * buffer.c (Fmake_indirect_buffer): Implement stricter
5070 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5072 * insdel.c (change_function_restore): Reverse order of
5073 function-call and assignment.
5074 (first_change_hook_restore): Ditto.
5076 * extents.c (mark_extent_auxiliary): Mark them.
5077 (Fset_extent_property): Set them.
5078 (Fextent_property): Get them.
5079 (Fextent_properties): Ditto.
5080 (vars_of_extents): Set their default.
5082 * extents.h (struct extent_auxiliary): Add before_change_functions
5083 and after_change_functions.
5085 * insdel.c (signal_before_change): Use it.
5086 (signal_after_change): Ditto.
5088 * extents.c (report_extent_modification): New function.
5090 * insdel.c (signal_before_change): Don't check for Armageddon.
5091 (signal_after_change): Ditto.
5093 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5095 * redisplay.c (redisplay_window): make sure a new starting point
5096 is chosen if it somehow got moved from the beginning of the line
5097 -- this can happen because Fwiden was called recently.
5099 * window.c (Fset_window_start): set start_at_line_beg correctly
5100 (Fset_window_buffer): Ditto
5102 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5104 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5105 (uninit_buffer_text): Ditto.
5107 * buffer.c (Fmake_indirect_buffer): Implement stricter
5110 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5112 * emacs.c (main_1): Removed references to *vars_of_filelock.
5114 * lisp.h: Added Fsystem_name.
5116 * filelock.c: Replaced by version from FSF 20.2. Now implements
5117 locking by using symlinks which is NFS safe. However keep the
5118 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5119 version (and of course use ansi C, acessor macros, etc).
5121 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5123 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5124 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5125 in init_signals_very_early. However these should not be passed
5126 on to children attached to the new pty.
5128 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5130 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5132 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5134 * fileio.c (file-name-directory, file_name_as_directory):
5135 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5137 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5139 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5141 * ralloc.c: uncomment __morecore.
5143 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5145 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5146 WriteFile() to fix a winsock 1.x bug on Win95.
5148 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5150 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5152 (x_event_to_emacs_event): Ditto.
5153 (emacs_Xt_handle_focus_event): Ditto.
5154 (emacs_Xt_handle_magic_event): Ditto.
5156 * console-x.h (struct x_device): New flag being_deleted.
5157 (DEVICE_X_BEING_DELETED): New macro.
5159 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5160 returning. Before doing that, set the being_deleted flag on the
5163 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5165 * device-x.c (x-seppuku-on-epipe): Removed.
5167 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5169 * frame-x.c (x_delete_frame): Flush the X output buffer after
5170 calling XtDestroyWidget to ensure that the windows are really
5173 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5175 * menubar-x.c (my_run_hook): New unused function.
5176 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5177 since we ignore the results of the contained functions anyway.
5179 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5181 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5182 interlaced GIF files that are smaller than 4 lines high...
5184 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5186 * buffer.c (map_over_sharing_buffers): Deleted.
5188 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5190 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5193 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5195 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5197 (buffer_delete_range): Ditto.
5199 * marker.c (init_buffer_markers): Set point-marker to the value of
5200 point in an indirect buffer.
5202 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5204 * undo.c (undo_prelude): Test last-undo-buffer against base
5207 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5209 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5211 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5213 * insdel.c (init_buffer_text): Initialize it here.
5215 * line-number.c: Address line_number_cache through buffer->text.
5217 * buffer.c (mark_buffer): Mark line number cache.
5219 * bufslots.h (line_number_cache): Move to struct buffer_text.
5221 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5222 across the children buffers.
5223 (buffer_delete_range): Ditto.
5224 (buffer_replace_char): Ditto.
5228 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5230 * buffer.c (Fmake_indirect_buffer): Uncomment.
5232 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5234 * macros.c (Fend_kbd_macro): Remove trailing period from error
5236 (Fexecute_kbd_macro): Ditto.
5238 1998-08-21 Greg Klanderman <greg@alphatech.com>
5240 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5241 (Fuser_name_completion_1): new function to return uniqueness
5242 indication in addition to the user name completion.
5243 (user_name_completion): change type of `uniq' argument.
5245 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5247 * lread.c (vars_of_lread): Removed `source-directory' variable.
5249 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5251 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5254 1998-08-19 SL Baur <steve@altair.xemacs.org>
5256 * dired.c (vars_of_dired): Fix misapplied patch.
5258 1998-08-16 Martin Buchholz <martin@xemacs.org>
5260 * fns.c (Fremrassq, remrassq_no_quit):
5261 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5263 1998-07-17 Didier Verna <verna@inf.enst.fr>
5265 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5266 style as foreground GC for faces that have the `dim' property.
5267 (x_output_string): when the `dim' face property is set,
5268 ensure the gray pixmap has been created, and get a proper
5269 foreground GC to draw the text.
5271 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5273 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5274 Manually track the state of the left and right Ctrl and Alt
5277 1998-08-07 Matt Stupple <matts@tibco.com>
5279 * ntproc.c: don't wait on char_consumed at thread entry.
5280 Additionally, to get the 'process' marked as finished, ensure
5281 that the CHILD_ACTIVE macro returns false, so before exiting
5282 close char_avail and set it to NULL, and close other handles
5283 to reduce handle leak problems.
5285 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5287 * menubar-msw.c (displayable_menu_item): take account of menu
5288 depth when deciding whether to try to display accelerators.
5290 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5292 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5295 * glyphs-msw.c: fix a couple of potential handle leaks.
5297 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5299 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5300 *decoding ONLY* back into the core.
5301 * glyphs-eimage.c: Change referenced header file for GIF
5302 reading to point to the incore version.
5304 1998-07-20 Martin Buchholz <martin@xemacs.org>
5306 * casefiddle.c (casify_object):
5307 Change algorithm from O(N**2) to O(N).
5311 1998-07-22 Greg Klanderman <greg@alphatech.com>
5313 * dired.c (file_name_completion_unwind): don't leak the cons.
5315 1998-07-20 Greg Klanderman <greg@alphatech.com>
5317 * dired.c (Fuser_name_completion): new function.
5318 (Fuser_name_all_completions): new function.
5319 (user_name_completion): new function.
5320 (syms_of_dired): 2 new DEFSUBRs.
5321 (vars_of_dired): initialize user name cache vars.
5323 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5325 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5326 colors taken from the default face. Also correct a thinko in
5327 transparency (not alpha) handling.
5329 1998-07-23 Martin Buchholz <martin@xemacs.org>
5331 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5332 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5333 * lread.c (Fload_internal): Be very careful with printfs of
5335 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5338 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5340 * callint.c (Fcall_interactively): GCPRO prompt string before
5341 passing it to Fread_key_sequence
5343 1998-07-27 SL Baur <steve@altair.xemacs.org>
5345 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5346 Vvertical_divider_map.
5348 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5349 Qnil or 0, none were initialized prior to this change.
5351 Rename misnamed `V' prefixed integer variables:
5352 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5353 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5354 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5355 Vcanna_ichiran_revLen.
5357 Rename misnamed `V' prefixed integer variables and initialize
5358 properly in the vars_of routine.
5359 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5360 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5361 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5362 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5363 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5364 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5365 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5366 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5367 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5368 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5369 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5370 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5371 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5372 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5373 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5374 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5375 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5376 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5377 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5378 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5379 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5380 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5381 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5382 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5383 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5384 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5385 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5386 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5387 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5388 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5389 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5390 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5391 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5392 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5393 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5394 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5395 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5396 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5397 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5398 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5399 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5400 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5401 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5402 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5403 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5404 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5406 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5408 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5409 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5410 keys thus no longer considering all keysyms on a key.
5412 1998-07-19 SL Baur <steve@altair.xemacs.org>
5414 * XEmacs 21.2-beta1 is released.
5416 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5418 * eldap.c (Fldap_search_internal): When converting the list of
5419 attributes to search Copy the final 0 from Lisp strings to C
5421 Check base, not Vldap_default_base as a a string
5423 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5425 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5427 * unexnt.c: Unconditionally define bss_start and bss_size, and
5428 ensure that they don't go in the .bss section.
5430 1998-07-17 Olivier Galibert <galibert@pobox.com>
5432 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5433 byte order is dependant of the local byte order).
5434 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5436 1998-07-18 SL Baur <steve@altair.xemacs.org>
5438 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5439 Qmswindows_resource.
5440 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5442 1998-07-12 SL Baur <steve@altair.xemacs.org>
5444 * general.c (syms_of_general): Add defsymbol for Qresource.
5446 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5447 Qmswindows_resource.
5448 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5449 (mswindows_resource_validate): Rename.
5450 (mswindows_resource_normalize): Rename.
5451 (mswindows_resource_possible_dest_types): Rename.
5452 (mswindows_resource_instantiate): Rename.
5453 (image_instantiator_format_create_glyphs_mswindows): Replace
5454 `resource' with `mswindows.resource'.
5456 * XEmacs 21.0-pre5 is released.
5458 1998-07-10 SL Baur <steve@altair.xemacs.org>
5460 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5461 server type in environment.
5462 Use alloca-ed strings instead of tiny fixed size ones.
5464 1998-07-09 SL Baur <steve@altair.xemacs.org>
5466 * XEmacs 21.0-pre4 is released.
5468 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5470 * fileio.c: (expand_file_name): under win32: Don't treat names
5471 as UNC names if a drive letter has been specified. If a drive
5472 has been specified, strip out extra directory-seperators that
5473 reportedly cause problems under Win95.
5475 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5477 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5478 MSVC >= 5.0. Put emacs init and zero-init data in a special
5479 section of the executable when this is defined.
5481 * unexnt.c, ntheap.h:
5482 Removed unused find_section() and get_section_size().
5485 Fix up the executable's checksum after dumping otherwise the
5487 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5488 zero-init data separately from init data. Dump emacs data
5489 into a special section of the executable.
5490 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5491 my_ebss instead of up to the end of bss.
5493 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5495 * filelock.c: Removed Vconfigure_lock_directory - already
5498 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5499 defined in frame.c and general.c respectively.
5501 * glyphs-msw.c: Removed Qresource - already defined in
5504 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5506 * eldap.c (Fldap_search_internal): Docstring fixes
5508 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5510 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5511 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5512 EMACSPACKAGEPATH and INFOPATH variables.
5513 Removed unused get_emacs_configuration function.
5515 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5516 it is now defined at build-time by the makefile.
5518 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5520 * fileio.c: (expand_file_name): under win32: Don't treat names as
5521 UNC names if a drive letter has been specified. If a drive has
5522 been specified, strip out extra directory-seperators that
5523 reportedly cause problems under Win95.
5525 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5527 * faces.c (complex_vars_of_faces): for the gui-element face don't
5528 fallback to the default face, instead provide reasonable default
5529 fallbacks that were previously hardcoded elsewhere.
5531 1998-07-06 Olivier Galibert <galibert@pobox.com>
5533 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5534 when the X server endianness is different than the client's one.
5536 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5538 * eval.c (run_hook_with_args_in_buffer): Check
5539 default (non-buffer-local) value of hook for
5540 nil before treating it as a function. Don't initialize
5541 the `globals' variable twice.
5543 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5545 * fileio.c: Don't do directory seperator canonicalisation in
5546 substitute-in-file-name because we don't know that the
5547 filename refers to a local file.
5549 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5551 * process-nt.c (nt_create_process): Try appending the standard
5552 executable file extensions to the filename if none supplied.
5554 1998-06-29 SL Baur <steve@altair.xemacs.org>
5556 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5558 From Keisuke Mori <ksk@ntts.com>
5560 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5562 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5563 images if we have masks. This handles the xbm case (have masks)
5564 and avoids overuse of resources in the xpm case (generally no masks).
5565 Don't output small toolbars.
5567 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5569 * eval.c (run_hook_with_args_in_buffer): Don't treat
5570 the default value of a buffer local hook as a list of
5571 hooks unless it is both a cons and the car of that cons
5574 1998-06-29 SL Baur <steve@altair.xemacs.org>
5576 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5577 * process-unix.c: Ditto.
5578 * mule-coding.h: Ditto.
5579 * mule-coding.c: Ditto.
5580 * mule-charset.c: Ditto.
5581 * mule-charset.h: Ditto.
5582 * file-coding.c: Ditto.
5583 * file-coding.h: Ditto.
5585 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5587 * event-msw.c: Guard against recursion when freeing
5588 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5590 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5591 Call ShowWindow twice in init_frame_3 to get round runemacs
5594 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5596 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5598 * winslots.h: Rename.
5600 * window.c (specifier_vars_of_window): Renamed
5601 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5602 as suggested by Ben Wing.
5603 (specifier_vars_of_window): Fix docstrings.
5605 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5607 * unexaix.c: Line number information works correctly again.
5609 1998-06-22 Olivier Galibert <galibert@pobox.com>
5611 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5613 1998-06-21 Martin Buchholz <martin@xemacs.org>
5615 * editfns.c (get_home_directory): ANSIfy.
5616 XEmacs is compilable under C *and* C++.
5617 It's XEmacs, not Xemacs!
5619 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5621 * console-msw.h: added a list of fonts to device data.
5623 * device-msw.c: enumerate list of available fonts in
5624 mswindows_init_device. Free list in mswindows_delete_device.
5626 * objects-msw.c: Added helper function match_font used by
5627 mswindows_initialize_font_instance and mswindows_list_fonts.
5628 Allow a charset to be specified in a font string, even if
5629 previous fields havn't been specified.
5631 1998-06-23 Greg Klanderman <greg@alphatech.com>
5633 * indent.c (column_at_point): column cache bugfix.
5634 Set last_known_column_point to the buffer position for
5635 which the column was requested, not buffer's point.
5637 * redisplay.c (decode_mode_spec): for current-column, show
5638 window's point's column, not buffer's point's column.
5640 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5642 * menubar-msw.c (mswindows_handle_wm_command): use
5643 enqueue_misc_user event rather than
5644 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5647 * console-msw.h: declare mswindows_enqueue_magic_event.
5649 * event-msw.c (mswindows_enqueue_magic_event): make global.
5651 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5653 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5654 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5655 (add_position_to_cache): Use EMACS_INT instead of int.
5657 1998-06-21 Olivier Galibert <galibert@pobox.com>
5659 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5660 suitable for an int used as a boolean (btw, C sucks.).
5662 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5664 * object-msw.c: remove warnings.
5666 * device-msw.c: #define wrongly named cygwin structure elements.
5668 * s/cygwin32.h: define DEMI_BOLD
5670 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5672 * redisplay-msw.c: new function mswindows_apply_face_effects.
5673 This is called by output_string and output_cursor to display
5674 underline and strikeout on faces.
5676 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5678 * console-msw.h: added a list of fonts to device data.
5680 * device-msw.c: enumerate list of available fonts in
5681 mswindows_init_device. Free list in mswindows_delete_device.
5683 * objects-msw.c: Added helper function match_font used by
5684 mswindows_initialize_font_instance and mswindows_list_fonts.
5685 Allow a charset to be specified in a font string, even if
5686 previous fields havn't been specified.
5688 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5691 Removed compilation warnings from mswindows_string_to_color.
5692 mswindows_list_fonts returns a more general bogus font.
5693 New lisp-visible function mswindows-color-list.
5695 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5697 * editfns.c (Fuser_login_name): Modify to user new function
5699 (user_login_name): C only function to avoid Lisp object overhead
5700 Returns "unknown" instead of nil in Cygwin environment
5702 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5703 equivalent for current user in Cygwin environment. Use new
5704 function user_login_name to get username.
5706 * lisp.h: Declare user_login_name
5708 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5710 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5712 Some other insignificant nitpicks.
5714 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5716 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5717 creating the image list and make sure he bk color is transparent.
5719 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5721 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5722 completed_timeouts. The timer could have expired.
5724 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5726 * console-msw.h: move XEMACS_RECT_WH inside frame
5727 parameters. define macors to access it.
5729 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5730 parameter to intialise desired sizing. (mswindows_init_frame_2):
5731 enable and size the frame to something sensible when we get
5732 here. (mswindows_set_frame_properites): use new
5733 mswindows_size_frame_internal function and size frame if frame
5734 parameters not just if init is finished - WM_SIZE happens too
5735 early for some specs. (mswindows_size_frame_internal): new
5736 function abstracted from mswindows_set_frame_properties.
5737 (Vmswindows_use_system_frame_size_defaults):
5738 new variable controls whether to allow the system to pick frame
5739 size defaults, defaults to nil.
5741 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5742 than duplicated code.
5744 1998-06-15 Colin Rafferty <colin@xemacs.org>
5746 * Makefile.in.in: Made EXTW_LINK expand properly.
5748 1998-06-12 Martin Buchholz <martin@xemacs.org>
5750 * redisplay.c (vars_of_redisplay): default value of
5751 column-number-start-at-one should be NIL!
5753 1998-06-11 Martin Buchholz <martin@xemacs.org>
5756 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5758 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5760 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5761 build_string to avoid crashes under Mule.
5763 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5765 * ntplay.c (play_sound_data_1): don't delete the sound data until
5766 the next sound is played and the previous one finished.
5768 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5770 * fileio.c (directory-sep-char): Escape backslashes.
5772 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5774 * event-stream.c: Fix docstring reference.
5776 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5778 * alloc.c (make_float): Remove useless initialization of `next'
5780 (make_pure_float): Ditto.
5782 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5784 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5786 * fileio.c (Fmake_directory_internal): Remove conditionals
5787 on WINDOWSNT when calling mkdir.
5789 * ntproc.c: Deleted the following unused functions:
5790 register_child, reap_subprocess, sys_wait.
5792 * nt.c (sys_rename): Ifzeroed this implementation.
5793 Deleted the following unused functions:
5794 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5795 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5796 sys_read, sys_write.
5797 Merger sys_fopen and sys_open with sysdep.c implementation.
5799 * sysdep.c: Removed MS-DOS code.
5800 (sys_rename): Deal with Microsoft rename weirdness.
5801 (sys_open): Implemented for Windows.
5805 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5807 * buffer.c (complex_vars_of_buffer): Removed %t description from
5810 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5812 * scrollbar-msw.c: initialize the cbSize element of the
5813 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5814 to ignore the value of cbSize, but Win95 (and I presume Win98)
5815 appear to want it set to sizeof(SCROLLINFO).
5817 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5819 * event-stream.c: Defined Qcancel_mode_internal.
5820 (syms_of_event_stream): defsymbol'ed it.
5822 * events.h: Externed it.
5824 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5826 1998-06-04 Oliver Graf <ograf@fga.de>
5828 * frame-x.c (x_cde_destroy_callback): free the data
5829 (cde-start-drag-internal) corrected root position, 21.1 needs this
5830 hardcoded in Button events
5831 (offix-start-drag-internal) corrected root position
5833 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5835 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5838 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5840 * dialog-msw.c (button_width): Removed `inline' from the function
5843 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5845 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5846 Note that adding this flag to subsequent frames causes problems.
5848 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5850 * glyphs-eimage.c (png_instantiate) move 'struct
5851 png_memory_storage tbr' out of nested block to avoid dangling
5854 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5857 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5858 inherits from gui-element.
5860 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5861 with existing code, generate masks correctly.
5863 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5865 * glyphs-eimage.c: Changed included header for gifs to use
5866 Gifreader instead of giflib.
5868 * glyphs-x.c: removed the image-related functions that were
5869 moved into glyphs-eimage.
5871 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5873 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5874 if built without X Windows support.
5876 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5878 * fns.c (Fconcat): Synch docstring with new reality.
5880 1998-06-03 SL Baur <steve@altair.xemacs.org>
5882 * frame.c: Remove reference to msdos.h (which is going away).
5883 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5885 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5887 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5891 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5893 * events.h: Fixed commentary about misc-user scrollbar events.
5895 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5896 object as an event channel, instead of window object.
5897 (x_update_horizontal_scrollbar_callback): Ditto.
5899 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5901 * ntplay.c (play_sound_data_1) new function. convert alloca data
5902 to malloc if necessary.
5903 (play_sound_file): if the file is not in our path then convert to
5906 1998-06-01 SL Baur <steve@altair.xemacs.org>
5908 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5909 * msdos.c (Frecent_doskeys): Ditto.
5911 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5912 Suggested by Reggie Perry <perry@zso.dec.com>
5914 * buffer.h: Eliminate size in declaration.
5916 1998-06-01 Olivier Galibert <galibert@pobox.com>
5918 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5920 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5922 * gui.c (gui_item_init): Changed the default value for config member
5923 from Qunbound to Qnil.
5925 1998-06-01 Greg Klanderman <greg@alphatech.com>
5927 * indent.c (vmotion_pixels): Don't #define abs().
5929 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5931 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5934 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5936 * glyphs.h: add xbm declarations.
5938 * console.h: add xbm_instantiate_method device method.
5940 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5941 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5942 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5943 locate_pixmap_file device method and read_bitmap_data_from_file
5944 instead of XmuReadBitmapDataFromFile.
5945 (xbm_instatntiate): make a device method.
5947 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5948 new function that just calls XmuReadBitmapDataFromFile.
5949 (x_xbm_instatntiate): device method from xbm_instantiate.
5951 * glyphs-msw.c (read_bitmap_data) (NextInt)
5952 (read_bitmap_data_from_file): new functions copied from Xmu
5954 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5955 inline data to an mswindows bitmap.
5956 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5957 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5960 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5962 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5963 `modeline-visible-p'.
5964 Declared specifier lisp variables at the beginning oh the file
5967 * procimpl.h (struct process_methods): Changed semantics of
5968 create_process method so it accepts lisp strings instead of
5971 * process.c (Fstart_process_internal): Moved building of
5972 unix style argv from here to process-unix.c, ...
5974 * process-unix.c (unix_create_process): ... right here.
5976 * process-nt.c (nt_create_process): Changed this function to
5977 support new semantics, so avoided a GC problem.
5979 * events.c (Fmake_event): Document misc-user events properties.
5980 (Fmake_event): Do not allow arbitrary objects for channel property
5981 of misc-user events.
5982 (Fmake_event): Change misc-user event validation: it is function
5983 which is required, not button.
5985 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5987 (mswindows_enqueue_misc_user_event): Added function.
5988 (mswindows_bump_queue): Removed function.
5989 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5990 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5991 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5992 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5993 really nothing, which is my personal favorite thing.
5995 * console-msw.h: Removed prototype for mswindows_bump_queue().
5996 Added prototype for mswindows_enqueue_misc_user_event().
5998 * menubar-msw.c (mswindows_handle_wm_command): Use
5999 mswindows_enqueue_misc_user_event().
6001 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6003 * dialog-msw.c (dialog_proc): Ditto.
6005 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6006 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6007 user events channel.
6009 1998-05-29 Greg Klanderman <greg@alphatech.com>
6011 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6012 incorrect semantics of vmotion_pixels which has been fixed. don't
6013 use it anymore as it can't easily be used.
6015 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6016 the motion was reported incorrectly if you tried to go past end of
6019 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6021 * toolbar.h: Removed misleading commentary, as Martin suggested.
6023 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6025 * lisp.h: Extern Qactivate_menubar_hook.
6027 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6030 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6032 * glyphs-msw.c: use BPLINE macro.
6034 * select-msw.c (mswindows-selection-exists-p)
6035 (mswindows-delete-selection): doc string fixes.
6037 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6038 unpressable. warning elimination.
6040 1998-05-28 Martin Buchholz <martin@xemacs.org>
6042 * alloc.c (dbg_constants):
6045 Remove toolbar_data debugging code, since that lrecord has
6048 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6050 * alloc.c: zap cached value of (user-home-directory), so that
6053 * buffer.c: From init_buffer(), separated out code that
6054 determined the initial directory for the *scratch* buffer, and
6055 put them into a function called "init_initial_directory()".
6056 The initial directory is now available as a global "char *"
6057 called initial_directory.
6059 * buffer.h: Added extern entries for initial_directory[] and
6060 init_initial_directory().
6062 * editfns.c: added new elisp function "user-home-directory",
6063 which basically returns getenv("HOME"), but attempts to use
6064 other values if $HOME isn't set.This may have to be tweaked in
6065 the future as, under Unix, "/" is used if $HOME isn't set (this
6066 probably should be set to the current directory). To support
6067 this, a new C function, "get_home_directory()", now exists,
6068 which returns the "home directory", as a "char *" string.
6070 * emacs.c: Rearrange NT initialization order so that
6071 environment/registry variables will be properly entered into
6072 Vprocess_enviroment.
6074 * fileio.c: replaced egetenv("HOME") with calls to the new
6075 get_home_directory().
6077 * lisp.h: Added function prototypes for uncache_home_directory()
6078 and get_home_directory(), along with lisp prototypes for
6079 Fuser_home_directory() and friends.
6081 * nt.c: replaced getenv("HOME") with calls to the new
6082 get_home_directory().
6084 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6085 warnings about getcwd(), etc. not having prototypes.
6087 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6089 * process-nt.c (send_signal): Emulate SIGHUP.
6090 (validate_signal_number): Ditto.
6092 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6093 remove MOD_SHIFT from ASCII characters.
6094 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6097 1998-05-24 Oliver Graf <ograf@fga.de>
6099 * frame-x.c (cde-start-drag-internal): added filename and multi-
6101 (x_cde_convert_callback) dito
6103 1998-05-26 Oliver Graf <ograf@fga.de>
6105 * frame-x.c: include event-mod.h also with CDE
6106 (x_cde_convert_callback) made the thing working
6107 (cde-start-drag-internal) also debugging
6109 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6116 - add __OpenBSD__ where __NetBSD__ was found.
6117 - TODO: replace platform-specific conditional compilation by
6118 feature tests in configure.in.
6120 1998-05-15 Greg Klanderman <greg@alphatech.com>
6122 * window.c (Fwindow_displayed_text_pixel_height): New function.
6123 (syms_of_window): DEFSUBR it.
6125 * indent.c (Fvertical_motion_pixels): New function - request
6127 (vmotion_pixels): helper.
6128 (syms_of_indent): DEFSUBR.
6129 * lisp.h: declaration for vmotion_pixels().
6131 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6132 to request returning motion in pixels.
6133 (Fvertical_motion_pixels): Remove, functionality merged into
6135 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6136 (Fmove_to_window_line): ditto.
6137 * lisp.h: Change declaration for Fvertical_motion.
6139 * window.c: rename window-text-pixel-{height,width,edges} to
6140 window-text-area-pixel-*.
6142 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6144 * tooltalk.c (vars_of_tooltalk) added staticpro for
6145 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6147 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6149 * faces.c: create a new 3d_object_face, make modeline and
6150 vertical_divider faces fallback to this rather than the default.
6152 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6154 * s/cygwin32.h: define charsets for cygwin.
6156 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6158 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6159 and coordinates. resize bitmaps if we have already settled on a
6162 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6164 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6166 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6168 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6172 * gui-x.c (popup_selection_callback): Ditto.
6174 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6176 * gui.c (get_callback): Renamed to get_gui_callback.
6178 1998-05-17 Martin Buchholz <martin@xemacs.org>
6180 * glyphs.h: order rearrangement.
6182 * device-tty.c (tty_asynch_device_change): Warning suppression.
6183 * device-x.c (x_device_system_metrics): Warning suppression.
6184 Make Doc strings consistent with coding standards.
6186 1998-05-24 Martin Buchholz <martin@xemacs.org>
6188 * general.c: multiple definition of `Qicon'. general.c seems
6189 like a good home for Qicon.
6191 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6193 * This patch is to fix compilation warnings under Windows.
6195 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6196 Added prototypes for FSF inherited functions, with which XEmacs is
6197 sprinkled thoroughly.
6198 Removed some #if 0 code. Bracketed some more definitions, probably
6199 related to Visual C versions prior to 4 (we do not support them).
6201 * sysfloat.h (logb): Finally, get logb() prototyped.
6203 * sysfile.h: Added Windows specific includes.
6204 Removed old Windows specific code bracketed with #if 0.
6206 * sysdep.h: Added prototype for xrealpath().
6208 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6210 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6211 vars_of_dired_mswindows and init_ntproc (Grrr).
6213 * realpath.c: Added Windows specific include files.
6214 (xrealpath): Conditionalized declaration of some auto variables on
6215 S_IFLNK, to avoid warnings.
6217 * ntproc.c: Disabled some compiler warnings. This file is going to
6218 die, so I have not cleaned it up much.
6219 (set_process_dir): Const parameter.
6220 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6221 (Fwin32_long_file_name): Ditto.
6222 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6225 * nt.h: Added prototypes for set_process_dir and convert_time.
6227 * nt.c: More include files.
6228 (getpwnam): Consted char* argument.
6229 (get_emacs_configuration): Const return value.
6230 (opendir): Const argument.
6231 (stat): Casted converstion long->short.
6232 (stat): Removed ad hoc and questionable support for non-MSC compile.
6233 (sys_pipe): Removed unused auto variable.
6234 (_sys_read_ahead): Removed calls to DebPrint.
6235 (sys_read): Ditto, in 2 places.
6236 (term_ntproc): Added unused int parameter to signal handler, to
6237 avoid a warning when compiling a call to signal().
6238 (msw_sigset): Properly return old signandler or NULL instead of void.
6240 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6242 * gmalloc.c (morecore): Ditto.
6243 (_free_internal): Ditto.
6245 * lread.c (parse_integer): Ditto.
6247 * dired-msw.c: Added several include files.
6249 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6250 of Compilers to Shut Up.
6252 * callproc.c: Added #includes to suppress warnings under Windows.
6253 (init_callproc): Removed #if0'ed code and unused variables.
6255 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6257 * device-msw.c (mswindows_device_system_metrics): do planes in a
6258 way consistent with X.
6260 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6261 use SetPixel, use DIBits functions.
6262 (xpm_to_eimage): frob colors more closely like xpm deos.
6264 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6265 to be closer to X version.
6267 * event-msw.c: use tooltip string directly.
6269 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6271 * objects-msw.c: frob rgb colors that only Kyle uses.
6273 * dialog-msw.c (button_width): INLINE -> inline.
6275 1998-05-23 SL Baur <steve@altair.xemacs.org>
6277 * getloadavg.c (getloadavg): Fix typo.
6279 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6281 * objects-msw.c (mswindows_initialize_font_instance): Added support
6282 for font character sets.
6283 Replaced 'XXX' with '####' in comments throughout the file.
6285 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6287 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6288 console_type_create_dialog_mswindows(), to initialize Windows dialog
6291 * symsinit.h: Prototyped the above functions.
6293 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6294 checks to dialog.c...
6296 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6297 device must support dialog boxes, and the descriptor must supply at
6300 * dialog-msw.c: New file, dialogs for Windows.
6302 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6304 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6305 (Fldap_search_internal): Removed unused variable `err'
6307 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6310 1998-05-17 Martin Buchholz <martin@xemacs.org>
6312 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6313 defined. Therefore there is no need to handle the case when
6314 HAVE_LDAP is undefined. Similarily, there is no reason to have
6315 any code wrapped within `#ifdef emacs', since this code is only
6316 useful within an emacs. This simplifies the code significantly.
6318 * inline.c: Include eldap.h only if HAVE_LDAP.
6319 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6322 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6324 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6325 printing dump stats when building without DEBUG_XEMACS.
6326 (dump_bss_and_heap): Ditto.
6328 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6330 * gnuclient.c: don't suppress window system if there is no display
6331 and we are running under mswindows. send 'mswindows device type if
6332 we are in this situation.
6334 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6337 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6339 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6342 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6344 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6345 {top,bottom}-{left,right} values in addition to
6346 {top,bottom}_{left,right}.
6348 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6350 * fileio.c (Fmake_temp_name): Remove unreached code.
6352 * process-nt.c (validate_signal_number): Use
6353 signal_simple_error().
6355 1998-05-19 Martin Buchholz <martin@xemacs.org>
6358 * sound.c (vars_of_sound):
6359 * sysdep.c (reset_sigio_on_device):
6360 * window.c (window_bottom_gutter_height):
6361 unexhp9k800.c:258: warning: implicit declaration of function
6362 `calculate_checksum'
6363 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6364 sysdep.c:1012: warning: unused variable `owner'
6365 window.c:993: warning: `window_right_toolbar_width' defined but not used
6367 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6369 * glyphs-msw.c (mswindows_create_resized_mask)
6370 (mswindows_create_resized_bitmap): new funnctions split out from
6371 mswindows_resize_dibitmap_instance.
6373 * glyphs-msw.h: declare new resize functions.
6375 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6376 functions so that the original bitmaps are preserved.
6378 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6380 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6381 color if we are trying to output 0 depth bg pixmap.
6383 * scrollbar-msw.c: warning elimination.
6385 1998-05-18 Martin Buchholz <martin@xemacs.org>
6387 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6388 directives in column 1.
6390 * search.c (skip_chars): Avoid using xzero with arrays, since some
6391 compilers get confused by the construct &array.
6393 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6396 * objects-msw.c: Changed the charset value for a new font from
6397 "don't care" to "ansi".
6399 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6401 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6403 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6404 modifier on control chars.
6405 Use IsCharAlpha() instead of isaplha().
6407 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6409 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6411 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6413 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6414 charset when creating font.
6415 (mswindows_initialize_color_instance): Do not create brush along
6417 (mswindows_finalize_color_instance): Do not delete it then.
6419 * objects-msw.h (struct mswindows_color_instance_data): Removed
6420 brush slot, and corresponding accessor macro.
6422 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6424 * toolbar.c: Removed toolbar_data lrecord implementation.
6425 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6426 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6427 (compute_frame_toolbar_buttons): Ditto.
6428 (CHECK_TOOLBAR): Ditto.
6429 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6430 (update_frame_toolbars): Do not check for changed buffer
6431 here. Toolbar information is provided by cached specs in
6432 windows. The check for buffer is eliminated becuase toolbars are
6433 marked changed in set_frame_selected_window() in frame.c
6434 Added check for changed toolbars geometry.
6435 (compute_frame_toolbars_data): Removed unused second parameter;
6436 Adjusted callers of this static function throughout the file.
6437 (init_frame_toolbars): Initialize current_toolbar_size.
6438 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6439 what is its current expansion, for clarity.
6440 (init_frame_toolbars): Ditto.
6441 (init_device_toolbars): Ditto.
6442 (init_global_toolbars): Ditto.
6444 * toolbar.h: Removed definition of toolbar_data lrecord.
6445 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6446 FRAME_CURRENT_TOOLBAR_SIZE.
6447 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6449 * toolbar-x.c (x_output_toolbar): The same change as in
6451 (x_output_toolbar): Ditto.
6452 (x_redraw_exposed_toolbar): Ditto.
6454 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6455 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6456 (mswindows_output_toolbar): Ditto.
6457 (mswindows_output_toolbar): Ditto.
6459 * frame.c (mark_frame): Removed marking of arrays, according to
6460 frameslots.h change.
6461 (nuke_all_frame_slots): Ditto.
6462 (set_frame_selected_window): Mark toolbars changed when
6463 last_nonminibuf_window changes.
6465 * frame.h (struct frame): Moved some slots to frameslots.h.
6466 Added current_toolbar_size array.
6467 Changed references from toolbar_data to toolbar_buttons in macros
6468 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6469 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6470 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6472 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6473 Moved arrays of lisp objects here from frame.h: toolbar_size,
6474 toolbar_visible_p, toolbar_border_width.
6475 Removed toolbar_data slot and added toolbar_buttons.
6477 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6479 * symsinit.h: Externed syms_of_process_nt()
6481 * emacs.c (main_1): Call syms_of_process_nt()
6483 * process-nt.c: Quote process arguments by a call to Lisp function
6484 `nt-quote-process-args'.
6485 (syms_of_process_nt): New function.
6486 (nt_send_process): Flush data stream after each write, to avoid
6487 leaving buffered data.
6488 (nt_send_process): When blocked on process output, wait for
6489 process to slurp more for progressively increasing time intervals.
6491 1998-05-17 Martin Buchholz <martin@xemacs.org>
6493 * window.c (have_undivided_common_edge): Make file-local function
6495 (map_windows): Return 0 if all map functions successful.
6498 * winslots.h: Use unlikely names for local variables in macros to
6499 avoid shadowing warnings.
6501 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6503 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6504 so that we re-output if the toolbar size has changed.
6506 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6508 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6510 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6512 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6515 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6517 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6518 get bitmap manifest constants defined.
6520 * console-msw.h: Include system files in angle brackets, not in
6523 * window.c (specifier_vars_of_window): Fixed a typo in
6524 `vertical-divider-line-width' docstirng.
6526 1998-05-16 Olivier Galibert <galibert@pobox.com>
6528 * line-number.c (delete_invalidate_line_number_cache): Use an
6530 (buffer_line_number): Remove dangerous, plain wrong when using
6531 64bits emacs ints, cast.
6533 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6535 * cmds.c (Fforward_line): Use EMACS_INTs.
6537 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6538 (scan_buffer): Ditto.
6539 (bi_find_next_newline_no_quit): Remove useless cast.
6540 (find_next_newline_no_quit): Ditto.
6541 (find_next_newline): Ditto.
6542 (find_before_next_newline): Use an EMACS_INT.
6544 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6546 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6548 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6550 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6552 * gui-x.c (popup_selection_callback): Use it.
6554 * gui.h (get_callback): Declare it.
6556 * gui.c (get_callback): New function.
6558 1998-05-15 SL Baur <steve@altair.xemacs.org>
6560 * window.c (have_undivided_common_edge): Guard scrollbar specific
6562 (window_needs_vertical_divider_1): Ditto.
6564 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6566 * emacs.c (decode_path): Eliminate compiler warning.
6567 (Fdecode_path): Renamed to Fsplit_path.
6568 (Fsplit_string_by_char): New function.
6570 1998-05-14 Damon Lipparelli <lipp@primus.com>
6572 * winslots.h: close comment
6574 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6576 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6578 * bufslots.h: Removed buffer_file_type slot.
6580 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6582 (complex_vars_of_buffer): Removed buffer-file-type variable and
6583 its default reference.
6585 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6587 * faces.c (complex_vars_of_faces): Defined
6588 Vvertical_divider_face.
6589 (vars_of_faces): Staticpro it.
6591 * faces.h: Externed Vvertical_divider_face.
6593 * redisplay-x.c (x_output_vertical_divider): Use
6594 Vvertical_divider_face to draw the divider instead of modeline
6597 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6598 divider face using Vvertical_divider_face background.
6599 Fix drawing spacing gaps around the divider.
6601 1998-05-14 Didier Verna <verna@inf.enst.fr>
6603 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6604 values for the vertical divider line width and spacing. Use the
6605 cached values from the window structure instead.
6606 (x_divider_width): ditto.
6608 * window.c (specifier_vars_of_window): new specifiers:
6609 vertical-divier -line-width and -spacing.
6610 (vertical_divider_global_width_changed): formerly known as
6611 vertical_divider_shadow_thickness_changed.
6613 * winslots.h: new slots: vertical_specifier _line_width and
6614 _spacing. Plus corrected a comment typo.
6616 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6618 * window.h: Declared window_divider_width().
6620 * console-stream.c (stream_divider_width): Removed method.
6621 (console_type_create_stream): And declaration for it.
6623 * redisplay.c (pixel_to_glyph_translation): Use
6624 window_divider_width() instead of divider_width redisplay method.
6625 (pixel_to_glyph_translation): Fix top divider edge calculation
6626 when scrollbar is on top.
6628 * window.c (window_divider_width): New function, an outphaser for
6629 divider_width redisplay method.
6630 (window_right_gutter_width): Use it.
6631 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6632 specifiers, set fallback values differently on TTYs, and document
6633 the behavior of these on TTYs in the docstrings.
6635 * scrollbar.c (update_scrollbar_instance): Use
6636 window_divider_width() instead of divider_width redisplay method.
6638 * console.h (struct console_methods): Removed divider_width_method.
6640 * redisplay-tty.c (tty_divider_width): Removed device method.
6641 (console_type_create_redisplay_tty): Removed definition for it.
6642 (tty_output_vertical_divider): Respect the value returned by
6643 window_divider_width thus divider line width specification.
6645 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6646 (console_type_create_redisplay_mswindows): Removed definition for it.
6647 (mswinodws_output_vertical_divider): Respect the value returned by
6648 window_divider_width thus divider line width specification.
6650 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6652 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6654 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6656 * glyphs-msw.c: resource loading implementation.
6657 (cursor_normalize): new function.
6658 (cursor_validate): ditto.
6659 (cursor_instantiate): ditto.
6660 (cursor_name_to_resource): ditto.
6661 (cursor_possible_dest_types): ditto.
6662 (check_valid_symbol): ditto.
6663 (check_valid_string_or_int): ditto.
6665 1998-05-14 Martin Buchholz <martin@xemacs.org>
6667 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6670 * process-unix.c (process_signal_char): Use VSUSP instead of
6671 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6673 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6675 * specifier.c (specifier_instance): Change locale precedence of
6676 instantiation so window locale has higher priority than buffer
6678 (Fspecifier_instance): Reflect this in docstring.
6679 (Fadd_spec_list_to_specifier): Ditto.
6680 (Fadd_spec_to_specifier): Ditto.
6681 (Fremove_specifier): Ditto.
6683 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6685 ** Dialog separation into a device method from Andy Piper
6687 * emacs.c (main_1): Call console_type_create_dialog_x().
6689 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6690 into this device method.
6691 (console_type_create_dialog_x): New function.
6693 * dialog.c (Fpopup_dialog_box): New function.
6694 (syms_of_dialog): Defsubr it.
6696 * console.h (struct console_methods): Declared
6697 popup_dialog_box_method().
6699 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6701 1998-05-14 Oliver Graf <ograf@fga.de>
6703 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6704 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6706 1998-05-13 Oliver Graf <ograf@fga.de>
6708 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6710 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6712 * console.h (device_metrics): Removed dbcs, input-method-editor
6713 and right-to-left metrics.
6715 * device.c (Fdevice_system_metric): Ditto.
6716 (Fdevice_system_metrics): Ditto.
6717 (syms_of_device): Ditto.
6718 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6721 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6723 * line-number.h (mark_line_number_cache): Remove unused
6726 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6727 (get_nearest_line_number): Simplify.
6728 (add_position_to_cache): Make the old marker point nowhere.
6730 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6732 ** Renamed window-divider-map => vertical-divider-map
6733 and event-over-divider-p => event-over-vertical-divider-p,
6734 in the following files/functions:
6736 * events.c (Fevent_over_divider_p):
6737 * keymap.c (get_relevant_keymaps):
6740 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6742 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6744 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6746 * window.c (vertical_divider_changed_in_window): Renamed so.
6747 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6748 (window_needs_vertical_divider_1): Decide whether we need it based
6749 on the value of the above specifier. If separators are unwanted,
6750 put them only if there's no scrollbar between this window and its
6752 (have_undivided_common_edge): New function, helper for the above.
6753 (window_needs_vertical_divider): Return either a cached value,
6754 or clauclate and cache one.
6755 (invalidate_vertical_divider_cache_in_window): Implemented.
6756 (map_windows): Changed return type to int, return the value from
6759 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6760 (struct window): Added need_vertical_divider_p and
6761 need_vertical_divider_valid_p.
6763 * winslots.h: Added vertical_divider_draggable_p slot.
6765 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6766 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6768 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6770 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6771 invalidate_vertical_divider_cache_in_frame().
6774 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6776 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6778 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6779 masks correctly and don't select 0.
6781 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6783 * winslots.h: New file, declaration of some struct window and
6784 struct saved_window members.
6786 * window.h (struct window): Include it, with required preprocessor
6789 * window.c (mark_window): Ditto.
6790 (allocate_window): Ditto.
6791 (struct saved_window): Ditto.
6792 (mark_window_config): Ditto.
6793 (saved_window_equal): Ditto.
6794 (Fset_window_configuration): Ditto.
6796 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6798 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6800 1998-05-12 Didier Verna <verna@inf.enst.fr>
6802 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6803 the divider line. The shadow thickness is currently
6804 hard-wired. This will probably be turned into a specifier soon.
6806 1998-05-12 Didier Verna <verna@inf.enst.fr>
6808 * console.h (struct console_methods): the divider_width console
6809 method now requires a struct window * argument.
6811 * redisplay-x.c (x_divider_width): ditto. Plus remove
6812 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6813 (x_output_vertical_divider): give a depressed look when the shadow
6814 thickness is negative.
6816 * console-stream.c (stream_divider_width): pass a struct window *
6819 * redisplay-tty.c (tty_divider_width): ditto.
6821 * window.c (window_right_gutter_width): totdi.
6823 * redisplay.c (generate_modeline): ittod.
6825 * scrollbar.c (update_scrollbar_instance): ttido.
6827 * redisplay-msw.c (mswindows_divider_width): ottid.
6828 WARNING: this enables to compile, but the feature is not functional.
6830 * window.h (struct window): new field
6831 vertical_divider_shadow_thickness.
6833 * window.c (specifier_vars_of_window): new specifier
6834 vertical-divider-shadow-thickness.
6835 (vertical_divider_shadow_thickness_changed): new function to
6836 inform redisplay that the window has changed.
6837 (mark_window): handle new field vertical_divider_shadow_thickness
6839 (allocate_window): ditto.
6840 (saved_window_equal): toddi.
6841 (Fset_window_configuration): totid.
6842 (save_window_save): ttdio.
6843 (struct saved_window): new field vertical_divider_shadow_thickness.
6845 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6847 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6850 1998-05-12 Oliver Graf <ograf@fga.de>
6852 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6853 * event-Xt.c (x_event_to_emacs_event): C++ compability
6855 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6857 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6860 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6862 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6865 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6867 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6869 * emacs.c (decode_path_1): New function.
6870 (decode_path): Use it.
6871 (Fdecode_path): Renamed from Fdecode_path_internal; use
6874 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6876 * macros.c (Fzap_last_kbd_macro_event): New function.
6877 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6879 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6881 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6882 multiple bitmaps are output vertically as well as horizontally.
6883 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6884 crossing lines this is handled by
6885 mswindows_output_dibitmap_region.
6887 1998-05-12 Martin Buchholz <martin@xemacs.org>
6889 * inline.c: Include eldap.h
6891 * menubar-x.c (x_update_frame_menubar_internal):
6892 Remove: unused variable `container'
6894 1998-05-11 Martin Buchholz <martin@xemacs.org>
6896 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6897 Unfortunately, the resulting temacs still cannot dump.
6899 * symbols.c (symbol_is_constant):
6900 (verify_ok_for_buffer_local):
6901 -Wswitch Warning suppression - add default case to switches.
6903 * redisplay.c (decode_mode_spec): Remove unused variables,
6904 Replace Fcoding_system_property (codesys, Qmnemonic) with
6905 XCODING_SYSTEM_MNEMONIC (codesys);
6906 Fcoding_system_property is for users.
6912 Change empty docstrings into no doc strings at all.
6913 Fix bogus FSF-format docstrings.
6916 Standardize docstrings.
6919 Explain problems with matherr.
6921 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6924 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6925 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6926 Fix the weird resultant interaction (causes windows problems)
6930 Take new EMACSBOOTSTRAPLOADPATH into account.
6931 Update documentation strings
6934 - Adjust for luser's CDPATH being set to something weird.
6935 - Take into account bash 2.02's tendency to print the cwd when
6936 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6937 - fix the run-temacs target to use $(DUMPENV)
6938 - fix the run-puremacs target to use $(DUMPENV)
6939 - fix the `depend' target to properly $(RM) the right files
6940 - Generate a better TAGS file for XEmacs' lisp code using
6941 hand-crafted regexps.
6942 - Use standard coding conventions for modules/Makefile.in
6944 1998-05-12 Didier Verna <verna@inf.enst.fr>
6946 * redisplay.c: removed the scrolling modeline code that didn't
6947 make it for 21.0. To be continued ...
6949 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6951 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6952 and empty string inputs.
6954 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6956 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6958 1998-05-10 Oliver Graf <ograf@fga.de>
6960 * event-stream.c (enqueue_misc_user_event_pos): created
6961 * lisp.h (enqueue_misc_user_event_pos): prototype added
6962 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6963 * emacs.c: call vars_of_dragdrop
6964 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6966 1998-05-11 Oliver Graf <ograf@fga.de>
6968 * frame-x.c (x_cde_transfer_callback): return at correct pos
6969 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6970 object for MIME (see comment in dragdrop.c)
6971 * dragdrop.c: API change documented in comment
6972 removed provide of dragdrop [is provided by dragdrop.el]
6974 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6976 * window.c (window_needs_vertical_divider): Enable vertical
6977 dividers for every non-rightmost window.
6978 (window_left_gutter_width): Left gutter consists of mythical
6979 toolbar and a virtual scrollbar.
6980 (window_right_gutter_width): The right one may have a divider
6983 * scrollbar.c (update_scrollbar_instance): Position vertical
6984 scrollbar left to divider if the latter present.
6986 * redisplay.h: Declared OVER_DIVIER constant.
6988 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6991 * redisplay-x.c (x_output_vertical_divider): Output divider along
6992 the right side of the window, down to window bottom. Swapped
6993 foreground and background colors so it is visible by default.
6995 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6996 stick the divider to the right window side.
6998 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7000 (mswindows_divider_width): Ask system for user preferred value.
7001 (mswindows_output_vertical_divider): Always output the divider on
7002 the right side of a window, down to bottom.
7004 * keymap.c (get_relevant_keymaps): Route mouse button events which
7005 happened over a window divider through window-divider-map.
7006 (Fkey_binding): Documented that in the docstring.
7007 Defined the variable Vwindow_divider_map.
7009 * events.c (Fevent_over_divider_p): Added this function.
7011 * events.h: EXFUNed it.
7013 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7015 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7016 toolbar geometry is suspected to change.
7018 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7022 Condition dnd and dde code on HAVE_DRAGNDROP.
7024 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7026 * events.c (format_event_object): Print space as SPC etc.
7028 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7030 * print.c (print_internal): In the default case, abort() if
7031 ERROR_CHECK_TYPECHECK.
7033 * fileio.c (Fmake_temp_name): Doc fix.
7035 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7037 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7039 * undo.c (Fprimitive_undo): Fixed typo.
7041 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7043 * fns.c (concat): Signal error on integer argument.
7045 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7047 * console.h (device_metrics): Prefixed each constatnt with DM_
7049 * device.c: (Fdevice_system_metric): Renamed so from plural form
7050 (metrics); Changed parameters order and added DEFAULT parameter;
7051 Unabbreviated some metric constants; Fixed and untabified doc string.
7052 (Fdevice_system_metrics): Added. Returns a plist of all provided
7055 * device-msw.c (mswindows_device_system_metrics): Renamed
7056 device_metrics enum constants.
7057 Return Qunbound instead of Qnil.
7059 * device-tty.c (tty_device_system_metrics): Ditto.
7061 * device-x.c (x_device_system_metrics): Ditto.
7063 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7065 * redisplay-msw.c: implement background pixmaps (really!). Make
7066 sure bg color is transparent if we have bg pmaps.
7067 * (mswindows_output_string) (mswindows_clear_region): output bg
7069 * (mswindows_output_dibitmap_region): new function.
7070 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7071 the bg color rather than transparently.
7073 * toolbar-msw.c: use masks if they exist.
7075 * glyphs-msw.c: set up masks correctly.
7077 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7079 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7081 * regex.c (re_match_2_internal): Check for quit.
7083 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7085 * frame.c (Ffocus_frame): New function.