1 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4 (Vcharset_katakana_jisx0208): New variable.
5 (Qhiragana_jisx0208): New variable.
6 (Qkatakana_jisx0208): New variable.
7 (make_charset): Add new argument `byte_offset'.
8 (charset_get_byte1): Modify for new coded-charset definition; use
9 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
10 `XCHARSET_BYTE_OFFSET'.
11 (Fmake_charset): Modify for `make_charset'.
12 (Fmake_reverse_direction_charset): Likewise.
13 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
15 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
16 `.' in font registry of charset `katakana-jisx0201',
17 `latin-jisx0201', `vietnamese-viscii-lower' and
18 `vietnamese-viscii-upper'; modify DOC-string of charset
19 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
20 registry of charset `japanese-jisx0208' not to use font for JIS
21 X0208:1990; add new charset `hiragana-jisx0208' and
24 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
25 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
26 (struct Lisp_Charset): Add `byte_offset'.
27 (CHARSET_BYTE_OFFSET): New macro.
28 (XCHARSET_UCS_MIN): New macro.
29 (XCHARSET_UCS_MAX): New macro.
30 (XCHARSET_CODE_OFFSET): New macro.
31 (XCHARSET_BYTE_OFFSET): New macro.
32 (MIN_CHAR_HIRAGANA): New macro.
33 (MAX_CHAR_HIRAGANA): New macro.
34 (MIN_CHAR_KATAKANA): New macro.
35 (MAX_CHAR_KATAKANA): New macro.
36 (MAKE_CHAR): Modify for new coded-charset definition; use
37 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
38 `XCHARSET_BYTE_OFFSET'.
40 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
42 * mule-charset.c (CHAR96): Deleted.
43 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
45 (latin_iso8859_2_to_ucs): Likewise.
46 (latin_iso8859_3_to_ucs): Likewise.
47 (latin_iso8859_4_to_ucs): Likewise.
48 (latin_iso8859_9_to_ucs): Likewise.
49 (latin_viscii_lower_to_ucs): Likewise.
50 (latin_viscii_upper_to_ucs): Likewise.
51 (latin_tcvn5712_to_ucs): Commented out.
52 (make_charset): Change type of argument `decoding_table' from
53 <Emchar*> to <Lisp_Object> [vector of characters].
54 (Fmake_charset): Modify for `make_charset'.
55 (Fmake_reverse_direction_charset): Likewise.
56 (Fcharset_mapping_table): New function in UTF-2000.
57 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
59 (complex_vars_of_mule_charset): Modify for type change of
60 `*_to_ucs'; modify for `make_charset'.
62 * char-ucs.h (struct Lisp_Charset): Change type of
63 `decoding_table' from <Emchar*> to <Lisp_Object>.
64 (MAKE_CHAR): Modify for new specification of `decoding_table'.
66 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
68 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
69 error with non-UTF-2000-Mule.
71 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
75 (Vcharset_chinese_cns11643_4): Likewise.
76 (Vcharset_chinese_cns11643_5): Likewise.
77 (Vcharset_chinese_cns11643_6): Likewise.
78 (Vcharset_chinese_cns11643_7): Likewise.
79 (Qchinese_cns11643_3): Likewise.
80 (Qchinese_cns11643_4): Likewise.
81 (Qchinese_cns11643_5): Likewise.
82 (Qchinese_cns11643_6): Likewise.
83 (Qchinese_cns11643_7): Likewise.
84 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
85 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
86 and `chinese-cns11643-7' to lisp/mule/chinese.el.
87 (complex_vars_of_mule_charset): Likewise.
89 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
91 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
93 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
94 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
96 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
98 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
100 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
101 (breakup_char_1): Likewise.
103 * text-coding.c (char_encode_iso2022): Keep designated charsets if
104 one of them includes the specified character.
106 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
108 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
110 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
112 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
114 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
116 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
117 definition for non-UTF-2000 Mule.
118 (latin_iso8859_3_to_ucs): Likewise.
119 (latin_iso8859_4_to_ucs): Likewise.
120 (latin_iso8859_9_to_ucs): Likewise.
121 (latin_jisx0201_to_ucs): Likewise.
122 (MIN_CHAR_THAI): Likewise.
123 (MAX_CHAR_THAI): Likewise.
124 (MIN_CHAR_GREEK): Likewise.
125 (MAX_CHAR_GREEK): Likewise.
126 (MIN_CHAR_HEBREW): Likewise.
127 (MAX_CHAR_HEBREW): Likewise.
128 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
129 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
130 (MIN_CHAR_CYRILLIC): Likewise.
131 (MAX_CHAR_CYRILLIC): Likewise.
133 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
135 * char-ucs.h (breakup_char_1): Use
136 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
137 thai-tis620 and katakana-jisx0201 area.
139 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
141 * char-ucs.h (breakup_char_1): Use
142 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
145 * text-coding.c (reset_encoding_stream): Fixed.
146 (char_encode_ucs4): Delete `& 255'.
148 * char-ucs.h (breakup_char_1): Use
149 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
151 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
153 * file-coding.c (Fmake_coding_system): Don't set up
154 `codesys->fixed.size'.
155 (encode_coding_no_conversion): Don't refer
156 `str->codesys->fixed.size'.
158 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
160 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
161 (latin_a_char_to_byte1): Deleted.
162 (latin_a_char_to_byte2): Deleted.
164 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
166 * mule-charset.c (make_charset): Add new argument `ucs_min',
167 `ucs_max' and `code_offset'.
168 (charset_get_byte1): New implementation [delete specific charset
169 depended implementations].
170 (Fmake_charset): Modify for `make_charset'.
171 (Fmake_reverse_direction_charset): Likewise.
172 (complex_vars_of_mule_charset): Likewise.
174 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
176 (CHARSET_UCS_MIN): New macro.
177 (CHARSET_UCS_MAX): New macro.
178 (CHARSET_CODE_OFFSET): New macro.
179 (MAKE_CHAR): Delete charset depended definitions [except
182 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
184 * char-ucs.h (breakup_char_1): Use
185 `Vdefault_coded_charset_priority_list' for C0-Controls,
186 Basic-Latin, C1-Controls and Latin-1-Supplement area.
188 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
190 * char-ucs.h (charset_get_byte1): New function.
191 (XCHARSET_GET_BYTE1): Deleted.
192 (charset_get_byte2): New function.
193 (XCHARSET_GET_BYTE2): Deleted.
194 (Vdefault_coded_charset_priority_list): New external variable.
195 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
196 `Vdefault_preferred_coded_charset_list'.
198 * mule-charset.c (charset_get_byte1): New function.
199 (charset_get_byte2): New function.
200 (Vdefault_coded_charset_priority_list): New variable.
201 (vars_of_mule_charset): Add new variable
202 `default-coded-charset-priority-list'.
204 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
206 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
207 (XCHARSET_GET_BYTE2): New inline function.
208 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
209 `XCHARSET_GET_BYTE2'.
211 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
213 * mule-charset.c (make_charset): Initialize
214 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
215 NULL if table is not defined.
217 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
219 * text-coding.c (char_encode_shift_jis): Use
220 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
221 `ucs_to_latin_jisx0201'.
223 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
224 (ucs_to_latin_iso8859_2): Deleted.
225 (ucs_to_latin_iso8859_3): Deleted.
226 (ucs_to_latin_iso8859_4): Deleted.
227 (ucs_to_latin_iso8859_9): Deleted.
228 (ucs_to_latin_viscii_lower): Deleted.
229 (ucs_to_latin_viscii_upper): Deleted.
230 (ucs_to_latin_tcvn5712): Deleted.
231 (make_charset): Add new argument `decoding_table'; set up
232 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
233 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
234 `decoding_table' is defined in UTF-2000.
235 (Fmake_charset): Modify for `make_charset'.
236 (Fmake_reverse_direction_charset): Likewise.
237 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
238 and `GENERATE_96_SET'.
240 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
241 (ucs_to_latin_jisx0201): Deleted.
242 (latin_iso8859_2_to_ucs): Deleted.
243 (ucs_to_latin_iso8859_2): Deleted.
244 (latin_iso8859_3_to_ucs): Deleted.
245 (ucs_to_latin_iso8859_3): Deleted.
246 (latin_iso8859_4_to_ucs): Deleted.
247 (ucs_to_latin_iso8859_4): Deleted.
248 (latin_iso8859_9_to_ucs): Deleted.
249 (ucs_to_latin_iso8859_9): Deleted.
250 (latin_viscii_lower_to_ucs): Deleted.
251 (ucs_to_latin_viscii_lower): Deleted.
252 (latin_viscii_upper_to_ucs): Deleted.
253 (ucs_to_latin_viscii_upper): Deleted.
254 (struct Lisp_Charset): Renamed `encoding_table' to
255 `to_byte1_table'; add `to_byte2_table'.
256 (CHARSET_DECODING_TABLE): New macro.
257 (CHARSET_TO_BYTE1_TABLE): New macro.
258 (CHARSET_TO_BYTE2_TABLE): New macro.
259 (XCHARSET_DECODING_TABLE): New macro.
260 (XCHARSET_TO_BYTE1_TABLE): New macro.
261 (XCHARSET_TO_BYTE2_TABLE): New macro.
262 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
264 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
265 don't use `ucs_to_*' tables.
267 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
269 * text-coding.c (Fmake_coding_system): Don't set up
270 `codesys->fixed.size'.
271 (encode_coding_no_conversion): Use `if' instead of `switch'.
273 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
275 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
277 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
278 (Fmake_charset): Modify for `make_charset'.
279 (Fmake_reverse_direction_charset): Likewise.
280 (complex_vars_of_mule_charset): Likewise.
282 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
284 * text-coding.c (char_encode_shift_jis): Use table
285 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
287 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
289 * text-coding.c (text_encode_generic): Use `if' instead of
291 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
294 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
296 * text-coding.c (encode_coding_sjis): Deleted.
297 (char_encode_shift_jis): New function.
298 (char_finish_shift_jis): New function.
299 (reset_encoding_stream): Set up `encode_char' and `finish' for
300 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
301 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
302 (char_encode_utf8): Treat `eol_type'.
304 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
306 * file-coding.c (decode_coding_iso2022): Use
307 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
309 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
311 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
314 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
316 * char-lb.h (CHAR_COLUMNS): New macro.
318 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
320 * text-coding.c (char_encode_ucs4): New function.
321 (char_finish_ucs4): New function.
322 (encode_coding_ucs4): Deleted.
323 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
324 (text_encode_generic): Delete local variable `charset' and `half'.
325 (ucs_to_mule_table): Deleted.
326 (mule_to_ucs_table): Deleted.
327 (Fset_ucs_char): Deleted.
328 (ucs_to_char): Deleted.
329 (Fucs_char): Deleted.
330 (Fset_char_ucs): Deleted.
331 (Fchar_ucs): Deleted.
332 (decode_ucs4): Deleted.
333 (mule_char_to_ucs4): Deleted.
334 (encode_ucs4): Deleted.
335 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
336 (decode_coding_utf8): Likewise.
337 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
338 (char_encode_iso2022): Fixed.
339 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
340 `Fset_char_ucs' and `Fchar_ucs'.
341 (complex_vars_of_file_coding): Don't initialize
344 * objects-tty.c (tty_initialize_font_instance): Don't use
347 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
350 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
351 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
353 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
354 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
355 (emchar_string_displayed_columns): Likewise.
357 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
358 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
359 (string_column_at_point): Likewise.
360 (Fmove_to_column): Likewise.
362 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
363 `encoding_table' and `decoding_table'.
364 (CHARSET_REP_BYTES): Deleted.
365 (XCHARSET_REP_BYTES): Deleted.
366 (XCHARSET_COLUMNS): Deleted.
367 (CHAR_COLUMNS): New macro.
368 (lookup_composite_char): Deleted unconditionally.
369 (composite_char_string): Likewise.
371 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
373 * char-ucs.h (Emchar_to_byte_table): New type.
374 (get_byte_from_character_table): New function interface.
375 (Vcharset_latin_jisx0201): New variable.
376 (latin_jisx0201_to_ucs): New variable.
377 (ucs_to_latin_jisx0201): New variable.
378 (Vcharset_latin_iso8859_2): New variable.
379 (latin_iso8859_2_to_ucs): New variable.
380 (ucs_to_latin_iso8859_2): New variable.
381 (Vcharset_latin_iso8859_3): New variable.
382 (latin_iso8859_3_to_ucs): New variable.
383 (ucs_to_latin_iso8859_3): New variable.
384 (Vcharset_latin_iso8859_4): New variable.
385 (latin_iso8859_4_to_ucs): New variable.
386 (ucs_to_latin_iso8859_4): New variable.
387 (Vcharset_latin_iso8859_9): New variable.
388 (latin_iso8859_9_to_ucs): New variable.
389 (ucs_to_latin_iso8859_9): New variable.
390 (Vcharset_latin_viscii_lower): New variable.
391 (latin_viscii_lower_to_ucs): New variable.
392 (ucs_to_latin_viscii_lower): New variable.
393 (Vcharset_latin_viscii_upper): New variable.
394 (latin_viscii_upper_to_ucs): New variable.
395 (ucs_to_latin_viscii_upper): New variable.
396 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
397 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
398 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
399 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
400 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
401 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
402 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
403 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
404 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
405 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
407 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
408 (Vcharset_latin_viscii_upper): New variable.
409 (make_byte_from_character_table): New function.
410 (put_byte_from_character_table): New function.
411 (get_byte_from_character_table): New function.
413 (ucs_to_latin_jisx0201): New variable.
414 (latin_jisx0201_to_ucs): New variable.
415 (ucs_to_latin_iso8859_2): New variable.
416 (latin_iso8859_2_to_ucs): New variable.
417 (ucs_to_latin_iso8859_3): New variable.
418 (latin_iso8859_3_to_ucs): New variable.
419 (ucs_to_latin_iso8859_4): New variable.
420 (latin_iso8859_4_to_ucs): New variable.
421 (ucs_to_latin_iso8859_9): New variable.
422 (latin_iso8859_9_to_ucs): New variable.
423 (ucs_to_latin_viscii_lower): New variable.
424 (latin_viscii_lower_to_ucs): New variable.
425 (ucs_to_latin_viscii_upper): New variable.
426 (latin_viscii_upper_to_ucs): New variable.
427 (ucs_to_latin_tcvn5712): New variable.
428 (latin_tcvn5712_to_ucs): New variable.
429 (Qlatin_viscii_lower): New variable.
430 (Qlatin_viscii_upper): New variable.
431 (syms_of_mule_charset): Set up new symbol
432 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
433 (complex_vars_of_mule_charset): Set up new charset
434 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
435 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
436 `ucs_to_<CHARSET>' tables.
438 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
440 * text-coding.c: New file.
442 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
444 * mule-charset.c (Fmake_char): Fix problem of 256-set.
446 * char-ucs.h (Vcharset_ucs_bmp): New variable.
447 (MAKE_CHAR): Modify for `ucs-bmp'.
448 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
449 non-MULE characters of BMP.
451 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
453 * mule-charset.c (vars_of_mule_charset):
454 Update `utf-2000-version' to 0.6.
456 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
459 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
460 - Include character.h for `CHAR_ASCII_P'.
462 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
464 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
465 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
467 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
468 (BYTE_C0_P): Likewise.
469 (BYTE_C1_P): Likewise.
470 (Lstream_get_emchar_1): Likewise.
471 (Lstream_fput_emchar): Likewise.
472 (Lstream_funget_emchar): Likewise.
473 (copy_internal_to_external): Likewise.
474 (copy_external_to_internal): Likewise.
476 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
477 (BYTE_C0_P): Likewise.
478 (BYTE_C1_P): Likewise.
479 (Lstream_get_emchar_1): Likewise.
480 (Lstream_fput_emchar): Likewise.
481 (Lstream_funget_emchar): Likewise.
482 (copy_internal_to_external): Likewise.
483 (copy_external_to_internal): Likewise.
485 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
486 (REP_BYTES_BY_FIRST_BYTE): Likewise.
488 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
489 (BYTE_ASCII_P): Moved to mb-1byte.h.
491 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
493 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
495 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
496 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
497 (VALID_CHARPTR_P): Moved to mb-*byte.h.
498 (VALIDATE_CHARPTR_BACKWARD): Likewise.
499 (VALIDATE_CHARPTR_FORWARD): Likewise.
500 (simple_charptr_emchar): Moved to mb-multibyte.h.
501 (simple_set_charptr_emchar): Likewise.
502 (simple_charptr_copy_char): Likewise.
503 (non_ascii_charptr_emchar): Likewise.
504 (non_ascii_set_charptr_emchar): Likewise.
505 (non_ascii_charptr_copy_char): Likewise.
506 (charptr_emchar): Moved to mb-*byte.h.
507 (set_charptr_emchar): Likewise.
508 (charptr_copy_char): Likewise.
510 * mb-1byte.h, mb-multibyte.h: New files.
512 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
514 * mb-utf-8.h (MULTIBYTE): New macro.
515 (MAX_EMCHAR_LEN): Moved from buffer.h.
516 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
518 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
520 * mb-lb.h, multibyte.h: New files.
522 * char-1byte.h (Charset_ID): Moved from buffer.h.
523 (MIN_LEADING_BYTE): Likewise.
524 (LEADING_BYTE_ASCII): Likewise.
525 (NUM_LEADING_BYTES): Likewise.
526 (CHARSETP): Likewise.
527 (CHARSET_BY_LEADING_BYTE): Likewise.
528 (XCHARSET_LEADING_BYTE): Likewise.
529 (XCHARSET_GRAPHIC): Likewise.
530 (XCHARSET_COLUMNS): Likewise.
531 (XCHARSET_DIMENSION): Likewise.
532 (CHAR_CHARSET): Likewise.
533 (CHAR_LEADING_BYTE): Likewise.
534 (BREAKUP_CHAR): Likewise.
535 (Vcharset_ascii): Likewise.
537 * buffer.h: Include multibyte.h unconditionally.
538 (VALID_CHARPTR_P): Moved to multibyte.h.
539 (ASSERT_VALID_CHARPTR): Likewise.
540 (REAL_INC_CHARPTR): Likewise.
541 (REAL_INC_CHARBYTIND): Likewise.
542 (REAL_DEC_CHARPTR): Likewise.
543 (INC_CHARPTR): Likewise.
544 (INC_CHARBYTIND): Likewise.
545 (DEC_CHARPTR): Likewise.
546 (VALIDATE_CHARPTR_BACKWARD): Likewise.
547 (VALIDATE_CHARPTR_FORWARD): Likewise.
548 (charptr_n_addr): Likewise.
549 (MAX_EMCHAR_LEN): Moved to mb-*.h.
550 (simple_charptr_emchar): Moved to multibyte.h.
551 (simple_set_charptr_emchar): Likewise.
552 (simple_charptr_copy_char): Likewise.
553 (non_ascii_charptr_emchar): Likewise.
554 (non_ascii_set_charptr_emchar): Likewise.
555 (non_ascii_charptr_copy_char): Likewise.
556 (charptr_emchar): Likewise.
557 (set_charptr_emchar): Likewise.
558 (charptr_copy_char): Likewise.
559 (charptr_emchar_n): Likewise.
560 (Charset_ID): Moved to char-1byte.h.
561 (Vcharset_ascii): Likewise.
562 (CHAR_CHARSET): Likewise.
563 (CHAR_LEADING_BYTE): Likewise.
564 (LEADING_BYTE_ASCII): Likewise.
565 (NUM_LEADING_BYTES): Likewise.
566 (MIN_LEADING_BYTE): Likewise.
567 (CHARSETP): Likewise.
568 (CHARSET_BY_LEADING_BYTE): Likewise.
569 (XCHARSET_LEADING_BYTE): Likewise.
570 (XCHARSET_GRAPHIC): Likewise.
571 (XCHARSET_COLUMNS): Likewise.
572 (XCHARSET_DIMENSION): Likewise.
573 (BREAKUP_CHAR): Likewise.
575 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
577 * character.h: Add document about interface for characters.
579 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
580 (MAKE_CHAR): Delete comment about
581 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
582 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
583 (BREAKUP_CHAR): Modify name of arguments.
584 (CHAR_CHARSET): Modify name of argument.
586 * buffer.h: Delete document about Emchar accessors.
588 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
590 * character.h (CHAR_INTP): Moved from buffer.h
591 (CHAR_OR_CHAR_INTP): Likewise.
592 (XCHAR_OR_CHAR_INT): Likewise.
593 (CHECK_CHAR_COERCE_INT): Likewise.
595 * buffer.h (CHAR_INTP): Moved to character.h
596 (CHAR_OR_CHAR_INTP): Likewise.
597 (XCHAR_OR_CHAR_INT): Likewise.
598 (CHECK_CHAR_COERCE_INT): Likewise.
600 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
603 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
604 - Include char-1byte.h, char-lb.h or char-ucs.h.
606 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
608 * buffer.h: Include character unconditionally.
609 (valid_char_p): Moved to char-*.h.
610 (non_ascii_valid_char_p): Moved to char-lb.h.
612 * char-1byte.h, char-lb.h, char-ucs.h: New files.
614 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
616 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
617 in UTF-2000 because it is not ported yet and not to use
618 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
619 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
620 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
622 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
623 (CHAR_ASCII_P): Moved from character.h.
625 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
626 (CHAR_ASCII_P): Likewise.
627 (CHAR_FIELD1_MASK): Deleted.
628 (CHAR_FIELD2_MASK): Deleted.
629 (CHAR_FIELD3_MASK): Deleted.
630 (MAX_CHAR_BASIC_LATIN): New macro.
631 (CHAR_FIELD1): Deleted.
632 (CHAR_FIELD2_INTERNAL): Deleted.
633 (CHAR_FIELD3_INTERNAL): Deleted.
634 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
635 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
636 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
637 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
638 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
639 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
640 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
641 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
642 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
643 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
644 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
645 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
646 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
647 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
648 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
649 (MIN_CHAR_COMPOSITION): Deleted.
650 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
651 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
653 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
655 * buffer.h: Include mb-utf-8.h in UTF-2000.
657 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
659 * mb-utf-8.h: New file.
661 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
663 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
666 * mule-charset.h, buffer.h (Charset_ID): New type.
668 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
670 * mule-canna.c (c2mu): Use `MAKE_CHAR',
671 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
672 instead of `MULE_CHAR_PRIVATE_OFFSET',
673 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
674 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
675 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
677 * character.h (Vcharset_japanese_jisx0212): New variable
680 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
682 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
683 (charset_by_attributes): Delete array about direction.
684 (latin_a_char_to_charset): New variable in UTF-2000.
685 (latin_a_char_to_byte1): New variable in UTF-2000.
686 (latin_a_char_to_byte2): New variable in UTF-2000.
687 (Qucs_bmp): New variable.
688 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
690 (next_allocated_2_byte_leading_byte): Likewise.
691 (non_ascii_set_charptr_emchar): Likewise.
692 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
693 `CHARSET_TYPE_256X256' in UTF-2000; modify for
694 `charset_by_attributes'.
695 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
696 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
697 and `CHARSET_BY_LEADING_BYTE'.
698 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
699 `utf-2000-version' to `vars_of_mule_charset'.
700 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
701 define `leading-code-private-11' in UTF-2000; move setting of
702 `utf-2000-version' from `syms_of_mule_charset'.
703 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
706 * character.h (Charset_ID): New type.
707 (LEADING_BYTE_UCS_BMP): New macro.
708 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
709 (CHARSET_ID_OFFSET_94): New macro.
710 (MIN_CHARSET_ID_PRIVATE_94): New macro.
711 (MAX_CHARSET_ID_PRIVATE_94): New macro.
712 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
714 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
715 (LEADING_BYTE_LATIN_JISX0201): Likewise.
716 (CHARSET_ID_OFFSET_96): New macro.
717 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
718 CHARSET_ID_OFFSET_96 and final-byte.
719 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
720 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
721 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
722 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
723 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
724 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
725 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
726 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
727 (LEADING_BYTE_THAI_TIS620): Likewise.
728 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
729 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
730 (CHARSET_ID_OFFSET_94x94): New macro.
731 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
732 CHARSET_ID_OFFSET_94x94 and final-byte.
733 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
734 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
735 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
736 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
737 (LEADING_BYTE_CHINESE_GB2312): Likewise.
738 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
739 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
740 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
741 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
742 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
743 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
744 (CHARSET_TYPE_128X128): New macro.
745 (CHARSET_TYPE_256X256): New macro.
746 (XCHARSET_PRIVATE_P): Delete unconditionally.
747 (charset_by_attributes): Delete array about direction.
748 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
749 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
750 (MIN_CHAR_94): New macro.
751 (MAX_CHAR_94): New macro.
752 (MIN_CHAR_96): New macro.
753 (MAX_CHAR_96): New macro.
754 (MIN_CHAR_94x94): New macro.
755 (MAX_CHAR_94x94): New macro.
756 (MIN_CHAR_96x96): New macro.
757 (MAX_CHAR_96x96): New macro.
758 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
759 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
760 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
762 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
763 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
764 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
765 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
766 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
767 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
768 `XCHARSET_LEADING_BYTE' to make code-point.
769 (latin_a_char_to_charset): New variable.
770 (latin_a_char_to_byte1): New variable.
771 (latin_a_char_to_byte2): New variable.
772 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
773 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
774 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
776 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
777 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
778 (find_charsets_in_emchar_string): Likewise.
779 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
781 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
783 (decode_coding_iso2022): Likewise.
785 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
788 * redisplay.c (redisplay_text_width_emchar_string): Use
789 `Charset_ID' instead of `unsigned char'.
790 (redisplay_frame_text_width_string): Likewise.
792 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
795 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
796 instead of `unsigned char'.
797 (face_cachel_charset_font_metric_info): Likewise.
799 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
800 (get_non_ascii_char_table_value): Likewise.
801 (get_char_table): Likewise.
802 (put_char_table): Likewise.
803 (map_over_other_charset): Likewise.
804 (map_char_table): Likewise.
806 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
807 instead of `unsigned char'.
809 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
811 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
812 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
814 * mule-charset.c (leading_code_private_11): Don't define in
817 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
818 in UTF-2000 because it is not ported yet and not to use
819 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
821 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
823 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
825 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
827 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
830 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
831 of unsigned char to store leading-byte.
833 * chartab.c (get_non_ascii_char_table_value): Don't use
834 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
836 * file-coding.c (encode_coding_big5): Delete bogus implementation
839 * character.h (LEADING_BYTE_*): Delete definition for
841 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
842 (LEADING_BYTE_PREFIX_P): Deleted.
843 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
844 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
845 (BUFBYTE_LEADING_BYTE_P): Deleted.
846 (CHARSET_PRIVATE_P): Deleted unconditionally.
847 (rep_bytes_by_first_byte): Deleted unconditionally.
848 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
849 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
850 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
851 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
852 (CHAR_FIELD2): Deleted.
853 (CHAR_FIELD3): Deleted.
854 (MAKE_CHAR): Delete definition for non-UTF-2000.
855 (BREAKUP_CHAR_1_UNSAFE): Deleted.
856 (breakup_char_1): New implementation.
857 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
858 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
860 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
862 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
865 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
867 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
868 (CHARSET_PRIVATE_P): Likewise.
869 (XCHARSET_PRIVATE_P): Likewise.
870 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
872 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
874 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
876 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
878 * character.h (LEADING_BYTE_*): Changed in UTF2000.
879 (NUM_LEADING_BYTES): Changed from 128 to 256.
880 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
881 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
883 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
885 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
887 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
888 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
889 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
890 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
891 (Qchinese_cns11643_3): New variable in UTF2000.
892 (Qchinese_cns11643_4): New variable in UTF2000.
893 (Qchinese_cns11643_5): New variable in UTF2000.
894 (Qchinese_cns11643_6): New variable in UTF2000.
895 (Qchinese_cns11643_7): New variable in UTF2000.
896 (syms_of_mule_charset): Define `chinese-cns11643-3',
897 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
898 and `chinese-cns11643-7' in UTF2000.
899 (vars_of_mule_charset): Initialize
900 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
902 (complex_vars_of_mule_charset): Setup charset
903 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
904 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
906 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
908 * mule-charset.c: Move setting for `leading-code-private-11' from
909 `syms_of_mule_charset' to `vars_of_mule_charset'.
911 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
913 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
914 and `NUM_LEADING_BYTES' in assert.
916 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
918 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
920 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
921 `NUM_LEADING_BYTES' instead of 128.
923 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
925 * mule-charset.h (charset_by_leading_byte): Use
926 `NUM_LEADING_BYTES' instead of 128.
927 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
929 * mule-charset.c (charset_by_leading_byte): Use
930 `NUM_LEADING_BYTES' instead of 128.
931 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
933 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
936 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
938 * mule-charset.c (syms_of_mule_charset): Update to
941 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
943 * file-coding.c (encode_coding_sjis): New implementation for
944 UTF2000. (decode_coding_sjis): Ditto.
946 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
948 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
949 Don't define in UTF2000.
951 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
954 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
955 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
958 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
960 * config.h.in (CHAR_IS_UCS4): New macro.
962 * mule-charset.c (rep_bytes_by_first_byte): Modify for
963 conventional MULE representation.
964 (syms_of_mule_charset): Update to 0.3 (Imamiya).
966 * mule-charset.h: Reverted to original.
968 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
969 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
970 "mule-charset.h" if CHAR_IS_UCS4 is defined.
972 * character.h: New file.
974 * file-coding.c (Fmake_coding_system): Set 1 to
975 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
977 (encode_coding_no_conversion): New implementation for UTF2000.
979 * file-coding.h (struct Lisp_Coding_System): Add new member
982 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
984 * file-coding.c (decode_coding_iso2022): Code-point arguments of
985 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
986 (encode_coding_iso2022): New implementation for UTF2000.
988 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
990 * mule-canna.c (c2mu): New implementation for UTF2000.
993 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
995 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
997 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
999 * file-coding.c (reset_encoding_stream): Set 0 to
1000 `str->iso2022.current_char_boundary' in UTF2000.
1001 (encode_utf8): Don't define in UTF2000.
1002 (encode_coding_utf8): New implementation for UTF-8 representation
1004 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1006 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1008 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1010 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1012 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1014 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1016 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1017 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1018 as UTF-8 in UTF2000.
1019 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1020 (non_ascii_valid_char_p): Don't define in UTF2000.
1021 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1022 (Lstream_get_emchar_1): Likewise.
1023 (utf-2000-version): New variable in UTF2000.
1025 * lread.c (read_escape): Add new reader `u'.
1027 * insdel.c (three_to_one_table): Don't define in UTF2000.
1028 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1029 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1031 (bytind_to_bufpos_func): Likewise.
1032 (buffer_mule_signal_inserted_region): Likewise.
1033 (vars_of_insdel): Don't initialize `three_to_one_table'.
1034 (init_buffer_text): Use `buf->text->mule_size' instead of
1035 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1038 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1039 UTF-8 representation in UTF2000.
1040 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1041 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1042 (decode_coding_iso2022): Don't define local variable `lb' in
1043 UTF2000; don't use LEADING_BYTE in UTF2000; use
1044 `DECODE_ADD_UCS_CHAR' in UTF2000.
1045 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1047 * config.h.in (UTF2000): New macro.
1049 * buffer.h (struct buffer_text): Add new member `mule_size' and
1050 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1051 (valid_char_p): Return always 1 in UTF2000.
1052 (MAX_EMCHAR_LEN): 6 in UTF2000.
1053 (three_to_one_table): Don't define in UTF2000.
1054 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1056 (real_bytind_to_bufpos): Likewise.
1058 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1060 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1062 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1063 representation change.
1064 (Vutf_2000_version): New variable.
1065 (leading_code_private_11): New variable.
1066 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1067 `leading-code-private-11'.
1069 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1070 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1071 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1072 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1073 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1074 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1075 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1076 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1077 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1078 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1079 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1080 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1081 (MIN_CHAR_GREEK): New macro.
1082 (MAX_CHAR_GREEK): New macro.
1083 (MIN_CHAR_CYRILLIC): New macro.
1084 (MAX_CHAR_CYRILLIC): New macro.
1085 (MIN_CHAR_HEBREW): New macro.
1086 (MAX_CHAR_HEBREW): New macro.
1087 (MIN_CHAR_THAI): New macro.
1088 (MAX_CHAR_THAI): New macro.
1089 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1090 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1091 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1092 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1093 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1094 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1095 (CHAR_FIELD2): New inline function.
1096 (CHAR_FIELD3): New inline function.
1097 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1098 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1099 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1100 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1101 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1102 (MIN_CHAR_COMPOSITION): Likewise.
1103 (CHAR_LEADING_BYTE): Modified for character representation change.
1104 (MAKE_CHAR): Likewise.
1106 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1107 (Vcharset_greek_iso8859_7): Likewise.
1108 (Vcharset_cyrillic_iso8859_5): Likewise.
1109 (Vcharset_hebrew_iso8859_8): Likewise.
1110 (Vcharset_thai_tis620): Likewise.
1111 (Vcharset_katakana_jisx0201): Likewise.
1113 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1115 * file-coding.c (determine_real_coding_system): Treat `coding:'
1118 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1120 * file-coding.c (struct decoding_stream): New member `counter'.
1121 (reset_decoding_stream): Initialize `counter'.
1122 (decode_coding_ucs4): Use `counter'.
1123 (decode_coding_utf8): Likewise.
1125 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1127 * XEmacs 21.2.19 is released
1129 1999-07-27 Jeff Miller <jmiller@smart.net>
1131 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1132 menubar_show_keybindings.
1134 1999-07-23 SL Baur <steve@miho>
1136 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1137 definition of Qccl_program.
1139 * mule-ccl.h: Make a global declaration of it here.
1141 1999-07-20 Bob Weiner <weiner@beopen.com>
1143 * s/sco7.h: Added from rr@sco.com.
1145 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1147 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1149 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1151 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1152 (mule_encode): Likewise.
1154 * mule-ccl.c (Qccl_program): New variable.
1155 (CCL_SUSPEND): New macro.
1156 (CCL_INVALID_CMD): New macro.
1157 (CCL_READ_CHAR): Don't regard as invalid command while processing
1158 the last block even if input is empty; use
1159 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1160 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1162 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1163 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1164 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1165 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1166 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1168 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1170 * mule-ccl.h (struct ccl_program): New member stack_idx.
1172 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1173 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1175 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1177 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1179 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1182 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1184 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1185 processing the last block, don't just finish but processes eol
1186 block of the current CCL program.
1187 (ccl_driver): Add a new jump label ccl_repeat for the above
1190 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1192 * mule-ccl.c: Typo in comments fixed.
1193 (Qccl_program_idx): New variables.
1194 (CCL_ReadMultibyteChar2): Macro name changed from
1195 CCL_ReadMultibyteCharacter.
1196 (CCL_WriteMultibyteChar2): Macro name changed from
1197 CCL_WriteMultibyteChar2.
1198 (ccl_driver): Adjusted for the above changes.
1199 (resolve_symbol_ccl_program): New function.
1200 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1201 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1202 numbers by resolve_symbol_ccl_program.
1203 (Fccl_execute_on_string): Likewise.
1204 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1205 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1207 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1209 * mule-ccl.h: (struct ccl_program): New member private_state.
1212 (CCL_Call): Fix the comment.
1213 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1214 macros for CCL Commands.
1216 (ccl_driver): New case lable `CCL_Extention'.
1217 (setup_ccl_program): Initialize the member `private_state' of CCL.
1219 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1221 * keymap.c (copy_keymap_internal): Inherit the default binding.
1223 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1225 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1226 focus the event (XIM_focus_event).
1227 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1228 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1229 the interface for future use (XIM_SetGeometry).
1230 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1231 location (XIM_SetSpotLocation).
1232 (x_output_eol_cursor): Ditto.
1234 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1236 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1237 Olivier's change to lrecord.h of 1999-04-22
1239 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1241 * gutter.c (redraw_exposed_gutter): Change type of pos from
1242 enum toolbar_pos -> enum gutter_pos, since former is only defined
1243 if toolbar support is.
1245 1999-07-19 Andy Piper <andy@xemacs.org>
1247 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1250 * gutter.c (gutter_validate): new function for the gutter specifier.
1251 (specifier_type_create_gutter): declare specifier validator.
1253 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1255 1999-07-18 Andy Piper <andy@xemacs.org>
1257 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1259 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1261 (mswindows_resize_subwindow): new function.
1263 * gutter.c (redraw_exposed_gutter): only reset the
1264 current_display_lines if non-zero.
1265 (Fgutter_pixel_height): new function.
1266 (Fgutter_pixel_width): new function.
1268 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1269 we want to retrive from the tab control.
1271 1999-07-17 Andy Piper <andy@xemacs.org>
1273 * window.c (change_window_height): mark gutters changed when we're
1276 * gutter.c (specifier_vars_of_gutter): make defaults more
1279 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1281 (DEFAULT_GUTTER_WIDTH): change.
1282 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1284 1999-07-18 Andy Piper <andy@xemacs.org>
1286 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1288 1999-07-16 Andy Piper <andy@xemacs.org>
1290 * frame.c (Fmake_frame): call init_frame_gutters().
1292 * redisplay.c (add_emchar_rune): use string functions if we are
1293 working with a string.
1294 (position_redisplay_data_type): add string element.
1296 1999-07-15 Andy Piper <andy@xemacs.org>
1298 * winslots.h: add real_gutter_size slots to hold the actual gutter
1299 size. This is important for autodetected sizes.
1301 * gutter.c (calculate_gutter_size): calculate size for gutters
1302 that have 'autodetect size.
1304 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1305 extent of divider for gutters.
1307 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1308 divider for gutters.
1310 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1311 position to take into account the gutters.
1313 * redisplay.c (generate_modeline): adjust modeline position to
1314 take into account the gutters.
1316 1999-07-14 Andy Piper <andy@xemacs.org>
1318 * gutter.c (frame_topmost_window): new function.
1319 (frame_bottommost_window): ditto.
1320 (frame_leftmost_window): ditto.
1321 (frame_rightmost_window): ditto.
1323 1999-07-13 Andy Piper <andy@xemacs.org>
1325 * redisplay.c (calculate_display_line_boundaries): use text
1326 boundaries so that gutters get handled properly.
1328 1999-07-12 Andy Piper <andy@xemacs.org>
1330 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1333 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1336 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1339 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1341 * gutter.c: new file - implements gutters. All new functions are
1342 semantically equivalent to the toolbar functions.
1343 (gutter_was_visible): new function.
1344 (get_gutter_coords): ditto.
1345 (output_gutter): ditto.
1346 (clear_gutter): ditto.
1347 (update_frame_gutters): ditto.
1348 (redraw_exposed_gutter): ditto.
1349 (redraw_exposed_gutters): ditto.
1350 (free_frame_gutters): ditto.
1351 (init_frame_gutters): ditto.
1352 (decode_gutter_position): ditto.
1353 (Fset_default_gutter_position): ditto.
1354 (Fset_default_gutter_position): ditto.
1355 (Fdefault_gutter_position): ditto.
1356 (gutter_after_change): ditto.
1357 (Fgutter_specifier_p): ditto.
1358 (recompute_overlaying_specifier): ditto.
1359 (gutter_specs_changed): ditto.
1360 (default_gutter_specs_changed): ditto.
1361 (gutter_geometry_changed_in_window): ditto.
1362 (default_gutter_size_changed_in_window): ditto.
1363 (default_gutter_border_width_changed_in_window): ditto.
1364 (default_gutter_visible_p_changed_in_window): ditto.
1365 (syms_of_gutter): ditto.
1366 (vars_of_gutter): ditto.
1367 (specifier_type_create_gutter): ditto.
1368 (specifier_vars_of_gutter): ditto.
1370 * gutter.h: new file. Contains gutter constants and sizing macros
1371 similar to those for the toolbar.
1373 * winslots.h: add gutter variables.
1375 * window.h: declare window_is_* functions.
1377 * window.c (window_is_lowest): make non-static.
1378 (window_is_highest): ditto.
1379 (window_top_toolbar_height): deleted.
1380 (window_bottom_toolbar_height): deleted.
1381 (window_left_toolbar_width): deleted.
1382 (window_right_toolbar_width): deleted.
1383 (window_top_gutter_height): add gutter sizing.
1384 (window_bottom_gutter_height): ditto.
1385 (window_left_gutter_width): ditto.
1386 (window_right_gutter_width): ditto.
1388 * symsinit.h: declarations for gutters vars etc.
1390 * search.c (bi_find_next_emchar_in_string): new function.
1392 * scrollbar.c (update_scrollbar_instance): remove reference to
1393 window_bottom_toolbar_height which did nothing.
1395 * redisplay.h (struct display_line): add face indices for
1396 overriding defaults in output_display_line.
1397 Add gutter_changed flags and declarations.
1399 * redisplay.c (create_string_text_block): new function, similar to
1400 create_text_block but for strings. Display tables etc are used
1401 from the currently selected window.
1402 (generate_string_display_line): ditto. Similar to
1403 generate_display_line.
1404 (generate_displayable_area): generate display lines for a given
1405 area on a frame. Input is the string, with associated extents, to
1407 (redisplay_frame): add gutter_changed check.
1408 (redisplay_device): ditto.
1409 (redisplay_without_hooks): ditto.
1411 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1412 (x_redraw_exposed_area): redraw exposed gutters.
1413 (x_bevel_area): new redisplay device method.
1414 (x_type_create_redisplay_mswindows): add bevel_area device method.
1415 (x_output_display_block): fiddly Martin-style cleanup.
1416 (x_output_vertical_divider): use bevel_area.
1418 * redisplay-output.c (output_display_line): check display_lines
1419 for face information before using defaults.
1420 (bevel_modeline): new function, calls bevel_area with appropriate
1423 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1424 (mswindows_redraw_exposed_area): redraw exposed gutters.
1425 (mswindows_bevel_area): new redisplay device method.
1426 (console_type_create_redisplay_mswindows): add bevel_area device
1429 * indent.c (string_column_at_point): add column_at_point but for
1432 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1433 instantiate widgets that we have a toolkit for.
1435 * general.c: add Qgutter.
1437 * frame.h (struct frame): add display lines for gutters and
1440 * frame.c (set_frame_selected_window): mark gutters changed.
1442 * emacs.c (main_1): add gutter initialisation.
1444 * device.h (struct device): add gutter_changed flag and macros to
1447 * console.h (struct console_methods): new bevel area redisplay
1450 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1451 REAL_INC_BYTIND is for buffers.
1452 (INC_CHARPTR): ditto.
1454 * Makefile.in.in (objs): add gutter.o
1456 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1458 * XEmacs 21.2.18 is released
1460 1999-07-08 SL Baur <steve@mule.m17n.org>
1462 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1464 (emacs_Xt_handle_magic_event): Ditto.
1465 * redisplay-x.c (x_output_string): Ditto.
1466 (x_output_eol_cursor): Ditto.
1468 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1470 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1471 problem that when XIM is destroyed or missed with some reason,
1472 xemacs will die. Now xim=xlib waits the XIM will be ready and
1473 endures the case of XIM end up.
1475 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1477 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1478 SIGINT and SIGCHLD before calling tt_open and restore the
1479 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1481 1999-07-06 SL Baur <steve@xemacs.org>
1483 * s/linux.h: gcc-2.8 changes for powerpc
1484 From Justin Vallon <vallon@mindspring.com>
1486 1999-07-05 Didier Verna <verna@inf.enst.fr>
1488 * indent.c: new symbol Qcoerce.
1489 (Fmove_to_column): use it + doc string update.
1491 1999-07-04 Andy Piper <andy@xemacs.org>
1493 * console.c: undo earlier Fprovide changes.
1497 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1498 function. validate appropriate image formats for tty.
1500 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1501 initialize consoles parameter.
1502 (struct image_instantiator_methods): add consoles parameter.
1503 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1505 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1508 * glyphs-msw.c: declare instantiators for later use.
1509 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1510 and friends on the mswindows console.
1511 * glyphs-x.c: ditto.
1513 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1514 that have not been registered on the supplied device.
1515 (Fvalid_image_instantiator_format_p): add locale argument.
1516 (instantiate_image_instantiator): valid image instantiator on the
1519 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1522 * emacs.c (main_1): add call to
1523 image_instantiator_format_create_glyphs_tty().
1525 1999-06-29 Olivier Galibert <galibert@pobox.com>
1527 * lisp.h: Add #include <stddef.h>.
1529 * sysdep.c: Remove #include <stddef.h>.
1530 * symbols.c: Remove #include <stddef.h>.
1531 * sheap.c: Remove #include <stddef.h>.
1532 * opaque.c: Remove #include <stddef.h>.
1533 * nt.c: Remove #include <stddef.h>.
1534 * mule-charset.c: Remove #include <stddef.h>.
1535 * marker.c: Remove #include <stddef.h>.
1536 * file-coding.c: Remove #include <stddef.h>.
1537 * extents.c: Remove #include <stddef.h>.
1538 * elhash.c: Remove #include <stddef.h>.
1539 * data.c: Remove #include <stddef.h>.
1540 * chartab.c: Remove #include <stddef.h>.
1541 * bytecode.c: Remove #include <stddef.h>.
1542 * alloc.c: Remove #include <stddef.h>. Fix vector description
1544 1999-06-30 SL Baur <steve@miho.m17n.org>
1546 * editfns.c: Document "%s" format spec.
1547 Suggested by Bob Weiner <weiner@altrasoft.com>
1549 1999-06-29 Andy Piper <andy@xemacs.org>
1551 * event-msw.c: fix definition booboo.
1553 1999-06-28 Andy Piper <andy@xemacs.org>
1555 * glyphs-x.c: change tree -> tree-view, progress ->
1556 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1558 (complex_vars_of_glyphs_x): provide-on-console the implemented
1561 * glyphs-msw.c: ditto.
1562 (complex_vars_of_glyphs_mswindows): ditto.
1564 * lisp.h: add Fprovide_on_console.
1566 * fns.c (Ffeaturep): add extra optional console argument.
1567 (Fprovide_on_console): like Fprovide but provides only on the
1568 specified console-type.
1569 (Frequire): check console-features as well as global features.
1571 * console.c (Fconsole_features): new function. return features for
1573 (syms_of_console): add Fconsole_features.
1575 * console.h (CONMETH_FEATURES): new function for accessing features.
1576 (CONSOLE_FEATURES): ditto.
1577 (struct console_methods): add features slot.
1578 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1580 1999-06-28 Andy Piper <andy@xemacs.org>
1582 * event-Xt.c (handle_focus_event_1): conditionally compile for
1585 * s/cygwin32.h: fix me website address.
1587 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1589 * gui-x.c (button_item_to_widget_value): only add callback if it
1592 * glyphs-x.c: add progress, edit and combo instantiators.
1593 (x_widget_set_property): new function. uses lwlib to set widget
1595 (x_widget_property): new function. uses lwlib to get widget
1597 (x_button_instantiate): support images in buttons.
1598 (x_button_property): new function. use lwlib to get the selected
1600 (x_progress_instantiate): new function for instantiating progress
1602 (x_progress_set_property): new function. sets the progress gauge
1604 (x_edit_instantiate): new function. for instantiating edit fields.
1605 (x_combo_instantiate): new function. for instantiating combo
1607 (image_instantiator_format_create_glyphs_x): add new device ii
1610 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1612 * console.h (CONSOLE_FEATURES): new features accesor.
1614 * conslots.h (MARKED_SLOT): add features entry.
1616 1999-06-25 Andy Piper <andy@xemacs.org>
1618 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1621 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1623 * gui.h (struct Lisp_Gui_Item): add accelerator.
1625 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1626 (gui_item_init): ditto.
1627 (gui_add_item_keywords_to_plist): ditto.
1628 (mark_gui_item): ditto.
1629 (gui_item_hash): ditto.
1630 (gui_item_accelerator): new function.
1631 (gui_name_accelerator): new function stolen from gui-x.c
1633 * gui-x.c (popup_selection_callback): always define. mark
1634 subwindows changed after calling a callback.
1635 (menu_name_to_accelerator): deleted.
1636 (button_item_to_widget_value): forward gui_item things to gui_item
1639 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1640 appropriate accesors.
1642 * glyphs-x.c: declare new glyph formats.
1643 (x_finalize_image_instance): unmanage and destroy widgets if they
1645 (x_unmap_subwindow): handle widgets specially.
1646 (x_map_subwindow): ditto. offset display of widgets by offset of
1647 text widget within container.
1648 (x_update_subwindow): new function. call lw_modify_all_widgets
1649 when we are a widget.
1650 (x_widget_instantiate): new function for generically creating
1651 widgets-glyphs. toolkit specifics forwarded to lwlib.
1652 (x_button_instantiate): new function for instantiating
1653 widgets-glyph buttons.
1654 (console_type_create_glyphs_x): register update_subwindow.
1655 (image_instantiator_format_create_glyphs_x): register widget and
1658 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1660 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1661 when we get a button press in case we do not have the focus.
1662 (handle_focus_event_1): set the keyboard focus to the text widget
1663 if we do not have it.
1665 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1668 1999-06-24 SL Baur <steve@miho.m17n.org>
1670 * syntax.c (scan_words): Restore non-Mule code.
1671 (word_constituent_p): Restore.
1673 1999-06-23 Olivier Galibert <galibert@pobox.com>
1675 * config.h.in: Add missing #undef *_USER_DEFINED.
1677 1999-06-23 SL Baur <steve@miho.m17n.org>
1679 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1680 int (fixes a 64-bit problem).
1682 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1685 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1687 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1689 1999-06-22 Olivier Galibert <galibert@pobox.com>
1691 * lrecord.h: Added basic external description system.
1693 * symbols.c: Added symbol, symbol-value-buffer-local,
1694 symbol-value-lisp-magic and symbol-value-varalias description.
1695 * mule-charset.c: Added charset description.
1696 * marker.c: Added marker description.
1697 * keymap.c: Added keymap description.
1698 * glyphs.c: Added glyph description.
1699 * floatfns.c: Added float description.
1700 * file-coding.c: Added coding-system description.
1701 * extents.c: Added extent description.
1702 * elhash.c: Added hash-table description.
1703 * data.c: Added weak-list desciption.
1704 * chartab.c: Added char-table-entry and char-table description.
1705 * bytecode.c: Added compiled-function description.
1706 * alloc.c: Added cons, vector and string description.
1708 1999-06-22 Olivier Galibert <galibert@pobox.com>
1710 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1711 Updated everything to the removal of the "flags" substructure.
1713 * lisp.h (subr_lheader_initializer): Updated.
1714 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1716 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1718 * syntax.c (word_constituent_p): Deleted.
1719 (scan_words): Use `WORD_BOUNDARY_P'.
1721 * chartab.c (Vword_combining_categories): New variable.
1722 (Vword_separating_categories): Likewise.
1723 (CATEGORYP): New macro.
1724 (CATEGORY_SET): Likewise.
1725 (CATEGORY_MEMBER): Likewise.
1726 (word_boundary_p): New function.
1727 (complex_vars_of_chartab): Set up new variable
1728 `word-combining-categories' and `word-separating-categories'.
1730 1999-06-18 Olivier Galibert <galibert@pobox.com>
1732 * lrecord.h: Added description as a placehold in the lrecord
1733 implementation structures. Added the parameter to all constructor
1736 * alloc.c: Added placeholders.
1738 * bytecode.c: Ditto.
1742 * database.c: Ditto.
1747 * event-stream.c: Ditto.
1751 * file-coding.c: Ditto.
1752 * floatfns.c: Ditto.
1760 * mule-charset.c: Ditto.
1764 * rangetab.c: Ditto.
1765 * specifier.c: Ditto.
1768 * tooltalk.c: Ditto.
1771 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1773 * XEmacs 21.2.17 is released
1775 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1777 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1778 (HAVE_LDAP_GET_LDERRNO): Ditto
1779 (HAVE_LDAP_RESULT2ERROR): Ditto
1780 (HAVE_LDAP_PARSE_RESULT): Ditto
1781 (HAVE_UMICH_LDAP): Removed
1782 (HAVE_NS_LDAP): Removed
1784 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1785 suggested by Olivier Galibert
1786 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1788 * eldap.c: Take the removal of `livep' into account in all the
1790 (signal_ldap_error): Take two additional parameters
1791 Added new finer compilation conditions in order to use
1792 ldap_parse_result or ldap_result2error if available
1793 (Fldap_open): Conform to this new API
1794 (Fldap_search_internal): Ditto
1796 1999-06-17 SL Baur <steve@miho.m17n.org>
1798 * data.c (struct int_or_double): Should use EMACS_INT not int.
1800 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1802 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1805 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1807 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1808 `CCL_MODE_ENCODING'.
1810 * file-coding.c (mule_decode): Run `ccl_driver' with
1811 `CCL_MODE_DECODING'.
1812 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1814 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1815 (ccl_driver): Add new argument `conversion_mode'.
1816 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1817 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1818 new optional argument].
1820 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1821 (CCL_MODE_DECODING): New macro.
1822 (ccl_driver): Add new argument `conversion_mode'.
1824 1999-06-15 SL Baur <steve@miho.m17n.org>
1826 * mule-charset.c (Fsplit_char): New subr.
1827 (Fchar_octet): delete.
1828 (syms_of_mule_charset): DEFSUBR it.
1830 1999-06-13 Andy Piper <andy@xemacs.org>
1832 * menubar.h: update declarations involving gui_items.
1834 * lisp.h: declare Lisp_Gui_Item.
1836 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1838 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1839 (print_image_instance): ditto.
1840 (image_instance_equal): ditto.
1841 (image_instance_hash): ditto.
1843 * event-msw.c (mswindows_need_event): assert badly_p status.
1844 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1845 callbacks in tree-view and tab-control widgets.
1846 (emacs_mswindows_next_event): modify use of
1847 mswindows_dequeue_dispatch_event.
1849 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1850 lisp-based gui_items.
1852 * glyphs-msw.c (mswindows_update_subwindow): update use of
1854 (mswindows_register_gui_item): new function.
1855 (mswindows_register_gui_item): fix to use lisp gui_items.
1856 (mswindows_widget_instantiate): ditto.
1857 (mswindows_button_instantiate): ditto.
1858 (add_tree_item): new function to recursively add tree view
1860 (add_tree_item_list): ditto.
1861 (mswindows_tree_instantiate): new function. instantiate tree view
1863 (add_tab_item): new function to add tabs to a tab control.
1864 (mswindows_tab_instantiate): new function. instantiate tab
1866 (image_instantiator_format_create_glyphs_mswindows): add tree view
1868 (vars_of_glyphs_mswindows): ditto.
1870 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1872 (check_valid_item_list): ditto.
1873 (initialize_widget_image_instance): fix to use new lisp gui_item.
1874 (widget_instantiate_1): allow the setting of default textwidth in
1876 (widget_instantiate): change to use new widget_instantiate_1
1878 (combo_instantiate): ditto.
1879 (static_instantiate): ditto.
1880 (tab_instantiate): new function for tab widgets.
1881 (image_instantiator_format_create_glyphs_widget): add tab and tree
1884 * menubar-msw.c (displayable_menu_item): convert to use lisp
1886 (populate_menu_add_item): ditto.
1887 (populate_or_checksum_helper): ditto.
1889 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1891 (Fmenu_find_real_submenu): ditto.
1893 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1895 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1896 objects, convert functions that use them accordingly.
1897 (gui_item_init): ditto.
1898 (gui_item_active_p): ditto.
1899 (gui_item_selected_p): ditto.
1900 (gui_item_included_p): ditto.
1901 (gui_item_display_flush_left): ditto.
1902 (gui_item_display_flush_right): ditto.
1903 (mark_gui_item): ditto.
1904 (allocate_gui_item): new function to create a gui_item.
1905 (make_gui_item_from_keywords_internal): ditto. create and return a
1906 gui_item as well as setting keywords.
1907 (gui_parse_item_keywords): ditto.
1908 (gui_parse_item_keywords_no_errors): ditto.
1909 (gui_add_item_keywords_to_plist): new function, not yet used.
1910 (gui_item_hash): new function.
1911 (gui_item_id_hash): use gui_item_hash.
1912 (gui_item_equal): new function.
1913 (print_gui_item): new function.
1915 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1917 * XEmacs 21.2.16 is released
1919 1999-06-10 Andy Piper <andy@xemacs.org>
1921 * select-msw.c (mswindows_own_selection): only set the clipboard
1923 (mswindows_get_foreign_selection): only get the clipboard if
1925 (mswindows_disown_selection): only disown the clipboard if asked.
1927 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1929 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1931 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1932 of coding-category `no-conversion'.
1934 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1936 * file-coding.c (Qraw_text): New variable.
1937 (syms_of_mule_coding): Add new symbol `raw-text'.
1938 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1939 define coding-system `binary' independently; define coding-system
1940 `no-conversion' as an alias for `raw-text'.
1942 * file-coding.h (Qraw_text): New variable.
1944 1999-06-08 SL Baur <steve@xemacs.org>
1946 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1948 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1950 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1952 (base64_decode_1): Signal errors instead of returning -1.
1954 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1956 * mule-charset.c (Fmake_char): Update docstring.
1958 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1960 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1962 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1964 * fns.c (base64_decode_1): Allow and ignore any non-base64
1965 characters in input.
1967 1999-05-27 Olivier Galibert <galibert@pobox.com>
1969 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1970 of report_pure_usage().
1972 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1974 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1976 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1978 * XEmacs 21.2.15 is released
1980 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1982 * frame.c (Fset_mouse_position):
1983 (Fset_mouse_pixel_position):
1984 * window.c (Fsplit_window):
1985 (Fmove_to_window_line):
1986 Fix crash when invoking functions with an already-deleted window
1989 * indent.c (vertical_motion_1):
1991 (Fvertical_motion_pixels):
1992 * window.c (Fwindow_displayed_text_pixel_height):
1993 Fix error message when invoking functions with an already-deleted
1996 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1998 * sysdep.c (request_sigio_on_device): Guard against glibc
1999 2.1's stub streams implementation.
2001 1999-06-03 SL Baur <steve@xemacs.org>
2004 * emacs.c: Implement x.y.z version numbers
2005 From Jan Vroonhof <vroonhof@math.ethz.ch>
2007 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2009 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2010 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2013 1999-06-03 SL Baur <steve@xemacs.org>
2016 * device-x.c: rename session option to wmcommand.
2017 From Oliver Graf <ograf@rhein-zeitung.de>
2019 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2021 * fns.c (Fsubstring): Don't traverse the same region twice with
2022 charcount_to_bytecount().
2024 1999-06-03 SL Baur <steve@steve1.m17n.org>
2026 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2029 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2030 doesn't really work as is implied by the commentary).
2031 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2033 1999-06-02 SL Baur <steve@steve1.m17n.org>
2035 * symsinit.h: Declare vars_of_ntproc.
2036 * emacs.c (main_1): Call it.
2038 * ntproc.c (syms_of_ntproc): Move variable initializations from
2040 (vars_of_ntproc): ... to here [new function].
2042 * file-coding.c (syms_of_file_coding): Rename.
2043 (vars_of_file_coding): Ditto.
2044 (complex_vars_of_file_coding): Ditto.
2046 * symsinit.h: Rename *_mule_coding to *_file_coding.
2048 * emacs.c (main_1): Call them by the proper name.
2050 * device-msw.c (syms_of_device_mswindows): Move variable
2051 initializations from here ...
2052 (vars_of_device_mswindows): ... to here.
2054 * chartab.c (vars_of_chartab): New function.
2056 * symsinit.h: New function, vars_of_chartab.
2058 * emacs.c (main_1): Call it.
2060 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2061 (vars_of_mule_canna): ... to here.
2063 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2064 initializations out of syms_of_mule_ccl.
2066 * symsinit.h: Declare new function vars_of_mule_ccl.
2068 * emacs.c (main_1): Call it.
2070 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2072 * fns.c (base64_decode_1): Ignore whitespace.
2074 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2076 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2079 1999-05-21 Andy Piper <andy@xemacs.org>
2081 * xselect.c: deleted.
2083 * symsinit.h: declare select initialisation.
2085 * select.h: new file. declare commonly used select functions and
2088 * select.c: new file. generalised from xselect.c.
2089 (clean_local_selection_data): moved from xselect.c.
2090 (get_local_selection): ditto. device specific pieces called via a
2092 (handle_selection_clear): ditto.
2093 (Fown_selection_internal): renamed and generalised from
2094 Fx_own_selection_internal. moved from xselect.c.
2095 (Fdisown_selection_internal): ditto.
2096 (Fselection_owner_p): ditto.
2097 (Fselection_exists_p): ditto.
2098 (Fget_selection_internal): ditto.
2099 (syms_of_select): new function. QXXXX values moved from xselect.c
2100 (vars_of_select): new function. selection_converter_alist,
2101 lost_selection_hooks moved and renamed from xselect.c
2103 * select-x.c: renamed from xselect.c.
2104 (x_own_selection): converted to device specific. non-X-specific
2105 bits moved to select.c.
2106 (x_get_foreign_selection): ditto.
2107 (x_disown_selection): ditto.
2108 (x_selection_exists_p): ditto.
2109 (console_type_create_select_x): new function.
2111 * select-msw.c (mswindows_own_selection): new device method to set
2112 the clipboard when we 'own' the selection.
2113 (mswindows_get_foreign_selection): new device method to get the
2115 (mswindows_disown_selection): new device method to delete the
2116 selection when we 'disown' it.
2117 (console_type_create_select_mswindows): new function.
2119 * emacs.c (main_1): add select to things to initialise.
2121 * console.h (struct console_methods): new console methods for
2124 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2126 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2128 * print.c (long_to_string): Install a faster version.
2130 1999-05-16 Andy Piper <andy@xemacs.org>
2132 * ntproc.c (syms_of_ntproc): default
2133 win32-start-process-share-console to t.
2135 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2137 * config.h.in: Do it here.
2139 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2141 1999-05-14 Andy Piper <andy@xemacs.org>
2143 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2146 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2148 * XEmacs 21.2.14 is released
2150 1999-05-12 Andy Piper <andy@xemacs.org>
2152 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2154 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2156 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2157 run_temacs_argv array -- fixes random memory corruption crash
2159 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2161 * window.c (Fcurrent_window_configuration):
2162 Save minibuffer height;
2164 * window.c (set_window_configuration): use it.
2166 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2168 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2170 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2172 * redisplay.c (redisplay_window): Do not put data
2173 in the line start cache if it is not guaranteed to be correct
2175 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2177 * window.c (struct window_config): Removed frame
2179 (window_config_equal): No longer compare frame sizes.
2180 (Fset_window_configuration): Resize old top window to fit in the
2181 current frame directly, no longer use a fake frame resize.
2182 (Fcurrent_window_configuration): No longer save frame size
2184 1999-05-11 Andy Piper <andy@xemacs.org>
2186 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2189 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2191 * sysdep.c (init_system_name): If gethostname gives a proper
2192 domain name, don't look further for one.
2194 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2196 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2197 (Fintern_soft): Accept a symbol argument.
2199 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2201 * symbols.c (Fintern): ...do it here.
2203 * lread.c (read_atom): Don't handle keywords here.
2205 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2207 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2209 1999-05-03 Olivier Galibert <galibert@pobox.com>
2211 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2212 is interned in the main obarray.
2214 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2216 * menubar-x.c (pre_activate_callback): set accelerator field in
2217 "No menu" entries to nil. Avoid crash in
2218 command_builder_operate_menu_accelerator
2220 1999-05-03 Olivier Galibert <galibert@pobox.com>
2222 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2224 * lisp.h (DEFUN): Fix lrecord header initialisation.
2226 1999-05-02 Andy Piper <andy@xemacs.org>
2228 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2230 * ntproc.c (sys_kill): cast using MS mandated defines.
2232 1999-04-29 Andy Piper <andy@xemacs.org>
2234 * m/intel386.h: remove redundant definitions.
2236 * s/mingw32.h: new header for mingw32.
2238 * unexnt.c: (open_input_file): function moved to nt.c.
2239 (close_file_data): ditto.
2240 (rva_to_section): function moved to ntproc.
2242 * symsinit.h: declare syms_of_ntproc();
2244 * objects-msw.c (mswindows_font_instance_truename): new function.
2246 * ntproc.c: remove many warnings.
2247 (_sys_read_ahead): moved from nt.c and made static.
2248 (rva_to_section): moved from unexnt.c but not defined under
2250 (win32_executable_type): implement what we can for mingw32
2252 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2254 * ntheap.h: remove declarations of functions that are now static.
2256 * ntheap.c: support static heap.
2258 * nt.h: conditionalise X_OK definition.
2260 * nt.c: eliminate many warnings and support mingw32.
2261 (open_input_file): function moved from unexnt.c and made static
2262 (close_file_data): ditto.
2263 (_sys_read_ahead): moved to ntproc.c
2265 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2267 * console-msw.h: support mingw32.
2268 * getloadavg.c: ditto.
2275 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2276 some systems don't have all of the encapsulated system calls.
2278 * callproc.c: warning elimination.
2279 * dired-msw.c: ditto.
2280 * process-nt.c: ditto.
2281 * realpath.c: ditto.
2283 * Makefile.in.in: tweak : and ; for building under mswindows.
2285 1999-04-26 Michael Harnois <mharnois@willinet.net>
2287 * eldap.c (allocate_ldap): Adapt to the new semantics of
2288 alloc_lcrecord_type().
2290 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2292 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2294 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2296 * Delete mule-coding.c and mule-coding.h because they are not
2299 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2301 * objects.c (print_font_instance): Check for NILP(f->device),
2302 i.e. Vthe_null_font_instance.
2303 (font_instance_truename_internal): ditto.
2304 (Ffont_instance_properties): ditto.
2306 1999-04-22 Olivier Galibert <galibert@pobox.com>
2308 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2311 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2313 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2314 it easier to add new ones.
2316 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2318 * symbols.c (reject_constant_symbols): Ditto.
2319 (init_symbols_once_early): Ditto.
2321 * print.c (print_symbol): Don't use ->obarray.
2323 * symbols.c (Funintern): Ditto.
2325 * alloc.c (Fmake_symbol): Don't set ->obarray.
2327 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2329 * symbols.c (init_symbols_once_early): Removed
2330 Vpure_uninterned_symbol_table.
2331 (Fintern): Don't store to ->obarray field.
2333 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2335 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2336 (eq_with_ebola_notice): Remove abracadabra support.
2338 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2340 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2341 retrieve the distinguished names of entries
2343 1999-03-08 Martin Buchholz <martin@xemacs.org>
2345 * lread.c (read_escape): Make hex escapes read only two hex digits.
2347 1999-04-05 Olivier Galibert <galibert@pobox.com>
2349 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2350 * make-src-depend: Remove puresize-adjust.h.
2351 * src-headers: Remove puresize-adjust.h.
2352 * config.h.in: Kill everything purespace/gung-ho related.
2354 * dbxrc: Make gung-ho mandatory.
2357 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2358 c_readonly and lisp_readonly. Remove implementation arrays.
2359 (C_READONLY_RECORD_HEADER_P): Added.
2360 (LISP_READONLY_RECORD_HEADER_P): Added.
2361 (SET_C_READONLY_RECORD_HEADER): Added.
2362 (SET_LISP_READONLY_RECORD_HEADER): Added.
2364 * lisp.h: Kill everything purespace/non gung-ho related.
2365 (CHECK_C_WRITEABLE): Added.
2366 (CHECK_LISP_WRITEABLE): Added.
2367 (C_READONLY): Added.
2368 (LISP_READONLY): Added.
2370 * lisp-union.h: Make gung-ho mandatory.
2371 * lisp-disunion.h: Ditto.
2373 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2374 set_lheader_implementation calls.
2375 (c_readonly): Added.
2376 (lisp_readonly): Added.
2377 (make_string_nocopy): Added.
2378 (Fpurecopy): Changed to do nothing. Kept the old documentation
2379 for reference purposes for the next patches.
2380 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2381 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2382 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2384 * fns.c: Make gung-ho mandatory.
2385 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2387 (Ffillarray): Ditto.
2389 * data.c: Make gung-ho mandatory.
2390 (pure_write_error): Removed.
2391 (c_write_error): Added.
2392 (lisp_write_error): Added.
2393 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2397 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2398 make_string or make_string_nocopy. Fix various
2399 alloc_lcrecord_type.
2401 * lread.c: Remove everything purespace related.
2402 (Flocate_file_clear_hashing): purified -> c_readonly.
2403 (locate_file): Ditto.
2404 (read_atom): make_pure_pname -> make_string.
2406 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2408 (Fdump_emacs): Ditto.
2410 * print.c (print_internal): Make gung-ho mandatory.
2411 * ntheap.c (sbrk): Ditto.
2412 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2413 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2415 * sheap.c (more_static_core): Remove puresize-adjust.h from
2418 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2420 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2421 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2422 * events.c (deinitialize_event): Fix set_lheader_implementation.
2423 (zero_event): Ditto.
2424 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2425 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2426 * mule-charset.c (make_charset): Ditto.
2427 * console.c (allocate_console): Ditto.
2428 (complex_vars_of_console): Ditto.
2429 * file-coding.c (allocate_coding_system): Ditto.
2430 * device.c (allocate_device): Ditto
2431 * gui-x.c (gcpro_popup_callbacks): Ditto.
2432 * extents.c (allocate_extent_auxiliary): Ditto.
2433 (allocate_extent_info): Ditto.
2434 (copy_extent): Ditto.
2435 * glyphs.c (allocate_image_instance): Ditto.
2436 (allocate_glyph): Ditto.
2437 * frame.c (allocate_frame_core): Ditto.
2438 * database.c (allocate_database): Ditto.
2439 * tooltalk.c (make_tooltalk_message): Ditto.
2440 (make_tooltalk_pattern): Ditto.
2441 * rangetab.c (Fmake_range_table): Ditto.
2442 (Fcopy_range_table): Ditto.
2443 * process.c (make_process_internal): Ditto.
2444 * chartab.c (Fmake_char_table): Ditto.
2445 (make_char_table_entry): Ditto.
2446 (copy_char_table_entry): Ditto.
2447 (Fcopy_char_table): Ditto.
2448 * elhash.c (make_general_lisp_hash_table): Ditto.
2449 (Fcopy_hash_table): Ditto.
2450 * buffer.c (allocate_buffer): Ditto.
2451 (complex_vars_of_buffer): Ditto.
2452 * event-stream.c (allocate_command_builder): Ditto.
2453 * objects.c (Fmake_color_instance): Ditto.
2454 (Fmake_font_instance): Ditto.
2455 (vars_of_objects): Ditto.
2456 * toolbar.c (update_toolbar_button): Ditto.
2457 * window.c (allocate_window): Ditto.
2458 (make_dummy_parent): Ditto.
2459 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2460 (vars_of_window): Fix make_lcrecord_list.
2461 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2463 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2464 * opaque.c (make_opaque): Fix alloc_lrecord.
2465 (make_opaque_list): Fix alloc_lrecord_type.
2467 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2469 * process.c (Fstart_process_internal): Ditto.
2471 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2474 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2476 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2479 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2480 (emodules_load): Use it when calling locate_file().
2482 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2485 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2486 (vars_of_callproc): Initialize it.
2487 (Fcall_process_internal): Use it when calling locate_file().
2489 * alloc.c (disksave_object_finalization): Use
2490 Flocate_file_clear_hashing().
2492 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2493 given `t' as argument.
2495 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2497 * lread.c (locate_file): Expand `pathel' when appropriate.
2498 (Flocate_file_clear_hashing): Expand path elements.
2499 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2501 * dired.c (make_directory_hash_table): Create the hash-table only
2502 if the directory open is successful.
2504 * lread.c (decode_mode_1): New function.
2505 (decode_mode): Ditto.
2506 (Flocate_file): Use them.
2507 (Flocate_file): Expand FILENAME.
2508 (locate_file_map_suffixes): New function.
2509 (locate_file_in_directory_mapper): New function.
2510 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2511 and locate_file_map_suffixes().
2512 (locate_file_construct_suffixed_files): Use
2513 locate_file_map_suffixes().
2514 (locate_file_without_hash): Don't GCPRO path.
2515 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2516 (syms_of_lread): Remove Qlocate_file_hash_table.
2517 (locate_file_find_directory_hash_table): Use
2518 Vlocate_file_hash_table.
2519 (locate_file_refresh_hashing): Ditto.
2521 * lread.c: Renamed read_objects to Vread_objects.
2523 1999-04-16 Olivier Galibert <galibert@pobox.com>
2525 * mule-charset.c: Generally resync with fsf 20.3 charset
2527 (make_charset): Add long and short name. Use id instead of
2529 (Fmake_charset): Ditto.
2530 (Fmake_reverse_direction_charset): Ditto.
2531 (Fcharset_property): Ditto.
2532 (Fcharset_short_name): Added.
2533 (Fcharset_long_name): Added.
2534 (Fcharset_description): Renamed from charset-doc-string.
2535 (syms_of_mule_charset): Synced symbols.
2536 (complex_vars_of_mule_charset): Synced charsets.
2538 * mule-charset.h: Removed leading byte (uses id instead), added
2539 short and long name.
2541 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2543 * file-coding.c (Fdefine_coding_system_alias): New function.
2545 1999-04-08 Olivier Galibert <galibert@pobox.com>
2547 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2548 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2550 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2552 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2553 attach to the extent is valid.
2555 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2557 * dired.c (user_name_completion): Mule-ize.
2558 (user_name_completion): Use xmalloc/xrealloc/xfree.
2559 (user_name_completion): Use DO_REALLOC.
2560 (user_name_completion): Cut down the number of static variables;
2562 (user_name_completion): Username completion is always
2565 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2567 * fns.c (base64_decode_1): Remove COUNTER.
2568 (base64_decode_1): Accept CRLF in addition to CR.
2569 (base64_decode_1): Disallow a stray character after final EOF; the
2570 check was probably a remnant of buggy recode code.
2572 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2574 * fns.c (init_provide_once): Provide `base64'.
2576 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2578 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2579 (Fbase64_encode_region): If buffer is read-only, bail out early.
2580 (Fbase64_decode_region): Ditto.
2581 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2583 (Fbase64_encode_string): Ditto.
2584 (Fbase64_decode_region): Ditto.
2585 (Fbase64_decode_string): Ditto.
2587 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2589 * dired.c (Fdirectory_files): Remove redundant code.
2591 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2593 * frame-msw.c Make raise-frame restore minimised windows.
2595 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2597 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2600 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2602 * toolbar-msw.c Consider captions when deciding whether to rebuild
2603 toolbar. This fixes the initial toolbar display for those of us
2604 who don't like captions. These patches applied by Andy Piper.
2606 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2608 * XEmacs 21.2.13 is released
2610 1999-03-12 SL Baur <steve@xemacs.org>
2612 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2614 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2616 * file-coding.c: docstring and comment improvements.
2617 (decode_ucs4) flag possible data loss with comment.
2619 1999-03-10 Martin Buchholz <martin@xemacs.org>
2621 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2625 (decode_coding_ucs4):
2626 (encode_coding_ucs4):
2627 (detect_coding_utf8):
2628 (decode_coding_utf8):
2630 (encode_coding_utf8):
2631 Add CHECK_* macros where needed to avoid crashes.
2632 #ifdef out all composite character support using
2633 #ifdef ENABLE_COMPOSITE_CHARS
2634 Use normal XEmacs coding standards.
2636 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2638 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2640 * file-coding.c (make-coding-system): Add description about
2641 `ucs-4' and `utf-8'.
2642 (detection_state): Modify to implement ucs-4 and utf-8.
2643 (detect_coding_type): Likewise.
2644 (detect_coding_ucs4): New implementation.
2645 (detect_coding_utf8): New implementation.
2646 (encode_utf8): fixed.
2647 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2650 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2652 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2653 2022 registry to private area.
2655 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2657 * file-coding.c (encode_utf8): New function.
2658 (encode_coding_utf8): New implementation.
2660 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2662 * file-coding.c (ucs_to_mule_table): New variable; abolish
2663 `Vucs_to_mule_table'
2664 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2665 (set-ucs-char): New function.
2666 (ucs_to_char): New function.
2667 (ucs-char): New function.
2668 (set-char-ucs): New function.
2669 (char-ucs): New function.
2670 (decode_ucs4): Use `ucs_to_char'.
2671 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2672 `mule-to-ucs-table'.
2674 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2676 * chartab.h: EXFUN `Fget_char_table'.
2678 * file-coding.c (encode_ucs4): New function.
2679 (encode_coding_ucs4): Use `encode_ucs4'.
2681 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2683 * file-coding.c (decode_coding_ucs4): New implementation.
2685 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2687 * file-coding.c (decode_coding_ucs4): fixed.
2689 * file-coding.c (Vmule_to_ucs_table): New variable.
2690 (mule_char_to_ucs4): New function.
2691 (encode_coding_ucs4): New implementation.
2692 (complex_vars_of_mule_coding): Define variable
2693 `mule-to-ucs-table'.
2695 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2697 * file-coding.c (decode_coding_utf8): New implementation.
2699 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2701 * file-coding.c (decode_coding_utf8): fixed.
2703 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2705 * file-coding.c (Vucs_to_mule_table): New variable.
2706 (decode_ucs4): Refer `Vucs_to_mule_table'.
2707 (complex_vars_of_mule_coding): Define variable
2708 `ucs-to-mule-table'.
2710 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2712 * file-coding.c (detect_coding_ucs4): New function (not
2714 (decode_coding_ucs4): New function.
2715 (encode_coding_ucs4): New function (not implemented yet).
2716 (detect_coding_utf8): New function (not implemented yet).
2717 (decode_coding_utf8): New function.
2718 (encode_coding_utf8): New function (not implemented yet).
2719 (make-coding-system): New type `ucs4' and `utf8'.
2720 (coding-system-type): Likewise.
2721 (detection_state): Add `ucs4' and `utf8'.
2722 (detect_coding_type): Likewise.
2723 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2724 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2725 (decode_ucs4): New function (very incomplete).
2726 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2728 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2730 1999-03-08 Martin Buchholz <martin@xemacs.org>
2733 (non_ascii_valid_char_p):
2734 (lookup_composite_char):
2735 (composite_char_string):
2736 (make-composite-char):
2737 (composite-char-string):
2738 (syms_of_mule_charset):
2739 (complex_vars_of_mule_charset):
2740 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2741 (CHAR_LEADING_BYTE):
2743 * file-coding.h (CODING_STATE_COMPOSITE):
2744 (CODING_STATE_ISO2022_LOCK):
2746 (LEADING_BYTE_COMPOSITE):
2747 * file-coding.c (struct iso2022_decoder):
2750 (parse_iso2022_esc):
2751 (encode_coding_iso2022):
2752 #ifdef out all composite character support using
2753 #ifdef ENABLE_COMPOSITE_CHARS
2755 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2757 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2759 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2760 way of `Fbase64_encode_region'.
2762 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2764 * fns.c (base64_encode_1): Don't add a newline at the tail.
2766 1999-03-08 Andy Piper <andy@xemacs.org>
2768 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2771 1999-03-07 Martin Buchholz <martin@xemacs.org>
2773 * console-stream.h (struct stream_console):
2774 * event-unixoid.c (event_stream_unixoid_select_console):
2775 (event_stream_unixoid_unselect_console):
2776 * print.c (Fexternal_debugging_output):
2777 * sysdep.c (reset_one_device):
2778 * console-stream.c (stream_init_console):
2779 (stream_delete_console):
2780 (allocate_stream_console_struct): move into stream_init_console.
2781 (free_stream_console_struct): move into stream_delete_console.
2782 Use `fd' only for file descriptors.
2783 Therefore, rename members of struct stream_console.
2785 * systime.h: Unix98 says sys/time.h should define select(), but
2786 some systems define that in unistd.h. So include that file always.
2788 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2789 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2790 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2792 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2796 Add #include <stdio.h>.
2797 Some versions of assert.h use printf() without #include'ing stdio.h
2799 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2800 (log_gcpro): Remove unused variable FRAME.
2801 (show_gcprohist): Ansify.
2802 Comment the #endif's
2804 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2805 after it's just been XtDestroy'ed!
2807 1999-02-18 Martin Buchholz <martin@xemacs.org>
2809 * opaque.c (print_opaque):
2813 Egcs 1.1.1 seems to have a bug where
2814 INTP (p->size_or_chain)
2815 will crash XEmacs. Fix by introducing intermediate variable.
2817 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2819 * dired.c (Fdirectory_files):
2820 (Ffile_name_completion):
2821 (Ffile_name_all_completions):
2822 (file_name_completion):
2823 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2824 avoid compiler warnings.
2825 - Fix up docstrings so that C variables match documentation.
2827 1999-03-05 Martin Buchholz <martin@xemacs.org>
2829 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2830 variables as small as possible to help out the compiler and the maintainer.
2832 * alloc.c: (disksave_object_finalization):
2833 Set all the *-load-path variables to
2834 nil, not just load-path itself. This gets the locate-file hash
2835 tables garbage collected BEFORE dump, and has the side effect of
2836 preventing crashes on OSF4.0+egcs.
2841 - Clean up gdb/dbx debugging support.
2842 - Storing an EMACS_INT in an enum is not 64-bit clean!
2843 - So change the enum to a set of separate variables.
2844 - Add test cases to help debug the debugging support!
2845 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2846 - Both dbx and gdb have been tested now.
2848 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2850 * XEmacs 21.2.12 is released
2852 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2854 * device-x.c: Support to find best visual without flashing.
2856 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2858 * database.c (berkdb_map): Add flags argument to cursor call (must
2859 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2861 1999-03-03 Martin Buchholz <martin@xemacs.org>
2865 General cleanup. Get free-hook.c working again.
2866 Remove unused functions:
2867 make_strings_hash_table, copy_hash, expand_hash_table.
2871 Always use new ANSI-style function prototypes.
2873 * unexalpha.c (unexec): Never use implicit int.
2875 * sgiplay.c (close_sound_file):
2877 (restore_audio_port):
2882 (write_mulaw_8_chunk):
2883 (write_linear_chunk):
2884 (write_linear_32_chunk):
2885 (initialize_audio_port):
2888 (set_output_format):
2889 (adjust_audio_volume):
2890 (get_current_volumes):
2892 Always use new ANSI-style function prototypes.
2893 Use unistd.h for missing prototypes.
2895 * unexelfsgi.c (round_up):
2897 (unexec): Always use new ANSI-style function prototypes
2899 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2901 * console.h (struct console_methods): Always use full ANSI prototypes
2903 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2905 1999-03-02 Andy Piper <andy@xemacs.org>
2907 * event-stream.c (init_event_stream): make sure native mswindows
2908 gets an appropriate event loop.
2910 1999-02-22 Andy Piper <andy@xemacs.org>
2912 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2913 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2914 (mswindows_raise_frame): remove comment.
2916 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2918 * XEmacs 21.2.11 is released
2920 1999-02-25 SL Baur <steve@xemacs.org>
2922 * mule-charset.c (Qleading_byte): New variable to implement
2923 charset-leading-byte function.
2924 (Fcharset_property): Use it.
2925 (syms_of_mule_charset): Initialize it.
2926 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2928 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2930 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2931 bytes per pixel counting.
2933 1999-02-15 Andy Piper <andy@xemacs.org>
2935 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2938 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2940 * fns.c (Fbase64_encode_string): New optional argument
2943 1999-02-16 Martin Buchholz <martin@xemacs.org>
2945 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2946 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2948 1999-02-10 Martin Buchholz <martin@xemacs.org>
2950 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2951 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2953 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2955 * XEmacs 21.2.10 is released
2957 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2959 * process-nt.c (nt_send_process):
2960 Fix for process-send-region/process-send-string breaking when size
2961 of the input > 128 chars: change maximum chunk size for process
2962 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2965 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2967 * XEmacs 21.2.9 is released
2969 1999-01-30 Martin Buchholz <martin@xemacs.org>
2971 * bytecode.c (funcall_compiled_function): Call
2972 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2974 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2975 #ifdef 0 out unused macro.
2977 1999-01-27 Martin Buchholz <martin@xemacs.org>
2979 * gui.c (gui_parse_item_keywords_internal): Make static.
2981 1999-01-21 Andy Piper <andy@xemacs.org>
2983 * glyphs-msw.c: add xface support.
2984 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2985 (image_instantiator_format_create_glyphs_mswindows): do device
2986 specific initialisation for xfaces.
2987 (xbm_create_bitmap_from_data): line data must be padded to a word
2990 * glyphs-x.c (xface_validate): moved to glyphs.c
2991 (xface_normalize): ditto.
2992 (xface_possible_dest_types): ditto.
2993 (image_instantiator_format_create_glyphs_x): do device specific
2994 initialisation for xfaces.
2996 * glyphs.h: declare xface symbol.
2998 * glyphs.c: move generic xface support here.
2999 (xface_validate): moved from glyphs-x.c
3000 (xface_normalize): ditto.
3001 (xface_possible_dest_types): ditto.
3002 (image_instantiator_format_create): xface declarations moved from
3005 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3007 * event-stream.c (vars_of_event_stream): Fixing documentation.
3009 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3011 * glyphs-eimage.c (gif_instantiate): Correct handling of
3012 interlaced gifs to avoid writing past the end of the eimage
3015 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3017 * search.c (Freplace_match): Handle single backslash at end of
3020 1999-01-12 William M. Perry <wmperry@aventail.com>
3022 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3023 avoid connection errors.
3025 1999-01-12 Andy Piper <andy@xemacs.org>
3027 * redisplay-output.c (redisplay_update_line): backout change that
3028 shouldn't have gone ine.
3030 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3032 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3033 collide with ldap.el
3035 1999-01-11 Andy Piper <andy@xemacs.org>
3037 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3038 (DISPLAY_LINE_YPOS): new macro.
3040 * redisplay-msw.c (mswindows_output_string): use it.
3041 (mswindows_output_pixmap): ditto.
3042 (mswindows_output_display_block): ditto.
3044 * redisplay-output.c (redisplay_output_display_block): new
3045 function. just call the devmeth, maybe insert some generic code
3047 (compare_display_blocks): use it.
3048 (output_display_line): ditto.
3049 (redisplay_unmap_subwindows_maybe): new function. potentially
3050 unmap subwindows in the given area.
3052 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3055 1999-01-10 J. Kean Johnston <jkj@sco.com>
3057 * Makefile.in.in: Set value of moduledir
3058 - Changed DUMPENV to include $(MODULEPATH)
3059 - Added install rule to install header files for use by ellcc.
3061 * config.h.in: Added INHIBIT_SITE_MODULES
3062 - Added HAVE__DLERROR
3063 - Added HAVE_DLFCN_H
3064 - Added DLSYM_NEEDS_UNDERSCORE
3068 * emodules.c: New file containing dynamic loading code.
3070 * emodules.h: New file.
3072 * emacs.c: Added variables Vmodule_directory,
3073 Vsite_module_directory, Vconfigure_module_directory and
3074 Vconfigure_site_module_directory.
3075 - (main_1): Added new variable inhibit_site_modules and command
3076 line options `-no-site-modules' and `--no-site-modules'.
3077 - (main_1): Call syms_of_module() instead of syms_of_dll().
3078 - (main_1): Call vars_of_module().
3079 - (vars_of_emacs): Introduce inhibit-site-modules,
3080 module-directory, configure-module-directory,
3081 site-module-directory, and configure-site-module-directory to the
3084 * lisp.h: Declare load_module and list_modules, as well as
3085 Vmodule_directory, Vsite_module_directory,
3086 Vconfigure_module_directory and Vconfigure_site_module_directory.
3088 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3089 - Added correct support for site-lisp directory.
3091 * symbols.c (defsubr): Modified to allow modules to add new subrs
3093 - (defsubr_macro): Same.
3094 - (defvar_magick): Only use purespace when not initialized, so
3095 that loaded modules can still add symbols.
3097 * symsinit.h: Add definitions for syms_of_module(),
3098 vars_of_module(). Removed syms_of_dll().
3100 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3101 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3102 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3104 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3105 explicitly pass -belf for native cc.
3107 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3108 hard-coding the library name.
3110 1999-01-01 <martin@xemacs.org>
3112 * device-x.c (Fx_set_font_path):
3113 Add proper cast to permit compilation under C++.
3115 * buffer.c (directory_is_current_directory):
3116 Add proper casts to permit compilation under C++.
3118 1998-12-30 Damon Lipparelli <lipp@primus.com>
3120 * event-msw.c (mswindows_wnd_proc):
3121 Fixed failure when building with MSVC 5.
3123 1998-12-29 Martin Buchholz <martin@xemacs.org>
3125 * file-coding.c (decode_coding_iso2022):
3126 - Prevent crash when decoding ISO7/Lock detected files
3127 - the usual martin fiddling
3129 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3133 Fixed failures when building with MSVC.
3134 * unexnt.c (dump_bss_and_heap):
3135 Removed compiler warning by removing bss_data variable.
3137 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3139 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3140 so that packages that distribute their own fonts can access them.
3142 1998-12-28 Andy Piper <andy@xemacs.org>
3144 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3145 that have an image provided.
3147 * glyphs.h: add Q_image decl.
3149 * glyphs-widget.c new functionality allowing images in
3151 (check_valid_glyph_or_image): new function to validate
3152 glyphs passed in through :image.
3153 (widget_normalize): new function. convert :image parameters into
3154 real glyphs if not already so.
3155 (widget_instantiate_1): mess with size parameters to be similar to
3157 (syms_of_glyphs_widget): new keyword :image.
3158 (image_instantiator_format_create_glyphs_widget): normalize
3159 buttons and allow :image.
3161 1998-12-27 Andy Piper <andy@xemacs.org>
3163 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3165 * glyphs-widget.c (check_valid_anything): no-op function.
3166 (check_valid_callback): check callbacks in gui_items.
3167 (check_valid_symbol): as it sounds.
3168 (check_valid_string_or_vector): ditto.
3169 (widget_validate): modified for descriptors that are vectors or
3170 sequences of keyword/val pairs.
3171 (widget_instantiate_1): ditto.
3172 (image_instantiator_format_create_glyphs_widget): allow gui_item
3173 keywords in the instantiator.
3175 * gui.c (gui_parse_item_keywords_internal): renamed from
3176 gui_parse_item_keywords but taking error behaviour.
3177 (gui_parse_item_keywords): use it.
3178 (gui_parse_item_keywords_no_errors): ditto.
3179 (gui_item_add_keyval_pair): add Error_behavior flag and only
3180 signal invalid keywords if required.
3182 * gui.h: new gui signatures.
3184 * menubar.c (menu_parse_submenu_keywords): use new
3185 gui_item_add_keyval_pair signature.
3187 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3189 1998-12-28 Martin Buchholz <martin@xemacs.org>
3191 * XEmacs 21.2.8 is released.
3193 1998-12-28 Martin Buchholz <martin@xemacs.org>
3195 * editfns.c (get_home_directory):
3196 (user-home-directory): Simplify.
3199 * callproc.c (child_setup):
3200 - Environment variables were being passed to inferior processes
3201 using internal encoding.
3202 - Convert to external encoding.
3203 - Rename local var `tem' to better name `tail'.
3204 - Use Flength instead of `manual' calculation.
3206 * buffer.c (kill-buffer):
3208 (set-buffer-major-mode):
3210 - Fix up parameter names to correspond to docstrings.
3211 - Don't use `bufname' when a buffer will do as well.
3212 - Remove one unneeded GCPRO.
3214 * buffer.h (initial_directory):
3215 * buffer.c (init_initial_directory):
3216 - use correct conversions between internal and external format.
3217 (directory_is_current_directory): new function
3218 (init_buffer): convert initial_directory to internal format.
3219 - solve crashes when current working directory is non-ASCII.
3221 * alloc.c (xmalloc):
3224 - remove stupid casts, since XEmacs requires an ANSI C system.
3225 (lrecord_type_index): replace abort() with more readable assert().
3227 (reset_lcrecord_stats): remove.
3228 (sweep_lcrecords_1):
3229 - replace call to reset_lcrecord_stats() with call to xzero().
3231 1998-12-27 Martin Buchholz <martin@xemacs.org>
3233 * process-unix.c (unix_create_process):
3234 - Fix crash invoking program with non-ASCII name.
3235 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3236 - Remove unused variable `env'.
3237 - Rename `temp' to better name `save_errno'.
3238 - Reorganize code for clarity. But still too chicken to nuke the
3241 1998-12-24 Martin Buchholz <martin@xemacs.org>
3243 * XEmacs 21.2.7 is released.
3245 1998-12-23 Martin Buchholz <martin@xemacs.org>
3247 * glyphs.c (decode_device_ii_format):
3249 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3251 * glyphs-x.c (x_subwindow_instantiate):
3252 - A image instance mask was being assigned to a image instance type!
3253 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3255 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3257 * glyphs-x.h: Make indentation consistent.
3259 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3261 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3263 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3267 Move declarations of decode_device_ii_format and
3268 decode_image_instantiator_format into glyphs.h where they belong.
3270 1998-12-22 Martin Buchholz <martin@xemacs.org>
3272 * frame-x.c (x_delete_frame): Revert part of my changes at the
3273 suggestion of Gunnar Evermann - unfortunately no one really
3274 understands this code.
3276 * callproc.c (init_callproc): code cleanup.
3278 * free-hook.c (malloc):
3283 (block_input_malloc):
3284 (block_input_realloc):
3285 * device-x.c (x_delete_device):
3286 * emacs.c (voodoo_free_hook):
3287 * events.c (print_event):
3289 (CHECK_EVENT_TYPE2):
3290 (CHECK_EVENT_TYPE3):
3291 Use proper prototypes.
3292 Make C_E_T macros a little faster.
3293 Pedantic fiddly little changes. You really don't care.
3295 1998-12-22 Andy Piper <andy@xemacs.org>
3297 * redisplay-output.c (redisplay_clear_region): make sure that
3298 fg/bg colors get set even when we are in the border area.
3300 1998-12-13 Martin Buchholz <martin@xemacs.org>
3302 * console-msw.c: Function definitions follow coding standards
3303 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3305 1998-12-11 Martin Buchholz <martin@xemacs.org>
3307 * events.h (struct timeout_data):
3308 * event-tty.c (tty_timeout_to_emacs_event):
3309 * event-msw.c (mswindows_wm_timer_callback):
3310 * event-Xt.c (Xt_timeout_to_emacs_event):
3311 * event-msw.c (mswindows_cancel_dispatch_event):
3312 Make sure Lisp_Objects inside events are initialized to Qnil, not
3313 Qnull_pointer, which is now illegal.
3315 1998-12-10 Martin Buchholz <martin@xemacs.org>
3317 * lisp.h: Fix up prototypes to match alloc.c
3319 1998-12-08 Martin Buchholz <martin@xemacs.org>
3321 * windowsnt.h: Remove `support' for using index and rindex
3323 * filelock.c (current_lock_owner):
3324 - Change uses of index -> strchr, rindex -> strrchr
3326 1998-12-07 Martin Buchholz <martin@xemacs.org>
3328 * sysdep.c (set_descriptor_non_blocking):
3329 Since O_NONBLOCK is now always #defined, make use of fcntl
3330 conditional on F_SETFL being defined.
3332 * console-msw.c (DHEADgER):
3341 - max_align_t should not be visible to the user of the
3343 - use Bufbyte instead of char
3344 - parens around (FOOP (obj)) are always redundant.
3345 If they were necessary, we should fix the macro instead.
3346 - Always use string_data(foo) instead of foo->data.
3349 1998-12-06 Martin Buchholz <martin@xemacs.org>
3351 * frame-msw.c (mswindows_init_frame_1):
3352 - use make_lisp_hash_table, not Fmake_hash_table
3356 * alloc.c (make_vector): remove travesty
3360 (make_bit_vector_internal):
3362 (make_bit_vector_from_byte_vector):
3364 - make vector_equal a little faster.
3365 - Don't use variable name `new'.
3366 - Use size_t instead of EMACS_INT.
3367 - usual Martin-style pointless bit-twiddling.
3373 Make mapcar faster. In particular, make
3374 (mapc #'identity long-string)
3375 MUCH faster under Mule.
3376 * tests/automated/lisp-tests.el: Test 'em!
3378 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3381 1998-12-01 Martin Buchholz <martin@xemacs.org>
3383 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3384 Qnil, not NULL, to initialize `null' Lisp_Objects.
3386 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3388 * specifier.c (display_table_validate): Update.
3390 * redisplay.c (create_text_block): Use them.
3392 * glyphs.c (display_table_entry): New function.
3393 (get_display_tables): Ditto.
3395 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3397 * eldap.c (toplevel): Mention that eldap.c compiles with
3399 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3400 (Fldap_search_internal): Ditto
3402 1998-12-11 Martin Buchholz <martin@xemacs.org>
3404 * event-msw.c (mswindows_cancel_dispatch_event):
3405 Gratuitous code prettification
3408 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3410 * fns.c (Fnconc): Fix use of wrong_type_argument().
3412 * floatfns.c (Ffloat): Fix docstring.
3413 (Ffloat): Fix use of wrong_type_argument().
3415 (extract_float): Ditto.
3420 1998-12-06 Martin Buchholz <martin@xemacs.org>
3422 * frame-msw.c (mswindows_init_frame_1):
3423 - use make_lisp_hash_table, not Fmake_hash_table
3427 * alloc.c (make_vector): remove travesty
3431 (make_bit_vector_internal):
3433 (make_bit_vector_from_byte_vector):
3435 - make vector_equal a little faster.
3436 - Don't use variable name `new'.
3437 - Use size_t instead of EMACS_INT.
3438 - usual Martin-style pointless bit-twiddling.
3444 Make mapcar faster. In particular, make
3445 (mapc #'identity long-string)
3446 MUCH faster under Mule.
3447 * tests/automated/lisp-tests.el: Test 'em!
3449 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3452 1998-12-02 Didier Verna <verna@inf.enst.fr>
3454 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3455 accelerator field to nil for labels.
3457 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3459 * menubar-msw.c (displayable_menu_item):
3460 Escape occurrences of '&' and support occurrences of the
3461 '%_' accelerator indicator in menus.
3463 1998-11-26 Didier Verna <verna@inf.enst.fr>
3465 * dired.c (Fdirectory_files): use make_string instead of
3466 make_ext_string on the filename. The conversion external->internal
3467 format is already done in sys_readdir.
3469 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3471 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3473 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3476 (Belatedly) added Kirill to list of file's authors.
3477 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3478 quit checking. WM_PAINT messages cause redisplay, but
3479 windows' states are not necessarily stable when this function
3482 1998-12-17 Andy Piper <andy@xemacs.org>
3484 * strftime.c (zone_name): CONSTify.
3486 1998-12-15 Andy Piper <andy@xemacs.org>
3488 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3489 (mswindows_widget_property): return Qunbound when no property available.
3490 (mswindows_button_property): ditto.
3491 (mswindows_combo_property): ditto.
3492 (mswindows_widget_set_property): ditto.
3494 * glyphs-widget.c (check_valid_item_list): use properties.
3496 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3498 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3499 (Fimage_instance_property): ditto.
3500 * glyphs-widget.c (widget_property): ditto.
3501 (widget_set_property): ditto.
3503 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3504 as setting the class cursor so that GC actually changes the
3507 * config.h: don't undef MAIL_USE_POP.
3509 1998-12-13 Andy Piper <andy@xemacs.org>
3512 (image_instantiator_format_create_glyphs_mswindows): line ->
3514 (mswindows_label_instantiate): ditto. Play with window flags.
3515 (image_instantiator_format_create_glyphs_mswindows): ditto.
3516 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3518 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3519 cope with lines and labels.
3520 (static_instantiate): use widget_instantiate_1.
3522 (image_instantiator_format_create_glyphs_widget): ditto.
3524 1998-12-10 Andy Piper <andy@xemacs.org>
3526 * Makefile.in.in (objs): add gui.o
3528 1998-12-10 Andy Piper <andy@xemacs.org>
3530 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3533 1998-12-09 Andy Piper <andy@xemacs.org>
3535 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3536 image instance is removed so that the subwindow cache gets reset
3537 and thus destroyed images get GC'd.
3539 1998-12-08 Andy Piper <andy@xemacs.org>
3541 * gui-msw.c (mswindows_handle_gui_wm_command): call
3542 MARK_SUBWINDOWS_CHANGED.
3544 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3545 subwindows really get deleted.
3547 * redisplay.c: new variable subwindows_changed[_set].
3548 (redisplay_window): use it.
3549 (redisplay_frame): ditto.
3550 (redisplay_device): ditto.
3551 (redisplay_without_hooks): ditto.
3553 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3554 subwindows redisplay as per glyphs equivalent.
3555 * redisplay.h: ditto.
3556 (MARK_SUBWINDOWS_CHANGED): ditto.
3557 (RESET_CHANGED_SET_FLAGS): ditto.
3558 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3560 1998-12-07 Andy Piper <andy@xemacs.org>
3562 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3565 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3567 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3568 messages and paint widget glyphs as appropriate with their face fg
3571 1998-12-06 Andy Piper <andy@xemacs.org>
3573 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3574 here rather than in glyphs-widget - do this because we only want
3575 to provide what is really available.
3577 * glyphs.c (Fimage_instance_property): new function to get the
3578 properties of image instances. wires through to console specific
3579 methods and then to widget specific methods.
3580 (Fset_image_instance_property): ditto but for setting widget properties.
3581 (check_valid_face): make extern so that it can be used elsewhere.
3583 * glyphs-widget.c (widget_property): new function. gets the
3584 properties of widgets in general and wires the function through to
3585 widget specific ones.
3586 (widget_set_property): ditto but for setting widget properties.
3588 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3589 add items to the list. Play with window styles a bit to get the
3591 (mswindows_widget_property): break out specific widget properties.
3592 (mswindows_button_property): new function. gets the checked state
3594 (mswindows_combo_property): new function. gets the current
3595 selection in the combo box.
3596 (mswindows_widget_set_property): new function. sets specific
3597 properties of specific widgets.
3599 * glyphs-widget.c (check_valid_item_list): new function. check
3600 that items for a combo-box are just a list of strings.
3601 (combo_validate): new function. check there is an item list.
3602 (widget_instantiate_1): new function. renamed from
3603 widget_instantiate so that we can do slightly different things for
3605 (widget_instantiate): call widget_instantiate_1.
3606 (combo_instantiate): new function to instantiate combo boxes,
3607 defaults height to the pixel height of the number of items in the
3609 (syms_of_glyphs_widget): move widget keywords here.
3610 (image_instantiator_format_create_glyphs_widget): use new combo
3613 1998-12-04 Andy Piper <andy@xemacs.org>
3615 * event-msw.c (mswindows_wnd_proc): mule-ize.
3617 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3619 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3620 (resource_name_to_resource): ditto.
3621 (mswindows_resource_instantiate): ditto.
3622 (mswindows_widget_instantiate): ditto.
3623 (mswindows_widget_set_property): ditto.
3625 * redisplay-output.c (redisplay_output_subwindow): don't show
3626 subwindows if they are obscured at the edge of the frame, emacs
3627 gets into some sort of redisplay loop otherwise.
3629 * gui.h: prototype gui_item_selected_p.
3631 * gui.c (gui_item_selected_p): new function to determine the
3632 selected state of a gui_item.
3634 * frame.h (struct frame): add subwindows_changed flag.
3636 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3638 * glyphs.c (update_subwindow): new function to update a
3640 (update_frame_subwindows): new function to update all the
3641 subwindows on a frame.
3643 * console.h (struct console_methods): add update_subwindow.
3645 * glyphs-msw.c (mswindows_widget_property): return selected state
3646 for selected property.
3647 (mswindows_update_subwindow): new function. updates widget glyphs
3648 in redisplay as per menubars or toolbars e.g. selected state.
3649 (console_type_create_glyphs_mswindows): add update_subwindow.
3651 1998-12-03 Andy Piper <andy@xemacs.org>
3653 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3654 tty coding system things are such.
3656 * glyphs-widget.c (widget_face_font_info): new function for
3657 pulling out height and width metrics for a widget's face.
3658 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3661 * event-msw.c (mswindows_drain_windows_queue): translate messages
3662 that are destined for subwindows. This makes edit fields interact
3663 with the keyboard correctly.
3664 nuke warnings by #ifndef'ing out stuff not required by msg select().
3666 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3667 macro defining the iiforma without the symbol required by widget.
3668 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3670 * general.c (syms_of_general): add Qwidget, Qselected.
3672 * faces.c (complex_vars_of_faces): add widget face inheriting from
3675 1998-11-09 Andy Piper <andy@xemacs.org>
3677 * window.h (struct window): add a cache of subwindows on a
3680 * window.c (mark_window): mark the subwindow_instance_cache.
3681 (allocate_window): initialise the subwindow instance_cache.
3683 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3684 instead of the devmeth.
3685 (x_clear_toolbar): ditto.
3687 * redisplay-x.c (x_output_display_block): call
3688 redisplay_output_subwindow for subwindows and widgets.
3690 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3691 types to do nothing for.
3693 * lisp.h: declare new widget/subwindow symbols.
3695 * glyphs.c (image_instantiate): cache subwindows on a per-window
3697 (subwindow_possible_dest_types): new function for subwindow dest
3699 (subwindow_instantiate): generic instantiation of a
3700 subwindow. specialised by device multi-methods.
3701 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3703 (Fimage_instance_subwindow_id): ditto.
3704 (Fresize_subwindow): ditto.
3705 (Fforce_subwindow_map): ditto.
3707 * glyphs-x.c (x_print_image_instance): remove subwindow
3708 stuff. Handled genrically in glyphs.c.
3709 (x_image_instance_equal): ditto.
3710 (x_image_instance_hash): ditto.
3711 (x_finalize_image_instance): delete subwindows when required.
3712 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3713 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3714 glyph-based, subwindow implementation.
3715 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3717 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3719 (x_unmap_subwindow): new function to unmap X subwindows.
3720 (x_map_subwindow): new function to map X subwindows.
3721 (x_subwindow_instantiate): new function to instantiate X
3723 (x_resize_subwindow): new function to resize X subwindows.
3724 (console_type_create_glyphs_x): add subwindow functions.
3725 (image_instantiator_format_create_glyphs_x): add device
3726 multi-methods for xpm, xbm and subwindow.
3728 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3729 (subwindow-width): ditto.
3730 (subwindow-height): ditto.
3732 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3733 generally instantiating ms subwindows. Used by
3734 mswindows_*_instantiate.
3735 (mswindows_edit_instantiate): instantiate an edit field on a
3738 1998-11-04 Andy Piper <andy@xemacs.org>
3740 * symsinit.h: declare new functions.
3742 * redisplay.h: declare new functions.
3744 * redisplay-x.c (x_output_display_block): call
3745 redisplay_clear_region rather than x_clear_region.
3746 (x_output_string): ditto.
3747 (x_output_pixmap): ditto.
3748 (x_clear_to_window_end): ditto.
3749 (x_output_eol_cursor): ditto.
3750 (x_clear_region): only do X specific things. other duties handled
3751 in redisplay_clear_region.
3753 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3754 duties moved to redisplay_clear_region.
3756 * redisplay-output.c (clear_left_border): use
3757 redisplay_clear_region instead of device method.
3758 (clear_right_border): ditto.
3759 (output_display_line): ditto.
3760 (redisplay_output_subwindow): ditto.
3761 (redisplay_clear_top_of_window): ditto.
3762 (redisplay_clear_region): perform duties previously handled by
3763 device methods. call the appropriate device method at the
3764 end. unmap subwindows if necessary.
3766 * redisplay-msw.c (mswindows_output_string): use
3767 redisplay_clear_region instead of mswindows_clear_region.
3768 (mswindows_clear_to_window_end): ditto.
3769 (mswindows_output_display_block): output subwindows when required.
3770 (mswindows_clear_region): only do mswindows specific things,
3771 everything else is now handled in redisplay_clear_region.
3773 * gui.h: add item id hash defines and declare function prototypes.
3775 * gui.c (mark_gui_item): new function for marking gui_items.
3776 (gui_item_hash): generic hash function for generating command ids
3779 * gui-msw.c: new file.
3780 (mswindows_handle_gui_wm_command): new function to handle widget
3783 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3785 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3786 (DEFINE_DEVICE_IIFORMAT): ditto.
3787 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3788 (struct Lisp_Image_Instance): add widget and subwindow data plus
3789 appropriate access functions.
3791 * glyphs.c (decode_device_ii_format): new function for decoding
3792 image instantiator functions based on a device type as well as an
3794 (decode_image_instantiator_format): just call
3795 decode_device_ii_format with nil device.
3796 (add_entry_to_device_ii_format_list): new function for per device
3798 (add_entry_to_image_instantiator_format_list): just call
3799 add_entry_to_device_ii_format_list with nil device.
3800 (check_valid_vector): new function.
3801 (instantiate_image_instantiator): instantiate using per-format
3802 method and then per-format-per-device method (device
3803 multi-methods). signal an error if neither is possible.
3804 (mark_image_instance): cope with subwindows and widgets.
3805 (print_image_instance): ditto.
3806 (image_instance_equal): ditto.
3807 (image_instance_hash): ditto.
3808 (allocate_glyph): ditto.
3809 (glyph_width): ditto.
3810 (glyph_height_internal): ditto.
3811 (xpm_instantiate): removed because of device multi-methods.
3812 (mark_subwindow_cachels): new cachel functions for caching
3813 instantiated subwindows on a per-frame basis. mostly copied from
3814 glyph cachel functions.
3815 (update_subwindow_cachel_data): ditto.
3816 (add_subwindow_cachel): ditto.
3817 (get_subwindow_cachel_index): ditto.
3818 (reset_subwindow_cachels): ditto.
3819 (mark_subwindow_cachels_as_not_updated): ditto.
3820 (unmap_subwindow): generic unmapping of subwindows based on cachel
3822 (map_subwindow): ditto.
3823 (initialize_subwindow_image_instance): generic initialisation of
3825 (syms_of_glyphs): add widget keywords.
3827 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3830 1998-11-04 Andy Piper <andy@xemacs.org>
3832 * glyphs-widget.c: new file for instantiating widget type glyphs.
3833 (widget_possible_dest_types): new general dest type function for
3835 (widget_validate): ditto.
3836 (initialize_widget_image_instance): ditto
3837 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3838 before handing on control to device multi-methods.
3839 (syms_of_glyphs_widget): new function.
3840 (image_instantiator_format_create_glyphs_widget): new function,
3841 added placeholders for button, edit, combo, scrollbar
3842 (vars_of_glyphs_widget): new function.
3844 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3845 storing window ids of widgets.
3847 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3848 deletion of widget and subwindow glyphs.
3849 (mswindows_unmap_subwindow): new device function for unmapping
3850 subwindows on a msw frame.
3851 (mswindows_map_subwindow): ditto.
3852 (mswindows_register_image_instance): register instantiated widgets
3853 with the widget hastable.
3854 (mswindows_button_instantiate): instantiate a button type widget
3856 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3858 (image_instantiator_format_create_glyphs_mswindows): add device
3859 multi-methods for xbm, xpm, subwindow, edit and button.
3861 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3862 information about subwindows visible on the current frame. used by
3863 redisplay_clear_region to unmap subwindows as required.
3865 * frame.c (mark_frame): mark subwindow_cachels.
3866 (allocate_frame_core): instantiate subwindow_cachels.
3868 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3871 * event-msw.c (mswindows_wnd_proc): add call to
3872 mswindows_handle_gui_wm_command to handle widget callbacks.
3874 * emacs.c (main_1): add calls to glyphs-widget initialisation
3877 * console.h (struct console_methods): add
3878 unmap/map_subwindow_method for use be redisplay_clear_region to
3879 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3880 with by image instantiator multi-methods. Add
3881 resize_subwindow_method.
3883 * console-stream.c (stream_clear_region): change signature to
3884 match new generic clear region function.
3886 * Makefile.in.in: add glyphs-widget.o to list of objects.
3888 * console-msw.h (struct mswindows_frame): add widget hashtable for
3889 wiring command ids to callbacks.
3891 1998-12-16 Andy Piper <andy@xemacs.org>
3893 * XEmacs 21.2.6 is released
3895 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3897 * md5.c (Fmd5): Correctly initiate string input stream.
3899 * Makefile.in.in (tests): Add md5-tests.el.
3901 1998-12-06 Martin Buchholz <martin@xemacs.org>
3904 * alloc.c (make_vector): remove travesty
3908 (make_bit_vector_internal):
3910 (make_bit_vector_from_byte_vector):
3912 - make vector_equal a little faster.
3913 - Don't use variable name `new'.
3914 - Use size_t instead of EMACS_INT.
3915 - usual Martin-style pointless bit-twiddling.
3921 Make mapcar faster. In particular, make
3922 (mapc #'identity long-string)
3923 MUCH faster under Mule.
3924 * tests/automated/lisp-tests.el: Test 'em!
3926 1998-12-06 Martin Buchholz <martin@xemacs.org>
3928 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3931 1998-12-13 Martin Buchholz <martin@xemacs.org>
3933 * console-msw.c: Function definitions follow coding standards
3934 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3936 1998-12-11 Martin Buchholz <martin@xemacs.org>
3938 * events.h (struct timeout_data):
3939 * event-tty.c (tty_timeout_to_emacs_event):
3940 * event-msw.c (mswindows_wm_timer_callback):
3941 * event-Xt.c (Xt_timeout_to_emacs_event):
3942 * event-msw.c (mswindows_cancel_dispatch_event):
3943 Make sure Lisp_Objects inside events are initialized to Qnil, not
3944 Qnull_pointer, which is now illegal.
3946 1998-12-10 Martin Buchholz <martin@xemacs.org>
3948 * lisp.h: Fix up prototypes to match alloc.c
3950 1998-12-09 Andy Piper <andy@xemacs.org>
3952 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3953 XSETINT for assigning lisp objects.
3955 1998-12-07 Martin Buchholz <martin@xemacs.org>
3958 * console-msw.c (DHEADER):
3967 - max_align_t should not be visible to the user of the
3969 - use Bufbyte instead of char
3970 - parens around (FOOP (obj)) are always redundant.
3971 If they were necessary, we should fix the macro instead.
3972 - Always use string_data(foo) instead of foo->data.
3974 1998-12-07 Martin Buchholz <martin@xemacs.org>
3976 * sysdep.c (set_descriptor_non_blocking):
3977 Since O_NONBLOCK is now always #defined, make use of fcntl
3978 conditional on F_SETFL being defined.
3980 1998-12-09 Andy Piper <andy@xemacs.org>
3982 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3983 that got removed in the merge
3985 1998-11-30 Greg Klanderman <greg@alphatech.com>
3987 * dired.c (vars_of_dired): bugfix for previous conditionalization
3988 of user-name-completion on non- Windows NT.
3990 1998-12-08 Martin Buchholz <martin@xemacs.org>
3992 * windowsnt.h: Remove `support' for using index and rindex
3994 * filelock.c (current_lock_owner):
3995 - Change uses of index -> strchr, rindex -> strrchr
3997 1998-12-06 Martin Buchholz <martin@xemacs.org>
3999 * frame-msw.c (mswindows_init_frame_1):
4000 - use make_lisp_hash_table, not Fmake_hash_table
4003 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4005 * XEmacs 21.2.5 is released
4007 1998-11-30 Martin Buchholz <martin@xemacs.org>
4009 * xselect.c (receive_incremental_selection):
4010 * xselect.c (x_get_window_property):
4011 * xmu.c (XmuReadBitmapDataFromFile):
4012 * xmu.c (XmuCursorNameToIndex):
4013 * xgccache.c (describe_gc_cache):
4014 * xgccache.c (gc_cache_lookup):
4015 * xgccache.c (free_gc_cache):
4016 * xgccache.c (make_gc_cache):
4018 * window.c (map_windows_1):
4019 * window.c (Fother_window_for_scrolling):
4020 * window.c (window_scroll):
4021 * window.c (change_window_height):
4022 * window.c (Fsplit_window):
4023 * window.c (window_left_gutter_width):
4024 * window.c (window_modeline_height):
4025 * window.c (invalidate_vertical_divider_cache_in_window):
4026 * window.c (window_needs_vertical_divider_1):
4027 * window.c (update_mirror_internal):
4028 * window.c (SET_LAST_FACECHANGE):
4029 * widget.c (Fwidget_plist_member):
4030 * unexec.c (copy_text_and_data):
4031 * unexcw.c (copy_executable_and_dump_data_section):
4033 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4034 * tooltalk.c (struct Lisp_Tooltalk_Message):
4035 * toolbar.h (struct toolbar_button):
4036 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4037 * toolbar.c (recompute_overlaying_specifier):
4038 * toolbar.c (toolbar_validate):
4039 * toolbar.c (toolbar_button_at_pixpos):
4040 * toolbar.c (get_toolbar_coords):
4041 * toolbar.c (update_frame_toolbars):
4043 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4044 * toolbar-msw.c (mswindows_find_toolbar_pos):
4045 * toolbar-msw.c (mswindows_output_toolbar):
4046 * toolbar-msw.c (mswindows_clear_toolbar):
4055 * sysdep.c (sys_fopen):
4056 * sysdep.c (sys_open):
4057 * sysdep.c (tty_init_sys_modes_on_device):
4058 * sysdep.c (get_eof_char):
4059 * sysdep.c (child_setup_tty):
4060 * sysdep.c (set_descriptor_non_blocking):
4062 * syntax.c (scan_words):
4065 * symeval.h (struct symbol_value_varalias):
4066 * symeval.h (struct symbol_value_forward):
4067 * symbols.c (syms_of_symbols):
4068 * symbols.c (init_symbols_once_early):
4069 * symbols.c (Fbuilt_in_variable_type):
4070 * symbols.c (Fsymbol_value_in_buffer):
4071 * symbols.c (default_value):
4073 * symbols.c (find_symbol_value_quickly):
4074 * symbols.c (store_symval_forwarding):
4075 * symbols.c (set_default_console_slot_variable):
4076 * symbols.c (set_default_buffer_slot_variable):
4077 * symbols.c (verify_ok_for_buffer_local):
4078 * symbols.c (symbol_is_constant):
4079 * symbols.c (oblookup):
4080 * symbols.c (Funintern):
4081 * symbols.c (Fintern):
4082 * symbols.c (check_obarray):
4084 * specifier.h (struct specifier_methods):
4086 * specifier.c (specifier_instance):
4087 * specifier.c (specifier_instance_from_inst_list):
4088 * specifier.c (decode_locale_type):
4089 * specifier.c (specifier_equal):
4090 * specifier.c (finalize_specifier):
4091 * specifier.c (prune_specifiers):
4092 * specifier.c (kill_specifier_buffer_locals):
4093 * sound.c (init_native_sound):
4096 * search.c (Fmatch_data):
4097 * search.c (match_limit):
4098 * search.c (Freplace_match):
4099 * search.c (skip_chars):
4100 * search.c (scan_buffer):
4102 * scrollbar.c (specifier_vars_of_scrollbar):
4103 * scrollbar.c (Fscrollbar_set_hscroll):
4104 * scrollbar.c (vertical_scrollbar_changed_in_window):
4105 * scrollbar.c (release_window_mirror_scrollbars):
4106 * scrollbar.c (free_scrollbar_instance):
4109 * s/msdos.h (O_BINARY):
4111 * s/freebsd.h (LIBS_TERMCAP):
4112 * regex.c (re_match_2_internal):
4113 * regex.c (compile_extended_range):
4114 * regex.c (POP_FAILURE_POINT):
4115 * regex.c (PUSH_FAILURE_POINT):
4116 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4118 * redisplay.h (struct display_line):
4119 * redisplay.h (struct rune):
4120 * redisplay.c (vars_of_redisplay):
4121 * redisplay.c (redisplay_variable_changed):
4122 * redisplay.c (UPDATE_CACHE_RETURN):
4123 * redisplay.c (validate_line_start_cache):
4124 * redisplay.c (mark_redisplay_structs):
4125 * redisplay.c (mark_glyph_block_dynarr):
4126 * redisplay.c (window_line_number):
4127 * redisplay.c (redisplay_frame):
4128 * redisplay.c (redisplay_window):
4129 * redisplay.c (generate_modeline):
4130 * redisplay.c (create_right_glyph_block):
4131 * redisplay.c (create_left_glyph_block):
4132 * redisplay.c (create_text_block):
4134 * redisplay-x.c (x_output_hline):
4135 * redisplay-x.c (x_output_vertical_divider):
4136 * redisplay-tty.c (tty_output_display_block):
4137 * redisplay-output.c (output_display_line):
4138 * redisplay-output.c:
4139 * redisplay-msw.c (mswindows_output_vertical_divider):
4140 * redisplay-msw.c (mswindows_ring_bell):
4141 * redisplay-msw.c (mswindows_output_cursor):
4145 * puresize.h (RAW_PURESIZE):
4146 * profile.c (syms_of_profile):
4147 * profile.c (Fstart_profiling):
4148 * profile.c (sigprof_handler):
4151 * process.c (vars_of_process):
4152 * process.c (read_process_output):
4153 * process.c (get_process):
4155 * process-unix.c (unix_open_multicast_group):
4156 * process-unix.c (unix_get_tty_name):
4157 * process-unix.c (unix_send_process):
4158 * process-unix.c (unix_reap_exited_processes):
4159 * process-unix.c (unix_create_process):
4160 * process-unix.c (unix_init_process_io_handles):
4161 * process-unix.c (allocate_pty):
4163 * process-nt.c (nt_open_network_stream):
4164 * process-nt.c (nt_update_status_if_terminated):
4165 * process-nt.c (nt_finalize_process_data):
4167 * print.c (debug_short_backtrace):
4168 * print.c (debug_backtrace):
4169 * print.c (print_symbol):
4170 * print.c (print_internal):
4171 * print.c (print_cons):
4172 * print.c (Fwrite_char):
4173 * print.c (print_prepare):
4174 * print.c (canonicalize_printcharfun):
4175 * print.c (output_string):
4178 * opaque.c (allocate_managed_opaque):
4180 * offix.c (DndSetData):
4181 * objects.c (face_boolean_create):
4182 * objects.c (font_instantiate):
4183 * objects.c (font_create):
4184 * objects.c (color_create):
4185 * objects.c (finalize_font_instance):
4186 * objects.c (finalize_color_instance):
4188 * objects-x.c (x_font_instance_truename):
4190 * objects-x.c (x_initialize_font_instance):
4191 * objects-x.c (allocate_nearest_color):
4192 * objects-tty.c (tty_initialize_font_instance):
4193 * objects-tty.c (tty_initialize_color_instance):
4194 * objects-msw.c (mswindows_initialize_color_instance):
4195 * ntproc.c (syms_of_ntproc):
4196 * ntproc.c (Fwin32_set_process_priority):
4197 * ntproc.c (sys_spawnve):
4199 * ntheap.c (get_data_end):
4203 * nt.c (generate_inode_val):
4204 * nt.c (sys_rename):
4206 * mule-wnnfns.c (Fwnn_hinsi_number):
4207 * mule-wnnfns.c (Fwnn_yuragi):
4208 * mule-wnnfns.c (Fwnn_common_learn):
4209 * mule-wnnfns.c (Fwnn_suffix_learn):
4210 * mule-wnnfns.c (Fwnn_prefix_learn):
4211 * mule-wnnfns.c (Fwnn_okuri_learn):
4212 * mule-wnnfns.c (Fwnn_complex_conv):
4213 * mule-wnnfns.c (Fwnn_last_is_first):
4214 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4215 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4216 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4217 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4218 * mule-wnnfns.c (Fwnn_hinsi_list):
4219 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4220 * mule-wnnfns.c (Fwnn_dict_search):
4221 * mule-wnnfns.c (Fwnn_word_toroku):
4222 * mule-wnnfns.c (Fwnn_hindo_update):
4223 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4224 * mule-wnnfns.c (Fwnn_kakutei):
4225 * mule-wnnfns.c (Fwnn_begin_henkan):
4226 * mule-wnnfns.c (Fwnn_dict_comment):
4227 * mule-wnnfns.c (Fwnn_dict_add):
4228 * mule-wnnfns.c (Fwnn_open):
4229 * mule-mcpath.c (mc_getcwd):
4230 * mule-coding.c (vars_of_mule_coding):
4231 * mule-coding.c (convert_to_external_format):
4232 * mule-coding.c (encoding_marker):
4233 * mule-coding.c (decoding_marker):
4234 * mule-coding.c (Fcopy_coding_system):
4235 * mule-coding.c (Fmake_coding_system):
4236 * mule-coding.c (Fcoding_system_list):
4237 * mule-coding.c (Ffind_coding_system):
4238 * mule-coding.c (symbol_to_eol_type):
4240 * mule-charset.c (complex_vars_of_mule_charset):
4241 * mule-charset.c (vars_of_mule_charset):
4242 * mule-charset.c (Fset_charset_ccl_program):
4243 * mule-charset.c (struct charset_list_closure):
4244 * mule-charset.c (Ffind_charset):
4245 * mule-charset.c (make_charset):
4246 * mule-charset.c (non_ascii_valid_char_p):
4248 * mule-ccl.c (ccl_driver):
4249 * mule-canna.c (c2mu):
4250 * mule-canna.c (Fcanna_henkan_begin):
4251 * mule-canna.c (Fcanna_parse):
4252 * mule-canna.c (Fcanna_store_yomi):
4253 * mule-canna.c (Fcanna_touroku_string):
4254 * mule-canna.c (Fcanna_initialize):
4256 * menubar.c (menu_parse_submenu_keywords):
4257 * menubar-x.c (make_dummy_xbutton_event):
4258 * menubar-x.c (set_frame_menubar):
4259 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4262 * menubar-msw.c (mswindows_popup_menu):
4263 * menubar-msw.c (mswindows_update_frame_menubars):
4264 * menubar-msw.c (mswindows_handle_wm_command):
4265 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4266 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4267 * menubar-msw.c (update_frame_menubar_maybe):
4268 * menubar-msw.c (populate_or_checksum_helper):
4269 * menubar-msw.c (empty_menu):
4272 * marker.c (set_marker_internal):
4273 * marker.c (print_marker):
4276 * lstream.c (lisp_buffer_rewinder):
4277 * lstream.c (mark_lstream):
4279 * lrecord.h (struct lrecord_header):
4280 * lread.c (readevalloop):
4281 * lread.c (locate_file):
4282 * lread.c (locate_file_in_directory):
4283 * lread.c (Flocate_file):
4284 * lread.c (load_force_doc_string_unwind):
4285 * lread.c (ebolify_bytecode_constants):
4290 * linuxplay.c (linux_play_data_or_file):
4291 * linuxplay.c (audio_init):
4294 * keymap.c (describe_map):
4295 * keymap.c (describe_map_mapper):
4296 * keymap.c (Fdescribe_bindings_internal):
4297 * keymap.c (Fsingle_key_description):
4298 * keymap.c (map_keymap_sorted):
4299 * keymap.c (get_relevant_keymaps):
4300 * keymap.c (Flookup_key):
4301 * keymap.c (raw_lookup_key_mapper):
4302 * keymap.c (Fdefine_key):
4303 * keymap.c (Fevent_matches_key_specifier_p):
4304 * keymap.c (key_desc_list_to_event):
4305 * keymap.c (define_key_parser):
4306 * keymap.c (define_key_check_and_coerce_keysym):
4307 * keymap.c (keymap_submaps):
4308 * keymap.c (keymap_store_internal):
4309 * keymap.c (keymap_delete_inverse_internal):
4310 * keymap.c (keymap_store_inverse_internal):
4311 * keymap.c (print_keymap):
4312 * keymap.c (Lisp_Keymap):
4315 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4316 * insdel.c (make_gap):
4317 * input-method-xlib.c (get_XIM_input):
4318 * input-method-xlib.c (XIM_init_frame):
4323 * gui-x.c (button_item_to_widget_value):
4324 * gui-x.c (popup_selection_callback):
4325 * glyphs.h (struct image_instantiator_methods):
4326 * glyphs.c (mark_glyph_cachels):
4327 * glyphs.c (Fglyph_type):
4328 * glyphs.c (image_instantiate):
4329 * glyphs.c (image_create):
4330 * glyphs.c (make_image_instance_1):
4331 * glyphs.c (finalize_image_instance):
4333 * glyphs-x.c (finalize_subwindow):
4334 * glyphs-x.c (xface_validate):
4335 * glyphs-x.c (x_locate_pixmap_file):
4336 * glyphs-x.c (convert_EImage_to_XImage):
4338 * glyphs-msw.c (mswindows_resource_instantiate):
4339 * glyphs-msw.c (xpm_to_eimage):
4340 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4341 * glyphs-eimage.c (tiff_instantiate):
4342 * glyphs-eimage.c (png_instantiate):
4343 * glyphs-eimage.c (struct png_error_struct):
4344 * glyphs-eimage.c (gif_memory_storage):
4347 * getloadavg.c (getloadavg):
4350 * free-hook.c (log_gcpro):
4351 * free-hook.c (check_malloc):
4352 * free-hook.c (check_free):
4353 * free-hook.c (ROUND_UP_TO_PAGE):
4355 * frame.h (struct frame):
4357 * frame.c (change_frame_size_1):
4358 * frame.c (allocate_frame_core):
4360 * frame-x.c (x_focus_on_frame):
4361 * frame-x.c (x_init_frame_2):
4362 * frame-x.c (x_popup_frame):
4363 * frame-x.c (xemacs_XtPopup):
4365 * frame-x.c (Foffix_start_drag_internal):
4366 * frame-x.c (x_cde_destroy_callback):
4367 * frame-x.c (x_wm_hack_wm_protocols):
4368 * frame-tty.c (tty_frame_visible_p):
4369 * frame-msw.c (mswindows_make_frame_invisible):
4370 * frame-msw.c (mswindows_after_init_frame):
4371 * frame-msw.c (mswindows_init_frame_1):
4372 * fns.c (syms_of_fns):
4373 * fns.c (Fbase64_decode_string):
4375 * fns.c (Ffillarray):
4376 * fns.c (Fobject_plist):
4378 * fns.c (Fcanonicalize_lax_plist):
4379 * fns.c (Fcanonicalize_plist):
4380 * fns.c (Fplist_remprop):
4381 * fns.c (Fplist_get):
4382 * fns.c (advance_plist_pointers):
4383 * fns.c (internal_plist_put):
4384 * fns.c (Fnreverse):
4387 * fns.c (Fsubstring):
4388 * fns.c (Fbvconcat):
4390 * fns.c (length_with_bytecode_hack):
4391 * fns.c (print_bit_vector):
4393 * floatfns.c (Ffloor):
4395 * floatfns.c (in_float_error):
4396 * fileio.c (Ffile_modes):
4397 * fileio.c (Fexpand_file_name):
4398 * fileio.c (Fmake_temp_name):
4399 * fileio.c (Ffile_name_nondirectory):
4400 * fileio.c (Ffile_name_directory):
4402 * file-coding.c (vars_of_mule_coding):
4403 * file-coding.c (convert_to_external_format):
4404 * file-coding.c (encoding_marker):
4405 * file-coding.c (decoding_marker):
4406 * file-coding.c (Fcopy_coding_system):
4407 * file-coding.c (Fmake_coding_system):
4408 * file-coding.c (struct coding_system_list_closure):
4409 * file-coding.c (Ffind_coding_system):
4410 * file-coding.c (symbol_to_eol_type):
4412 * faces.h (struct face_cachel):
4413 * faces.c (vars_of_faces):
4414 * faces.c (face_property_was_changed):
4415 * faces.c (mark_face_cachels):
4416 * faces.c (temporary_faces_list):
4417 * faces.c (struct face_list_closure):
4419 * extents.h (struct extent):
4420 * extents.c (vars_of_extents):
4421 * extents.c (struct copy_string_extents_1_arg):
4422 * extents.c (add_string_extents_mapper):
4423 * extents.c (Fextent_property):
4424 * extents.c (Fset_extent_property):
4425 * extents.c (symbol_to_glyph_layout):
4426 * extents.c (properties_equal):
4427 * extents.c (print_extent):
4428 * extents.c (print_extent_1):
4429 * extents.c (extent_in_region_p):
4430 * extents.c (gap_array_make_gap):
4432 * events.h (struct Lisp_Event):
4434 * events.c (Fevent_properties):
4435 * events.c (format_event_object):
4436 * events.c (Fmake_event):
4437 * events.c (event_equal):
4438 * events.c (print_event):
4439 * events.c (mark_event):
4440 * event-stream.c ((read-char)
4441 * event-stream.c (vars_of_event_stream):
4442 * event-stream.c (syms_of_event_stream):
4443 * event-stream.c (Fset_recent_keys_ring_size):
4444 * event-stream.c (Fsit_for):
4445 * event-stream.c (Fnext_event):
4446 * event-stream.c (execute_help_form):
4447 * event-stream.c (maybe_kbd_translate):
4449 * event-msw.c (vars_of_event_mswindows):
4450 * event-msw.c (mswindows_wnd_proc):
4451 * event-msw.c (mswindows_need_event):
4452 * event-msw.c (mswindows_drain_windows_queue):
4453 * event-msw.c (mswindows_pump_outstanding_events):
4455 * event-msw.c (slurp_thread):
4456 * event-msw.c (struct ntpipe_slurp_stream):
4457 * event-msw.c (HANDLE_TO_USID):
4458 * event-Xt.c (emacs_Xt_handle_magic_event):
4459 * event-Xt.c (x_event_to_emacs_event):
4460 * event-Xt.c (x_reset_modifier_mapping):
4461 * event-Xt.c (x_reset_key_mapping):
4463 * eval.c (syms_of_eval):
4464 * eval.c (warn_when_safe):
4465 * eval.c (warn_when_safe_lispobj):
4466 * eval.c (Fbacktrace_frame):
4467 * eval.c (Fbacktrace):
4468 * eval.c (top_level_set):
4469 * eval.c (unbind_to_hairy):
4470 * eval.c (specbind_magic):
4471 * eval.c (specbind_unwind_wasnt_local):
4472 * eval.c (call2_trapping_errors):
4473 * eval.c (call1_trapping_errors):
4474 * eval.c (catch_them_squirmers_call2):
4475 * eval.c (call0_trapping_errors):
4476 * eval.c (run_hook_trapping_errors):
4477 * eval.c (catch_them_squirmers_eval_in_buffer):
4478 * eval.c (call4_in_buffer):
4479 * eval.c (call3_in_buffer):
4480 * eval.c (call2_in_buffer):
4481 * eval.c (call1_in_buffer):
4482 * eval.c (call0_in_buffer):
4483 * eval.c (run_hook):
4484 * eval.c (run_hook_with_args_in_buffer):
4487 * eval.c (do_autoload):
4488 * eval.c (un_autoload):
4489 * eval.c (Fautoload):
4490 * eval.c (Finteractive_p):
4491 * eval.c (Fcommand_execute):
4492 * eval.c (signal_quit):
4493 * eval.c (call_with_suspended_errors):
4494 * eval.c (signal_error):
4495 * eval.c (return_from_signal):
4496 * eval.c (Fcall_with_condition_handler):
4497 * eval.c (run_condition_case_handlers):
4498 * eval.c (condition_case_1):
4499 * eval.c (Funwind_protect):
4500 * eval.c (unwind_to_catch):
4501 * eval.c (internal_catch):
4502 * eval.c (Fmacroexpand_internal):
4503 * eval.c (Fuser_variable_p):
4504 * eval.c (Fdefconst):
4506 * eval.c (Ffunction):
4507 * eval.c (signal_call_debugger):
4508 * eval.c (call_debugger):
4511 * emacs.c (sort_args):
4515 * editfns.c (Fencode_time):
4516 * editfns.c (Fdecode_time):
4517 * editfns.c (Fuser_full_name):
4519 * editfns.c (save_excursion_restore):
4522 * doprnt.c (emacs_doprnt_1):
4523 * doc.c (verify_doc_mapper):
4524 * doc.c (Fsnarf_documentation):
4525 * doc.c (Fdocumentation):
4527 * dired.c (user_name_completion):
4528 * dired.c (Fdirectory_files):
4531 * dgif_lib.c (FreeSavedImages):
4532 * dgif_lib.c (DGifGetImageDesc):
4534 * device.h (struct device):
4535 * device.c (Fselect_device):
4536 * device.c (allocate_device):
4538 * device-x.c (Fx_keysym_on_keyboard_p):
4539 * device-x.c (Fx_valid_keysym_name_p):
4540 * device-x.c (x_IO_error_handler):
4541 * device-x.c (x_delete_device):
4542 * device-x.c (x_finish_init_device):
4543 * device-x.c (x_init_device):
4545 * device-msw.c (mswindows_init_device):
4547 * database.c (vars_of_database):
4548 * database.c (Fput_database):
4549 * database.c (Fopen_database):
4550 * database.c (berkdb_remove):
4551 * database.c (berkdb_put):
4552 * database.c (Fdatabasep):
4553 * database.c (print_database):
4555 * data.c (vars_of_data):
4556 * data.c (syms_of_data):
4557 * data.c (init_errors_once_early):
4558 * data.c (prune_weak_lists):
4559 * data.c (finish_marking_weak_lists):
4560 * data.c (print_weak_list):
4562 * data.c (Fstring_to_number):
4563 * data.c (Fnumber_to_string):
4564 * data.c (Findirect_function):
4567 * data.c (Fsubr_interactive):
4569 * data.c (Fkeywordp):
4572 * console.h (CONSOLE_NAME):
4574 * console.c (vars_of_console):
4575 * console.c (Fselect_console):
4577 * console-x.h (DEVICE_X_COLORMAP):
4578 * console-x.h (struct x_device):
4579 * console-x.c (x_device_to_console_connection):
4580 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4581 * console-tty.c (tty_init_console):
4583 * console-msw.h (struct mswindows_frame):
4586 * cmds.c (internal_self_insert):
4587 * cmds.c (Fforward_line):
4588 * cmds.c (Fforward_char):
4591 * chartab.c (mark_char_table_entry):
4593 * casefiddle.c (casify_word):
4594 * callproc.c (child_setup):
4595 * callproc.c (Fcall_process_internal):
4597 * callint.c (Fcall_interactively):
4599 * bytecode.c (execute_rare_opcode):
4600 * bytecode.c (execute_optimized_program):
4603 * buffer.h (BUFFER_REALLOC):
4604 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4605 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4607 * buffer.h (MAP_INDIRECT_BUFFERS):
4608 * buffer.h (CHECK_LIVE_BUFFER):
4609 * buffer.c (init_initial_directory):
4610 * buffer.c (complex_vars_of_buffer):
4611 * buffer.c (vars_of_buffer):
4612 * buffer.c (finish_init_buffer):
4613 * buffer.c (Fget_file_buffer):
4614 * buffer.c (Fbuffer_list):
4615 * buffer.c (mark_buffer):
4616 * balloon_help.c (balloon_help_move_to_pointer):
4617 * balloon_help.c (show_help):
4620 * alloc.c (garbage_collect_1):
4621 * alloc.c (sweep_strings):
4622 * alloc.c (sweep_compiled_functions):
4623 * alloc.c (sweep_bit_vectors_1):
4624 * alloc.c (sweep_vectors_1):
4625 * alloc.c (sweep_lcrecords_1):
4626 * alloc.c (tick_lcrecord_stats):
4627 * alloc.c (pure_string_sizeof):
4628 * alloc.c (mark_conses_in_list):
4629 * alloc.c (mark_object):
4630 * alloc.c (report_pure_usage):
4631 * alloc.c (make_pure_float):
4632 * alloc.c (make_pure_string):
4633 * alloc.c (free_managed_lcrecord):
4634 * alloc.c (mark_string):
4635 * alloc.c (noseeum_make_marker):
4636 * alloc.c (allocate_event):
4637 * alloc.c (Fbit_vector):
4638 * alloc.c (Fvector):
4639 * alloc.c (make_float):
4640 * alloc.c (Fmake_list):
4642 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4643 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4644 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4645 * alloc.c (dbg_constants):
4646 * alloc.c (gc_record_type_p):
4647 * alloc.c (free_lcrecord):
4648 * alloc.c (xmalloc):
4649 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4651 * Makefile.in.in (mostlyclean):
4652 * Makefile.in.in (external_client_xlib_objs_nonshared):
4653 * Makefile.in.in (temacs_link_args):
4654 * Makefile.in.in (release):
4655 * Makefile.in.in (dnd_objs):
4656 * Makefile.in.in (objs):
4657 * Makefile.in.in (PROGNAME):
4658 * EmacsShell.c: cast strings to (XtPointer)
4659 * EmacsFrame.c: cast strings to (XtPointer)
4661 - rewrite basic lisp functions for speed
4662 - rewrite bytecode interpreter for speed
4663 - rewrite list looping constructs for speed and safety using
4665 - use size_t where appropriate.
4666 - new hashtable implementation
4667 - cleanup implementation of opaques
4668 - opaques can now be purecopy'ed
4669 - move some cl functionality into C for speed.
4670 - remove last remaining VMS support
4672 - improve gdb/dbx debugger support
4673 - move pure.c back into alloc.c for performance
4674 - enable report_pure_usage() if --memory-usage-stats
4675 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4676 - don't use symbols with leading `_' or embedded `__'
4677 - globally cleanup duplicated semicolons `;;'
4678 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4680 - globally replace O_NDELAY with O_NONBLOCK.
4681 - globally replace CDISABLE with _POSIX_VDISABLE.
4682 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4683 - define (and maybe use!) STDERR_FILENO and friends.
4684 - add support for macros defined in C
4685 - `when', `unless', `not' and `defalias' now defined in C,
4686 so that they are universally available.
4687 - rename defvar_mumble to defvar_magic
4688 - rename RETURN__ to RETURN_SANS_WARNINGS
4689 - use consistent style of initial caps in error messages
4690 - implement last, butlast, nbutlast, copy-list in C.
4691 - provide typedefs for all struct Lisp_foo types
4692 - Lisp_Objects must be initialized to Qnil rather than 0.
4693 - make sure XEmacs runs (slowly) with always_gc == 1;
4694 - fast and safe LOOP_* macros
4695 - change calls to XSETOBJ to XSETFOO
4696 - replace calls to XSETINT by make_int()
4697 - plug up memory leaks
4698 - use style markobj (foo), not silly ((markobj) (foo))
4699 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4701 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4703 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4705 1998-11-28 SL Baur <steve@altair.xemacs.org>
4707 * XEmacs 21.2-beta4 is released.
4709 1998-11-27 SL Baur <steve@altair.xemacs.org>
4711 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4712 property in control-1 charset.
4713 From Julian Bradfield <jcb@daimi.au.dk>
4715 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4717 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4719 Add stub for :label.
4721 * gui.c (gui_item_add_keyval_pair): ditto.
4723 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4724 :key-sequence keyword.
4726 Support :active for submenus like the Windows code and FSF Emacs.
4728 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4730 * dired.c (make_directory_hash_table): make_string() is OK because
4731 readdir() Mule-encapsulates.
4733 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4735 * fns.c (Fbase64_encode_string): Fix docstring.
4736 (Fbase64_decode_string): Ditto.
4738 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4740 * editfns.c (Ftranslate_region): Use
4741 convert_bufbyte_string_into_emchar_string().
4743 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4745 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4747 (Ftranslate_region): Turn table into an array of Emchars for
4750 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4752 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4754 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4756 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4757 type `char' with nils.
4759 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4760 for tables of type `char'.
4762 1998-11-26 Didier Verna <verna@inf.enst.fr>
4764 * input-method-xlib.c (Initialize_Locale): don't call
4765 XtSetLanguageProc. We've done the whole work here.
4766 * input-method-xfs.c (Initialize_Locale): ditto.
4767 * input-method-motif.c (Initialize_Locale): ditto.
4769 1998-11-26 Didier Verna <verna@inf.enst.fr>
4771 * process-unix.c (unix_create_process): handle properly
4772 Vfile_name_coding_system for converting the program and directory
4775 1998-11-27 SL Baur <steve@altair.xemacs.org>
4777 * m/arm.h: New file.
4778 From James LewisMoss <dres@ioa.com>
4780 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4783 Fix the realpath() problem of UnixWare2.1.3.
4784 Patches for NEC's sysv4.2 machine.
4786 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4788 * dired.c (Fdirectory_files): Remove redundant code.
4790 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4792 * fns.c (free_malloced_ptr): New function.
4793 (XMALLOC_OR_ALLOCA): New macro.
4794 (XMALLOC_UNBIND): Ditto.
4795 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4796 to be freed in case of non-local exit.
4797 (Fbase64_encode_string): Ditto.
4798 (Fbase64_decode_region): Ditto.
4799 (Fbase64_decode_string): Ditto.
4800 (STORE_BYTE): New macro.
4801 (base64_decode_1): Use it.
4803 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4805 * fns.c (base64_value_to_char): Base64 stuff.
4807 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4809 * editfns.c (Fbuffer_substring): New function.
4811 * lisp.h: Declare make_string_from_buffer_no_extents().
4813 * insdel.c (make_string_from_buffer_1): New function.
4814 (make_string_from_buffer_no_extents): Ditto.
4816 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4818 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4819 sound work on AIX with OSS installed. Linux should still work.
4821 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4823 * config.h.in: name change for cygwin/version.h
4825 * configure.in: check for cygwin/version.h now.
4827 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4828 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4829 move cygwin32/version.h to cygwin/version.h
4831 1998-11-03 Olivier Galibert <galibert@pobox.com>
4833 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4836 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4838 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4839 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4840 enable BROKEN_SIGIO under b20 to make QUIT work.
4842 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4844 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4845 to fit within the constraints of the screen size. I.e. make the
4846 frame small enough to fit and move it if some of it will be
4849 1998-10-19 Greg Klanderman <greg@alphatech.com>
4851 * dired.c: conditionalize inclusion of user-name-completion
4852 primitives on non-Windows NT. The needed functions don't exist on NT.
4854 1998-11-24 SL Baur <steve@altair.xemacs.org>
4856 * gifrlib.h: Clean up types for 64 bit compile.
4857 * dgif_lib.c (DGifInitRead): Ditto.
4858 (MakeSavedImage): Ditto.
4859 * emacs.c (decode_path): Ditto.
4860 From Steve Carney <carney@pa.dec.com>
4862 1998-10-16 William M. Perry <wmperry@aventail.com>
4864 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4865 (cehckboxes instead of checkboxes).
4867 1998-10-15 SL Baur <steve@altair.xemacs.org>
4869 * XEmacs 21.2-beta3 is released.
4871 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4873 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4874 gnuclient. Otherwise, we run xemacs as we always did. This gets
4875 rid of the annoying DOS window when running gnuclient.
4877 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4879 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4880 HAVE_MS_WINDOWS typo.
4882 1998-10-13 SL Baur <steve@altair.xemacs.org>
4884 * process-unix.c (unix_send_process): Set closed flag on writable
4885 pipe after SIGPIPE is received and before we call deactivate_process.
4887 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4889 * window.c (Fset_window_start): respect narrowing when
4890 checking wheter start is at the beginning of a line.
4891 (Fset_window_buffer): Ditto
4892 Fixes repeatable crash in VM.
4894 1998-10-09 SL Baur <steve@altair.xemacs.org>
4896 * window.c (specifier_vars_of_window): Set default vertical
4897 divider width to 1 on ttys.
4899 1998-10-08 Martin Buchholz <martin@xemacs.org>
4904 Add <stddef.h> to get ptrdiff_t declaration
4906 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4908 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4909 is used for Motif or Lucid scrollbars under X.
4911 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4913 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4916 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4918 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4920 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4922 * s/cygwin32.h: more cygwin b20 reorganisation.
4924 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4926 * nas.c: Added necessary support functions to be able to handle
4927 WAVE files in memory, just like the support for SND files in
4930 1998-09-30 SL Baur <steve@altair.xemacs.org>
4932 * callproc.c (child_setup): Fix spelling typo.
4934 1998-09-29 SL Baur <steve@altair.xemacs.org>
4936 * XEmacs 21.2-beta2 is released.
4938 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4940 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4941 to prevent memory corruption in the case of jumping out of a series of
4942 nested match patterns. This is a rather brute force approach, though.
4944 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4946 * config.h.in: ditto.
4948 * s/cygwin32.h: rearrange declarations to cope with cygwin
4949 b20. Include cygwin32/version.h if it exists.
4951 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4953 * device-msw.c (mswindows_init_device): Call new
4954 mswindows_enumerate_fonts() function in objects-msw.c instead
4955 of font_enum_callback_1() to enumerate fonts.
4957 font_enum_callback_1() and _2() moved to objects-msw.c.
4959 * faces.c (complex_vars_of_faces): Make the mswindows default
4960 face font fully specified and provide some fallbacks.
4962 * objects-msw.c: font_enum_callback_1() and _2() moved here
4963 from objects-msw.c. Obtain the enumerated font's character
4964 sets by table lookup instead of using the locale-specific
4965 string provided by Windows.
4967 New public non-method mswindows_enumerate_fonts() that fills
4968 in the supplied mswindows device's font list.
4970 mswindows_initialize_font_instance: Use the supplied name
4971 variable instead of f->name when signalling errors. Match font
4972 weights and character sets using lookup tables which handle
4973 spaces instead of by frobbing.
4975 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4977 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4978 on the size of code fragments passed to run_in_other_process.
4980 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4981 the amount of memory to allocate in the other process.
4983 Removed sigkill_code_end(), sigint_code_end() and
4984 sig_enable_code_end() since they are now redundant.
4986 send_signal() and enable_child_signals(): Don't try to work
4987 out the end of the code fragments passed to
4988 run_in_other_process()
4990 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4992 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4995 * src/unexelf.c: Partially synched with FSF's 20.3.
4997 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4999 * insdel.c (signal_after_change): Map across indirect buffers
5000 here, and not in the upper-level functions.
5001 (signal_first_change): Don't check for Armageddon.
5002 (signal_before_change): Map across indirect buffers here.
5003 (prepare_to_modify_buffer): ...and here.
5005 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5007 * insdel.c (signal_after_change): Add return value.
5008 (buffer_insert_string_1): Use it.
5009 (buffer_delete_range): Ditto.
5010 (buffer_replace_char): Ditto.
5011 (cancel_multiple_change): Map the indirect buffers.
5013 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5015 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5016 (uninit_buffer_text): Ditto.
5018 * buffer.c (Fmake_indirect_buffer): Implement stricter
5021 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5023 * insdel.c (change_function_restore): Reverse order of
5024 function-call and assignment.
5025 (first_change_hook_restore): Ditto.
5027 * extents.c (mark_extent_auxiliary): Mark them.
5028 (Fset_extent_property): Set them.
5029 (Fextent_property): Get them.
5030 (Fextent_properties): Ditto.
5031 (vars_of_extents): Set their default.
5033 * extents.h (struct extent_auxiliary): Add before_change_functions
5034 and after_change_functions.
5036 * insdel.c (signal_before_change): Use it.
5037 (signal_after_change): Ditto.
5039 * extents.c (report_extent_modification): New function.
5041 * insdel.c (signal_before_change): Don't check for Armageddon.
5042 (signal_after_change): Ditto.
5044 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5046 * redisplay.c (redisplay_window): make sure a new starting point
5047 is chosen if it somehow got moved from the beginning of the line
5048 -- this can happen because Fwiden was called recently.
5050 * window.c (Fset_window_start): set start_at_line_beg correctly
5051 (Fset_window_buffer): Ditto
5053 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5055 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5056 (uninit_buffer_text): Ditto.
5058 * buffer.c (Fmake_indirect_buffer): Implement stricter
5061 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5063 * emacs.c (main_1): Removed references to *vars_of_filelock.
5065 * lisp.h: Added Fsystem_name.
5067 * filelock.c: Replaced by version from FSF 20.2. Now implements
5068 locking by using symlinks which is NFS safe. However keep the
5069 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5070 version (and of course use ansi C, acessor macros, etc).
5072 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5074 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5075 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5076 in init_signals_very_early. However these should not be passed
5077 on to children attached to the new pty.
5079 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5081 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5083 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5085 * fileio.c (file-name-directory, file_name_as_directory):
5086 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5088 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5090 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5092 * ralloc.c: uncomment __morecore.
5094 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5096 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5097 WriteFile() to fix a winsock 1.x bug on Win95.
5099 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5101 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5103 (x_event_to_emacs_event): Ditto.
5104 (emacs_Xt_handle_focus_event): Ditto.
5105 (emacs_Xt_handle_magic_event): Ditto.
5107 * console-x.h (struct x_device): New flag being_deleted.
5108 (DEVICE_X_BEING_DELETED): New macro.
5110 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5111 returning. Before doing that, set the being_deleted flag on the
5114 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5116 * device-x.c (x-seppuku-on-epipe): Removed.
5118 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5120 * frame-x.c (x_delete_frame): Flush the X output buffer after
5121 calling XtDestroyWidget to ensure that the windows are really
5124 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5126 * menubar-x.c (my_run_hook): New unused function.
5127 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5128 since we ignore the results of the contained functions anyway.
5130 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5132 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5133 interlaced GIF files that are smaller than 4 lines high...
5135 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5137 * buffer.c (map_over_sharing_buffers): Deleted.
5139 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5141 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5144 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5146 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5148 (buffer_delete_range): Ditto.
5150 * marker.c (init_buffer_markers): Set point-marker to the value of
5151 point in an indirect buffer.
5153 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5155 * undo.c (undo_prelude): Test last-undo-buffer against base
5158 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5160 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5162 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5164 * insdel.c (init_buffer_text): Initialize it here.
5166 * line-number.c: Address line_number_cache through buffer->text.
5168 * buffer.c (mark_buffer): Mark line number cache.
5170 * bufslots.h (line_number_cache): Move to struct buffer_text.
5172 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5173 across the children buffers.
5174 (buffer_delete_range): Ditto.
5175 (buffer_replace_char): Ditto.
5179 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5181 * buffer.c (Fmake_indirect_buffer): Uncomment.
5183 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5185 * macros.c (Fend_kbd_macro): Remove trailing period from error
5187 (Fexecute_kbd_macro): Ditto.
5189 1998-08-21 Greg Klanderman <greg@alphatech.com>
5191 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5192 (Fuser_name_completion_1): new function to return uniqueness
5193 indication in addition to the user name completion.
5194 (user_name_completion): change type of `uniq' argument.
5196 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5198 * lread.c (vars_of_lread): Removed `source-directory' variable.
5200 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5202 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5205 1998-08-19 SL Baur <steve@altair.xemacs.org>
5207 * dired.c (vars_of_dired): Fix misapplied patch.
5209 1998-08-16 Martin Buchholz <martin@xemacs.org>
5211 * fns.c (Fremrassq, remrassq_no_quit):
5212 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5214 1998-07-17 Didier Verna <verna@inf.enst.fr>
5216 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5217 style as foreground GC for faces that have the `dim' property.
5218 (x_output_string): when the `dim' face property is set,
5219 ensure the gray pixmap has been created, and get a proper
5220 foreground GC to draw the text.
5222 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5224 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5225 Manually track the state of the left and right Ctrl and Alt
5228 1998-08-07 Matt Stupple <matts@tibco.com>
5230 * ntproc.c: don't wait on char_consumed at thread entry.
5231 Additionally, to get the 'process' marked as finished, ensure
5232 that the CHILD_ACTIVE macro returns false, so before exiting
5233 close char_avail and set it to NULL, and close other handles
5234 to reduce handle leak problems.
5236 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5238 * menubar-msw.c (displayable_menu_item): take account of menu
5239 depth when deciding whether to try to display accelerators.
5241 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5243 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5246 * glyphs-msw.c: fix a couple of potential handle leaks.
5248 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5250 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5251 *decoding ONLY* back into the core.
5252 * glyphs-eimage.c: Change referenced header file for GIF
5253 reading to point to the incore version.
5255 1998-07-20 Martin Buchholz <martin@xemacs.org>
5257 * casefiddle.c (casify_object):
5258 Change algorithm from O(N**2) to O(N).
5262 1998-07-22 Greg Klanderman <greg@alphatech.com>
5264 * dired.c (file_name_completion_unwind): don't leak the cons.
5266 1998-07-20 Greg Klanderman <greg@alphatech.com>
5268 * dired.c (Fuser_name_completion): new function.
5269 (Fuser_name_all_completions): new function.
5270 (user_name_completion): new function.
5271 (syms_of_dired): 2 new DEFSUBRs.
5272 (vars_of_dired): initialize user name cache vars.
5274 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5276 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5277 colors taken from the default face. Also correct a thinko in
5278 transparency (not alpha) handling.
5280 1998-07-23 Martin Buchholz <martin@xemacs.org>
5282 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5283 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5284 * lread.c (Fload_internal): Be very careful with printfs of
5286 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5289 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5291 * callint.c (Fcall_interactively): GCPRO prompt string before
5292 passing it to Fread_key_sequence
5294 1998-07-27 SL Baur <steve@altair.xemacs.org>
5296 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5297 Vvertical_divider_map.
5299 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5300 Qnil or 0, none were initialized prior to this change.
5302 Rename misnamed `V' prefixed integer variables:
5303 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5304 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5305 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5306 Vcanna_ichiran_revLen.
5308 Rename misnamed `V' prefixed integer variables and initialize
5309 properly in the vars_of routine.
5310 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5311 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5312 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5313 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5314 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5315 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5316 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5317 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5318 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5319 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5320 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5321 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5322 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5323 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5324 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5325 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5326 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5327 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5328 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5329 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5330 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5331 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5332 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5333 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5334 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5335 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5336 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5337 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5338 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5339 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5340 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5341 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5342 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5343 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5344 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5345 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5346 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5347 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5348 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5349 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5350 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5351 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5352 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5353 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5354 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5355 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5357 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5359 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5360 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5361 keys thus no longer considering all keysyms on a key.
5363 1998-07-19 SL Baur <steve@altair.xemacs.org>
5365 * XEmacs 21.2-beta1 is released.
5367 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5369 * eldap.c (Fldap_search_internal): When converting the list of
5370 attributes to search Copy the final 0 from Lisp strings to C
5372 Check base, not Vldap_default_base as a a string
5374 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5376 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5378 * unexnt.c: Unconditionally define bss_start and bss_size, and
5379 ensure that they don't go in the .bss section.
5381 1998-07-17 Olivier Galibert <galibert@pobox.com>
5383 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5384 byte order is dependant of the local byte order).
5385 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5387 1998-07-18 SL Baur <steve@altair.xemacs.org>
5389 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5390 Qmswindows_resource.
5391 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5393 1998-07-12 SL Baur <steve@altair.xemacs.org>
5395 * general.c (syms_of_general): Add defsymbol for Qresource.
5397 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5398 Qmswindows_resource.
5399 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5400 (mswindows_resource_validate): Rename.
5401 (mswindows_resource_normalize): Rename.
5402 (mswindows_resource_possible_dest_types): Rename.
5403 (mswindows_resource_instantiate): Rename.
5404 (image_instantiator_format_create_glyphs_mswindows): Replace
5405 `resource' with `mswindows.resource'.
5407 * XEmacs 21.0-pre5 is released.
5409 1998-07-10 SL Baur <steve@altair.xemacs.org>
5411 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5412 server type in environment.
5413 Use alloca-ed strings instead of tiny fixed size ones.
5415 1998-07-09 SL Baur <steve@altair.xemacs.org>
5417 * XEmacs 21.0-pre4 is released.
5419 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5421 * fileio.c: (expand_file_name): under win32: Don't treat names
5422 as UNC names if a drive letter has been specified. If a drive
5423 has been specified, strip out extra directory-seperators that
5424 reportedly cause problems under Win95.
5426 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5428 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5429 MSVC >= 5.0. Put emacs init and zero-init data in a special
5430 section of the executable when this is defined.
5432 * unexnt.c, ntheap.h:
5433 Removed unused find_section() and get_section_size().
5436 Fix up the executable's checksum after dumping otherwise the
5438 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5439 zero-init data separately from init data. Dump emacs data
5440 into a special section of the executable.
5441 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5442 my_ebss instead of up to the end of bss.
5444 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5446 * filelock.c: Removed Vconfigure_lock_directory - already
5449 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5450 defined in frame.c and general.c respectively.
5452 * glyphs-msw.c: Removed Qresource - already defined in
5455 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5457 * eldap.c (Fldap_search_internal): Docstring fixes
5459 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5461 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5462 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5463 EMACSPACKAGEPATH and INFOPATH variables.
5464 Removed unused get_emacs_configuration function.
5466 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5467 it is now defined at build-time by the makefile.
5469 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5471 * fileio.c: (expand_file_name): under win32: Don't treat names as
5472 UNC names if a drive letter has been specified. If a drive has
5473 been specified, strip out extra directory-seperators that
5474 reportedly cause problems under Win95.
5476 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5478 * faces.c (complex_vars_of_faces): for the gui-element face don't
5479 fallback to the default face, instead provide reasonable default
5480 fallbacks that were previously hardcoded elsewhere.
5482 1998-07-06 Olivier Galibert <galibert@pobox.com>
5484 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5485 when the X server endianness is different than the client's one.
5487 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5489 * eval.c (run_hook_with_args_in_buffer): Check
5490 default (non-buffer-local) value of hook for
5491 nil before treating it as a function. Don't initialize
5492 the `globals' variable twice.
5494 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5496 * fileio.c: Don't do directory seperator canonicalisation in
5497 substitute-in-file-name because we don't know that the
5498 filename refers to a local file.
5500 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5502 * process-nt.c (nt_create_process): Try appending the standard
5503 executable file extensions to the filename if none supplied.
5505 1998-06-29 SL Baur <steve@altair.xemacs.org>
5507 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5509 From Keisuke Mori <ksk@ntts.com>
5511 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5513 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5514 images if we have masks. This handles the xbm case (have masks)
5515 and avoids overuse of resources in the xpm case (generally no masks).
5516 Don't output small toolbars.
5518 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5520 * eval.c (run_hook_with_args_in_buffer): Don't treat
5521 the default value of a buffer local hook as a list of
5522 hooks unless it is both a cons and the car of that cons
5525 1998-06-29 SL Baur <steve@altair.xemacs.org>
5527 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5528 * process-unix.c: Ditto.
5529 * mule-coding.h: Ditto.
5530 * mule-coding.c: Ditto.
5531 * mule-charset.c: Ditto.
5532 * mule-charset.h: Ditto.
5533 * file-coding.c: Ditto.
5534 * file-coding.h: Ditto.
5536 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5538 * event-msw.c: Guard against recursion when freeing
5539 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5541 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5542 Call ShowWindow twice in init_frame_3 to get round runemacs
5545 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5547 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5549 * winslots.h: Rename.
5551 * window.c (specifier_vars_of_window): Renamed
5552 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5553 as suggested by Ben Wing.
5554 (specifier_vars_of_window): Fix docstrings.
5556 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5558 * unexaix.c: Line number information works correctly again.
5560 1998-06-22 Olivier Galibert <galibert@pobox.com>
5562 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5564 1998-06-21 Martin Buchholz <martin@xemacs.org>
5566 * editfns.c (get_home_directory): ANSIfy.
5567 XEmacs is compilable under C *and* C++.
5568 It's XEmacs, not Xemacs!
5570 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5572 * console-msw.h: added a list of fonts to device data.
5574 * device-msw.c: enumerate list of available fonts in
5575 mswindows_init_device. Free list in mswindows_delete_device.
5577 * objects-msw.c: Added helper function match_font used by
5578 mswindows_initialize_font_instance and mswindows_list_fonts.
5579 Allow a charset to be specified in a font string, even if
5580 previous fields havn't been specified.
5582 1998-06-23 Greg Klanderman <greg@alphatech.com>
5584 * indent.c (column_at_point): column cache bugfix.
5585 Set last_known_column_point to the buffer position for
5586 which the column was requested, not buffer's point.
5588 * redisplay.c (decode_mode_spec): for current-column, show
5589 window's point's column, not buffer's point's column.
5591 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5593 * menubar-msw.c (mswindows_handle_wm_command): use
5594 enqueue_misc_user event rather than
5595 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5598 * console-msw.h: declare mswindows_enqueue_magic_event.
5600 * event-msw.c (mswindows_enqueue_magic_event): make global.
5602 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5604 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5605 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5606 (add_position_to_cache): Use EMACS_INT instead of int.
5608 1998-06-21 Olivier Galibert <galibert@pobox.com>
5610 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5611 suitable for an int used as a boolean (btw, C sucks.).
5613 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5615 * object-msw.c: remove warnings.
5617 * device-msw.c: #define wrongly named cygwin structure elements.
5619 * s/cygwin32.h: define DEMI_BOLD
5621 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5623 * redisplay-msw.c: new function mswindows_apply_face_effects.
5624 This is called by output_string and output_cursor to display
5625 underline and strikeout on faces.
5627 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5629 * console-msw.h: added a list of fonts to device data.
5631 * device-msw.c: enumerate list of available fonts in
5632 mswindows_init_device. Free list in mswindows_delete_device.
5634 * objects-msw.c: Added helper function match_font used by
5635 mswindows_initialize_font_instance and mswindows_list_fonts.
5636 Allow a charset to be specified in a font string, even if
5637 previous fields havn't been specified.
5639 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5642 Removed compilation warnings from mswindows_string_to_color.
5643 mswindows_list_fonts returns a more general bogus font.
5644 New lisp-visible function mswindows-color-list.
5646 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5648 * editfns.c (Fuser_login_name): Modify to user new function
5650 (user_login_name): C only function to avoid Lisp object overhead
5651 Returns "unknown" instead of nil in Cygwin environment
5653 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5654 equivalent for current user in Cygwin environment. Use new
5655 function user_login_name to get username.
5657 * lisp.h: Declare user_login_name
5659 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5661 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5663 Some other insignificant nitpicks.
5665 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5667 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5668 creating the image list and make sure he bk color is transparent.
5670 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5672 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5673 completed_timeouts. The timer could have expired.
5675 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5677 * console-msw.h: move XEMACS_RECT_WH inside frame
5678 parameters. define macors to access it.
5680 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5681 parameter to intialise desired sizing. (mswindows_init_frame_2):
5682 enable and size the frame to something sensible when we get
5683 here. (mswindows_set_frame_properites): use new
5684 mswindows_size_frame_internal function and size frame if frame
5685 parameters not just if init is finished - WM_SIZE happens too
5686 early for some specs. (mswindows_size_frame_internal): new
5687 function abstracted from mswindows_set_frame_properties.
5688 (Vmswindows_use_system_frame_size_defaults):
5689 new variable controls whether to allow the system to pick frame
5690 size defaults, defaults to nil.
5692 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5693 than duplicated code.
5695 1998-06-15 Colin Rafferty <colin@xemacs.org>
5697 * Makefile.in.in: Made EXTW_LINK expand properly.
5699 1998-06-12 Martin Buchholz <martin@xemacs.org>
5701 * redisplay.c (vars_of_redisplay): default value of
5702 column-number-start-at-one should be NIL!
5704 1998-06-11 Martin Buchholz <martin@xemacs.org>
5707 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5709 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5711 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5712 build_string to avoid crashes under Mule.
5714 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5716 * ntplay.c (play_sound_data_1): don't delete the sound data until
5717 the next sound is played and the previous one finished.
5719 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5721 * fileio.c (directory-sep-char): Escape backslashes.
5723 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5725 * event-stream.c: Fix docstring reference.
5727 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5729 * alloc.c (make_float): Remove useless initialization of `next'
5731 (make_pure_float): Ditto.
5733 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5735 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5737 * fileio.c (Fmake_directory_internal): Remove conditionals
5738 on WINDOWSNT when calling mkdir.
5740 * ntproc.c: Deleted the following unused functions:
5741 register_child, reap_subprocess, sys_wait.
5743 * nt.c (sys_rename): Ifzeroed this implementation.
5744 Deleted the following unused functions:
5745 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5746 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5747 sys_read, sys_write.
5748 Merger sys_fopen and sys_open with sysdep.c implementation.
5750 * sysdep.c: Removed MS-DOS code.
5751 (sys_rename): Deal with Microsoft rename weirdness.
5752 (sys_open): Implemented for Windows.
5756 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5758 * buffer.c (complex_vars_of_buffer): Removed %t description from
5761 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5763 * scrollbar-msw.c: initialize the cbSize element of the
5764 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5765 to ignore the value of cbSize, but Win95 (and I presume Win98)
5766 appear to want it set to sizeof(SCROLLINFO).
5768 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5770 * event-stream.c: Defined Qcancel_mode_internal.
5771 (syms_of_event_stream): defsymbol'ed it.
5773 * events.h: Externed it.
5775 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5777 1998-06-04 Oliver Graf <ograf@fga.de>
5779 * frame-x.c (x_cde_destroy_callback): free the data
5780 (cde-start-drag-internal) corrected root position, 21.1 needs this
5781 hardcoded in Button events
5782 (offix-start-drag-internal) corrected root position
5784 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5786 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5789 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5791 * dialog-msw.c (button_width): Removed `inline' from the function
5794 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5796 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5797 Note that adding this flag to subsequent frames causes problems.
5799 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5801 * glyphs-eimage.c (png_instantiate) move 'struct
5802 png_memory_storage tbr' out of nested block to avoid dangling
5805 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5808 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5809 inherits from gui-element.
5811 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5812 with existing code, generate masks correctly.
5814 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5816 * glyphs-eimage.c: Changed included header for gifs to use
5817 Gifreader instead of giflib.
5819 * glyphs-x.c: removed the image-related functions that were
5820 moved into glyphs-eimage.
5822 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5824 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5825 if built without X Windows support.
5827 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5829 * fns.c (Fconcat): Synch docstring with new reality.
5831 1998-06-03 SL Baur <steve@altair.xemacs.org>
5833 * frame.c: Remove reference to msdos.h (which is going away).
5834 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5836 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5838 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5842 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5844 * events.h: Fixed commentary about misc-user scrollbar events.
5846 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5847 object as an event channel, instead of window object.
5848 (x_update_horizontal_scrollbar_callback): Ditto.
5850 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5852 * ntplay.c (play_sound_data_1) new function. convert alloca data
5853 to malloc if necessary.
5854 (play_sound_file): if the file is not in our path then convert to
5857 1998-06-01 SL Baur <steve@altair.xemacs.org>
5859 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5860 * msdos.c (Frecent_doskeys): Ditto.
5862 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5863 Suggested by Reggie Perry <perry@zso.dec.com>
5865 * buffer.h: Eliminate size in declaration.
5867 1998-06-01 Olivier Galibert <galibert@pobox.com>
5869 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5871 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5873 * gui.c (gui_item_init): Changed the default value for config member
5874 from Qunbound to Qnil.
5876 1998-06-01 Greg Klanderman <greg@alphatech.com>
5878 * indent.c (vmotion_pixels): Don't #define abs().
5880 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5882 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5885 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5887 * glyphs.h: add xbm declarations.
5889 * console.h: add xbm_instantiate_method device method.
5891 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5892 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5893 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5894 locate_pixmap_file device method and read_bitmap_data_from_file
5895 instead of XmuReadBitmapDataFromFile.
5896 (xbm_instatntiate): make a device method.
5898 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5899 new function that just calls XmuReadBitmapDataFromFile.
5900 (x_xbm_instatntiate): device method from xbm_instantiate.
5902 * glyphs-msw.c (read_bitmap_data) (NextInt)
5903 (read_bitmap_data_from_file): new functions copied from Xmu
5905 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5906 inline data to an mswindows bitmap.
5907 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5908 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5911 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5913 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5914 `modeline-visible-p'.
5915 Declared specifier lisp variables at the beginning oh the file
5918 * procimpl.h (struct process_methods): Changed semantics of
5919 create_process method so it accepts lisp strings instead of
5922 * process.c (Fstart_process_internal): Moved building of
5923 unix style argv from here to process-unix.c, ...
5925 * process-unix.c (unix_create_process): ... right here.
5927 * process-nt.c (nt_create_process): Changed this function to
5928 support new semantics, so avoided a GC problem.
5930 * events.c (Fmake_event): Document misc-user events properties.
5931 (Fmake_event): Do not allow arbitrary objects for channel property
5932 of misc-user events.
5933 (Fmake_event): Change misc-user event validation: it is function
5934 which is required, not button.
5936 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5938 (mswindows_enqueue_misc_user_event): Added function.
5939 (mswindows_bump_queue): Removed function.
5940 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5941 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5942 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5943 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5944 really nothing, which is my personal favorite thing.
5946 * console-msw.h: Removed prototype for mswindows_bump_queue().
5947 Added prototype for mswindows_enqueue_misc_user_event().
5949 * menubar-msw.c (mswindows_handle_wm_command): Use
5950 mswindows_enqueue_misc_user_event().
5952 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5954 * dialog-msw.c (dialog_proc): Ditto.
5956 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5957 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5958 user events channel.
5960 1998-05-29 Greg Klanderman <greg@alphatech.com>
5962 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5963 incorrect semantics of vmotion_pixels which has been fixed. don't
5964 use it anymore as it can't easily be used.
5966 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5967 the motion was reported incorrectly if you tried to go past end of
5970 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5972 * toolbar.h: Removed misleading commentary, as Martin suggested.
5974 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5976 * lisp.h: Extern Qactivate_menubar_hook.
5978 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5981 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5983 * glyphs-msw.c: use BPLINE macro.
5985 * select-msw.c (mswindows-selection-exists-p)
5986 (mswindows-delete-selection): doc string fixes.
5988 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5989 unpressable. warning elimination.
5991 1998-05-28 Martin Buchholz <martin@xemacs.org>
5993 * alloc.c (dbg_constants):
5996 Remove toolbar_data debugging code, since that lrecord has
5999 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6001 * alloc.c: zap cached value of (user-home-directory), so that
6004 * buffer.c: From init_buffer(), separated out code that
6005 determined the initial directory for the *scratch* buffer, and
6006 put them into a function called "init_initial_directory()".
6007 The initial directory is now available as a global "char *"
6008 called initial_directory.
6010 * buffer.h: Added extern entries for initial_directory[] and
6011 init_initial_directory().
6013 * editfns.c: added new elisp function "user-home-directory",
6014 which basically returns getenv("HOME"), but attempts to use
6015 other values if $HOME isn't set.This may have to be tweaked in
6016 the future as, under Unix, "/" is used if $HOME isn't set (this
6017 probably should be set to the current directory). To support
6018 this, a new C function, "get_home_directory()", now exists,
6019 which returns the "home directory", as a "char *" string.
6021 * emacs.c: Rearrange NT initialization order so that
6022 environment/registry variables will be properly entered into
6023 Vprocess_enviroment.
6025 * fileio.c: replaced egetenv("HOME") with calls to the new
6026 get_home_directory().
6028 * lisp.h: Added function prototypes for uncache_home_directory()
6029 and get_home_directory(), along with lisp prototypes for
6030 Fuser_home_directory() and friends.
6032 * nt.c: replaced getenv("HOME") with calls to the new
6033 get_home_directory().
6035 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6036 warnings about getcwd(), etc. not having prototypes.
6038 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6040 * process-nt.c (send_signal): Emulate SIGHUP.
6041 (validate_signal_number): Ditto.
6043 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6044 remove MOD_SHIFT from ASCII characters.
6045 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6048 1998-05-24 Oliver Graf <ograf@fga.de>
6050 * frame-x.c (cde-start-drag-internal): added filename and multi-
6052 (x_cde_convert_callback) dito
6054 1998-05-26 Oliver Graf <ograf@fga.de>
6056 * frame-x.c: include event-mod.h also with CDE
6057 (x_cde_convert_callback) made the thing working
6058 (cde-start-drag-internal) also debugging
6060 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6067 - add __OpenBSD__ where __NetBSD__ was found.
6068 - TODO: replace platform-specific conditional compilation by
6069 feature tests in configure.in.
6071 1998-05-15 Greg Klanderman <greg@alphatech.com>
6073 * window.c (Fwindow_displayed_text_pixel_height): New function.
6074 (syms_of_window): DEFSUBR it.
6076 * indent.c (Fvertical_motion_pixels): New function - request
6078 (vmotion_pixels): helper.
6079 (syms_of_indent): DEFSUBR.
6080 * lisp.h: declaration for vmotion_pixels().
6082 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6083 to request returning motion in pixels.
6084 (Fvertical_motion_pixels): Remove, functionality merged into
6086 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6087 (Fmove_to_window_line): ditto.
6088 * lisp.h: Change declaration for Fvertical_motion.
6090 * window.c: rename window-text-pixel-{height,width,edges} to
6091 window-text-area-pixel-*.
6093 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6095 * tooltalk.c (vars_of_tooltalk) added staticpro for
6096 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6098 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6100 * faces.c: create a new 3d_object_face, make modeline and
6101 vertical_divider faces fallback to this rather than the default.
6103 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6105 * s/cygwin32.h: define charsets for cygwin.
6107 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6109 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6110 and coordinates. resize bitmaps if we have already settled on a
6113 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6115 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6117 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6119 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6123 * gui-x.c (popup_selection_callback): Ditto.
6125 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6127 * gui.c (get_callback): Renamed to get_gui_callback.
6129 1998-05-17 Martin Buchholz <martin@xemacs.org>
6131 * glyphs.h: order rearrangement.
6133 * device-tty.c (tty_asynch_device_change): Warning suppression.
6134 * device-x.c (x_device_system_metrics): Warning suppression.
6135 Make Doc strings consistent with coding standards.
6137 1998-05-24 Martin Buchholz <martin@xemacs.org>
6139 * general.c: multiple definition of `Qicon'. general.c seems
6140 like a good home for Qicon.
6142 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6144 * This patch is to fix compilation warnings under Windows.
6146 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6147 Added prototypes for FSF inherited functions, with which XEmacs is
6148 sprinkled thoroughly.
6149 Removed some #if 0 code. Bracketed some more definitions, probably
6150 related to Visual C versions prior to 4 (we do not support them).
6152 * sysfloat.h (logb): Finally, get logb() prototyped.
6154 * sysfile.h: Added Windows specific includes.
6155 Removed old Windows specific code bracketed with #if 0.
6157 * sysdep.h: Added prototype for xrealpath().
6159 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6161 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6162 vars_of_dired_mswindows and init_ntproc (Grrr).
6164 * realpath.c: Added Windows specific include files.
6165 (xrealpath): Conditionalized declaration of some auto variables on
6166 S_IFLNK, to avoid warnings.
6168 * ntproc.c: Disabled some compiler warnings. This file is going to
6169 die, so I have not cleaned it up much.
6170 (set_process_dir): Const parameter.
6171 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6172 (Fwin32_long_file_name): Ditto.
6173 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6176 * nt.h: Added prototypes for set_process_dir and convert_time.
6178 * nt.c: More include files.
6179 (getpwnam): Consted char* argument.
6180 (get_emacs_configuration): Const return value.
6181 (opendir): Const argument.
6182 (stat): Casted converstion long->short.
6183 (stat): Removed ad hoc and questionable support for non-MSC compile.
6184 (sys_pipe): Removed unused auto variable.
6185 (_sys_read_ahead): Removed calls to DebPrint.
6186 (sys_read): Ditto, in 2 places.
6187 (term_ntproc): Added unused int parameter to signal handler, to
6188 avoid a warning when compiling a call to signal().
6189 (msw_sigset): Properly return old signandler or NULL instead of void.
6191 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6193 * gmalloc.c (morecore): Ditto.
6194 (_free_internal): Ditto.
6196 * lread.c (parse_integer): Ditto.
6198 * dired-msw.c: Added several include files.
6200 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6201 of Compilers to Shut Up.
6203 * callproc.c: Added #includes to suppress warnings under Windows.
6204 (init_callproc): Removed #if0'ed code and unused variables.
6206 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6208 * device-msw.c (mswindows_device_system_metrics): do planes in a
6209 way consistent with X.
6211 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6212 use SetPixel, use DIBits functions.
6213 (xpm_to_eimage): frob colors more closely like xpm deos.
6215 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6216 to be closer to X version.
6218 * event-msw.c: use tooltip string directly.
6220 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6222 * objects-msw.c: frob rgb colors that only Kyle uses.
6224 * dialog-msw.c (button_width): INLINE -> inline.
6226 1998-05-23 SL Baur <steve@altair.xemacs.org>
6228 * getloadavg.c (getloadavg): Fix typo.
6230 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6232 * objects-msw.c (mswindows_initialize_font_instance): Added support
6233 for font character sets.
6234 Replaced 'XXX' with '####' in comments throughout the file.
6236 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6238 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6239 console_type_create_dialog_mswindows(), to initialize Windows dialog
6242 * symsinit.h: Prototyped the above functions.
6244 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6245 checks to dialog.c...
6247 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6248 device must support dialog boxes, and the descriptor must supply at
6251 * dialog-msw.c: New file, dialogs for Windows.
6253 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6255 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6256 (Fldap_search_internal): Removed unused variable `err'
6258 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6261 1998-05-17 Martin Buchholz <martin@xemacs.org>
6263 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6264 defined. Therefore there is no need to handle the case when
6265 HAVE_LDAP is undefined. Similarily, there is no reason to have
6266 any code wrapped within `#ifdef emacs', since this code is only
6267 useful within an emacs. This simplifies the code significantly.
6269 * inline.c: Include eldap.h only if HAVE_LDAP.
6270 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6273 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6275 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6276 printing dump stats when building without DEBUG_XEMACS.
6277 (dump_bss_and_heap): Ditto.
6279 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6281 * gnuclient.c: don't suppress window system if there is no display
6282 and we are running under mswindows. send 'mswindows device type if
6283 we are in this situation.
6285 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6288 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6290 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6293 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6295 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6296 {top,bottom}-{left,right} values in addition to
6297 {top,bottom}_{left,right}.
6299 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6301 * fileio.c (Fmake_temp_name): Remove unreached code.
6303 * process-nt.c (validate_signal_number): Use
6304 signal_simple_error().
6306 1998-05-19 Martin Buchholz <martin@xemacs.org>
6309 * sound.c (vars_of_sound):
6310 * sysdep.c (reset_sigio_on_device):
6311 * window.c (window_bottom_gutter_height):
6312 unexhp9k800.c:258: warning: implicit declaration of function
6313 `calculate_checksum'
6314 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6315 sysdep.c:1012: warning: unused variable `owner'
6316 window.c:993: warning: `window_right_toolbar_width' defined but not used
6318 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6320 * glyphs-msw.c (mswindows_create_resized_mask)
6321 (mswindows_create_resized_bitmap): new funnctions split out from
6322 mswindows_resize_dibitmap_instance.
6324 * glyphs-msw.h: declare new resize functions.
6326 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6327 functions so that the original bitmaps are preserved.
6329 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6331 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6332 color if we are trying to output 0 depth bg pixmap.
6334 * scrollbar-msw.c: warning elimination.
6336 1998-05-18 Martin Buchholz <martin@xemacs.org>
6338 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6339 directives in column 1.
6341 * search.c (skip_chars): Avoid using xzero with arrays, since some
6342 compilers get confused by the construct &array.
6344 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6347 * objects-msw.c: Changed the charset value for a new font from
6348 "don't care" to "ansi".
6350 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6352 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6354 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6355 modifier on control chars.
6356 Use IsCharAlpha() instead of isaplha().
6358 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6360 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6362 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6364 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6365 charset when creating font.
6366 (mswindows_initialize_color_instance): Do not create brush along
6368 (mswindows_finalize_color_instance): Do not delete it then.
6370 * objects-msw.h (struct mswindows_color_instance_data): Removed
6371 brush slot, and corresponding accessor macro.
6373 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6375 * toolbar.c: Removed toolbar_data lrecord implementation.
6376 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6377 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6378 (compute_frame_toolbar_buttons): Ditto.
6379 (CHECK_TOOLBAR): Ditto.
6380 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6381 (update_frame_toolbars): Do not check for changed buffer
6382 here. Toolbar information is provided by cached specs in
6383 windows. The check for buffer is eliminated becuase toolbars are
6384 marked changed in set_frame_selected_window() in frame.c
6385 Added check for changed toolbars geometry.
6386 (compute_frame_toolbars_data): Removed unused second parameter;
6387 Adjusted callers of this static function throughout the file.
6388 (init_frame_toolbars): Initialize current_toolbar_size.
6389 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6390 what is its current expansion, for clarity.
6391 (init_frame_toolbars): Ditto.
6392 (init_device_toolbars): Ditto.
6393 (init_global_toolbars): Ditto.
6395 * toolbar.h: Removed definition of toolbar_data lrecord.
6396 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6397 FRAME_CURRENT_TOOLBAR_SIZE.
6398 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6400 * toolbar-x.c (x_output_toolbar): The same change as in
6402 (x_output_toolbar): Ditto.
6403 (x_redraw_exposed_toolbar): Ditto.
6405 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6406 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6407 (mswindows_output_toolbar): Ditto.
6408 (mswindows_output_toolbar): Ditto.
6410 * frame.c (mark_frame): Removed marking of arrays, according to
6411 frameslots.h change.
6412 (nuke_all_frame_slots): Ditto.
6413 (set_frame_selected_window): Mark toolbars changed when
6414 last_nonminibuf_window changes.
6416 * frame.h (struct frame): Moved some slots to frameslots.h.
6417 Added current_toolbar_size array.
6418 Changed references from toolbar_data to toolbar_buttons in macros
6419 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6420 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6421 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6423 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6424 Moved arrays of lisp objects here from frame.h: toolbar_size,
6425 toolbar_visible_p, toolbar_border_width.
6426 Removed toolbar_data slot and added toolbar_buttons.
6428 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6430 * symsinit.h: Externed syms_of_process_nt()
6432 * emacs.c (main_1): Call syms_of_process_nt()
6434 * process-nt.c: Quote process arguments by a call to Lisp function
6435 `nt-quote-process-args'.
6436 (syms_of_process_nt): New function.
6437 (nt_send_process): Flush data stream after each write, to avoid
6438 leaving buffered data.
6439 (nt_send_process): When blocked on process output, wait for
6440 process to slurp more for progressively increasing time intervals.
6442 1998-05-17 Martin Buchholz <martin@xemacs.org>
6444 * window.c (have_undivided_common_edge): Make file-local function
6446 (map_windows): Return 0 if all map functions successful.
6449 * winslots.h: Use unlikely names for local variables in macros to
6450 avoid shadowing warnings.
6452 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6454 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6455 so that we re-output if the toolbar size has changed.
6457 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6459 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6461 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6463 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6466 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6468 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6469 get bitmap manifest constants defined.
6471 * console-msw.h: Include system files in angle brackets, not in
6474 * window.c (specifier_vars_of_window): Fixed a typo in
6475 `vertical-divider-line-width' docstirng.
6477 1998-05-16 Olivier Galibert <galibert@pobox.com>
6479 * line-number.c (delete_invalidate_line_number_cache): Use an
6481 (buffer_line_number): Remove dangerous, plain wrong when using
6482 64bits emacs ints, cast.
6484 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6486 * cmds.c (Fforward_line): Use EMACS_INTs.
6488 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6489 (scan_buffer): Ditto.
6490 (bi_find_next_newline_no_quit): Remove useless cast.
6491 (find_next_newline_no_quit): Ditto.
6492 (find_next_newline): Ditto.
6493 (find_before_next_newline): Use an EMACS_INT.
6495 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6497 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6499 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6501 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6503 * gui-x.c (popup_selection_callback): Use it.
6505 * gui.h (get_callback): Declare it.
6507 * gui.c (get_callback): New function.
6509 1998-05-15 SL Baur <steve@altair.xemacs.org>
6511 * window.c (have_undivided_common_edge): Guard scrollbar specific
6513 (window_needs_vertical_divider_1): Ditto.
6515 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6517 * emacs.c (decode_path): Eliminate compiler warning.
6518 (Fdecode_path): Renamed to Fsplit_path.
6519 (Fsplit_string_by_char): New function.
6521 1998-05-14 Damon Lipparelli <lipp@primus.com>
6523 * winslots.h: close comment
6525 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6527 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6529 * bufslots.h: Removed buffer_file_type slot.
6531 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6533 (complex_vars_of_buffer): Removed buffer-file-type variable and
6534 its default reference.
6536 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6538 * faces.c (complex_vars_of_faces): Defined
6539 Vvertical_divider_face.
6540 (vars_of_faces): Staticpro it.
6542 * faces.h: Externed Vvertical_divider_face.
6544 * redisplay-x.c (x_output_vertical_divider): Use
6545 Vvertical_divider_face to draw the divider instead of modeline
6548 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6549 divider face using Vvertical_divider_face background.
6550 Fix drawing spacing gaps around the divider.
6552 1998-05-14 Didier Verna <verna@inf.enst.fr>
6554 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6555 values for the vertical divider line width and spacing. Use the
6556 cached values from the window structure instead.
6557 (x_divider_width): ditto.
6559 * window.c (specifier_vars_of_window): new specifiers:
6560 vertical-divier -line-width and -spacing.
6561 (vertical_divider_global_width_changed): formerly known as
6562 vertical_divider_shadow_thickness_changed.
6564 * winslots.h: new slots: vertical_specifier _line_width and
6565 _spacing. Plus corrected a comment typo.
6567 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6569 * window.h: Declared window_divider_width().
6571 * console-stream.c (stream_divider_width): Removed method.
6572 (console_type_create_stream): And declaration for it.
6574 * redisplay.c (pixel_to_glyph_translation): Use
6575 window_divider_width() instead of divider_width redisplay method.
6576 (pixel_to_glyph_translation): Fix top divider edge calculation
6577 when scrollbar is on top.
6579 * window.c (window_divider_width): New function, an outphaser for
6580 divider_width redisplay method.
6581 (window_right_gutter_width): Use it.
6582 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6583 specifiers, set fallback values differently on TTYs, and document
6584 the behavior of these on TTYs in the docstrings.
6586 * scrollbar.c (update_scrollbar_instance): Use
6587 window_divider_width() instead of divider_width redisplay method.
6589 * console.h (struct console_methods): Removed divider_width_method.
6591 * redisplay-tty.c (tty_divider_width): Removed device method.
6592 (console_type_create_redisplay_tty): Removed definition for it.
6593 (tty_output_vertical_divider): Respect the value returned by
6594 window_divider_width thus divider line width specification.
6596 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6597 (console_type_create_redisplay_mswindows): Removed definition for it.
6598 (mswinodws_output_vertical_divider): Respect the value returned by
6599 window_divider_width thus divider line width specification.
6601 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6603 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6605 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6607 * glyphs-msw.c: resource loading implementation.
6608 (cursor_normalize): new function.
6609 (cursor_validate): ditto.
6610 (cursor_instantiate): ditto.
6611 (cursor_name_to_resource): ditto.
6612 (cursor_possible_dest_types): ditto.
6613 (check_valid_symbol): ditto.
6614 (check_valid_string_or_int): ditto.
6616 1998-05-14 Martin Buchholz <martin@xemacs.org>
6618 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6621 * process-unix.c (process_signal_char): Use VSUSP instead of
6622 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6624 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6626 * specifier.c (specifier_instance): Change locale precedence of
6627 instantiation so window locale has higher priority than buffer
6629 (Fspecifier_instance): Reflect this in docstring.
6630 (Fadd_spec_list_to_specifier): Ditto.
6631 (Fadd_spec_to_specifier): Ditto.
6632 (Fremove_specifier): Ditto.
6634 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6636 ** Dialog separation into a device method from Andy Piper
6638 * emacs.c (main_1): Call console_type_create_dialog_x().
6640 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6641 into this device method.
6642 (console_type_create_dialog_x): New function.
6644 * dialog.c (Fpopup_dialog_box): New function.
6645 (syms_of_dialog): Defsubr it.
6647 * console.h (struct console_methods): Declared
6648 popup_dialog_box_method().
6650 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6652 1998-05-14 Oliver Graf <ograf@fga.de>
6654 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6655 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6657 1998-05-13 Oliver Graf <ograf@fga.de>
6659 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6661 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6663 * console.h (device_metrics): Removed dbcs, input-method-editor
6664 and right-to-left metrics.
6666 * device.c (Fdevice_system_metric): Ditto.
6667 (Fdevice_system_metrics): Ditto.
6668 (syms_of_device): Ditto.
6669 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6672 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6674 * line-number.h (mark_line_number_cache): Remove unused
6677 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6678 (get_nearest_line_number): Simplify.
6679 (add_position_to_cache): Make the old marker point nowhere.
6681 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6683 ** Renamed window-divider-map => vertical-divider-map
6684 and event-over-divider-p => event-over-vertical-divider-p,
6685 in the following files/functions:
6687 * events.c (Fevent_over_divider_p):
6688 * keymap.c (get_relevant_keymaps):
6691 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6693 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6695 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6697 * window.c (vertical_divider_changed_in_window): Renamed so.
6698 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6699 (window_needs_vertical_divider_1): Decide whether we need it based
6700 on the value of the above specifier. If separators are unwanted,
6701 put them only if there's no scrollbar between this window and its
6703 (have_undivided_common_edge): New function, helper for the above.
6704 (window_needs_vertical_divider): Return either a cached value,
6705 or clauclate and cache one.
6706 (invalidate_vertical_divider_cache_in_window): Implemented.
6707 (map_windows): Changed return type to int, return the value from
6710 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6711 (struct window): Added need_vertical_divider_p and
6712 need_vertical_divider_valid_p.
6714 * winslots.h: Added vertical_divider_draggable_p slot.
6716 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6717 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6719 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6721 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6722 invalidate_vertical_divider_cache_in_frame().
6725 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6727 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6729 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6730 masks correctly and don't select 0.
6732 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6734 * winslots.h: New file, declaration of some struct window and
6735 struct saved_window members.
6737 * window.h (struct window): Include it, with required preprocessor
6740 * window.c (mark_window): Ditto.
6741 (allocate_window): Ditto.
6742 (struct saved_window): Ditto.
6743 (mark_window_config): Ditto.
6744 (saved_window_equal): Ditto.
6745 (Fset_window_configuration): Ditto.
6747 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6749 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6751 1998-05-12 Didier Verna <verna@inf.enst.fr>
6753 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6754 the divider line. The shadow thickness is currently
6755 hard-wired. This will probably be turned into a specifier soon.
6757 1998-05-12 Didier Verna <verna@inf.enst.fr>
6759 * console.h (struct console_methods): the divider_width console
6760 method now requires a struct window * argument.
6762 * redisplay-x.c (x_divider_width): ditto. Plus remove
6763 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6764 (x_output_vertical_divider): give a depressed look when the shadow
6765 thickness is negative.
6767 * console-stream.c (stream_divider_width): pass a struct window *
6770 * redisplay-tty.c (tty_divider_width): ditto.
6772 * window.c (window_right_gutter_width): totdi.
6774 * redisplay.c (generate_modeline): ittod.
6776 * scrollbar.c (update_scrollbar_instance): ttido.
6778 * redisplay-msw.c (mswindows_divider_width): ottid.
6779 WARNING: this enables to compile, but the feature is not functional.
6781 * window.h (struct window): new field
6782 vertical_divider_shadow_thickness.
6784 * window.c (specifier_vars_of_window): new specifier
6785 vertical-divider-shadow-thickness.
6786 (vertical_divider_shadow_thickness_changed): new function to
6787 inform redisplay that the window has changed.
6788 (mark_window): handle new field vertical_divider_shadow_thickness
6790 (allocate_window): ditto.
6791 (saved_window_equal): toddi.
6792 (Fset_window_configuration): totid.
6793 (save_window_save): ttdio.
6794 (struct saved_window): new field vertical_divider_shadow_thickness.
6796 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6798 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6801 1998-05-12 Oliver Graf <ograf@fga.de>
6803 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6804 * event-Xt.c (x_event_to_emacs_event): C++ compability
6806 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6808 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6811 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6813 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6816 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6818 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6820 * emacs.c (decode_path_1): New function.
6821 (decode_path): Use it.
6822 (Fdecode_path): Renamed from Fdecode_path_internal; use
6825 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6827 * macros.c (Fzap_last_kbd_macro_event): New function.
6828 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6830 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6832 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6833 multiple bitmaps are output vertically as well as horizontally.
6834 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6835 crossing lines this is handled by
6836 mswindows_output_dibitmap_region.
6838 1998-05-12 Martin Buchholz <martin@xemacs.org>
6840 * inline.c: Include eldap.h
6842 * menubar-x.c (x_update_frame_menubar_internal):
6843 Remove: unused variable `container'
6845 1998-05-11 Martin Buchholz <martin@xemacs.org>
6847 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6848 Unfortunately, the resulting temacs still cannot dump.
6850 * symbols.c (symbol_is_constant):
6851 (verify_ok_for_buffer_local):
6852 -Wswitch Warning suppression - add default case to switches.
6854 * redisplay.c (decode_mode_spec): Remove unused variables,
6855 Replace Fcoding_system_property (codesys, Qmnemonic) with
6856 XCODING_SYSTEM_MNEMONIC (codesys);
6857 Fcoding_system_property is for users.
6863 Change empty docstrings into no doc strings at all.
6864 Fix bogus FSF-format docstrings.
6867 Standardize docstrings.
6870 Explain problems with matherr.
6872 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6875 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6876 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6877 Fix the weird resultant interaction (causes windows problems)
6881 Take new EMACSBOOTSTRAPLOADPATH into account.
6882 Update documentation strings
6885 - Adjust for luser's CDPATH being set to something weird.
6886 - Take into account bash 2.02's tendency to print the cwd when
6887 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6888 - fix the run-temacs target to use $(DUMPENV)
6889 - fix the run-puremacs target to use $(DUMPENV)
6890 - fix the `depend' target to properly $(RM) the right files
6891 - Generate a better TAGS file for XEmacs' lisp code using
6892 hand-crafted regexps.
6893 - Use standard coding conventions for modules/Makefile.in
6895 1998-05-12 Didier Verna <verna@inf.enst.fr>
6897 * redisplay.c: removed the scrolling modeline code that didn't
6898 make it for 21.0. To be continued ...
6900 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6902 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6903 and empty string inputs.
6905 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6907 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6909 1998-05-10 Oliver Graf <ograf@fga.de>
6911 * event-stream.c (enqueue_misc_user_event_pos): created
6912 * lisp.h (enqueue_misc_user_event_pos): prototype added
6913 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6914 * emacs.c: call vars_of_dragdrop
6915 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6917 1998-05-11 Oliver Graf <ograf@fga.de>
6919 * frame-x.c (x_cde_transfer_callback): return at correct pos
6920 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6921 object for MIME (see comment in dragdrop.c)
6922 * dragdrop.c: API change documented in comment
6923 removed provide of dragdrop [is provided by dragdrop.el]
6925 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6927 * window.c (window_needs_vertical_divider): Enable vertical
6928 dividers for every non-rightmost window.
6929 (window_left_gutter_width): Left gutter consists of mythical
6930 toolbar and a virtual scrollbar.
6931 (window_right_gutter_width): The right one may have a divider
6934 * scrollbar.c (update_scrollbar_instance): Position vertical
6935 scrollbar left to divider if the latter present.
6937 * redisplay.h: Declared OVER_DIVIER constant.
6939 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6942 * redisplay-x.c (x_output_vertical_divider): Output divider along
6943 the right side of the window, down to window bottom. Swapped
6944 foreground and background colors so it is visible by default.
6946 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6947 stick the divider to the right window side.
6949 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6951 (mswindows_divider_width): Ask system for user preferred value.
6952 (mswindows_output_vertical_divider): Always output the divider on
6953 the right side of a window, down to bottom.
6955 * keymap.c (get_relevant_keymaps): Route mouse button events which
6956 happened over a window divider through window-divider-map.
6957 (Fkey_binding): Documented that in the docstring.
6958 Defined the variable Vwindow_divider_map.
6960 * events.c (Fevent_over_divider_p): Added this function.
6962 * events.h: EXFUNed it.
6964 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6966 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6967 toolbar geometry is suspected to change.
6969 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6973 Condition dnd and dde code on HAVE_DRAGNDROP.
6975 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6977 * events.c (format_event_object): Print space as SPC etc.
6979 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6981 * print.c (print_internal): In the default case, abort() if
6982 ERROR_CHECK_TYPECHECK.
6984 * fileio.c (Fmake_temp_name): Doc fix.
6986 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6988 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6990 * undo.c (Fprimitive_undo): Fixed typo.
6992 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6994 * fns.c (concat): Signal error on integer argument.
6996 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6998 * console.h (device_metrics): Prefixed each constatnt with DM_
7000 * device.c: (Fdevice_system_metric): Renamed so from plural form
7001 (metrics); Changed parameters order and added DEFAULT parameter;
7002 Unabbreviated some metric constants; Fixed and untabified doc string.
7003 (Fdevice_system_metrics): Added. Returns a plist of all provided
7006 * device-msw.c (mswindows_device_system_metrics): Renamed
7007 device_metrics enum constants.
7008 Return Qunbound instead of Qnil.
7010 * device-tty.c (tty_device_system_metrics): Ditto.
7012 * device-x.c (x_device_system_metrics): Ditto.
7014 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7016 * redisplay-msw.c: implement background pixmaps (really!). Make
7017 sure bg color is transparent if we have bg pmaps.
7018 * (mswindows_output_string) (mswindows_clear_region): output bg
7020 * (mswindows_output_dibitmap_region): new function.
7021 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7022 the bg color rather than transparently.
7024 * toolbar-msw.c: use masks if they exist.
7026 * glyphs-msw.c: set up masks correctly.
7028 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7030 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7032 * regex.c (re_match_2_internal): Check for quit.
7034 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7036 * frame.c (Ffocus_frame): New function.