1 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5 (Vcharset_chinese_cns11643_4): Likewise.
6 (Vcharset_chinese_cns11643_5): Likewise.
7 (Vcharset_chinese_cns11643_6): Likewise.
8 (Vcharset_chinese_cns11643_7): Likewise.
9 (Qchinese_cns11643_3): Likewise.
10 (Qchinese_cns11643_4): Likewise.
11 (Qchinese_cns11643_5): Likewise.
12 (Qchinese_cns11643_6): Likewise.
13 (Qchinese_cns11643_7): Likewise.
14 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
15 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
16 and `chinese-cns11643-7' to lisp/mule/chinese.el.
17 (complex_vars_of_mule_charset): Likewise.
19 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
21 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
22 96-set. (Fmake_reverse_direction_charset): Inherit
23 CHARSET_DECODING_TABLE, CHARSET_UCS_MIN, CHARSET_UCS_MAX and
26 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
28 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
30 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
31 (breakup_char_1): Likewise.
33 * text-coding.c (char_encode_iso2022): Keep designated charsets if
34 one of them includes the specified character.
36 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
38 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
40 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
42 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
44 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
46 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
47 definition for non-UTF-2000 Mule.
48 (latin_iso8859_3_to_ucs): Likewise.
49 (latin_iso8859_4_to_ucs): Likewise.
50 (latin_iso8859_9_to_ucs): Likewise.
51 (latin_jisx0201_to_ucs): Likewise.
52 (MIN_CHAR_THAI): Likewise.
53 (MAX_CHAR_THAI): Likewise.
54 (MIN_CHAR_GREEK): Likewise.
55 (MAX_CHAR_GREEK): Likewise.
56 (MIN_CHAR_HEBREW): Likewise.
57 (MAX_CHAR_HEBREW): Likewise.
58 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
59 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
60 (MIN_CHAR_CYRILLIC): Likewise.
61 (MAX_CHAR_CYRILLIC): Likewise.
63 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
65 * char-ucs.h (breakup_char_1): Use
66 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
67 thai-tis620 and katakana-jisx0201 area.
69 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
71 * char-ucs.h (breakup_char_1): Use
72 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
75 * text-coding.c (reset_encoding_stream): Fixed.
76 (char_encode_ucs4): Delete `& 255'.
78 * char-ucs.h (breakup_char_1): Use
79 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
81 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
83 * file-coding.c (Fmake_coding_system): Don't set up
84 `codesys->fixed.size'.
85 (encode_coding_no_conversion): Don't refer
86 `str->codesys->fixed.size'.
88 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
90 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
91 (latin_a_char_to_byte1): Deleted.
92 (latin_a_char_to_byte2): Deleted.
94 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
96 * mule-charset.c (make_charset): Add new argument `ucs_min',
97 `ucs_max' and `code_offset'.
98 (charset_get_byte1): New implementation [delete specific charset
99 depended implementations].
100 (Fmake_charset): Modify for `make_charset'.
101 (Fmake_reverse_direction_charset): Likewise.
102 (complex_vars_of_mule_charset): Likewise.
104 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
106 (CHARSET_UCS_MIN): New macro.
107 (CHARSET_UCS_MAX): New macro.
108 (CHARSET_CODE_OFFSET): New macro.
109 (MAKE_CHAR): Delete charset depended definitions [except
112 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
114 * char-ucs.h (breakup_char_1): Use
115 `Vdefault_coded_charset_priority_list' for C0-Controls,
116 Basic-Latin, C1-Controls and Latin-1-Supplement area.
118 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
120 * char-ucs.h (charset_get_byte1): New function.
121 (XCHARSET_GET_BYTE1): Deleted.
122 (charset_get_byte2): New function.
123 (XCHARSET_GET_BYTE2): Deleted.
124 (Vdefault_coded_charset_priority_list): New external variable.
125 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
126 `Vdefault_preferred_coded_charset_list'.
128 * mule-charset.c (charset_get_byte1): New function.
129 (charset_get_byte2): New function.
130 (Vdefault_coded_charset_priority_list): New variable.
131 (vars_of_mule_charset): Add new variable
132 `default-coded-charset-priority-list'.
134 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
136 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
137 (XCHARSET_GET_BYTE2): New inline function.
138 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
139 `XCHARSET_GET_BYTE2'.
141 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
143 * mule-charset.c (make_charset): Initialize
144 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
145 NULL if table is not defined.
147 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
149 * text-coding.c (char_encode_shift_jis): Use
150 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
151 `ucs_to_latin_jisx0201'.
153 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
154 (ucs_to_latin_iso8859_2): Deleted.
155 (ucs_to_latin_iso8859_3): Deleted.
156 (ucs_to_latin_iso8859_4): Deleted.
157 (ucs_to_latin_iso8859_9): Deleted.
158 (ucs_to_latin_viscii_lower): Deleted.
159 (ucs_to_latin_viscii_upper): Deleted.
160 (ucs_to_latin_tcvn5712): Deleted.
161 (make_charset): Add new argument `decoding_table'; set up
162 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
163 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
164 `decoding_table' is defined in UTF-2000.
165 (Fmake_charset): Modify for `make_charset'.
166 (Fmake_reverse_direction_charset): Likewise.
167 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
168 and `GENERATE_96_SET'.
170 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
171 (ucs_to_latin_jisx0201): Deleted.
172 (latin_iso8859_2_to_ucs): Deleted.
173 (ucs_to_latin_iso8859_2): Deleted.
174 (latin_iso8859_3_to_ucs): Deleted.
175 (ucs_to_latin_iso8859_3): Deleted.
176 (latin_iso8859_4_to_ucs): Deleted.
177 (ucs_to_latin_iso8859_4): Deleted.
178 (latin_iso8859_9_to_ucs): Deleted.
179 (ucs_to_latin_iso8859_9): Deleted.
180 (latin_viscii_lower_to_ucs): Deleted.
181 (ucs_to_latin_viscii_lower): Deleted.
182 (latin_viscii_upper_to_ucs): Deleted.
183 (ucs_to_latin_viscii_upper): Deleted.
184 (struct Lisp_Charset): Renamed `encoding_table' to
185 `to_byte1_table'; add `to_byte2_table'.
186 (CHARSET_DECODING_TABLE): New macro.
187 (CHARSET_TO_BYTE1_TABLE): New macro.
188 (CHARSET_TO_BYTE2_TABLE): New macro.
189 (XCHARSET_DECODING_TABLE): New macro.
190 (XCHARSET_TO_BYTE1_TABLE): New macro.
191 (XCHARSET_TO_BYTE2_TABLE): New macro.
192 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
194 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
195 don't use `ucs_to_*' tables.
197 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
199 * text-coding.c (Fmake_coding_system): Don't set up
200 `codesys->fixed.size'.
201 (encode_coding_no_conversion): Use `if' instead of `switch'.
203 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
205 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
207 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
208 (Fmake_charset): Modify for `make_charset'.
209 (Fmake_reverse_direction_charset): Likewise.
210 (complex_vars_of_mule_charset): Likewise.
212 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
214 * text-coding.c (char_encode_shift_jis): Use table
215 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
217 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
219 * text-coding.c (text_encode_generic): Use `if' instead of
221 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
224 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
226 * text-coding.c (encode_coding_sjis): Deleted.
227 (char_encode_shift_jis): New function.
228 (char_finish_shift_jis): New function.
229 (reset_encoding_stream): Set up `encode_char' and `finish' for
230 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
231 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
232 (char_encode_utf8): Treat `eol_type'.
234 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
236 * file-coding.c (decode_coding_iso2022): Use
237 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
239 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
241 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
244 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
246 * char-lb.h (CHAR_COLUMNS): New macro.
248 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
250 * text-coding.c (char_encode_ucs4): New function.
251 (char_finish_ucs4): New function.
252 (encode_coding_ucs4): Deleted.
253 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
254 (text_encode_generic): Delete local variable `charset' and `half'.
255 (ucs_to_mule_table): Deleted.
256 (mule_to_ucs_table): Deleted.
257 (Fset_ucs_char): Deleted.
258 (ucs_to_char): Deleted.
259 (Fucs_char): Deleted.
260 (Fset_char_ucs): Deleted.
261 (Fchar_ucs): Deleted.
262 (decode_ucs4): Deleted.
263 (mule_char_to_ucs4): Deleted.
264 (encode_ucs4): Deleted.
265 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
266 (decode_coding_utf8): Likewise.
267 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
268 (char_encode_iso2022): Fixed.
269 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
270 `Fset_char_ucs' and `Fchar_ucs'.
271 (complex_vars_of_file_coding): Don't initialize
274 * objects-tty.c (tty_initialize_font_instance): Don't use
277 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
280 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
281 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
283 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
284 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
285 (emchar_string_displayed_columns): Likewise.
287 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
288 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
289 (string_column_at_point): Likewise.
290 (Fmove_to_column): Likewise.
292 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
293 `encoding_table' and `decoding_table'.
294 (CHARSET_REP_BYTES): Deleted.
295 (XCHARSET_REP_BYTES): Deleted.
296 (XCHARSET_COLUMNS): Deleted.
297 (CHAR_COLUMNS): New macro.
298 (lookup_composite_char): Deleted unconditionally.
299 (composite_char_string): Likewise.
301 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
303 * char-ucs.h (Emchar_to_byte_table): New type.
304 (get_byte_from_character_table): New function interface.
305 (Vcharset_latin_jisx0201): New variable.
306 (latin_jisx0201_to_ucs): New variable.
307 (ucs_to_latin_jisx0201): New variable.
308 (Vcharset_latin_iso8859_2): New variable.
309 (latin_iso8859_2_to_ucs): New variable.
310 (ucs_to_latin_iso8859_2): New variable.
311 (Vcharset_latin_iso8859_3): New variable.
312 (latin_iso8859_3_to_ucs): New variable.
313 (ucs_to_latin_iso8859_3): New variable.
314 (Vcharset_latin_iso8859_4): New variable.
315 (latin_iso8859_4_to_ucs): New variable.
316 (ucs_to_latin_iso8859_4): New variable.
317 (Vcharset_latin_iso8859_9): New variable.
318 (latin_iso8859_9_to_ucs): New variable.
319 (ucs_to_latin_iso8859_9): New variable.
320 (Vcharset_latin_viscii_lower): New variable.
321 (latin_viscii_lower_to_ucs): New variable.
322 (ucs_to_latin_viscii_lower): New variable.
323 (Vcharset_latin_viscii_upper): New variable.
324 (latin_viscii_upper_to_ucs): New variable.
325 (ucs_to_latin_viscii_upper): New variable.
326 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
327 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
328 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
329 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
330 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
331 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
332 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
333 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
334 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
335 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
337 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
338 (Vcharset_latin_viscii_upper): New variable.
339 (make_byte_from_character_table): New function.
340 (put_byte_from_character_table): New function.
341 (get_byte_from_character_table): New function.
343 (ucs_to_latin_jisx0201): New variable.
344 (latin_jisx0201_to_ucs): New variable.
345 (ucs_to_latin_iso8859_2): New variable.
346 (latin_iso8859_2_to_ucs): New variable.
347 (ucs_to_latin_iso8859_3): New variable.
348 (latin_iso8859_3_to_ucs): New variable.
349 (ucs_to_latin_iso8859_4): New variable.
350 (latin_iso8859_4_to_ucs): New variable.
351 (ucs_to_latin_iso8859_9): New variable.
352 (latin_iso8859_9_to_ucs): New variable.
353 (ucs_to_latin_viscii_lower): New variable.
354 (latin_viscii_lower_to_ucs): New variable.
355 (ucs_to_latin_viscii_upper): New variable.
356 (latin_viscii_upper_to_ucs): New variable.
357 (ucs_to_latin_tcvn5712): New variable.
358 (latin_tcvn5712_to_ucs): New variable.
359 (Qlatin_viscii_lower): New variable.
360 (Qlatin_viscii_upper): New variable.
361 (syms_of_mule_charset): Set up new symbol
362 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
363 (complex_vars_of_mule_charset): Set up new charset
364 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
365 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
366 `ucs_to_<CHARSET>' tables.
368 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
370 * text-coding.c: New file.
372 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
374 * mule-charset.c (Fmake_char): Fix problem of 256-set.
376 * char-ucs.h (Vcharset_ucs_bmp): New variable.
377 (MAKE_CHAR): Modify for `ucs-bmp'.
378 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
379 non-MULE characters of BMP.
381 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
383 * mule-charset.c (vars_of_mule_charset):
384 Update `utf-2000-version' to 0.6.
386 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
389 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
390 - Include character.h for `CHAR_ASCII_P'.
392 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
394 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
395 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
397 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
398 (BYTE_C0_P): Likewise.
399 (BYTE_C1_P): Likewise.
400 (Lstream_get_emchar_1): Likewise.
401 (Lstream_fput_emchar): Likewise.
402 (Lstream_funget_emchar): Likewise.
403 (copy_internal_to_external): Likewise.
404 (copy_external_to_internal): Likewise.
406 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
407 (BYTE_C0_P): Likewise.
408 (BYTE_C1_P): Likewise.
409 (Lstream_get_emchar_1): Likewise.
410 (Lstream_fput_emchar): Likewise.
411 (Lstream_funget_emchar): Likewise.
412 (copy_internal_to_external): Likewise.
413 (copy_external_to_internal): Likewise.
415 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
416 (REP_BYTES_BY_FIRST_BYTE): Likewise.
418 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
419 (BYTE_ASCII_P): Moved to mb-1byte.h.
421 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
423 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
425 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
426 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
427 (VALID_CHARPTR_P): Moved to mb-*byte.h.
428 (VALIDATE_CHARPTR_BACKWARD): Likewise.
429 (VALIDATE_CHARPTR_FORWARD): Likewise.
430 (simple_charptr_emchar): Moved to mb-multibyte.h.
431 (simple_set_charptr_emchar): Likewise.
432 (simple_charptr_copy_char): Likewise.
433 (non_ascii_charptr_emchar): Likewise.
434 (non_ascii_set_charptr_emchar): Likewise.
435 (non_ascii_charptr_copy_char): Likewise.
436 (charptr_emchar): Moved to mb-*byte.h.
437 (set_charptr_emchar): Likewise.
438 (charptr_copy_char): Likewise.
440 * mb-1byte.h, mb-multibyte.h: New files.
442 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
444 * mb-utf-8.h (MULTIBYTE): New macro.
445 (MAX_EMCHAR_LEN): Moved from buffer.h.
446 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
448 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
450 * mb-lb.h, multibyte.h: New files.
452 * char-1byte.h (Charset_ID): Moved from buffer.h.
453 (MIN_LEADING_BYTE): Likewise.
454 (LEADING_BYTE_ASCII): Likewise.
455 (NUM_LEADING_BYTES): Likewise.
456 (CHARSETP): Likewise.
457 (CHARSET_BY_LEADING_BYTE): Likewise.
458 (XCHARSET_LEADING_BYTE): Likewise.
459 (XCHARSET_GRAPHIC): Likewise.
460 (XCHARSET_COLUMNS): Likewise.
461 (XCHARSET_DIMENSION): Likewise.
462 (CHAR_CHARSET): Likewise.
463 (CHAR_LEADING_BYTE): Likewise.
464 (BREAKUP_CHAR): Likewise.
465 (Vcharset_ascii): Likewise.
467 * buffer.h: Include multibyte.h unconditionally.
468 (VALID_CHARPTR_P): Moved to multibyte.h.
469 (ASSERT_VALID_CHARPTR): Likewise.
470 (REAL_INC_CHARPTR): Likewise.
471 (REAL_INC_CHARBYTIND): Likewise.
472 (REAL_DEC_CHARPTR): Likewise.
473 (INC_CHARPTR): Likewise.
474 (INC_CHARBYTIND): Likewise.
475 (DEC_CHARPTR): Likewise.
476 (VALIDATE_CHARPTR_BACKWARD): Likewise.
477 (VALIDATE_CHARPTR_FORWARD): Likewise.
478 (charptr_n_addr): Likewise.
479 (MAX_EMCHAR_LEN): Moved to mb-*.h.
480 (simple_charptr_emchar): Moved to multibyte.h.
481 (simple_set_charptr_emchar): Likewise.
482 (simple_charptr_copy_char): Likewise.
483 (non_ascii_charptr_emchar): Likewise.
484 (non_ascii_set_charptr_emchar): Likewise.
485 (non_ascii_charptr_copy_char): Likewise.
486 (charptr_emchar): Likewise.
487 (set_charptr_emchar): Likewise.
488 (charptr_copy_char): Likewise.
489 (charptr_emchar_n): Likewise.
490 (Charset_ID): Moved to char-1byte.h.
491 (Vcharset_ascii): Likewise.
492 (CHAR_CHARSET): Likewise.
493 (CHAR_LEADING_BYTE): Likewise.
494 (LEADING_BYTE_ASCII): Likewise.
495 (NUM_LEADING_BYTES): Likewise.
496 (MIN_LEADING_BYTE): Likewise.
497 (CHARSETP): Likewise.
498 (CHARSET_BY_LEADING_BYTE): Likewise.
499 (XCHARSET_LEADING_BYTE): Likewise.
500 (XCHARSET_GRAPHIC): Likewise.
501 (XCHARSET_COLUMNS): Likewise.
502 (XCHARSET_DIMENSION): Likewise.
503 (BREAKUP_CHAR): Likewise.
505 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
507 * character.h: Add document about interface for characters.
509 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
510 (MAKE_CHAR): Delete comment about
511 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
512 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
513 (BREAKUP_CHAR): Modify name of arguments.
514 (CHAR_CHARSET): Modify name of argument.
516 * buffer.h: Delete document about Emchar accessors.
518 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
520 * character.h (CHAR_INTP): Moved from buffer.h
521 (CHAR_OR_CHAR_INTP): Likewise.
522 (XCHAR_OR_CHAR_INT): Likewise.
523 (CHECK_CHAR_COERCE_INT): Likewise.
525 * buffer.h (CHAR_INTP): Moved to character.h
526 (CHAR_OR_CHAR_INTP): Likewise.
527 (XCHAR_OR_CHAR_INT): Likewise.
528 (CHECK_CHAR_COERCE_INT): Likewise.
530 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
533 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
534 - Include char-1byte.h, char-lb.h or char-ucs.h.
536 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
538 * buffer.h: Include character unconditionally.
539 (valid_char_p): Moved to char-*.h.
540 (non_ascii_valid_char_p): Moved to char-lb.h.
542 * char-1byte.h, char-lb.h, char-ucs.h: New files.
544 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
546 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
547 in UTF-2000 because it is not ported yet and not to use
548 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
549 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
550 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
552 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
553 (CHAR_ASCII_P): Moved from character.h.
555 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
556 (CHAR_ASCII_P): Likewise.
557 (CHAR_FIELD1_MASK): Deleted.
558 (CHAR_FIELD2_MASK): Deleted.
559 (CHAR_FIELD3_MASK): Deleted.
560 (MAX_CHAR_BASIC_LATIN): New macro.
561 (CHAR_FIELD1): Deleted.
562 (CHAR_FIELD2_INTERNAL): Deleted.
563 (CHAR_FIELD3_INTERNAL): Deleted.
564 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
565 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
566 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
567 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
568 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
569 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
570 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
571 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
572 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
573 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
574 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
575 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
576 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
577 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
578 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
579 (MIN_CHAR_COMPOSITION): Deleted.
580 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
581 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
583 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
585 * buffer.h: Include mb-utf-8.h in UTF-2000.
587 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
589 * mb-utf-8.h: New file.
591 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
593 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
596 * mule-charset.h, buffer.h (Charset_ID): New type.
598 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
600 * mule-canna.c (c2mu): Use `MAKE_CHAR',
601 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
602 instead of `MULE_CHAR_PRIVATE_OFFSET',
603 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
604 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
605 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
607 * character.h (Vcharset_japanese_jisx0212): New variable
610 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
612 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
613 (charset_by_attributes): Delete array about direction.
614 (latin_a_char_to_charset): New variable in UTF-2000.
615 (latin_a_char_to_byte1): New variable in UTF-2000.
616 (latin_a_char_to_byte2): New variable in UTF-2000.
617 (Qucs_bmp): New variable.
618 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
620 (next_allocated_2_byte_leading_byte): Likewise.
621 (non_ascii_set_charptr_emchar): Likewise.
622 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
623 `CHARSET_TYPE_256X256' in UTF-2000; modify for
624 `charset_by_attributes'.
625 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
626 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
627 and `CHARSET_BY_LEADING_BYTE'.
628 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
629 `utf-2000-version' to `vars_of_mule_charset'.
630 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
631 define `leading-code-private-11' in UTF-2000; move setting of
632 `utf-2000-version' from `syms_of_mule_charset'.
633 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
636 * character.h (Charset_ID): New type.
637 (LEADING_BYTE_UCS_BMP): New macro.
638 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
639 (CHARSET_ID_OFFSET_94): New macro.
640 (MIN_CHARSET_ID_PRIVATE_94): New macro.
641 (MAX_CHARSET_ID_PRIVATE_94): New macro.
642 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
644 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
645 (LEADING_BYTE_LATIN_JISX0201): Likewise.
646 (CHARSET_ID_OFFSET_96): New macro.
647 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
648 CHARSET_ID_OFFSET_96 and final-byte.
649 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
650 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
651 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
652 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
653 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
654 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
655 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
656 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
657 (LEADING_BYTE_THAI_TIS620): Likewise.
658 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
659 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
660 (CHARSET_ID_OFFSET_94x94): New macro.
661 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
662 CHARSET_ID_OFFSET_94x94 and final-byte.
663 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
664 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
665 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
666 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
667 (LEADING_BYTE_CHINESE_GB2312): Likewise.
668 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
669 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
670 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
671 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
672 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
673 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
674 (CHARSET_TYPE_128X128): New macro.
675 (CHARSET_TYPE_256X256): New macro.
676 (XCHARSET_PRIVATE_P): Delete unconditionally.
677 (charset_by_attributes): Delete array about direction.
678 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
679 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
680 (MIN_CHAR_94): New macro.
681 (MAX_CHAR_94): New macro.
682 (MIN_CHAR_96): New macro.
683 (MAX_CHAR_96): New macro.
684 (MIN_CHAR_94x94): New macro.
685 (MAX_CHAR_94x94): New macro.
686 (MIN_CHAR_96x96): New macro.
687 (MAX_CHAR_96x96): New macro.
688 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
689 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
690 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
692 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
693 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
694 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
695 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
696 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
697 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
698 `XCHARSET_LEADING_BYTE' to make code-point.
699 (latin_a_char_to_charset): New variable.
700 (latin_a_char_to_byte1): New variable.
701 (latin_a_char_to_byte2): New variable.
702 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
703 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
704 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
706 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
707 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
708 (find_charsets_in_emchar_string): Likewise.
709 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
711 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
713 (decode_coding_iso2022): Likewise.
715 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
718 * redisplay.c (redisplay_text_width_emchar_string): Use
719 `Charset_ID' instead of `unsigned char'.
720 (redisplay_frame_text_width_string): Likewise.
722 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
725 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
726 instead of `unsigned char'.
727 (face_cachel_charset_font_metric_info): Likewise.
729 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
730 (get_non_ascii_char_table_value): Likewise.
731 (get_char_table): Likewise.
732 (put_char_table): Likewise.
733 (map_over_other_charset): Likewise.
734 (map_char_table): Likewise.
736 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
737 instead of `unsigned char'.
739 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
741 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
742 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
744 * mule-charset.c (leading_code_private_11): Don't define in
747 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
748 in UTF-2000 because it is not ported yet and not to use
749 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
751 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
753 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
755 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
757 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
760 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
761 of unsigned char to store leading-byte.
763 * chartab.c (get_non_ascii_char_table_value): Don't use
764 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
766 * file-coding.c (encode_coding_big5): Delete bogus implementation
769 * character.h (LEADING_BYTE_*): Delete definition for
771 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
772 (LEADING_BYTE_PREFIX_P): Deleted.
773 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
774 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
775 (BUFBYTE_LEADING_BYTE_P): Deleted.
776 (CHARSET_PRIVATE_P): Deleted unconditionally.
777 (rep_bytes_by_first_byte): Deleted unconditionally.
778 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
779 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
780 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
781 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
782 (CHAR_FIELD2): Deleted.
783 (CHAR_FIELD3): Deleted.
784 (MAKE_CHAR): Delete definition for non-UTF-2000.
785 (BREAKUP_CHAR_1_UNSAFE): Deleted.
786 (breakup_char_1): New implementation.
787 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
788 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
790 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
792 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
795 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
797 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
798 (CHARSET_PRIVATE_P): Likewise.
799 (XCHARSET_PRIVATE_P): Likewise.
800 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
802 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
804 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
806 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
808 * character.h (LEADING_BYTE_*): Changed in UTF2000.
809 (NUM_LEADING_BYTES): Changed from 128 to 256.
810 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
811 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
813 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
815 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
817 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
818 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
819 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
820 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
821 (Qchinese_cns11643_3): New variable in UTF2000.
822 (Qchinese_cns11643_4): New variable in UTF2000.
823 (Qchinese_cns11643_5): New variable in UTF2000.
824 (Qchinese_cns11643_6): New variable in UTF2000.
825 (Qchinese_cns11643_7): New variable in UTF2000.
826 (syms_of_mule_charset): Define `chinese-cns11643-3',
827 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
828 and `chinese-cns11643-7' in UTF2000.
829 (vars_of_mule_charset): Initialize
830 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
832 (complex_vars_of_mule_charset): Setup charset
833 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
834 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
836 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
838 * mule-charset.c: Move setting for `leading-code-private-11' from
839 `syms_of_mule_charset' to `vars_of_mule_charset'.
841 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
843 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
844 and `NUM_LEADING_BYTES' in assert.
846 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
848 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
850 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
851 `NUM_LEADING_BYTES' instead of 128.
853 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
855 * mule-charset.h (charset_by_leading_byte): Use
856 `NUM_LEADING_BYTES' instead of 128.
857 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
859 * mule-charset.c (charset_by_leading_byte): Use
860 `NUM_LEADING_BYTES' instead of 128.
861 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
863 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
866 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
868 * mule-charset.c (syms_of_mule_charset): Update to
871 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
873 * file-coding.c (encode_coding_sjis): New implementation for
874 UTF2000. (decode_coding_sjis): Ditto.
876 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
878 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
879 Don't define in UTF2000.
881 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
884 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
885 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
888 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
890 * config.h.in (CHAR_IS_UCS4): New macro.
892 * mule-charset.c (rep_bytes_by_first_byte): Modify for
893 conventional MULE representation.
894 (syms_of_mule_charset): Update to 0.3 (Imamiya).
896 * mule-charset.h: Reverted to original.
898 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
899 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
900 "mule-charset.h" if CHAR_IS_UCS4 is defined.
902 * character.h: New file.
904 * file-coding.c (Fmake_coding_system): Set 1 to
905 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
907 (encode_coding_no_conversion): New implementation for UTF2000.
909 * file-coding.h (struct Lisp_Coding_System): Add new member
912 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
914 * file-coding.c (decode_coding_iso2022): Code-point arguments of
915 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
916 (encode_coding_iso2022): New implementation for UTF2000.
918 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
920 * mule-canna.c (c2mu): New implementation for UTF2000.
923 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
925 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
927 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
929 * file-coding.c (reset_encoding_stream): Set 0 to
930 `str->iso2022.current_char_boundary' in UTF2000.
931 (encode_utf8): Don't define in UTF2000.
932 (encode_coding_utf8): New implementation for UTF-8 representation
934 (complex_vars_of_file_coding): Define coding-system `utf-8'.
936 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
938 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
940 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
942 (REP_BYTES_BY_FIRST_BYTE): Likewise.
944 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
946 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
947 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
949 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
950 (non_ascii_valid_char_p): Don't define in UTF2000.
951 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
952 (Lstream_get_emchar_1): Likewise.
953 (utf-2000-version): New variable in UTF2000.
955 * lread.c (read_escape): Add new reader `u'.
957 * insdel.c (three_to_one_table): Don't define in UTF2000.
958 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
959 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
961 (bytind_to_bufpos_func): Likewise.
962 (buffer_mule_signal_inserted_region): Likewise.
963 (vars_of_insdel): Don't initialize `three_to_one_table'.
964 (init_buffer_text): Use `buf->text->mule_size' instead of
965 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
968 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
969 UTF-8 representation in UTF2000.
970 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
971 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
972 (decode_coding_iso2022): Don't define local variable `lb' in
973 UTF2000; don't use LEADING_BYTE in UTF2000; use
974 `DECODE_ADD_UCS_CHAR' in UTF2000.
975 (convert_to_external_format): Decode as UTF-8 in UTF2000.
977 * config.h.in (UTF2000): New macro.
979 * buffer.h (struct buffer_text): Add new member `mule_size' and
980 don't add `mule_shifter' and `mule_three_p' in UTF2000.
981 (valid_char_p): Return always 1 in UTF2000.
982 (MAX_EMCHAR_LEN): 6 in UTF2000.
983 (three_to_one_table): Don't define in UTF2000.
984 (real_bufpos_to_bytind): Modify for UTF-8 representation in
986 (real_bytind_to_bufpos): Likewise.
988 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
990 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
992 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
993 representation change.
994 (Vutf_2000_version): New variable.
995 (leading_code_private_11): New variable.
996 (syms_of_mule_charset): Add new variables `utf-2000-version' and
997 `leading-code-private-11'.
999 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1000 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1001 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1002 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1003 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1004 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1005 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1006 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1007 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1008 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1009 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1010 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1011 (MIN_CHAR_GREEK): New macro.
1012 (MAX_CHAR_GREEK): New macro.
1013 (MIN_CHAR_CYRILLIC): New macro.
1014 (MAX_CHAR_CYRILLIC): New macro.
1015 (MIN_CHAR_HEBREW): New macro.
1016 (MAX_CHAR_HEBREW): New macro.
1017 (MIN_CHAR_THAI): New macro.
1018 (MAX_CHAR_THAI): New macro.
1019 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1020 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1021 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1022 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1023 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1024 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1025 (CHAR_FIELD2): New inline function.
1026 (CHAR_FIELD3): New inline function.
1027 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1028 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1029 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1030 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1031 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1032 (MIN_CHAR_COMPOSITION): Likewise.
1033 (CHAR_LEADING_BYTE): Modified for character representation change.
1034 (MAKE_CHAR): Likewise.
1036 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1037 (Vcharset_greek_iso8859_7): Likewise.
1038 (Vcharset_cyrillic_iso8859_5): Likewise.
1039 (Vcharset_hebrew_iso8859_8): Likewise.
1040 (Vcharset_thai_tis620): Likewise.
1041 (Vcharset_katakana_jisx0201): Likewise.
1043 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1045 * file-coding.c (determine_real_coding_system): Treat `coding:'
1048 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1050 * file-coding.c (struct decoding_stream): New member `counter'.
1051 (reset_decoding_stream): Initialize `counter'.
1052 (decode_coding_ucs4): Use `counter'.
1053 (decode_coding_utf8): Likewise.
1055 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1057 * XEmacs 21.2.19 is released
1059 1999-07-27 Jeff Miller <jmiller@smart.net>
1061 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1062 menubar_show_keybindings.
1064 1999-07-23 SL Baur <steve@miho>
1066 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1067 definition of Qccl_program.
1069 * mule-ccl.h: Make a global declaration of it here.
1071 1999-07-20 Bob Weiner <weiner@beopen.com>
1073 * s/sco7.h: Added from rr@sco.com.
1075 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1077 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1079 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1081 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1082 (mule_encode): Likewise.
1084 * mule-ccl.c (Qccl_program): New variable.
1085 (CCL_SUSPEND): New macro.
1086 (CCL_INVALID_CMD): New macro.
1087 (CCL_READ_CHAR): Don't regard as invalid command while processing
1088 the last block even if input is empty; use
1089 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1090 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1092 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1093 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1094 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1095 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1096 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1098 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1100 * mule-ccl.h (struct ccl_program): New member stack_idx.
1102 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1103 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1105 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1107 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1109 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1112 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1114 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1115 processing the last block, don't just finish but processes eol
1116 block of the current CCL program.
1117 (ccl_driver): Add a new jump label ccl_repeat for the above
1120 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1122 * mule-ccl.c: Typo in comments fixed.
1123 (Qccl_program_idx): New variables.
1124 (CCL_ReadMultibyteChar2): Macro name changed from
1125 CCL_ReadMultibyteCharacter.
1126 (CCL_WriteMultibyteChar2): Macro name changed from
1127 CCL_WriteMultibyteChar2.
1128 (ccl_driver): Adjusted for the above changes.
1129 (resolve_symbol_ccl_program): New function.
1130 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1131 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1132 numbers by resolve_symbol_ccl_program.
1133 (Fccl_execute_on_string): Likewise.
1134 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1135 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1137 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1139 * mule-ccl.h: (struct ccl_program): New member private_state.
1142 (CCL_Call): Fix the comment.
1143 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1144 macros for CCL Commands.
1146 (ccl_driver): New case lable `CCL_Extention'.
1147 (setup_ccl_program): Initialize the member `private_state' of CCL.
1149 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1151 * keymap.c (copy_keymap_internal): Inherit the default binding.
1153 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1155 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1156 focus the event (XIM_focus_event).
1157 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1158 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1159 the interface for future use (XIM_SetGeometry).
1160 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1161 location (XIM_SetSpotLocation).
1162 (x_output_eol_cursor): Ditto.
1164 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1166 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1167 Olivier's change to lrecord.h of 1999-04-22
1169 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1171 * gutter.c (redraw_exposed_gutter): Change type of pos from
1172 enum toolbar_pos -> enum gutter_pos, since former is only defined
1173 if toolbar support is.
1175 1999-07-19 Andy Piper <andy@xemacs.org>
1177 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1180 * gutter.c (gutter_validate): new function for the gutter specifier.
1181 (specifier_type_create_gutter): declare specifier validator.
1183 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1185 1999-07-18 Andy Piper <andy@xemacs.org>
1187 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1189 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1191 (mswindows_resize_subwindow): new function.
1193 * gutter.c (redraw_exposed_gutter): only reset the
1194 current_display_lines if non-zero.
1195 (Fgutter_pixel_height): new function.
1196 (Fgutter_pixel_width): new function.
1198 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1199 we want to retrive from the tab control.
1201 1999-07-17 Andy Piper <andy@xemacs.org>
1203 * window.c (change_window_height): mark gutters changed when we're
1206 * gutter.c (specifier_vars_of_gutter): make defaults more
1209 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1211 (DEFAULT_GUTTER_WIDTH): change.
1212 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1214 1999-07-18 Andy Piper <andy@xemacs.org>
1216 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1218 1999-07-16 Andy Piper <andy@xemacs.org>
1220 * frame.c (Fmake_frame): call init_frame_gutters().
1222 * redisplay.c (add_emchar_rune): use string functions if we are
1223 working with a string.
1224 (position_redisplay_data_type): add string element.
1226 1999-07-15 Andy Piper <andy@xemacs.org>
1228 * winslots.h: add real_gutter_size slots to hold the actual gutter
1229 size. This is important for autodetected sizes.
1231 * gutter.c (calculate_gutter_size): calculate size for gutters
1232 that have 'autodetect size.
1234 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1235 extent of divider for gutters.
1237 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1238 divider for gutters.
1240 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1241 position to take into account the gutters.
1243 * redisplay.c (generate_modeline): adjust modeline position to
1244 take into account the gutters.
1246 1999-07-14 Andy Piper <andy@xemacs.org>
1248 * gutter.c (frame_topmost_window): new function.
1249 (frame_bottommost_window): ditto.
1250 (frame_leftmost_window): ditto.
1251 (frame_rightmost_window): ditto.
1253 1999-07-13 Andy Piper <andy@xemacs.org>
1255 * redisplay.c (calculate_display_line_boundaries): use text
1256 boundaries so that gutters get handled properly.
1258 1999-07-12 Andy Piper <andy@xemacs.org>
1260 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1263 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1266 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1269 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1271 * gutter.c: new file - implements gutters. All new functions are
1272 semantically equivalent to the toolbar functions.
1273 (gutter_was_visible): new function.
1274 (get_gutter_coords): ditto.
1275 (output_gutter): ditto.
1276 (clear_gutter): ditto.
1277 (update_frame_gutters): ditto.
1278 (redraw_exposed_gutter): ditto.
1279 (redraw_exposed_gutters): ditto.
1280 (free_frame_gutters): ditto.
1281 (init_frame_gutters): ditto.
1282 (decode_gutter_position): ditto.
1283 (Fset_default_gutter_position): ditto.
1284 (Fset_default_gutter_position): ditto.
1285 (Fdefault_gutter_position): ditto.
1286 (gutter_after_change): ditto.
1287 (Fgutter_specifier_p): ditto.
1288 (recompute_overlaying_specifier): ditto.
1289 (gutter_specs_changed): ditto.
1290 (default_gutter_specs_changed): ditto.
1291 (gutter_geometry_changed_in_window): ditto.
1292 (default_gutter_size_changed_in_window): ditto.
1293 (default_gutter_border_width_changed_in_window): ditto.
1294 (default_gutter_visible_p_changed_in_window): ditto.
1295 (syms_of_gutter): ditto.
1296 (vars_of_gutter): ditto.
1297 (specifier_type_create_gutter): ditto.
1298 (specifier_vars_of_gutter): ditto.
1300 * gutter.h: new file. Contains gutter constants and sizing macros
1301 similar to those for the toolbar.
1303 * winslots.h: add gutter variables.
1305 * window.h: declare window_is_* functions.
1307 * window.c (window_is_lowest): make non-static.
1308 (window_is_highest): ditto.
1309 (window_top_toolbar_height): deleted.
1310 (window_bottom_toolbar_height): deleted.
1311 (window_left_toolbar_width): deleted.
1312 (window_right_toolbar_width): deleted.
1313 (window_top_gutter_height): add gutter sizing.
1314 (window_bottom_gutter_height): ditto.
1315 (window_left_gutter_width): ditto.
1316 (window_right_gutter_width): ditto.
1318 * symsinit.h: declarations for gutters vars etc.
1320 * search.c (bi_find_next_emchar_in_string): new function.
1322 * scrollbar.c (update_scrollbar_instance): remove reference to
1323 window_bottom_toolbar_height which did nothing.
1325 * redisplay.h (struct display_line): add face indices for
1326 overriding defaults in output_display_line.
1327 Add gutter_changed flags and declarations.
1329 * redisplay.c (create_string_text_block): new function, similar to
1330 create_text_block but for strings. Display tables etc are used
1331 from the currently selected window.
1332 (generate_string_display_line): ditto. Similar to
1333 generate_display_line.
1334 (generate_displayable_area): generate display lines for a given
1335 area on a frame. Input is the string, with associated extents, to
1337 (redisplay_frame): add gutter_changed check.
1338 (redisplay_device): ditto.
1339 (redisplay_without_hooks): ditto.
1341 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1342 (x_redraw_exposed_area): redraw exposed gutters.
1343 (x_bevel_area): new redisplay device method.
1344 (x_type_create_redisplay_mswindows): add bevel_area device method.
1345 (x_output_display_block): fiddly Martin-style cleanup.
1346 (x_output_vertical_divider): use bevel_area.
1348 * redisplay-output.c (output_display_line): check display_lines
1349 for face information before using defaults.
1350 (bevel_modeline): new function, calls bevel_area with appropriate
1353 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1354 (mswindows_redraw_exposed_area): redraw exposed gutters.
1355 (mswindows_bevel_area): new redisplay device method.
1356 (console_type_create_redisplay_mswindows): add bevel_area device
1359 * indent.c (string_column_at_point): add column_at_point but for
1362 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1363 instantiate widgets that we have a toolkit for.
1365 * general.c: add Qgutter.
1367 * frame.h (struct frame): add display lines for gutters and
1370 * frame.c (set_frame_selected_window): mark gutters changed.
1372 * emacs.c (main_1): add gutter initialisation.
1374 * device.h (struct device): add gutter_changed flag and macros to
1377 * console.h (struct console_methods): new bevel area redisplay
1380 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1381 REAL_INC_BYTIND is for buffers.
1382 (INC_CHARPTR): ditto.
1384 * Makefile.in.in (objs): add gutter.o
1386 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1388 * XEmacs 21.2.18 is released
1390 1999-07-08 SL Baur <steve@mule.m17n.org>
1392 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1394 (emacs_Xt_handle_magic_event): Ditto.
1395 * redisplay-x.c (x_output_string): Ditto.
1396 (x_output_eol_cursor): Ditto.
1398 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1400 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1401 problem that when XIM is destroyed or missed with some reason,
1402 xemacs will die. Now xim=xlib waits the XIM will be ready and
1403 endures the case of XIM end up.
1405 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1407 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1408 SIGINT and SIGCHLD before calling tt_open and restore the
1409 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1411 1999-07-06 SL Baur <steve@xemacs.org>
1413 * s/linux.h: gcc-2.8 changes for powerpc
1414 From Justin Vallon <vallon@mindspring.com>
1416 1999-07-05 Didier Verna <verna@inf.enst.fr>
1418 * indent.c: new symbol Qcoerce.
1419 (Fmove_to_column): use it + doc string update.
1421 1999-07-04 Andy Piper <andy@xemacs.org>
1423 * console.c: undo earlier Fprovide changes.
1427 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1428 function. validate appropriate image formats for tty.
1430 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1431 initialize consoles parameter.
1432 (struct image_instantiator_methods): add consoles parameter.
1433 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1435 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1438 * glyphs-msw.c: declare instantiators for later use.
1439 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1440 and friends on the mswindows console.
1441 * glyphs-x.c: ditto.
1443 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1444 that have not been registered on the supplied device.
1445 (Fvalid_image_instantiator_format_p): add locale argument.
1446 (instantiate_image_instantiator): valid image instantiator on the
1449 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1452 * emacs.c (main_1): add call to
1453 image_instantiator_format_create_glyphs_tty().
1455 1999-06-29 Olivier Galibert <galibert@pobox.com>
1457 * lisp.h: Add #include <stddef.h>.
1459 * sysdep.c: Remove #include <stddef.h>.
1460 * symbols.c: Remove #include <stddef.h>.
1461 * sheap.c: Remove #include <stddef.h>.
1462 * opaque.c: Remove #include <stddef.h>.
1463 * nt.c: Remove #include <stddef.h>.
1464 * mule-charset.c: Remove #include <stddef.h>.
1465 * marker.c: Remove #include <stddef.h>.
1466 * file-coding.c: Remove #include <stddef.h>.
1467 * extents.c: Remove #include <stddef.h>.
1468 * elhash.c: Remove #include <stddef.h>.
1469 * data.c: Remove #include <stddef.h>.
1470 * chartab.c: Remove #include <stddef.h>.
1471 * bytecode.c: Remove #include <stddef.h>.
1472 * alloc.c: Remove #include <stddef.h>. Fix vector description
1474 1999-06-30 SL Baur <steve@miho.m17n.org>
1476 * editfns.c: Document "%s" format spec.
1477 Suggested by Bob Weiner <weiner@altrasoft.com>
1479 1999-06-29 Andy Piper <andy@xemacs.org>
1481 * event-msw.c: fix definition booboo.
1483 1999-06-28 Andy Piper <andy@xemacs.org>
1485 * glyphs-x.c: change tree -> tree-view, progress ->
1486 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1488 (complex_vars_of_glyphs_x): provide-on-console the implemented
1491 * glyphs-msw.c: ditto.
1492 (complex_vars_of_glyphs_mswindows): ditto.
1494 * lisp.h: add Fprovide_on_console.
1496 * fns.c (Ffeaturep): add extra optional console argument.
1497 (Fprovide_on_console): like Fprovide but provides only on the
1498 specified console-type.
1499 (Frequire): check console-features as well as global features.
1501 * console.c (Fconsole_features): new function. return features for
1503 (syms_of_console): add Fconsole_features.
1505 * console.h (CONMETH_FEATURES): new function for accessing features.
1506 (CONSOLE_FEATURES): ditto.
1507 (struct console_methods): add features slot.
1508 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1510 1999-06-28 Andy Piper <andy@xemacs.org>
1512 * event-Xt.c (handle_focus_event_1): conditionally compile for
1515 * s/cygwin32.h: fix me website address.
1517 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1519 * gui-x.c (button_item_to_widget_value): only add callback if it
1522 * glyphs-x.c: add progress, edit and combo instantiators.
1523 (x_widget_set_property): new function. uses lwlib to set widget
1525 (x_widget_property): new function. uses lwlib to get widget
1527 (x_button_instantiate): support images in buttons.
1528 (x_button_property): new function. use lwlib to get the selected
1530 (x_progress_instantiate): new function for instantiating progress
1532 (x_progress_set_property): new function. sets the progress gauge
1534 (x_edit_instantiate): new function. for instantiating edit fields.
1535 (x_combo_instantiate): new function. for instantiating combo
1537 (image_instantiator_format_create_glyphs_x): add new device ii
1540 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1542 * console.h (CONSOLE_FEATURES): new features accesor.
1544 * conslots.h (MARKED_SLOT): add features entry.
1546 1999-06-25 Andy Piper <andy@xemacs.org>
1548 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1551 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1553 * gui.h (struct Lisp_Gui_Item): add accelerator.
1555 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1556 (gui_item_init): ditto.
1557 (gui_add_item_keywords_to_plist): ditto.
1558 (mark_gui_item): ditto.
1559 (gui_item_hash): ditto.
1560 (gui_item_accelerator): new function.
1561 (gui_name_accelerator): new function stolen from gui-x.c
1563 * gui-x.c (popup_selection_callback): always define. mark
1564 subwindows changed after calling a callback.
1565 (menu_name_to_accelerator): deleted.
1566 (button_item_to_widget_value): forward gui_item things to gui_item
1569 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1570 appropriate accesors.
1572 * glyphs-x.c: declare new glyph formats.
1573 (x_finalize_image_instance): unmanage and destroy widgets if they
1575 (x_unmap_subwindow): handle widgets specially.
1576 (x_map_subwindow): ditto. offset display of widgets by offset of
1577 text widget within container.
1578 (x_update_subwindow): new function. call lw_modify_all_widgets
1579 when we are a widget.
1580 (x_widget_instantiate): new function for generically creating
1581 widgets-glyphs. toolkit specifics forwarded to lwlib.
1582 (x_button_instantiate): new function for instantiating
1583 widgets-glyph buttons.
1584 (console_type_create_glyphs_x): register update_subwindow.
1585 (image_instantiator_format_create_glyphs_x): register widget and
1588 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1590 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1591 when we get a button press in case we do not have the focus.
1592 (handle_focus_event_1): set the keyboard focus to the text widget
1593 if we do not have it.
1595 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1598 1999-06-24 SL Baur <steve@miho.m17n.org>
1600 * syntax.c (scan_words): Restore non-Mule code.
1601 (word_constituent_p): Restore.
1603 1999-06-23 Olivier Galibert <galibert@pobox.com>
1605 * config.h.in: Add missing #undef *_USER_DEFINED.
1607 1999-06-23 SL Baur <steve@miho.m17n.org>
1609 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1610 int (fixes a 64-bit problem).
1612 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1615 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1617 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1619 1999-06-22 Olivier Galibert <galibert@pobox.com>
1621 * lrecord.h: Added basic external description system.
1623 * symbols.c: Added symbol, symbol-value-buffer-local,
1624 symbol-value-lisp-magic and symbol-value-varalias description.
1625 * mule-charset.c: Added charset description.
1626 * marker.c: Added marker description.
1627 * keymap.c: Added keymap description.
1628 * glyphs.c: Added glyph description.
1629 * floatfns.c: Added float description.
1630 * file-coding.c: Added coding-system description.
1631 * extents.c: Added extent description.
1632 * elhash.c: Added hash-table description.
1633 * data.c: Added weak-list desciption.
1634 * chartab.c: Added char-table-entry and char-table description.
1635 * bytecode.c: Added compiled-function description.
1636 * alloc.c: Added cons, vector and string description.
1638 1999-06-22 Olivier Galibert <galibert@pobox.com>
1640 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1641 Updated everything to the removal of the "flags" substructure.
1643 * lisp.h (subr_lheader_initializer): Updated.
1644 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1646 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1648 * syntax.c (word_constituent_p): Deleted.
1649 (scan_words): Use `WORD_BOUNDARY_P'.
1651 * chartab.c (Vword_combining_categories): New variable.
1652 (Vword_separating_categories): Likewise.
1653 (CATEGORYP): New macro.
1654 (CATEGORY_SET): Likewise.
1655 (CATEGORY_MEMBER): Likewise.
1656 (word_boundary_p): New function.
1657 (complex_vars_of_chartab): Set up new variable
1658 `word-combining-categories' and `word-separating-categories'.
1660 1999-06-18 Olivier Galibert <galibert@pobox.com>
1662 * lrecord.h: Added description as a placehold in the lrecord
1663 implementation structures. Added the parameter to all constructor
1666 * alloc.c: Added placeholders.
1668 * bytecode.c: Ditto.
1672 * database.c: Ditto.
1677 * event-stream.c: Ditto.
1681 * file-coding.c: Ditto.
1682 * floatfns.c: Ditto.
1690 * mule-charset.c: Ditto.
1694 * rangetab.c: Ditto.
1695 * specifier.c: Ditto.
1698 * tooltalk.c: Ditto.
1701 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1703 * XEmacs 21.2.17 is released
1705 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1707 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1708 (HAVE_LDAP_GET_LDERRNO): Ditto
1709 (HAVE_LDAP_RESULT2ERROR): Ditto
1710 (HAVE_LDAP_PARSE_RESULT): Ditto
1711 (HAVE_UMICH_LDAP): Removed
1712 (HAVE_NS_LDAP): Removed
1714 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1715 suggested by Olivier Galibert
1716 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1718 * eldap.c: Take the removal of `livep' into account in all the
1720 (signal_ldap_error): Take two additional parameters
1721 Added new finer compilation conditions in order to use
1722 ldap_parse_result or ldap_result2error if available
1723 (Fldap_open): Conform to this new API
1724 (Fldap_search_internal): Ditto
1726 1999-06-17 SL Baur <steve@miho.m17n.org>
1728 * data.c (struct int_or_double): Should use EMACS_INT not int.
1730 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1732 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1735 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1737 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1738 `CCL_MODE_ENCODING'.
1740 * file-coding.c (mule_decode): Run `ccl_driver' with
1741 `CCL_MODE_DECODING'.
1742 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1744 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1745 (ccl_driver): Add new argument `conversion_mode'.
1746 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1747 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1748 new optional argument].
1750 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1751 (CCL_MODE_DECODING): New macro.
1752 (ccl_driver): Add new argument `conversion_mode'.
1754 1999-06-15 SL Baur <steve@miho.m17n.org>
1756 * mule-charset.c (Fsplit_char): New subr.
1757 (Fchar_octet): delete.
1758 (syms_of_mule_charset): DEFSUBR it.
1760 1999-06-13 Andy Piper <andy@xemacs.org>
1762 * menubar.h: update declarations involving gui_items.
1764 * lisp.h: declare Lisp_Gui_Item.
1766 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1768 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1769 (print_image_instance): ditto.
1770 (image_instance_equal): ditto.
1771 (image_instance_hash): ditto.
1773 * event-msw.c (mswindows_need_event): assert badly_p status.
1774 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1775 callbacks in tree-view and tab-control widgets.
1776 (emacs_mswindows_next_event): modify use of
1777 mswindows_dequeue_dispatch_event.
1779 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1780 lisp-based gui_items.
1782 * glyphs-msw.c (mswindows_update_subwindow): update use of
1784 (mswindows_register_gui_item): new function.
1785 (mswindows_register_gui_item): fix to use lisp gui_items.
1786 (mswindows_widget_instantiate): ditto.
1787 (mswindows_button_instantiate): ditto.
1788 (add_tree_item): new function to recursively add tree view
1790 (add_tree_item_list): ditto.
1791 (mswindows_tree_instantiate): new function. instantiate tree view
1793 (add_tab_item): new function to add tabs to a tab control.
1794 (mswindows_tab_instantiate): new function. instantiate tab
1796 (image_instantiator_format_create_glyphs_mswindows): add tree view
1798 (vars_of_glyphs_mswindows): ditto.
1800 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1802 (check_valid_item_list): ditto.
1803 (initialize_widget_image_instance): fix to use new lisp gui_item.
1804 (widget_instantiate_1): allow the setting of default textwidth in
1806 (widget_instantiate): change to use new widget_instantiate_1
1808 (combo_instantiate): ditto.
1809 (static_instantiate): ditto.
1810 (tab_instantiate): new function for tab widgets.
1811 (image_instantiator_format_create_glyphs_widget): add tab and tree
1814 * menubar-msw.c (displayable_menu_item): convert to use lisp
1816 (populate_menu_add_item): ditto.
1817 (populate_or_checksum_helper): ditto.
1819 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1821 (Fmenu_find_real_submenu): ditto.
1823 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1825 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1826 objects, convert functions that use them accordingly.
1827 (gui_item_init): ditto.
1828 (gui_item_active_p): ditto.
1829 (gui_item_selected_p): ditto.
1830 (gui_item_included_p): ditto.
1831 (gui_item_display_flush_left): ditto.
1832 (gui_item_display_flush_right): ditto.
1833 (mark_gui_item): ditto.
1834 (allocate_gui_item): new function to create a gui_item.
1835 (make_gui_item_from_keywords_internal): ditto. create and return a
1836 gui_item as well as setting keywords.
1837 (gui_parse_item_keywords): ditto.
1838 (gui_parse_item_keywords_no_errors): ditto.
1839 (gui_add_item_keywords_to_plist): new function, not yet used.
1840 (gui_item_hash): new function.
1841 (gui_item_id_hash): use gui_item_hash.
1842 (gui_item_equal): new function.
1843 (print_gui_item): new function.
1845 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1847 * XEmacs 21.2.16 is released
1849 1999-06-10 Andy Piper <andy@xemacs.org>
1851 * select-msw.c (mswindows_own_selection): only set the clipboard
1853 (mswindows_get_foreign_selection): only get the clipboard if
1855 (mswindows_disown_selection): only disown the clipboard if asked.
1857 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1859 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1861 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1862 of coding-category `no-conversion'.
1864 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1866 * file-coding.c (Qraw_text): New variable.
1867 (syms_of_mule_coding): Add new symbol `raw-text'.
1868 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1869 define coding-system `binary' independently; define coding-system
1870 `no-conversion' as an alias for `raw-text'.
1872 * file-coding.h (Qraw_text): New variable.
1874 1999-06-08 SL Baur <steve@xemacs.org>
1876 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1878 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1880 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1882 (base64_decode_1): Signal errors instead of returning -1.
1884 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1886 * mule-charset.c (Fmake_char): Update docstring.
1888 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1890 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1892 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1894 * fns.c (base64_decode_1): Allow and ignore any non-base64
1895 characters in input.
1897 1999-05-27 Olivier Galibert <galibert@pobox.com>
1899 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1900 of report_pure_usage().
1902 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1904 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1906 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1908 * XEmacs 21.2.15 is released
1910 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1912 * frame.c (Fset_mouse_position):
1913 (Fset_mouse_pixel_position):
1914 * window.c (Fsplit_window):
1915 (Fmove_to_window_line):
1916 Fix crash when invoking functions with an already-deleted window
1919 * indent.c (vertical_motion_1):
1921 (Fvertical_motion_pixels):
1922 * window.c (Fwindow_displayed_text_pixel_height):
1923 Fix error message when invoking functions with an already-deleted
1926 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1928 * sysdep.c (request_sigio_on_device): Guard against glibc
1929 2.1's stub streams implementation.
1931 1999-06-03 SL Baur <steve@xemacs.org>
1934 * emacs.c: Implement x.y.z version numbers
1935 From Jan Vroonhof <vroonhof@math.ethz.ch>
1937 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1939 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1940 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1943 1999-06-03 SL Baur <steve@xemacs.org>
1946 * device-x.c: rename session option to wmcommand.
1947 From Oliver Graf <ograf@rhein-zeitung.de>
1949 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1951 * fns.c (Fsubstring): Don't traverse the same region twice with
1952 charcount_to_bytecount().
1954 1999-06-03 SL Baur <steve@steve1.m17n.org>
1956 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1959 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1960 doesn't really work as is implied by the commentary).
1961 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1963 1999-06-02 SL Baur <steve@steve1.m17n.org>
1965 * symsinit.h: Declare vars_of_ntproc.
1966 * emacs.c (main_1): Call it.
1968 * ntproc.c (syms_of_ntproc): Move variable initializations from
1970 (vars_of_ntproc): ... to here [new function].
1972 * file-coding.c (syms_of_file_coding): Rename.
1973 (vars_of_file_coding): Ditto.
1974 (complex_vars_of_file_coding): Ditto.
1976 * symsinit.h: Rename *_mule_coding to *_file_coding.
1978 * emacs.c (main_1): Call them by the proper name.
1980 * device-msw.c (syms_of_device_mswindows): Move variable
1981 initializations from here ...
1982 (vars_of_device_mswindows): ... to here.
1984 * chartab.c (vars_of_chartab): New function.
1986 * symsinit.h: New function, vars_of_chartab.
1988 * emacs.c (main_1): Call it.
1990 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1991 (vars_of_mule_canna): ... to here.
1993 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1994 initializations out of syms_of_mule_ccl.
1996 * symsinit.h: Declare new function vars_of_mule_ccl.
1998 * emacs.c (main_1): Call it.
2000 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2002 * fns.c (base64_decode_1): Ignore whitespace.
2004 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2006 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2009 1999-05-21 Andy Piper <andy@xemacs.org>
2011 * xselect.c: deleted.
2013 * symsinit.h: declare select initialisation.
2015 * select.h: new file. declare commonly used select functions and
2018 * select.c: new file. generalised from xselect.c.
2019 (clean_local_selection_data): moved from xselect.c.
2020 (get_local_selection): ditto. device specific pieces called via a
2022 (handle_selection_clear): ditto.
2023 (Fown_selection_internal): renamed and generalised from
2024 Fx_own_selection_internal. moved from xselect.c.
2025 (Fdisown_selection_internal): ditto.
2026 (Fselection_owner_p): ditto.
2027 (Fselection_exists_p): ditto.
2028 (Fget_selection_internal): ditto.
2029 (syms_of_select): new function. QXXXX values moved from xselect.c
2030 (vars_of_select): new function. selection_converter_alist,
2031 lost_selection_hooks moved and renamed from xselect.c
2033 * select-x.c: renamed from xselect.c.
2034 (x_own_selection): converted to device specific. non-X-specific
2035 bits moved to select.c.
2036 (x_get_foreign_selection): ditto.
2037 (x_disown_selection): ditto.
2038 (x_selection_exists_p): ditto.
2039 (console_type_create_select_x): new function.
2041 * select-msw.c (mswindows_own_selection): new device method to set
2042 the clipboard when we 'own' the selection.
2043 (mswindows_get_foreign_selection): new device method to get the
2045 (mswindows_disown_selection): new device method to delete the
2046 selection when we 'disown' it.
2047 (console_type_create_select_mswindows): new function.
2049 * emacs.c (main_1): add select to things to initialise.
2051 * console.h (struct console_methods): new console methods for
2054 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2056 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2058 * print.c (long_to_string): Install a faster version.
2060 1999-05-16 Andy Piper <andy@xemacs.org>
2062 * ntproc.c (syms_of_ntproc): default
2063 win32-start-process-share-console to t.
2065 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2067 * config.h.in: Do it here.
2069 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2071 1999-05-14 Andy Piper <andy@xemacs.org>
2073 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2076 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2078 * XEmacs 21.2.14 is released
2080 1999-05-12 Andy Piper <andy@xemacs.org>
2082 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2084 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2086 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2087 run_temacs_argv array -- fixes random memory corruption crash
2089 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2091 * window.c (Fcurrent_window_configuration):
2092 Save minibuffer height;
2094 * window.c (set_window_configuration): use it.
2096 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2098 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2100 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2102 * redisplay.c (redisplay_window): Do not put data
2103 in the line start cache if it is not guaranteed to be correct
2105 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2107 * window.c (struct window_config): Removed frame
2109 (window_config_equal): No longer compare frame sizes.
2110 (Fset_window_configuration): Resize old top window to fit in the
2111 current frame directly, no longer use a fake frame resize.
2112 (Fcurrent_window_configuration): No longer save frame size
2114 1999-05-11 Andy Piper <andy@xemacs.org>
2116 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2119 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2121 * sysdep.c (init_system_name): If gethostname gives a proper
2122 domain name, don't look further for one.
2124 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2126 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2127 (Fintern_soft): Accept a symbol argument.
2129 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2131 * symbols.c (Fintern): ...do it here.
2133 * lread.c (read_atom): Don't handle keywords here.
2135 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2137 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2139 1999-05-03 Olivier Galibert <galibert@pobox.com>
2141 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2142 is interned in the main obarray.
2144 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2146 * menubar-x.c (pre_activate_callback): set accelerator field in
2147 "No menu" entries to nil. Avoid crash in
2148 command_builder_operate_menu_accelerator
2150 1999-05-03 Olivier Galibert <galibert@pobox.com>
2152 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2154 * lisp.h (DEFUN): Fix lrecord header initialisation.
2156 1999-05-02 Andy Piper <andy@xemacs.org>
2158 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2160 * ntproc.c (sys_kill): cast using MS mandated defines.
2162 1999-04-29 Andy Piper <andy@xemacs.org>
2164 * m/intel386.h: remove redundant definitions.
2166 * s/mingw32.h: new header for mingw32.
2168 * unexnt.c: (open_input_file): function moved to nt.c.
2169 (close_file_data): ditto.
2170 (rva_to_section): function moved to ntproc.
2172 * symsinit.h: declare syms_of_ntproc();
2174 * objects-msw.c (mswindows_font_instance_truename): new function.
2176 * ntproc.c: remove many warnings.
2177 (_sys_read_ahead): moved from nt.c and made static.
2178 (rva_to_section): moved from unexnt.c but not defined under
2180 (win32_executable_type): implement what we can for mingw32
2182 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2184 * ntheap.h: remove declarations of functions that are now static.
2186 * ntheap.c: support static heap.
2188 * nt.h: conditionalise X_OK definition.
2190 * nt.c: eliminate many warnings and support mingw32.
2191 (open_input_file): function moved from unexnt.c and made static
2192 (close_file_data): ditto.
2193 (_sys_read_ahead): moved to ntproc.c
2195 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2197 * console-msw.h: support mingw32.
2198 * getloadavg.c: ditto.
2205 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2206 some systems don't have all of the encapsulated system calls.
2208 * callproc.c: warning elimination.
2209 * dired-msw.c: ditto.
2210 * process-nt.c: ditto.
2211 * realpath.c: ditto.
2213 * Makefile.in.in: tweak : and ; for building under mswindows.
2215 1999-04-26 Michael Harnois <mharnois@willinet.net>
2217 * eldap.c (allocate_ldap): Adapt to the new semantics of
2218 alloc_lcrecord_type().
2220 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2222 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2224 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2226 * Delete mule-coding.c and mule-coding.h because they are not
2229 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2231 * objects.c (print_font_instance): Check for NILP(f->device),
2232 i.e. Vthe_null_font_instance.
2233 (font_instance_truename_internal): ditto.
2234 (Ffont_instance_properties): ditto.
2236 1999-04-22 Olivier Galibert <galibert@pobox.com>
2238 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2241 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2243 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2244 it easier to add new ones.
2246 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2248 * symbols.c (reject_constant_symbols): Ditto.
2249 (init_symbols_once_early): Ditto.
2251 * print.c (print_symbol): Don't use ->obarray.
2253 * symbols.c (Funintern): Ditto.
2255 * alloc.c (Fmake_symbol): Don't set ->obarray.
2257 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2259 * symbols.c (init_symbols_once_early): Removed
2260 Vpure_uninterned_symbol_table.
2261 (Fintern): Don't store to ->obarray field.
2263 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2265 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2266 (eq_with_ebola_notice): Remove abracadabra support.
2268 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2270 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2271 retrieve the distinguished names of entries
2273 1999-03-08 Martin Buchholz <martin@xemacs.org>
2275 * lread.c (read_escape): Make hex escapes read only two hex digits.
2277 1999-04-05 Olivier Galibert <galibert@pobox.com>
2279 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2280 * make-src-depend: Remove puresize-adjust.h.
2281 * src-headers: Remove puresize-adjust.h.
2282 * config.h.in: Kill everything purespace/gung-ho related.
2284 * dbxrc: Make gung-ho mandatory.
2287 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2288 c_readonly and lisp_readonly. Remove implementation arrays.
2289 (C_READONLY_RECORD_HEADER_P): Added.
2290 (LISP_READONLY_RECORD_HEADER_P): Added.
2291 (SET_C_READONLY_RECORD_HEADER): Added.
2292 (SET_LISP_READONLY_RECORD_HEADER): Added.
2294 * lisp.h: Kill everything purespace/non gung-ho related.
2295 (CHECK_C_WRITEABLE): Added.
2296 (CHECK_LISP_WRITEABLE): Added.
2297 (C_READONLY): Added.
2298 (LISP_READONLY): Added.
2300 * lisp-union.h: Make gung-ho mandatory.
2301 * lisp-disunion.h: Ditto.
2303 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2304 set_lheader_implementation calls.
2305 (c_readonly): Added.
2306 (lisp_readonly): Added.
2307 (make_string_nocopy): Added.
2308 (Fpurecopy): Changed to do nothing. Kept the old documentation
2309 for reference purposes for the next patches.
2310 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2311 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2312 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2314 * fns.c: Make gung-ho mandatory.
2315 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2317 (Ffillarray): Ditto.
2319 * data.c: Make gung-ho mandatory.
2320 (pure_write_error): Removed.
2321 (c_write_error): Added.
2322 (lisp_write_error): Added.
2323 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2327 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2328 make_string or make_string_nocopy. Fix various
2329 alloc_lcrecord_type.
2331 * lread.c: Remove everything purespace related.
2332 (Flocate_file_clear_hashing): purified -> c_readonly.
2333 (locate_file): Ditto.
2334 (read_atom): make_pure_pname -> make_string.
2336 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2338 (Fdump_emacs): Ditto.
2340 * print.c (print_internal): Make gung-ho mandatory.
2341 * ntheap.c (sbrk): Ditto.
2342 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2343 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2345 * sheap.c (more_static_core): Remove puresize-adjust.h from
2348 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2350 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2351 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2352 * events.c (deinitialize_event): Fix set_lheader_implementation.
2353 (zero_event): Ditto.
2354 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2355 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2356 * mule-charset.c (make_charset): Ditto.
2357 * console.c (allocate_console): Ditto.
2358 (complex_vars_of_console): Ditto.
2359 * file-coding.c (allocate_coding_system): Ditto.
2360 * device.c (allocate_device): Ditto
2361 * gui-x.c (gcpro_popup_callbacks): Ditto.
2362 * extents.c (allocate_extent_auxiliary): Ditto.
2363 (allocate_extent_info): Ditto.
2364 (copy_extent): Ditto.
2365 * glyphs.c (allocate_image_instance): Ditto.
2366 (allocate_glyph): Ditto.
2367 * frame.c (allocate_frame_core): Ditto.
2368 * database.c (allocate_database): Ditto.
2369 * tooltalk.c (make_tooltalk_message): Ditto.
2370 (make_tooltalk_pattern): Ditto.
2371 * rangetab.c (Fmake_range_table): Ditto.
2372 (Fcopy_range_table): Ditto.
2373 * process.c (make_process_internal): Ditto.
2374 * chartab.c (Fmake_char_table): Ditto.
2375 (make_char_table_entry): Ditto.
2376 (copy_char_table_entry): Ditto.
2377 (Fcopy_char_table): Ditto.
2378 * elhash.c (make_general_lisp_hash_table): Ditto.
2379 (Fcopy_hash_table): Ditto.
2380 * buffer.c (allocate_buffer): Ditto.
2381 (complex_vars_of_buffer): Ditto.
2382 * event-stream.c (allocate_command_builder): Ditto.
2383 * objects.c (Fmake_color_instance): Ditto.
2384 (Fmake_font_instance): Ditto.
2385 (vars_of_objects): Ditto.
2386 * toolbar.c (update_toolbar_button): Ditto.
2387 * window.c (allocate_window): Ditto.
2388 (make_dummy_parent): Ditto.
2389 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2390 (vars_of_window): Fix make_lcrecord_list.
2391 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2393 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2394 * opaque.c (make_opaque): Fix alloc_lrecord.
2395 (make_opaque_list): Fix alloc_lrecord_type.
2397 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2399 * process.c (Fstart_process_internal): Ditto.
2401 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2404 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2406 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2409 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2410 (emodules_load): Use it when calling locate_file().
2412 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2415 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2416 (vars_of_callproc): Initialize it.
2417 (Fcall_process_internal): Use it when calling locate_file().
2419 * alloc.c (disksave_object_finalization): Use
2420 Flocate_file_clear_hashing().
2422 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2423 given `t' as argument.
2425 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2427 * lread.c (locate_file): Expand `pathel' when appropriate.
2428 (Flocate_file_clear_hashing): Expand path elements.
2429 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2431 * dired.c (make_directory_hash_table): Create the hash-table only
2432 if the directory open is successful.
2434 * lread.c (decode_mode_1): New function.
2435 (decode_mode): Ditto.
2436 (Flocate_file): Use them.
2437 (Flocate_file): Expand FILENAME.
2438 (locate_file_map_suffixes): New function.
2439 (locate_file_in_directory_mapper): New function.
2440 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2441 and locate_file_map_suffixes().
2442 (locate_file_construct_suffixed_files): Use
2443 locate_file_map_suffixes().
2444 (locate_file_without_hash): Don't GCPRO path.
2445 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2446 (syms_of_lread): Remove Qlocate_file_hash_table.
2447 (locate_file_find_directory_hash_table): Use
2448 Vlocate_file_hash_table.
2449 (locate_file_refresh_hashing): Ditto.
2451 * lread.c: Renamed read_objects to Vread_objects.
2453 1999-04-16 Olivier Galibert <galibert@pobox.com>
2455 * mule-charset.c: Generally resync with fsf 20.3 charset
2457 (make_charset): Add long and short name. Use id instead of
2459 (Fmake_charset): Ditto.
2460 (Fmake_reverse_direction_charset): Ditto.
2461 (Fcharset_property): Ditto.
2462 (Fcharset_short_name): Added.
2463 (Fcharset_long_name): Added.
2464 (Fcharset_description): Renamed from charset-doc-string.
2465 (syms_of_mule_charset): Synced symbols.
2466 (complex_vars_of_mule_charset): Synced charsets.
2468 * mule-charset.h: Removed leading byte (uses id instead), added
2469 short and long name.
2471 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2473 * file-coding.c (Fdefine_coding_system_alias): New function.
2475 1999-04-08 Olivier Galibert <galibert@pobox.com>
2477 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2478 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2480 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2482 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2483 attach to the extent is valid.
2485 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2487 * dired.c (user_name_completion): Mule-ize.
2488 (user_name_completion): Use xmalloc/xrealloc/xfree.
2489 (user_name_completion): Use DO_REALLOC.
2490 (user_name_completion): Cut down the number of static variables;
2492 (user_name_completion): Username completion is always
2495 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2497 * fns.c (base64_decode_1): Remove COUNTER.
2498 (base64_decode_1): Accept CRLF in addition to CR.
2499 (base64_decode_1): Disallow a stray character after final EOF; the
2500 check was probably a remnant of buggy recode code.
2502 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2504 * fns.c (init_provide_once): Provide `base64'.
2506 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2508 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2509 (Fbase64_encode_region): If buffer is read-only, bail out early.
2510 (Fbase64_decode_region): Ditto.
2511 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2513 (Fbase64_encode_string): Ditto.
2514 (Fbase64_decode_region): Ditto.
2515 (Fbase64_decode_string): Ditto.
2517 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2519 * dired.c (Fdirectory_files): Remove redundant code.
2521 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2523 * frame-msw.c Make raise-frame restore minimised windows.
2525 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2527 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2530 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2532 * toolbar-msw.c Consider captions when deciding whether to rebuild
2533 toolbar. This fixes the initial toolbar display for those of us
2534 who don't like captions. These patches applied by Andy Piper.
2536 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2538 * XEmacs 21.2.13 is released
2540 1999-03-12 SL Baur <steve@xemacs.org>
2542 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2544 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2546 * file-coding.c: docstring and comment improvements.
2547 (decode_ucs4) flag possible data loss with comment.
2549 1999-03-10 Martin Buchholz <martin@xemacs.org>
2551 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2555 (decode_coding_ucs4):
2556 (encode_coding_ucs4):
2557 (detect_coding_utf8):
2558 (decode_coding_utf8):
2560 (encode_coding_utf8):
2561 Add CHECK_* macros where needed to avoid crashes.
2562 #ifdef out all composite character support using
2563 #ifdef ENABLE_COMPOSITE_CHARS
2564 Use normal XEmacs coding standards.
2566 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2568 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2570 * file-coding.c (make-coding-system): Add description about
2571 `ucs-4' and `utf-8'.
2572 (detection_state): Modify to implement ucs-4 and utf-8.
2573 (detect_coding_type): Likewise.
2574 (detect_coding_ucs4): New implementation.
2575 (detect_coding_utf8): New implementation.
2576 (encode_utf8): fixed.
2577 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2580 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2582 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2583 2022 registry to private area.
2585 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2587 * file-coding.c (encode_utf8): New function.
2588 (encode_coding_utf8): New implementation.
2590 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2592 * file-coding.c (ucs_to_mule_table): New variable; abolish
2593 `Vucs_to_mule_table'
2594 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2595 (set-ucs-char): New function.
2596 (ucs_to_char): New function.
2597 (ucs-char): New function.
2598 (set-char-ucs): New function.
2599 (char-ucs): New function.
2600 (decode_ucs4): Use `ucs_to_char'.
2601 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2602 `mule-to-ucs-table'.
2604 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2606 * chartab.h: EXFUN `Fget_char_table'.
2608 * file-coding.c (encode_ucs4): New function.
2609 (encode_coding_ucs4): Use `encode_ucs4'.
2611 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2613 * file-coding.c (decode_coding_ucs4): New implementation.
2615 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2617 * file-coding.c (decode_coding_ucs4): fixed.
2619 * file-coding.c (Vmule_to_ucs_table): New variable.
2620 (mule_char_to_ucs4): New function.
2621 (encode_coding_ucs4): New implementation.
2622 (complex_vars_of_mule_coding): Define variable
2623 `mule-to-ucs-table'.
2625 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2627 * file-coding.c (decode_coding_utf8): New implementation.
2629 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2631 * file-coding.c (decode_coding_utf8): fixed.
2633 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2635 * file-coding.c (Vucs_to_mule_table): New variable.
2636 (decode_ucs4): Refer `Vucs_to_mule_table'.
2637 (complex_vars_of_mule_coding): Define variable
2638 `ucs-to-mule-table'.
2640 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2642 * file-coding.c (detect_coding_ucs4): New function (not
2644 (decode_coding_ucs4): New function.
2645 (encode_coding_ucs4): New function (not implemented yet).
2646 (detect_coding_utf8): New function (not implemented yet).
2647 (decode_coding_utf8): New function.
2648 (encode_coding_utf8): New function (not implemented yet).
2649 (make-coding-system): New type `ucs4' and `utf8'.
2650 (coding-system-type): Likewise.
2651 (detection_state): Add `ucs4' and `utf8'.
2652 (detect_coding_type): Likewise.
2653 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2654 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2655 (decode_ucs4): New function (very incomplete).
2656 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2658 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2660 1999-03-08 Martin Buchholz <martin@xemacs.org>
2663 (non_ascii_valid_char_p):
2664 (lookup_composite_char):
2665 (composite_char_string):
2666 (make-composite-char):
2667 (composite-char-string):
2668 (syms_of_mule_charset):
2669 (complex_vars_of_mule_charset):
2670 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2671 (CHAR_LEADING_BYTE):
2673 * file-coding.h (CODING_STATE_COMPOSITE):
2674 (CODING_STATE_ISO2022_LOCK):
2676 (LEADING_BYTE_COMPOSITE):
2677 * file-coding.c (struct iso2022_decoder):
2680 (parse_iso2022_esc):
2681 (encode_coding_iso2022):
2682 #ifdef out all composite character support using
2683 #ifdef ENABLE_COMPOSITE_CHARS
2685 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2687 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2689 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2690 way of `Fbase64_encode_region'.
2692 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2694 * fns.c (base64_encode_1): Don't add a newline at the tail.
2696 1999-03-08 Andy Piper <andy@xemacs.org>
2698 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2701 1999-03-07 Martin Buchholz <martin@xemacs.org>
2703 * console-stream.h (struct stream_console):
2704 * event-unixoid.c (event_stream_unixoid_select_console):
2705 (event_stream_unixoid_unselect_console):
2706 * print.c (Fexternal_debugging_output):
2707 * sysdep.c (reset_one_device):
2708 * console-stream.c (stream_init_console):
2709 (stream_delete_console):
2710 (allocate_stream_console_struct): move into stream_init_console.
2711 (free_stream_console_struct): move into stream_delete_console.
2712 Use `fd' only for file descriptors.
2713 Therefore, rename members of struct stream_console.
2715 * systime.h: Unix98 says sys/time.h should define select(), but
2716 some systems define that in unistd.h. So include that file always.
2718 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2719 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2720 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2722 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2726 Add #include <stdio.h>.
2727 Some versions of assert.h use printf() without #include'ing stdio.h
2729 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2730 (log_gcpro): Remove unused variable FRAME.
2731 (show_gcprohist): Ansify.
2732 Comment the #endif's
2734 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2735 after it's just been XtDestroy'ed!
2737 1999-02-18 Martin Buchholz <martin@xemacs.org>
2739 * opaque.c (print_opaque):
2743 Egcs 1.1.1 seems to have a bug where
2744 INTP (p->size_or_chain)
2745 will crash XEmacs. Fix by introducing intermediate variable.
2747 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2749 * dired.c (Fdirectory_files):
2750 (Ffile_name_completion):
2751 (Ffile_name_all_completions):
2752 (file_name_completion):
2753 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2754 avoid compiler warnings.
2755 - Fix up docstrings so that C variables match documentation.
2757 1999-03-05 Martin Buchholz <martin@xemacs.org>
2759 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2760 variables as small as possible to help out the compiler and the maintainer.
2762 * alloc.c: (disksave_object_finalization):
2763 Set all the *-load-path variables to
2764 nil, not just load-path itself. This gets the locate-file hash
2765 tables garbage collected BEFORE dump, and has the side effect of
2766 preventing crashes on OSF4.0+egcs.
2771 - Clean up gdb/dbx debugging support.
2772 - Storing an EMACS_INT in an enum is not 64-bit clean!
2773 - So change the enum to a set of separate variables.
2774 - Add test cases to help debug the debugging support!
2775 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2776 - Both dbx and gdb have been tested now.
2778 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2780 * XEmacs 21.2.12 is released
2782 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2784 * device-x.c: Support to find best visual without flashing.
2786 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2788 * database.c (berkdb_map): Add flags argument to cursor call (must
2789 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2791 1999-03-03 Martin Buchholz <martin@xemacs.org>
2795 General cleanup. Get free-hook.c working again.
2796 Remove unused functions:
2797 make_strings_hash_table, copy_hash, expand_hash_table.
2801 Always use new ANSI-style function prototypes.
2803 * unexalpha.c (unexec): Never use implicit int.
2805 * sgiplay.c (close_sound_file):
2807 (restore_audio_port):
2812 (write_mulaw_8_chunk):
2813 (write_linear_chunk):
2814 (write_linear_32_chunk):
2815 (initialize_audio_port):
2818 (set_output_format):
2819 (adjust_audio_volume):
2820 (get_current_volumes):
2822 Always use new ANSI-style function prototypes.
2823 Use unistd.h for missing prototypes.
2825 * unexelfsgi.c (round_up):
2827 (unexec): Always use new ANSI-style function prototypes
2829 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2831 * console.h (struct console_methods): Always use full ANSI prototypes
2833 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2835 1999-03-02 Andy Piper <andy@xemacs.org>
2837 * event-stream.c (init_event_stream): make sure native mswindows
2838 gets an appropriate event loop.
2840 1999-02-22 Andy Piper <andy@xemacs.org>
2842 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2843 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2844 (mswindows_raise_frame): remove comment.
2846 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2848 * XEmacs 21.2.11 is released
2850 1999-02-25 SL Baur <steve@xemacs.org>
2852 * mule-charset.c (Qleading_byte): New variable to implement
2853 charset-leading-byte function.
2854 (Fcharset_property): Use it.
2855 (syms_of_mule_charset): Initialize it.
2856 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2858 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2860 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2861 bytes per pixel counting.
2863 1999-02-15 Andy Piper <andy@xemacs.org>
2865 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2868 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2870 * fns.c (Fbase64_encode_string): New optional argument
2873 1999-02-16 Martin Buchholz <martin@xemacs.org>
2875 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2876 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2878 1999-02-10 Martin Buchholz <martin@xemacs.org>
2880 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2881 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2883 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2885 * XEmacs 21.2.10 is released
2887 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2889 * process-nt.c (nt_send_process):
2890 Fix for process-send-region/process-send-string breaking when size
2891 of the input > 128 chars: change maximum chunk size for process
2892 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2895 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2897 * XEmacs 21.2.9 is released
2899 1999-01-30 Martin Buchholz <martin@xemacs.org>
2901 * bytecode.c (funcall_compiled_function): Call
2902 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2904 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2905 #ifdef 0 out unused macro.
2907 1999-01-27 Martin Buchholz <martin@xemacs.org>
2909 * gui.c (gui_parse_item_keywords_internal): Make static.
2911 1999-01-21 Andy Piper <andy@xemacs.org>
2913 * glyphs-msw.c: add xface support.
2914 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2915 (image_instantiator_format_create_glyphs_mswindows): do device
2916 specific initialisation for xfaces.
2917 (xbm_create_bitmap_from_data): line data must be padded to a word
2920 * glyphs-x.c (xface_validate): moved to glyphs.c
2921 (xface_normalize): ditto.
2922 (xface_possible_dest_types): ditto.
2923 (image_instantiator_format_create_glyphs_x): do device specific
2924 initialisation for xfaces.
2926 * glyphs.h: declare xface symbol.
2928 * glyphs.c: move generic xface support here.
2929 (xface_validate): moved from glyphs-x.c
2930 (xface_normalize): ditto.
2931 (xface_possible_dest_types): ditto.
2932 (image_instantiator_format_create): xface declarations moved from
2935 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2937 * event-stream.c (vars_of_event_stream): Fixing documentation.
2939 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2941 * glyphs-eimage.c (gif_instantiate): Correct handling of
2942 interlaced gifs to avoid writing past the end of the eimage
2945 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2947 * search.c (Freplace_match): Handle single backslash at end of
2950 1999-01-12 William M. Perry <wmperry@aventail.com>
2952 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2953 avoid connection errors.
2955 1999-01-12 Andy Piper <andy@xemacs.org>
2957 * redisplay-output.c (redisplay_update_line): backout change that
2958 shouldn't have gone ine.
2960 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2962 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2963 collide with ldap.el
2965 1999-01-11 Andy Piper <andy@xemacs.org>
2967 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2968 (DISPLAY_LINE_YPOS): new macro.
2970 * redisplay-msw.c (mswindows_output_string): use it.
2971 (mswindows_output_pixmap): ditto.
2972 (mswindows_output_display_block): ditto.
2974 * redisplay-output.c (redisplay_output_display_block): new
2975 function. just call the devmeth, maybe insert some generic code
2977 (compare_display_blocks): use it.
2978 (output_display_line): ditto.
2979 (redisplay_unmap_subwindows_maybe): new function. potentially
2980 unmap subwindows in the given area.
2982 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2985 1999-01-10 J. Kean Johnston <jkj@sco.com>
2987 * Makefile.in.in: Set value of moduledir
2988 - Changed DUMPENV to include $(MODULEPATH)
2989 - Added install rule to install header files for use by ellcc.
2991 * config.h.in: Added INHIBIT_SITE_MODULES
2992 - Added HAVE__DLERROR
2993 - Added HAVE_DLFCN_H
2994 - Added DLSYM_NEEDS_UNDERSCORE
2998 * emodules.c: New file containing dynamic loading code.
3000 * emodules.h: New file.
3002 * emacs.c: Added variables Vmodule_directory,
3003 Vsite_module_directory, Vconfigure_module_directory and
3004 Vconfigure_site_module_directory.
3005 - (main_1): Added new variable inhibit_site_modules and command
3006 line options `-no-site-modules' and `--no-site-modules'.
3007 - (main_1): Call syms_of_module() instead of syms_of_dll().
3008 - (main_1): Call vars_of_module().
3009 - (vars_of_emacs): Introduce inhibit-site-modules,
3010 module-directory, configure-module-directory,
3011 site-module-directory, and configure-site-module-directory to the
3014 * lisp.h: Declare load_module and list_modules, as well as
3015 Vmodule_directory, Vsite_module_directory,
3016 Vconfigure_module_directory and Vconfigure_site_module_directory.
3018 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3019 - Added correct support for site-lisp directory.
3021 * symbols.c (defsubr): Modified to allow modules to add new subrs
3023 - (defsubr_macro): Same.
3024 - (defvar_magick): Only use purespace when not initialized, so
3025 that loaded modules can still add symbols.
3027 * symsinit.h: Add definitions for syms_of_module(),
3028 vars_of_module(). Removed syms_of_dll().
3030 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3031 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3032 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3034 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3035 explicitly pass -belf for native cc.
3037 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3038 hard-coding the library name.
3040 1999-01-01 <martin@xemacs.org>
3042 * device-x.c (Fx_set_font_path):
3043 Add proper cast to permit compilation under C++.
3045 * buffer.c (directory_is_current_directory):
3046 Add proper casts to permit compilation under C++.
3048 1998-12-30 Damon Lipparelli <lipp@primus.com>
3050 * event-msw.c (mswindows_wnd_proc):
3051 Fixed failure when building with MSVC 5.
3053 1998-12-29 Martin Buchholz <martin@xemacs.org>
3055 * file-coding.c (decode_coding_iso2022):
3056 - Prevent crash when decoding ISO7/Lock detected files
3057 - the usual martin fiddling
3059 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3063 Fixed failures when building with MSVC.
3064 * unexnt.c (dump_bss_and_heap):
3065 Removed compiler warning by removing bss_data variable.
3067 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3069 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3070 so that packages that distribute their own fonts can access them.
3072 1998-12-28 Andy Piper <andy@xemacs.org>
3074 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3075 that have an image provided.
3077 * glyphs.h: add Q_image decl.
3079 * glyphs-widget.c new functionality allowing images in
3081 (check_valid_glyph_or_image): new function to validate
3082 glyphs passed in through :image.
3083 (widget_normalize): new function. convert :image parameters into
3084 real glyphs if not already so.
3085 (widget_instantiate_1): mess with size parameters to be similar to
3087 (syms_of_glyphs_widget): new keyword :image.
3088 (image_instantiator_format_create_glyphs_widget): normalize
3089 buttons and allow :image.
3091 1998-12-27 Andy Piper <andy@xemacs.org>
3093 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3095 * glyphs-widget.c (check_valid_anything): no-op function.
3096 (check_valid_callback): check callbacks in gui_items.
3097 (check_valid_symbol): as it sounds.
3098 (check_valid_string_or_vector): ditto.
3099 (widget_validate): modified for descriptors that are vectors or
3100 sequences of keyword/val pairs.
3101 (widget_instantiate_1): ditto.
3102 (image_instantiator_format_create_glyphs_widget): allow gui_item
3103 keywords in the instantiator.
3105 * gui.c (gui_parse_item_keywords_internal): renamed from
3106 gui_parse_item_keywords but taking error behaviour.
3107 (gui_parse_item_keywords): use it.
3108 (gui_parse_item_keywords_no_errors): ditto.
3109 (gui_item_add_keyval_pair): add Error_behavior flag and only
3110 signal invalid keywords if required.
3112 * gui.h: new gui signatures.
3114 * menubar.c (menu_parse_submenu_keywords): use new
3115 gui_item_add_keyval_pair signature.
3117 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3119 1998-12-28 Martin Buchholz <martin@xemacs.org>
3121 * XEmacs 21.2.8 is released.
3123 1998-12-28 Martin Buchholz <martin@xemacs.org>
3125 * editfns.c (get_home_directory):
3126 (user-home-directory): Simplify.
3129 * callproc.c (child_setup):
3130 - Environment variables were being passed to inferior processes
3131 using internal encoding.
3132 - Convert to external encoding.
3133 - Rename local var `tem' to better name `tail'.
3134 - Use Flength instead of `manual' calculation.
3136 * buffer.c (kill-buffer):
3138 (set-buffer-major-mode):
3140 - Fix up parameter names to correspond to docstrings.
3141 - Don't use `bufname' when a buffer will do as well.
3142 - Remove one unneeded GCPRO.
3144 * buffer.h (initial_directory):
3145 * buffer.c (init_initial_directory):
3146 - use correct conversions between internal and external format.
3147 (directory_is_current_directory): new function
3148 (init_buffer): convert initial_directory to internal format.
3149 - solve crashes when current working directory is non-ASCII.
3151 * alloc.c (xmalloc):
3154 - remove stupid casts, since XEmacs requires an ANSI C system.
3155 (lrecord_type_index): replace abort() with more readable assert().
3157 (reset_lcrecord_stats): remove.
3158 (sweep_lcrecords_1):
3159 - replace call to reset_lcrecord_stats() with call to xzero().
3161 1998-12-27 Martin Buchholz <martin@xemacs.org>
3163 * process-unix.c (unix_create_process):
3164 - Fix crash invoking program with non-ASCII name.
3165 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3166 - Remove unused variable `env'.
3167 - Rename `temp' to better name `save_errno'.
3168 - Reorganize code for clarity. But still too chicken to nuke the
3171 1998-12-24 Martin Buchholz <martin@xemacs.org>
3173 * XEmacs 21.2.7 is released.
3175 1998-12-23 Martin Buchholz <martin@xemacs.org>
3177 * glyphs.c (decode_device_ii_format):
3179 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3181 * glyphs-x.c (x_subwindow_instantiate):
3182 - A image instance mask was being assigned to a image instance type!
3183 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3185 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3187 * glyphs-x.h: Make indentation consistent.
3189 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3191 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3193 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3197 Move declarations of decode_device_ii_format and
3198 decode_image_instantiator_format into glyphs.h where they belong.
3200 1998-12-22 Martin Buchholz <martin@xemacs.org>
3202 * frame-x.c (x_delete_frame): Revert part of my changes at the
3203 suggestion of Gunnar Evermann - unfortunately no one really
3204 understands this code.
3206 * callproc.c (init_callproc): code cleanup.
3208 * free-hook.c (malloc):
3213 (block_input_malloc):
3214 (block_input_realloc):
3215 * device-x.c (x_delete_device):
3216 * emacs.c (voodoo_free_hook):
3217 * events.c (print_event):
3219 (CHECK_EVENT_TYPE2):
3220 (CHECK_EVENT_TYPE3):
3221 Use proper prototypes.
3222 Make C_E_T macros a little faster.
3223 Pedantic fiddly little changes. You really don't care.
3225 1998-12-22 Andy Piper <andy@xemacs.org>
3227 * redisplay-output.c (redisplay_clear_region): make sure that
3228 fg/bg colors get set even when we are in the border area.
3230 1998-12-13 Martin Buchholz <martin@xemacs.org>
3232 * console-msw.c: Function definitions follow coding standards
3233 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3235 1998-12-11 Martin Buchholz <martin@xemacs.org>
3237 * events.h (struct timeout_data):
3238 * event-tty.c (tty_timeout_to_emacs_event):
3239 * event-msw.c (mswindows_wm_timer_callback):
3240 * event-Xt.c (Xt_timeout_to_emacs_event):
3241 * event-msw.c (mswindows_cancel_dispatch_event):
3242 Make sure Lisp_Objects inside events are initialized to Qnil, not
3243 Qnull_pointer, which is now illegal.
3245 1998-12-10 Martin Buchholz <martin@xemacs.org>
3247 * lisp.h: Fix up prototypes to match alloc.c
3249 1998-12-08 Martin Buchholz <martin@xemacs.org>
3251 * windowsnt.h: Remove `support' for using index and rindex
3253 * filelock.c (current_lock_owner):
3254 - Change uses of index -> strchr, rindex -> strrchr
3256 1998-12-07 Martin Buchholz <martin@xemacs.org>
3258 * sysdep.c (set_descriptor_non_blocking):
3259 Since O_NONBLOCK is now always #defined, make use of fcntl
3260 conditional on F_SETFL being defined.
3262 * console-msw.c (DHEADgER):
3271 - max_align_t should not be visible to the user of the
3273 - use Bufbyte instead of char
3274 - parens around (FOOP (obj)) are always redundant.
3275 If they were necessary, we should fix the macro instead.
3276 - Always use string_data(foo) instead of foo->data.
3279 1998-12-06 Martin Buchholz <martin@xemacs.org>
3281 * frame-msw.c (mswindows_init_frame_1):
3282 - use make_lisp_hash_table, not Fmake_hash_table
3286 * alloc.c (make_vector): remove travesty
3290 (make_bit_vector_internal):
3292 (make_bit_vector_from_byte_vector):
3294 - make vector_equal a little faster.
3295 - Don't use variable name `new'.
3296 - Use size_t instead of EMACS_INT.
3297 - usual Martin-style pointless bit-twiddling.
3303 Make mapcar faster. In particular, make
3304 (mapc #'identity long-string)
3305 MUCH faster under Mule.
3306 * tests/automated/lisp-tests.el: Test 'em!
3308 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3311 1998-12-01 Martin Buchholz <martin@xemacs.org>
3313 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3314 Qnil, not NULL, to initialize `null' Lisp_Objects.
3316 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3318 * specifier.c (display_table_validate): Update.
3320 * redisplay.c (create_text_block): Use them.
3322 * glyphs.c (display_table_entry): New function.
3323 (get_display_tables): Ditto.
3325 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3327 * eldap.c (toplevel): Mention that eldap.c compiles with
3329 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3330 (Fldap_search_internal): Ditto
3332 1998-12-11 Martin Buchholz <martin@xemacs.org>
3334 * event-msw.c (mswindows_cancel_dispatch_event):
3335 Gratuitous code prettification
3338 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3340 * fns.c (Fnconc): Fix use of wrong_type_argument().
3342 * floatfns.c (Ffloat): Fix docstring.
3343 (Ffloat): Fix use of wrong_type_argument().
3345 (extract_float): Ditto.
3350 1998-12-06 Martin Buchholz <martin@xemacs.org>
3352 * frame-msw.c (mswindows_init_frame_1):
3353 - use make_lisp_hash_table, not Fmake_hash_table
3357 * alloc.c (make_vector): remove travesty
3361 (make_bit_vector_internal):
3363 (make_bit_vector_from_byte_vector):
3365 - make vector_equal a little faster.
3366 - Don't use variable name `new'.
3367 - Use size_t instead of EMACS_INT.
3368 - usual Martin-style pointless bit-twiddling.
3374 Make mapcar faster. In particular, make
3375 (mapc #'identity long-string)
3376 MUCH faster under Mule.
3377 * tests/automated/lisp-tests.el: Test 'em!
3379 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3382 1998-12-02 Didier Verna <verna@inf.enst.fr>
3384 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3385 accelerator field to nil for labels.
3387 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3389 * menubar-msw.c (displayable_menu_item):
3390 Escape occurrences of '&' and support occurrences of the
3391 '%_' accelerator indicator in menus.
3393 1998-11-26 Didier Verna <verna@inf.enst.fr>
3395 * dired.c (Fdirectory_files): use make_string instead of
3396 make_ext_string on the filename. The conversion external->internal
3397 format is already done in sys_readdir.
3399 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3401 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3403 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3406 (Belatedly) added Kirill to list of file's authors.
3407 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3408 quit checking. WM_PAINT messages cause redisplay, but
3409 windows' states are not necessarily stable when this function
3412 1998-12-17 Andy Piper <andy@xemacs.org>
3414 * strftime.c (zone_name): CONSTify.
3416 1998-12-15 Andy Piper <andy@xemacs.org>
3418 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3419 (mswindows_widget_property): return Qunbound when no property available.
3420 (mswindows_button_property): ditto.
3421 (mswindows_combo_property): ditto.
3422 (mswindows_widget_set_property): ditto.
3424 * glyphs-widget.c (check_valid_item_list): use properties.
3426 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3428 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3429 (Fimage_instance_property): ditto.
3430 * glyphs-widget.c (widget_property): ditto.
3431 (widget_set_property): ditto.
3433 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3434 as setting the class cursor so that GC actually changes the
3437 * config.h: don't undef MAIL_USE_POP.
3439 1998-12-13 Andy Piper <andy@xemacs.org>
3442 (image_instantiator_format_create_glyphs_mswindows): line ->
3444 (mswindows_label_instantiate): ditto. Play with window flags.
3445 (image_instantiator_format_create_glyphs_mswindows): ditto.
3446 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3448 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3449 cope with lines and labels.
3450 (static_instantiate): use widget_instantiate_1.
3452 (image_instantiator_format_create_glyphs_widget): ditto.
3454 1998-12-10 Andy Piper <andy@xemacs.org>
3456 * Makefile.in.in (objs): add gui.o
3458 1998-12-10 Andy Piper <andy@xemacs.org>
3460 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3463 1998-12-09 Andy Piper <andy@xemacs.org>
3465 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3466 image instance is removed so that the subwindow cache gets reset
3467 and thus destroyed images get GC'd.
3469 1998-12-08 Andy Piper <andy@xemacs.org>
3471 * gui-msw.c (mswindows_handle_gui_wm_command): call
3472 MARK_SUBWINDOWS_CHANGED.
3474 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3475 subwindows really get deleted.
3477 * redisplay.c: new variable subwindows_changed[_set].
3478 (redisplay_window): use it.
3479 (redisplay_frame): ditto.
3480 (redisplay_device): ditto.
3481 (redisplay_without_hooks): ditto.
3483 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3484 subwindows redisplay as per glyphs equivalent.
3485 * redisplay.h: ditto.
3486 (MARK_SUBWINDOWS_CHANGED): ditto.
3487 (RESET_CHANGED_SET_FLAGS): ditto.
3488 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3490 1998-12-07 Andy Piper <andy@xemacs.org>
3492 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3495 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3497 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3498 messages and paint widget glyphs as appropriate with their face fg
3501 1998-12-06 Andy Piper <andy@xemacs.org>
3503 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3504 here rather than in glyphs-widget - do this because we only want
3505 to provide what is really available.
3507 * glyphs.c (Fimage_instance_property): new function to get the
3508 properties of image instances. wires through to console specific
3509 methods and then to widget specific methods.
3510 (Fset_image_instance_property): ditto but for setting widget properties.
3511 (check_valid_face): make extern so that it can be used elsewhere.
3513 * glyphs-widget.c (widget_property): new function. gets the
3514 properties of widgets in general and wires the function through to
3515 widget specific ones.
3516 (widget_set_property): ditto but for setting widget properties.
3518 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3519 add items to the list. Play with window styles a bit to get the
3521 (mswindows_widget_property): break out specific widget properties.
3522 (mswindows_button_property): new function. gets the checked state
3524 (mswindows_combo_property): new function. gets the current
3525 selection in the combo box.
3526 (mswindows_widget_set_property): new function. sets specific
3527 properties of specific widgets.
3529 * glyphs-widget.c (check_valid_item_list): new function. check
3530 that items for a combo-box are just a list of strings.
3531 (combo_validate): new function. check there is an item list.
3532 (widget_instantiate_1): new function. renamed from
3533 widget_instantiate so that we can do slightly different things for
3535 (widget_instantiate): call widget_instantiate_1.
3536 (combo_instantiate): new function to instantiate combo boxes,
3537 defaults height to the pixel height of the number of items in the
3539 (syms_of_glyphs_widget): move widget keywords here.
3540 (image_instantiator_format_create_glyphs_widget): use new combo
3543 1998-12-04 Andy Piper <andy@xemacs.org>
3545 * event-msw.c (mswindows_wnd_proc): mule-ize.
3547 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3549 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3550 (resource_name_to_resource): ditto.
3551 (mswindows_resource_instantiate): ditto.
3552 (mswindows_widget_instantiate): ditto.
3553 (mswindows_widget_set_property): ditto.
3555 * redisplay-output.c (redisplay_output_subwindow): don't show
3556 subwindows if they are obscured at the edge of the frame, emacs
3557 gets into some sort of redisplay loop otherwise.
3559 * gui.h: prototype gui_item_selected_p.
3561 * gui.c (gui_item_selected_p): new function to determine the
3562 selected state of a gui_item.
3564 * frame.h (struct frame): add subwindows_changed flag.
3566 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3568 * glyphs.c (update_subwindow): new function to update a
3570 (update_frame_subwindows): new function to update all the
3571 subwindows on a frame.
3573 * console.h (struct console_methods): add update_subwindow.
3575 * glyphs-msw.c (mswindows_widget_property): return selected state
3576 for selected property.
3577 (mswindows_update_subwindow): new function. updates widget glyphs
3578 in redisplay as per menubars or toolbars e.g. selected state.
3579 (console_type_create_glyphs_mswindows): add update_subwindow.
3581 1998-12-03 Andy Piper <andy@xemacs.org>
3583 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3584 tty coding system things are such.
3586 * glyphs-widget.c (widget_face_font_info): new function for
3587 pulling out height and width metrics for a widget's face.
3588 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3591 * event-msw.c (mswindows_drain_windows_queue): translate messages
3592 that are destined for subwindows. This makes edit fields interact
3593 with the keyboard correctly.
3594 nuke warnings by #ifndef'ing out stuff not required by msg select().
3596 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3597 macro defining the iiforma without the symbol required by widget.
3598 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3600 * general.c (syms_of_general): add Qwidget, Qselected.
3602 * faces.c (complex_vars_of_faces): add widget face inheriting from
3605 1998-11-09 Andy Piper <andy@xemacs.org>
3607 * window.h (struct window): add a cache of subwindows on a
3610 * window.c (mark_window): mark the subwindow_instance_cache.
3611 (allocate_window): initialise the subwindow instance_cache.
3613 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3614 instead of the devmeth.
3615 (x_clear_toolbar): ditto.
3617 * redisplay-x.c (x_output_display_block): call
3618 redisplay_output_subwindow for subwindows and widgets.
3620 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3621 types to do nothing for.
3623 * lisp.h: declare new widget/subwindow symbols.
3625 * glyphs.c (image_instantiate): cache subwindows on a per-window
3627 (subwindow_possible_dest_types): new function for subwindow dest
3629 (subwindow_instantiate): generic instantiation of a
3630 subwindow. specialised by device multi-methods.
3631 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3633 (Fimage_instance_subwindow_id): ditto.
3634 (Fresize_subwindow): ditto.
3635 (Fforce_subwindow_map): ditto.
3637 * glyphs-x.c (x_print_image_instance): remove subwindow
3638 stuff. Handled genrically in glyphs.c.
3639 (x_image_instance_equal): ditto.
3640 (x_image_instance_hash): ditto.
3641 (x_finalize_image_instance): delete subwindows when required.
3642 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3643 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3644 glyph-based, subwindow implementation.
3645 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3647 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3649 (x_unmap_subwindow): new function to unmap X subwindows.
3650 (x_map_subwindow): new function to map X subwindows.
3651 (x_subwindow_instantiate): new function to instantiate X
3653 (x_resize_subwindow): new function to resize X subwindows.
3654 (console_type_create_glyphs_x): add subwindow functions.
3655 (image_instantiator_format_create_glyphs_x): add device
3656 multi-methods for xpm, xbm and subwindow.
3658 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3659 (subwindow-width): ditto.
3660 (subwindow-height): ditto.
3662 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3663 generally instantiating ms subwindows. Used by
3664 mswindows_*_instantiate.
3665 (mswindows_edit_instantiate): instantiate an edit field on a
3668 1998-11-04 Andy Piper <andy@xemacs.org>
3670 * symsinit.h: declare new functions.
3672 * redisplay.h: declare new functions.
3674 * redisplay-x.c (x_output_display_block): call
3675 redisplay_clear_region rather than x_clear_region.
3676 (x_output_string): ditto.
3677 (x_output_pixmap): ditto.
3678 (x_clear_to_window_end): ditto.
3679 (x_output_eol_cursor): ditto.
3680 (x_clear_region): only do X specific things. other duties handled
3681 in redisplay_clear_region.
3683 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3684 duties moved to redisplay_clear_region.
3686 * redisplay-output.c (clear_left_border): use
3687 redisplay_clear_region instead of device method.
3688 (clear_right_border): ditto.
3689 (output_display_line): ditto.
3690 (redisplay_output_subwindow): ditto.
3691 (redisplay_clear_top_of_window): ditto.
3692 (redisplay_clear_region): perform duties previously handled by
3693 device methods. call the appropriate device method at the
3694 end. unmap subwindows if necessary.
3696 * redisplay-msw.c (mswindows_output_string): use
3697 redisplay_clear_region instead of mswindows_clear_region.
3698 (mswindows_clear_to_window_end): ditto.
3699 (mswindows_output_display_block): output subwindows when required.
3700 (mswindows_clear_region): only do mswindows specific things,
3701 everything else is now handled in redisplay_clear_region.
3703 * gui.h: add item id hash defines and declare function prototypes.
3705 * gui.c (mark_gui_item): new function for marking gui_items.
3706 (gui_item_hash): generic hash function for generating command ids
3709 * gui-msw.c: new file.
3710 (mswindows_handle_gui_wm_command): new function to handle widget
3713 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3715 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3716 (DEFINE_DEVICE_IIFORMAT): ditto.
3717 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3718 (struct Lisp_Image_Instance): add widget and subwindow data plus
3719 appropriate access functions.
3721 * glyphs.c (decode_device_ii_format): new function for decoding
3722 image instantiator functions based on a device type as well as an
3724 (decode_image_instantiator_format): just call
3725 decode_device_ii_format with nil device.
3726 (add_entry_to_device_ii_format_list): new function for per device
3728 (add_entry_to_image_instantiator_format_list): just call
3729 add_entry_to_device_ii_format_list with nil device.
3730 (check_valid_vector): new function.
3731 (instantiate_image_instantiator): instantiate using per-format
3732 method and then per-format-per-device method (device
3733 multi-methods). signal an error if neither is possible.
3734 (mark_image_instance): cope with subwindows and widgets.
3735 (print_image_instance): ditto.
3736 (image_instance_equal): ditto.
3737 (image_instance_hash): ditto.
3738 (allocate_glyph): ditto.
3739 (glyph_width): ditto.
3740 (glyph_height_internal): ditto.
3741 (xpm_instantiate): removed because of device multi-methods.
3742 (mark_subwindow_cachels): new cachel functions for caching
3743 instantiated subwindows on a per-frame basis. mostly copied from
3744 glyph cachel functions.
3745 (update_subwindow_cachel_data): ditto.
3746 (add_subwindow_cachel): ditto.
3747 (get_subwindow_cachel_index): ditto.
3748 (reset_subwindow_cachels): ditto.
3749 (mark_subwindow_cachels_as_not_updated): ditto.
3750 (unmap_subwindow): generic unmapping of subwindows based on cachel
3752 (map_subwindow): ditto.
3753 (initialize_subwindow_image_instance): generic initialisation of
3755 (syms_of_glyphs): add widget keywords.
3757 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3760 1998-11-04 Andy Piper <andy@xemacs.org>
3762 * glyphs-widget.c: new file for instantiating widget type glyphs.
3763 (widget_possible_dest_types): new general dest type function for
3765 (widget_validate): ditto.
3766 (initialize_widget_image_instance): ditto
3767 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3768 before handing on control to device multi-methods.
3769 (syms_of_glyphs_widget): new function.
3770 (image_instantiator_format_create_glyphs_widget): new function,
3771 added placeholders for button, edit, combo, scrollbar
3772 (vars_of_glyphs_widget): new function.
3774 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3775 storing window ids of widgets.
3777 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3778 deletion of widget and subwindow glyphs.
3779 (mswindows_unmap_subwindow): new device function for unmapping
3780 subwindows on a msw frame.
3781 (mswindows_map_subwindow): ditto.
3782 (mswindows_register_image_instance): register instantiated widgets
3783 with the widget hastable.
3784 (mswindows_button_instantiate): instantiate a button type widget
3786 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3788 (image_instantiator_format_create_glyphs_mswindows): add device
3789 multi-methods for xbm, xpm, subwindow, edit and button.
3791 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3792 information about subwindows visible on the current frame. used by
3793 redisplay_clear_region to unmap subwindows as required.
3795 * frame.c (mark_frame): mark subwindow_cachels.
3796 (allocate_frame_core): instantiate subwindow_cachels.
3798 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3801 * event-msw.c (mswindows_wnd_proc): add call to
3802 mswindows_handle_gui_wm_command to handle widget callbacks.
3804 * emacs.c (main_1): add calls to glyphs-widget initialisation
3807 * console.h (struct console_methods): add
3808 unmap/map_subwindow_method for use be redisplay_clear_region to
3809 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3810 with by image instantiator multi-methods. Add
3811 resize_subwindow_method.
3813 * console-stream.c (stream_clear_region): change signature to
3814 match new generic clear region function.
3816 * Makefile.in.in: add glyphs-widget.o to list of objects.
3818 * console-msw.h (struct mswindows_frame): add widget hashtable for
3819 wiring command ids to callbacks.
3821 1998-12-16 Andy Piper <andy@xemacs.org>
3823 * XEmacs 21.2.6 is released
3825 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3827 * md5.c (Fmd5): Correctly initiate string input stream.
3829 * Makefile.in.in (tests): Add md5-tests.el.
3831 1998-12-06 Martin Buchholz <martin@xemacs.org>
3834 * alloc.c (make_vector): remove travesty
3838 (make_bit_vector_internal):
3840 (make_bit_vector_from_byte_vector):
3842 - make vector_equal a little faster.
3843 - Don't use variable name `new'.
3844 - Use size_t instead of EMACS_INT.
3845 - usual Martin-style pointless bit-twiddling.
3851 Make mapcar faster. In particular, make
3852 (mapc #'identity long-string)
3853 MUCH faster under Mule.
3854 * tests/automated/lisp-tests.el: Test 'em!
3856 1998-12-06 Martin Buchholz <martin@xemacs.org>
3858 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3861 1998-12-13 Martin Buchholz <martin@xemacs.org>
3863 * console-msw.c: Function definitions follow coding standards
3864 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3866 1998-12-11 Martin Buchholz <martin@xemacs.org>
3868 * events.h (struct timeout_data):
3869 * event-tty.c (tty_timeout_to_emacs_event):
3870 * event-msw.c (mswindows_wm_timer_callback):
3871 * event-Xt.c (Xt_timeout_to_emacs_event):
3872 * event-msw.c (mswindows_cancel_dispatch_event):
3873 Make sure Lisp_Objects inside events are initialized to Qnil, not
3874 Qnull_pointer, which is now illegal.
3876 1998-12-10 Martin Buchholz <martin@xemacs.org>
3878 * lisp.h: Fix up prototypes to match alloc.c
3880 1998-12-09 Andy Piper <andy@xemacs.org>
3882 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3883 XSETINT for assigning lisp objects.
3885 1998-12-07 Martin Buchholz <martin@xemacs.org>
3888 * console-msw.c (DHEADER):
3897 - max_align_t should not be visible to the user of the
3899 - use Bufbyte instead of char
3900 - parens around (FOOP (obj)) are always redundant.
3901 If they were necessary, we should fix the macro instead.
3902 - Always use string_data(foo) instead of foo->data.
3904 1998-12-07 Martin Buchholz <martin@xemacs.org>
3906 * sysdep.c (set_descriptor_non_blocking):
3907 Since O_NONBLOCK is now always #defined, make use of fcntl
3908 conditional on F_SETFL being defined.
3910 1998-12-09 Andy Piper <andy@xemacs.org>
3912 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3913 that got removed in the merge
3915 1998-11-30 Greg Klanderman <greg@alphatech.com>
3917 * dired.c (vars_of_dired): bugfix for previous conditionalization
3918 of user-name-completion on non- Windows NT.
3920 1998-12-08 Martin Buchholz <martin@xemacs.org>
3922 * windowsnt.h: Remove `support' for using index and rindex
3924 * filelock.c (current_lock_owner):
3925 - Change uses of index -> strchr, rindex -> strrchr
3927 1998-12-06 Martin Buchholz <martin@xemacs.org>
3929 * frame-msw.c (mswindows_init_frame_1):
3930 - use make_lisp_hash_table, not Fmake_hash_table
3933 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3935 * XEmacs 21.2.5 is released
3937 1998-11-30 Martin Buchholz <martin@xemacs.org>
3939 * xselect.c (receive_incremental_selection):
3940 * xselect.c (x_get_window_property):
3941 * xmu.c (XmuReadBitmapDataFromFile):
3942 * xmu.c (XmuCursorNameToIndex):
3943 * xgccache.c (describe_gc_cache):
3944 * xgccache.c (gc_cache_lookup):
3945 * xgccache.c (free_gc_cache):
3946 * xgccache.c (make_gc_cache):
3948 * window.c (map_windows_1):
3949 * window.c (Fother_window_for_scrolling):
3950 * window.c (window_scroll):
3951 * window.c (change_window_height):
3952 * window.c (Fsplit_window):
3953 * window.c (window_left_gutter_width):
3954 * window.c (window_modeline_height):
3955 * window.c (invalidate_vertical_divider_cache_in_window):
3956 * window.c (window_needs_vertical_divider_1):
3957 * window.c (update_mirror_internal):
3958 * window.c (SET_LAST_FACECHANGE):
3959 * widget.c (Fwidget_plist_member):
3960 * unexec.c (copy_text_and_data):
3961 * unexcw.c (copy_executable_and_dump_data_section):
3963 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3964 * tooltalk.c (struct Lisp_Tooltalk_Message):
3965 * toolbar.h (struct toolbar_button):
3966 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3967 * toolbar.c (recompute_overlaying_specifier):
3968 * toolbar.c (toolbar_validate):
3969 * toolbar.c (toolbar_button_at_pixpos):
3970 * toolbar.c (get_toolbar_coords):
3971 * toolbar.c (update_frame_toolbars):
3973 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3974 * toolbar-msw.c (mswindows_find_toolbar_pos):
3975 * toolbar-msw.c (mswindows_output_toolbar):
3976 * toolbar-msw.c (mswindows_clear_toolbar):
3985 * sysdep.c (sys_fopen):
3986 * sysdep.c (sys_open):
3987 * sysdep.c (tty_init_sys_modes_on_device):
3988 * sysdep.c (get_eof_char):
3989 * sysdep.c (child_setup_tty):
3990 * sysdep.c (set_descriptor_non_blocking):
3992 * syntax.c (scan_words):
3995 * symeval.h (struct symbol_value_varalias):
3996 * symeval.h (struct symbol_value_forward):
3997 * symbols.c (syms_of_symbols):
3998 * symbols.c (init_symbols_once_early):
3999 * symbols.c (Fbuilt_in_variable_type):
4000 * symbols.c (Fsymbol_value_in_buffer):
4001 * symbols.c (default_value):
4003 * symbols.c (find_symbol_value_quickly):
4004 * symbols.c (store_symval_forwarding):
4005 * symbols.c (set_default_console_slot_variable):
4006 * symbols.c (set_default_buffer_slot_variable):
4007 * symbols.c (verify_ok_for_buffer_local):
4008 * symbols.c (symbol_is_constant):
4009 * symbols.c (oblookup):
4010 * symbols.c (Funintern):
4011 * symbols.c (Fintern):
4012 * symbols.c (check_obarray):
4014 * specifier.h (struct specifier_methods):
4016 * specifier.c (specifier_instance):
4017 * specifier.c (specifier_instance_from_inst_list):
4018 * specifier.c (decode_locale_type):
4019 * specifier.c (specifier_equal):
4020 * specifier.c (finalize_specifier):
4021 * specifier.c (prune_specifiers):
4022 * specifier.c (kill_specifier_buffer_locals):
4023 * sound.c (init_native_sound):
4026 * search.c (Fmatch_data):
4027 * search.c (match_limit):
4028 * search.c (Freplace_match):
4029 * search.c (skip_chars):
4030 * search.c (scan_buffer):
4032 * scrollbar.c (specifier_vars_of_scrollbar):
4033 * scrollbar.c (Fscrollbar_set_hscroll):
4034 * scrollbar.c (vertical_scrollbar_changed_in_window):
4035 * scrollbar.c (release_window_mirror_scrollbars):
4036 * scrollbar.c (free_scrollbar_instance):
4039 * s/msdos.h (O_BINARY):
4041 * s/freebsd.h (LIBS_TERMCAP):
4042 * regex.c (re_match_2_internal):
4043 * regex.c (compile_extended_range):
4044 * regex.c (POP_FAILURE_POINT):
4045 * regex.c (PUSH_FAILURE_POINT):
4046 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4048 * redisplay.h (struct display_line):
4049 * redisplay.h (struct rune):
4050 * redisplay.c (vars_of_redisplay):
4051 * redisplay.c (redisplay_variable_changed):
4052 * redisplay.c (UPDATE_CACHE_RETURN):
4053 * redisplay.c (validate_line_start_cache):
4054 * redisplay.c (mark_redisplay_structs):
4055 * redisplay.c (mark_glyph_block_dynarr):
4056 * redisplay.c (window_line_number):
4057 * redisplay.c (redisplay_frame):
4058 * redisplay.c (redisplay_window):
4059 * redisplay.c (generate_modeline):
4060 * redisplay.c (create_right_glyph_block):
4061 * redisplay.c (create_left_glyph_block):
4062 * redisplay.c (create_text_block):
4064 * redisplay-x.c (x_output_hline):
4065 * redisplay-x.c (x_output_vertical_divider):
4066 * redisplay-tty.c (tty_output_display_block):
4067 * redisplay-output.c (output_display_line):
4068 * redisplay-output.c:
4069 * redisplay-msw.c (mswindows_output_vertical_divider):
4070 * redisplay-msw.c (mswindows_ring_bell):
4071 * redisplay-msw.c (mswindows_output_cursor):
4075 * puresize.h (RAW_PURESIZE):
4076 * profile.c (syms_of_profile):
4077 * profile.c (Fstart_profiling):
4078 * profile.c (sigprof_handler):
4081 * process.c (vars_of_process):
4082 * process.c (read_process_output):
4083 * process.c (get_process):
4085 * process-unix.c (unix_open_multicast_group):
4086 * process-unix.c (unix_get_tty_name):
4087 * process-unix.c (unix_send_process):
4088 * process-unix.c (unix_reap_exited_processes):
4089 * process-unix.c (unix_create_process):
4090 * process-unix.c (unix_init_process_io_handles):
4091 * process-unix.c (allocate_pty):
4093 * process-nt.c (nt_open_network_stream):
4094 * process-nt.c (nt_update_status_if_terminated):
4095 * process-nt.c (nt_finalize_process_data):
4097 * print.c (debug_short_backtrace):
4098 * print.c (debug_backtrace):
4099 * print.c (print_symbol):
4100 * print.c (print_internal):
4101 * print.c (print_cons):
4102 * print.c (Fwrite_char):
4103 * print.c (print_prepare):
4104 * print.c (canonicalize_printcharfun):
4105 * print.c (output_string):
4108 * opaque.c (allocate_managed_opaque):
4110 * offix.c (DndSetData):
4111 * objects.c (face_boolean_create):
4112 * objects.c (font_instantiate):
4113 * objects.c (font_create):
4114 * objects.c (color_create):
4115 * objects.c (finalize_font_instance):
4116 * objects.c (finalize_color_instance):
4118 * objects-x.c (x_font_instance_truename):
4120 * objects-x.c (x_initialize_font_instance):
4121 * objects-x.c (allocate_nearest_color):
4122 * objects-tty.c (tty_initialize_font_instance):
4123 * objects-tty.c (tty_initialize_color_instance):
4124 * objects-msw.c (mswindows_initialize_color_instance):
4125 * ntproc.c (syms_of_ntproc):
4126 * ntproc.c (Fwin32_set_process_priority):
4127 * ntproc.c (sys_spawnve):
4129 * ntheap.c (get_data_end):
4133 * nt.c (generate_inode_val):
4134 * nt.c (sys_rename):
4136 * mule-wnnfns.c (Fwnn_hinsi_number):
4137 * mule-wnnfns.c (Fwnn_yuragi):
4138 * mule-wnnfns.c (Fwnn_common_learn):
4139 * mule-wnnfns.c (Fwnn_suffix_learn):
4140 * mule-wnnfns.c (Fwnn_prefix_learn):
4141 * mule-wnnfns.c (Fwnn_okuri_learn):
4142 * mule-wnnfns.c (Fwnn_complex_conv):
4143 * mule-wnnfns.c (Fwnn_last_is_first):
4144 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4145 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4146 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4147 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4148 * mule-wnnfns.c (Fwnn_hinsi_list):
4149 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4150 * mule-wnnfns.c (Fwnn_dict_search):
4151 * mule-wnnfns.c (Fwnn_word_toroku):
4152 * mule-wnnfns.c (Fwnn_hindo_update):
4153 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4154 * mule-wnnfns.c (Fwnn_kakutei):
4155 * mule-wnnfns.c (Fwnn_begin_henkan):
4156 * mule-wnnfns.c (Fwnn_dict_comment):
4157 * mule-wnnfns.c (Fwnn_dict_add):
4158 * mule-wnnfns.c (Fwnn_open):
4159 * mule-mcpath.c (mc_getcwd):
4160 * mule-coding.c (vars_of_mule_coding):
4161 * mule-coding.c (convert_to_external_format):
4162 * mule-coding.c (encoding_marker):
4163 * mule-coding.c (decoding_marker):
4164 * mule-coding.c (Fcopy_coding_system):
4165 * mule-coding.c (Fmake_coding_system):
4166 * mule-coding.c (Fcoding_system_list):
4167 * mule-coding.c (Ffind_coding_system):
4168 * mule-coding.c (symbol_to_eol_type):
4170 * mule-charset.c (complex_vars_of_mule_charset):
4171 * mule-charset.c (vars_of_mule_charset):
4172 * mule-charset.c (Fset_charset_ccl_program):
4173 * mule-charset.c (struct charset_list_closure):
4174 * mule-charset.c (Ffind_charset):
4175 * mule-charset.c (make_charset):
4176 * mule-charset.c (non_ascii_valid_char_p):
4178 * mule-ccl.c (ccl_driver):
4179 * mule-canna.c (c2mu):
4180 * mule-canna.c (Fcanna_henkan_begin):
4181 * mule-canna.c (Fcanna_parse):
4182 * mule-canna.c (Fcanna_store_yomi):
4183 * mule-canna.c (Fcanna_touroku_string):
4184 * mule-canna.c (Fcanna_initialize):
4186 * menubar.c (menu_parse_submenu_keywords):
4187 * menubar-x.c (make_dummy_xbutton_event):
4188 * menubar-x.c (set_frame_menubar):
4189 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4192 * menubar-msw.c (mswindows_popup_menu):
4193 * menubar-msw.c (mswindows_update_frame_menubars):
4194 * menubar-msw.c (mswindows_handle_wm_command):
4195 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4196 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4197 * menubar-msw.c (update_frame_menubar_maybe):
4198 * menubar-msw.c (populate_or_checksum_helper):
4199 * menubar-msw.c (empty_menu):
4202 * marker.c (set_marker_internal):
4203 * marker.c (print_marker):
4206 * lstream.c (lisp_buffer_rewinder):
4207 * lstream.c (mark_lstream):
4209 * lrecord.h (struct lrecord_header):
4210 * lread.c (readevalloop):
4211 * lread.c (locate_file):
4212 * lread.c (locate_file_in_directory):
4213 * lread.c (Flocate_file):
4214 * lread.c (load_force_doc_string_unwind):
4215 * lread.c (ebolify_bytecode_constants):
4220 * linuxplay.c (linux_play_data_or_file):
4221 * linuxplay.c (audio_init):
4224 * keymap.c (describe_map):
4225 * keymap.c (describe_map_mapper):
4226 * keymap.c (Fdescribe_bindings_internal):
4227 * keymap.c (Fsingle_key_description):
4228 * keymap.c (map_keymap_sorted):
4229 * keymap.c (get_relevant_keymaps):
4230 * keymap.c (Flookup_key):
4231 * keymap.c (raw_lookup_key_mapper):
4232 * keymap.c (Fdefine_key):
4233 * keymap.c (Fevent_matches_key_specifier_p):
4234 * keymap.c (key_desc_list_to_event):
4235 * keymap.c (define_key_parser):
4236 * keymap.c (define_key_check_and_coerce_keysym):
4237 * keymap.c (keymap_submaps):
4238 * keymap.c (keymap_store_internal):
4239 * keymap.c (keymap_delete_inverse_internal):
4240 * keymap.c (keymap_store_inverse_internal):
4241 * keymap.c (print_keymap):
4242 * keymap.c (Lisp_Keymap):
4245 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4246 * insdel.c (make_gap):
4247 * input-method-xlib.c (get_XIM_input):
4248 * input-method-xlib.c (XIM_init_frame):
4253 * gui-x.c (button_item_to_widget_value):
4254 * gui-x.c (popup_selection_callback):
4255 * glyphs.h (struct image_instantiator_methods):
4256 * glyphs.c (mark_glyph_cachels):
4257 * glyphs.c (Fglyph_type):
4258 * glyphs.c (image_instantiate):
4259 * glyphs.c (image_create):
4260 * glyphs.c (make_image_instance_1):
4261 * glyphs.c (finalize_image_instance):
4263 * glyphs-x.c (finalize_subwindow):
4264 * glyphs-x.c (xface_validate):
4265 * glyphs-x.c (x_locate_pixmap_file):
4266 * glyphs-x.c (convert_EImage_to_XImage):
4268 * glyphs-msw.c (mswindows_resource_instantiate):
4269 * glyphs-msw.c (xpm_to_eimage):
4270 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4271 * glyphs-eimage.c (tiff_instantiate):
4272 * glyphs-eimage.c (png_instantiate):
4273 * glyphs-eimage.c (struct png_error_struct):
4274 * glyphs-eimage.c (gif_memory_storage):
4277 * getloadavg.c (getloadavg):
4280 * free-hook.c (log_gcpro):
4281 * free-hook.c (check_malloc):
4282 * free-hook.c (check_free):
4283 * free-hook.c (ROUND_UP_TO_PAGE):
4285 * frame.h (struct frame):
4287 * frame.c (change_frame_size_1):
4288 * frame.c (allocate_frame_core):
4290 * frame-x.c (x_focus_on_frame):
4291 * frame-x.c (x_init_frame_2):
4292 * frame-x.c (x_popup_frame):
4293 * frame-x.c (xemacs_XtPopup):
4295 * frame-x.c (Foffix_start_drag_internal):
4296 * frame-x.c (x_cde_destroy_callback):
4297 * frame-x.c (x_wm_hack_wm_protocols):
4298 * frame-tty.c (tty_frame_visible_p):
4299 * frame-msw.c (mswindows_make_frame_invisible):
4300 * frame-msw.c (mswindows_after_init_frame):
4301 * frame-msw.c (mswindows_init_frame_1):
4302 * fns.c (syms_of_fns):
4303 * fns.c (Fbase64_decode_string):
4305 * fns.c (Ffillarray):
4306 * fns.c (Fobject_plist):
4308 * fns.c (Fcanonicalize_lax_plist):
4309 * fns.c (Fcanonicalize_plist):
4310 * fns.c (Fplist_remprop):
4311 * fns.c (Fplist_get):
4312 * fns.c (advance_plist_pointers):
4313 * fns.c (internal_plist_put):
4314 * fns.c (Fnreverse):
4317 * fns.c (Fsubstring):
4318 * fns.c (Fbvconcat):
4320 * fns.c (length_with_bytecode_hack):
4321 * fns.c (print_bit_vector):
4323 * floatfns.c (Ffloor):
4325 * floatfns.c (in_float_error):
4326 * fileio.c (Ffile_modes):
4327 * fileio.c (Fexpand_file_name):
4328 * fileio.c (Fmake_temp_name):
4329 * fileio.c (Ffile_name_nondirectory):
4330 * fileio.c (Ffile_name_directory):
4332 * file-coding.c (vars_of_mule_coding):
4333 * file-coding.c (convert_to_external_format):
4334 * file-coding.c (encoding_marker):
4335 * file-coding.c (decoding_marker):
4336 * file-coding.c (Fcopy_coding_system):
4337 * file-coding.c (Fmake_coding_system):
4338 * file-coding.c (struct coding_system_list_closure):
4339 * file-coding.c (Ffind_coding_system):
4340 * file-coding.c (symbol_to_eol_type):
4342 * faces.h (struct face_cachel):
4343 * faces.c (vars_of_faces):
4344 * faces.c (face_property_was_changed):
4345 * faces.c (mark_face_cachels):
4346 * faces.c (temporary_faces_list):
4347 * faces.c (struct face_list_closure):
4349 * extents.h (struct extent):
4350 * extents.c (vars_of_extents):
4351 * extents.c (struct copy_string_extents_1_arg):
4352 * extents.c (add_string_extents_mapper):
4353 * extents.c (Fextent_property):
4354 * extents.c (Fset_extent_property):
4355 * extents.c (symbol_to_glyph_layout):
4356 * extents.c (properties_equal):
4357 * extents.c (print_extent):
4358 * extents.c (print_extent_1):
4359 * extents.c (extent_in_region_p):
4360 * extents.c (gap_array_make_gap):
4362 * events.h (struct Lisp_Event):
4364 * events.c (Fevent_properties):
4365 * events.c (format_event_object):
4366 * events.c (Fmake_event):
4367 * events.c (event_equal):
4368 * events.c (print_event):
4369 * events.c (mark_event):
4370 * event-stream.c ((read-char)
4371 * event-stream.c (vars_of_event_stream):
4372 * event-stream.c (syms_of_event_stream):
4373 * event-stream.c (Fset_recent_keys_ring_size):
4374 * event-stream.c (Fsit_for):
4375 * event-stream.c (Fnext_event):
4376 * event-stream.c (execute_help_form):
4377 * event-stream.c (maybe_kbd_translate):
4379 * event-msw.c (vars_of_event_mswindows):
4380 * event-msw.c (mswindows_wnd_proc):
4381 * event-msw.c (mswindows_need_event):
4382 * event-msw.c (mswindows_drain_windows_queue):
4383 * event-msw.c (mswindows_pump_outstanding_events):
4385 * event-msw.c (slurp_thread):
4386 * event-msw.c (struct ntpipe_slurp_stream):
4387 * event-msw.c (HANDLE_TO_USID):
4388 * event-Xt.c (emacs_Xt_handle_magic_event):
4389 * event-Xt.c (x_event_to_emacs_event):
4390 * event-Xt.c (x_reset_modifier_mapping):
4391 * event-Xt.c (x_reset_key_mapping):
4393 * eval.c (syms_of_eval):
4394 * eval.c (warn_when_safe):
4395 * eval.c (warn_when_safe_lispobj):
4396 * eval.c (Fbacktrace_frame):
4397 * eval.c (Fbacktrace):
4398 * eval.c (top_level_set):
4399 * eval.c (unbind_to_hairy):
4400 * eval.c (specbind_magic):
4401 * eval.c (specbind_unwind_wasnt_local):
4402 * eval.c (call2_trapping_errors):
4403 * eval.c (call1_trapping_errors):
4404 * eval.c (catch_them_squirmers_call2):
4405 * eval.c (call0_trapping_errors):
4406 * eval.c (run_hook_trapping_errors):
4407 * eval.c (catch_them_squirmers_eval_in_buffer):
4408 * eval.c (call4_in_buffer):
4409 * eval.c (call3_in_buffer):
4410 * eval.c (call2_in_buffer):
4411 * eval.c (call1_in_buffer):
4412 * eval.c (call0_in_buffer):
4413 * eval.c (run_hook):
4414 * eval.c (run_hook_with_args_in_buffer):
4417 * eval.c (do_autoload):
4418 * eval.c (un_autoload):
4419 * eval.c (Fautoload):
4420 * eval.c (Finteractive_p):
4421 * eval.c (Fcommand_execute):
4422 * eval.c (signal_quit):
4423 * eval.c (call_with_suspended_errors):
4424 * eval.c (signal_error):
4425 * eval.c (return_from_signal):
4426 * eval.c (Fcall_with_condition_handler):
4427 * eval.c (run_condition_case_handlers):
4428 * eval.c (condition_case_1):
4429 * eval.c (Funwind_protect):
4430 * eval.c (unwind_to_catch):
4431 * eval.c (internal_catch):
4432 * eval.c (Fmacroexpand_internal):
4433 * eval.c (Fuser_variable_p):
4434 * eval.c (Fdefconst):
4436 * eval.c (Ffunction):
4437 * eval.c (signal_call_debugger):
4438 * eval.c (call_debugger):
4441 * emacs.c (sort_args):
4445 * editfns.c (Fencode_time):
4446 * editfns.c (Fdecode_time):
4447 * editfns.c (Fuser_full_name):
4449 * editfns.c (save_excursion_restore):
4452 * doprnt.c (emacs_doprnt_1):
4453 * doc.c (verify_doc_mapper):
4454 * doc.c (Fsnarf_documentation):
4455 * doc.c (Fdocumentation):
4457 * dired.c (user_name_completion):
4458 * dired.c (Fdirectory_files):
4461 * dgif_lib.c (FreeSavedImages):
4462 * dgif_lib.c (DGifGetImageDesc):
4464 * device.h (struct device):
4465 * device.c (Fselect_device):
4466 * device.c (allocate_device):
4468 * device-x.c (Fx_keysym_on_keyboard_p):
4469 * device-x.c (Fx_valid_keysym_name_p):
4470 * device-x.c (x_IO_error_handler):
4471 * device-x.c (x_delete_device):
4472 * device-x.c (x_finish_init_device):
4473 * device-x.c (x_init_device):
4475 * device-msw.c (mswindows_init_device):
4477 * database.c (vars_of_database):
4478 * database.c (Fput_database):
4479 * database.c (Fopen_database):
4480 * database.c (berkdb_remove):
4481 * database.c (berkdb_put):
4482 * database.c (Fdatabasep):
4483 * database.c (print_database):
4485 * data.c (vars_of_data):
4486 * data.c (syms_of_data):
4487 * data.c (init_errors_once_early):
4488 * data.c (prune_weak_lists):
4489 * data.c (finish_marking_weak_lists):
4490 * data.c (print_weak_list):
4492 * data.c (Fstring_to_number):
4493 * data.c (Fnumber_to_string):
4494 * data.c (Findirect_function):
4497 * data.c (Fsubr_interactive):
4499 * data.c (Fkeywordp):
4502 * console.h (CONSOLE_NAME):
4504 * console.c (vars_of_console):
4505 * console.c (Fselect_console):
4507 * console-x.h (DEVICE_X_COLORMAP):
4508 * console-x.h (struct x_device):
4509 * console-x.c (x_device_to_console_connection):
4510 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4511 * console-tty.c (tty_init_console):
4513 * console-msw.h (struct mswindows_frame):
4516 * cmds.c (internal_self_insert):
4517 * cmds.c (Fforward_line):
4518 * cmds.c (Fforward_char):
4521 * chartab.c (mark_char_table_entry):
4523 * casefiddle.c (casify_word):
4524 * callproc.c (child_setup):
4525 * callproc.c (Fcall_process_internal):
4527 * callint.c (Fcall_interactively):
4529 * bytecode.c (execute_rare_opcode):
4530 * bytecode.c (execute_optimized_program):
4533 * buffer.h (BUFFER_REALLOC):
4534 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4535 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4537 * buffer.h (MAP_INDIRECT_BUFFERS):
4538 * buffer.h (CHECK_LIVE_BUFFER):
4539 * buffer.c (init_initial_directory):
4540 * buffer.c (complex_vars_of_buffer):
4541 * buffer.c (vars_of_buffer):
4542 * buffer.c (finish_init_buffer):
4543 * buffer.c (Fget_file_buffer):
4544 * buffer.c (Fbuffer_list):
4545 * buffer.c (mark_buffer):
4546 * balloon_help.c (balloon_help_move_to_pointer):
4547 * balloon_help.c (show_help):
4550 * alloc.c (garbage_collect_1):
4551 * alloc.c (sweep_strings):
4552 * alloc.c (sweep_compiled_functions):
4553 * alloc.c (sweep_bit_vectors_1):
4554 * alloc.c (sweep_vectors_1):
4555 * alloc.c (sweep_lcrecords_1):
4556 * alloc.c (tick_lcrecord_stats):
4557 * alloc.c (pure_string_sizeof):
4558 * alloc.c (mark_conses_in_list):
4559 * alloc.c (mark_object):
4560 * alloc.c (report_pure_usage):
4561 * alloc.c (make_pure_float):
4562 * alloc.c (make_pure_string):
4563 * alloc.c (free_managed_lcrecord):
4564 * alloc.c (mark_string):
4565 * alloc.c (noseeum_make_marker):
4566 * alloc.c (allocate_event):
4567 * alloc.c (Fbit_vector):
4568 * alloc.c (Fvector):
4569 * alloc.c (make_float):
4570 * alloc.c (Fmake_list):
4572 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4573 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4574 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4575 * alloc.c (dbg_constants):
4576 * alloc.c (gc_record_type_p):
4577 * alloc.c (free_lcrecord):
4578 * alloc.c (xmalloc):
4579 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4581 * Makefile.in.in (mostlyclean):
4582 * Makefile.in.in (external_client_xlib_objs_nonshared):
4583 * Makefile.in.in (temacs_link_args):
4584 * Makefile.in.in (release):
4585 * Makefile.in.in (dnd_objs):
4586 * Makefile.in.in (objs):
4587 * Makefile.in.in (PROGNAME):
4588 * EmacsShell.c: cast strings to (XtPointer)
4589 * EmacsFrame.c: cast strings to (XtPointer)
4591 - rewrite basic lisp functions for speed
4592 - rewrite bytecode interpreter for speed
4593 - rewrite list looping constructs for speed and safety using
4595 - use size_t where appropriate.
4596 - new hashtable implementation
4597 - cleanup implementation of opaques
4598 - opaques can now be purecopy'ed
4599 - move some cl functionality into C for speed.
4600 - remove last remaining VMS support
4602 - improve gdb/dbx debugger support
4603 - move pure.c back into alloc.c for performance
4604 - enable report_pure_usage() if --memory-usage-stats
4605 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4606 - don't use symbols with leading `_' or embedded `__'
4607 - globally cleanup duplicated semicolons `;;'
4608 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4610 - globally replace O_NDELAY with O_NONBLOCK.
4611 - globally replace CDISABLE with _POSIX_VDISABLE.
4612 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4613 - define (and maybe use!) STDERR_FILENO and friends.
4614 - add support for macros defined in C
4615 - `when', `unless', `not' and `defalias' now defined in C,
4616 so that they are universally available.
4617 - rename defvar_mumble to defvar_magic
4618 - rename RETURN__ to RETURN_SANS_WARNINGS
4619 - use consistent style of initial caps in error messages
4620 - implement last, butlast, nbutlast, copy-list in C.
4621 - provide typedefs for all struct Lisp_foo types
4622 - Lisp_Objects must be initialized to Qnil rather than 0.
4623 - make sure XEmacs runs (slowly) with always_gc == 1;
4624 - fast and safe LOOP_* macros
4625 - change calls to XSETOBJ to XSETFOO
4626 - replace calls to XSETINT by make_int()
4627 - plug up memory leaks
4628 - use style markobj (foo), not silly ((markobj) (foo))
4629 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4631 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4633 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4635 1998-11-28 SL Baur <steve@altair.xemacs.org>
4637 * XEmacs 21.2-beta4 is released.
4639 1998-11-27 SL Baur <steve@altair.xemacs.org>
4641 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4642 property in control-1 charset.
4643 From Julian Bradfield <jcb@daimi.au.dk>
4645 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4647 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4649 Add stub for :label.
4651 * gui.c (gui_item_add_keyval_pair): ditto.
4653 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4654 :key-sequence keyword.
4656 Support :active for submenus like the Windows code and FSF Emacs.
4658 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4660 * dired.c (make_directory_hash_table): make_string() is OK because
4661 readdir() Mule-encapsulates.
4663 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4665 * fns.c (Fbase64_encode_string): Fix docstring.
4666 (Fbase64_decode_string): Ditto.
4668 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4670 * editfns.c (Ftranslate_region): Use
4671 convert_bufbyte_string_into_emchar_string().
4673 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4675 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4677 (Ftranslate_region): Turn table into an array of Emchars for
4680 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4682 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4684 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4686 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4687 type `char' with nils.
4689 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4690 for tables of type `char'.
4692 1998-11-26 Didier Verna <verna@inf.enst.fr>
4694 * input-method-xlib.c (Initialize_Locale): don't call
4695 XtSetLanguageProc. We've done the whole work here.
4696 * input-method-xfs.c (Initialize_Locale): ditto.
4697 * input-method-motif.c (Initialize_Locale): ditto.
4699 1998-11-26 Didier Verna <verna@inf.enst.fr>
4701 * process-unix.c (unix_create_process): handle properly
4702 Vfile_name_coding_system for converting the program and directory
4705 1998-11-27 SL Baur <steve@altair.xemacs.org>
4707 * m/arm.h: New file.
4708 From James LewisMoss <dres@ioa.com>
4710 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4713 Fix the realpath() problem of UnixWare2.1.3.
4714 Patches for NEC's sysv4.2 machine.
4716 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4718 * dired.c (Fdirectory_files): Remove redundant code.
4720 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4722 * fns.c (free_malloced_ptr): New function.
4723 (XMALLOC_OR_ALLOCA): New macro.
4724 (XMALLOC_UNBIND): Ditto.
4725 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4726 to be freed in case of non-local exit.
4727 (Fbase64_encode_string): Ditto.
4728 (Fbase64_decode_region): Ditto.
4729 (Fbase64_decode_string): Ditto.
4730 (STORE_BYTE): New macro.
4731 (base64_decode_1): Use it.
4733 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4735 * fns.c (base64_value_to_char): Base64 stuff.
4737 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4739 * editfns.c (Fbuffer_substring): New function.
4741 * lisp.h: Declare make_string_from_buffer_no_extents().
4743 * insdel.c (make_string_from_buffer_1): New function.
4744 (make_string_from_buffer_no_extents): Ditto.
4746 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4748 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4749 sound work on AIX with OSS installed. Linux should still work.
4751 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4753 * config.h.in: name change for cygwin/version.h
4755 * configure.in: check for cygwin/version.h now.
4757 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4758 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4759 move cygwin32/version.h to cygwin/version.h
4761 1998-11-03 Olivier Galibert <galibert@pobox.com>
4763 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4766 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4768 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4769 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4770 enable BROKEN_SIGIO under b20 to make QUIT work.
4772 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4774 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4775 to fit within the constraints of the screen size. I.e. make the
4776 frame small enough to fit and move it if some of it will be
4779 1998-10-19 Greg Klanderman <greg@alphatech.com>
4781 * dired.c: conditionalize inclusion of user-name-completion
4782 primitives on non-Windows NT. The needed functions don't exist on NT.
4784 1998-11-24 SL Baur <steve@altair.xemacs.org>
4786 * gifrlib.h: Clean up types for 64 bit compile.
4787 * dgif_lib.c (DGifInitRead): Ditto.
4788 (MakeSavedImage): Ditto.
4789 * emacs.c (decode_path): Ditto.
4790 From Steve Carney <carney@pa.dec.com>
4792 1998-10-16 William M. Perry <wmperry@aventail.com>
4794 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4795 (cehckboxes instead of checkboxes).
4797 1998-10-15 SL Baur <steve@altair.xemacs.org>
4799 * XEmacs 21.2-beta3 is released.
4801 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4803 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4804 gnuclient. Otherwise, we run xemacs as we always did. This gets
4805 rid of the annoying DOS window when running gnuclient.
4807 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4809 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4810 HAVE_MS_WINDOWS typo.
4812 1998-10-13 SL Baur <steve@altair.xemacs.org>
4814 * process-unix.c (unix_send_process): Set closed flag on writable
4815 pipe after SIGPIPE is received and before we call deactivate_process.
4817 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4819 * window.c (Fset_window_start): respect narrowing when
4820 checking wheter start is at the beginning of a line.
4821 (Fset_window_buffer): Ditto
4822 Fixes repeatable crash in VM.
4824 1998-10-09 SL Baur <steve@altair.xemacs.org>
4826 * window.c (specifier_vars_of_window): Set default vertical
4827 divider width to 1 on ttys.
4829 1998-10-08 Martin Buchholz <martin@xemacs.org>
4834 Add <stddef.h> to get ptrdiff_t declaration
4836 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4838 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4839 is used for Motif or Lucid scrollbars under X.
4841 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4843 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4846 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4848 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4850 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4852 * s/cygwin32.h: more cygwin b20 reorganisation.
4854 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4856 * nas.c: Added necessary support functions to be able to handle
4857 WAVE files in memory, just like the support for SND files in
4860 1998-09-30 SL Baur <steve@altair.xemacs.org>
4862 * callproc.c (child_setup): Fix spelling typo.
4864 1998-09-29 SL Baur <steve@altair.xemacs.org>
4866 * XEmacs 21.2-beta2 is released.
4868 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4870 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4871 to prevent memory corruption in the case of jumping out of a series of
4872 nested match patterns. This is a rather brute force approach, though.
4874 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4876 * config.h.in: ditto.
4878 * s/cygwin32.h: rearrange declarations to cope with cygwin
4879 b20. Include cygwin32/version.h if it exists.
4881 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4883 * device-msw.c (mswindows_init_device): Call new
4884 mswindows_enumerate_fonts() function in objects-msw.c instead
4885 of font_enum_callback_1() to enumerate fonts.
4887 font_enum_callback_1() and _2() moved to objects-msw.c.
4889 * faces.c (complex_vars_of_faces): Make the mswindows default
4890 face font fully specified and provide some fallbacks.
4892 * objects-msw.c: font_enum_callback_1() and _2() moved here
4893 from objects-msw.c. Obtain the enumerated font's character
4894 sets by table lookup instead of using the locale-specific
4895 string provided by Windows.
4897 New public non-method mswindows_enumerate_fonts() that fills
4898 in the supplied mswindows device's font list.
4900 mswindows_initialize_font_instance: Use the supplied name
4901 variable instead of f->name when signalling errors. Match font
4902 weights and character sets using lookup tables which handle
4903 spaces instead of by frobbing.
4905 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4907 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4908 on the size of code fragments passed to run_in_other_process.
4910 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4911 the amount of memory to allocate in the other process.
4913 Removed sigkill_code_end(), sigint_code_end() and
4914 sig_enable_code_end() since they are now redundant.
4916 send_signal() and enable_child_signals(): Don't try to work
4917 out the end of the code fragments passed to
4918 run_in_other_process()
4920 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4922 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4925 * src/unexelf.c: Partially synched with FSF's 20.3.
4927 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4929 * insdel.c (signal_after_change): Map across indirect buffers
4930 here, and not in the upper-level functions.
4931 (signal_first_change): Don't check for Armageddon.
4932 (signal_before_change): Map across indirect buffers here.
4933 (prepare_to_modify_buffer): ...and here.
4935 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4937 * insdel.c (signal_after_change): Add return value.
4938 (buffer_insert_string_1): Use it.
4939 (buffer_delete_range): Ditto.
4940 (buffer_replace_char): Ditto.
4941 (cancel_multiple_change): Map the indirect buffers.
4943 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4945 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4946 (uninit_buffer_text): Ditto.
4948 * buffer.c (Fmake_indirect_buffer): Implement stricter
4951 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4953 * insdel.c (change_function_restore): Reverse order of
4954 function-call and assignment.
4955 (first_change_hook_restore): Ditto.
4957 * extents.c (mark_extent_auxiliary): Mark them.
4958 (Fset_extent_property): Set them.
4959 (Fextent_property): Get them.
4960 (Fextent_properties): Ditto.
4961 (vars_of_extents): Set their default.
4963 * extents.h (struct extent_auxiliary): Add before_change_functions
4964 and after_change_functions.
4966 * insdel.c (signal_before_change): Use it.
4967 (signal_after_change): Ditto.
4969 * extents.c (report_extent_modification): New function.
4971 * insdel.c (signal_before_change): Don't check for Armageddon.
4972 (signal_after_change): Ditto.
4974 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4976 * redisplay.c (redisplay_window): make sure a new starting point
4977 is chosen if it somehow got moved from the beginning of the line
4978 -- this can happen because Fwiden was called recently.
4980 * window.c (Fset_window_start): set start_at_line_beg correctly
4981 (Fset_window_buffer): Ditto
4983 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4985 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4986 (uninit_buffer_text): Ditto.
4988 * buffer.c (Fmake_indirect_buffer): Implement stricter
4991 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4993 * emacs.c (main_1): Removed references to *vars_of_filelock.
4995 * lisp.h: Added Fsystem_name.
4997 * filelock.c: Replaced by version from FSF 20.2. Now implements
4998 locking by using symlinks which is NFS safe. However keep the
4999 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5000 version (and of course use ansi C, acessor macros, etc).
5002 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5004 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5005 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5006 in init_signals_very_early. However these should not be passed
5007 on to children attached to the new pty.
5009 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5011 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5013 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5015 * fileio.c (file-name-directory, file_name_as_directory):
5016 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5018 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5020 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5022 * ralloc.c: uncomment __morecore.
5024 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5026 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5027 WriteFile() to fix a winsock 1.x bug on Win95.
5029 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5031 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5033 (x_event_to_emacs_event): Ditto.
5034 (emacs_Xt_handle_focus_event): Ditto.
5035 (emacs_Xt_handle_magic_event): Ditto.
5037 * console-x.h (struct x_device): New flag being_deleted.
5038 (DEVICE_X_BEING_DELETED): New macro.
5040 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5041 returning. Before doing that, set the being_deleted flag on the
5044 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5046 * device-x.c (x-seppuku-on-epipe): Removed.
5048 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5050 * frame-x.c (x_delete_frame): Flush the X output buffer after
5051 calling XtDestroyWidget to ensure that the windows are really
5054 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5056 * menubar-x.c (my_run_hook): New unused function.
5057 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5058 since we ignore the results of the contained functions anyway.
5060 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5062 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5063 interlaced GIF files that are smaller than 4 lines high...
5065 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5067 * buffer.c (map_over_sharing_buffers): Deleted.
5069 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5071 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5074 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5076 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5078 (buffer_delete_range): Ditto.
5080 * marker.c (init_buffer_markers): Set point-marker to the value of
5081 point in an indirect buffer.
5083 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5085 * undo.c (undo_prelude): Test last-undo-buffer against base
5088 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5090 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5092 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5094 * insdel.c (init_buffer_text): Initialize it here.
5096 * line-number.c: Address line_number_cache through buffer->text.
5098 * buffer.c (mark_buffer): Mark line number cache.
5100 * bufslots.h (line_number_cache): Move to struct buffer_text.
5102 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5103 across the children buffers.
5104 (buffer_delete_range): Ditto.
5105 (buffer_replace_char): Ditto.
5109 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5111 * buffer.c (Fmake_indirect_buffer): Uncomment.
5113 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5115 * macros.c (Fend_kbd_macro): Remove trailing period from error
5117 (Fexecute_kbd_macro): Ditto.
5119 1998-08-21 Greg Klanderman <greg@alphatech.com>
5121 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5122 (Fuser_name_completion_1): new function to return uniqueness
5123 indication in addition to the user name completion.
5124 (user_name_completion): change type of `uniq' argument.
5126 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5128 * lread.c (vars_of_lread): Removed `source-directory' variable.
5130 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5132 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5135 1998-08-19 SL Baur <steve@altair.xemacs.org>
5137 * dired.c (vars_of_dired): Fix misapplied patch.
5139 1998-08-16 Martin Buchholz <martin@xemacs.org>
5141 * fns.c (Fremrassq, remrassq_no_quit):
5142 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5144 1998-07-17 Didier Verna <verna@inf.enst.fr>
5146 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5147 style as foreground GC for faces that have the `dim' property.
5148 (x_output_string): when the `dim' face property is set,
5149 ensure the gray pixmap has been created, and get a proper
5150 foreground GC to draw the text.
5152 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5154 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5155 Manually track the state of the left and right Ctrl and Alt
5158 1998-08-07 Matt Stupple <matts@tibco.com>
5160 * ntproc.c: don't wait on char_consumed at thread entry.
5161 Additionally, to get the 'process' marked as finished, ensure
5162 that the CHILD_ACTIVE macro returns false, so before exiting
5163 close char_avail and set it to NULL, and close other handles
5164 to reduce handle leak problems.
5166 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5168 * menubar-msw.c (displayable_menu_item): take account of menu
5169 depth when deciding whether to try to display accelerators.
5171 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5173 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5176 * glyphs-msw.c: fix a couple of potential handle leaks.
5178 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5180 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5181 *decoding ONLY* back into the core.
5182 * glyphs-eimage.c: Change referenced header file for GIF
5183 reading to point to the incore version.
5185 1998-07-20 Martin Buchholz <martin@xemacs.org>
5187 * casefiddle.c (casify_object):
5188 Change algorithm from O(N**2) to O(N).
5192 1998-07-22 Greg Klanderman <greg@alphatech.com>
5194 * dired.c (file_name_completion_unwind): don't leak the cons.
5196 1998-07-20 Greg Klanderman <greg@alphatech.com>
5198 * dired.c (Fuser_name_completion): new function.
5199 (Fuser_name_all_completions): new function.
5200 (user_name_completion): new function.
5201 (syms_of_dired): 2 new DEFSUBRs.
5202 (vars_of_dired): initialize user name cache vars.
5204 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5206 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5207 colors taken from the default face. Also correct a thinko in
5208 transparency (not alpha) handling.
5210 1998-07-23 Martin Buchholz <martin@xemacs.org>
5212 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5213 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5214 * lread.c (Fload_internal): Be very careful with printfs of
5216 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5219 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5221 * callint.c (Fcall_interactively): GCPRO prompt string before
5222 passing it to Fread_key_sequence
5224 1998-07-27 SL Baur <steve@altair.xemacs.org>
5226 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5227 Vvertical_divider_map.
5229 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5230 Qnil or 0, none were initialized prior to this change.
5232 Rename misnamed `V' prefixed integer variables:
5233 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5234 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5235 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5236 Vcanna_ichiran_revLen.
5238 Rename misnamed `V' prefixed integer variables and initialize
5239 properly in the vars_of routine.
5240 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5241 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5242 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5243 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5244 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5245 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5246 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5247 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5248 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5249 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5250 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5251 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5252 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5253 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5254 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5255 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5256 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5257 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5258 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5259 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5260 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5261 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5262 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5263 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5264 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5265 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5266 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5267 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5268 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5269 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5270 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5271 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5272 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5273 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5274 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5275 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5276 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5277 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5278 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5279 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5280 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5281 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5282 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5283 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5284 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5285 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5287 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5289 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5290 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5291 keys thus no longer considering all keysyms on a key.
5293 1998-07-19 SL Baur <steve@altair.xemacs.org>
5295 * XEmacs 21.2-beta1 is released.
5297 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5299 * eldap.c (Fldap_search_internal): When converting the list of
5300 attributes to search Copy the final 0 from Lisp strings to C
5302 Check base, not Vldap_default_base as a a string
5304 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5306 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5308 * unexnt.c: Unconditionally define bss_start and bss_size, and
5309 ensure that they don't go in the .bss section.
5311 1998-07-17 Olivier Galibert <galibert@pobox.com>
5313 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5314 byte order is dependant of the local byte order).
5315 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5317 1998-07-18 SL Baur <steve@altair.xemacs.org>
5319 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5320 Qmswindows_resource.
5321 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5323 1998-07-12 SL Baur <steve@altair.xemacs.org>
5325 * general.c (syms_of_general): Add defsymbol for Qresource.
5327 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5328 Qmswindows_resource.
5329 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5330 (mswindows_resource_validate): Rename.
5331 (mswindows_resource_normalize): Rename.
5332 (mswindows_resource_possible_dest_types): Rename.
5333 (mswindows_resource_instantiate): Rename.
5334 (image_instantiator_format_create_glyphs_mswindows): Replace
5335 `resource' with `mswindows.resource'.
5337 * XEmacs 21.0-pre5 is released.
5339 1998-07-10 SL Baur <steve@altair.xemacs.org>
5341 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5342 server type in environment.
5343 Use alloca-ed strings instead of tiny fixed size ones.
5345 1998-07-09 SL Baur <steve@altair.xemacs.org>
5347 * XEmacs 21.0-pre4 is released.
5349 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5351 * fileio.c: (expand_file_name): under win32: Don't treat names
5352 as UNC names if a drive letter has been specified. If a drive
5353 has been specified, strip out extra directory-seperators that
5354 reportedly cause problems under Win95.
5356 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5358 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5359 MSVC >= 5.0. Put emacs init and zero-init data in a special
5360 section of the executable when this is defined.
5362 * unexnt.c, ntheap.h:
5363 Removed unused find_section() and get_section_size().
5366 Fix up the executable's checksum after dumping otherwise the
5368 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5369 zero-init data separately from init data. Dump emacs data
5370 into a special section of the executable.
5371 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5372 my_ebss instead of up to the end of bss.
5374 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5376 * filelock.c: Removed Vconfigure_lock_directory - already
5379 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5380 defined in frame.c and general.c respectively.
5382 * glyphs-msw.c: Removed Qresource - already defined in
5385 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5387 * eldap.c (Fldap_search_internal): Docstring fixes
5389 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5391 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5392 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5393 EMACSPACKAGEPATH and INFOPATH variables.
5394 Removed unused get_emacs_configuration function.
5396 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5397 it is now defined at build-time by the makefile.
5399 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5401 * fileio.c: (expand_file_name): under win32: Don't treat names as
5402 UNC names if a drive letter has been specified. If a drive has
5403 been specified, strip out extra directory-seperators that
5404 reportedly cause problems under Win95.
5406 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5408 * faces.c (complex_vars_of_faces): for the gui-element face don't
5409 fallback to the default face, instead provide reasonable default
5410 fallbacks that were previously hardcoded elsewhere.
5412 1998-07-06 Olivier Galibert <galibert@pobox.com>
5414 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5415 when the X server endianness is different than the client's one.
5417 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5419 * eval.c (run_hook_with_args_in_buffer): Check
5420 default (non-buffer-local) value of hook for
5421 nil before treating it as a function. Don't initialize
5422 the `globals' variable twice.
5424 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5426 * fileio.c: Don't do directory seperator canonicalisation in
5427 substitute-in-file-name because we don't know that the
5428 filename refers to a local file.
5430 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5432 * process-nt.c (nt_create_process): Try appending the standard
5433 executable file extensions to the filename if none supplied.
5435 1998-06-29 SL Baur <steve@altair.xemacs.org>
5437 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5439 From Keisuke Mori <ksk@ntts.com>
5441 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5443 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5444 images if we have masks. This handles the xbm case (have masks)
5445 and avoids overuse of resources in the xpm case (generally no masks).
5446 Don't output small toolbars.
5448 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5450 * eval.c (run_hook_with_args_in_buffer): Don't treat
5451 the default value of a buffer local hook as a list of
5452 hooks unless it is both a cons and the car of that cons
5455 1998-06-29 SL Baur <steve@altair.xemacs.org>
5457 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5458 * process-unix.c: Ditto.
5459 * mule-coding.h: Ditto.
5460 * mule-coding.c: Ditto.
5461 * mule-charset.c: Ditto.
5462 * mule-charset.h: Ditto.
5463 * file-coding.c: Ditto.
5464 * file-coding.h: Ditto.
5466 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5468 * event-msw.c: Guard against recursion when freeing
5469 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5471 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5472 Call ShowWindow twice in init_frame_3 to get round runemacs
5475 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5477 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5479 * winslots.h: Rename.
5481 * window.c (specifier_vars_of_window): Renamed
5482 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5483 as suggested by Ben Wing.
5484 (specifier_vars_of_window): Fix docstrings.
5486 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5488 * unexaix.c: Line number information works correctly again.
5490 1998-06-22 Olivier Galibert <galibert@pobox.com>
5492 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5494 1998-06-21 Martin Buchholz <martin@xemacs.org>
5496 * editfns.c (get_home_directory): ANSIfy.
5497 XEmacs is compilable under C *and* C++.
5498 It's XEmacs, not Xemacs!
5500 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5502 * console-msw.h: added a list of fonts to device data.
5504 * device-msw.c: enumerate list of available fonts in
5505 mswindows_init_device. Free list in mswindows_delete_device.
5507 * objects-msw.c: Added helper function match_font used by
5508 mswindows_initialize_font_instance and mswindows_list_fonts.
5509 Allow a charset to be specified in a font string, even if
5510 previous fields havn't been specified.
5512 1998-06-23 Greg Klanderman <greg@alphatech.com>
5514 * indent.c (column_at_point): column cache bugfix.
5515 Set last_known_column_point to the buffer position for
5516 which the column was requested, not buffer's point.
5518 * redisplay.c (decode_mode_spec): for current-column, show
5519 window's point's column, not buffer's point's column.
5521 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5523 * menubar-msw.c (mswindows_handle_wm_command): use
5524 enqueue_misc_user event rather than
5525 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5528 * console-msw.h: declare mswindows_enqueue_magic_event.
5530 * event-msw.c (mswindows_enqueue_magic_event): make global.
5532 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5534 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5535 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5536 (add_position_to_cache): Use EMACS_INT instead of int.
5538 1998-06-21 Olivier Galibert <galibert@pobox.com>
5540 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5541 suitable for an int used as a boolean (btw, C sucks.).
5543 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5545 * object-msw.c: remove warnings.
5547 * device-msw.c: #define wrongly named cygwin structure elements.
5549 * s/cygwin32.h: define DEMI_BOLD
5551 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5553 * redisplay-msw.c: new function mswindows_apply_face_effects.
5554 This is called by output_string and output_cursor to display
5555 underline and strikeout on faces.
5557 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5559 * console-msw.h: added a list of fonts to device data.
5561 * device-msw.c: enumerate list of available fonts in
5562 mswindows_init_device. Free list in mswindows_delete_device.
5564 * objects-msw.c: Added helper function match_font used by
5565 mswindows_initialize_font_instance and mswindows_list_fonts.
5566 Allow a charset to be specified in a font string, even if
5567 previous fields havn't been specified.
5569 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5572 Removed compilation warnings from mswindows_string_to_color.
5573 mswindows_list_fonts returns a more general bogus font.
5574 New lisp-visible function mswindows-color-list.
5576 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5578 * editfns.c (Fuser_login_name): Modify to user new function
5580 (user_login_name): C only function to avoid Lisp object overhead
5581 Returns "unknown" instead of nil in Cygwin environment
5583 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5584 equivalent for current user in Cygwin environment. Use new
5585 function user_login_name to get username.
5587 * lisp.h: Declare user_login_name
5589 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5591 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5593 Some other insignificant nitpicks.
5595 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5597 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5598 creating the image list and make sure he bk color is transparent.
5600 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5602 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5603 completed_timeouts. The timer could have expired.
5605 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5607 * console-msw.h: move XEMACS_RECT_WH inside frame
5608 parameters. define macors to access it.
5610 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5611 parameter to intialise desired sizing. (mswindows_init_frame_2):
5612 enable and size the frame to something sensible when we get
5613 here. (mswindows_set_frame_properites): use new
5614 mswindows_size_frame_internal function and size frame if frame
5615 parameters not just if init is finished - WM_SIZE happens too
5616 early for some specs. (mswindows_size_frame_internal): new
5617 function abstracted from mswindows_set_frame_properties.
5618 (Vmswindows_use_system_frame_size_defaults):
5619 new variable controls whether to allow the system to pick frame
5620 size defaults, defaults to nil.
5622 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5623 than duplicated code.
5625 1998-06-15 Colin Rafferty <colin@xemacs.org>
5627 * Makefile.in.in: Made EXTW_LINK expand properly.
5629 1998-06-12 Martin Buchholz <martin@xemacs.org>
5631 * redisplay.c (vars_of_redisplay): default value of
5632 column-number-start-at-one should be NIL!
5634 1998-06-11 Martin Buchholz <martin@xemacs.org>
5637 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5639 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5641 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5642 build_string to avoid crashes under Mule.
5644 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5646 * ntplay.c (play_sound_data_1): don't delete the sound data until
5647 the next sound is played and the previous one finished.
5649 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5651 * fileio.c (directory-sep-char): Escape backslashes.
5653 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5655 * event-stream.c: Fix docstring reference.
5657 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5659 * alloc.c (make_float): Remove useless initialization of `next'
5661 (make_pure_float): Ditto.
5663 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5665 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5667 * fileio.c (Fmake_directory_internal): Remove conditionals
5668 on WINDOWSNT when calling mkdir.
5670 * ntproc.c: Deleted the following unused functions:
5671 register_child, reap_subprocess, sys_wait.
5673 * nt.c (sys_rename): Ifzeroed this implementation.
5674 Deleted the following unused functions:
5675 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5676 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5677 sys_read, sys_write.
5678 Merger sys_fopen and sys_open with sysdep.c implementation.
5680 * sysdep.c: Removed MS-DOS code.
5681 (sys_rename): Deal with Microsoft rename weirdness.
5682 (sys_open): Implemented for Windows.
5686 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5688 * buffer.c (complex_vars_of_buffer): Removed %t description from
5691 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5693 * scrollbar-msw.c: initialize the cbSize element of the
5694 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5695 to ignore the value of cbSize, but Win95 (and I presume Win98)
5696 appear to want it set to sizeof(SCROLLINFO).
5698 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5700 * event-stream.c: Defined Qcancel_mode_internal.
5701 (syms_of_event_stream): defsymbol'ed it.
5703 * events.h: Externed it.
5705 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5707 1998-06-04 Oliver Graf <ograf@fga.de>
5709 * frame-x.c (x_cde_destroy_callback): free the data
5710 (cde-start-drag-internal) corrected root position, 21.1 needs this
5711 hardcoded in Button events
5712 (offix-start-drag-internal) corrected root position
5714 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5716 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5719 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5721 * dialog-msw.c (button_width): Removed `inline' from the function
5724 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5726 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5727 Note that adding this flag to subsequent frames causes problems.
5729 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5731 * glyphs-eimage.c (png_instantiate) move 'struct
5732 png_memory_storage tbr' out of nested block to avoid dangling
5735 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5738 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5739 inherits from gui-element.
5741 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5742 with existing code, generate masks correctly.
5744 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5746 * glyphs-eimage.c: Changed included header for gifs to use
5747 Gifreader instead of giflib.
5749 * glyphs-x.c: removed the image-related functions that were
5750 moved into glyphs-eimage.
5752 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5754 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5755 if built without X Windows support.
5757 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5759 * fns.c (Fconcat): Synch docstring with new reality.
5761 1998-06-03 SL Baur <steve@altair.xemacs.org>
5763 * frame.c: Remove reference to msdos.h (which is going away).
5764 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5766 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5768 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5772 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5774 * events.h: Fixed commentary about misc-user scrollbar events.
5776 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5777 object as an event channel, instead of window object.
5778 (x_update_horizontal_scrollbar_callback): Ditto.
5780 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5782 * ntplay.c (play_sound_data_1) new function. convert alloca data
5783 to malloc if necessary.
5784 (play_sound_file): if the file is not in our path then convert to
5787 1998-06-01 SL Baur <steve@altair.xemacs.org>
5789 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5790 * msdos.c (Frecent_doskeys): Ditto.
5792 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5793 Suggested by Reggie Perry <perry@zso.dec.com>
5795 * buffer.h: Eliminate size in declaration.
5797 1998-06-01 Olivier Galibert <galibert@pobox.com>
5799 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5801 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5803 * gui.c (gui_item_init): Changed the default value for config member
5804 from Qunbound to Qnil.
5806 1998-06-01 Greg Klanderman <greg@alphatech.com>
5808 * indent.c (vmotion_pixels): Don't #define abs().
5810 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5812 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5815 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5817 * glyphs.h: add xbm declarations.
5819 * console.h: add xbm_instantiate_method device method.
5821 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5822 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5823 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5824 locate_pixmap_file device method and read_bitmap_data_from_file
5825 instead of XmuReadBitmapDataFromFile.
5826 (xbm_instatntiate): make a device method.
5828 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5829 new function that just calls XmuReadBitmapDataFromFile.
5830 (x_xbm_instatntiate): device method from xbm_instantiate.
5832 * glyphs-msw.c (read_bitmap_data) (NextInt)
5833 (read_bitmap_data_from_file): new functions copied from Xmu
5835 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5836 inline data to an mswindows bitmap.
5837 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5838 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5841 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5843 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5844 `modeline-visible-p'.
5845 Declared specifier lisp variables at the beginning oh the file
5848 * procimpl.h (struct process_methods): Changed semantics of
5849 create_process method so it accepts lisp strings instead of
5852 * process.c (Fstart_process_internal): Moved building of
5853 unix style argv from here to process-unix.c, ...
5855 * process-unix.c (unix_create_process): ... right here.
5857 * process-nt.c (nt_create_process): Changed this function to
5858 support new semantics, so avoided a GC problem.
5860 * events.c (Fmake_event): Document misc-user events properties.
5861 (Fmake_event): Do not allow arbitrary objects for channel property
5862 of misc-user events.
5863 (Fmake_event): Change misc-user event validation: it is function
5864 which is required, not button.
5866 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5868 (mswindows_enqueue_misc_user_event): Added function.
5869 (mswindows_bump_queue): Removed function.
5870 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5871 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5872 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5873 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5874 really nothing, which is my personal favorite thing.
5876 * console-msw.h: Removed prototype for mswindows_bump_queue().
5877 Added prototype for mswindows_enqueue_misc_user_event().
5879 * menubar-msw.c (mswindows_handle_wm_command): Use
5880 mswindows_enqueue_misc_user_event().
5882 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5884 * dialog-msw.c (dialog_proc): Ditto.
5886 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5887 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5888 user events channel.
5890 1998-05-29 Greg Klanderman <greg@alphatech.com>
5892 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5893 incorrect semantics of vmotion_pixels which has been fixed. don't
5894 use it anymore as it can't easily be used.
5896 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5897 the motion was reported incorrectly if you tried to go past end of
5900 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5902 * toolbar.h: Removed misleading commentary, as Martin suggested.
5904 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5906 * lisp.h: Extern Qactivate_menubar_hook.
5908 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5911 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5913 * glyphs-msw.c: use BPLINE macro.
5915 * select-msw.c (mswindows-selection-exists-p)
5916 (mswindows-delete-selection): doc string fixes.
5918 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5919 unpressable. warning elimination.
5921 1998-05-28 Martin Buchholz <martin@xemacs.org>
5923 * alloc.c (dbg_constants):
5926 Remove toolbar_data debugging code, since that lrecord has
5929 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5931 * alloc.c: zap cached value of (user-home-directory), so that
5934 * buffer.c: From init_buffer(), separated out code that
5935 determined the initial directory for the *scratch* buffer, and
5936 put them into a function called "init_initial_directory()".
5937 The initial directory is now available as a global "char *"
5938 called initial_directory.
5940 * buffer.h: Added extern entries for initial_directory[] and
5941 init_initial_directory().
5943 * editfns.c: added new elisp function "user-home-directory",
5944 which basically returns getenv("HOME"), but attempts to use
5945 other values if $HOME isn't set.This may have to be tweaked in
5946 the future as, under Unix, "/" is used if $HOME isn't set (this
5947 probably should be set to the current directory). To support
5948 this, a new C function, "get_home_directory()", now exists,
5949 which returns the "home directory", as a "char *" string.
5951 * emacs.c: Rearrange NT initialization order so that
5952 environment/registry variables will be properly entered into
5953 Vprocess_enviroment.
5955 * fileio.c: replaced egetenv("HOME") with calls to the new
5956 get_home_directory().
5958 * lisp.h: Added function prototypes for uncache_home_directory()
5959 and get_home_directory(), along with lisp prototypes for
5960 Fuser_home_directory() and friends.
5962 * nt.c: replaced getenv("HOME") with calls to the new
5963 get_home_directory().
5965 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5966 warnings about getcwd(), etc. not having prototypes.
5968 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5970 * process-nt.c (send_signal): Emulate SIGHUP.
5971 (validate_signal_number): Ditto.
5973 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5974 remove MOD_SHIFT from ASCII characters.
5975 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5978 1998-05-24 Oliver Graf <ograf@fga.de>
5980 * frame-x.c (cde-start-drag-internal): added filename and multi-
5982 (x_cde_convert_callback) dito
5984 1998-05-26 Oliver Graf <ograf@fga.de>
5986 * frame-x.c: include event-mod.h also with CDE
5987 (x_cde_convert_callback) made the thing working
5988 (cde-start-drag-internal) also debugging
5990 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5997 - add __OpenBSD__ where __NetBSD__ was found.
5998 - TODO: replace platform-specific conditional compilation by
5999 feature tests in configure.in.
6001 1998-05-15 Greg Klanderman <greg@alphatech.com>
6003 * window.c (Fwindow_displayed_text_pixel_height): New function.
6004 (syms_of_window): DEFSUBR it.
6006 * indent.c (Fvertical_motion_pixels): New function - request
6008 (vmotion_pixels): helper.
6009 (syms_of_indent): DEFSUBR.
6010 * lisp.h: declaration for vmotion_pixels().
6012 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6013 to request returning motion in pixels.
6014 (Fvertical_motion_pixels): Remove, functionality merged into
6016 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6017 (Fmove_to_window_line): ditto.
6018 * lisp.h: Change declaration for Fvertical_motion.
6020 * window.c: rename window-text-pixel-{height,width,edges} to
6021 window-text-area-pixel-*.
6023 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6025 * tooltalk.c (vars_of_tooltalk) added staticpro for
6026 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6028 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6030 * faces.c: create a new 3d_object_face, make modeline and
6031 vertical_divider faces fallback to this rather than the default.
6033 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6035 * s/cygwin32.h: define charsets for cygwin.
6037 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6039 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6040 and coordinates. resize bitmaps if we have already settled on a
6043 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6045 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6047 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6049 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6053 * gui-x.c (popup_selection_callback): Ditto.
6055 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6057 * gui.c (get_callback): Renamed to get_gui_callback.
6059 1998-05-17 Martin Buchholz <martin@xemacs.org>
6061 * glyphs.h: order rearrangement.
6063 * device-tty.c (tty_asynch_device_change): Warning suppression.
6064 * device-x.c (x_device_system_metrics): Warning suppression.
6065 Make Doc strings consistent with coding standards.
6067 1998-05-24 Martin Buchholz <martin@xemacs.org>
6069 * general.c: multiple definition of `Qicon'. general.c seems
6070 like a good home for Qicon.
6072 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6074 * This patch is to fix compilation warnings under Windows.
6076 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6077 Added prototypes for FSF inherited functions, with which XEmacs is
6078 sprinkled thoroughly.
6079 Removed some #if 0 code. Bracketed some more definitions, probably
6080 related to Visual C versions prior to 4 (we do not support them).
6082 * sysfloat.h (logb): Finally, get logb() prototyped.
6084 * sysfile.h: Added Windows specific includes.
6085 Removed old Windows specific code bracketed with #if 0.
6087 * sysdep.h: Added prototype for xrealpath().
6089 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6091 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6092 vars_of_dired_mswindows and init_ntproc (Grrr).
6094 * realpath.c: Added Windows specific include files.
6095 (xrealpath): Conditionalized declaration of some auto variables on
6096 S_IFLNK, to avoid warnings.
6098 * ntproc.c: Disabled some compiler warnings. This file is going to
6099 die, so I have not cleaned it up much.
6100 (set_process_dir): Const parameter.
6101 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6102 (Fwin32_long_file_name): Ditto.
6103 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6106 * nt.h: Added prototypes for set_process_dir and convert_time.
6108 * nt.c: More include files.
6109 (getpwnam): Consted char* argument.
6110 (get_emacs_configuration): Const return value.
6111 (opendir): Const argument.
6112 (stat): Casted converstion long->short.
6113 (stat): Removed ad hoc and questionable support for non-MSC compile.
6114 (sys_pipe): Removed unused auto variable.
6115 (_sys_read_ahead): Removed calls to DebPrint.
6116 (sys_read): Ditto, in 2 places.
6117 (term_ntproc): Added unused int parameter to signal handler, to
6118 avoid a warning when compiling a call to signal().
6119 (msw_sigset): Properly return old signandler or NULL instead of void.
6121 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6123 * gmalloc.c (morecore): Ditto.
6124 (_free_internal): Ditto.
6126 * lread.c (parse_integer): Ditto.
6128 * dired-msw.c: Added several include files.
6130 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6131 of Compilers to Shut Up.
6133 * callproc.c: Added #includes to suppress warnings under Windows.
6134 (init_callproc): Removed #if0'ed code and unused variables.
6136 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6138 * device-msw.c (mswindows_device_system_metrics): do planes in a
6139 way consistent with X.
6141 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6142 use SetPixel, use DIBits functions.
6143 (xpm_to_eimage): frob colors more closely like xpm deos.
6145 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6146 to be closer to X version.
6148 * event-msw.c: use tooltip string directly.
6150 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6152 * objects-msw.c: frob rgb colors that only Kyle uses.
6154 * dialog-msw.c (button_width): INLINE -> inline.
6156 1998-05-23 SL Baur <steve@altair.xemacs.org>
6158 * getloadavg.c (getloadavg): Fix typo.
6160 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6162 * objects-msw.c (mswindows_initialize_font_instance): Added support
6163 for font character sets.
6164 Replaced 'XXX' with '####' in comments throughout the file.
6166 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6168 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6169 console_type_create_dialog_mswindows(), to initialize Windows dialog
6172 * symsinit.h: Prototyped the above functions.
6174 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6175 checks to dialog.c...
6177 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6178 device must support dialog boxes, and the descriptor must supply at
6181 * dialog-msw.c: New file, dialogs for Windows.
6183 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6185 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6186 (Fldap_search_internal): Removed unused variable `err'
6188 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6191 1998-05-17 Martin Buchholz <martin@xemacs.org>
6193 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6194 defined. Therefore there is no need to handle the case when
6195 HAVE_LDAP is undefined. Similarily, there is no reason to have
6196 any code wrapped within `#ifdef emacs', since this code is only
6197 useful within an emacs. This simplifies the code significantly.
6199 * inline.c: Include eldap.h only if HAVE_LDAP.
6200 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6203 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6205 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6206 printing dump stats when building without DEBUG_XEMACS.
6207 (dump_bss_and_heap): Ditto.
6209 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6211 * gnuclient.c: don't suppress window system if there is no display
6212 and we are running under mswindows. send 'mswindows device type if
6213 we are in this situation.
6215 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6218 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6220 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6223 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6225 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6226 {top,bottom}-{left,right} values in addition to
6227 {top,bottom}_{left,right}.
6229 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6231 * fileio.c (Fmake_temp_name): Remove unreached code.
6233 * process-nt.c (validate_signal_number): Use
6234 signal_simple_error().
6236 1998-05-19 Martin Buchholz <martin@xemacs.org>
6239 * sound.c (vars_of_sound):
6240 * sysdep.c (reset_sigio_on_device):
6241 * window.c (window_bottom_gutter_height):
6242 unexhp9k800.c:258: warning: implicit declaration of function
6243 `calculate_checksum'
6244 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6245 sysdep.c:1012: warning: unused variable `owner'
6246 window.c:993: warning: `window_right_toolbar_width' defined but not used
6248 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6250 * glyphs-msw.c (mswindows_create_resized_mask)
6251 (mswindows_create_resized_bitmap): new funnctions split out from
6252 mswindows_resize_dibitmap_instance.
6254 * glyphs-msw.h: declare new resize functions.
6256 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6257 functions so that the original bitmaps are preserved.
6259 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6261 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6262 color if we are trying to output 0 depth bg pixmap.
6264 * scrollbar-msw.c: warning elimination.
6266 1998-05-18 Martin Buchholz <martin@xemacs.org>
6268 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6269 directives in column 1.
6271 * search.c (skip_chars): Avoid using xzero with arrays, since some
6272 compilers get confused by the construct &array.
6274 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6277 * objects-msw.c: Changed the charset value for a new font from
6278 "don't care" to "ansi".
6280 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6282 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6284 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6285 modifier on control chars.
6286 Use IsCharAlpha() instead of isaplha().
6288 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6290 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6292 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6294 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6295 charset when creating font.
6296 (mswindows_initialize_color_instance): Do not create brush along
6298 (mswindows_finalize_color_instance): Do not delete it then.
6300 * objects-msw.h (struct mswindows_color_instance_data): Removed
6301 brush slot, and corresponding accessor macro.
6303 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6305 * toolbar.c: Removed toolbar_data lrecord implementation.
6306 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6307 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6308 (compute_frame_toolbar_buttons): Ditto.
6309 (CHECK_TOOLBAR): Ditto.
6310 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6311 (update_frame_toolbars): Do not check for changed buffer
6312 here. Toolbar information is provided by cached specs in
6313 windows. The check for buffer is eliminated becuase toolbars are
6314 marked changed in set_frame_selected_window() in frame.c
6315 Added check for changed toolbars geometry.
6316 (compute_frame_toolbars_data): Removed unused second parameter;
6317 Adjusted callers of this static function throughout the file.
6318 (init_frame_toolbars): Initialize current_toolbar_size.
6319 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6320 what is its current expansion, for clarity.
6321 (init_frame_toolbars): Ditto.
6322 (init_device_toolbars): Ditto.
6323 (init_global_toolbars): Ditto.
6325 * toolbar.h: Removed definition of toolbar_data lrecord.
6326 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6327 FRAME_CURRENT_TOOLBAR_SIZE.
6328 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6330 * toolbar-x.c (x_output_toolbar): The same change as in
6332 (x_output_toolbar): Ditto.
6333 (x_redraw_exposed_toolbar): Ditto.
6335 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6336 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6337 (mswindows_output_toolbar): Ditto.
6338 (mswindows_output_toolbar): Ditto.
6340 * frame.c (mark_frame): Removed marking of arrays, according to
6341 frameslots.h change.
6342 (nuke_all_frame_slots): Ditto.
6343 (set_frame_selected_window): Mark toolbars changed when
6344 last_nonminibuf_window changes.
6346 * frame.h (struct frame): Moved some slots to frameslots.h.
6347 Added current_toolbar_size array.
6348 Changed references from toolbar_data to toolbar_buttons in macros
6349 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6350 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6351 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6353 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6354 Moved arrays of lisp objects here from frame.h: toolbar_size,
6355 toolbar_visible_p, toolbar_border_width.
6356 Removed toolbar_data slot and added toolbar_buttons.
6358 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6360 * symsinit.h: Externed syms_of_process_nt()
6362 * emacs.c (main_1): Call syms_of_process_nt()
6364 * process-nt.c: Quote process arguments by a call to Lisp function
6365 `nt-quote-process-args'.
6366 (syms_of_process_nt): New function.
6367 (nt_send_process): Flush data stream after each write, to avoid
6368 leaving buffered data.
6369 (nt_send_process): When blocked on process output, wait for
6370 process to slurp more for progressively increasing time intervals.
6372 1998-05-17 Martin Buchholz <martin@xemacs.org>
6374 * window.c (have_undivided_common_edge): Make file-local function
6376 (map_windows): Return 0 if all map functions successful.
6379 * winslots.h: Use unlikely names for local variables in macros to
6380 avoid shadowing warnings.
6382 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6384 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6385 so that we re-output if the toolbar size has changed.
6387 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6389 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6391 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6393 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6396 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6398 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6399 get bitmap manifest constants defined.
6401 * console-msw.h: Include system files in angle brackets, not in
6404 * window.c (specifier_vars_of_window): Fixed a typo in
6405 `vertical-divider-line-width' docstirng.
6407 1998-05-16 Olivier Galibert <galibert@pobox.com>
6409 * line-number.c (delete_invalidate_line_number_cache): Use an
6411 (buffer_line_number): Remove dangerous, plain wrong when using
6412 64bits emacs ints, cast.
6414 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6416 * cmds.c (Fforward_line): Use EMACS_INTs.
6418 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6419 (scan_buffer): Ditto.
6420 (bi_find_next_newline_no_quit): Remove useless cast.
6421 (find_next_newline_no_quit): Ditto.
6422 (find_next_newline): Ditto.
6423 (find_before_next_newline): Use an EMACS_INT.
6425 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6427 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6429 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6431 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6433 * gui-x.c (popup_selection_callback): Use it.
6435 * gui.h (get_callback): Declare it.
6437 * gui.c (get_callback): New function.
6439 1998-05-15 SL Baur <steve@altair.xemacs.org>
6441 * window.c (have_undivided_common_edge): Guard scrollbar specific
6443 (window_needs_vertical_divider_1): Ditto.
6445 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6447 * emacs.c (decode_path): Eliminate compiler warning.
6448 (Fdecode_path): Renamed to Fsplit_path.
6449 (Fsplit_string_by_char): New function.
6451 1998-05-14 Damon Lipparelli <lipp@primus.com>
6453 * winslots.h: close comment
6455 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6457 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6459 * bufslots.h: Removed buffer_file_type slot.
6461 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6463 (complex_vars_of_buffer): Removed buffer-file-type variable and
6464 its default reference.
6466 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6468 * faces.c (complex_vars_of_faces): Defined
6469 Vvertical_divider_face.
6470 (vars_of_faces): Staticpro it.
6472 * faces.h: Externed Vvertical_divider_face.
6474 * redisplay-x.c (x_output_vertical_divider): Use
6475 Vvertical_divider_face to draw the divider instead of modeline
6478 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6479 divider face using Vvertical_divider_face background.
6480 Fix drawing spacing gaps around the divider.
6482 1998-05-14 Didier Verna <verna@inf.enst.fr>
6484 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6485 values for the vertical divider line width and spacing. Use the
6486 cached values from the window structure instead.
6487 (x_divider_width): ditto.
6489 * window.c (specifier_vars_of_window): new specifiers:
6490 vertical-divier -line-width and -spacing.
6491 (vertical_divider_global_width_changed): formerly known as
6492 vertical_divider_shadow_thickness_changed.
6494 * winslots.h: new slots: vertical_specifier _line_width and
6495 _spacing. Plus corrected a comment typo.
6497 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6499 * window.h: Declared window_divider_width().
6501 * console-stream.c (stream_divider_width): Removed method.
6502 (console_type_create_stream): And declaration for it.
6504 * redisplay.c (pixel_to_glyph_translation): Use
6505 window_divider_width() instead of divider_width redisplay method.
6506 (pixel_to_glyph_translation): Fix top divider edge calculation
6507 when scrollbar is on top.
6509 * window.c (window_divider_width): New function, an outphaser for
6510 divider_width redisplay method.
6511 (window_right_gutter_width): Use it.
6512 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6513 specifiers, set fallback values differently on TTYs, and document
6514 the behavior of these on TTYs in the docstrings.
6516 * scrollbar.c (update_scrollbar_instance): Use
6517 window_divider_width() instead of divider_width redisplay method.
6519 * console.h (struct console_methods): Removed divider_width_method.
6521 * redisplay-tty.c (tty_divider_width): Removed device method.
6522 (console_type_create_redisplay_tty): Removed definition for it.
6523 (tty_output_vertical_divider): Respect the value returned by
6524 window_divider_width thus divider line width specification.
6526 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6527 (console_type_create_redisplay_mswindows): Removed definition for it.
6528 (mswinodws_output_vertical_divider): Respect the value returned by
6529 window_divider_width thus divider line width specification.
6531 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6533 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6535 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6537 * glyphs-msw.c: resource loading implementation.
6538 (cursor_normalize): new function.
6539 (cursor_validate): ditto.
6540 (cursor_instantiate): ditto.
6541 (cursor_name_to_resource): ditto.
6542 (cursor_possible_dest_types): ditto.
6543 (check_valid_symbol): ditto.
6544 (check_valid_string_or_int): ditto.
6546 1998-05-14 Martin Buchholz <martin@xemacs.org>
6548 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6551 * process-unix.c (process_signal_char): Use VSUSP instead of
6552 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6554 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6556 * specifier.c (specifier_instance): Change locale precedence of
6557 instantiation so window locale has higher priority than buffer
6559 (Fspecifier_instance): Reflect this in docstring.
6560 (Fadd_spec_list_to_specifier): Ditto.
6561 (Fadd_spec_to_specifier): Ditto.
6562 (Fremove_specifier): Ditto.
6564 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6566 ** Dialog separation into a device method from Andy Piper
6568 * emacs.c (main_1): Call console_type_create_dialog_x().
6570 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6571 into this device method.
6572 (console_type_create_dialog_x): New function.
6574 * dialog.c (Fpopup_dialog_box): New function.
6575 (syms_of_dialog): Defsubr it.
6577 * console.h (struct console_methods): Declared
6578 popup_dialog_box_method().
6580 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6582 1998-05-14 Oliver Graf <ograf@fga.de>
6584 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6585 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6587 1998-05-13 Oliver Graf <ograf@fga.de>
6589 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6591 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6593 * console.h (device_metrics): Removed dbcs, input-method-editor
6594 and right-to-left metrics.
6596 * device.c (Fdevice_system_metric): Ditto.
6597 (Fdevice_system_metrics): Ditto.
6598 (syms_of_device): Ditto.
6599 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6602 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6604 * line-number.h (mark_line_number_cache): Remove unused
6607 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6608 (get_nearest_line_number): Simplify.
6609 (add_position_to_cache): Make the old marker point nowhere.
6611 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6613 ** Renamed window-divider-map => vertical-divider-map
6614 and event-over-divider-p => event-over-vertical-divider-p,
6615 in the following files/functions:
6617 * events.c (Fevent_over_divider_p):
6618 * keymap.c (get_relevant_keymaps):
6621 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6623 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6625 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6627 * window.c (vertical_divider_changed_in_window): Renamed so.
6628 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6629 (window_needs_vertical_divider_1): Decide whether we need it based
6630 on the value of the above specifier. If separators are unwanted,
6631 put them only if there's no scrollbar between this window and its
6633 (have_undivided_common_edge): New function, helper for the above.
6634 (window_needs_vertical_divider): Return either a cached value,
6635 or clauclate and cache one.
6636 (invalidate_vertical_divider_cache_in_window): Implemented.
6637 (map_windows): Changed return type to int, return the value from
6640 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6641 (struct window): Added need_vertical_divider_p and
6642 need_vertical_divider_valid_p.
6644 * winslots.h: Added vertical_divider_draggable_p slot.
6646 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6647 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6649 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6651 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6652 invalidate_vertical_divider_cache_in_frame().
6655 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6657 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6659 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6660 masks correctly and don't select 0.
6662 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6664 * winslots.h: New file, declaration of some struct window and
6665 struct saved_window members.
6667 * window.h (struct window): Include it, with required preprocessor
6670 * window.c (mark_window): Ditto.
6671 (allocate_window): Ditto.
6672 (struct saved_window): Ditto.
6673 (mark_window_config): Ditto.
6674 (saved_window_equal): Ditto.
6675 (Fset_window_configuration): Ditto.
6677 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6679 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6681 1998-05-12 Didier Verna <verna@inf.enst.fr>
6683 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6684 the divider line. The shadow thickness is currently
6685 hard-wired. This will probably be turned into a specifier soon.
6687 1998-05-12 Didier Verna <verna@inf.enst.fr>
6689 * console.h (struct console_methods): the divider_width console
6690 method now requires a struct window * argument.
6692 * redisplay-x.c (x_divider_width): ditto. Plus remove
6693 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6694 (x_output_vertical_divider): give a depressed look when the shadow
6695 thickness is negative.
6697 * console-stream.c (stream_divider_width): pass a struct window *
6700 * redisplay-tty.c (tty_divider_width): ditto.
6702 * window.c (window_right_gutter_width): totdi.
6704 * redisplay.c (generate_modeline): ittod.
6706 * scrollbar.c (update_scrollbar_instance): ttido.
6708 * redisplay-msw.c (mswindows_divider_width): ottid.
6709 WARNING: this enables to compile, but the feature is not functional.
6711 * window.h (struct window): new field
6712 vertical_divider_shadow_thickness.
6714 * window.c (specifier_vars_of_window): new specifier
6715 vertical-divider-shadow-thickness.
6716 (vertical_divider_shadow_thickness_changed): new function to
6717 inform redisplay that the window has changed.
6718 (mark_window): handle new field vertical_divider_shadow_thickness
6720 (allocate_window): ditto.
6721 (saved_window_equal): toddi.
6722 (Fset_window_configuration): totid.
6723 (save_window_save): ttdio.
6724 (struct saved_window): new field vertical_divider_shadow_thickness.
6726 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6728 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6731 1998-05-12 Oliver Graf <ograf@fga.de>
6733 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6734 * event-Xt.c (x_event_to_emacs_event): C++ compability
6736 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6738 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6741 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6743 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6746 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6748 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6750 * emacs.c (decode_path_1): New function.
6751 (decode_path): Use it.
6752 (Fdecode_path): Renamed from Fdecode_path_internal; use
6755 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6757 * macros.c (Fzap_last_kbd_macro_event): New function.
6758 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6760 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6762 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6763 multiple bitmaps are output vertically as well as horizontally.
6764 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6765 crossing lines this is handled by
6766 mswindows_output_dibitmap_region.
6768 1998-05-12 Martin Buchholz <martin@xemacs.org>
6770 * inline.c: Include eldap.h
6772 * menubar-x.c (x_update_frame_menubar_internal):
6773 Remove: unused variable `container'
6775 1998-05-11 Martin Buchholz <martin@xemacs.org>
6777 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6778 Unfortunately, the resulting temacs still cannot dump.
6780 * symbols.c (symbol_is_constant):
6781 (verify_ok_for_buffer_local):
6782 -Wswitch Warning suppression - add default case to switches.
6784 * redisplay.c (decode_mode_spec): Remove unused variables,
6785 Replace Fcoding_system_property (codesys, Qmnemonic) with
6786 XCODING_SYSTEM_MNEMONIC (codesys);
6787 Fcoding_system_property is for users.
6793 Change empty docstrings into no doc strings at all.
6794 Fix bogus FSF-format docstrings.
6797 Standardize docstrings.
6800 Explain problems with matherr.
6802 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6805 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6806 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6807 Fix the weird resultant interaction (causes windows problems)
6811 Take new EMACSBOOTSTRAPLOADPATH into account.
6812 Update documentation strings
6815 - Adjust for luser's CDPATH being set to something weird.
6816 - Take into account bash 2.02's tendency to print the cwd when
6817 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6818 - fix the run-temacs target to use $(DUMPENV)
6819 - fix the run-puremacs target to use $(DUMPENV)
6820 - fix the `depend' target to properly $(RM) the right files
6821 - Generate a better TAGS file for XEmacs' lisp code using
6822 hand-crafted regexps.
6823 - Use standard coding conventions for modules/Makefile.in
6825 1998-05-12 Didier Verna <verna@inf.enst.fr>
6827 * redisplay.c: removed the scrolling modeline code that didn't
6828 make it for 21.0. To be continued ...
6830 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6832 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6833 and empty string inputs.
6835 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6837 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6839 1998-05-10 Oliver Graf <ograf@fga.de>
6841 * event-stream.c (enqueue_misc_user_event_pos): created
6842 * lisp.h (enqueue_misc_user_event_pos): prototype added
6843 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6844 * emacs.c: call vars_of_dragdrop
6845 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6847 1998-05-11 Oliver Graf <ograf@fga.de>
6849 * frame-x.c (x_cde_transfer_callback): return at correct pos
6850 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6851 object for MIME (see comment in dragdrop.c)
6852 * dragdrop.c: API change documented in comment
6853 removed provide of dragdrop [is provided by dragdrop.el]
6855 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6857 * window.c (window_needs_vertical_divider): Enable vertical
6858 dividers for every non-rightmost window.
6859 (window_left_gutter_width): Left gutter consists of mythical
6860 toolbar and a virtual scrollbar.
6861 (window_right_gutter_width): The right one may have a divider
6864 * scrollbar.c (update_scrollbar_instance): Position vertical
6865 scrollbar left to divider if the latter present.
6867 * redisplay.h: Declared OVER_DIVIER constant.
6869 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6872 * redisplay-x.c (x_output_vertical_divider): Output divider along
6873 the right side of the window, down to window bottom. Swapped
6874 foreground and background colors so it is visible by default.
6876 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6877 stick the divider to the right window side.
6879 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6881 (mswindows_divider_width): Ask system for user preferred value.
6882 (mswindows_output_vertical_divider): Always output the divider on
6883 the right side of a window, down to bottom.
6885 * keymap.c (get_relevant_keymaps): Route mouse button events which
6886 happened over a window divider through window-divider-map.
6887 (Fkey_binding): Documented that in the docstring.
6888 Defined the variable Vwindow_divider_map.
6890 * events.c (Fevent_over_divider_p): Added this function.
6892 * events.h: EXFUNed it.
6894 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6896 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6897 toolbar geometry is suspected to change.
6899 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6903 Condition dnd and dde code on HAVE_DRAGNDROP.
6905 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6907 * events.c (format_event_object): Print space as SPC etc.
6909 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6911 * print.c (print_internal): In the default case, abort() if
6912 ERROR_CHECK_TYPECHECK.
6914 * fileio.c (Fmake_temp_name): Doc fix.
6916 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6918 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6920 * undo.c (Fprimitive_undo): Fixed typo.
6922 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6924 * fns.c (concat): Signal error on integer argument.
6926 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6928 * console.h (device_metrics): Prefixed each constatnt with DM_
6930 * device.c: (Fdevice_system_metric): Renamed so from plural form
6931 (metrics); Changed parameters order and added DEFAULT parameter;
6932 Unabbreviated some metric constants; Fixed and untabified doc string.
6933 (Fdevice_system_metrics): Added. Returns a plist of all provided
6936 * device-msw.c (mswindows_device_system_metrics): Renamed
6937 device_metrics enum constants.
6938 Return Qunbound instead of Qnil.
6940 * device-tty.c (tty_device_system_metrics): Ditto.
6942 * device-x.c (x_device_system_metrics): Ditto.
6944 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6946 * redisplay-msw.c: implement background pixmaps (really!). Make
6947 sure bg color is transparent if we have bg pmaps.
6948 * (mswindows_output_string) (mswindows_clear_region): output bg
6950 * (mswindows_output_dibitmap_region): new function.
6951 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6952 the bg color rather than transparently.
6954 * toolbar-msw.c: use masks if they exist.
6956 * glyphs-msw.c: set up masks correctly.
6958 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6960 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6962 * regex.c (re_match_2_internal): Check for quit.
6964 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6966 * frame.c (Ffocus_frame): New function.