1 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
6 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
8 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
9 (Vcharset_katakana_jisx0208): New variable.
10 (Qhiragana_jisx0208): New variable.
11 (Qkatakana_jisx0208): New variable.
12 (make_charset): Add new argument `byte_offset'.
13 (charset_get_byte1): Modify for new coded-charset definition; use
14 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
15 `XCHARSET_BYTE_OFFSET'.
16 (Fmake_charset): Modify for `make_charset'.
17 (Fmake_reverse_direction_charset): Likewise.
18 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
20 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
21 `.' in font registry of charset `katakana-jisx0201',
22 `latin-jisx0201', `vietnamese-viscii-lower' and
23 `vietnamese-viscii-upper'; modify DOC-string of charset
24 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
25 registry of charset `japanese-jisx0208' not to use font for JIS
26 X0208:1990; add new charset `hiragana-jisx0208' and
29 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
30 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
31 (struct Lisp_Charset): Add `byte_offset'.
32 (CHARSET_BYTE_OFFSET): New macro.
33 (XCHARSET_UCS_MIN): New macro.
34 (XCHARSET_UCS_MAX): New macro.
35 (XCHARSET_CODE_OFFSET): New macro.
36 (XCHARSET_BYTE_OFFSET): New macro.
37 (MIN_CHAR_HIRAGANA): New macro.
38 (MAX_CHAR_HIRAGANA): New macro.
39 (MIN_CHAR_KATAKANA): New macro.
40 (MAX_CHAR_KATAKANA): New macro.
41 (MAKE_CHAR): Modify for new coded-charset definition; use
42 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
43 `XCHARSET_BYTE_OFFSET'.
45 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
47 * mule-charset.c (CHAR96): Deleted.
48 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
50 (latin_iso8859_2_to_ucs): Likewise.
51 (latin_iso8859_3_to_ucs): Likewise.
52 (latin_iso8859_4_to_ucs): Likewise.
53 (latin_iso8859_9_to_ucs): Likewise.
54 (latin_viscii_lower_to_ucs): Likewise.
55 (latin_viscii_upper_to_ucs): Likewise.
56 (latin_tcvn5712_to_ucs): Commented out.
57 (make_charset): Change type of argument `decoding_table' from
58 <Emchar*> to <Lisp_Object> [vector of characters].
59 (Fmake_charset): Modify for `make_charset'.
60 (Fmake_reverse_direction_charset): Likewise.
61 (Fcharset_mapping_table): New function in UTF-2000.
62 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
64 (complex_vars_of_mule_charset): Modify for type change of
65 `*_to_ucs'; modify for `make_charset'.
67 * char-ucs.h (struct Lisp_Charset): Change type of
68 `decoding_table' from <Emchar*> to <Lisp_Object>.
69 (MAKE_CHAR): Modify for new specification of `decoding_table'.
71 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
74 error with non-UTF-2000-Mule.
76 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
78 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
80 (Vcharset_chinese_cns11643_4): Likewise.
81 (Vcharset_chinese_cns11643_5): Likewise.
82 (Vcharset_chinese_cns11643_6): Likewise.
83 (Vcharset_chinese_cns11643_7): Likewise.
84 (Qchinese_cns11643_3): Likewise.
85 (Qchinese_cns11643_4): Likewise.
86 (Qchinese_cns11643_5): Likewise.
87 (Qchinese_cns11643_6): Likewise.
88 (Qchinese_cns11643_7): Likewise.
89 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
90 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
91 and `chinese-cns11643-7' to lisp/mule/chinese.el.
92 (complex_vars_of_mule_charset): Likewise.
94 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
96 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
98 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
99 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
101 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
103 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
105 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
106 (breakup_char_1): Likewise.
108 * text-coding.c (char_encode_iso2022): Keep designated charsets if
109 one of them includes the specified character.
111 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
113 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
115 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
117 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
119 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
121 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
122 definition for non-UTF-2000 Mule.
123 (latin_iso8859_3_to_ucs): Likewise.
124 (latin_iso8859_4_to_ucs): Likewise.
125 (latin_iso8859_9_to_ucs): Likewise.
126 (latin_jisx0201_to_ucs): Likewise.
127 (MIN_CHAR_THAI): Likewise.
128 (MAX_CHAR_THAI): Likewise.
129 (MIN_CHAR_GREEK): Likewise.
130 (MAX_CHAR_GREEK): Likewise.
131 (MIN_CHAR_HEBREW): Likewise.
132 (MAX_CHAR_HEBREW): Likewise.
133 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
134 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
135 (MIN_CHAR_CYRILLIC): Likewise.
136 (MAX_CHAR_CYRILLIC): Likewise.
138 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
140 * char-ucs.h (breakup_char_1): Use
141 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
142 thai-tis620 and katakana-jisx0201 area.
144 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
146 * char-ucs.h (breakup_char_1): Use
147 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
150 * text-coding.c (reset_encoding_stream): Fixed.
151 (char_encode_ucs4): Delete `& 255'.
153 * char-ucs.h (breakup_char_1): Use
154 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
156 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
158 * file-coding.c (Fmake_coding_system): Don't set up
159 `codesys->fixed.size'.
160 (encode_coding_no_conversion): Don't refer
161 `str->codesys->fixed.size'.
163 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
165 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
166 (latin_a_char_to_byte1): Deleted.
167 (latin_a_char_to_byte2): Deleted.
169 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
171 * mule-charset.c (make_charset): Add new argument `ucs_min',
172 `ucs_max' and `code_offset'.
173 (charset_get_byte1): New implementation [delete specific charset
174 depended implementations].
175 (Fmake_charset): Modify for `make_charset'.
176 (Fmake_reverse_direction_charset): Likewise.
177 (complex_vars_of_mule_charset): Likewise.
179 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
181 (CHARSET_UCS_MIN): New macro.
182 (CHARSET_UCS_MAX): New macro.
183 (CHARSET_CODE_OFFSET): New macro.
184 (MAKE_CHAR): Delete charset depended definitions [except
187 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
189 * char-ucs.h (breakup_char_1): Use
190 `Vdefault_coded_charset_priority_list' for C0-Controls,
191 Basic-Latin, C1-Controls and Latin-1-Supplement area.
193 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
195 * char-ucs.h (charset_get_byte1): New function.
196 (XCHARSET_GET_BYTE1): Deleted.
197 (charset_get_byte2): New function.
198 (XCHARSET_GET_BYTE2): Deleted.
199 (Vdefault_coded_charset_priority_list): New external variable.
200 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
201 `Vdefault_preferred_coded_charset_list'.
203 * mule-charset.c (charset_get_byte1): New function.
204 (charset_get_byte2): New function.
205 (Vdefault_coded_charset_priority_list): New variable.
206 (vars_of_mule_charset): Add new variable
207 `default-coded-charset-priority-list'.
209 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
211 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
212 (XCHARSET_GET_BYTE2): New inline function.
213 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
214 `XCHARSET_GET_BYTE2'.
216 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
218 * mule-charset.c (make_charset): Initialize
219 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
220 NULL if table is not defined.
222 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
224 * text-coding.c (char_encode_shift_jis): Use
225 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
226 `ucs_to_latin_jisx0201'.
228 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
229 (ucs_to_latin_iso8859_2): Deleted.
230 (ucs_to_latin_iso8859_3): Deleted.
231 (ucs_to_latin_iso8859_4): Deleted.
232 (ucs_to_latin_iso8859_9): Deleted.
233 (ucs_to_latin_viscii_lower): Deleted.
234 (ucs_to_latin_viscii_upper): Deleted.
235 (ucs_to_latin_tcvn5712): Deleted.
236 (make_charset): Add new argument `decoding_table'; set up
237 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
238 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
239 `decoding_table' is defined in UTF-2000.
240 (Fmake_charset): Modify for `make_charset'.
241 (Fmake_reverse_direction_charset): Likewise.
242 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
243 and `GENERATE_96_SET'.
245 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
246 (ucs_to_latin_jisx0201): Deleted.
247 (latin_iso8859_2_to_ucs): Deleted.
248 (ucs_to_latin_iso8859_2): Deleted.
249 (latin_iso8859_3_to_ucs): Deleted.
250 (ucs_to_latin_iso8859_3): Deleted.
251 (latin_iso8859_4_to_ucs): Deleted.
252 (ucs_to_latin_iso8859_4): Deleted.
253 (latin_iso8859_9_to_ucs): Deleted.
254 (ucs_to_latin_iso8859_9): Deleted.
255 (latin_viscii_lower_to_ucs): Deleted.
256 (ucs_to_latin_viscii_lower): Deleted.
257 (latin_viscii_upper_to_ucs): Deleted.
258 (ucs_to_latin_viscii_upper): Deleted.
259 (struct Lisp_Charset): Renamed `encoding_table' to
260 `to_byte1_table'; add `to_byte2_table'.
261 (CHARSET_DECODING_TABLE): New macro.
262 (CHARSET_TO_BYTE1_TABLE): New macro.
263 (CHARSET_TO_BYTE2_TABLE): New macro.
264 (XCHARSET_DECODING_TABLE): New macro.
265 (XCHARSET_TO_BYTE1_TABLE): New macro.
266 (XCHARSET_TO_BYTE2_TABLE): New macro.
267 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
269 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
270 don't use `ucs_to_*' tables.
272 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
274 * text-coding.c (Fmake_coding_system): Don't set up
275 `codesys->fixed.size'.
276 (encode_coding_no_conversion): Use `if' instead of `switch'.
278 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
280 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
282 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
283 (Fmake_charset): Modify for `make_charset'.
284 (Fmake_reverse_direction_charset): Likewise.
285 (complex_vars_of_mule_charset): Likewise.
287 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
289 * text-coding.c (char_encode_shift_jis): Use table
290 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
292 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
294 * text-coding.c (text_encode_generic): Use `if' instead of
296 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
299 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
301 * text-coding.c (encode_coding_sjis): Deleted.
302 (char_encode_shift_jis): New function.
303 (char_finish_shift_jis): New function.
304 (reset_encoding_stream): Set up `encode_char' and `finish' for
305 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
306 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
307 (char_encode_utf8): Treat `eol_type'.
309 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
311 * file-coding.c (decode_coding_iso2022): Use
312 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
314 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
316 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
319 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
321 * char-lb.h (CHAR_COLUMNS): New macro.
323 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
325 * text-coding.c (char_encode_ucs4): New function.
326 (char_finish_ucs4): New function.
327 (encode_coding_ucs4): Deleted.
328 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
329 (text_encode_generic): Delete local variable `charset' and `half'.
330 (ucs_to_mule_table): Deleted.
331 (mule_to_ucs_table): Deleted.
332 (Fset_ucs_char): Deleted.
333 (ucs_to_char): Deleted.
334 (Fucs_char): Deleted.
335 (Fset_char_ucs): Deleted.
336 (Fchar_ucs): Deleted.
337 (decode_ucs4): Deleted.
338 (mule_char_to_ucs4): Deleted.
339 (encode_ucs4): Deleted.
340 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
341 (decode_coding_utf8): Likewise.
342 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
343 (char_encode_iso2022): Fixed.
344 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
345 `Fset_char_ucs' and `Fchar_ucs'.
346 (complex_vars_of_file_coding): Don't initialize
349 * objects-tty.c (tty_initialize_font_instance): Don't use
352 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
355 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
356 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
358 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
359 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
360 (emchar_string_displayed_columns): Likewise.
362 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
363 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
364 (string_column_at_point): Likewise.
365 (Fmove_to_column): Likewise.
367 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
368 `encoding_table' and `decoding_table'.
369 (CHARSET_REP_BYTES): Deleted.
370 (XCHARSET_REP_BYTES): Deleted.
371 (XCHARSET_COLUMNS): Deleted.
372 (CHAR_COLUMNS): New macro.
373 (lookup_composite_char): Deleted unconditionally.
374 (composite_char_string): Likewise.
376 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
378 * char-ucs.h (Emchar_to_byte_table): New type.
379 (get_byte_from_character_table): New function interface.
380 (Vcharset_latin_jisx0201): New variable.
381 (latin_jisx0201_to_ucs): New variable.
382 (ucs_to_latin_jisx0201): New variable.
383 (Vcharset_latin_iso8859_2): New variable.
384 (latin_iso8859_2_to_ucs): New variable.
385 (ucs_to_latin_iso8859_2): New variable.
386 (Vcharset_latin_iso8859_3): New variable.
387 (latin_iso8859_3_to_ucs): New variable.
388 (ucs_to_latin_iso8859_3): New variable.
389 (Vcharset_latin_iso8859_4): New variable.
390 (latin_iso8859_4_to_ucs): New variable.
391 (ucs_to_latin_iso8859_4): New variable.
392 (Vcharset_latin_iso8859_9): New variable.
393 (latin_iso8859_9_to_ucs): New variable.
394 (ucs_to_latin_iso8859_9): New variable.
395 (Vcharset_latin_viscii_lower): New variable.
396 (latin_viscii_lower_to_ucs): New variable.
397 (ucs_to_latin_viscii_lower): New variable.
398 (Vcharset_latin_viscii_upper): New variable.
399 (latin_viscii_upper_to_ucs): New variable.
400 (ucs_to_latin_viscii_upper): New variable.
401 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
402 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
403 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
404 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
405 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
406 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
407 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
408 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
409 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
410 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
412 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
413 (Vcharset_latin_viscii_upper): New variable.
414 (make_byte_from_character_table): New function.
415 (put_byte_from_character_table): New function.
416 (get_byte_from_character_table): New function.
418 (ucs_to_latin_jisx0201): New variable.
419 (latin_jisx0201_to_ucs): New variable.
420 (ucs_to_latin_iso8859_2): New variable.
421 (latin_iso8859_2_to_ucs): New variable.
422 (ucs_to_latin_iso8859_3): New variable.
423 (latin_iso8859_3_to_ucs): New variable.
424 (ucs_to_latin_iso8859_4): New variable.
425 (latin_iso8859_4_to_ucs): New variable.
426 (ucs_to_latin_iso8859_9): New variable.
427 (latin_iso8859_9_to_ucs): New variable.
428 (ucs_to_latin_viscii_lower): New variable.
429 (latin_viscii_lower_to_ucs): New variable.
430 (ucs_to_latin_viscii_upper): New variable.
431 (latin_viscii_upper_to_ucs): New variable.
432 (ucs_to_latin_tcvn5712): New variable.
433 (latin_tcvn5712_to_ucs): New variable.
434 (Qlatin_viscii_lower): New variable.
435 (Qlatin_viscii_upper): New variable.
436 (syms_of_mule_charset): Set up new symbol
437 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
438 (complex_vars_of_mule_charset): Set up new charset
439 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
440 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
441 `ucs_to_<CHARSET>' tables.
443 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
445 * text-coding.c: New file.
447 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
449 * mule-charset.c (Fmake_char): Fix problem of 256-set.
451 * char-ucs.h (Vcharset_ucs_bmp): New variable.
452 (MAKE_CHAR): Modify for `ucs-bmp'.
453 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
454 non-MULE characters of BMP.
456 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
458 * mule-charset.c (vars_of_mule_charset):
459 Update `utf-2000-version' to 0.6.
461 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
464 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
465 - Include character.h for `CHAR_ASCII_P'.
467 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
469 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
470 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
472 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
473 (BYTE_C0_P): Likewise.
474 (BYTE_C1_P): Likewise.
475 (Lstream_get_emchar_1): Likewise.
476 (Lstream_fput_emchar): Likewise.
477 (Lstream_funget_emchar): Likewise.
478 (copy_internal_to_external): Likewise.
479 (copy_external_to_internal): Likewise.
481 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
482 (BYTE_C0_P): Likewise.
483 (BYTE_C1_P): Likewise.
484 (Lstream_get_emchar_1): Likewise.
485 (Lstream_fput_emchar): Likewise.
486 (Lstream_funget_emchar): Likewise.
487 (copy_internal_to_external): Likewise.
488 (copy_external_to_internal): Likewise.
490 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
491 (REP_BYTES_BY_FIRST_BYTE): Likewise.
493 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
494 (BYTE_ASCII_P): Moved to mb-1byte.h.
496 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
498 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
500 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
501 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
502 (VALID_CHARPTR_P): Moved to mb-*byte.h.
503 (VALIDATE_CHARPTR_BACKWARD): Likewise.
504 (VALIDATE_CHARPTR_FORWARD): Likewise.
505 (simple_charptr_emchar): Moved to mb-multibyte.h.
506 (simple_set_charptr_emchar): Likewise.
507 (simple_charptr_copy_char): Likewise.
508 (non_ascii_charptr_emchar): Likewise.
509 (non_ascii_set_charptr_emchar): Likewise.
510 (non_ascii_charptr_copy_char): Likewise.
511 (charptr_emchar): Moved to mb-*byte.h.
512 (set_charptr_emchar): Likewise.
513 (charptr_copy_char): Likewise.
515 * mb-1byte.h, mb-multibyte.h: New files.
517 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
519 * mb-utf-8.h (MULTIBYTE): New macro.
520 (MAX_EMCHAR_LEN): Moved from buffer.h.
521 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
523 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
525 * mb-lb.h, multibyte.h: New files.
527 * char-1byte.h (Charset_ID): Moved from buffer.h.
528 (MIN_LEADING_BYTE): Likewise.
529 (LEADING_BYTE_ASCII): Likewise.
530 (NUM_LEADING_BYTES): Likewise.
531 (CHARSETP): Likewise.
532 (CHARSET_BY_LEADING_BYTE): Likewise.
533 (XCHARSET_LEADING_BYTE): Likewise.
534 (XCHARSET_GRAPHIC): Likewise.
535 (XCHARSET_COLUMNS): Likewise.
536 (XCHARSET_DIMENSION): Likewise.
537 (CHAR_CHARSET): Likewise.
538 (CHAR_LEADING_BYTE): Likewise.
539 (BREAKUP_CHAR): Likewise.
540 (Vcharset_ascii): Likewise.
542 * buffer.h: Include multibyte.h unconditionally.
543 (VALID_CHARPTR_P): Moved to multibyte.h.
544 (ASSERT_VALID_CHARPTR): Likewise.
545 (REAL_INC_CHARPTR): Likewise.
546 (REAL_INC_CHARBYTIND): Likewise.
547 (REAL_DEC_CHARPTR): Likewise.
548 (INC_CHARPTR): Likewise.
549 (INC_CHARBYTIND): Likewise.
550 (DEC_CHARPTR): Likewise.
551 (VALIDATE_CHARPTR_BACKWARD): Likewise.
552 (VALIDATE_CHARPTR_FORWARD): Likewise.
553 (charptr_n_addr): Likewise.
554 (MAX_EMCHAR_LEN): Moved to mb-*.h.
555 (simple_charptr_emchar): Moved to multibyte.h.
556 (simple_set_charptr_emchar): Likewise.
557 (simple_charptr_copy_char): Likewise.
558 (non_ascii_charptr_emchar): Likewise.
559 (non_ascii_set_charptr_emchar): Likewise.
560 (non_ascii_charptr_copy_char): Likewise.
561 (charptr_emchar): Likewise.
562 (set_charptr_emchar): Likewise.
563 (charptr_copy_char): Likewise.
564 (charptr_emchar_n): Likewise.
565 (Charset_ID): Moved to char-1byte.h.
566 (Vcharset_ascii): Likewise.
567 (CHAR_CHARSET): Likewise.
568 (CHAR_LEADING_BYTE): Likewise.
569 (LEADING_BYTE_ASCII): Likewise.
570 (NUM_LEADING_BYTES): Likewise.
571 (MIN_LEADING_BYTE): Likewise.
572 (CHARSETP): Likewise.
573 (CHARSET_BY_LEADING_BYTE): Likewise.
574 (XCHARSET_LEADING_BYTE): Likewise.
575 (XCHARSET_GRAPHIC): Likewise.
576 (XCHARSET_COLUMNS): Likewise.
577 (XCHARSET_DIMENSION): Likewise.
578 (BREAKUP_CHAR): Likewise.
580 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
582 * character.h: Add document about interface for characters.
584 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
585 (MAKE_CHAR): Delete comment about
586 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
587 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
588 (BREAKUP_CHAR): Modify name of arguments.
589 (CHAR_CHARSET): Modify name of argument.
591 * buffer.h: Delete document about Emchar accessors.
593 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
595 * character.h (CHAR_INTP): Moved from buffer.h
596 (CHAR_OR_CHAR_INTP): Likewise.
597 (XCHAR_OR_CHAR_INT): Likewise.
598 (CHECK_CHAR_COERCE_INT): Likewise.
600 * buffer.h (CHAR_INTP): Moved to character.h
601 (CHAR_OR_CHAR_INTP): Likewise.
602 (XCHAR_OR_CHAR_INT): Likewise.
603 (CHECK_CHAR_COERCE_INT): Likewise.
605 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
608 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
609 - Include char-1byte.h, char-lb.h or char-ucs.h.
611 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
613 * buffer.h: Include character unconditionally.
614 (valid_char_p): Moved to char-*.h.
615 (non_ascii_valid_char_p): Moved to char-lb.h.
617 * char-1byte.h, char-lb.h, char-ucs.h: New files.
619 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
621 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
622 in UTF-2000 because it is not ported yet and not to use
623 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
624 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
625 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
627 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
628 (CHAR_ASCII_P): Moved from character.h.
630 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
631 (CHAR_ASCII_P): Likewise.
632 (CHAR_FIELD1_MASK): Deleted.
633 (CHAR_FIELD2_MASK): Deleted.
634 (CHAR_FIELD3_MASK): Deleted.
635 (MAX_CHAR_BASIC_LATIN): New macro.
636 (CHAR_FIELD1): Deleted.
637 (CHAR_FIELD2_INTERNAL): Deleted.
638 (CHAR_FIELD3_INTERNAL): Deleted.
639 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
640 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
641 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
642 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
643 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
644 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
645 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
646 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
647 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
648 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
649 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
650 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
651 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
652 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
653 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
654 (MIN_CHAR_COMPOSITION): Deleted.
655 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
656 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
658 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
660 * buffer.h: Include mb-utf-8.h in UTF-2000.
662 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
664 * mb-utf-8.h: New file.
666 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
668 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
671 * mule-charset.h, buffer.h (Charset_ID): New type.
673 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
675 * mule-canna.c (c2mu): Use `MAKE_CHAR',
676 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
677 instead of `MULE_CHAR_PRIVATE_OFFSET',
678 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
679 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
680 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
682 * character.h (Vcharset_japanese_jisx0212): New variable
685 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
687 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
688 (charset_by_attributes): Delete array about direction.
689 (latin_a_char_to_charset): New variable in UTF-2000.
690 (latin_a_char_to_byte1): New variable in UTF-2000.
691 (latin_a_char_to_byte2): New variable in UTF-2000.
692 (Qucs_bmp): New variable.
693 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
695 (next_allocated_2_byte_leading_byte): Likewise.
696 (non_ascii_set_charptr_emchar): Likewise.
697 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
698 `CHARSET_TYPE_256X256' in UTF-2000; modify for
699 `charset_by_attributes'.
700 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
701 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
702 and `CHARSET_BY_LEADING_BYTE'.
703 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
704 `utf-2000-version' to `vars_of_mule_charset'.
705 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
706 define `leading-code-private-11' in UTF-2000; move setting of
707 `utf-2000-version' from `syms_of_mule_charset'.
708 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
711 * character.h (Charset_ID): New type.
712 (LEADING_BYTE_UCS_BMP): New macro.
713 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
714 (CHARSET_ID_OFFSET_94): New macro.
715 (MIN_CHARSET_ID_PRIVATE_94): New macro.
716 (MAX_CHARSET_ID_PRIVATE_94): New macro.
717 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
719 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
720 (LEADING_BYTE_LATIN_JISX0201): Likewise.
721 (CHARSET_ID_OFFSET_96): New macro.
722 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
723 CHARSET_ID_OFFSET_96 and final-byte.
724 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
725 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
726 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
727 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
728 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
729 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
730 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
731 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
732 (LEADING_BYTE_THAI_TIS620): Likewise.
733 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
734 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
735 (CHARSET_ID_OFFSET_94x94): New macro.
736 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
737 CHARSET_ID_OFFSET_94x94 and final-byte.
738 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
739 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
740 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
741 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
742 (LEADING_BYTE_CHINESE_GB2312): Likewise.
743 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
744 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
745 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
746 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
747 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
748 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
749 (CHARSET_TYPE_128X128): New macro.
750 (CHARSET_TYPE_256X256): New macro.
751 (XCHARSET_PRIVATE_P): Delete unconditionally.
752 (charset_by_attributes): Delete array about direction.
753 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
754 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
755 (MIN_CHAR_94): New macro.
756 (MAX_CHAR_94): New macro.
757 (MIN_CHAR_96): New macro.
758 (MAX_CHAR_96): New macro.
759 (MIN_CHAR_94x94): New macro.
760 (MAX_CHAR_94x94): New macro.
761 (MIN_CHAR_96x96): New macro.
762 (MAX_CHAR_96x96): New macro.
763 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
764 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
765 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
767 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
768 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
769 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
770 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
771 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
772 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
773 `XCHARSET_LEADING_BYTE' to make code-point.
774 (latin_a_char_to_charset): New variable.
775 (latin_a_char_to_byte1): New variable.
776 (latin_a_char_to_byte2): New variable.
777 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
778 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
779 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
781 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
782 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
783 (find_charsets_in_emchar_string): Likewise.
784 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
786 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
788 (decode_coding_iso2022): Likewise.
790 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
793 * redisplay.c (redisplay_text_width_emchar_string): Use
794 `Charset_ID' instead of `unsigned char'.
795 (redisplay_frame_text_width_string): Likewise.
797 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
800 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
801 instead of `unsigned char'.
802 (face_cachel_charset_font_metric_info): Likewise.
804 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
805 (get_non_ascii_char_table_value): Likewise.
806 (get_char_table): Likewise.
807 (put_char_table): Likewise.
808 (map_over_other_charset): Likewise.
809 (map_char_table): Likewise.
811 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
812 instead of `unsigned char'.
814 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
816 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
817 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
819 * mule-charset.c (leading_code_private_11): Don't define in
822 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
823 in UTF-2000 because it is not ported yet and not to use
824 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
826 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
828 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
830 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
832 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
835 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
836 of unsigned char to store leading-byte.
838 * chartab.c (get_non_ascii_char_table_value): Don't use
839 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
841 * file-coding.c (encode_coding_big5): Delete bogus implementation
844 * character.h (LEADING_BYTE_*): Delete definition for
846 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
847 (LEADING_BYTE_PREFIX_P): Deleted.
848 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
849 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
850 (BUFBYTE_LEADING_BYTE_P): Deleted.
851 (CHARSET_PRIVATE_P): Deleted unconditionally.
852 (rep_bytes_by_first_byte): Deleted unconditionally.
853 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
854 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
855 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
856 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
857 (CHAR_FIELD2): Deleted.
858 (CHAR_FIELD3): Deleted.
859 (MAKE_CHAR): Delete definition for non-UTF-2000.
860 (BREAKUP_CHAR_1_UNSAFE): Deleted.
861 (breakup_char_1): New implementation.
862 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
863 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
865 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
867 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
870 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
872 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
873 (CHARSET_PRIVATE_P): Likewise.
874 (XCHARSET_PRIVATE_P): Likewise.
875 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
877 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
879 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
881 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
883 * character.h (LEADING_BYTE_*): Changed in UTF2000.
884 (NUM_LEADING_BYTES): Changed from 128 to 256.
885 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
886 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
888 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
890 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
892 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
893 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
894 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
895 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
896 (Qchinese_cns11643_3): New variable in UTF2000.
897 (Qchinese_cns11643_4): New variable in UTF2000.
898 (Qchinese_cns11643_5): New variable in UTF2000.
899 (Qchinese_cns11643_6): New variable in UTF2000.
900 (Qchinese_cns11643_7): New variable in UTF2000.
901 (syms_of_mule_charset): Define `chinese-cns11643-3',
902 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
903 and `chinese-cns11643-7' in UTF2000.
904 (vars_of_mule_charset): Initialize
905 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
907 (complex_vars_of_mule_charset): Setup charset
908 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
909 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
911 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
913 * mule-charset.c: Move setting for `leading-code-private-11' from
914 `syms_of_mule_charset' to `vars_of_mule_charset'.
916 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
918 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
919 and `NUM_LEADING_BYTES' in assert.
921 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
923 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
925 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
926 `NUM_LEADING_BYTES' instead of 128.
928 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
930 * mule-charset.h (charset_by_leading_byte): Use
931 `NUM_LEADING_BYTES' instead of 128.
932 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
934 * mule-charset.c (charset_by_leading_byte): Use
935 `NUM_LEADING_BYTES' instead of 128.
936 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
938 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
941 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
943 * mule-charset.c (syms_of_mule_charset): Update to
946 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
948 * file-coding.c (encode_coding_sjis): New implementation for
949 UTF2000. (decode_coding_sjis): Ditto.
951 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
953 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
954 Don't define in UTF2000.
956 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
959 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
960 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
963 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
965 * config.h.in (CHAR_IS_UCS4): New macro.
967 * mule-charset.c (rep_bytes_by_first_byte): Modify for
968 conventional MULE representation.
969 (syms_of_mule_charset): Update to 0.3 (Imamiya).
971 * mule-charset.h: Reverted to original.
973 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
974 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
975 "mule-charset.h" if CHAR_IS_UCS4 is defined.
977 * character.h: New file.
979 * file-coding.c (Fmake_coding_system): Set 1 to
980 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
982 (encode_coding_no_conversion): New implementation for UTF2000.
984 * file-coding.h (struct Lisp_Coding_System): Add new member
987 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
989 * file-coding.c (decode_coding_iso2022): Code-point arguments of
990 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
991 (encode_coding_iso2022): New implementation for UTF2000.
993 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
995 * mule-canna.c (c2mu): New implementation for UTF2000.
998 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1000 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1002 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1004 * file-coding.c (reset_encoding_stream): Set 0 to
1005 `str->iso2022.current_char_boundary' in UTF2000.
1006 (encode_utf8): Don't define in UTF2000.
1007 (encode_coding_utf8): New implementation for UTF-8 representation
1009 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1011 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1013 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1015 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1017 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1019 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1021 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1022 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1023 as UTF-8 in UTF2000.
1024 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1025 (non_ascii_valid_char_p): Don't define in UTF2000.
1026 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1027 (Lstream_get_emchar_1): Likewise.
1028 (utf-2000-version): New variable in UTF2000.
1030 * lread.c (read_escape): Add new reader `u'.
1032 * insdel.c (three_to_one_table): Don't define in UTF2000.
1033 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1034 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1036 (bytind_to_bufpos_func): Likewise.
1037 (buffer_mule_signal_inserted_region): Likewise.
1038 (vars_of_insdel): Don't initialize `three_to_one_table'.
1039 (init_buffer_text): Use `buf->text->mule_size' instead of
1040 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1043 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1044 UTF-8 representation in UTF2000.
1045 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1046 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1047 (decode_coding_iso2022): Don't define local variable `lb' in
1048 UTF2000; don't use LEADING_BYTE in UTF2000; use
1049 `DECODE_ADD_UCS_CHAR' in UTF2000.
1050 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1052 * config.h.in (UTF2000): New macro.
1054 * buffer.h (struct buffer_text): Add new member `mule_size' and
1055 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1056 (valid_char_p): Return always 1 in UTF2000.
1057 (MAX_EMCHAR_LEN): 6 in UTF2000.
1058 (three_to_one_table): Don't define in UTF2000.
1059 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1061 (real_bytind_to_bufpos): Likewise.
1063 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1065 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1067 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1068 representation change.
1069 (Vutf_2000_version): New variable.
1070 (leading_code_private_11): New variable.
1071 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1072 `leading-code-private-11'.
1074 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1075 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1076 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1077 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1078 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1079 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1080 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1081 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1082 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1083 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1084 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1085 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1086 (MIN_CHAR_GREEK): New macro.
1087 (MAX_CHAR_GREEK): New macro.
1088 (MIN_CHAR_CYRILLIC): New macro.
1089 (MAX_CHAR_CYRILLIC): New macro.
1090 (MIN_CHAR_HEBREW): New macro.
1091 (MAX_CHAR_HEBREW): New macro.
1092 (MIN_CHAR_THAI): New macro.
1093 (MAX_CHAR_THAI): New macro.
1094 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1095 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1096 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1097 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1098 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1099 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1100 (CHAR_FIELD2): New inline function.
1101 (CHAR_FIELD3): New inline function.
1102 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1103 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1104 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1105 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1106 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1107 (MIN_CHAR_COMPOSITION): Likewise.
1108 (CHAR_LEADING_BYTE): Modified for character representation change.
1109 (MAKE_CHAR): Likewise.
1111 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1112 (Vcharset_greek_iso8859_7): Likewise.
1113 (Vcharset_cyrillic_iso8859_5): Likewise.
1114 (Vcharset_hebrew_iso8859_8): Likewise.
1115 (Vcharset_thai_tis620): Likewise.
1116 (Vcharset_katakana_jisx0201): Likewise.
1118 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1120 * file-coding.c (determine_real_coding_system): Treat `coding:'
1123 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1125 * file-coding.c (struct decoding_stream): New member `counter'.
1126 (reset_decoding_stream): Initialize `counter'.
1127 (decode_coding_ucs4): Use `counter'.
1128 (decode_coding_utf8): Likewise.
1130 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1132 * XEmacs 21.2.19 is released
1134 1999-07-27 Jeff Miller <jmiller@smart.net>
1136 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1137 menubar_show_keybindings.
1139 1999-07-23 SL Baur <steve@miho>
1141 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1142 definition of Qccl_program.
1144 * mule-ccl.h: Make a global declaration of it here.
1146 1999-07-20 Bob Weiner <weiner@beopen.com>
1148 * s/sco7.h: Added from rr@sco.com.
1150 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1152 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1154 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1156 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1157 (mule_encode): Likewise.
1159 * mule-ccl.c (Qccl_program): New variable.
1160 (CCL_SUSPEND): New macro.
1161 (CCL_INVALID_CMD): New macro.
1162 (CCL_READ_CHAR): Don't regard as invalid command while processing
1163 the last block even if input is empty; use
1164 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1165 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1167 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1168 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1169 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1170 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1171 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1173 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1175 * mule-ccl.h (struct ccl_program): New member stack_idx.
1177 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1178 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1180 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1182 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1184 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1187 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1189 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1190 processing the last block, don't just finish but processes eol
1191 block of the current CCL program.
1192 (ccl_driver): Add a new jump label ccl_repeat for the above
1195 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1197 * mule-ccl.c: Typo in comments fixed.
1198 (Qccl_program_idx): New variables.
1199 (CCL_ReadMultibyteChar2): Macro name changed from
1200 CCL_ReadMultibyteCharacter.
1201 (CCL_WriteMultibyteChar2): Macro name changed from
1202 CCL_WriteMultibyteChar2.
1203 (ccl_driver): Adjusted for the above changes.
1204 (resolve_symbol_ccl_program): New function.
1205 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1206 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1207 numbers by resolve_symbol_ccl_program.
1208 (Fccl_execute_on_string): Likewise.
1209 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1210 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1212 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1214 * mule-ccl.h: (struct ccl_program): New member private_state.
1217 (CCL_Call): Fix the comment.
1218 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1219 macros for CCL Commands.
1221 (ccl_driver): New case lable `CCL_Extention'.
1222 (setup_ccl_program): Initialize the member `private_state' of CCL.
1224 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1226 * keymap.c (copy_keymap_internal): Inherit the default binding.
1228 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1230 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1231 focus the event (XIM_focus_event).
1232 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1233 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1234 the interface for future use (XIM_SetGeometry).
1235 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1236 location (XIM_SetSpotLocation).
1237 (x_output_eol_cursor): Ditto.
1239 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1241 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1242 Olivier's change to lrecord.h of 1999-04-22
1244 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1246 * gutter.c (redraw_exposed_gutter): Change type of pos from
1247 enum toolbar_pos -> enum gutter_pos, since former is only defined
1248 if toolbar support is.
1250 1999-07-19 Andy Piper <andy@xemacs.org>
1252 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1255 * gutter.c (gutter_validate): new function for the gutter specifier.
1256 (specifier_type_create_gutter): declare specifier validator.
1258 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1260 1999-07-18 Andy Piper <andy@xemacs.org>
1262 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1264 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1266 (mswindows_resize_subwindow): new function.
1268 * gutter.c (redraw_exposed_gutter): only reset the
1269 current_display_lines if non-zero.
1270 (Fgutter_pixel_height): new function.
1271 (Fgutter_pixel_width): new function.
1273 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1274 we want to retrive from the tab control.
1276 1999-07-17 Andy Piper <andy@xemacs.org>
1278 * window.c (change_window_height): mark gutters changed when we're
1281 * gutter.c (specifier_vars_of_gutter): make defaults more
1284 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1286 (DEFAULT_GUTTER_WIDTH): change.
1287 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1289 1999-07-18 Andy Piper <andy@xemacs.org>
1291 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1293 1999-07-16 Andy Piper <andy@xemacs.org>
1295 * frame.c (Fmake_frame): call init_frame_gutters().
1297 * redisplay.c (add_emchar_rune): use string functions if we are
1298 working with a string.
1299 (position_redisplay_data_type): add string element.
1301 1999-07-15 Andy Piper <andy@xemacs.org>
1303 * winslots.h: add real_gutter_size slots to hold the actual gutter
1304 size. This is important for autodetected sizes.
1306 * gutter.c (calculate_gutter_size): calculate size for gutters
1307 that have 'autodetect size.
1309 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1310 extent of divider for gutters.
1312 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1313 divider for gutters.
1315 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1316 position to take into account the gutters.
1318 * redisplay.c (generate_modeline): adjust modeline position to
1319 take into account the gutters.
1321 1999-07-14 Andy Piper <andy@xemacs.org>
1323 * gutter.c (frame_topmost_window): new function.
1324 (frame_bottommost_window): ditto.
1325 (frame_leftmost_window): ditto.
1326 (frame_rightmost_window): ditto.
1328 1999-07-13 Andy Piper <andy@xemacs.org>
1330 * redisplay.c (calculate_display_line_boundaries): use text
1331 boundaries so that gutters get handled properly.
1333 1999-07-12 Andy Piper <andy@xemacs.org>
1335 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1338 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1341 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1344 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1346 * gutter.c: new file - implements gutters. All new functions are
1347 semantically equivalent to the toolbar functions.
1348 (gutter_was_visible): new function.
1349 (get_gutter_coords): ditto.
1350 (output_gutter): ditto.
1351 (clear_gutter): ditto.
1352 (update_frame_gutters): ditto.
1353 (redraw_exposed_gutter): ditto.
1354 (redraw_exposed_gutters): ditto.
1355 (free_frame_gutters): ditto.
1356 (init_frame_gutters): ditto.
1357 (decode_gutter_position): ditto.
1358 (Fset_default_gutter_position): ditto.
1359 (Fset_default_gutter_position): ditto.
1360 (Fdefault_gutter_position): ditto.
1361 (gutter_after_change): ditto.
1362 (Fgutter_specifier_p): ditto.
1363 (recompute_overlaying_specifier): ditto.
1364 (gutter_specs_changed): ditto.
1365 (default_gutter_specs_changed): ditto.
1366 (gutter_geometry_changed_in_window): ditto.
1367 (default_gutter_size_changed_in_window): ditto.
1368 (default_gutter_border_width_changed_in_window): ditto.
1369 (default_gutter_visible_p_changed_in_window): ditto.
1370 (syms_of_gutter): ditto.
1371 (vars_of_gutter): ditto.
1372 (specifier_type_create_gutter): ditto.
1373 (specifier_vars_of_gutter): ditto.
1375 * gutter.h: new file. Contains gutter constants and sizing macros
1376 similar to those for the toolbar.
1378 * winslots.h: add gutter variables.
1380 * window.h: declare window_is_* functions.
1382 * window.c (window_is_lowest): make non-static.
1383 (window_is_highest): ditto.
1384 (window_top_toolbar_height): deleted.
1385 (window_bottom_toolbar_height): deleted.
1386 (window_left_toolbar_width): deleted.
1387 (window_right_toolbar_width): deleted.
1388 (window_top_gutter_height): add gutter sizing.
1389 (window_bottom_gutter_height): ditto.
1390 (window_left_gutter_width): ditto.
1391 (window_right_gutter_width): ditto.
1393 * symsinit.h: declarations for gutters vars etc.
1395 * search.c (bi_find_next_emchar_in_string): new function.
1397 * scrollbar.c (update_scrollbar_instance): remove reference to
1398 window_bottom_toolbar_height which did nothing.
1400 * redisplay.h (struct display_line): add face indices for
1401 overriding defaults in output_display_line.
1402 Add gutter_changed flags and declarations.
1404 * redisplay.c (create_string_text_block): new function, similar to
1405 create_text_block but for strings. Display tables etc are used
1406 from the currently selected window.
1407 (generate_string_display_line): ditto. Similar to
1408 generate_display_line.
1409 (generate_displayable_area): generate display lines for a given
1410 area on a frame. Input is the string, with associated extents, to
1412 (redisplay_frame): add gutter_changed check.
1413 (redisplay_device): ditto.
1414 (redisplay_without_hooks): ditto.
1416 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1417 (x_redraw_exposed_area): redraw exposed gutters.
1418 (x_bevel_area): new redisplay device method.
1419 (x_type_create_redisplay_mswindows): add bevel_area device method.
1420 (x_output_display_block): fiddly Martin-style cleanup.
1421 (x_output_vertical_divider): use bevel_area.
1423 * redisplay-output.c (output_display_line): check display_lines
1424 for face information before using defaults.
1425 (bevel_modeline): new function, calls bevel_area with appropriate
1428 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1429 (mswindows_redraw_exposed_area): redraw exposed gutters.
1430 (mswindows_bevel_area): new redisplay device method.
1431 (console_type_create_redisplay_mswindows): add bevel_area device
1434 * indent.c (string_column_at_point): add column_at_point but for
1437 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1438 instantiate widgets that we have a toolkit for.
1440 * general.c: add Qgutter.
1442 * frame.h (struct frame): add display lines for gutters and
1445 * frame.c (set_frame_selected_window): mark gutters changed.
1447 * emacs.c (main_1): add gutter initialisation.
1449 * device.h (struct device): add gutter_changed flag and macros to
1452 * console.h (struct console_methods): new bevel area redisplay
1455 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1456 REAL_INC_BYTIND is for buffers.
1457 (INC_CHARPTR): ditto.
1459 * Makefile.in.in (objs): add gutter.o
1461 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1463 * XEmacs 21.2.18 is released
1465 1999-07-08 SL Baur <steve@mule.m17n.org>
1467 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1469 (emacs_Xt_handle_magic_event): Ditto.
1470 * redisplay-x.c (x_output_string): Ditto.
1471 (x_output_eol_cursor): Ditto.
1473 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1475 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1476 problem that when XIM is destroyed or missed with some reason,
1477 xemacs will die. Now xim=xlib waits the XIM will be ready and
1478 endures the case of XIM end up.
1480 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1482 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1483 SIGINT and SIGCHLD before calling tt_open and restore the
1484 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1486 1999-07-06 SL Baur <steve@xemacs.org>
1488 * s/linux.h: gcc-2.8 changes for powerpc
1489 From Justin Vallon <vallon@mindspring.com>
1491 1999-07-05 Didier Verna <verna@inf.enst.fr>
1493 * indent.c: new symbol Qcoerce.
1494 (Fmove_to_column): use it + doc string update.
1496 1999-07-04 Andy Piper <andy@xemacs.org>
1498 * console.c: undo earlier Fprovide changes.
1502 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1503 function. validate appropriate image formats for tty.
1505 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1506 initialize consoles parameter.
1507 (struct image_instantiator_methods): add consoles parameter.
1508 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1510 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1513 * glyphs-msw.c: declare instantiators for later use.
1514 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1515 and friends on the mswindows console.
1516 * glyphs-x.c: ditto.
1518 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1519 that have not been registered on the supplied device.
1520 (Fvalid_image_instantiator_format_p): add locale argument.
1521 (instantiate_image_instantiator): valid image instantiator on the
1524 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1527 * emacs.c (main_1): add call to
1528 image_instantiator_format_create_glyphs_tty().
1530 1999-06-29 Olivier Galibert <galibert@pobox.com>
1532 * lisp.h: Add #include <stddef.h>.
1534 * sysdep.c: Remove #include <stddef.h>.
1535 * symbols.c: Remove #include <stddef.h>.
1536 * sheap.c: Remove #include <stddef.h>.
1537 * opaque.c: Remove #include <stddef.h>.
1538 * nt.c: Remove #include <stddef.h>.
1539 * mule-charset.c: Remove #include <stddef.h>.
1540 * marker.c: Remove #include <stddef.h>.
1541 * file-coding.c: Remove #include <stddef.h>.
1542 * extents.c: Remove #include <stddef.h>.
1543 * elhash.c: Remove #include <stddef.h>.
1544 * data.c: Remove #include <stddef.h>.
1545 * chartab.c: Remove #include <stddef.h>.
1546 * bytecode.c: Remove #include <stddef.h>.
1547 * alloc.c: Remove #include <stddef.h>. Fix vector description
1549 1999-06-30 SL Baur <steve@miho.m17n.org>
1551 * editfns.c: Document "%s" format spec.
1552 Suggested by Bob Weiner <weiner@altrasoft.com>
1554 1999-06-29 Andy Piper <andy@xemacs.org>
1556 * event-msw.c: fix definition booboo.
1558 1999-06-28 Andy Piper <andy@xemacs.org>
1560 * glyphs-x.c: change tree -> tree-view, progress ->
1561 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1563 (complex_vars_of_glyphs_x): provide-on-console the implemented
1566 * glyphs-msw.c: ditto.
1567 (complex_vars_of_glyphs_mswindows): ditto.
1569 * lisp.h: add Fprovide_on_console.
1571 * fns.c (Ffeaturep): add extra optional console argument.
1572 (Fprovide_on_console): like Fprovide but provides only on the
1573 specified console-type.
1574 (Frequire): check console-features as well as global features.
1576 * console.c (Fconsole_features): new function. return features for
1578 (syms_of_console): add Fconsole_features.
1580 * console.h (CONMETH_FEATURES): new function for accessing features.
1581 (CONSOLE_FEATURES): ditto.
1582 (struct console_methods): add features slot.
1583 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1585 1999-06-28 Andy Piper <andy@xemacs.org>
1587 * event-Xt.c (handle_focus_event_1): conditionally compile for
1590 * s/cygwin32.h: fix me website address.
1592 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1594 * gui-x.c (button_item_to_widget_value): only add callback if it
1597 * glyphs-x.c: add progress, edit and combo instantiators.
1598 (x_widget_set_property): new function. uses lwlib to set widget
1600 (x_widget_property): new function. uses lwlib to get widget
1602 (x_button_instantiate): support images in buttons.
1603 (x_button_property): new function. use lwlib to get the selected
1605 (x_progress_instantiate): new function for instantiating progress
1607 (x_progress_set_property): new function. sets the progress gauge
1609 (x_edit_instantiate): new function. for instantiating edit fields.
1610 (x_combo_instantiate): new function. for instantiating combo
1612 (image_instantiator_format_create_glyphs_x): add new device ii
1615 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1617 * console.h (CONSOLE_FEATURES): new features accesor.
1619 * conslots.h (MARKED_SLOT): add features entry.
1621 1999-06-25 Andy Piper <andy@xemacs.org>
1623 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1626 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1628 * gui.h (struct Lisp_Gui_Item): add accelerator.
1630 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1631 (gui_item_init): ditto.
1632 (gui_add_item_keywords_to_plist): ditto.
1633 (mark_gui_item): ditto.
1634 (gui_item_hash): ditto.
1635 (gui_item_accelerator): new function.
1636 (gui_name_accelerator): new function stolen from gui-x.c
1638 * gui-x.c (popup_selection_callback): always define. mark
1639 subwindows changed after calling a callback.
1640 (menu_name_to_accelerator): deleted.
1641 (button_item_to_widget_value): forward gui_item things to gui_item
1644 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1645 appropriate accesors.
1647 * glyphs-x.c: declare new glyph formats.
1648 (x_finalize_image_instance): unmanage and destroy widgets if they
1650 (x_unmap_subwindow): handle widgets specially.
1651 (x_map_subwindow): ditto. offset display of widgets by offset of
1652 text widget within container.
1653 (x_update_subwindow): new function. call lw_modify_all_widgets
1654 when we are a widget.
1655 (x_widget_instantiate): new function for generically creating
1656 widgets-glyphs. toolkit specifics forwarded to lwlib.
1657 (x_button_instantiate): new function for instantiating
1658 widgets-glyph buttons.
1659 (console_type_create_glyphs_x): register update_subwindow.
1660 (image_instantiator_format_create_glyphs_x): register widget and
1663 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1665 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1666 when we get a button press in case we do not have the focus.
1667 (handle_focus_event_1): set the keyboard focus to the text widget
1668 if we do not have it.
1670 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1673 1999-06-24 SL Baur <steve@miho.m17n.org>
1675 * syntax.c (scan_words): Restore non-Mule code.
1676 (word_constituent_p): Restore.
1678 1999-06-23 Olivier Galibert <galibert@pobox.com>
1680 * config.h.in: Add missing #undef *_USER_DEFINED.
1682 1999-06-23 SL Baur <steve@miho.m17n.org>
1684 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1685 int (fixes a 64-bit problem).
1687 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1690 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1692 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1694 1999-06-22 Olivier Galibert <galibert@pobox.com>
1696 * lrecord.h: Added basic external description system.
1698 * symbols.c: Added symbol, symbol-value-buffer-local,
1699 symbol-value-lisp-magic and symbol-value-varalias description.
1700 * mule-charset.c: Added charset description.
1701 * marker.c: Added marker description.
1702 * keymap.c: Added keymap description.
1703 * glyphs.c: Added glyph description.
1704 * floatfns.c: Added float description.
1705 * file-coding.c: Added coding-system description.
1706 * extents.c: Added extent description.
1707 * elhash.c: Added hash-table description.
1708 * data.c: Added weak-list desciption.
1709 * chartab.c: Added char-table-entry and char-table description.
1710 * bytecode.c: Added compiled-function description.
1711 * alloc.c: Added cons, vector and string description.
1713 1999-06-22 Olivier Galibert <galibert@pobox.com>
1715 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1716 Updated everything to the removal of the "flags" substructure.
1718 * lisp.h (subr_lheader_initializer): Updated.
1719 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1721 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1723 * syntax.c (word_constituent_p): Deleted.
1724 (scan_words): Use `WORD_BOUNDARY_P'.
1726 * chartab.c (Vword_combining_categories): New variable.
1727 (Vword_separating_categories): Likewise.
1728 (CATEGORYP): New macro.
1729 (CATEGORY_SET): Likewise.
1730 (CATEGORY_MEMBER): Likewise.
1731 (word_boundary_p): New function.
1732 (complex_vars_of_chartab): Set up new variable
1733 `word-combining-categories' and `word-separating-categories'.
1735 1999-06-18 Olivier Galibert <galibert@pobox.com>
1737 * lrecord.h: Added description as a placehold in the lrecord
1738 implementation structures. Added the parameter to all constructor
1741 * alloc.c: Added placeholders.
1743 * bytecode.c: Ditto.
1747 * database.c: Ditto.
1752 * event-stream.c: Ditto.
1756 * file-coding.c: Ditto.
1757 * floatfns.c: Ditto.
1765 * mule-charset.c: Ditto.
1769 * rangetab.c: Ditto.
1770 * specifier.c: Ditto.
1773 * tooltalk.c: Ditto.
1776 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1778 * XEmacs 21.2.17 is released
1780 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1782 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1783 (HAVE_LDAP_GET_LDERRNO): Ditto
1784 (HAVE_LDAP_RESULT2ERROR): Ditto
1785 (HAVE_LDAP_PARSE_RESULT): Ditto
1786 (HAVE_UMICH_LDAP): Removed
1787 (HAVE_NS_LDAP): Removed
1789 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1790 suggested by Olivier Galibert
1791 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1793 * eldap.c: Take the removal of `livep' into account in all the
1795 (signal_ldap_error): Take two additional parameters
1796 Added new finer compilation conditions in order to use
1797 ldap_parse_result or ldap_result2error if available
1798 (Fldap_open): Conform to this new API
1799 (Fldap_search_internal): Ditto
1801 1999-06-17 SL Baur <steve@miho.m17n.org>
1803 * data.c (struct int_or_double): Should use EMACS_INT not int.
1805 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1807 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1810 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1812 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1813 `CCL_MODE_ENCODING'.
1815 * file-coding.c (mule_decode): Run `ccl_driver' with
1816 `CCL_MODE_DECODING'.
1817 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1819 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1820 (ccl_driver): Add new argument `conversion_mode'.
1821 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1822 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1823 new optional argument].
1825 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1826 (CCL_MODE_DECODING): New macro.
1827 (ccl_driver): Add new argument `conversion_mode'.
1829 1999-06-15 SL Baur <steve@miho.m17n.org>
1831 * mule-charset.c (Fsplit_char): New subr.
1832 (Fchar_octet): delete.
1833 (syms_of_mule_charset): DEFSUBR it.
1835 1999-06-13 Andy Piper <andy@xemacs.org>
1837 * menubar.h: update declarations involving gui_items.
1839 * lisp.h: declare Lisp_Gui_Item.
1841 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1843 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1844 (print_image_instance): ditto.
1845 (image_instance_equal): ditto.
1846 (image_instance_hash): ditto.
1848 * event-msw.c (mswindows_need_event): assert badly_p status.
1849 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1850 callbacks in tree-view and tab-control widgets.
1851 (emacs_mswindows_next_event): modify use of
1852 mswindows_dequeue_dispatch_event.
1854 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1855 lisp-based gui_items.
1857 * glyphs-msw.c (mswindows_update_subwindow): update use of
1859 (mswindows_register_gui_item): new function.
1860 (mswindows_register_gui_item): fix to use lisp gui_items.
1861 (mswindows_widget_instantiate): ditto.
1862 (mswindows_button_instantiate): ditto.
1863 (add_tree_item): new function to recursively add tree view
1865 (add_tree_item_list): ditto.
1866 (mswindows_tree_instantiate): new function. instantiate tree view
1868 (add_tab_item): new function to add tabs to a tab control.
1869 (mswindows_tab_instantiate): new function. instantiate tab
1871 (image_instantiator_format_create_glyphs_mswindows): add tree view
1873 (vars_of_glyphs_mswindows): ditto.
1875 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1877 (check_valid_item_list): ditto.
1878 (initialize_widget_image_instance): fix to use new lisp gui_item.
1879 (widget_instantiate_1): allow the setting of default textwidth in
1881 (widget_instantiate): change to use new widget_instantiate_1
1883 (combo_instantiate): ditto.
1884 (static_instantiate): ditto.
1885 (tab_instantiate): new function for tab widgets.
1886 (image_instantiator_format_create_glyphs_widget): add tab and tree
1889 * menubar-msw.c (displayable_menu_item): convert to use lisp
1891 (populate_menu_add_item): ditto.
1892 (populate_or_checksum_helper): ditto.
1894 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1896 (Fmenu_find_real_submenu): ditto.
1898 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1900 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1901 objects, convert functions that use them accordingly.
1902 (gui_item_init): ditto.
1903 (gui_item_active_p): ditto.
1904 (gui_item_selected_p): ditto.
1905 (gui_item_included_p): ditto.
1906 (gui_item_display_flush_left): ditto.
1907 (gui_item_display_flush_right): ditto.
1908 (mark_gui_item): ditto.
1909 (allocate_gui_item): new function to create a gui_item.
1910 (make_gui_item_from_keywords_internal): ditto. create and return a
1911 gui_item as well as setting keywords.
1912 (gui_parse_item_keywords): ditto.
1913 (gui_parse_item_keywords_no_errors): ditto.
1914 (gui_add_item_keywords_to_plist): new function, not yet used.
1915 (gui_item_hash): new function.
1916 (gui_item_id_hash): use gui_item_hash.
1917 (gui_item_equal): new function.
1918 (print_gui_item): new function.
1920 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1922 * XEmacs 21.2.16 is released
1924 1999-06-10 Andy Piper <andy@xemacs.org>
1926 * select-msw.c (mswindows_own_selection): only set the clipboard
1928 (mswindows_get_foreign_selection): only get the clipboard if
1930 (mswindows_disown_selection): only disown the clipboard if asked.
1932 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1934 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1936 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1937 of coding-category `no-conversion'.
1939 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1941 * file-coding.c (Qraw_text): New variable.
1942 (syms_of_mule_coding): Add new symbol `raw-text'.
1943 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1944 define coding-system `binary' independently; define coding-system
1945 `no-conversion' as an alias for `raw-text'.
1947 * file-coding.h (Qraw_text): New variable.
1949 1999-06-08 SL Baur <steve@xemacs.org>
1951 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1953 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1955 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1957 (base64_decode_1): Signal errors instead of returning -1.
1959 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1961 * mule-charset.c (Fmake_char): Update docstring.
1963 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1965 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1967 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1969 * fns.c (base64_decode_1): Allow and ignore any non-base64
1970 characters in input.
1972 1999-05-27 Olivier Galibert <galibert@pobox.com>
1974 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1975 of report_pure_usage().
1977 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1979 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1981 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1983 * XEmacs 21.2.15 is released
1985 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1987 * frame.c (Fset_mouse_position):
1988 (Fset_mouse_pixel_position):
1989 * window.c (Fsplit_window):
1990 (Fmove_to_window_line):
1991 Fix crash when invoking functions with an already-deleted window
1994 * indent.c (vertical_motion_1):
1996 (Fvertical_motion_pixels):
1997 * window.c (Fwindow_displayed_text_pixel_height):
1998 Fix error message when invoking functions with an already-deleted
2001 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2003 * sysdep.c (request_sigio_on_device): Guard against glibc
2004 2.1's stub streams implementation.
2006 1999-06-03 SL Baur <steve@xemacs.org>
2009 * emacs.c: Implement x.y.z version numbers
2010 From Jan Vroonhof <vroonhof@math.ethz.ch>
2012 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2014 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2015 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2018 1999-06-03 SL Baur <steve@xemacs.org>
2021 * device-x.c: rename session option to wmcommand.
2022 From Oliver Graf <ograf@rhein-zeitung.de>
2024 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2026 * fns.c (Fsubstring): Don't traverse the same region twice with
2027 charcount_to_bytecount().
2029 1999-06-03 SL Baur <steve@steve1.m17n.org>
2031 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2034 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2035 doesn't really work as is implied by the commentary).
2036 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2038 1999-06-02 SL Baur <steve@steve1.m17n.org>
2040 * symsinit.h: Declare vars_of_ntproc.
2041 * emacs.c (main_1): Call it.
2043 * ntproc.c (syms_of_ntproc): Move variable initializations from
2045 (vars_of_ntproc): ... to here [new function].
2047 * file-coding.c (syms_of_file_coding): Rename.
2048 (vars_of_file_coding): Ditto.
2049 (complex_vars_of_file_coding): Ditto.
2051 * symsinit.h: Rename *_mule_coding to *_file_coding.
2053 * emacs.c (main_1): Call them by the proper name.
2055 * device-msw.c (syms_of_device_mswindows): Move variable
2056 initializations from here ...
2057 (vars_of_device_mswindows): ... to here.
2059 * chartab.c (vars_of_chartab): New function.
2061 * symsinit.h: New function, vars_of_chartab.
2063 * emacs.c (main_1): Call it.
2065 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2066 (vars_of_mule_canna): ... to here.
2068 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2069 initializations out of syms_of_mule_ccl.
2071 * symsinit.h: Declare new function vars_of_mule_ccl.
2073 * emacs.c (main_1): Call it.
2075 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2077 * fns.c (base64_decode_1): Ignore whitespace.
2079 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2081 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2084 1999-05-21 Andy Piper <andy@xemacs.org>
2086 * xselect.c: deleted.
2088 * symsinit.h: declare select initialisation.
2090 * select.h: new file. declare commonly used select functions and
2093 * select.c: new file. generalised from xselect.c.
2094 (clean_local_selection_data): moved from xselect.c.
2095 (get_local_selection): ditto. device specific pieces called via a
2097 (handle_selection_clear): ditto.
2098 (Fown_selection_internal): renamed and generalised from
2099 Fx_own_selection_internal. moved from xselect.c.
2100 (Fdisown_selection_internal): ditto.
2101 (Fselection_owner_p): ditto.
2102 (Fselection_exists_p): ditto.
2103 (Fget_selection_internal): ditto.
2104 (syms_of_select): new function. QXXXX values moved from xselect.c
2105 (vars_of_select): new function. selection_converter_alist,
2106 lost_selection_hooks moved and renamed from xselect.c
2108 * select-x.c: renamed from xselect.c.
2109 (x_own_selection): converted to device specific. non-X-specific
2110 bits moved to select.c.
2111 (x_get_foreign_selection): ditto.
2112 (x_disown_selection): ditto.
2113 (x_selection_exists_p): ditto.
2114 (console_type_create_select_x): new function.
2116 * select-msw.c (mswindows_own_selection): new device method to set
2117 the clipboard when we 'own' the selection.
2118 (mswindows_get_foreign_selection): new device method to get the
2120 (mswindows_disown_selection): new device method to delete the
2121 selection when we 'disown' it.
2122 (console_type_create_select_mswindows): new function.
2124 * emacs.c (main_1): add select to things to initialise.
2126 * console.h (struct console_methods): new console methods for
2129 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2131 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2133 * print.c (long_to_string): Install a faster version.
2135 1999-05-16 Andy Piper <andy@xemacs.org>
2137 * ntproc.c (syms_of_ntproc): default
2138 win32-start-process-share-console to t.
2140 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2142 * config.h.in: Do it here.
2144 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2146 1999-05-14 Andy Piper <andy@xemacs.org>
2148 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2151 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2153 * XEmacs 21.2.14 is released
2155 1999-05-12 Andy Piper <andy@xemacs.org>
2157 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2159 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2161 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2162 run_temacs_argv array -- fixes random memory corruption crash
2164 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2166 * window.c (Fcurrent_window_configuration):
2167 Save minibuffer height;
2169 * window.c (set_window_configuration): use it.
2171 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2173 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2175 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2177 * redisplay.c (redisplay_window): Do not put data
2178 in the line start cache if it is not guaranteed to be correct
2180 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2182 * window.c (struct window_config): Removed frame
2184 (window_config_equal): No longer compare frame sizes.
2185 (Fset_window_configuration): Resize old top window to fit in the
2186 current frame directly, no longer use a fake frame resize.
2187 (Fcurrent_window_configuration): No longer save frame size
2189 1999-05-11 Andy Piper <andy@xemacs.org>
2191 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2194 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2196 * sysdep.c (init_system_name): If gethostname gives a proper
2197 domain name, don't look further for one.
2199 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2201 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2202 (Fintern_soft): Accept a symbol argument.
2204 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2206 * symbols.c (Fintern): ...do it here.
2208 * lread.c (read_atom): Don't handle keywords here.
2210 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2212 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2214 1999-05-03 Olivier Galibert <galibert@pobox.com>
2216 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2217 is interned in the main obarray.
2219 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2221 * menubar-x.c (pre_activate_callback): set accelerator field in
2222 "No menu" entries to nil. Avoid crash in
2223 command_builder_operate_menu_accelerator
2225 1999-05-03 Olivier Galibert <galibert@pobox.com>
2227 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2229 * lisp.h (DEFUN): Fix lrecord header initialisation.
2231 1999-05-02 Andy Piper <andy@xemacs.org>
2233 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2235 * ntproc.c (sys_kill): cast using MS mandated defines.
2237 1999-04-29 Andy Piper <andy@xemacs.org>
2239 * m/intel386.h: remove redundant definitions.
2241 * s/mingw32.h: new header for mingw32.
2243 * unexnt.c: (open_input_file): function moved to nt.c.
2244 (close_file_data): ditto.
2245 (rva_to_section): function moved to ntproc.
2247 * symsinit.h: declare syms_of_ntproc();
2249 * objects-msw.c (mswindows_font_instance_truename): new function.
2251 * ntproc.c: remove many warnings.
2252 (_sys_read_ahead): moved from nt.c and made static.
2253 (rva_to_section): moved from unexnt.c but not defined under
2255 (win32_executable_type): implement what we can for mingw32
2257 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2259 * ntheap.h: remove declarations of functions that are now static.
2261 * ntheap.c: support static heap.
2263 * nt.h: conditionalise X_OK definition.
2265 * nt.c: eliminate many warnings and support mingw32.
2266 (open_input_file): function moved from unexnt.c and made static
2267 (close_file_data): ditto.
2268 (_sys_read_ahead): moved to ntproc.c
2270 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2272 * console-msw.h: support mingw32.
2273 * getloadavg.c: ditto.
2280 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2281 some systems don't have all of the encapsulated system calls.
2283 * callproc.c: warning elimination.
2284 * dired-msw.c: ditto.
2285 * process-nt.c: ditto.
2286 * realpath.c: ditto.
2288 * Makefile.in.in: tweak : and ; for building under mswindows.
2290 1999-04-26 Michael Harnois <mharnois@willinet.net>
2292 * eldap.c (allocate_ldap): Adapt to the new semantics of
2293 alloc_lcrecord_type().
2295 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2297 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2299 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2301 * Delete mule-coding.c and mule-coding.h because they are not
2304 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2306 * objects.c (print_font_instance): Check for NILP(f->device),
2307 i.e. Vthe_null_font_instance.
2308 (font_instance_truename_internal): ditto.
2309 (Ffont_instance_properties): ditto.
2311 1999-04-22 Olivier Galibert <galibert@pobox.com>
2313 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2316 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2318 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2319 it easier to add new ones.
2321 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2323 * symbols.c (reject_constant_symbols): Ditto.
2324 (init_symbols_once_early): Ditto.
2326 * print.c (print_symbol): Don't use ->obarray.
2328 * symbols.c (Funintern): Ditto.
2330 * alloc.c (Fmake_symbol): Don't set ->obarray.
2332 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2334 * symbols.c (init_symbols_once_early): Removed
2335 Vpure_uninterned_symbol_table.
2336 (Fintern): Don't store to ->obarray field.
2338 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2340 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2341 (eq_with_ebola_notice): Remove abracadabra support.
2343 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2345 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2346 retrieve the distinguished names of entries
2348 1999-03-08 Martin Buchholz <martin@xemacs.org>
2350 * lread.c (read_escape): Make hex escapes read only two hex digits.
2352 1999-04-05 Olivier Galibert <galibert@pobox.com>
2354 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2355 * make-src-depend: Remove puresize-adjust.h.
2356 * src-headers: Remove puresize-adjust.h.
2357 * config.h.in: Kill everything purespace/gung-ho related.
2359 * dbxrc: Make gung-ho mandatory.
2362 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2363 c_readonly and lisp_readonly. Remove implementation arrays.
2364 (C_READONLY_RECORD_HEADER_P): Added.
2365 (LISP_READONLY_RECORD_HEADER_P): Added.
2366 (SET_C_READONLY_RECORD_HEADER): Added.
2367 (SET_LISP_READONLY_RECORD_HEADER): Added.
2369 * lisp.h: Kill everything purespace/non gung-ho related.
2370 (CHECK_C_WRITEABLE): Added.
2371 (CHECK_LISP_WRITEABLE): Added.
2372 (C_READONLY): Added.
2373 (LISP_READONLY): Added.
2375 * lisp-union.h: Make gung-ho mandatory.
2376 * lisp-disunion.h: Ditto.
2378 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2379 set_lheader_implementation calls.
2380 (c_readonly): Added.
2381 (lisp_readonly): Added.
2382 (make_string_nocopy): Added.
2383 (Fpurecopy): Changed to do nothing. Kept the old documentation
2384 for reference purposes for the next patches.
2385 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2386 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2387 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2389 * fns.c: Make gung-ho mandatory.
2390 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2392 (Ffillarray): Ditto.
2394 * data.c: Make gung-ho mandatory.
2395 (pure_write_error): Removed.
2396 (c_write_error): Added.
2397 (lisp_write_error): Added.
2398 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2402 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2403 make_string or make_string_nocopy. Fix various
2404 alloc_lcrecord_type.
2406 * lread.c: Remove everything purespace related.
2407 (Flocate_file_clear_hashing): purified -> c_readonly.
2408 (locate_file): Ditto.
2409 (read_atom): make_pure_pname -> make_string.
2411 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2413 (Fdump_emacs): Ditto.
2415 * print.c (print_internal): Make gung-ho mandatory.
2416 * ntheap.c (sbrk): Ditto.
2417 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2418 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2420 * sheap.c (more_static_core): Remove puresize-adjust.h from
2423 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2425 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2426 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2427 * events.c (deinitialize_event): Fix set_lheader_implementation.
2428 (zero_event): Ditto.
2429 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2430 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2431 * mule-charset.c (make_charset): Ditto.
2432 * console.c (allocate_console): Ditto.
2433 (complex_vars_of_console): Ditto.
2434 * file-coding.c (allocate_coding_system): Ditto.
2435 * device.c (allocate_device): Ditto
2436 * gui-x.c (gcpro_popup_callbacks): Ditto.
2437 * extents.c (allocate_extent_auxiliary): Ditto.
2438 (allocate_extent_info): Ditto.
2439 (copy_extent): Ditto.
2440 * glyphs.c (allocate_image_instance): Ditto.
2441 (allocate_glyph): Ditto.
2442 * frame.c (allocate_frame_core): Ditto.
2443 * database.c (allocate_database): Ditto.
2444 * tooltalk.c (make_tooltalk_message): Ditto.
2445 (make_tooltalk_pattern): Ditto.
2446 * rangetab.c (Fmake_range_table): Ditto.
2447 (Fcopy_range_table): Ditto.
2448 * process.c (make_process_internal): Ditto.
2449 * chartab.c (Fmake_char_table): Ditto.
2450 (make_char_table_entry): Ditto.
2451 (copy_char_table_entry): Ditto.
2452 (Fcopy_char_table): Ditto.
2453 * elhash.c (make_general_lisp_hash_table): Ditto.
2454 (Fcopy_hash_table): Ditto.
2455 * buffer.c (allocate_buffer): Ditto.
2456 (complex_vars_of_buffer): Ditto.
2457 * event-stream.c (allocate_command_builder): Ditto.
2458 * objects.c (Fmake_color_instance): Ditto.
2459 (Fmake_font_instance): Ditto.
2460 (vars_of_objects): Ditto.
2461 * toolbar.c (update_toolbar_button): Ditto.
2462 * window.c (allocate_window): Ditto.
2463 (make_dummy_parent): Ditto.
2464 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2465 (vars_of_window): Fix make_lcrecord_list.
2466 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2468 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2469 * opaque.c (make_opaque): Fix alloc_lrecord.
2470 (make_opaque_list): Fix alloc_lrecord_type.
2472 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2474 * process.c (Fstart_process_internal): Ditto.
2476 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2479 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2481 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2484 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2485 (emodules_load): Use it when calling locate_file().
2487 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2490 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2491 (vars_of_callproc): Initialize it.
2492 (Fcall_process_internal): Use it when calling locate_file().
2494 * alloc.c (disksave_object_finalization): Use
2495 Flocate_file_clear_hashing().
2497 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2498 given `t' as argument.
2500 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2502 * lread.c (locate_file): Expand `pathel' when appropriate.
2503 (Flocate_file_clear_hashing): Expand path elements.
2504 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2506 * dired.c (make_directory_hash_table): Create the hash-table only
2507 if the directory open is successful.
2509 * lread.c (decode_mode_1): New function.
2510 (decode_mode): Ditto.
2511 (Flocate_file): Use them.
2512 (Flocate_file): Expand FILENAME.
2513 (locate_file_map_suffixes): New function.
2514 (locate_file_in_directory_mapper): New function.
2515 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2516 and locate_file_map_suffixes().
2517 (locate_file_construct_suffixed_files): Use
2518 locate_file_map_suffixes().
2519 (locate_file_without_hash): Don't GCPRO path.
2520 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2521 (syms_of_lread): Remove Qlocate_file_hash_table.
2522 (locate_file_find_directory_hash_table): Use
2523 Vlocate_file_hash_table.
2524 (locate_file_refresh_hashing): Ditto.
2526 * lread.c: Renamed read_objects to Vread_objects.
2528 1999-04-16 Olivier Galibert <galibert@pobox.com>
2530 * mule-charset.c: Generally resync with fsf 20.3 charset
2532 (make_charset): Add long and short name. Use id instead of
2534 (Fmake_charset): Ditto.
2535 (Fmake_reverse_direction_charset): Ditto.
2536 (Fcharset_property): Ditto.
2537 (Fcharset_short_name): Added.
2538 (Fcharset_long_name): Added.
2539 (Fcharset_description): Renamed from charset-doc-string.
2540 (syms_of_mule_charset): Synced symbols.
2541 (complex_vars_of_mule_charset): Synced charsets.
2543 * mule-charset.h: Removed leading byte (uses id instead), added
2544 short and long name.
2546 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2548 * file-coding.c (Fdefine_coding_system_alias): New function.
2550 1999-04-08 Olivier Galibert <galibert@pobox.com>
2552 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2553 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2555 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2557 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2558 attach to the extent is valid.
2560 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2562 * dired.c (user_name_completion): Mule-ize.
2563 (user_name_completion): Use xmalloc/xrealloc/xfree.
2564 (user_name_completion): Use DO_REALLOC.
2565 (user_name_completion): Cut down the number of static variables;
2567 (user_name_completion): Username completion is always
2570 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2572 * fns.c (base64_decode_1): Remove COUNTER.
2573 (base64_decode_1): Accept CRLF in addition to CR.
2574 (base64_decode_1): Disallow a stray character after final EOF; the
2575 check was probably a remnant of buggy recode code.
2577 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2579 * fns.c (init_provide_once): Provide `base64'.
2581 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2583 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2584 (Fbase64_encode_region): If buffer is read-only, bail out early.
2585 (Fbase64_decode_region): Ditto.
2586 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2588 (Fbase64_encode_string): Ditto.
2589 (Fbase64_decode_region): Ditto.
2590 (Fbase64_decode_string): Ditto.
2592 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2594 * dired.c (Fdirectory_files): Remove redundant code.
2596 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2598 * frame-msw.c Make raise-frame restore minimised windows.
2600 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2602 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2605 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2607 * toolbar-msw.c Consider captions when deciding whether to rebuild
2608 toolbar. This fixes the initial toolbar display for those of us
2609 who don't like captions. These patches applied by Andy Piper.
2611 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2613 * XEmacs 21.2.13 is released
2615 1999-03-12 SL Baur <steve@xemacs.org>
2617 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2619 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2621 * file-coding.c: docstring and comment improvements.
2622 (decode_ucs4) flag possible data loss with comment.
2624 1999-03-10 Martin Buchholz <martin@xemacs.org>
2626 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2630 (decode_coding_ucs4):
2631 (encode_coding_ucs4):
2632 (detect_coding_utf8):
2633 (decode_coding_utf8):
2635 (encode_coding_utf8):
2636 Add CHECK_* macros where needed to avoid crashes.
2637 #ifdef out all composite character support using
2638 #ifdef ENABLE_COMPOSITE_CHARS
2639 Use normal XEmacs coding standards.
2641 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2643 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2645 * file-coding.c (make-coding-system): Add description about
2646 `ucs-4' and `utf-8'.
2647 (detection_state): Modify to implement ucs-4 and utf-8.
2648 (detect_coding_type): Likewise.
2649 (detect_coding_ucs4): New implementation.
2650 (detect_coding_utf8): New implementation.
2651 (encode_utf8): fixed.
2652 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2655 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2657 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2658 2022 registry to private area.
2660 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2662 * file-coding.c (encode_utf8): New function.
2663 (encode_coding_utf8): New implementation.
2665 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2667 * file-coding.c (ucs_to_mule_table): New variable; abolish
2668 `Vucs_to_mule_table'
2669 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2670 (set-ucs-char): New function.
2671 (ucs_to_char): New function.
2672 (ucs-char): New function.
2673 (set-char-ucs): New function.
2674 (char-ucs): New function.
2675 (decode_ucs4): Use `ucs_to_char'.
2676 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2677 `mule-to-ucs-table'.
2679 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2681 * chartab.h: EXFUN `Fget_char_table'.
2683 * file-coding.c (encode_ucs4): New function.
2684 (encode_coding_ucs4): Use `encode_ucs4'.
2686 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2688 * file-coding.c (decode_coding_ucs4): New implementation.
2690 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2692 * file-coding.c (decode_coding_ucs4): fixed.
2694 * file-coding.c (Vmule_to_ucs_table): New variable.
2695 (mule_char_to_ucs4): New function.
2696 (encode_coding_ucs4): New implementation.
2697 (complex_vars_of_mule_coding): Define variable
2698 `mule-to-ucs-table'.
2700 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2702 * file-coding.c (decode_coding_utf8): New implementation.
2704 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2706 * file-coding.c (decode_coding_utf8): fixed.
2708 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2710 * file-coding.c (Vucs_to_mule_table): New variable.
2711 (decode_ucs4): Refer `Vucs_to_mule_table'.
2712 (complex_vars_of_mule_coding): Define variable
2713 `ucs-to-mule-table'.
2715 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2717 * file-coding.c (detect_coding_ucs4): New function (not
2719 (decode_coding_ucs4): New function.
2720 (encode_coding_ucs4): New function (not implemented yet).
2721 (detect_coding_utf8): New function (not implemented yet).
2722 (decode_coding_utf8): New function.
2723 (encode_coding_utf8): New function (not implemented yet).
2724 (make-coding-system): New type `ucs4' and `utf8'.
2725 (coding-system-type): Likewise.
2726 (detection_state): Add `ucs4' and `utf8'.
2727 (detect_coding_type): Likewise.
2728 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2729 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2730 (decode_ucs4): New function (very incomplete).
2731 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2733 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2735 1999-03-08 Martin Buchholz <martin@xemacs.org>
2738 (non_ascii_valid_char_p):
2739 (lookup_composite_char):
2740 (composite_char_string):
2741 (make-composite-char):
2742 (composite-char-string):
2743 (syms_of_mule_charset):
2744 (complex_vars_of_mule_charset):
2745 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2746 (CHAR_LEADING_BYTE):
2748 * file-coding.h (CODING_STATE_COMPOSITE):
2749 (CODING_STATE_ISO2022_LOCK):
2751 (LEADING_BYTE_COMPOSITE):
2752 * file-coding.c (struct iso2022_decoder):
2755 (parse_iso2022_esc):
2756 (encode_coding_iso2022):
2757 #ifdef out all composite character support using
2758 #ifdef ENABLE_COMPOSITE_CHARS
2760 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2762 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2764 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2765 way of `Fbase64_encode_region'.
2767 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2769 * fns.c (base64_encode_1): Don't add a newline at the tail.
2771 1999-03-08 Andy Piper <andy@xemacs.org>
2773 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2776 1999-03-07 Martin Buchholz <martin@xemacs.org>
2778 * console-stream.h (struct stream_console):
2779 * event-unixoid.c (event_stream_unixoid_select_console):
2780 (event_stream_unixoid_unselect_console):
2781 * print.c (Fexternal_debugging_output):
2782 * sysdep.c (reset_one_device):
2783 * console-stream.c (stream_init_console):
2784 (stream_delete_console):
2785 (allocate_stream_console_struct): move into stream_init_console.
2786 (free_stream_console_struct): move into stream_delete_console.
2787 Use `fd' only for file descriptors.
2788 Therefore, rename members of struct stream_console.
2790 * systime.h: Unix98 says sys/time.h should define select(), but
2791 some systems define that in unistd.h. So include that file always.
2793 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2794 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2795 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2797 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2801 Add #include <stdio.h>.
2802 Some versions of assert.h use printf() without #include'ing stdio.h
2804 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2805 (log_gcpro): Remove unused variable FRAME.
2806 (show_gcprohist): Ansify.
2807 Comment the #endif's
2809 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2810 after it's just been XtDestroy'ed!
2812 1999-02-18 Martin Buchholz <martin@xemacs.org>
2814 * opaque.c (print_opaque):
2818 Egcs 1.1.1 seems to have a bug where
2819 INTP (p->size_or_chain)
2820 will crash XEmacs. Fix by introducing intermediate variable.
2822 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2824 * dired.c (Fdirectory_files):
2825 (Ffile_name_completion):
2826 (Ffile_name_all_completions):
2827 (file_name_completion):
2828 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2829 avoid compiler warnings.
2830 - Fix up docstrings so that C variables match documentation.
2832 1999-03-05 Martin Buchholz <martin@xemacs.org>
2834 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2835 variables as small as possible to help out the compiler and the maintainer.
2837 * alloc.c: (disksave_object_finalization):
2838 Set all the *-load-path variables to
2839 nil, not just load-path itself. This gets the locate-file hash
2840 tables garbage collected BEFORE dump, and has the side effect of
2841 preventing crashes on OSF4.0+egcs.
2846 - Clean up gdb/dbx debugging support.
2847 - Storing an EMACS_INT in an enum is not 64-bit clean!
2848 - So change the enum to a set of separate variables.
2849 - Add test cases to help debug the debugging support!
2850 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2851 - Both dbx and gdb have been tested now.
2853 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2855 * XEmacs 21.2.12 is released
2857 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2859 * device-x.c: Support to find best visual without flashing.
2861 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2863 * database.c (berkdb_map): Add flags argument to cursor call (must
2864 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2866 1999-03-03 Martin Buchholz <martin@xemacs.org>
2870 General cleanup. Get free-hook.c working again.
2871 Remove unused functions:
2872 make_strings_hash_table, copy_hash, expand_hash_table.
2876 Always use new ANSI-style function prototypes.
2878 * unexalpha.c (unexec): Never use implicit int.
2880 * sgiplay.c (close_sound_file):
2882 (restore_audio_port):
2887 (write_mulaw_8_chunk):
2888 (write_linear_chunk):
2889 (write_linear_32_chunk):
2890 (initialize_audio_port):
2893 (set_output_format):
2894 (adjust_audio_volume):
2895 (get_current_volumes):
2897 Always use new ANSI-style function prototypes.
2898 Use unistd.h for missing prototypes.
2900 * unexelfsgi.c (round_up):
2902 (unexec): Always use new ANSI-style function prototypes
2904 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2906 * console.h (struct console_methods): Always use full ANSI prototypes
2908 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2910 1999-03-02 Andy Piper <andy@xemacs.org>
2912 * event-stream.c (init_event_stream): make sure native mswindows
2913 gets an appropriate event loop.
2915 1999-02-22 Andy Piper <andy@xemacs.org>
2917 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2918 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2919 (mswindows_raise_frame): remove comment.
2921 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2923 * XEmacs 21.2.11 is released
2925 1999-02-25 SL Baur <steve@xemacs.org>
2927 * mule-charset.c (Qleading_byte): New variable to implement
2928 charset-leading-byte function.
2929 (Fcharset_property): Use it.
2930 (syms_of_mule_charset): Initialize it.
2931 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2933 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2935 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2936 bytes per pixel counting.
2938 1999-02-15 Andy Piper <andy@xemacs.org>
2940 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2943 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2945 * fns.c (Fbase64_encode_string): New optional argument
2948 1999-02-16 Martin Buchholz <martin@xemacs.org>
2950 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2951 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2953 1999-02-10 Martin Buchholz <martin@xemacs.org>
2955 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2956 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2958 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2960 * XEmacs 21.2.10 is released
2962 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2964 * process-nt.c (nt_send_process):
2965 Fix for process-send-region/process-send-string breaking when size
2966 of the input > 128 chars: change maximum chunk size for process
2967 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2970 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2972 * XEmacs 21.2.9 is released
2974 1999-01-30 Martin Buchholz <martin@xemacs.org>
2976 * bytecode.c (funcall_compiled_function): Call
2977 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2979 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2980 #ifdef 0 out unused macro.
2982 1999-01-27 Martin Buchholz <martin@xemacs.org>
2984 * gui.c (gui_parse_item_keywords_internal): Make static.
2986 1999-01-21 Andy Piper <andy@xemacs.org>
2988 * glyphs-msw.c: add xface support.
2989 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2990 (image_instantiator_format_create_glyphs_mswindows): do device
2991 specific initialisation for xfaces.
2992 (xbm_create_bitmap_from_data): line data must be padded to a word
2995 * glyphs-x.c (xface_validate): moved to glyphs.c
2996 (xface_normalize): ditto.
2997 (xface_possible_dest_types): ditto.
2998 (image_instantiator_format_create_glyphs_x): do device specific
2999 initialisation for xfaces.
3001 * glyphs.h: declare xface symbol.
3003 * glyphs.c: move generic xface support here.
3004 (xface_validate): moved from glyphs-x.c
3005 (xface_normalize): ditto.
3006 (xface_possible_dest_types): ditto.
3007 (image_instantiator_format_create): xface declarations moved from
3010 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3012 * event-stream.c (vars_of_event_stream): Fixing documentation.
3014 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3016 * glyphs-eimage.c (gif_instantiate): Correct handling of
3017 interlaced gifs to avoid writing past the end of the eimage
3020 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3022 * search.c (Freplace_match): Handle single backslash at end of
3025 1999-01-12 William M. Perry <wmperry@aventail.com>
3027 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3028 avoid connection errors.
3030 1999-01-12 Andy Piper <andy@xemacs.org>
3032 * redisplay-output.c (redisplay_update_line): backout change that
3033 shouldn't have gone ine.
3035 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3037 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3038 collide with ldap.el
3040 1999-01-11 Andy Piper <andy@xemacs.org>
3042 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3043 (DISPLAY_LINE_YPOS): new macro.
3045 * redisplay-msw.c (mswindows_output_string): use it.
3046 (mswindows_output_pixmap): ditto.
3047 (mswindows_output_display_block): ditto.
3049 * redisplay-output.c (redisplay_output_display_block): new
3050 function. just call the devmeth, maybe insert some generic code
3052 (compare_display_blocks): use it.
3053 (output_display_line): ditto.
3054 (redisplay_unmap_subwindows_maybe): new function. potentially
3055 unmap subwindows in the given area.
3057 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3060 1999-01-10 J. Kean Johnston <jkj@sco.com>
3062 * Makefile.in.in: Set value of moduledir
3063 - Changed DUMPENV to include $(MODULEPATH)
3064 - Added install rule to install header files for use by ellcc.
3066 * config.h.in: Added INHIBIT_SITE_MODULES
3067 - Added HAVE__DLERROR
3068 - Added HAVE_DLFCN_H
3069 - Added DLSYM_NEEDS_UNDERSCORE
3073 * emodules.c: New file containing dynamic loading code.
3075 * emodules.h: New file.
3077 * emacs.c: Added variables Vmodule_directory,
3078 Vsite_module_directory, Vconfigure_module_directory and
3079 Vconfigure_site_module_directory.
3080 - (main_1): Added new variable inhibit_site_modules and command
3081 line options `-no-site-modules' and `--no-site-modules'.
3082 - (main_1): Call syms_of_module() instead of syms_of_dll().
3083 - (main_1): Call vars_of_module().
3084 - (vars_of_emacs): Introduce inhibit-site-modules,
3085 module-directory, configure-module-directory,
3086 site-module-directory, and configure-site-module-directory to the
3089 * lisp.h: Declare load_module and list_modules, as well as
3090 Vmodule_directory, Vsite_module_directory,
3091 Vconfigure_module_directory and Vconfigure_site_module_directory.
3093 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3094 - Added correct support for site-lisp directory.
3096 * symbols.c (defsubr): Modified to allow modules to add new subrs
3098 - (defsubr_macro): Same.
3099 - (defvar_magick): Only use purespace when not initialized, so
3100 that loaded modules can still add symbols.
3102 * symsinit.h: Add definitions for syms_of_module(),
3103 vars_of_module(). Removed syms_of_dll().
3105 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3106 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3107 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3109 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3110 explicitly pass -belf for native cc.
3112 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3113 hard-coding the library name.
3115 1999-01-01 <martin@xemacs.org>
3117 * device-x.c (Fx_set_font_path):
3118 Add proper cast to permit compilation under C++.
3120 * buffer.c (directory_is_current_directory):
3121 Add proper casts to permit compilation under C++.
3123 1998-12-30 Damon Lipparelli <lipp@primus.com>
3125 * event-msw.c (mswindows_wnd_proc):
3126 Fixed failure when building with MSVC 5.
3128 1998-12-29 Martin Buchholz <martin@xemacs.org>
3130 * file-coding.c (decode_coding_iso2022):
3131 - Prevent crash when decoding ISO7/Lock detected files
3132 - the usual martin fiddling
3134 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3138 Fixed failures when building with MSVC.
3139 * unexnt.c (dump_bss_and_heap):
3140 Removed compiler warning by removing bss_data variable.
3142 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3144 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3145 so that packages that distribute their own fonts can access them.
3147 1998-12-28 Andy Piper <andy@xemacs.org>
3149 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3150 that have an image provided.
3152 * glyphs.h: add Q_image decl.
3154 * glyphs-widget.c new functionality allowing images in
3156 (check_valid_glyph_or_image): new function to validate
3157 glyphs passed in through :image.
3158 (widget_normalize): new function. convert :image parameters into
3159 real glyphs if not already so.
3160 (widget_instantiate_1): mess with size parameters to be similar to
3162 (syms_of_glyphs_widget): new keyword :image.
3163 (image_instantiator_format_create_glyphs_widget): normalize
3164 buttons and allow :image.
3166 1998-12-27 Andy Piper <andy@xemacs.org>
3168 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3170 * glyphs-widget.c (check_valid_anything): no-op function.
3171 (check_valid_callback): check callbacks in gui_items.
3172 (check_valid_symbol): as it sounds.
3173 (check_valid_string_or_vector): ditto.
3174 (widget_validate): modified for descriptors that are vectors or
3175 sequences of keyword/val pairs.
3176 (widget_instantiate_1): ditto.
3177 (image_instantiator_format_create_glyphs_widget): allow gui_item
3178 keywords in the instantiator.
3180 * gui.c (gui_parse_item_keywords_internal): renamed from
3181 gui_parse_item_keywords but taking error behaviour.
3182 (gui_parse_item_keywords): use it.
3183 (gui_parse_item_keywords_no_errors): ditto.
3184 (gui_item_add_keyval_pair): add Error_behavior flag and only
3185 signal invalid keywords if required.
3187 * gui.h: new gui signatures.
3189 * menubar.c (menu_parse_submenu_keywords): use new
3190 gui_item_add_keyval_pair signature.
3192 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3194 1998-12-28 Martin Buchholz <martin@xemacs.org>
3196 * XEmacs 21.2.8 is released.
3198 1998-12-28 Martin Buchholz <martin@xemacs.org>
3200 * editfns.c (get_home_directory):
3201 (user-home-directory): Simplify.
3204 * callproc.c (child_setup):
3205 - Environment variables were being passed to inferior processes
3206 using internal encoding.
3207 - Convert to external encoding.
3208 - Rename local var `tem' to better name `tail'.
3209 - Use Flength instead of `manual' calculation.
3211 * buffer.c (kill-buffer):
3213 (set-buffer-major-mode):
3215 - Fix up parameter names to correspond to docstrings.
3216 - Don't use `bufname' when a buffer will do as well.
3217 - Remove one unneeded GCPRO.
3219 * buffer.h (initial_directory):
3220 * buffer.c (init_initial_directory):
3221 - use correct conversions between internal and external format.
3222 (directory_is_current_directory): new function
3223 (init_buffer): convert initial_directory to internal format.
3224 - solve crashes when current working directory is non-ASCII.
3226 * alloc.c (xmalloc):
3229 - remove stupid casts, since XEmacs requires an ANSI C system.
3230 (lrecord_type_index): replace abort() with more readable assert().
3232 (reset_lcrecord_stats): remove.
3233 (sweep_lcrecords_1):
3234 - replace call to reset_lcrecord_stats() with call to xzero().
3236 1998-12-27 Martin Buchholz <martin@xemacs.org>
3238 * process-unix.c (unix_create_process):
3239 - Fix crash invoking program with non-ASCII name.
3240 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3241 - Remove unused variable `env'.
3242 - Rename `temp' to better name `save_errno'.
3243 - Reorganize code for clarity. But still too chicken to nuke the
3246 1998-12-24 Martin Buchholz <martin@xemacs.org>
3248 * XEmacs 21.2.7 is released.
3250 1998-12-23 Martin Buchholz <martin@xemacs.org>
3252 * glyphs.c (decode_device_ii_format):
3254 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3256 * glyphs-x.c (x_subwindow_instantiate):
3257 - A image instance mask was being assigned to a image instance type!
3258 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3260 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3262 * glyphs-x.h: Make indentation consistent.
3264 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3266 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3268 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3272 Move declarations of decode_device_ii_format and
3273 decode_image_instantiator_format into glyphs.h where they belong.
3275 1998-12-22 Martin Buchholz <martin@xemacs.org>
3277 * frame-x.c (x_delete_frame): Revert part of my changes at the
3278 suggestion of Gunnar Evermann - unfortunately no one really
3279 understands this code.
3281 * callproc.c (init_callproc): code cleanup.
3283 * free-hook.c (malloc):
3288 (block_input_malloc):
3289 (block_input_realloc):
3290 * device-x.c (x_delete_device):
3291 * emacs.c (voodoo_free_hook):
3292 * events.c (print_event):
3294 (CHECK_EVENT_TYPE2):
3295 (CHECK_EVENT_TYPE3):
3296 Use proper prototypes.
3297 Make C_E_T macros a little faster.
3298 Pedantic fiddly little changes. You really don't care.
3300 1998-12-22 Andy Piper <andy@xemacs.org>
3302 * redisplay-output.c (redisplay_clear_region): make sure that
3303 fg/bg colors get set even when we are in the border area.
3305 1998-12-13 Martin Buchholz <martin@xemacs.org>
3307 * console-msw.c: Function definitions follow coding standards
3308 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3310 1998-12-11 Martin Buchholz <martin@xemacs.org>
3312 * events.h (struct timeout_data):
3313 * event-tty.c (tty_timeout_to_emacs_event):
3314 * event-msw.c (mswindows_wm_timer_callback):
3315 * event-Xt.c (Xt_timeout_to_emacs_event):
3316 * event-msw.c (mswindows_cancel_dispatch_event):
3317 Make sure Lisp_Objects inside events are initialized to Qnil, not
3318 Qnull_pointer, which is now illegal.
3320 1998-12-10 Martin Buchholz <martin@xemacs.org>
3322 * lisp.h: Fix up prototypes to match alloc.c
3324 1998-12-08 Martin Buchholz <martin@xemacs.org>
3326 * windowsnt.h: Remove `support' for using index and rindex
3328 * filelock.c (current_lock_owner):
3329 - Change uses of index -> strchr, rindex -> strrchr
3331 1998-12-07 Martin Buchholz <martin@xemacs.org>
3333 * sysdep.c (set_descriptor_non_blocking):
3334 Since O_NONBLOCK is now always #defined, make use of fcntl
3335 conditional on F_SETFL being defined.
3337 * console-msw.c (DHEADgER):
3346 - max_align_t should not be visible to the user of the
3348 - use Bufbyte instead of char
3349 - parens around (FOOP (obj)) are always redundant.
3350 If they were necessary, we should fix the macro instead.
3351 - Always use string_data(foo) instead of foo->data.
3354 1998-12-06 Martin Buchholz <martin@xemacs.org>
3356 * frame-msw.c (mswindows_init_frame_1):
3357 - use make_lisp_hash_table, not Fmake_hash_table
3361 * alloc.c (make_vector): remove travesty
3365 (make_bit_vector_internal):
3367 (make_bit_vector_from_byte_vector):
3369 - make vector_equal a little faster.
3370 - Don't use variable name `new'.
3371 - Use size_t instead of EMACS_INT.
3372 - usual Martin-style pointless bit-twiddling.
3378 Make mapcar faster. In particular, make
3379 (mapc #'identity long-string)
3380 MUCH faster under Mule.
3381 * tests/automated/lisp-tests.el: Test 'em!
3383 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3386 1998-12-01 Martin Buchholz <martin@xemacs.org>
3388 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3389 Qnil, not NULL, to initialize `null' Lisp_Objects.
3391 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3393 * specifier.c (display_table_validate): Update.
3395 * redisplay.c (create_text_block): Use them.
3397 * glyphs.c (display_table_entry): New function.
3398 (get_display_tables): Ditto.
3400 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3402 * eldap.c (toplevel): Mention that eldap.c compiles with
3404 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3405 (Fldap_search_internal): Ditto
3407 1998-12-11 Martin Buchholz <martin@xemacs.org>
3409 * event-msw.c (mswindows_cancel_dispatch_event):
3410 Gratuitous code prettification
3413 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3415 * fns.c (Fnconc): Fix use of wrong_type_argument().
3417 * floatfns.c (Ffloat): Fix docstring.
3418 (Ffloat): Fix use of wrong_type_argument().
3420 (extract_float): Ditto.
3425 1998-12-06 Martin Buchholz <martin@xemacs.org>
3427 * frame-msw.c (mswindows_init_frame_1):
3428 - use make_lisp_hash_table, not Fmake_hash_table
3432 * alloc.c (make_vector): remove travesty
3436 (make_bit_vector_internal):
3438 (make_bit_vector_from_byte_vector):
3440 - make vector_equal a little faster.
3441 - Don't use variable name `new'.
3442 - Use size_t instead of EMACS_INT.
3443 - usual Martin-style pointless bit-twiddling.
3449 Make mapcar faster. In particular, make
3450 (mapc #'identity long-string)
3451 MUCH faster under Mule.
3452 * tests/automated/lisp-tests.el: Test 'em!
3454 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3457 1998-12-02 Didier Verna <verna@inf.enst.fr>
3459 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3460 accelerator field to nil for labels.
3462 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3464 * menubar-msw.c (displayable_menu_item):
3465 Escape occurrences of '&' and support occurrences of the
3466 '%_' accelerator indicator in menus.
3468 1998-11-26 Didier Verna <verna@inf.enst.fr>
3470 * dired.c (Fdirectory_files): use make_string instead of
3471 make_ext_string on the filename. The conversion external->internal
3472 format is already done in sys_readdir.
3474 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3476 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3478 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3481 (Belatedly) added Kirill to list of file's authors.
3482 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3483 quit checking. WM_PAINT messages cause redisplay, but
3484 windows' states are not necessarily stable when this function
3487 1998-12-17 Andy Piper <andy@xemacs.org>
3489 * strftime.c (zone_name): CONSTify.
3491 1998-12-15 Andy Piper <andy@xemacs.org>
3493 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3494 (mswindows_widget_property): return Qunbound when no property available.
3495 (mswindows_button_property): ditto.
3496 (mswindows_combo_property): ditto.
3497 (mswindows_widget_set_property): ditto.
3499 * glyphs-widget.c (check_valid_item_list): use properties.
3501 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3503 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3504 (Fimage_instance_property): ditto.
3505 * glyphs-widget.c (widget_property): ditto.
3506 (widget_set_property): ditto.
3508 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3509 as setting the class cursor so that GC actually changes the
3512 * config.h: don't undef MAIL_USE_POP.
3514 1998-12-13 Andy Piper <andy@xemacs.org>
3517 (image_instantiator_format_create_glyphs_mswindows): line ->
3519 (mswindows_label_instantiate): ditto. Play with window flags.
3520 (image_instantiator_format_create_glyphs_mswindows): ditto.
3521 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3523 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3524 cope with lines and labels.
3525 (static_instantiate): use widget_instantiate_1.
3527 (image_instantiator_format_create_glyphs_widget): ditto.
3529 1998-12-10 Andy Piper <andy@xemacs.org>
3531 * Makefile.in.in (objs): add gui.o
3533 1998-12-10 Andy Piper <andy@xemacs.org>
3535 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3538 1998-12-09 Andy Piper <andy@xemacs.org>
3540 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3541 image instance is removed so that the subwindow cache gets reset
3542 and thus destroyed images get GC'd.
3544 1998-12-08 Andy Piper <andy@xemacs.org>
3546 * gui-msw.c (mswindows_handle_gui_wm_command): call
3547 MARK_SUBWINDOWS_CHANGED.
3549 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3550 subwindows really get deleted.
3552 * redisplay.c: new variable subwindows_changed[_set].
3553 (redisplay_window): use it.
3554 (redisplay_frame): ditto.
3555 (redisplay_device): ditto.
3556 (redisplay_without_hooks): ditto.
3558 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3559 subwindows redisplay as per glyphs equivalent.
3560 * redisplay.h: ditto.
3561 (MARK_SUBWINDOWS_CHANGED): ditto.
3562 (RESET_CHANGED_SET_FLAGS): ditto.
3563 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3565 1998-12-07 Andy Piper <andy@xemacs.org>
3567 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3570 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3572 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3573 messages and paint widget glyphs as appropriate with their face fg
3576 1998-12-06 Andy Piper <andy@xemacs.org>
3578 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3579 here rather than in glyphs-widget - do this because we only want
3580 to provide what is really available.
3582 * glyphs.c (Fimage_instance_property): new function to get the
3583 properties of image instances. wires through to console specific
3584 methods and then to widget specific methods.
3585 (Fset_image_instance_property): ditto but for setting widget properties.
3586 (check_valid_face): make extern so that it can be used elsewhere.
3588 * glyphs-widget.c (widget_property): new function. gets the
3589 properties of widgets in general and wires the function through to
3590 widget specific ones.
3591 (widget_set_property): ditto but for setting widget properties.
3593 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3594 add items to the list. Play with window styles a bit to get the
3596 (mswindows_widget_property): break out specific widget properties.
3597 (mswindows_button_property): new function. gets the checked state
3599 (mswindows_combo_property): new function. gets the current
3600 selection in the combo box.
3601 (mswindows_widget_set_property): new function. sets specific
3602 properties of specific widgets.
3604 * glyphs-widget.c (check_valid_item_list): new function. check
3605 that items for a combo-box are just a list of strings.
3606 (combo_validate): new function. check there is an item list.
3607 (widget_instantiate_1): new function. renamed from
3608 widget_instantiate so that we can do slightly different things for
3610 (widget_instantiate): call widget_instantiate_1.
3611 (combo_instantiate): new function to instantiate combo boxes,
3612 defaults height to the pixel height of the number of items in the
3614 (syms_of_glyphs_widget): move widget keywords here.
3615 (image_instantiator_format_create_glyphs_widget): use new combo
3618 1998-12-04 Andy Piper <andy@xemacs.org>
3620 * event-msw.c (mswindows_wnd_proc): mule-ize.
3622 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3624 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3625 (resource_name_to_resource): ditto.
3626 (mswindows_resource_instantiate): ditto.
3627 (mswindows_widget_instantiate): ditto.
3628 (mswindows_widget_set_property): ditto.
3630 * redisplay-output.c (redisplay_output_subwindow): don't show
3631 subwindows if they are obscured at the edge of the frame, emacs
3632 gets into some sort of redisplay loop otherwise.
3634 * gui.h: prototype gui_item_selected_p.
3636 * gui.c (gui_item_selected_p): new function to determine the
3637 selected state of a gui_item.
3639 * frame.h (struct frame): add subwindows_changed flag.
3641 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3643 * glyphs.c (update_subwindow): new function to update a
3645 (update_frame_subwindows): new function to update all the
3646 subwindows on a frame.
3648 * console.h (struct console_methods): add update_subwindow.
3650 * glyphs-msw.c (mswindows_widget_property): return selected state
3651 for selected property.
3652 (mswindows_update_subwindow): new function. updates widget glyphs
3653 in redisplay as per menubars or toolbars e.g. selected state.
3654 (console_type_create_glyphs_mswindows): add update_subwindow.
3656 1998-12-03 Andy Piper <andy@xemacs.org>
3658 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3659 tty coding system things are such.
3661 * glyphs-widget.c (widget_face_font_info): new function for
3662 pulling out height and width metrics for a widget's face.
3663 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3666 * event-msw.c (mswindows_drain_windows_queue): translate messages
3667 that are destined for subwindows. This makes edit fields interact
3668 with the keyboard correctly.
3669 nuke warnings by #ifndef'ing out stuff not required by msg select().
3671 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3672 macro defining the iiforma without the symbol required by widget.
3673 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3675 * general.c (syms_of_general): add Qwidget, Qselected.
3677 * faces.c (complex_vars_of_faces): add widget face inheriting from
3680 1998-11-09 Andy Piper <andy@xemacs.org>
3682 * window.h (struct window): add a cache of subwindows on a
3685 * window.c (mark_window): mark the subwindow_instance_cache.
3686 (allocate_window): initialise the subwindow instance_cache.
3688 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3689 instead of the devmeth.
3690 (x_clear_toolbar): ditto.
3692 * redisplay-x.c (x_output_display_block): call
3693 redisplay_output_subwindow for subwindows and widgets.
3695 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3696 types to do nothing for.
3698 * lisp.h: declare new widget/subwindow symbols.
3700 * glyphs.c (image_instantiate): cache subwindows on a per-window
3702 (subwindow_possible_dest_types): new function for subwindow dest
3704 (subwindow_instantiate): generic instantiation of a
3705 subwindow. specialised by device multi-methods.
3706 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3708 (Fimage_instance_subwindow_id): ditto.
3709 (Fresize_subwindow): ditto.
3710 (Fforce_subwindow_map): ditto.
3712 * glyphs-x.c (x_print_image_instance): remove subwindow
3713 stuff. Handled genrically in glyphs.c.
3714 (x_image_instance_equal): ditto.
3715 (x_image_instance_hash): ditto.
3716 (x_finalize_image_instance): delete subwindows when required.
3717 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3718 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3719 glyph-based, subwindow implementation.
3720 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3722 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3724 (x_unmap_subwindow): new function to unmap X subwindows.
3725 (x_map_subwindow): new function to map X subwindows.
3726 (x_subwindow_instantiate): new function to instantiate X
3728 (x_resize_subwindow): new function to resize X subwindows.
3729 (console_type_create_glyphs_x): add subwindow functions.
3730 (image_instantiator_format_create_glyphs_x): add device
3731 multi-methods for xpm, xbm and subwindow.
3733 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3734 (subwindow-width): ditto.
3735 (subwindow-height): ditto.
3737 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3738 generally instantiating ms subwindows. Used by
3739 mswindows_*_instantiate.
3740 (mswindows_edit_instantiate): instantiate an edit field on a
3743 1998-11-04 Andy Piper <andy@xemacs.org>
3745 * symsinit.h: declare new functions.
3747 * redisplay.h: declare new functions.
3749 * redisplay-x.c (x_output_display_block): call
3750 redisplay_clear_region rather than x_clear_region.
3751 (x_output_string): ditto.
3752 (x_output_pixmap): ditto.
3753 (x_clear_to_window_end): ditto.
3754 (x_output_eol_cursor): ditto.
3755 (x_clear_region): only do X specific things. other duties handled
3756 in redisplay_clear_region.
3758 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3759 duties moved to redisplay_clear_region.
3761 * redisplay-output.c (clear_left_border): use
3762 redisplay_clear_region instead of device method.
3763 (clear_right_border): ditto.
3764 (output_display_line): ditto.
3765 (redisplay_output_subwindow): ditto.
3766 (redisplay_clear_top_of_window): ditto.
3767 (redisplay_clear_region): perform duties previously handled by
3768 device methods. call the appropriate device method at the
3769 end. unmap subwindows if necessary.
3771 * redisplay-msw.c (mswindows_output_string): use
3772 redisplay_clear_region instead of mswindows_clear_region.
3773 (mswindows_clear_to_window_end): ditto.
3774 (mswindows_output_display_block): output subwindows when required.
3775 (mswindows_clear_region): only do mswindows specific things,
3776 everything else is now handled in redisplay_clear_region.
3778 * gui.h: add item id hash defines and declare function prototypes.
3780 * gui.c (mark_gui_item): new function for marking gui_items.
3781 (gui_item_hash): generic hash function for generating command ids
3784 * gui-msw.c: new file.
3785 (mswindows_handle_gui_wm_command): new function to handle widget
3788 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3790 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3791 (DEFINE_DEVICE_IIFORMAT): ditto.
3792 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3793 (struct Lisp_Image_Instance): add widget and subwindow data plus
3794 appropriate access functions.
3796 * glyphs.c (decode_device_ii_format): new function for decoding
3797 image instantiator functions based on a device type as well as an
3799 (decode_image_instantiator_format): just call
3800 decode_device_ii_format with nil device.
3801 (add_entry_to_device_ii_format_list): new function for per device
3803 (add_entry_to_image_instantiator_format_list): just call
3804 add_entry_to_device_ii_format_list with nil device.
3805 (check_valid_vector): new function.
3806 (instantiate_image_instantiator): instantiate using per-format
3807 method and then per-format-per-device method (device
3808 multi-methods). signal an error if neither is possible.
3809 (mark_image_instance): cope with subwindows and widgets.
3810 (print_image_instance): ditto.
3811 (image_instance_equal): ditto.
3812 (image_instance_hash): ditto.
3813 (allocate_glyph): ditto.
3814 (glyph_width): ditto.
3815 (glyph_height_internal): ditto.
3816 (xpm_instantiate): removed because of device multi-methods.
3817 (mark_subwindow_cachels): new cachel functions for caching
3818 instantiated subwindows on a per-frame basis. mostly copied from
3819 glyph cachel functions.
3820 (update_subwindow_cachel_data): ditto.
3821 (add_subwindow_cachel): ditto.
3822 (get_subwindow_cachel_index): ditto.
3823 (reset_subwindow_cachels): ditto.
3824 (mark_subwindow_cachels_as_not_updated): ditto.
3825 (unmap_subwindow): generic unmapping of subwindows based on cachel
3827 (map_subwindow): ditto.
3828 (initialize_subwindow_image_instance): generic initialisation of
3830 (syms_of_glyphs): add widget keywords.
3832 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3835 1998-11-04 Andy Piper <andy@xemacs.org>
3837 * glyphs-widget.c: new file for instantiating widget type glyphs.
3838 (widget_possible_dest_types): new general dest type function for
3840 (widget_validate): ditto.
3841 (initialize_widget_image_instance): ditto
3842 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3843 before handing on control to device multi-methods.
3844 (syms_of_glyphs_widget): new function.
3845 (image_instantiator_format_create_glyphs_widget): new function,
3846 added placeholders for button, edit, combo, scrollbar
3847 (vars_of_glyphs_widget): new function.
3849 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3850 storing window ids of widgets.
3852 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3853 deletion of widget and subwindow glyphs.
3854 (mswindows_unmap_subwindow): new device function for unmapping
3855 subwindows on a msw frame.
3856 (mswindows_map_subwindow): ditto.
3857 (mswindows_register_image_instance): register instantiated widgets
3858 with the widget hastable.
3859 (mswindows_button_instantiate): instantiate a button type widget
3861 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3863 (image_instantiator_format_create_glyphs_mswindows): add device
3864 multi-methods for xbm, xpm, subwindow, edit and button.
3866 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3867 information about subwindows visible on the current frame. used by
3868 redisplay_clear_region to unmap subwindows as required.
3870 * frame.c (mark_frame): mark subwindow_cachels.
3871 (allocate_frame_core): instantiate subwindow_cachels.
3873 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3876 * event-msw.c (mswindows_wnd_proc): add call to
3877 mswindows_handle_gui_wm_command to handle widget callbacks.
3879 * emacs.c (main_1): add calls to glyphs-widget initialisation
3882 * console.h (struct console_methods): add
3883 unmap/map_subwindow_method for use be redisplay_clear_region to
3884 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3885 with by image instantiator multi-methods. Add
3886 resize_subwindow_method.
3888 * console-stream.c (stream_clear_region): change signature to
3889 match new generic clear region function.
3891 * Makefile.in.in: add glyphs-widget.o to list of objects.
3893 * console-msw.h (struct mswindows_frame): add widget hashtable for
3894 wiring command ids to callbacks.
3896 1998-12-16 Andy Piper <andy@xemacs.org>
3898 * XEmacs 21.2.6 is released
3900 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3902 * md5.c (Fmd5): Correctly initiate string input stream.
3904 * Makefile.in.in (tests): Add md5-tests.el.
3906 1998-12-06 Martin Buchholz <martin@xemacs.org>
3909 * alloc.c (make_vector): remove travesty
3913 (make_bit_vector_internal):
3915 (make_bit_vector_from_byte_vector):
3917 - make vector_equal a little faster.
3918 - Don't use variable name `new'.
3919 - Use size_t instead of EMACS_INT.
3920 - usual Martin-style pointless bit-twiddling.
3926 Make mapcar faster. In particular, make
3927 (mapc #'identity long-string)
3928 MUCH faster under Mule.
3929 * tests/automated/lisp-tests.el: Test 'em!
3931 1998-12-06 Martin Buchholz <martin@xemacs.org>
3933 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3936 1998-12-13 Martin Buchholz <martin@xemacs.org>
3938 * console-msw.c: Function definitions follow coding standards
3939 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3941 1998-12-11 Martin Buchholz <martin@xemacs.org>
3943 * events.h (struct timeout_data):
3944 * event-tty.c (tty_timeout_to_emacs_event):
3945 * event-msw.c (mswindows_wm_timer_callback):
3946 * event-Xt.c (Xt_timeout_to_emacs_event):
3947 * event-msw.c (mswindows_cancel_dispatch_event):
3948 Make sure Lisp_Objects inside events are initialized to Qnil, not
3949 Qnull_pointer, which is now illegal.
3951 1998-12-10 Martin Buchholz <martin@xemacs.org>
3953 * lisp.h: Fix up prototypes to match alloc.c
3955 1998-12-09 Andy Piper <andy@xemacs.org>
3957 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3958 XSETINT for assigning lisp objects.
3960 1998-12-07 Martin Buchholz <martin@xemacs.org>
3963 * console-msw.c (DHEADER):
3972 - max_align_t should not be visible to the user of the
3974 - use Bufbyte instead of char
3975 - parens around (FOOP (obj)) are always redundant.
3976 If they were necessary, we should fix the macro instead.
3977 - Always use string_data(foo) instead of foo->data.
3979 1998-12-07 Martin Buchholz <martin@xemacs.org>
3981 * sysdep.c (set_descriptor_non_blocking):
3982 Since O_NONBLOCK is now always #defined, make use of fcntl
3983 conditional on F_SETFL being defined.
3985 1998-12-09 Andy Piper <andy@xemacs.org>
3987 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3988 that got removed in the merge
3990 1998-11-30 Greg Klanderman <greg@alphatech.com>
3992 * dired.c (vars_of_dired): bugfix for previous conditionalization
3993 of user-name-completion on non- Windows NT.
3995 1998-12-08 Martin Buchholz <martin@xemacs.org>
3997 * windowsnt.h: Remove `support' for using index and rindex
3999 * filelock.c (current_lock_owner):
4000 - Change uses of index -> strchr, rindex -> strrchr
4002 1998-12-06 Martin Buchholz <martin@xemacs.org>
4004 * frame-msw.c (mswindows_init_frame_1):
4005 - use make_lisp_hash_table, not Fmake_hash_table
4008 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4010 * XEmacs 21.2.5 is released
4012 1998-11-30 Martin Buchholz <martin@xemacs.org>
4014 * xselect.c (receive_incremental_selection):
4015 * xselect.c (x_get_window_property):
4016 * xmu.c (XmuReadBitmapDataFromFile):
4017 * xmu.c (XmuCursorNameToIndex):
4018 * xgccache.c (describe_gc_cache):
4019 * xgccache.c (gc_cache_lookup):
4020 * xgccache.c (free_gc_cache):
4021 * xgccache.c (make_gc_cache):
4023 * window.c (map_windows_1):
4024 * window.c (Fother_window_for_scrolling):
4025 * window.c (window_scroll):
4026 * window.c (change_window_height):
4027 * window.c (Fsplit_window):
4028 * window.c (window_left_gutter_width):
4029 * window.c (window_modeline_height):
4030 * window.c (invalidate_vertical_divider_cache_in_window):
4031 * window.c (window_needs_vertical_divider_1):
4032 * window.c (update_mirror_internal):
4033 * window.c (SET_LAST_FACECHANGE):
4034 * widget.c (Fwidget_plist_member):
4035 * unexec.c (copy_text_and_data):
4036 * unexcw.c (copy_executable_and_dump_data_section):
4038 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4039 * tooltalk.c (struct Lisp_Tooltalk_Message):
4040 * toolbar.h (struct toolbar_button):
4041 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4042 * toolbar.c (recompute_overlaying_specifier):
4043 * toolbar.c (toolbar_validate):
4044 * toolbar.c (toolbar_button_at_pixpos):
4045 * toolbar.c (get_toolbar_coords):
4046 * toolbar.c (update_frame_toolbars):
4048 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4049 * toolbar-msw.c (mswindows_find_toolbar_pos):
4050 * toolbar-msw.c (mswindows_output_toolbar):
4051 * toolbar-msw.c (mswindows_clear_toolbar):
4060 * sysdep.c (sys_fopen):
4061 * sysdep.c (sys_open):
4062 * sysdep.c (tty_init_sys_modes_on_device):
4063 * sysdep.c (get_eof_char):
4064 * sysdep.c (child_setup_tty):
4065 * sysdep.c (set_descriptor_non_blocking):
4067 * syntax.c (scan_words):
4070 * symeval.h (struct symbol_value_varalias):
4071 * symeval.h (struct symbol_value_forward):
4072 * symbols.c (syms_of_symbols):
4073 * symbols.c (init_symbols_once_early):
4074 * symbols.c (Fbuilt_in_variable_type):
4075 * symbols.c (Fsymbol_value_in_buffer):
4076 * symbols.c (default_value):
4078 * symbols.c (find_symbol_value_quickly):
4079 * symbols.c (store_symval_forwarding):
4080 * symbols.c (set_default_console_slot_variable):
4081 * symbols.c (set_default_buffer_slot_variable):
4082 * symbols.c (verify_ok_for_buffer_local):
4083 * symbols.c (symbol_is_constant):
4084 * symbols.c (oblookup):
4085 * symbols.c (Funintern):
4086 * symbols.c (Fintern):
4087 * symbols.c (check_obarray):
4089 * specifier.h (struct specifier_methods):
4091 * specifier.c (specifier_instance):
4092 * specifier.c (specifier_instance_from_inst_list):
4093 * specifier.c (decode_locale_type):
4094 * specifier.c (specifier_equal):
4095 * specifier.c (finalize_specifier):
4096 * specifier.c (prune_specifiers):
4097 * specifier.c (kill_specifier_buffer_locals):
4098 * sound.c (init_native_sound):
4101 * search.c (Fmatch_data):
4102 * search.c (match_limit):
4103 * search.c (Freplace_match):
4104 * search.c (skip_chars):
4105 * search.c (scan_buffer):
4107 * scrollbar.c (specifier_vars_of_scrollbar):
4108 * scrollbar.c (Fscrollbar_set_hscroll):
4109 * scrollbar.c (vertical_scrollbar_changed_in_window):
4110 * scrollbar.c (release_window_mirror_scrollbars):
4111 * scrollbar.c (free_scrollbar_instance):
4114 * s/msdos.h (O_BINARY):
4116 * s/freebsd.h (LIBS_TERMCAP):
4117 * regex.c (re_match_2_internal):
4118 * regex.c (compile_extended_range):
4119 * regex.c (POP_FAILURE_POINT):
4120 * regex.c (PUSH_FAILURE_POINT):
4121 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4123 * redisplay.h (struct display_line):
4124 * redisplay.h (struct rune):
4125 * redisplay.c (vars_of_redisplay):
4126 * redisplay.c (redisplay_variable_changed):
4127 * redisplay.c (UPDATE_CACHE_RETURN):
4128 * redisplay.c (validate_line_start_cache):
4129 * redisplay.c (mark_redisplay_structs):
4130 * redisplay.c (mark_glyph_block_dynarr):
4131 * redisplay.c (window_line_number):
4132 * redisplay.c (redisplay_frame):
4133 * redisplay.c (redisplay_window):
4134 * redisplay.c (generate_modeline):
4135 * redisplay.c (create_right_glyph_block):
4136 * redisplay.c (create_left_glyph_block):
4137 * redisplay.c (create_text_block):
4139 * redisplay-x.c (x_output_hline):
4140 * redisplay-x.c (x_output_vertical_divider):
4141 * redisplay-tty.c (tty_output_display_block):
4142 * redisplay-output.c (output_display_line):
4143 * redisplay-output.c:
4144 * redisplay-msw.c (mswindows_output_vertical_divider):
4145 * redisplay-msw.c (mswindows_ring_bell):
4146 * redisplay-msw.c (mswindows_output_cursor):
4150 * puresize.h (RAW_PURESIZE):
4151 * profile.c (syms_of_profile):
4152 * profile.c (Fstart_profiling):
4153 * profile.c (sigprof_handler):
4156 * process.c (vars_of_process):
4157 * process.c (read_process_output):
4158 * process.c (get_process):
4160 * process-unix.c (unix_open_multicast_group):
4161 * process-unix.c (unix_get_tty_name):
4162 * process-unix.c (unix_send_process):
4163 * process-unix.c (unix_reap_exited_processes):
4164 * process-unix.c (unix_create_process):
4165 * process-unix.c (unix_init_process_io_handles):
4166 * process-unix.c (allocate_pty):
4168 * process-nt.c (nt_open_network_stream):
4169 * process-nt.c (nt_update_status_if_terminated):
4170 * process-nt.c (nt_finalize_process_data):
4172 * print.c (debug_short_backtrace):
4173 * print.c (debug_backtrace):
4174 * print.c (print_symbol):
4175 * print.c (print_internal):
4176 * print.c (print_cons):
4177 * print.c (Fwrite_char):
4178 * print.c (print_prepare):
4179 * print.c (canonicalize_printcharfun):
4180 * print.c (output_string):
4183 * opaque.c (allocate_managed_opaque):
4185 * offix.c (DndSetData):
4186 * objects.c (face_boolean_create):
4187 * objects.c (font_instantiate):
4188 * objects.c (font_create):
4189 * objects.c (color_create):
4190 * objects.c (finalize_font_instance):
4191 * objects.c (finalize_color_instance):
4193 * objects-x.c (x_font_instance_truename):
4195 * objects-x.c (x_initialize_font_instance):
4196 * objects-x.c (allocate_nearest_color):
4197 * objects-tty.c (tty_initialize_font_instance):
4198 * objects-tty.c (tty_initialize_color_instance):
4199 * objects-msw.c (mswindows_initialize_color_instance):
4200 * ntproc.c (syms_of_ntproc):
4201 * ntproc.c (Fwin32_set_process_priority):
4202 * ntproc.c (sys_spawnve):
4204 * ntheap.c (get_data_end):
4208 * nt.c (generate_inode_val):
4209 * nt.c (sys_rename):
4211 * mule-wnnfns.c (Fwnn_hinsi_number):
4212 * mule-wnnfns.c (Fwnn_yuragi):
4213 * mule-wnnfns.c (Fwnn_common_learn):
4214 * mule-wnnfns.c (Fwnn_suffix_learn):
4215 * mule-wnnfns.c (Fwnn_prefix_learn):
4216 * mule-wnnfns.c (Fwnn_okuri_learn):
4217 * mule-wnnfns.c (Fwnn_complex_conv):
4218 * mule-wnnfns.c (Fwnn_last_is_first):
4219 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4220 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4221 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4222 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4223 * mule-wnnfns.c (Fwnn_hinsi_list):
4224 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4225 * mule-wnnfns.c (Fwnn_dict_search):
4226 * mule-wnnfns.c (Fwnn_word_toroku):
4227 * mule-wnnfns.c (Fwnn_hindo_update):
4228 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4229 * mule-wnnfns.c (Fwnn_kakutei):
4230 * mule-wnnfns.c (Fwnn_begin_henkan):
4231 * mule-wnnfns.c (Fwnn_dict_comment):
4232 * mule-wnnfns.c (Fwnn_dict_add):
4233 * mule-wnnfns.c (Fwnn_open):
4234 * mule-mcpath.c (mc_getcwd):
4235 * mule-coding.c (vars_of_mule_coding):
4236 * mule-coding.c (convert_to_external_format):
4237 * mule-coding.c (encoding_marker):
4238 * mule-coding.c (decoding_marker):
4239 * mule-coding.c (Fcopy_coding_system):
4240 * mule-coding.c (Fmake_coding_system):
4241 * mule-coding.c (Fcoding_system_list):
4242 * mule-coding.c (Ffind_coding_system):
4243 * mule-coding.c (symbol_to_eol_type):
4245 * mule-charset.c (complex_vars_of_mule_charset):
4246 * mule-charset.c (vars_of_mule_charset):
4247 * mule-charset.c (Fset_charset_ccl_program):
4248 * mule-charset.c (struct charset_list_closure):
4249 * mule-charset.c (Ffind_charset):
4250 * mule-charset.c (make_charset):
4251 * mule-charset.c (non_ascii_valid_char_p):
4253 * mule-ccl.c (ccl_driver):
4254 * mule-canna.c (c2mu):
4255 * mule-canna.c (Fcanna_henkan_begin):
4256 * mule-canna.c (Fcanna_parse):
4257 * mule-canna.c (Fcanna_store_yomi):
4258 * mule-canna.c (Fcanna_touroku_string):
4259 * mule-canna.c (Fcanna_initialize):
4261 * menubar.c (menu_parse_submenu_keywords):
4262 * menubar-x.c (make_dummy_xbutton_event):
4263 * menubar-x.c (set_frame_menubar):
4264 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4267 * menubar-msw.c (mswindows_popup_menu):
4268 * menubar-msw.c (mswindows_update_frame_menubars):
4269 * menubar-msw.c (mswindows_handle_wm_command):
4270 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4271 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4272 * menubar-msw.c (update_frame_menubar_maybe):
4273 * menubar-msw.c (populate_or_checksum_helper):
4274 * menubar-msw.c (empty_menu):
4277 * marker.c (set_marker_internal):
4278 * marker.c (print_marker):
4281 * lstream.c (lisp_buffer_rewinder):
4282 * lstream.c (mark_lstream):
4284 * lrecord.h (struct lrecord_header):
4285 * lread.c (readevalloop):
4286 * lread.c (locate_file):
4287 * lread.c (locate_file_in_directory):
4288 * lread.c (Flocate_file):
4289 * lread.c (load_force_doc_string_unwind):
4290 * lread.c (ebolify_bytecode_constants):
4295 * linuxplay.c (linux_play_data_or_file):
4296 * linuxplay.c (audio_init):
4299 * keymap.c (describe_map):
4300 * keymap.c (describe_map_mapper):
4301 * keymap.c (Fdescribe_bindings_internal):
4302 * keymap.c (Fsingle_key_description):
4303 * keymap.c (map_keymap_sorted):
4304 * keymap.c (get_relevant_keymaps):
4305 * keymap.c (Flookup_key):
4306 * keymap.c (raw_lookup_key_mapper):
4307 * keymap.c (Fdefine_key):
4308 * keymap.c (Fevent_matches_key_specifier_p):
4309 * keymap.c (key_desc_list_to_event):
4310 * keymap.c (define_key_parser):
4311 * keymap.c (define_key_check_and_coerce_keysym):
4312 * keymap.c (keymap_submaps):
4313 * keymap.c (keymap_store_internal):
4314 * keymap.c (keymap_delete_inverse_internal):
4315 * keymap.c (keymap_store_inverse_internal):
4316 * keymap.c (print_keymap):
4317 * keymap.c (Lisp_Keymap):
4320 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4321 * insdel.c (make_gap):
4322 * input-method-xlib.c (get_XIM_input):
4323 * input-method-xlib.c (XIM_init_frame):
4328 * gui-x.c (button_item_to_widget_value):
4329 * gui-x.c (popup_selection_callback):
4330 * glyphs.h (struct image_instantiator_methods):
4331 * glyphs.c (mark_glyph_cachels):
4332 * glyphs.c (Fglyph_type):
4333 * glyphs.c (image_instantiate):
4334 * glyphs.c (image_create):
4335 * glyphs.c (make_image_instance_1):
4336 * glyphs.c (finalize_image_instance):
4338 * glyphs-x.c (finalize_subwindow):
4339 * glyphs-x.c (xface_validate):
4340 * glyphs-x.c (x_locate_pixmap_file):
4341 * glyphs-x.c (convert_EImage_to_XImage):
4343 * glyphs-msw.c (mswindows_resource_instantiate):
4344 * glyphs-msw.c (xpm_to_eimage):
4345 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4346 * glyphs-eimage.c (tiff_instantiate):
4347 * glyphs-eimage.c (png_instantiate):
4348 * glyphs-eimage.c (struct png_error_struct):
4349 * glyphs-eimage.c (gif_memory_storage):
4352 * getloadavg.c (getloadavg):
4355 * free-hook.c (log_gcpro):
4356 * free-hook.c (check_malloc):
4357 * free-hook.c (check_free):
4358 * free-hook.c (ROUND_UP_TO_PAGE):
4360 * frame.h (struct frame):
4362 * frame.c (change_frame_size_1):
4363 * frame.c (allocate_frame_core):
4365 * frame-x.c (x_focus_on_frame):
4366 * frame-x.c (x_init_frame_2):
4367 * frame-x.c (x_popup_frame):
4368 * frame-x.c (xemacs_XtPopup):
4370 * frame-x.c (Foffix_start_drag_internal):
4371 * frame-x.c (x_cde_destroy_callback):
4372 * frame-x.c (x_wm_hack_wm_protocols):
4373 * frame-tty.c (tty_frame_visible_p):
4374 * frame-msw.c (mswindows_make_frame_invisible):
4375 * frame-msw.c (mswindows_after_init_frame):
4376 * frame-msw.c (mswindows_init_frame_1):
4377 * fns.c (syms_of_fns):
4378 * fns.c (Fbase64_decode_string):
4380 * fns.c (Ffillarray):
4381 * fns.c (Fobject_plist):
4383 * fns.c (Fcanonicalize_lax_plist):
4384 * fns.c (Fcanonicalize_plist):
4385 * fns.c (Fplist_remprop):
4386 * fns.c (Fplist_get):
4387 * fns.c (advance_plist_pointers):
4388 * fns.c (internal_plist_put):
4389 * fns.c (Fnreverse):
4392 * fns.c (Fsubstring):
4393 * fns.c (Fbvconcat):
4395 * fns.c (length_with_bytecode_hack):
4396 * fns.c (print_bit_vector):
4398 * floatfns.c (Ffloor):
4400 * floatfns.c (in_float_error):
4401 * fileio.c (Ffile_modes):
4402 * fileio.c (Fexpand_file_name):
4403 * fileio.c (Fmake_temp_name):
4404 * fileio.c (Ffile_name_nondirectory):
4405 * fileio.c (Ffile_name_directory):
4407 * file-coding.c (vars_of_mule_coding):
4408 * file-coding.c (convert_to_external_format):
4409 * file-coding.c (encoding_marker):
4410 * file-coding.c (decoding_marker):
4411 * file-coding.c (Fcopy_coding_system):
4412 * file-coding.c (Fmake_coding_system):
4413 * file-coding.c (struct coding_system_list_closure):
4414 * file-coding.c (Ffind_coding_system):
4415 * file-coding.c (symbol_to_eol_type):
4417 * faces.h (struct face_cachel):
4418 * faces.c (vars_of_faces):
4419 * faces.c (face_property_was_changed):
4420 * faces.c (mark_face_cachels):
4421 * faces.c (temporary_faces_list):
4422 * faces.c (struct face_list_closure):
4424 * extents.h (struct extent):
4425 * extents.c (vars_of_extents):
4426 * extents.c (struct copy_string_extents_1_arg):
4427 * extents.c (add_string_extents_mapper):
4428 * extents.c (Fextent_property):
4429 * extents.c (Fset_extent_property):
4430 * extents.c (symbol_to_glyph_layout):
4431 * extents.c (properties_equal):
4432 * extents.c (print_extent):
4433 * extents.c (print_extent_1):
4434 * extents.c (extent_in_region_p):
4435 * extents.c (gap_array_make_gap):
4437 * events.h (struct Lisp_Event):
4439 * events.c (Fevent_properties):
4440 * events.c (format_event_object):
4441 * events.c (Fmake_event):
4442 * events.c (event_equal):
4443 * events.c (print_event):
4444 * events.c (mark_event):
4445 * event-stream.c ((read-char)
4446 * event-stream.c (vars_of_event_stream):
4447 * event-stream.c (syms_of_event_stream):
4448 * event-stream.c (Fset_recent_keys_ring_size):
4449 * event-stream.c (Fsit_for):
4450 * event-stream.c (Fnext_event):
4451 * event-stream.c (execute_help_form):
4452 * event-stream.c (maybe_kbd_translate):
4454 * event-msw.c (vars_of_event_mswindows):
4455 * event-msw.c (mswindows_wnd_proc):
4456 * event-msw.c (mswindows_need_event):
4457 * event-msw.c (mswindows_drain_windows_queue):
4458 * event-msw.c (mswindows_pump_outstanding_events):
4460 * event-msw.c (slurp_thread):
4461 * event-msw.c (struct ntpipe_slurp_stream):
4462 * event-msw.c (HANDLE_TO_USID):
4463 * event-Xt.c (emacs_Xt_handle_magic_event):
4464 * event-Xt.c (x_event_to_emacs_event):
4465 * event-Xt.c (x_reset_modifier_mapping):
4466 * event-Xt.c (x_reset_key_mapping):
4468 * eval.c (syms_of_eval):
4469 * eval.c (warn_when_safe):
4470 * eval.c (warn_when_safe_lispobj):
4471 * eval.c (Fbacktrace_frame):
4472 * eval.c (Fbacktrace):
4473 * eval.c (top_level_set):
4474 * eval.c (unbind_to_hairy):
4475 * eval.c (specbind_magic):
4476 * eval.c (specbind_unwind_wasnt_local):
4477 * eval.c (call2_trapping_errors):
4478 * eval.c (call1_trapping_errors):
4479 * eval.c (catch_them_squirmers_call2):
4480 * eval.c (call0_trapping_errors):
4481 * eval.c (run_hook_trapping_errors):
4482 * eval.c (catch_them_squirmers_eval_in_buffer):
4483 * eval.c (call4_in_buffer):
4484 * eval.c (call3_in_buffer):
4485 * eval.c (call2_in_buffer):
4486 * eval.c (call1_in_buffer):
4487 * eval.c (call0_in_buffer):
4488 * eval.c (run_hook):
4489 * eval.c (run_hook_with_args_in_buffer):
4492 * eval.c (do_autoload):
4493 * eval.c (un_autoload):
4494 * eval.c (Fautoload):
4495 * eval.c (Finteractive_p):
4496 * eval.c (Fcommand_execute):
4497 * eval.c (signal_quit):
4498 * eval.c (call_with_suspended_errors):
4499 * eval.c (signal_error):
4500 * eval.c (return_from_signal):
4501 * eval.c (Fcall_with_condition_handler):
4502 * eval.c (run_condition_case_handlers):
4503 * eval.c (condition_case_1):
4504 * eval.c (Funwind_protect):
4505 * eval.c (unwind_to_catch):
4506 * eval.c (internal_catch):
4507 * eval.c (Fmacroexpand_internal):
4508 * eval.c (Fuser_variable_p):
4509 * eval.c (Fdefconst):
4511 * eval.c (Ffunction):
4512 * eval.c (signal_call_debugger):
4513 * eval.c (call_debugger):
4516 * emacs.c (sort_args):
4520 * editfns.c (Fencode_time):
4521 * editfns.c (Fdecode_time):
4522 * editfns.c (Fuser_full_name):
4524 * editfns.c (save_excursion_restore):
4527 * doprnt.c (emacs_doprnt_1):
4528 * doc.c (verify_doc_mapper):
4529 * doc.c (Fsnarf_documentation):
4530 * doc.c (Fdocumentation):
4532 * dired.c (user_name_completion):
4533 * dired.c (Fdirectory_files):
4536 * dgif_lib.c (FreeSavedImages):
4537 * dgif_lib.c (DGifGetImageDesc):
4539 * device.h (struct device):
4540 * device.c (Fselect_device):
4541 * device.c (allocate_device):
4543 * device-x.c (Fx_keysym_on_keyboard_p):
4544 * device-x.c (Fx_valid_keysym_name_p):
4545 * device-x.c (x_IO_error_handler):
4546 * device-x.c (x_delete_device):
4547 * device-x.c (x_finish_init_device):
4548 * device-x.c (x_init_device):
4550 * device-msw.c (mswindows_init_device):
4552 * database.c (vars_of_database):
4553 * database.c (Fput_database):
4554 * database.c (Fopen_database):
4555 * database.c (berkdb_remove):
4556 * database.c (berkdb_put):
4557 * database.c (Fdatabasep):
4558 * database.c (print_database):
4560 * data.c (vars_of_data):
4561 * data.c (syms_of_data):
4562 * data.c (init_errors_once_early):
4563 * data.c (prune_weak_lists):
4564 * data.c (finish_marking_weak_lists):
4565 * data.c (print_weak_list):
4567 * data.c (Fstring_to_number):
4568 * data.c (Fnumber_to_string):
4569 * data.c (Findirect_function):
4572 * data.c (Fsubr_interactive):
4574 * data.c (Fkeywordp):
4577 * console.h (CONSOLE_NAME):
4579 * console.c (vars_of_console):
4580 * console.c (Fselect_console):
4582 * console-x.h (DEVICE_X_COLORMAP):
4583 * console-x.h (struct x_device):
4584 * console-x.c (x_device_to_console_connection):
4585 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4586 * console-tty.c (tty_init_console):
4588 * console-msw.h (struct mswindows_frame):
4591 * cmds.c (internal_self_insert):
4592 * cmds.c (Fforward_line):
4593 * cmds.c (Fforward_char):
4596 * chartab.c (mark_char_table_entry):
4598 * casefiddle.c (casify_word):
4599 * callproc.c (child_setup):
4600 * callproc.c (Fcall_process_internal):
4602 * callint.c (Fcall_interactively):
4604 * bytecode.c (execute_rare_opcode):
4605 * bytecode.c (execute_optimized_program):
4608 * buffer.h (BUFFER_REALLOC):
4609 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4610 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4612 * buffer.h (MAP_INDIRECT_BUFFERS):
4613 * buffer.h (CHECK_LIVE_BUFFER):
4614 * buffer.c (init_initial_directory):
4615 * buffer.c (complex_vars_of_buffer):
4616 * buffer.c (vars_of_buffer):
4617 * buffer.c (finish_init_buffer):
4618 * buffer.c (Fget_file_buffer):
4619 * buffer.c (Fbuffer_list):
4620 * buffer.c (mark_buffer):
4621 * balloon_help.c (balloon_help_move_to_pointer):
4622 * balloon_help.c (show_help):
4625 * alloc.c (garbage_collect_1):
4626 * alloc.c (sweep_strings):
4627 * alloc.c (sweep_compiled_functions):
4628 * alloc.c (sweep_bit_vectors_1):
4629 * alloc.c (sweep_vectors_1):
4630 * alloc.c (sweep_lcrecords_1):
4631 * alloc.c (tick_lcrecord_stats):
4632 * alloc.c (pure_string_sizeof):
4633 * alloc.c (mark_conses_in_list):
4634 * alloc.c (mark_object):
4635 * alloc.c (report_pure_usage):
4636 * alloc.c (make_pure_float):
4637 * alloc.c (make_pure_string):
4638 * alloc.c (free_managed_lcrecord):
4639 * alloc.c (mark_string):
4640 * alloc.c (noseeum_make_marker):
4641 * alloc.c (allocate_event):
4642 * alloc.c (Fbit_vector):
4643 * alloc.c (Fvector):
4644 * alloc.c (make_float):
4645 * alloc.c (Fmake_list):
4647 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4648 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4649 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4650 * alloc.c (dbg_constants):
4651 * alloc.c (gc_record_type_p):
4652 * alloc.c (free_lcrecord):
4653 * alloc.c (xmalloc):
4654 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4656 * Makefile.in.in (mostlyclean):
4657 * Makefile.in.in (external_client_xlib_objs_nonshared):
4658 * Makefile.in.in (temacs_link_args):
4659 * Makefile.in.in (release):
4660 * Makefile.in.in (dnd_objs):
4661 * Makefile.in.in (objs):
4662 * Makefile.in.in (PROGNAME):
4663 * EmacsShell.c: cast strings to (XtPointer)
4664 * EmacsFrame.c: cast strings to (XtPointer)
4666 - rewrite basic lisp functions for speed
4667 - rewrite bytecode interpreter for speed
4668 - rewrite list looping constructs for speed and safety using
4670 - use size_t where appropriate.
4671 - new hashtable implementation
4672 - cleanup implementation of opaques
4673 - opaques can now be purecopy'ed
4674 - move some cl functionality into C for speed.
4675 - remove last remaining VMS support
4677 - improve gdb/dbx debugger support
4678 - move pure.c back into alloc.c for performance
4679 - enable report_pure_usage() if --memory-usage-stats
4680 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4681 - don't use symbols with leading `_' or embedded `__'
4682 - globally cleanup duplicated semicolons `;;'
4683 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4685 - globally replace O_NDELAY with O_NONBLOCK.
4686 - globally replace CDISABLE with _POSIX_VDISABLE.
4687 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4688 - define (and maybe use!) STDERR_FILENO and friends.
4689 - add support for macros defined in C
4690 - `when', `unless', `not' and `defalias' now defined in C,
4691 so that they are universally available.
4692 - rename defvar_mumble to defvar_magic
4693 - rename RETURN__ to RETURN_SANS_WARNINGS
4694 - use consistent style of initial caps in error messages
4695 - implement last, butlast, nbutlast, copy-list in C.
4696 - provide typedefs for all struct Lisp_foo types
4697 - Lisp_Objects must be initialized to Qnil rather than 0.
4698 - make sure XEmacs runs (slowly) with always_gc == 1;
4699 - fast and safe LOOP_* macros
4700 - change calls to XSETOBJ to XSETFOO
4701 - replace calls to XSETINT by make_int()
4702 - plug up memory leaks
4703 - use style markobj (foo), not silly ((markobj) (foo))
4704 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4706 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4708 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4710 1998-11-28 SL Baur <steve@altair.xemacs.org>
4712 * XEmacs 21.2-beta4 is released.
4714 1998-11-27 SL Baur <steve@altair.xemacs.org>
4716 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4717 property in control-1 charset.
4718 From Julian Bradfield <jcb@daimi.au.dk>
4720 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4722 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4724 Add stub for :label.
4726 * gui.c (gui_item_add_keyval_pair): ditto.
4728 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4729 :key-sequence keyword.
4731 Support :active for submenus like the Windows code and FSF Emacs.
4733 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4735 * dired.c (make_directory_hash_table): make_string() is OK because
4736 readdir() Mule-encapsulates.
4738 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4740 * fns.c (Fbase64_encode_string): Fix docstring.
4741 (Fbase64_decode_string): Ditto.
4743 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4745 * editfns.c (Ftranslate_region): Use
4746 convert_bufbyte_string_into_emchar_string().
4748 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4750 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4752 (Ftranslate_region): Turn table into an array of Emchars for
4755 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4757 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4759 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4761 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4762 type `char' with nils.
4764 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4765 for tables of type `char'.
4767 1998-11-26 Didier Verna <verna@inf.enst.fr>
4769 * input-method-xlib.c (Initialize_Locale): don't call
4770 XtSetLanguageProc. We've done the whole work here.
4771 * input-method-xfs.c (Initialize_Locale): ditto.
4772 * input-method-motif.c (Initialize_Locale): ditto.
4774 1998-11-26 Didier Verna <verna@inf.enst.fr>
4776 * process-unix.c (unix_create_process): handle properly
4777 Vfile_name_coding_system for converting the program and directory
4780 1998-11-27 SL Baur <steve@altair.xemacs.org>
4782 * m/arm.h: New file.
4783 From James LewisMoss <dres@ioa.com>
4785 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4788 Fix the realpath() problem of UnixWare2.1.3.
4789 Patches for NEC's sysv4.2 machine.
4791 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4793 * dired.c (Fdirectory_files): Remove redundant code.
4795 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4797 * fns.c (free_malloced_ptr): New function.
4798 (XMALLOC_OR_ALLOCA): New macro.
4799 (XMALLOC_UNBIND): Ditto.
4800 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4801 to be freed in case of non-local exit.
4802 (Fbase64_encode_string): Ditto.
4803 (Fbase64_decode_region): Ditto.
4804 (Fbase64_decode_string): Ditto.
4805 (STORE_BYTE): New macro.
4806 (base64_decode_1): Use it.
4808 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4810 * fns.c (base64_value_to_char): Base64 stuff.
4812 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4814 * editfns.c (Fbuffer_substring): New function.
4816 * lisp.h: Declare make_string_from_buffer_no_extents().
4818 * insdel.c (make_string_from_buffer_1): New function.
4819 (make_string_from_buffer_no_extents): Ditto.
4821 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4823 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4824 sound work on AIX with OSS installed. Linux should still work.
4826 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4828 * config.h.in: name change for cygwin/version.h
4830 * configure.in: check for cygwin/version.h now.
4832 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4833 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4834 move cygwin32/version.h to cygwin/version.h
4836 1998-11-03 Olivier Galibert <galibert@pobox.com>
4838 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4841 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4843 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4844 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4845 enable BROKEN_SIGIO under b20 to make QUIT work.
4847 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4849 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4850 to fit within the constraints of the screen size. I.e. make the
4851 frame small enough to fit and move it if some of it will be
4854 1998-10-19 Greg Klanderman <greg@alphatech.com>
4856 * dired.c: conditionalize inclusion of user-name-completion
4857 primitives on non-Windows NT. The needed functions don't exist on NT.
4859 1998-11-24 SL Baur <steve@altair.xemacs.org>
4861 * gifrlib.h: Clean up types for 64 bit compile.
4862 * dgif_lib.c (DGifInitRead): Ditto.
4863 (MakeSavedImage): Ditto.
4864 * emacs.c (decode_path): Ditto.
4865 From Steve Carney <carney@pa.dec.com>
4867 1998-10-16 William M. Perry <wmperry@aventail.com>
4869 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4870 (cehckboxes instead of checkboxes).
4872 1998-10-15 SL Baur <steve@altair.xemacs.org>
4874 * XEmacs 21.2-beta3 is released.
4876 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4878 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4879 gnuclient. Otherwise, we run xemacs as we always did. This gets
4880 rid of the annoying DOS window when running gnuclient.
4882 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4884 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4885 HAVE_MS_WINDOWS typo.
4887 1998-10-13 SL Baur <steve@altair.xemacs.org>
4889 * process-unix.c (unix_send_process): Set closed flag on writable
4890 pipe after SIGPIPE is received and before we call deactivate_process.
4892 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4894 * window.c (Fset_window_start): respect narrowing when
4895 checking wheter start is at the beginning of a line.
4896 (Fset_window_buffer): Ditto
4897 Fixes repeatable crash in VM.
4899 1998-10-09 SL Baur <steve@altair.xemacs.org>
4901 * window.c (specifier_vars_of_window): Set default vertical
4902 divider width to 1 on ttys.
4904 1998-10-08 Martin Buchholz <martin@xemacs.org>
4909 Add <stddef.h> to get ptrdiff_t declaration
4911 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4913 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4914 is used for Motif or Lucid scrollbars under X.
4916 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4918 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4921 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4923 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4925 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4927 * s/cygwin32.h: more cygwin b20 reorganisation.
4929 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4931 * nas.c: Added necessary support functions to be able to handle
4932 WAVE files in memory, just like the support for SND files in
4935 1998-09-30 SL Baur <steve@altair.xemacs.org>
4937 * callproc.c (child_setup): Fix spelling typo.
4939 1998-09-29 SL Baur <steve@altair.xemacs.org>
4941 * XEmacs 21.2-beta2 is released.
4943 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4945 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4946 to prevent memory corruption in the case of jumping out of a series of
4947 nested match patterns. This is a rather brute force approach, though.
4949 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4951 * config.h.in: ditto.
4953 * s/cygwin32.h: rearrange declarations to cope with cygwin
4954 b20. Include cygwin32/version.h if it exists.
4956 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4958 * device-msw.c (mswindows_init_device): Call new
4959 mswindows_enumerate_fonts() function in objects-msw.c instead
4960 of font_enum_callback_1() to enumerate fonts.
4962 font_enum_callback_1() and _2() moved to objects-msw.c.
4964 * faces.c (complex_vars_of_faces): Make the mswindows default
4965 face font fully specified and provide some fallbacks.
4967 * objects-msw.c: font_enum_callback_1() and _2() moved here
4968 from objects-msw.c. Obtain the enumerated font's character
4969 sets by table lookup instead of using the locale-specific
4970 string provided by Windows.
4972 New public non-method mswindows_enumerate_fonts() that fills
4973 in the supplied mswindows device's font list.
4975 mswindows_initialize_font_instance: Use the supplied name
4976 variable instead of f->name when signalling errors. Match font
4977 weights and character sets using lookup tables which handle
4978 spaces instead of by frobbing.
4980 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4982 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4983 on the size of code fragments passed to run_in_other_process.
4985 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4986 the amount of memory to allocate in the other process.
4988 Removed sigkill_code_end(), sigint_code_end() and
4989 sig_enable_code_end() since they are now redundant.
4991 send_signal() and enable_child_signals(): Don't try to work
4992 out the end of the code fragments passed to
4993 run_in_other_process()
4995 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4997 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5000 * src/unexelf.c: Partially synched with FSF's 20.3.
5002 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5004 * insdel.c (signal_after_change): Map across indirect buffers
5005 here, and not in the upper-level functions.
5006 (signal_first_change): Don't check for Armageddon.
5007 (signal_before_change): Map across indirect buffers here.
5008 (prepare_to_modify_buffer): ...and here.
5010 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5012 * insdel.c (signal_after_change): Add return value.
5013 (buffer_insert_string_1): Use it.
5014 (buffer_delete_range): Ditto.
5015 (buffer_replace_char): Ditto.
5016 (cancel_multiple_change): Map the indirect buffers.
5018 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5020 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5021 (uninit_buffer_text): Ditto.
5023 * buffer.c (Fmake_indirect_buffer): Implement stricter
5026 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5028 * insdel.c (change_function_restore): Reverse order of
5029 function-call and assignment.
5030 (first_change_hook_restore): Ditto.
5032 * extents.c (mark_extent_auxiliary): Mark them.
5033 (Fset_extent_property): Set them.
5034 (Fextent_property): Get them.
5035 (Fextent_properties): Ditto.
5036 (vars_of_extents): Set their default.
5038 * extents.h (struct extent_auxiliary): Add before_change_functions
5039 and after_change_functions.
5041 * insdel.c (signal_before_change): Use it.
5042 (signal_after_change): Ditto.
5044 * extents.c (report_extent_modification): New function.
5046 * insdel.c (signal_before_change): Don't check for Armageddon.
5047 (signal_after_change): Ditto.
5049 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5051 * redisplay.c (redisplay_window): make sure a new starting point
5052 is chosen if it somehow got moved from the beginning of the line
5053 -- this can happen because Fwiden was called recently.
5055 * window.c (Fset_window_start): set start_at_line_beg correctly
5056 (Fset_window_buffer): Ditto
5058 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5060 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5061 (uninit_buffer_text): Ditto.
5063 * buffer.c (Fmake_indirect_buffer): Implement stricter
5066 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5068 * emacs.c (main_1): Removed references to *vars_of_filelock.
5070 * lisp.h: Added Fsystem_name.
5072 * filelock.c: Replaced by version from FSF 20.2. Now implements
5073 locking by using symlinks which is NFS safe. However keep the
5074 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5075 version (and of course use ansi C, acessor macros, etc).
5077 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5079 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5080 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5081 in init_signals_very_early. However these should not be passed
5082 on to children attached to the new pty.
5084 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5086 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5088 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5090 * fileio.c (file-name-directory, file_name_as_directory):
5091 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5093 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5095 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5097 * ralloc.c: uncomment __morecore.
5099 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5101 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5102 WriteFile() to fix a winsock 1.x bug on Win95.
5104 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5106 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5108 (x_event_to_emacs_event): Ditto.
5109 (emacs_Xt_handle_focus_event): Ditto.
5110 (emacs_Xt_handle_magic_event): Ditto.
5112 * console-x.h (struct x_device): New flag being_deleted.
5113 (DEVICE_X_BEING_DELETED): New macro.
5115 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5116 returning. Before doing that, set the being_deleted flag on the
5119 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5121 * device-x.c (x-seppuku-on-epipe): Removed.
5123 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5125 * frame-x.c (x_delete_frame): Flush the X output buffer after
5126 calling XtDestroyWidget to ensure that the windows are really
5129 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5131 * menubar-x.c (my_run_hook): New unused function.
5132 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5133 since we ignore the results of the contained functions anyway.
5135 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5137 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5138 interlaced GIF files that are smaller than 4 lines high...
5140 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5142 * buffer.c (map_over_sharing_buffers): Deleted.
5144 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5146 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5149 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5151 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5153 (buffer_delete_range): Ditto.
5155 * marker.c (init_buffer_markers): Set point-marker to the value of
5156 point in an indirect buffer.
5158 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5160 * undo.c (undo_prelude): Test last-undo-buffer against base
5163 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5165 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5167 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5169 * insdel.c (init_buffer_text): Initialize it here.
5171 * line-number.c: Address line_number_cache through buffer->text.
5173 * buffer.c (mark_buffer): Mark line number cache.
5175 * bufslots.h (line_number_cache): Move to struct buffer_text.
5177 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5178 across the children buffers.
5179 (buffer_delete_range): Ditto.
5180 (buffer_replace_char): Ditto.
5184 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5186 * buffer.c (Fmake_indirect_buffer): Uncomment.
5188 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5190 * macros.c (Fend_kbd_macro): Remove trailing period from error
5192 (Fexecute_kbd_macro): Ditto.
5194 1998-08-21 Greg Klanderman <greg@alphatech.com>
5196 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5197 (Fuser_name_completion_1): new function to return uniqueness
5198 indication in addition to the user name completion.
5199 (user_name_completion): change type of `uniq' argument.
5201 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5203 * lread.c (vars_of_lread): Removed `source-directory' variable.
5205 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5207 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5210 1998-08-19 SL Baur <steve@altair.xemacs.org>
5212 * dired.c (vars_of_dired): Fix misapplied patch.
5214 1998-08-16 Martin Buchholz <martin@xemacs.org>
5216 * fns.c (Fremrassq, remrassq_no_quit):
5217 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5219 1998-07-17 Didier Verna <verna@inf.enst.fr>
5221 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5222 style as foreground GC for faces that have the `dim' property.
5223 (x_output_string): when the `dim' face property is set,
5224 ensure the gray pixmap has been created, and get a proper
5225 foreground GC to draw the text.
5227 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5229 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5230 Manually track the state of the left and right Ctrl and Alt
5233 1998-08-07 Matt Stupple <matts@tibco.com>
5235 * ntproc.c: don't wait on char_consumed at thread entry.
5236 Additionally, to get the 'process' marked as finished, ensure
5237 that the CHILD_ACTIVE macro returns false, so before exiting
5238 close char_avail and set it to NULL, and close other handles
5239 to reduce handle leak problems.
5241 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5243 * menubar-msw.c (displayable_menu_item): take account of menu
5244 depth when deciding whether to try to display accelerators.
5246 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5248 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5251 * glyphs-msw.c: fix a couple of potential handle leaks.
5253 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5255 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5256 *decoding ONLY* back into the core.
5257 * glyphs-eimage.c: Change referenced header file for GIF
5258 reading to point to the incore version.
5260 1998-07-20 Martin Buchholz <martin@xemacs.org>
5262 * casefiddle.c (casify_object):
5263 Change algorithm from O(N**2) to O(N).
5267 1998-07-22 Greg Klanderman <greg@alphatech.com>
5269 * dired.c (file_name_completion_unwind): don't leak the cons.
5271 1998-07-20 Greg Klanderman <greg@alphatech.com>
5273 * dired.c (Fuser_name_completion): new function.
5274 (Fuser_name_all_completions): new function.
5275 (user_name_completion): new function.
5276 (syms_of_dired): 2 new DEFSUBRs.
5277 (vars_of_dired): initialize user name cache vars.
5279 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5281 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5282 colors taken from the default face. Also correct a thinko in
5283 transparency (not alpha) handling.
5285 1998-07-23 Martin Buchholz <martin@xemacs.org>
5287 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5288 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5289 * lread.c (Fload_internal): Be very careful with printfs of
5291 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5294 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5296 * callint.c (Fcall_interactively): GCPRO prompt string before
5297 passing it to Fread_key_sequence
5299 1998-07-27 SL Baur <steve@altair.xemacs.org>
5301 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5302 Vvertical_divider_map.
5304 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5305 Qnil or 0, none were initialized prior to this change.
5307 Rename misnamed `V' prefixed integer variables:
5308 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5309 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5310 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5311 Vcanna_ichiran_revLen.
5313 Rename misnamed `V' prefixed integer variables and initialize
5314 properly in the vars_of routine.
5315 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5316 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5317 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5318 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5319 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5320 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5321 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5322 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5323 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5324 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5325 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5326 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5327 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5328 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5329 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5330 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5331 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5332 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5333 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5334 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5335 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5336 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5337 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5338 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5339 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5340 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5341 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5342 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5343 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5344 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5345 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5346 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5347 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5348 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5349 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5350 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5351 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5352 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5353 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5354 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5355 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5356 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5357 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5358 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5359 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5360 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5362 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5364 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5365 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5366 keys thus no longer considering all keysyms on a key.
5368 1998-07-19 SL Baur <steve@altair.xemacs.org>
5370 * XEmacs 21.2-beta1 is released.
5372 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5374 * eldap.c (Fldap_search_internal): When converting the list of
5375 attributes to search Copy the final 0 from Lisp strings to C
5377 Check base, not Vldap_default_base as a a string
5379 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5381 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5383 * unexnt.c: Unconditionally define bss_start and bss_size, and
5384 ensure that they don't go in the .bss section.
5386 1998-07-17 Olivier Galibert <galibert@pobox.com>
5388 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5389 byte order is dependant of the local byte order).
5390 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5392 1998-07-18 SL Baur <steve@altair.xemacs.org>
5394 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5395 Qmswindows_resource.
5396 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5398 1998-07-12 SL Baur <steve@altair.xemacs.org>
5400 * general.c (syms_of_general): Add defsymbol for Qresource.
5402 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5403 Qmswindows_resource.
5404 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5405 (mswindows_resource_validate): Rename.
5406 (mswindows_resource_normalize): Rename.
5407 (mswindows_resource_possible_dest_types): Rename.
5408 (mswindows_resource_instantiate): Rename.
5409 (image_instantiator_format_create_glyphs_mswindows): Replace
5410 `resource' with `mswindows.resource'.
5412 * XEmacs 21.0-pre5 is released.
5414 1998-07-10 SL Baur <steve@altair.xemacs.org>
5416 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5417 server type in environment.
5418 Use alloca-ed strings instead of tiny fixed size ones.
5420 1998-07-09 SL Baur <steve@altair.xemacs.org>
5422 * XEmacs 21.0-pre4 is released.
5424 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5426 * fileio.c: (expand_file_name): under win32: Don't treat names
5427 as UNC names if a drive letter has been specified. If a drive
5428 has been specified, strip out extra directory-seperators that
5429 reportedly cause problems under Win95.
5431 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5433 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5434 MSVC >= 5.0. Put emacs init and zero-init data in a special
5435 section of the executable when this is defined.
5437 * unexnt.c, ntheap.h:
5438 Removed unused find_section() and get_section_size().
5441 Fix up the executable's checksum after dumping otherwise the
5443 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5444 zero-init data separately from init data. Dump emacs data
5445 into a special section of the executable.
5446 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5447 my_ebss instead of up to the end of bss.
5449 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5451 * filelock.c: Removed Vconfigure_lock_directory - already
5454 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5455 defined in frame.c and general.c respectively.
5457 * glyphs-msw.c: Removed Qresource - already defined in
5460 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5462 * eldap.c (Fldap_search_internal): Docstring fixes
5464 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5466 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5467 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5468 EMACSPACKAGEPATH and INFOPATH variables.
5469 Removed unused get_emacs_configuration function.
5471 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5472 it is now defined at build-time by the makefile.
5474 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5476 * fileio.c: (expand_file_name): under win32: Don't treat names as
5477 UNC names if a drive letter has been specified. If a drive has
5478 been specified, strip out extra directory-seperators that
5479 reportedly cause problems under Win95.
5481 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5483 * faces.c (complex_vars_of_faces): for the gui-element face don't
5484 fallback to the default face, instead provide reasonable default
5485 fallbacks that were previously hardcoded elsewhere.
5487 1998-07-06 Olivier Galibert <galibert@pobox.com>
5489 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5490 when the X server endianness is different than the client's one.
5492 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5494 * eval.c (run_hook_with_args_in_buffer): Check
5495 default (non-buffer-local) value of hook for
5496 nil before treating it as a function. Don't initialize
5497 the `globals' variable twice.
5499 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5501 * fileio.c: Don't do directory seperator canonicalisation in
5502 substitute-in-file-name because we don't know that the
5503 filename refers to a local file.
5505 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5507 * process-nt.c (nt_create_process): Try appending the standard
5508 executable file extensions to the filename if none supplied.
5510 1998-06-29 SL Baur <steve@altair.xemacs.org>
5512 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5514 From Keisuke Mori <ksk@ntts.com>
5516 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5518 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5519 images if we have masks. This handles the xbm case (have masks)
5520 and avoids overuse of resources in the xpm case (generally no masks).
5521 Don't output small toolbars.
5523 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5525 * eval.c (run_hook_with_args_in_buffer): Don't treat
5526 the default value of a buffer local hook as a list of
5527 hooks unless it is both a cons and the car of that cons
5530 1998-06-29 SL Baur <steve@altair.xemacs.org>
5532 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5533 * process-unix.c: Ditto.
5534 * mule-coding.h: Ditto.
5535 * mule-coding.c: Ditto.
5536 * mule-charset.c: Ditto.
5537 * mule-charset.h: Ditto.
5538 * file-coding.c: Ditto.
5539 * file-coding.h: Ditto.
5541 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5543 * event-msw.c: Guard against recursion when freeing
5544 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5546 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5547 Call ShowWindow twice in init_frame_3 to get round runemacs
5550 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5552 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5554 * winslots.h: Rename.
5556 * window.c (specifier_vars_of_window): Renamed
5557 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5558 as suggested by Ben Wing.
5559 (specifier_vars_of_window): Fix docstrings.
5561 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5563 * unexaix.c: Line number information works correctly again.
5565 1998-06-22 Olivier Galibert <galibert@pobox.com>
5567 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5569 1998-06-21 Martin Buchholz <martin@xemacs.org>
5571 * editfns.c (get_home_directory): ANSIfy.
5572 XEmacs is compilable under C *and* C++.
5573 It's XEmacs, not Xemacs!
5575 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5577 * console-msw.h: added a list of fonts to device data.
5579 * device-msw.c: enumerate list of available fonts in
5580 mswindows_init_device. Free list in mswindows_delete_device.
5582 * objects-msw.c: Added helper function match_font used by
5583 mswindows_initialize_font_instance and mswindows_list_fonts.
5584 Allow a charset to be specified in a font string, even if
5585 previous fields havn't been specified.
5587 1998-06-23 Greg Klanderman <greg@alphatech.com>
5589 * indent.c (column_at_point): column cache bugfix.
5590 Set last_known_column_point to the buffer position for
5591 which the column was requested, not buffer's point.
5593 * redisplay.c (decode_mode_spec): for current-column, show
5594 window's point's column, not buffer's point's column.
5596 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5598 * menubar-msw.c (mswindows_handle_wm_command): use
5599 enqueue_misc_user event rather than
5600 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5603 * console-msw.h: declare mswindows_enqueue_magic_event.
5605 * event-msw.c (mswindows_enqueue_magic_event): make global.
5607 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5609 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5610 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5611 (add_position_to_cache): Use EMACS_INT instead of int.
5613 1998-06-21 Olivier Galibert <galibert@pobox.com>
5615 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5616 suitable for an int used as a boolean (btw, C sucks.).
5618 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5620 * object-msw.c: remove warnings.
5622 * device-msw.c: #define wrongly named cygwin structure elements.
5624 * s/cygwin32.h: define DEMI_BOLD
5626 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5628 * redisplay-msw.c: new function mswindows_apply_face_effects.
5629 This is called by output_string and output_cursor to display
5630 underline and strikeout on faces.
5632 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5634 * console-msw.h: added a list of fonts to device data.
5636 * device-msw.c: enumerate list of available fonts in
5637 mswindows_init_device. Free list in mswindows_delete_device.
5639 * objects-msw.c: Added helper function match_font used by
5640 mswindows_initialize_font_instance and mswindows_list_fonts.
5641 Allow a charset to be specified in a font string, even if
5642 previous fields havn't been specified.
5644 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5647 Removed compilation warnings from mswindows_string_to_color.
5648 mswindows_list_fonts returns a more general bogus font.
5649 New lisp-visible function mswindows-color-list.
5651 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5653 * editfns.c (Fuser_login_name): Modify to user new function
5655 (user_login_name): C only function to avoid Lisp object overhead
5656 Returns "unknown" instead of nil in Cygwin environment
5658 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5659 equivalent for current user in Cygwin environment. Use new
5660 function user_login_name to get username.
5662 * lisp.h: Declare user_login_name
5664 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5666 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5668 Some other insignificant nitpicks.
5670 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5672 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5673 creating the image list and make sure he bk color is transparent.
5675 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5677 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5678 completed_timeouts. The timer could have expired.
5680 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5682 * console-msw.h: move XEMACS_RECT_WH inside frame
5683 parameters. define macors to access it.
5685 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5686 parameter to intialise desired sizing. (mswindows_init_frame_2):
5687 enable and size the frame to something sensible when we get
5688 here. (mswindows_set_frame_properites): use new
5689 mswindows_size_frame_internal function and size frame if frame
5690 parameters not just if init is finished - WM_SIZE happens too
5691 early for some specs. (mswindows_size_frame_internal): new
5692 function abstracted from mswindows_set_frame_properties.
5693 (Vmswindows_use_system_frame_size_defaults):
5694 new variable controls whether to allow the system to pick frame
5695 size defaults, defaults to nil.
5697 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5698 than duplicated code.
5700 1998-06-15 Colin Rafferty <colin@xemacs.org>
5702 * Makefile.in.in: Made EXTW_LINK expand properly.
5704 1998-06-12 Martin Buchholz <martin@xemacs.org>
5706 * redisplay.c (vars_of_redisplay): default value of
5707 column-number-start-at-one should be NIL!
5709 1998-06-11 Martin Buchholz <martin@xemacs.org>
5712 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5714 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5716 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5717 build_string to avoid crashes under Mule.
5719 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5721 * ntplay.c (play_sound_data_1): don't delete the sound data until
5722 the next sound is played and the previous one finished.
5724 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5726 * fileio.c (directory-sep-char): Escape backslashes.
5728 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5730 * event-stream.c: Fix docstring reference.
5732 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5734 * alloc.c (make_float): Remove useless initialization of `next'
5736 (make_pure_float): Ditto.
5738 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5740 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5742 * fileio.c (Fmake_directory_internal): Remove conditionals
5743 on WINDOWSNT when calling mkdir.
5745 * ntproc.c: Deleted the following unused functions:
5746 register_child, reap_subprocess, sys_wait.
5748 * nt.c (sys_rename): Ifzeroed this implementation.
5749 Deleted the following unused functions:
5750 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5751 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5752 sys_read, sys_write.
5753 Merger sys_fopen and sys_open with sysdep.c implementation.
5755 * sysdep.c: Removed MS-DOS code.
5756 (sys_rename): Deal with Microsoft rename weirdness.
5757 (sys_open): Implemented for Windows.
5761 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5763 * buffer.c (complex_vars_of_buffer): Removed %t description from
5766 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5768 * scrollbar-msw.c: initialize the cbSize element of the
5769 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5770 to ignore the value of cbSize, but Win95 (and I presume Win98)
5771 appear to want it set to sizeof(SCROLLINFO).
5773 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5775 * event-stream.c: Defined Qcancel_mode_internal.
5776 (syms_of_event_stream): defsymbol'ed it.
5778 * events.h: Externed it.
5780 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5782 1998-06-04 Oliver Graf <ograf@fga.de>
5784 * frame-x.c (x_cde_destroy_callback): free the data
5785 (cde-start-drag-internal) corrected root position, 21.1 needs this
5786 hardcoded in Button events
5787 (offix-start-drag-internal) corrected root position
5789 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5791 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5794 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5796 * dialog-msw.c (button_width): Removed `inline' from the function
5799 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5801 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5802 Note that adding this flag to subsequent frames causes problems.
5804 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5806 * glyphs-eimage.c (png_instantiate) move 'struct
5807 png_memory_storage tbr' out of nested block to avoid dangling
5810 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5813 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5814 inherits from gui-element.
5816 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5817 with existing code, generate masks correctly.
5819 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5821 * glyphs-eimage.c: Changed included header for gifs to use
5822 Gifreader instead of giflib.
5824 * glyphs-x.c: removed the image-related functions that were
5825 moved into glyphs-eimage.
5827 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5829 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5830 if built without X Windows support.
5832 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5834 * fns.c (Fconcat): Synch docstring with new reality.
5836 1998-06-03 SL Baur <steve@altair.xemacs.org>
5838 * frame.c: Remove reference to msdos.h (which is going away).
5839 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5841 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5843 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5847 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5849 * events.h: Fixed commentary about misc-user scrollbar events.
5851 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5852 object as an event channel, instead of window object.
5853 (x_update_horizontal_scrollbar_callback): Ditto.
5855 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5857 * ntplay.c (play_sound_data_1) new function. convert alloca data
5858 to malloc if necessary.
5859 (play_sound_file): if the file is not in our path then convert to
5862 1998-06-01 SL Baur <steve@altair.xemacs.org>
5864 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5865 * msdos.c (Frecent_doskeys): Ditto.
5867 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5868 Suggested by Reggie Perry <perry@zso.dec.com>
5870 * buffer.h: Eliminate size in declaration.
5872 1998-06-01 Olivier Galibert <galibert@pobox.com>
5874 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5876 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5878 * gui.c (gui_item_init): Changed the default value for config member
5879 from Qunbound to Qnil.
5881 1998-06-01 Greg Klanderman <greg@alphatech.com>
5883 * indent.c (vmotion_pixels): Don't #define abs().
5885 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5887 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5890 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5892 * glyphs.h: add xbm declarations.
5894 * console.h: add xbm_instantiate_method device method.
5896 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5897 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5898 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5899 locate_pixmap_file device method and read_bitmap_data_from_file
5900 instead of XmuReadBitmapDataFromFile.
5901 (xbm_instatntiate): make a device method.
5903 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5904 new function that just calls XmuReadBitmapDataFromFile.
5905 (x_xbm_instatntiate): device method from xbm_instantiate.
5907 * glyphs-msw.c (read_bitmap_data) (NextInt)
5908 (read_bitmap_data_from_file): new functions copied from Xmu
5910 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5911 inline data to an mswindows bitmap.
5912 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5913 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5916 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5918 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5919 `modeline-visible-p'.
5920 Declared specifier lisp variables at the beginning oh the file
5923 * procimpl.h (struct process_methods): Changed semantics of
5924 create_process method so it accepts lisp strings instead of
5927 * process.c (Fstart_process_internal): Moved building of
5928 unix style argv from here to process-unix.c, ...
5930 * process-unix.c (unix_create_process): ... right here.
5932 * process-nt.c (nt_create_process): Changed this function to
5933 support new semantics, so avoided a GC problem.
5935 * events.c (Fmake_event): Document misc-user events properties.
5936 (Fmake_event): Do not allow arbitrary objects for channel property
5937 of misc-user events.
5938 (Fmake_event): Change misc-user event validation: it is function
5939 which is required, not button.
5941 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5943 (mswindows_enqueue_misc_user_event): Added function.
5944 (mswindows_bump_queue): Removed function.
5945 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5946 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5947 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5948 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5949 really nothing, which is my personal favorite thing.
5951 * console-msw.h: Removed prototype for mswindows_bump_queue().
5952 Added prototype for mswindows_enqueue_misc_user_event().
5954 * menubar-msw.c (mswindows_handle_wm_command): Use
5955 mswindows_enqueue_misc_user_event().
5957 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5959 * dialog-msw.c (dialog_proc): Ditto.
5961 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5962 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5963 user events channel.
5965 1998-05-29 Greg Klanderman <greg@alphatech.com>
5967 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5968 incorrect semantics of vmotion_pixels which has been fixed. don't
5969 use it anymore as it can't easily be used.
5971 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5972 the motion was reported incorrectly if you tried to go past end of
5975 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5977 * toolbar.h: Removed misleading commentary, as Martin suggested.
5979 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5981 * lisp.h: Extern Qactivate_menubar_hook.
5983 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5986 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5988 * glyphs-msw.c: use BPLINE macro.
5990 * select-msw.c (mswindows-selection-exists-p)
5991 (mswindows-delete-selection): doc string fixes.
5993 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5994 unpressable. warning elimination.
5996 1998-05-28 Martin Buchholz <martin@xemacs.org>
5998 * alloc.c (dbg_constants):
6001 Remove toolbar_data debugging code, since that lrecord has
6004 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6006 * alloc.c: zap cached value of (user-home-directory), so that
6009 * buffer.c: From init_buffer(), separated out code that
6010 determined the initial directory for the *scratch* buffer, and
6011 put them into a function called "init_initial_directory()".
6012 The initial directory is now available as a global "char *"
6013 called initial_directory.
6015 * buffer.h: Added extern entries for initial_directory[] and
6016 init_initial_directory().
6018 * editfns.c: added new elisp function "user-home-directory",
6019 which basically returns getenv("HOME"), but attempts to use
6020 other values if $HOME isn't set.This may have to be tweaked in
6021 the future as, under Unix, "/" is used if $HOME isn't set (this
6022 probably should be set to the current directory). To support
6023 this, a new C function, "get_home_directory()", now exists,
6024 which returns the "home directory", as a "char *" string.
6026 * emacs.c: Rearrange NT initialization order so that
6027 environment/registry variables will be properly entered into
6028 Vprocess_enviroment.
6030 * fileio.c: replaced egetenv("HOME") with calls to the new
6031 get_home_directory().
6033 * lisp.h: Added function prototypes for uncache_home_directory()
6034 and get_home_directory(), along with lisp prototypes for
6035 Fuser_home_directory() and friends.
6037 * nt.c: replaced getenv("HOME") with calls to the new
6038 get_home_directory().
6040 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6041 warnings about getcwd(), etc. not having prototypes.
6043 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6045 * process-nt.c (send_signal): Emulate SIGHUP.
6046 (validate_signal_number): Ditto.
6048 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6049 remove MOD_SHIFT from ASCII characters.
6050 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6053 1998-05-24 Oliver Graf <ograf@fga.de>
6055 * frame-x.c (cde-start-drag-internal): added filename and multi-
6057 (x_cde_convert_callback) dito
6059 1998-05-26 Oliver Graf <ograf@fga.de>
6061 * frame-x.c: include event-mod.h also with CDE
6062 (x_cde_convert_callback) made the thing working
6063 (cde-start-drag-internal) also debugging
6065 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6072 - add __OpenBSD__ where __NetBSD__ was found.
6073 - TODO: replace platform-specific conditional compilation by
6074 feature tests in configure.in.
6076 1998-05-15 Greg Klanderman <greg@alphatech.com>
6078 * window.c (Fwindow_displayed_text_pixel_height): New function.
6079 (syms_of_window): DEFSUBR it.
6081 * indent.c (Fvertical_motion_pixels): New function - request
6083 (vmotion_pixels): helper.
6084 (syms_of_indent): DEFSUBR.
6085 * lisp.h: declaration for vmotion_pixels().
6087 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6088 to request returning motion in pixels.
6089 (Fvertical_motion_pixels): Remove, functionality merged into
6091 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6092 (Fmove_to_window_line): ditto.
6093 * lisp.h: Change declaration for Fvertical_motion.
6095 * window.c: rename window-text-pixel-{height,width,edges} to
6096 window-text-area-pixel-*.
6098 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6100 * tooltalk.c (vars_of_tooltalk) added staticpro for
6101 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6103 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6105 * faces.c: create a new 3d_object_face, make modeline and
6106 vertical_divider faces fallback to this rather than the default.
6108 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6110 * s/cygwin32.h: define charsets for cygwin.
6112 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6114 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6115 and coordinates. resize bitmaps if we have already settled on a
6118 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6120 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6122 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6124 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6128 * gui-x.c (popup_selection_callback): Ditto.
6130 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6132 * gui.c (get_callback): Renamed to get_gui_callback.
6134 1998-05-17 Martin Buchholz <martin@xemacs.org>
6136 * glyphs.h: order rearrangement.
6138 * device-tty.c (tty_asynch_device_change): Warning suppression.
6139 * device-x.c (x_device_system_metrics): Warning suppression.
6140 Make Doc strings consistent with coding standards.
6142 1998-05-24 Martin Buchholz <martin@xemacs.org>
6144 * general.c: multiple definition of `Qicon'. general.c seems
6145 like a good home for Qicon.
6147 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6149 * This patch is to fix compilation warnings under Windows.
6151 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6152 Added prototypes for FSF inherited functions, with which XEmacs is
6153 sprinkled thoroughly.
6154 Removed some #if 0 code. Bracketed some more definitions, probably
6155 related to Visual C versions prior to 4 (we do not support them).
6157 * sysfloat.h (logb): Finally, get logb() prototyped.
6159 * sysfile.h: Added Windows specific includes.
6160 Removed old Windows specific code bracketed with #if 0.
6162 * sysdep.h: Added prototype for xrealpath().
6164 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6166 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6167 vars_of_dired_mswindows and init_ntproc (Grrr).
6169 * realpath.c: Added Windows specific include files.
6170 (xrealpath): Conditionalized declaration of some auto variables on
6171 S_IFLNK, to avoid warnings.
6173 * ntproc.c: Disabled some compiler warnings. This file is going to
6174 die, so I have not cleaned it up much.
6175 (set_process_dir): Const parameter.
6176 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6177 (Fwin32_long_file_name): Ditto.
6178 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6181 * nt.h: Added prototypes for set_process_dir and convert_time.
6183 * nt.c: More include files.
6184 (getpwnam): Consted char* argument.
6185 (get_emacs_configuration): Const return value.
6186 (opendir): Const argument.
6187 (stat): Casted converstion long->short.
6188 (stat): Removed ad hoc and questionable support for non-MSC compile.
6189 (sys_pipe): Removed unused auto variable.
6190 (_sys_read_ahead): Removed calls to DebPrint.
6191 (sys_read): Ditto, in 2 places.
6192 (term_ntproc): Added unused int parameter to signal handler, to
6193 avoid a warning when compiling a call to signal().
6194 (msw_sigset): Properly return old signandler or NULL instead of void.
6196 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6198 * gmalloc.c (morecore): Ditto.
6199 (_free_internal): Ditto.
6201 * lread.c (parse_integer): Ditto.
6203 * dired-msw.c: Added several include files.
6205 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6206 of Compilers to Shut Up.
6208 * callproc.c: Added #includes to suppress warnings under Windows.
6209 (init_callproc): Removed #if0'ed code and unused variables.
6211 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6213 * device-msw.c (mswindows_device_system_metrics): do planes in a
6214 way consistent with X.
6216 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6217 use SetPixel, use DIBits functions.
6218 (xpm_to_eimage): frob colors more closely like xpm deos.
6220 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6221 to be closer to X version.
6223 * event-msw.c: use tooltip string directly.
6225 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6227 * objects-msw.c: frob rgb colors that only Kyle uses.
6229 * dialog-msw.c (button_width): INLINE -> inline.
6231 1998-05-23 SL Baur <steve@altair.xemacs.org>
6233 * getloadavg.c (getloadavg): Fix typo.
6235 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6237 * objects-msw.c (mswindows_initialize_font_instance): Added support
6238 for font character sets.
6239 Replaced 'XXX' with '####' in comments throughout the file.
6241 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6243 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6244 console_type_create_dialog_mswindows(), to initialize Windows dialog
6247 * symsinit.h: Prototyped the above functions.
6249 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6250 checks to dialog.c...
6252 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6253 device must support dialog boxes, and the descriptor must supply at
6256 * dialog-msw.c: New file, dialogs for Windows.
6258 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6260 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6261 (Fldap_search_internal): Removed unused variable `err'
6263 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6266 1998-05-17 Martin Buchholz <martin@xemacs.org>
6268 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6269 defined. Therefore there is no need to handle the case when
6270 HAVE_LDAP is undefined. Similarily, there is no reason to have
6271 any code wrapped within `#ifdef emacs', since this code is only
6272 useful within an emacs. This simplifies the code significantly.
6274 * inline.c: Include eldap.h only if HAVE_LDAP.
6275 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6278 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6280 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6281 printing dump stats when building without DEBUG_XEMACS.
6282 (dump_bss_and_heap): Ditto.
6284 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6286 * gnuclient.c: don't suppress window system if there is no display
6287 and we are running under mswindows. send 'mswindows device type if
6288 we are in this situation.
6290 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6293 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6295 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6298 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6300 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6301 {top,bottom}-{left,right} values in addition to
6302 {top,bottom}_{left,right}.
6304 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6306 * fileio.c (Fmake_temp_name): Remove unreached code.
6308 * process-nt.c (validate_signal_number): Use
6309 signal_simple_error().
6311 1998-05-19 Martin Buchholz <martin@xemacs.org>
6314 * sound.c (vars_of_sound):
6315 * sysdep.c (reset_sigio_on_device):
6316 * window.c (window_bottom_gutter_height):
6317 unexhp9k800.c:258: warning: implicit declaration of function
6318 `calculate_checksum'
6319 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6320 sysdep.c:1012: warning: unused variable `owner'
6321 window.c:993: warning: `window_right_toolbar_width' defined but not used
6323 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6325 * glyphs-msw.c (mswindows_create_resized_mask)
6326 (mswindows_create_resized_bitmap): new funnctions split out from
6327 mswindows_resize_dibitmap_instance.
6329 * glyphs-msw.h: declare new resize functions.
6331 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6332 functions so that the original bitmaps are preserved.
6334 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6336 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6337 color if we are trying to output 0 depth bg pixmap.
6339 * scrollbar-msw.c: warning elimination.
6341 1998-05-18 Martin Buchholz <martin@xemacs.org>
6343 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6344 directives in column 1.
6346 * search.c (skip_chars): Avoid using xzero with arrays, since some
6347 compilers get confused by the construct &array.
6349 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6352 * objects-msw.c: Changed the charset value for a new font from
6353 "don't care" to "ansi".
6355 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6357 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6359 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6360 modifier on control chars.
6361 Use IsCharAlpha() instead of isaplha().
6363 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6365 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6367 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6369 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6370 charset when creating font.
6371 (mswindows_initialize_color_instance): Do not create brush along
6373 (mswindows_finalize_color_instance): Do not delete it then.
6375 * objects-msw.h (struct mswindows_color_instance_data): Removed
6376 brush slot, and corresponding accessor macro.
6378 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6380 * toolbar.c: Removed toolbar_data lrecord implementation.
6381 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6382 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6383 (compute_frame_toolbar_buttons): Ditto.
6384 (CHECK_TOOLBAR): Ditto.
6385 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6386 (update_frame_toolbars): Do not check for changed buffer
6387 here. Toolbar information is provided by cached specs in
6388 windows. The check for buffer is eliminated becuase toolbars are
6389 marked changed in set_frame_selected_window() in frame.c
6390 Added check for changed toolbars geometry.
6391 (compute_frame_toolbars_data): Removed unused second parameter;
6392 Adjusted callers of this static function throughout the file.
6393 (init_frame_toolbars): Initialize current_toolbar_size.
6394 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6395 what is its current expansion, for clarity.
6396 (init_frame_toolbars): Ditto.
6397 (init_device_toolbars): Ditto.
6398 (init_global_toolbars): Ditto.
6400 * toolbar.h: Removed definition of toolbar_data lrecord.
6401 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6402 FRAME_CURRENT_TOOLBAR_SIZE.
6403 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6405 * toolbar-x.c (x_output_toolbar): The same change as in
6407 (x_output_toolbar): Ditto.
6408 (x_redraw_exposed_toolbar): Ditto.
6410 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6411 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6412 (mswindows_output_toolbar): Ditto.
6413 (mswindows_output_toolbar): Ditto.
6415 * frame.c (mark_frame): Removed marking of arrays, according to
6416 frameslots.h change.
6417 (nuke_all_frame_slots): Ditto.
6418 (set_frame_selected_window): Mark toolbars changed when
6419 last_nonminibuf_window changes.
6421 * frame.h (struct frame): Moved some slots to frameslots.h.
6422 Added current_toolbar_size array.
6423 Changed references from toolbar_data to toolbar_buttons in macros
6424 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6425 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6426 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6428 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6429 Moved arrays of lisp objects here from frame.h: toolbar_size,
6430 toolbar_visible_p, toolbar_border_width.
6431 Removed toolbar_data slot and added toolbar_buttons.
6433 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6435 * symsinit.h: Externed syms_of_process_nt()
6437 * emacs.c (main_1): Call syms_of_process_nt()
6439 * process-nt.c: Quote process arguments by a call to Lisp function
6440 `nt-quote-process-args'.
6441 (syms_of_process_nt): New function.
6442 (nt_send_process): Flush data stream after each write, to avoid
6443 leaving buffered data.
6444 (nt_send_process): When blocked on process output, wait for
6445 process to slurp more for progressively increasing time intervals.
6447 1998-05-17 Martin Buchholz <martin@xemacs.org>
6449 * window.c (have_undivided_common_edge): Make file-local function
6451 (map_windows): Return 0 if all map functions successful.
6454 * winslots.h: Use unlikely names for local variables in macros to
6455 avoid shadowing warnings.
6457 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6459 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6460 so that we re-output if the toolbar size has changed.
6462 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6464 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6466 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6468 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6471 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6473 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6474 get bitmap manifest constants defined.
6476 * console-msw.h: Include system files in angle brackets, not in
6479 * window.c (specifier_vars_of_window): Fixed a typo in
6480 `vertical-divider-line-width' docstirng.
6482 1998-05-16 Olivier Galibert <galibert@pobox.com>
6484 * line-number.c (delete_invalidate_line_number_cache): Use an
6486 (buffer_line_number): Remove dangerous, plain wrong when using
6487 64bits emacs ints, cast.
6489 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6491 * cmds.c (Fforward_line): Use EMACS_INTs.
6493 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6494 (scan_buffer): Ditto.
6495 (bi_find_next_newline_no_quit): Remove useless cast.
6496 (find_next_newline_no_quit): Ditto.
6497 (find_next_newline): Ditto.
6498 (find_before_next_newline): Use an EMACS_INT.
6500 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6502 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6504 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6506 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6508 * gui-x.c (popup_selection_callback): Use it.
6510 * gui.h (get_callback): Declare it.
6512 * gui.c (get_callback): New function.
6514 1998-05-15 SL Baur <steve@altair.xemacs.org>
6516 * window.c (have_undivided_common_edge): Guard scrollbar specific
6518 (window_needs_vertical_divider_1): Ditto.
6520 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6522 * emacs.c (decode_path): Eliminate compiler warning.
6523 (Fdecode_path): Renamed to Fsplit_path.
6524 (Fsplit_string_by_char): New function.
6526 1998-05-14 Damon Lipparelli <lipp@primus.com>
6528 * winslots.h: close comment
6530 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6532 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6534 * bufslots.h: Removed buffer_file_type slot.
6536 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6538 (complex_vars_of_buffer): Removed buffer-file-type variable and
6539 its default reference.
6541 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6543 * faces.c (complex_vars_of_faces): Defined
6544 Vvertical_divider_face.
6545 (vars_of_faces): Staticpro it.
6547 * faces.h: Externed Vvertical_divider_face.
6549 * redisplay-x.c (x_output_vertical_divider): Use
6550 Vvertical_divider_face to draw the divider instead of modeline
6553 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6554 divider face using Vvertical_divider_face background.
6555 Fix drawing spacing gaps around the divider.
6557 1998-05-14 Didier Verna <verna@inf.enst.fr>
6559 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6560 values for the vertical divider line width and spacing. Use the
6561 cached values from the window structure instead.
6562 (x_divider_width): ditto.
6564 * window.c (specifier_vars_of_window): new specifiers:
6565 vertical-divier -line-width and -spacing.
6566 (vertical_divider_global_width_changed): formerly known as
6567 vertical_divider_shadow_thickness_changed.
6569 * winslots.h: new slots: vertical_specifier _line_width and
6570 _spacing. Plus corrected a comment typo.
6572 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6574 * window.h: Declared window_divider_width().
6576 * console-stream.c (stream_divider_width): Removed method.
6577 (console_type_create_stream): And declaration for it.
6579 * redisplay.c (pixel_to_glyph_translation): Use
6580 window_divider_width() instead of divider_width redisplay method.
6581 (pixel_to_glyph_translation): Fix top divider edge calculation
6582 when scrollbar is on top.
6584 * window.c (window_divider_width): New function, an outphaser for
6585 divider_width redisplay method.
6586 (window_right_gutter_width): Use it.
6587 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6588 specifiers, set fallback values differently on TTYs, and document
6589 the behavior of these on TTYs in the docstrings.
6591 * scrollbar.c (update_scrollbar_instance): Use
6592 window_divider_width() instead of divider_width redisplay method.
6594 * console.h (struct console_methods): Removed divider_width_method.
6596 * redisplay-tty.c (tty_divider_width): Removed device method.
6597 (console_type_create_redisplay_tty): Removed definition for it.
6598 (tty_output_vertical_divider): Respect the value returned by
6599 window_divider_width thus divider line width specification.
6601 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6602 (console_type_create_redisplay_mswindows): Removed definition for it.
6603 (mswinodws_output_vertical_divider): Respect the value returned by
6604 window_divider_width thus divider line width specification.
6606 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6608 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6610 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6612 * glyphs-msw.c: resource loading implementation.
6613 (cursor_normalize): new function.
6614 (cursor_validate): ditto.
6615 (cursor_instantiate): ditto.
6616 (cursor_name_to_resource): ditto.
6617 (cursor_possible_dest_types): ditto.
6618 (check_valid_symbol): ditto.
6619 (check_valid_string_or_int): ditto.
6621 1998-05-14 Martin Buchholz <martin@xemacs.org>
6623 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6626 * process-unix.c (process_signal_char): Use VSUSP instead of
6627 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6629 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6631 * specifier.c (specifier_instance): Change locale precedence of
6632 instantiation so window locale has higher priority than buffer
6634 (Fspecifier_instance): Reflect this in docstring.
6635 (Fadd_spec_list_to_specifier): Ditto.
6636 (Fadd_spec_to_specifier): Ditto.
6637 (Fremove_specifier): Ditto.
6639 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6641 ** Dialog separation into a device method from Andy Piper
6643 * emacs.c (main_1): Call console_type_create_dialog_x().
6645 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6646 into this device method.
6647 (console_type_create_dialog_x): New function.
6649 * dialog.c (Fpopup_dialog_box): New function.
6650 (syms_of_dialog): Defsubr it.
6652 * console.h (struct console_methods): Declared
6653 popup_dialog_box_method().
6655 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6657 1998-05-14 Oliver Graf <ograf@fga.de>
6659 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6660 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6662 1998-05-13 Oliver Graf <ograf@fga.de>
6664 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6666 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6668 * console.h (device_metrics): Removed dbcs, input-method-editor
6669 and right-to-left metrics.
6671 * device.c (Fdevice_system_metric): Ditto.
6672 (Fdevice_system_metrics): Ditto.
6673 (syms_of_device): Ditto.
6674 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6677 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6679 * line-number.h (mark_line_number_cache): Remove unused
6682 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6683 (get_nearest_line_number): Simplify.
6684 (add_position_to_cache): Make the old marker point nowhere.
6686 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6688 ** Renamed window-divider-map => vertical-divider-map
6689 and event-over-divider-p => event-over-vertical-divider-p,
6690 in the following files/functions:
6692 * events.c (Fevent_over_divider_p):
6693 * keymap.c (get_relevant_keymaps):
6696 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6698 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6700 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6702 * window.c (vertical_divider_changed_in_window): Renamed so.
6703 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6704 (window_needs_vertical_divider_1): Decide whether we need it based
6705 on the value of the above specifier. If separators are unwanted,
6706 put them only if there's no scrollbar between this window and its
6708 (have_undivided_common_edge): New function, helper for the above.
6709 (window_needs_vertical_divider): Return either a cached value,
6710 or clauclate and cache one.
6711 (invalidate_vertical_divider_cache_in_window): Implemented.
6712 (map_windows): Changed return type to int, return the value from
6715 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6716 (struct window): Added need_vertical_divider_p and
6717 need_vertical_divider_valid_p.
6719 * winslots.h: Added vertical_divider_draggable_p slot.
6721 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6722 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6724 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6726 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6727 invalidate_vertical_divider_cache_in_frame().
6730 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6732 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6734 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6735 masks correctly and don't select 0.
6737 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6739 * winslots.h: New file, declaration of some struct window and
6740 struct saved_window members.
6742 * window.h (struct window): Include it, with required preprocessor
6745 * window.c (mark_window): Ditto.
6746 (allocate_window): Ditto.
6747 (struct saved_window): Ditto.
6748 (mark_window_config): Ditto.
6749 (saved_window_equal): Ditto.
6750 (Fset_window_configuration): Ditto.
6752 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6754 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6756 1998-05-12 Didier Verna <verna@inf.enst.fr>
6758 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6759 the divider line. The shadow thickness is currently
6760 hard-wired. This will probably be turned into a specifier soon.
6762 1998-05-12 Didier Verna <verna@inf.enst.fr>
6764 * console.h (struct console_methods): the divider_width console
6765 method now requires a struct window * argument.
6767 * redisplay-x.c (x_divider_width): ditto. Plus remove
6768 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6769 (x_output_vertical_divider): give a depressed look when the shadow
6770 thickness is negative.
6772 * console-stream.c (stream_divider_width): pass a struct window *
6775 * redisplay-tty.c (tty_divider_width): ditto.
6777 * window.c (window_right_gutter_width): totdi.
6779 * redisplay.c (generate_modeline): ittod.
6781 * scrollbar.c (update_scrollbar_instance): ttido.
6783 * redisplay-msw.c (mswindows_divider_width): ottid.
6784 WARNING: this enables to compile, but the feature is not functional.
6786 * window.h (struct window): new field
6787 vertical_divider_shadow_thickness.
6789 * window.c (specifier_vars_of_window): new specifier
6790 vertical-divider-shadow-thickness.
6791 (vertical_divider_shadow_thickness_changed): new function to
6792 inform redisplay that the window has changed.
6793 (mark_window): handle new field vertical_divider_shadow_thickness
6795 (allocate_window): ditto.
6796 (saved_window_equal): toddi.
6797 (Fset_window_configuration): totid.
6798 (save_window_save): ttdio.
6799 (struct saved_window): new field vertical_divider_shadow_thickness.
6801 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6803 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6806 1998-05-12 Oliver Graf <ograf@fga.de>
6808 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6809 * event-Xt.c (x_event_to_emacs_event): C++ compability
6811 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6813 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6816 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6818 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6821 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6823 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6825 * emacs.c (decode_path_1): New function.
6826 (decode_path): Use it.
6827 (Fdecode_path): Renamed from Fdecode_path_internal; use
6830 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6832 * macros.c (Fzap_last_kbd_macro_event): New function.
6833 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6835 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6837 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6838 multiple bitmaps are output vertically as well as horizontally.
6839 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6840 crossing lines this is handled by
6841 mswindows_output_dibitmap_region.
6843 1998-05-12 Martin Buchholz <martin@xemacs.org>
6845 * inline.c: Include eldap.h
6847 * menubar-x.c (x_update_frame_menubar_internal):
6848 Remove: unused variable `container'
6850 1998-05-11 Martin Buchholz <martin@xemacs.org>
6852 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6853 Unfortunately, the resulting temacs still cannot dump.
6855 * symbols.c (symbol_is_constant):
6856 (verify_ok_for_buffer_local):
6857 -Wswitch Warning suppression - add default case to switches.
6859 * redisplay.c (decode_mode_spec): Remove unused variables,
6860 Replace Fcoding_system_property (codesys, Qmnemonic) with
6861 XCODING_SYSTEM_MNEMONIC (codesys);
6862 Fcoding_system_property is for users.
6868 Change empty docstrings into no doc strings at all.
6869 Fix bogus FSF-format docstrings.
6872 Standardize docstrings.
6875 Explain problems with matherr.
6877 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6880 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6881 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6882 Fix the weird resultant interaction (causes windows problems)
6886 Take new EMACSBOOTSTRAPLOADPATH into account.
6887 Update documentation strings
6890 - Adjust for luser's CDPATH being set to something weird.
6891 - Take into account bash 2.02's tendency to print the cwd when
6892 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6893 - fix the run-temacs target to use $(DUMPENV)
6894 - fix the run-puremacs target to use $(DUMPENV)
6895 - fix the `depend' target to properly $(RM) the right files
6896 - Generate a better TAGS file for XEmacs' lisp code using
6897 hand-crafted regexps.
6898 - Use standard coding conventions for modules/Makefile.in
6900 1998-05-12 Didier Verna <verna@inf.enst.fr>
6902 * redisplay.c: removed the scrolling modeline code that didn't
6903 make it for 21.0. To be continued ...
6905 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6907 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6908 and empty string inputs.
6910 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6912 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6914 1998-05-10 Oliver Graf <ograf@fga.de>
6916 * event-stream.c (enqueue_misc_user_event_pos): created
6917 * lisp.h (enqueue_misc_user_event_pos): prototype added
6918 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6919 * emacs.c: call vars_of_dragdrop
6920 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6922 1998-05-11 Oliver Graf <ograf@fga.de>
6924 * frame-x.c (x_cde_transfer_callback): return at correct pos
6925 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6926 object for MIME (see comment in dragdrop.c)
6927 * dragdrop.c: API change documented in comment
6928 removed provide of dragdrop [is provided by dragdrop.el]
6930 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6932 * window.c (window_needs_vertical_divider): Enable vertical
6933 dividers for every non-rightmost window.
6934 (window_left_gutter_width): Left gutter consists of mythical
6935 toolbar and a virtual scrollbar.
6936 (window_right_gutter_width): The right one may have a divider
6939 * scrollbar.c (update_scrollbar_instance): Position vertical
6940 scrollbar left to divider if the latter present.
6942 * redisplay.h: Declared OVER_DIVIER constant.
6944 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6947 * redisplay-x.c (x_output_vertical_divider): Output divider along
6948 the right side of the window, down to window bottom. Swapped
6949 foreground and background colors so it is visible by default.
6951 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6952 stick the divider to the right window side.
6954 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6956 (mswindows_divider_width): Ask system for user preferred value.
6957 (mswindows_output_vertical_divider): Always output the divider on
6958 the right side of a window, down to bottom.
6960 * keymap.c (get_relevant_keymaps): Route mouse button events which
6961 happened over a window divider through window-divider-map.
6962 (Fkey_binding): Documented that in the docstring.
6963 Defined the variable Vwindow_divider_map.
6965 * events.c (Fevent_over_divider_p): Added this function.
6967 * events.h: EXFUNed it.
6969 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6971 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6972 toolbar geometry is suspected to change.
6974 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6978 Condition dnd and dde code on HAVE_DRAGNDROP.
6980 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6982 * events.c (format_event_object): Print space as SPC etc.
6984 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6986 * print.c (print_internal): In the default case, abort() if
6987 ERROR_CHECK_TYPECHECK.
6989 * fileio.c (Fmake_temp_name): Doc fix.
6991 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6993 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6995 * undo.c (Fprimitive_undo): Fixed typo.
6997 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6999 * fns.c (concat): Signal error on integer argument.
7001 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7003 * console.h (device_metrics): Prefixed each constatnt with DM_
7005 * device.c: (Fdevice_system_metric): Renamed so from plural form
7006 (metrics); Changed parameters order and added DEFAULT parameter;
7007 Unabbreviated some metric constants; Fixed and untabified doc string.
7008 (Fdevice_system_metrics): Added. Returns a plist of all provided
7011 * device-msw.c (mswindows_device_system_metrics): Renamed
7012 device_metrics enum constants.
7013 Return Qunbound instead of Qnil.
7015 * device-tty.c (tty_device_system_metrics): Ditto.
7017 * device-x.c (x_device_system_metrics): Ditto.
7019 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7021 * redisplay-msw.c: implement background pixmaps (really!). Make
7022 sure bg color is transparent if we have bg pmaps.
7023 * (mswindows_output_string) (mswindows_clear_region): output bg
7025 * (mswindows_output_dibitmap_region): new function.
7026 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7027 the bg color rather than transparently.
7029 * toolbar-msw.c: use masks if they exist.
7031 * glyphs-msw.c: set up masks correctly.
7033 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7035 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7037 * regex.c (re_match_2_internal): Check for quit.
7039 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7041 * frame.c (Ffocus_frame): New function.