1 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp> (at Bangalore)
3 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4 96-set. (Fmake_reverse_direction_charset): Inherit
5 CHARSET_DECODING_TABLE, CHARSET_UCS_MIN, CHARSET_UCS_MAX and
8 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp> (at Bangalore)
10 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
12 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
13 (breakup_char_1): Likewise.
15 * text-coding.c (char_encode_iso2022): Keep designated charsets if
16 one of them includes the specified character.
18 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
20 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
22 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
24 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
26 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
28 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
29 definition for non-UTF-2000 Mule.
30 (latin_iso8859_3_to_ucs): Likewise.
31 (latin_iso8859_4_to_ucs): Likewise.
32 (latin_iso8859_9_to_ucs): Likewise.
33 (latin_jisx0201_to_ucs): Likewise.
34 (MIN_CHAR_THAI): Likewise.
35 (MAX_CHAR_THAI): Likewise.
36 (MIN_CHAR_GREEK): Likewise.
37 (MAX_CHAR_GREEK): Likewise.
38 (MIN_CHAR_HEBREW): Likewise.
39 (MAX_CHAR_HEBREW): Likewise.
40 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
41 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
42 (MIN_CHAR_CYRILLIC): Likewise.
43 (MAX_CHAR_CYRILLIC): Likewise.
45 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
47 * char-ucs.h (breakup_char_1): Use
48 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
49 thai-tis620 and katakana-jisx0201 area.
51 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
53 * char-ucs.h (breakup_char_1): Use
54 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
57 * text-coding.c (reset_encoding_stream): Fixed.
58 (char_encode_ucs4): Delete `& 255'.
60 * char-ucs.h (breakup_char_1): Use
61 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
63 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
65 * file-coding.c (Fmake_coding_system): Don't set up
66 `codesys->fixed.size'.
67 (encode_coding_no_conversion): Don't refer
68 `str->codesys->fixed.size'.
70 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
72 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
73 (latin_a_char_to_byte1): Deleted.
74 (latin_a_char_to_byte2): Deleted.
76 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
78 * mule-charset.c (make_charset): Add new argument `ucs_min',
79 `ucs_max' and `code_offset'.
80 (charset_get_byte1): New implementation [delete specific charset
81 depended implementations].
82 (Fmake_charset): Modify for `make_charset'.
83 (Fmake_reverse_direction_charset): Likewise.
84 (complex_vars_of_mule_charset): Likewise.
86 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
88 (CHARSET_UCS_MIN): New macro.
89 (CHARSET_UCS_MAX): New macro.
90 (CHARSET_CODE_OFFSET): New macro.
91 (MAKE_CHAR): Delete charset depended definitions [except
94 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
96 * char-ucs.h (breakup_char_1): Use
97 `Vdefault_coded_charset_priority_list' for C0-Controls,
98 Basic-Latin, C1-Controls and Latin-1-Supplement area.
100 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
102 * char-ucs.h (charset_get_byte1): New function.
103 (XCHARSET_GET_BYTE1): Deleted.
104 (charset_get_byte2): New function.
105 (XCHARSET_GET_BYTE2): Deleted.
106 (Vdefault_coded_charset_priority_list): New external variable.
107 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
108 `Vdefault_preferred_coded_charset_list'.
110 * mule-charset.c (charset_get_byte1): New function.
111 (charset_get_byte2): New function.
112 (Vdefault_coded_charset_priority_list): New variable.
113 (vars_of_mule_charset): Add new variable
114 `default-coded-charset-priority-list'.
116 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
118 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
119 (XCHARSET_GET_BYTE2): New inline function.
120 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
121 `XCHARSET_GET_BYTE2'.
123 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
125 * mule-charset.c (make_charset): Initialize
126 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
127 NULL if table is not defined.
129 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
131 * text-coding.c (char_encode_shift_jis): Use
132 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
133 `ucs_to_latin_jisx0201'.
135 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
136 (ucs_to_latin_iso8859_2): Deleted.
137 (ucs_to_latin_iso8859_3): Deleted.
138 (ucs_to_latin_iso8859_4): Deleted.
139 (ucs_to_latin_iso8859_9): Deleted.
140 (ucs_to_latin_viscii_lower): Deleted.
141 (ucs_to_latin_viscii_upper): Deleted.
142 (ucs_to_latin_tcvn5712): Deleted.
143 (make_charset): Add new argument `decoding_table'; set up
144 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
145 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
146 `decoding_table' is defined in UTF-2000.
147 (Fmake_charset): Modify for `make_charset'.
148 (Fmake_reverse_direction_charset): Likewise.
149 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
150 and `GENERATE_96_SET'.
152 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
153 (ucs_to_latin_jisx0201): Deleted.
154 (latin_iso8859_2_to_ucs): Deleted.
155 (ucs_to_latin_iso8859_2): Deleted.
156 (latin_iso8859_3_to_ucs): Deleted.
157 (ucs_to_latin_iso8859_3): Deleted.
158 (latin_iso8859_4_to_ucs): Deleted.
159 (ucs_to_latin_iso8859_4): Deleted.
160 (latin_iso8859_9_to_ucs): Deleted.
161 (ucs_to_latin_iso8859_9): Deleted.
162 (latin_viscii_lower_to_ucs): Deleted.
163 (ucs_to_latin_viscii_lower): Deleted.
164 (latin_viscii_upper_to_ucs): Deleted.
165 (ucs_to_latin_viscii_upper): Deleted.
166 (struct Lisp_Charset): Renamed `encoding_table' to
167 `to_byte1_table'; add `to_byte2_table'.
168 (CHARSET_DECODING_TABLE): New macro.
169 (CHARSET_TO_BYTE1_TABLE): New macro.
170 (CHARSET_TO_BYTE2_TABLE): New macro.
171 (XCHARSET_DECODING_TABLE): New macro.
172 (XCHARSET_TO_BYTE1_TABLE): New macro.
173 (XCHARSET_TO_BYTE2_TABLE): New macro.
174 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
176 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
177 don't use `ucs_to_*' tables.
179 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
181 * text-coding.c (Fmake_coding_system): Don't set up
182 `codesys->fixed.size'.
183 (encode_coding_no_conversion): Use `if' instead of `switch'.
185 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
187 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
189 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
190 (Fmake_charset): Modify for `make_charset'.
191 (Fmake_reverse_direction_charset): Likewise.
192 (complex_vars_of_mule_charset): Likewise.
194 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
196 * text-coding.c (char_encode_shift_jis): Use table
197 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
199 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
201 * text-coding.c (text_encode_generic): Use `if' instead of
203 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
206 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
208 * text-coding.c (encode_coding_sjis): Deleted.
209 (char_encode_shift_jis): New function.
210 (char_finish_shift_jis): New function.
211 (reset_encoding_stream): Set up `encode_char' and `finish' for
212 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
213 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
214 (char_encode_utf8): Treat `eol_type'.
216 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
218 * file-coding.c (decode_coding_iso2022): Use
219 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
221 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
223 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
226 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
228 * char-lb.h (CHAR_COLUMNS): New macro.
230 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
232 * text-coding.c (char_encode_ucs4): New function.
233 (char_finish_ucs4): New function.
234 (encode_coding_ucs4): Deleted.
235 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
236 (text_encode_generic): Delete local variable `charset' and `half'.
237 (ucs_to_mule_table): Deleted.
238 (mule_to_ucs_table): Deleted.
239 (Fset_ucs_char): Deleted.
240 (ucs_to_char): Deleted.
241 (Fucs_char): Deleted.
242 (Fset_char_ucs): Deleted.
243 (Fchar_ucs): Deleted.
244 (decode_ucs4): Deleted.
245 (mule_char_to_ucs4): Deleted.
246 (encode_ucs4): Deleted.
247 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
248 (decode_coding_utf8): Likewise.
249 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
250 (char_encode_iso2022): Fixed.
251 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
252 `Fset_char_ucs' and `Fchar_ucs'.
253 (complex_vars_of_file_coding): Don't initialize
256 * objects-tty.c (tty_initialize_font_instance): Don't use
259 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
262 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
263 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
265 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
266 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
267 (emchar_string_displayed_columns): Likewise.
269 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
270 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
271 (string_column_at_point): Likewise.
272 (Fmove_to_column): Likewise.
274 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
275 `encoding_table' and `decoding_table'.
276 (CHARSET_REP_BYTES): Deleted.
277 (XCHARSET_REP_BYTES): Deleted.
278 (XCHARSET_COLUMNS): Deleted.
279 (CHAR_COLUMNS): New macro.
280 (lookup_composite_char): Deleted unconditionally.
281 (composite_char_string): Likewise.
283 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
285 * char-ucs.h (Emchar_to_byte_table): New type.
286 (get_byte_from_character_table): New function interface.
287 (Vcharset_latin_jisx0201): New variable.
288 (latin_jisx0201_to_ucs): New variable.
289 (ucs_to_latin_jisx0201): New variable.
290 (Vcharset_latin_iso8859_2): New variable.
291 (latin_iso8859_2_to_ucs): New variable.
292 (ucs_to_latin_iso8859_2): New variable.
293 (Vcharset_latin_iso8859_3): New variable.
294 (latin_iso8859_3_to_ucs): New variable.
295 (ucs_to_latin_iso8859_3): New variable.
296 (Vcharset_latin_iso8859_4): New variable.
297 (latin_iso8859_4_to_ucs): New variable.
298 (ucs_to_latin_iso8859_4): New variable.
299 (Vcharset_latin_iso8859_9): New variable.
300 (latin_iso8859_9_to_ucs): New variable.
301 (ucs_to_latin_iso8859_9): New variable.
302 (Vcharset_latin_viscii_lower): New variable.
303 (latin_viscii_lower_to_ucs): New variable.
304 (ucs_to_latin_viscii_lower): New variable.
305 (Vcharset_latin_viscii_upper): New variable.
306 (latin_viscii_upper_to_ucs): New variable.
307 (ucs_to_latin_viscii_upper): New variable.
308 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
309 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
310 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
311 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
312 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
313 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
314 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
315 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
316 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
317 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
319 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
320 (Vcharset_latin_viscii_upper): New variable.
321 (make_byte_from_character_table): New function.
322 (put_byte_from_character_table): New function.
323 (get_byte_from_character_table): New function.
325 (ucs_to_latin_jisx0201): New variable.
326 (latin_jisx0201_to_ucs): New variable.
327 (ucs_to_latin_iso8859_2): New variable.
328 (latin_iso8859_2_to_ucs): New variable.
329 (ucs_to_latin_iso8859_3): New variable.
330 (latin_iso8859_3_to_ucs): New variable.
331 (ucs_to_latin_iso8859_4): New variable.
332 (latin_iso8859_4_to_ucs): New variable.
333 (ucs_to_latin_iso8859_9): New variable.
334 (latin_iso8859_9_to_ucs): New variable.
335 (ucs_to_latin_viscii_lower): New variable.
336 (latin_viscii_lower_to_ucs): New variable.
337 (ucs_to_latin_viscii_upper): New variable.
338 (latin_viscii_upper_to_ucs): New variable.
339 (ucs_to_latin_tcvn5712): New variable.
340 (latin_tcvn5712_to_ucs): New variable.
341 (Qlatin_viscii_lower): New variable.
342 (Qlatin_viscii_upper): New variable.
343 (syms_of_mule_charset): Set up new symbol
344 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
345 (complex_vars_of_mule_charset): Set up new charset
346 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
347 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
348 `ucs_to_<CHARSET>' tables.
350 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
352 * text-coding.c: New file.
354 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
356 * mule-charset.c (Fmake_char): Fix problem of 256-set.
358 * char-ucs.h (Vcharset_ucs_bmp): New variable.
359 (MAKE_CHAR): Modify for `ucs-bmp'.
360 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
361 non-MULE characters of BMP.
363 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
365 * mule-charset.c (vars_of_mule_charset):
366 Update `utf-2000-version' to 0.6.
368 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
371 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
372 - Include character.h for `CHAR_ASCII_P'.
374 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
376 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
377 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
379 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
380 (BYTE_C0_P): Likewise.
381 (BYTE_C1_P): Likewise.
382 (Lstream_get_emchar_1): Likewise.
383 (Lstream_fput_emchar): Likewise.
384 (Lstream_funget_emchar): Likewise.
385 (copy_internal_to_external): Likewise.
386 (copy_external_to_internal): Likewise.
388 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
389 (BYTE_C0_P): Likewise.
390 (BYTE_C1_P): Likewise.
391 (Lstream_get_emchar_1): Likewise.
392 (Lstream_fput_emchar): Likewise.
393 (Lstream_funget_emchar): Likewise.
394 (copy_internal_to_external): Likewise.
395 (copy_external_to_internal): Likewise.
397 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
398 (REP_BYTES_BY_FIRST_BYTE): Likewise.
400 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
401 (BYTE_ASCII_P): Moved to mb-1byte.h.
403 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
405 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
407 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
408 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
409 (VALID_CHARPTR_P): Moved to mb-*byte.h.
410 (VALIDATE_CHARPTR_BACKWARD): Likewise.
411 (VALIDATE_CHARPTR_FORWARD): Likewise.
412 (simple_charptr_emchar): Moved to mb-multibyte.h.
413 (simple_set_charptr_emchar): Likewise.
414 (simple_charptr_copy_char): Likewise.
415 (non_ascii_charptr_emchar): Likewise.
416 (non_ascii_set_charptr_emchar): Likewise.
417 (non_ascii_charptr_copy_char): Likewise.
418 (charptr_emchar): Moved to mb-*byte.h.
419 (set_charptr_emchar): Likewise.
420 (charptr_copy_char): Likewise.
422 * mb-1byte.h, mb-multibyte.h: New files.
424 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
426 * mb-utf-8.h (MULTIBYTE): New macro.
427 (MAX_EMCHAR_LEN): Moved from buffer.h.
428 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
430 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
432 * mb-lb.h, multibyte.h: New files.
434 * char-1byte.h (Charset_ID): Moved from buffer.h.
435 (MIN_LEADING_BYTE): Likewise.
436 (LEADING_BYTE_ASCII): Likewise.
437 (NUM_LEADING_BYTES): Likewise.
438 (CHARSETP): Likewise.
439 (CHARSET_BY_LEADING_BYTE): Likewise.
440 (XCHARSET_LEADING_BYTE): Likewise.
441 (XCHARSET_GRAPHIC): Likewise.
442 (XCHARSET_COLUMNS): Likewise.
443 (XCHARSET_DIMENSION): Likewise.
444 (CHAR_CHARSET): Likewise.
445 (CHAR_LEADING_BYTE): Likewise.
446 (BREAKUP_CHAR): Likewise.
447 (Vcharset_ascii): Likewise.
449 * buffer.h: Include multibyte.h unconditionally.
450 (VALID_CHARPTR_P): Moved to multibyte.h.
451 (ASSERT_VALID_CHARPTR): Likewise.
452 (REAL_INC_CHARPTR): Likewise.
453 (REAL_INC_CHARBYTIND): Likewise.
454 (REAL_DEC_CHARPTR): Likewise.
455 (INC_CHARPTR): Likewise.
456 (INC_CHARBYTIND): Likewise.
457 (DEC_CHARPTR): Likewise.
458 (VALIDATE_CHARPTR_BACKWARD): Likewise.
459 (VALIDATE_CHARPTR_FORWARD): Likewise.
460 (charptr_n_addr): Likewise.
461 (MAX_EMCHAR_LEN): Moved to mb-*.h.
462 (simple_charptr_emchar): Moved to multibyte.h.
463 (simple_set_charptr_emchar): Likewise.
464 (simple_charptr_copy_char): Likewise.
465 (non_ascii_charptr_emchar): Likewise.
466 (non_ascii_set_charptr_emchar): Likewise.
467 (non_ascii_charptr_copy_char): Likewise.
468 (charptr_emchar): Likewise.
469 (set_charptr_emchar): Likewise.
470 (charptr_copy_char): Likewise.
471 (charptr_emchar_n): Likewise.
472 (Charset_ID): Moved to char-1byte.h.
473 (Vcharset_ascii): Likewise.
474 (CHAR_CHARSET): Likewise.
475 (CHAR_LEADING_BYTE): Likewise.
476 (LEADING_BYTE_ASCII): Likewise.
477 (NUM_LEADING_BYTES): Likewise.
478 (MIN_LEADING_BYTE): Likewise.
479 (CHARSETP): Likewise.
480 (CHARSET_BY_LEADING_BYTE): Likewise.
481 (XCHARSET_LEADING_BYTE): Likewise.
482 (XCHARSET_GRAPHIC): Likewise.
483 (XCHARSET_COLUMNS): Likewise.
484 (XCHARSET_DIMENSION): Likewise.
485 (BREAKUP_CHAR): Likewise.
487 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
489 * character.h: Add document about interface for characters.
491 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
492 (MAKE_CHAR): Delete comment about
493 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
494 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
495 (BREAKUP_CHAR): Modify name of arguments.
496 (CHAR_CHARSET): Modify name of argument.
498 * buffer.h: Delete document about Emchar accessors.
500 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
502 * character.h (CHAR_INTP): Moved from buffer.h
503 (CHAR_OR_CHAR_INTP): Likewise.
504 (XCHAR_OR_CHAR_INT): Likewise.
505 (CHECK_CHAR_COERCE_INT): Likewise.
507 * buffer.h (CHAR_INTP): Moved to character.h
508 (CHAR_OR_CHAR_INTP): Likewise.
509 (XCHAR_OR_CHAR_INT): Likewise.
510 (CHECK_CHAR_COERCE_INT): Likewise.
512 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
515 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
516 - Include char-1byte.h, char-lb.h or char-ucs.h.
518 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
520 * buffer.h: Include character unconditionally.
521 (valid_char_p): Moved to char-*.h.
522 (non_ascii_valid_char_p): Moved to char-lb.h.
524 * char-1byte.h, char-lb.h, char-ucs.h: New files.
526 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
528 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
529 in UTF-2000 because it is not ported yet and not to use
530 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
531 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
532 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
534 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
535 (CHAR_ASCII_P): Moved from character.h.
537 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
538 (CHAR_ASCII_P): Likewise.
539 (CHAR_FIELD1_MASK): Deleted.
540 (CHAR_FIELD2_MASK): Deleted.
541 (CHAR_FIELD3_MASK): Deleted.
542 (MAX_CHAR_BASIC_LATIN): New macro.
543 (CHAR_FIELD1): Deleted.
544 (CHAR_FIELD2_INTERNAL): Deleted.
545 (CHAR_FIELD3_INTERNAL): Deleted.
546 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
547 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
548 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
549 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
550 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
551 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
552 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
553 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
554 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
555 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
556 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
557 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
558 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
559 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
560 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
561 (MIN_CHAR_COMPOSITION): Deleted.
562 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
563 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
565 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
567 * buffer.h: Include mb-utf-8.h in UTF-2000.
569 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
571 * mb-utf-8.h: New file.
573 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
575 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
578 * mule-charset.h, buffer.h (Charset_ID): New type.
580 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
582 * mule-canna.c (c2mu): Use `MAKE_CHAR',
583 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
584 instead of `MULE_CHAR_PRIVATE_OFFSET',
585 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
586 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
587 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
589 * character.h (Vcharset_japanese_jisx0212): New variable
592 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
594 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
595 (charset_by_attributes): Delete array about direction.
596 (latin_a_char_to_charset): New variable in UTF-2000.
597 (latin_a_char_to_byte1): New variable in UTF-2000.
598 (latin_a_char_to_byte2): New variable in UTF-2000.
599 (Qucs_bmp): New variable.
600 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
602 (next_allocated_2_byte_leading_byte): Likewise.
603 (non_ascii_set_charptr_emchar): Likewise.
604 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
605 `CHARSET_TYPE_256X256' in UTF-2000; modify for
606 `charset_by_attributes'.
607 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
608 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
609 and `CHARSET_BY_LEADING_BYTE'.
610 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
611 `utf-2000-version' to `vars_of_mule_charset'.
612 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
613 define `leading-code-private-11' in UTF-2000; move setting of
614 `utf-2000-version' from `syms_of_mule_charset'.
615 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
618 * character.h (Charset_ID): New type.
619 (LEADING_BYTE_UCS_BMP): New macro.
620 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
621 (CHARSET_ID_OFFSET_94): New macro.
622 (MIN_CHARSET_ID_PRIVATE_94): New macro.
623 (MAX_CHARSET_ID_PRIVATE_94): New macro.
624 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
626 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
627 (LEADING_BYTE_LATIN_JISX0201): Likewise.
628 (CHARSET_ID_OFFSET_96): New macro.
629 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
630 CHARSET_ID_OFFSET_96 and final-byte.
631 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
632 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
633 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
634 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
635 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
636 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
637 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
638 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
639 (LEADING_BYTE_THAI_TIS620): Likewise.
640 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
641 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
642 (CHARSET_ID_OFFSET_94x94): New macro.
643 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
644 CHARSET_ID_OFFSET_94x94 and final-byte.
645 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
646 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
647 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
648 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
649 (LEADING_BYTE_CHINESE_GB2312): Likewise.
650 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
651 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
652 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
653 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
654 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
655 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
656 (CHARSET_TYPE_128X128): New macro.
657 (CHARSET_TYPE_256X256): New macro.
658 (XCHARSET_PRIVATE_P): Delete unconditionally.
659 (charset_by_attributes): Delete array about direction.
660 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
661 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
662 (MIN_CHAR_94): New macro.
663 (MAX_CHAR_94): New macro.
664 (MIN_CHAR_96): New macro.
665 (MAX_CHAR_96): New macro.
666 (MIN_CHAR_94x94): New macro.
667 (MAX_CHAR_94x94): New macro.
668 (MIN_CHAR_96x96): New macro.
669 (MAX_CHAR_96x96): New macro.
670 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
671 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
672 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
674 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
675 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
676 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
677 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
678 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
679 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
680 `XCHARSET_LEADING_BYTE' to make code-point.
681 (latin_a_char_to_charset): New variable.
682 (latin_a_char_to_byte1): New variable.
683 (latin_a_char_to_byte2): New variable.
684 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
685 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
686 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
688 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
689 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
690 (find_charsets_in_emchar_string): Likewise.
691 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
693 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
695 (decode_coding_iso2022): Likewise.
697 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
700 * redisplay.c (redisplay_text_width_emchar_string): Use
701 `Charset_ID' instead of `unsigned char'.
702 (redisplay_frame_text_width_string): Likewise.
704 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
707 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
708 instead of `unsigned char'.
709 (face_cachel_charset_font_metric_info): Likewise.
711 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
712 (get_non_ascii_char_table_value): Likewise.
713 (get_char_table): Likewise.
714 (put_char_table): Likewise.
715 (map_over_other_charset): Likewise.
716 (map_char_table): Likewise.
718 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
719 instead of `unsigned char'.
721 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
723 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
724 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
726 * mule-charset.c (leading_code_private_11): Don't define in
729 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
730 in UTF-2000 because it is not ported yet and not to use
731 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
733 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
735 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
737 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
739 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
742 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
743 of unsigned char to store leading-byte.
745 * chartab.c (get_non_ascii_char_table_value): Don't use
746 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
748 * file-coding.c (encode_coding_big5): Delete bogus implementation
751 * character.h (LEADING_BYTE_*): Delete definition for
753 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
754 (LEADING_BYTE_PREFIX_P): Deleted.
755 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
756 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
757 (BUFBYTE_LEADING_BYTE_P): Deleted.
758 (CHARSET_PRIVATE_P): Deleted unconditionally.
759 (rep_bytes_by_first_byte): Deleted unconditionally.
760 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
761 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
762 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
763 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
764 (CHAR_FIELD2): Deleted.
765 (CHAR_FIELD3): Deleted.
766 (MAKE_CHAR): Delete definition for non-UTF-2000.
767 (BREAKUP_CHAR_1_UNSAFE): Deleted.
768 (breakup_char_1): New implementation.
769 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
770 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
772 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
774 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
777 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
779 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
780 (CHARSET_PRIVATE_P): Likewise.
781 (XCHARSET_PRIVATE_P): Likewise.
782 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
784 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
786 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
788 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
790 * character.h (LEADING_BYTE_*): Changed in UTF2000.
791 (NUM_LEADING_BYTES): Changed from 128 to 256.
792 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
793 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
795 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
797 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
799 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
800 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
801 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
802 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
803 (Qchinese_cns11643_3): New variable in UTF2000.
804 (Qchinese_cns11643_4): New variable in UTF2000.
805 (Qchinese_cns11643_5): New variable in UTF2000.
806 (Qchinese_cns11643_6): New variable in UTF2000.
807 (Qchinese_cns11643_7): New variable in UTF2000.
808 (syms_of_mule_charset): Define `chinese-cns11643-3',
809 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
810 and `chinese-cns11643-7' in UTF2000.
811 (vars_of_mule_charset): Initialize
812 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
814 (complex_vars_of_mule_charset): Setup charset
815 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
816 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
818 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
820 * mule-charset.c: Move setting for `leading-code-private-11' from
821 `syms_of_mule_charset' to `vars_of_mule_charset'.
823 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
825 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
826 and `NUM_LEADING_BYTES' in assert.
828 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
830 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
832 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
833 `NUM_LEADING_BYTES' instead of 128.
835 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
837 * mule-charset.h (charset_by_leading_byte): Use
838 `NUM_LEADING_BYTES' instead of 128.
839 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
841 * mule-charset.c (charset_by_leading_byte): Use
842 `NUM_LEADING_BYTES' instead of 128.
843 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
845 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
848 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
850 * mule-charset.c (syms_of_mule_charset): Update to
853 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
855 * file-coding.c (encode_coding_sjis): New implementation for
856 UTF2000. (decode_coding_sjis): Ditto.
858 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
860 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
861 Don't define in UTF2000.
863 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
866 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
867 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
870 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
872 * config.h.in (CHAR_IS_UCS4): New macro.
874 * mule-charset.c (rep_bytes_by_first_byte): Modify for
875 conventional MULE representation.
876 (syms_of_mule_charset): Update to 0.3 (Imamiya).
878 * mule-charset.h: Reverted to original.
880 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
881 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
882 "mule-charset.h" if CHAR_IS_UCS4 is defined.
884 * character.h: New file.
886 * file-coding.c (Fmake_coding_system): Set 1 to
887 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
889 (encode_coding_no_conversion): New implementation for UTF2000.
891 * file-coding.h (struct Lisp_Coding_System): Add new member
894 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
896 * file-coding.c (decode_coding_iso2022): Code-point arguments of
897 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
898 (encode_coding_iso2022): New implementation for UTF2000.
900 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
902 * mule-canna.c (c2mu): New implementation for UTF2000.
905 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
907 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
909 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
911 * file-coding.c (reset_encoding_stream): Set 0 to
912 `str->iso2022.current_char_boundary' in UTF2000.
913 (encode_utf8): Don't define in UTF2000.
914 (encode_coding_utf8): New implementation for UTF-8 representation
916 (complex_vars_of_file_coding): Define coding-system `utf-8'.
918 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
920 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
922 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
924 (REP_BYTES_BY_FIRST_BYTE): Likewise.
926 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
928 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
929 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
931 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
932 (non_ascii_valid_char_p): Don't define in UTF2000.
933 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
934 (Lstream_get_emchar_1): Likewise.
935 (utf-2000-version): New variable in UTF2000.
937 * lread.c (read_escape): Add new reader `u'.
939 * insdel.c (three_to_one_table): Don't define in UTF2000.
940 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
941 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
943 (bytind_to_bufpos_func): Likewise.
944 (buffer_mule_signal_inserted_region): Likewise.
945 (vars_of_insdel): Don't initialize `three_to_one_table'.
946 (init_buffer_text): Use `buf->text->mule_size' instead of
947 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
950 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
951 UTF-8 representation in UTF2000.
952 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
953 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
954 (decode_coding_iso2022): Don't define local variable `lb' in
955 UTF2000; don't use LEADING_BYTE in UTF2000; use
956 `DECODE_ADD_UCS_CHAR' in UTF2000.
957 (convert_to_external_format): Decode as UTF-8 in UTF2000.
959 * config.h.in (UTF2000): New macro.
961 * buffer.h (struct buffer_text): Add new member `mule_size' and
962 don't add `mule_shifter' and `mule_three_p' in UTF2000.
963 (valid_char_p): Return always 1 in UTF2000.
964 (MAX_EMCHAR_LEN): 6 in UTF2000.
965 (three_to_one_table): Don't define in UTF2000.
966 (real_bufpos_to_bytind): Modify for UTF-8 representation in
968 (real_bytind_to_bufpos): Likewise.
970 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
972 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
974 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
975 representation change.
976 (Vutf_2000_version): New variable.
977 (leading_code_private_11): New variable.
978 (syms_of_mule_charset): Add new variables `utf-2000-version' and
979 `leading-code-private-11'.
981 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
982 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
983 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
984 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
985 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
986 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
987 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
988 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
989 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
990 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
991 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
992 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
993 (MIN_CHAR_GREEK): New macro.
994 (MAX_CHAR_GREEK): New macro.
995 (MIN_CHAR_CYRILLIC): New macro.
996 (MAX_CHAR_CYRILLIC): New macro.
997 (MIN_CHAR_HEBREW): New macro.
998 (MAX_CHAR_HEBREW): New macro.
999 (MIN_CHAR_THAI): New macro.
1000 (MAX_CHAR_THAI): New macro.
1001 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1002 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1003 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1004 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1005 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1006 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1007 (CHAR_FIELD2): New inline function.
1008 (CHAR_FIELD3): New inline function.
1009 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1010 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1011 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1012 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1013 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1014 (MIN_CHAR_COMPOSITION): Likewise.
1015 (CHAR_LEADING_BYTE): Modified for character representation change.
1016 (MAKE_CHAR): Likewise.
1018 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1019 (Vcharset_greek_iso8859_7): Likewise.
1020 (Vcharset_cyrillic_iso8859_5): Likewise.
1021 (Vcharset_hebrew_iso8859_8): Likewise.
1022 (Vcharset_thai_tis620): Likewise.
1023 (Vcharset_katakana_jisx0201): Likewise.
1025 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1027 * file-coding.c (determine_real_coding_system): Treat `coding:'
1030 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1032 * file-coding.c (struct decoding_stream): New member `counter'.
1033 (reset_decoding_stream): Initialize `counter'.
1034 (decode_coding_ucs4): Use `counter'.
1035 (decode_coding_utf8): Likewise.
1037 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1039 * XEmacs 21.2.19 is released
1041 1999-07-27 Jeff Miller <jmiller@smart.net>
1043 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1044 menubar_show_keybindings.
1046 1999-07-23 SL Baur <steve@miho>
1048 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1049 definition of Qccl_program.
1051 * mule-ccl.h: Make a global declaration of it here.
1053 1999-07-20 Bob Weiner <weiner@beopen.com>
1055 * s/sco7.h: Added from rr@sco.com.
1057 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1059 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1061 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1063 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1064 (mule_encode): Likewise.
1066 * mule-ccl.c (Qccl_program): New variable.
1067 (CCL_SUSPEND): New macro.
1068 (CCL_INVALID_CMD): New macro.
1069 (CCL_READ_CHAR): Don't regard as invalid command while processing
1070 the last block even if input is empty; use
1071 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1072 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1074 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1075 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1076 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1077 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1078 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1080 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1082 * mule-ccl.h (struct ccl_program): New member stack_idx.
1084 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1085 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1087 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1089 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1091 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1094 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1096 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1097 processing the last block, don't just finish but processes eol
1098 block of the current CCL program.
1099 (ccl_driver): Add a new jump label ccl_repeat for the above
1102 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1104 * mule-ccl.c: Typo in comments fixed.
1105 (Qccl_program_idx): New variables.
1106 (CCL_ReadMultibyteChar2): Macro name changed from
1107 CCL_ReadMultibyteCharacter.
1108 (CCL_WriteMultibyteChar2): Macro name changed from
1109 CCL_WriteMultibyteChar2.
1110 (ccl_driver): Adjusted for the above changes.
1111 (resolve_symbol_ccl_program): New function.
1112 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1113 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1114 numbers by resolve_symbol_ccl_program.
1115 (Fccl_execute_on_string): Likewise.
1116 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1117 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1119 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1121 * mule-ccl.h: (struct ccl_program): New member private_state.
1124 (CCL_Call): Fix the comment.
1125 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1126 macros for CCL Commands.
1128 (ccl_driver): New case lable `CCL_Extention'.
1129 (setup_ccl_program): Initialize the member `private_state' of CCL.
1131 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1133 * keymap.c (copy_keymap_internal): Inherit the default binding.
1135 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1137 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1138 focus the event (XIM_focus_event).
1139 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1140 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1141 the interface for future use (XIM_SetGeometry).
1142 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1143 location (XIM_SetSpotLocation).
1144 (x_output_eol_cursor): Ditto.
1146 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1148 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1149 Olivier's change to lrecord.h of 1999-04-22
1151 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1153 * gutter.c (redraw_exposed_gutter): Change type of pos from
1154 enum toolbar_pos -> enum gutter_pos, since former is only defined
1155 if toolbar support is.
1157 1999-07-19 Andy Piper <andy@xemacs.org>
1159 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1162 * gutter.c (gutter_validate): new function for the gutter specifier.
1163 (specifier_type_create_gutter): declare specifier validator.
1165 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1167 1999-07-18 Andy Piper <andy@xemacs.org>
1169 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1171 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1173 (mswindows_resize_subwindow): new function.
1175 * gutter.c (redraw_exposed_gutter): only reset the
1176 current_display_lines if non-zero.
1177 (Fgutter_pixel_height): new function.
1178 (Fgutter_pixel_width): new function.
1180 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1181 we want to retrive from the tab control.
1183 1999-07-17 Andy Piper <andy@xemacs.org>
1185 * window.c (change_window_height): mark gutters changed when we're
1188 * gutter.c (specifier_vars_of_gutter): make defaults more
1191 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1193 (DEFAULT_GUTTER_WIDTH): change.
1194 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1196 1999-07-18 Andy Piper <andy@xemacs.org>
1198 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1200 1999-07-16 Andy Piper <andy@xemacs.org>
1202 * frame.c (Fmake_frame): call init_frame_gutters().
1204 * redisplay.c (add_emchar_rune): use string functions if we are
1205 working with a string.
1206 (position_redisplay_data_type): add string element.
1208 1999-07-15 Andy Piper <andy@xemacs.org>
1210 * winslots.h: add real_gutter_size slots to hold the actual gutter
1211 size. This is important for autodetected sizes.
1213 * gutter.c (calculate_gutter_size): calculate size for gutters
1214 that have 'autodetect size.
1216 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1217 extent of divider for gutters.
1219 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1220 divider for gutters.
1222 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1223 position to take into account the gutters.
1225 * redisplay.c (generate_modeline): adjust modeline position to
1226 take into account the gutters.
1228 1999-07-14 Andy Piper <andy@xemacs.org>
1230 * gutter.c (frame_topmost_window): new function.
1231 (frame_bottommost_window): ditto.
1232 (frame_leftmost_window): ditto.
1233 (frame_rightmost_window): ditto.
1235 1999-07-13 Andy Piper <andy@xemacs.org>
1237 * redisplay.c (calculate_display_line_boundaries): use text
1238 boundaries so that gutters get handled properly.
1240 1999-07-12 Andy Piper <andy@xemacs.org>
1242 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1245 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1248 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1251 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1253 * gutter.c: new file - implements gutters. All new functions are
1254 semantically equivalent to the toolbar functions.
1255 (gutter_was_visible): new function.
1256 (get_gutter_coords): ditto.
1257 (output_gutter): ditto.
1258 (clear_gutter): ditto.
1259 (update_frame_gutters): ditto.
1260 (redraw_exposed_gutter): ditto.
1261 (redraw_exposed_gutters): ditto.
1262 (free_frame_gutters): ditto.
1263 (init_frame_gutters): ditto.
1264 (decode_gutter_position): ditto.
1265 (Fset_default_gutter_position): ditto.
1266 (Fset_default_gutter_position): ditto.
1267 (Fdefault_gutter_position): ditto.
1268 (gutter_after_change): ditto.
1269 (Fgutter_specifier_p): ditto.
1270 (recompute_overlaying_specifier): ditto.
1271 (gutter_specs_changed): ditto.
1272 (default_gutter_specs_changed): ditto.
1273 (gutter_geometry_changed_in_window): ditto.
1274 (default_gutter_size_changed_in_window): ditto.
1275 (default_gutter_border_width_changed_in_window): ditto.
1276 (default_gutter_visible_p_changed_in_window): ditto.
1277 (syms_of_gutter): ditto.
1278 (vars_of_gutter): ditto.
1279 (specifier_type_create_gutter): ditto.
1280 (specifier_vars_of_gutter): ditto.
1282 * gutter.h: new file. Contains gutter constants and sizing macros
1283 similar to those for the toolbar.
1285 * winslots.h: add gutter variables.
1287 * window.h: declare window_is_* functions.
1289 * window.c (window_is_lowest): make non-static.
1290 (window_is_highest): ditto.
1291 (window_top_toolbar_height): deleted.
1292 (window_bottom_toolbar_height): deleted.
1293 (window_left_toolbar_width): deleted.
1294 (window_right_toolbar_width): deleted.
1295 (window_top_gutter_height): add gutter sizing.
1296 (window_bottom_gutter_height): ditto.
1297 (window_left_gutter_width): ditto.
1298 (window_right_gutter_width): ditto.
1300 * symsinit.h: declarations for gutters vars etc.
1302 * search.c (bi_find_next_emchar_in_string): new function.
1304 * scrollbar.c (update_scrollbar_instance): remove reference to
1305 window_bottom_toolbar_height which did nothing.
1307 * redisplay.h (struct display_line): add face indices for
1308 overriding defaults in output_display_line.
1309 Add gutter_changed flags and declarations.
1311 * redisplay.c (create_string_text_block): new function, similar to
1312 create_text_block but for strings. Display tables etc are used
1313 from the currently selected window.
1314 (generate_string_display_line): ditto. Similar to
1315 generate_display_line.
1316 (generate_displayable_area): generate display lines for a given
1317 area on a frame. Input is the string, with associated extents, to
1319 (redisplay_frame): add gutter_changed check.
1320 (redisplay_device): ditto.
1321 (redisplay_without_hooks): ditto.
1323 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1324 (x_redraw_exposed_area): redraw exposed gutters.
1325 (x_bevel_area): new redisplay device method.
1326 (x_type_create_redisplay_mswindows): add bevel_area device method.
1327 (x_output_display_block): fiddly Martin-style cleanup.
1328 (x_output_vertical_divider): use bevel_area.
1330 * redisplay-output.c (output_display_line): check display_lines
1331 for face information before using defaults.
1332 (bevel_modeline): new function, calls bevel_area with appropriate
1335 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1336 (mswindows_redraw_exposed_area): redraw exposed gutters.
1337 (mswindows_bevel_area): new redisplay device method.
1338 (console_type_create_redisplay_mswindows): add bevel_area device
1341 * indent.c (string_column_at_point): add column_at_point but for
1344 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1345 instantiate widgets that we have a toolkit for.
1347 * general.c: add Qgutter.
1349 * frame.h (struct frame): add display lines for gutters and
1352 * frame.c (set_frame_selected_window): mark gutters changed.
1354 * emacs.c (main_1): add gutter initialisation.
1356 * device.h (struct device): add gutter_changed flag and macros to
1359 * console.h (struct console_methods): new bevel area redisplay
1362 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1363 REAL_INC_BYTIND is for buffers.
1364 (INC_CHARPTR): ditto.
1366 * Makefile.in.in (objs): add gutter.o
1368 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1370 * XEmacs 21.2.18 is released
1372 1999-07-08 SL Baur <steve@mule.m17n.org>
1374 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1376 (emacs_Xt_handle_magic_event): Ditto.
1377 * redisplay-x.c (x_output_string): Ditto.
1378 (x_output_eol_cursor): Ditto.
1380 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1382 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1383 problem that when XIM is destroyed or missed with some reason,
1384 xemacs will die. Now xim=xlib waits the XIM will be ready and
1385 endures the case of XIM end up.
1387 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1389 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1390 SIGINT and SIGCHLD before calling tt_open and restore the
1391 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1393 1999-07-06 SL Baur <steve@xemacs.org>
1395 * s/linux.h: gcc-2.8 changes for powerpc
1396 From Justin Vallon <vallon@mindspring.com>
1398 1999-07-05 Didier Verna <verna@inf.enst.fr>
1400 * indent.c: new symbol Qcoerce.
1401 (Fmove_to_column): use it + doc string update.
1403 1999-07-04 Andy Piper <andy@xemacs.org>
1405 * console.c: undo earlier Fprovide changes.
1409 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1410 function. validate appropriate image formats for tty.
1412 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1413 initialize consoles parameter.
1414 (struct image_instantiator_methods): add consoles parameter.
1415 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1417 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1420 * glyphs-msw.c: declare instantiators for later use.
1421 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1422 and friends on the mswindows console.
1423 * glyphs-x.c: ditto.
1425 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1426 that have not been registered on the supplied device.
1427 (Fvalid_image_instantiator_format_p): add locale argument.
1428 (instantiate_image_instantiator): valid image instantiator on the
1431 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1434 * emacs.c (main_1): add call to
1435 image_instantiator_format_create_glyphs_tty().
1437 1999-06-29 Olivier Galibert <galibert@pobox.com>
1439 * lisp.h: Add #include <stddef.h>.
1441 * sysdep.c: Remove #include <stddef.h>.
1442 * symbols.c: Remove #include <stddef.h>.
1443 * sheap.c: Remove #include <stddef.h>.
1444 * opaque.c: Remove #include <stddef.h>.
1445 * nt.c: Remove #include <stddef.h>.
1446 * mule-charset.c: Remove #include <stddef.h>.
1447 * marker.c: Remove #include <stddef.h>.
1448 * file-coding.c: Remove #include <stddef.h>.
1449 * extents.c: Remove #include <stddef.h>.
1450 * elhash.c: Remove #include <stddef.h>.
1451 * data.c: Remove #include <stddef.h>.
1452 * chartab.c: Remove #include <stddef.h>.
1453 * bytecode.c: Remove #include <stddef.h>.
1454 * alloc.c: Remove #include <stddef.h>. Fix vector description
1456 1999-06-30 SL Baur <steve@miho.m17n.org>
1458 * editfns.c: Document "%s" format spec.
1459 Suggested by Bob Weiner <weiner@altrasoft.com>
1461 1999-06-29 Andy Piper <andy@xemacs.org>
1463 * event-msw.c: fix definition booboo.
1465 1999-06-28 Andy Piper <andy@xemacs.org>
1467 * glyphs-x.c: change tree -> tree-view, progress ->
1468 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1470 (complex_vars_of_glyphs_x): provide-on-console the implemented
1473 * glyphs-msw.c: ditto.
1474 (complex_vars_of_glyphs_mswindows): ditto.
1476 * lisp.h: add Fprovide_on_console.
1478 * fns.c (Ffeaturep): add extra optional console argument.
1479 (Fprovide_on_console): like Fprovide but provides only on the
1480 specified console-type.
1481 (Frequire): check console-features as well as global features.
1483 * console.c (Fconsole_features): new function. return features for
1485 (syms_of_console): add Fconsole_features.
1487 * console.h (CONMETH_FEATURES): new function for accessing features.
1488 (CONSOLE_FEATURES): ditto.
1489 (struct console_methods): add features slot.
1490 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1492 1999-06-28 Andy Piper <andy@xemacs.org>
1494 * event-Xt.c (handle_focus_event_1): conditionally compile for
1497 * s/cygwin32.h: fix me website address.
1499 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1501 * gui-x.c (button_item_to_widget_value): only add callback if it
1504 * glyphs-x.c: add progress, edit and combo instantiators.
1505 (x_widget_set_property): new function. uses lwlib to set widget
1507 (x_widget_property): new function. uses lwlib to get widget
1509 (x_button_instantiate): support images in buttons.
1510 (x_button_property): new function. use lwlib to get the selected
1512 (x_progress_instantiate): new function for instantiating progress
1514 (x_progress_set_property): new function. sets the progress gauge
1516 (x_edit_instantiate): new function. for instantiating edit fields.
1517 (x_combo_instantiate): new function. for instantiating combo
1519 (image_instantiator_format_create_glyphs_x): add new device ii
1522 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1524 * console.h (CONSOLE_FEATURES): new features accesor.
1526 * conslots.h (MARKED_SLOT): add features entry.
1528 1999-06-25 Andy Piper <andy@xemacs.org>
1530 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1533 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1535 * gui.h (struct Lisp_Gui_Item): add accelerator.
1537 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1538 (gui_item_init): ditto.
1539 (gui_add_item_keywords_to_plist): ditto.
1540 (mark_gui_item): ditto.
1541 (gui_item_hash): ditto.
1542 (gui_item_accelerator): new function.
1543 (gui_name_accelerator): new function stolen from gui-x.c
1545 * gui-x.c (popup_selection_callback): always define. mark
1546 subwindows changed after calling a callback.
1547 (menu_name_to_accelerator): deleted.
1548 (button_item_to_widget_value): forward gui_item things to gui_item
1551 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1552 appropriate accesors.
1554 * glyphs-x.c: declare new glyph formats.
1555 (x_finalize_image_instance): unmanage and destroy widgets if they
1557 (x_unmap_subwindow): handle widgets specially.
1558 (x_map_subwindow): ditto. offset display of widgets by offset of
1559 text widget within container.
1560 (x_update_subwindow): new function. call lw_modify_all_widgets
1561 when we are a widget.
1562 (x_widget_instantiate): new function for generically creating
1563 widgets-glyphs. toolkit specifics forwarded to lwlib.
1564 (x_button_instantiate): new function for instantiating
1565 widgets-glyph buttons.
1566 (console_type_create_glyphs_x): register update_subwindow.
1567 (image_instantiator_format_create_glyphs_x): register widget and
1570 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1572 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1573 when we get a button press in case we do not have the focus.
1574 (handle_focus_event_1): set the keyboard focus to the text widget
1575 if we do not have it.
1577 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1580 1999-06-24 SL Baur <steve@miho.m17n.org>
1582 * syntax.c (scan_words): Restore non-Mule code.
1583 (word_constituent_p): Restore.
1585 1999-06-23 Olivier Galibert <galibert@pobox.com>
1587 * config.h.in: Add missing #undef *_USER_DEFINED.
1589 1999-06-23 SL Baur <steve@miho.m17n.org>
1591 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1592 int (fixes a 64-bit problem).
1594 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1597 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1599 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1601 1999-06-22 Olivier Galibert <galibert@pobox.com>
1603 * lrecord.h: Added basic external description system.
1605 * symbols.c: Added symbol, symbol-value-buffer-local,
1606 symbol-value-lisp-magic and symbol-value-varalias description.
1607 * mule-charset.c: Added charset description.
1608 * marker.c: Added marker description.
1609 * keymap.c: Added keymap description.
1610 * glyphs.c: Added glyph description.
1611 * floatfns.c: Added float description.
1612 * file-coding.c: Added coding-system description.
1613 * extents.c: Added extent description.
1614 * elhash.c: Added hash-table description.
1615 * data.c: Added weak-list desciption.
1616 * chartab.c: Added char-table-entry and char-table description.
1617 * bytecode.c: Added compiled-function description.
1618 * alloc.c: Added cons, vector and string description.
1620 1999-06-22 Olivier Galibert <galibert@pobox.com>
1622 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1623 Updated everything to the removal of the "flags" substructure.
1625 * lisp.h (subr_lheader_initializer): Updated.
1626 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1628 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1630 * syntax.c (word_constituent_p): Deleted.
1631 (scan_words): Use `WORD_BOUNDARY_P'.
1633 * chartab.c (Vword_combining_categories): New variable.
1634 (Vword_separating_categories): Likewise.
1635 (CATEGORYP): New macro.
1636 (CATEGORY_SET): Likewise.
1637 (CATEGORY_MEMBER): Likewise.
1638 (word_boundary_p): New function.
1639 (complex_vars_of_chartab): Set up new variable
1640 `word-combining-categories' and `word-separating-categories'.
1642 1999-06-18 Olivier Galibert <galibert@pobox.com>
1644 * lrecord.h: Added description as a placehold in the lrecord
1645 implementation structures. Added the parameter to all constructor
1648 * alloc.c: Added placeholders.
1650 * bytecode.c: Ditto.
1654 * database.c: Ditto.
1659 * event-stream.c: Ditto.
1663 * file-coding.c: Ditto.
1664 * floatfns.c: Ditto.
1672 * mule-charset.c: Ditto.
1676 * rangetab.c: Ditto.
1677 * specifier.c: Ditto.
1680 * tooltalk.c: Ditto.
1683 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1685 * XEmacs 21.2.17 is released
1687 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1689 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1690 (HAVE_LDAP_GET_LDERRNO): Ditto
1691 (HAVE_LDAP_RESULT2ERROR): Ditto
1692 (HAVE_LDAP_PARSE_RESULT): Ditto
1693 (HAVE_UMICH_LDAP): Removed
1694 (HAVE_NS_LDAP): Removed
1696 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1697 suggested by Olivier Galibert
1698 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1700 * eldap.c: Take the removal of `livep' into account in all the
1702 (signal_ldap_error): Take two additional parameters
1703 Added new finer compilation conditions in order to use
1704 ldap_parse_result or ldap_result2error if available
1705 (Fldap_open): Conform to this new API
1706 (Fldap_search_internal): Ditto
1708 1999-06-17 SL Baur <steve@miho.m17n.org>
1710 * data.c (struct int_or_double): Should use EMACS_INT not int.
1712 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1714 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1717 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1719 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1720 `CCL_MODE_ENCODING'.
1722 * file-coding.c (mule_decode): Run `ccl_driver' with
1723 `CCL_MODE_DECODING'.
1724 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1726 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1727 (ccl_driver): Add new argument `conversion_mode'.
1728 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1729 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1730 new optional argument].
1732 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1733 (CCL_MODE_DECODING): New macro.
1734 (ccl_driver): Add new argument `conversion_mode'.
1736 1999-06-15 SL Baur <steve@miho.m17n.org>
1738 * mule-charset.c (Fsplit_char): New subr.
1739 (Fchar_octet): delete.
1740 (syms_of_mule_charset): DEFSUBR it.
1742 1999-06-13 Andy Piper <andy@xemacs.org>
1744 * menubar.h: update declarations involving gui_items.
1746 * lisp.h: declare Lisp_Gui_Item.
1748 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1750 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1751 (print_image_instance): ditto.
1752 (image_instance_equal): ditto.
1753 (image_instance_hash): ditto.
1755 * event-msw.c (mswindows_need_event): assert badly_p status.
1756 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1757 callbacks in tree-view and tab-control widgets.
1758 (emacs_mswindows_next_event): modify use of
1759 mswindows_dequeue_dispatch_event.
1761 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1762 lisp-based gui_items.
1764 * glyphs-msw.c (mswindows_update_subwindow): update use of
1766 (mswindows_register_gui_item): new function.
1767 (mswindows_register_gui_item): fix to use lisp gui_items.
1768 (mswindows_widget_instantiate): ditto.
1769 (mswindows_button_instantiate): ditto.
1770 (add_tree_item): new function to recursively add tree view
1772 (add_tree_item_list): ditto.
1773 (mswindows_tree_instantiate): new function. instantiate tree view
1775 (add_tab_item): new function to add tabs to a tab control.
1776 (mswindows_tab_instantiate): new function. instantiate tab
1778 (image_instantiator_format_create_glyphs_mswindows): add tree view
1780 (vars_of_glyphs_mswindows): ditto.
1782 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1784 (check_valid_item_list): ditto.
1785 (initialize_widget_image_instance): fix to use new lisp gui_item.
1786 (widget_instantiate_1): allow the setting of default textwidth in
1788 (widget_instantiate): change to use new widget_instantiate_1
1790 (combo_instantiate): ditto.
1791 (static_instantiate): ditto.
1792 (tab_instantiate): new function for tab widgets.
1793 (image_instantiator_format_create_glyphs_widget): add tab and tree
1796 * menubar-msw.c (displayable_menu_item): convert to use lisp
1798 (populate_menu_add_item): ditto.
1799 (populate_or_checksum_helper): ditto.
1801 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1803 (Fmenu_find_real_submenu): ditto.
1805 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1807 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1808 objects, convert functions that use them accordingly.
1809 (gui_item_init): ditto.
1810 (gui_item_active_p): ditto.
1811 (gui_item_selected_p): ditto.
1812 (gui_item_included_p): ditto.
1813 (gui_item_display_flush_left): ditto.
1814 (gui_item_display_flush_right): ditto.
1815 (mark_gui_item): ditto.
1816 (allocate_gui_item): new function to create a gui_item.
1817 (make_gui_item_from_keywords_internal): ditto. create and return a
1818 gui_item as well as setting keywords.
1819 (gui_parse_item_keywords): ditto.
1820 (gui_parse_item_keywords_no_errors): ditto.
1821 (gui_add_item_keywords_to_plist): new function, not yet used.
1822 (gui_item_hash): new function.
1823 (gui_item_id_hash): use gui_item_hash.
1824 (gui_item_equal): new function.
1825 (print_gui_item): new function.
1827 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1829 * XEmacs 21.2.16 is released
1831 1999-06-10 Andy Piper <andy@xemacs.org>
1833 * select-msw.c (mswindows_own_selection): only set the clipboard
1835 (mswindows_get_foreign_selection): only get the clipboard if
1837 (mswindows_disown_selection): only disown the clipboard if asked.
1839 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1841 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1843 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1844 of coding-category `no-conversion'.
1846 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1848 * file-coding.c (Qraw_text): New variable.
1849 (syms_of_mule_coding): Add new symbol `raw-text'.
1850 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1851 define coding-system `binary' independently; define coding-system
1852 `no-conversion' as an alias for `raw-text'.
1854 * file-coding.h (Qraw_text): New variable.
1856 1999-06-08 SL Baur <steve@xemacs.org>
1858 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1860 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1862 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1864 (base64_decode_1): Signal errors instead of returning -1.
1866 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1868 * mule-charset.c (Fmake_char): Update docstring.
1870 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1872 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1874 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1876 * fns.c (base64_decode_1): Allow and ignore any non-base64
1877 characters in input.
1879 1999-05-27 Olivier Galibert <galibert@pobox.com>
1881 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1882 of report_pure_usage().
1884 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1886 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1888 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1890 * XEmacs 21.2.15 is released
1892 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1894 * frame.c (Fset_mouse_position):
1895 (Fset_mouse_pixel_position):
1896 * window.c (Fsplit_window):
1897 (Fmove_to_window_line):
1898 Fix crash when invoking functions with an already-deleted window
1901 * indent.c (vertical_motion_1):
1903 (Fvertical_motion_pixels):
1904 * window.c (Fwindow_displayed_text_pixel_height):
1905 Fix error message when invoking functions with an already-deleted
1908 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1910 * sysdep.c (request_sigio_on_device): Guard against glibc
1911 2.1's stub streams implementation.
1913 1999-06-03 SL Baur <steve@xemacs.org>
1916 * emacs.c: Implement x.y.z version numbers
1917 From Jan Vroonhof <vroonhof@math.ethz.ch>
1919 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1921 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1922 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1925 1999-06-03 SL Baur <steve@xemacs.org>
1928 * device-x.c: rename session option to wmcommand.
1929 From Oliver Graf <ograf@rhein-zeitung.de>
1931 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1933 * fns.c (Fsubstring): Don't traverse the same region twice with
1934 charcount_to_bytecount().
1936 1999-06-03 SL Baur <steve@steve1.m17n.org>
1938 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1941 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1942 doesn't really work as is implied by the commentary).
1943 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1945 1999-06-02 SL Baur <steve@steve1.m17n.org>
1947 * symsinit.h: Declare vars_of_ntproc.
1948 * emacs.c (main_1): Call it.
1950 * ntproc.c (syms_of_ntproc): Move variable initializations from
1952 (vars_of_ntproc): ... to here [new function].
1954 * file-coding.c (syms_of_file_coding): Rename.
1955 (vars_of_file_coding): Ditto.
1956 (complex_vars_of_file_coding): Ditto.
1958 * symsinit.h: Rename *_mule_coding to *_file_coding.
1960 * emacs.c (main_1): Call them by the proper name.
1962 * device-msw.c (syms_of_device_mswindows): Move variable
1963 initializations from here ...
1964 (vars_of_device_mswindows): ... to here.
1966 * chartab.c (vars_of_chartab): New function.
1968 * symsinit.h: New function, vars_of_chartab.
1970 * emacs.c (main_1): Call it.
1972 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1973 (vars_of_mule_canna): ... to here.
1975 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1976 initializations out of syms_of_mule_ccl.
1978 * symsinit.h: Declare new function vars_of_mule_ccl.
1980 * emacs.c (main_1): Call it.
1982 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1984 * fns.c (base64_decode_1): Ignore whitespace.
1986 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1988 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1991 1999-05-21 Andy Piper <andy@xemacs.org>
1993 * xselect.c: deleted.
1995 * symsinit.h: declare select initialisation.
1997 * select.h: new file. declare commonly used select functions and
2000 * select.c: new file. generalised from xselect.c.
2001 (clean_local_selection_data): moved from xselect.c.
2002 (get_local_selection): ditto. device specific pieces called via a
2004 (handle_selection_clear): ditto.
2005 (Fown_selection_internal): renamed and generalised from
2006 Fx_own_selection_internal. moved from xselect.c.
2007 (Fdisown_selection_internal): ditto.
2008 (Fselection_owner_p): ditto.
2009 (Fselection_exists_p): ditto.
2010 (Fget_selection_internal): ditto.
2011 (syms_of_select): new function. QXXXX values moved from xselect.c
2012 (vars_of_select): new function. selection_converter_alist,
2013 lost_selection_hooks moved and renamed from xselect.c
2015 * select-x.c: renamed from xselect.c.
2016 (x_own_selection): converted to device specific. non-X-specific
2017 bits moved to select.c.
2018 (x_get_foreign_selection): ditto.
2019 (x_disown_selection): ditto.
2020 (x_selection_exists_p): ditto.
2021 (console_type_create_select_x): new function.
2023 * select-msw.c (mswindows_own_selection): new device method to set
2024 the clipboard when we 'own' the selection.
2025 (mswindows_get_foreign_selection): new device method to get the
2027 (mswindows_disown_selection): new device method to delete the
2028 selection when we 'disown' it.
2029 (console_type_create_select_mswindows): new function.
2031 * emacs.c (main_1): add select to things to initialise.
2033 * console.h (struct console_methods): new console methods for
2036 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2038 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2040 * print.c (long_to_string): Install a faster version.
2042 1999-05-16 Andy Piper <andy@xemacs.org>
2044 * ntproc.c (syms_of_ntproc): default
2045 win32-start-process-share-console to t.
2047 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2049 * config.h.in: Do it here.
2051 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2053 1999-05-14 Andy Piper <andy@xemacs.org>
2055 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2058 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2060 * XEmacs 21.2.14 is released
2062 1999-05-12 Andy Piper <andy@xemacs.org>
2064 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2066 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2068 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2069 run_temacs_argv array -- fixes random memory corruption crash
2071 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2073 * window.c (Fcurrent_window_configuration):
2074 Save minibuffer height;
2076 * window.c (set_window_configuration): use it.
2078 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2080 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2082 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2084 * redisplay.c (redisplay_window): Do not put data
2085 in the line start cache if it is not guaranteed to be correct
2087 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2089 * window.c (struct window_config): Removed frame
2091 (window_config_equal): No longer compare frame sizes.
2092 (Fset_window_configuration): Resize old top window to fit in the
2093 current frame directly, no longer use a fake frame resize.
2094 (Fcurrent_window_configuration): No longer save frame size
2096 1999-05-11 Andy Piper <andy@xemacs.org>
2098 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2101 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2103 * sysdep.c (init_system_name): If gethostname gives a proper
2104 domain name, don't look further for one.
2106 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2108 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2109 (Fintern_soft): Accept a symbol argument.
2111 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2113 * symbols.c (Fintern): ...do it here.
2115 * lread.c (read_atom): Don't handle keywords here.
2117 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2119 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2121 1999-05-03 Olivier Galibert <galibert@pobox.com>
2123 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2124 is interned in the main obarray.
2126 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2128 * menubar-x.c (pre_activate_callback): set accelerator field in
2129 "No menu" entries to nil. Avoid crash in
2130 command_builder_operate_menu_accelerator
2132 1999-05-03 Olivier Galibert <galibert@pobox.com>
2134 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2136 * lisp.h (DEFUN): Fix lrecord header initialisation.
2138 1999-05-02 Andy Piper <andy@xemacs.org>
2140 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2142 * ntproc.c (sys_kill): cast using MS mandated defines.
2144 1999-04-29 Andy Piper <andy@xemacs.org>
2146 * m/intel386.h: remove redundant definitions.
2148 * s/mingw32.h: new header for mingw32.
2150 * unexnt.c: (open_input_file): function moved to nt.c.
2151 (close_file_data): ditto.
2152 (rva_to_section): function moved to ntproc.
2154 * symsinit.h: declare syms_of_ntproc();
2156 * objects-msw.c (mswindows_font_instance_truename): new function.
2158 * ntproc.c: remove many warnings.
2159 (_sys_read_ahead): moved from nt.c and made static.
2160 (rva_to_section): moved from unexnt.c but not defined under
2162 (win32_executable_type): implement what we can for mingw32
2164 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2166 * ntheap.h: remove declarations of functions that are now static.
2168 * ntheap.c: support static heap.
2170 * nt.h: conditionalise X_OK definition.
2172 * nt.c: eliminate many warnings and support mingw32.
2173 (open_input_file): function moved from unexnt.c and made static
2174 (close_file_data): ditto.
2175 (_sys_read_ahead): moved to ntproc.c
2177 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2179 * console-msw.h: support mingw32.
2180 * getloadavg.c: ditto.
2187 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2188 some systems don't have all of the encapsulated system calls.
2190 * callproc.c: warning elimination.
2191 * dired-msw.c: ditto.
2192 * process-nt.c: ditto.
2193 * realpath.c: ditto.
2195 * Makefile.in.in: tweak : and ; for building under mswindows.
2197 1999-04-26 Michael Harnois <mharnois@willinet.net>
2199 * eldap.c (allocate_ldap): Adapt to the new semantics of
2200 alloc_lcrecord_type().
2202 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2204 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2206 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2208 * Delete mule-coding.c and mule-coding.h because they are not
2211 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2213 * objects.c (print_font_instance): Check for NILP(f->device),
2214 i.e. Vthe_null_font_instance.
2215 (font_instance_truename_internal): ditto.
2216 (Ffont_instance_properties): ditto.
2218 1999-04-22 Olivier Galibert <galibert@pobox.com>
2220 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2223 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2225 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2226 it easier to add new ones.
2228 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2230 * symbols.c (reject_constant_symbols): Ditto.
2231 (init_symbols_once_early): Ditto.
2233 * print.c (print_symbol): Don't use ->obarray.
2235 * symbols.c (Funintern): Ditto.
2237 * alloc.c (Fmake_symbol): Don't set ->obarray.
2239 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2241 * symbols.c (init_symbols_once_early): Removed
2242 Vpure_uninterned_symbol_table.
2243 (Fintern): Don't store to ->obarray field.
2245 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2247 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2248 (eq_with_ebola_notice): Remove abracadabra support.
2250 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2252 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2253 retrieve the distinguished names of entries
2255 1999-03-08 Martin Buchholz <martin@xemacs.org>
2257 * lread.c (read_escape): Make hex escapes read only two hex digits.
2259 1999-04-05 Olivier Galibert <galibert@pobox.com>
2261 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2262 * make-src-depend: Remove puresize-adjust.h.
2263 * src-headers: Remove puresize-adjust.h.
2264 * config.h.in: Kill everything purespace/gung-ho related.
2266 * dbxrc: Make gung-ho mandatory.
2269 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2270 c_readonly and lisp_readonly. Remove implementation arrays.
2271 (C_READONLY_RECORD_HEADER_P): Added.
2272 (LISP_READONLY_RECORD_HEADER_P): Added.
2273 (SET_C_READONLY_RECORD_HEADER): Added.
2274 (SET_LISP_READONLY_RECORD_HEADER): Added.
2276 * lisp.h: Kill everything purespace/non gung-ho related.
2277 (CHECK_C_WRITEABLE): Added.
2278 (CHECK_LISP_WRITEABLE): Added.
2279 (C_READONLY): Added.
2280 (LISP_READONLY): Added.
2282 * lisp-union.h: Make gung-ho mandatory.
2283 * lisp-disunion.h: Ditto.
2285 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2286 set_lheader_implementation calls.
2287 (c_readonly): Added.
2288 (lisp_readonly): Added.
2289 (make_string_nocopy): Added.
2290 (Fpurecopy): Changed to do nothing. Kept the old documentation
2291 for reference purposes for the next patches.
2292 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2293 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2294 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2296 * fns.c: Make gung-ho mandatory.
2297 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2299 (Ffillarray): Ditto.
2301 * data.c: Make gung-ho mandatory.
2302 (pure_write_error): Removed.
2303 (c_write_error): Added.
2304 (lisp_write_error): Added.
2305 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2309 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2310 make_string or make_string_nocopy. Fix various
2311 alloc_lcrecord_type.
2313 * lread.c: Remove everything purespace related.
2314 (Flocate_file_clear_hashing): purified -> c_readonly.
2315 (locate_file): Ditto.
2316 (read_atom): make_pure_pname -> make_string.
2318 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2320 (Fdump_emacs): Ditto.
2322 * print.c (print_internal): Make gung-ho mandatory.
2323 * ntheap.c (sbrk): Ditto.
2324 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2325 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2327 * sheap.c (more_static_core): Remove puresize-adjust.h from
2330 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2332 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2333 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2334 * events.c (deinitialize_event): Fix set_lheader_implementation.
2335 (zero_event): Ditto.
2336 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2337 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2338 * mule-charset.c (make_charset): Ditto.
2339 * console.c (allocate_console): Ditto.
2340 (complex_vars_of_console): Ditto.
2341 * file-coding.c (allocate_coding_system): Ditto.
2342 * device.c (allocate_device): Ditto
2343 * gui-x.c (gcpro_popup_callbacks): Ditto.
2344 * extents.c (allocate_extent_auxiliary): Ditto.
2345 (allocate_extent_info): Ditto.
2346 (copy_extent): Ditto.
2347 * glyphs.c (allocate_image_instance): Ditto.
2348 (allocate_glyph): Ditto.
2349 * frame.c (allocate_frame_core): Ditto.
2350 * database.c (allocate_database): Ditto.
2351 * tooltalk.c (make_tooltalk_message): Ditto.
2352 (make_tooltalk_pattern): Ditto.
2353 * rangetab.c (Fmake_range_table): Ditto.
2354 (Fcopy_range_table): Ditto.
2355 * process.c (make_process_internal): Ditto.
2356 * chartab.c (Fmake_char_table): Ditto.
2357 (make_char_table_entry): Ditto.
2358 (copy_char_table_entry): Ditto.
2359 (Fcopy_char_table): Ditto.
2360 * elhash.c (make_general_lisp_hash_table): Ditto.
2361 (Fcopy_hash_table): Ditto.
2362 * buffer.c (allocate_buffer): Ditto.
2363 (complex_vars_of_buffer): Ditto.
2364 * event-stream.c (allocate_command_builder): Ditto.
2365 * objects.c (Fmake_color_instance): Ditto.
2366 (Fmake_font_instance): Ditto.
2367 (vars_of_objects): Ditto.
2368 * toolbar.c (update_toolbar_button): Ditto.
2369 * window.c (allocate_window): Ditto.
2370 (make_dummy_parent): Ditto.
2371 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2372 (vars_of_window): Fix make_lcrecord_list.
2373 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2375 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2376 * opaque.c (make_opaque): Fix alloc_lrecord.
2377 (make_opaque_list): Fix alloc_lrecord_type.
2379 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2381 * process.c (Fstart_process_internal): Ditto.
2383 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2386 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2388 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2391 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2392 (emodules_load): Use it when calling locate_file().
2394 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2397 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2398 (vars_of_callproc): Initialize it.
2399 (Fcall_process_internal): Use it when calling locate_file().
2401 * alloc.c (disksave_object_finalization): Use
2402 Flocate_file_clear_hashing().
2404 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2405 given `t' as argument.
2407 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2409 * lread.c (locate_file): Expand `pathel' when appropriate.
2410 (Flocate_file_clear_hashing): Expand path elements.
2411 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2413 * dired.c (make_directory_hash_table): Create the hash-table only
2414 if the directory open is successful.
2416 * lread.c (decode_mode_1): New function.
2417 (decode_mode): Ditto.
2418 (Flocate_file): Use them.
2419 (Flocate_file): Expand FILENAME.
2420 (locate_file_map_suffixes): New function.
2421 (locate_file_in_directory_mapper): New function.
2422 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2423 and locate_file_map_suffixes().
2424 (locate_file_construct_suffixed_files): Use
2425 locate_file_map_suffixes().
2426 (locate_file_without_hash): Don't GCPRO path.
2427 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2428 (syms_of_lread): Remove Qlocate_file_hash_table.
2429 (locate_file_find_directory_hash_table): Use
2430 Vlocate_file_hash_table.
2431 (locate_file_refresh_hashing): Ditto.
2433 * lread.c: Renamed read_objects to Vread_objects.
2435 1999-04-16 Olivier Galibert <galibert@pobox.com>
2437 * mule-charset.c: Generally resync with fsf 20.3 charset
2439 (make_charset): Add long and short name. Use id instead of
2441 (Fmake_charset): Ditto.
2442 (Fmake_reverse_direction_charset): Ditto.
2443 (Fcharset_property): Ditto.
2444 (Fcharset_short_name): Added.
2445 (Fcharset_long_name): Added.
2446 (Fcharset_description): Renamed from charset-doc-string.
2447 (syms_of_mule_charset): Synced symbols.
2448 (complex_vars_of_mule_charset): Synced charsets.
2450 * mule-charset.h: Removed leading byte (uses id instead), added
2451 short and long name.
2453 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2455 * file-coding.c (Fdefine_coding_system_alias): New function.
2457 1999-04-08 Olivier Galibert <galibert@pobox.com>
2459 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2460 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2462 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2464 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2465 attach to the extent is valid.
2467 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2469 * dired.c (user_name_completion): Mule-ize.
2470 (user_name_completion): Use xmalloc/xrealloc/xfree.
2471 (user_name_completion): Use DO_REALLOC.
2472 (user_name_completion): Cut down the number of static variables;
2474 (user_name_completion): Username completion is always
2477 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2479 * fns.c (base64_decode_1): Remove COUNTER.
2480 (base64_decode_1): Accept CRLF in addition to CR.
2481 (base64_decode_1): Disallow a stray character after final EOF; the
2482 check was probably a remnant of buggy recode code.
2484 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2486 * fns.c (init_provide_once): Provide `base64'.
2488 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2490 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2491 (Fbase64_encode_region): If buffer is read-only, bail out early.
2492 (Fbase64_decode_region): Ditto.
2493 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2495 (Fbase64_encode_string): Ditto.
2496 (Fbase64_decode_region): Ditto.
2497 (Fbase64_decode_string): Ditto.
2499 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2501 * dired.c (Fdirectory_files): Remove redundant code.
2503 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2505 * frame-msw.c Make raise-frame restore minimised windows.
2507 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2509 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2512 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2514 * toolbar-msw.c Consider captions when deciding whether to rebuild
2515 toolbar. This fixes the initial toolbar display for those of us
2516 who don't like captions. These patches applied by Andy Piper.
2518 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2520 * XEmacs 21.2.13 is released
2522 1999-03-12 SL Baur <steve@xemacs.org>
2524 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2526 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2528 * file-coding.c: docstring and comment improvements.
2529 (decode_ucs4) flag possible data loss with comment.
2531 1999-03-10 Martin Buchholz <martin@xemacs.org>
2533 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2537 (decode_coding_ucs4):
2538 (encode_coding_ucs4):
2539 (detect_coding_utf8):
2540 (decode_coding_utf8):
2542 (encode_coding_utf8):
2543 Add CHECK_* macros where needed to avoid crashes.
2544 #ifdef out all composite character support using
2545 #ifdef ENABLE_COMPOSITE_CHARS
2546 Use normal XEmacs coding standards.
2548 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2550 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2552 * file-coding.c (make-coding-system): Add description about
2553 `ucs-4' and `utf-8'.
2554 (detection_state): Modify to implement ucs-4 and utf-8.
2555 (detect_coding_type): Likewise.
2556 (detect_coding_ucs4): New implementation.
2557 (detect_coding_utf8): New implementation.
2558 (encode_utf8): fixed.
2559 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2562 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2564 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2565 2022 registry to private area.
2567 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2569 * file-coding.c (encode_utf8): New function.
2570 (encode_coding_utf8): New implementation.
2572 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2574 * file-coding.c (ucs_to_mule_table): New variable; abolish
2575 `Vucs_to_mule_table'
2576 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2577 (set-ucs-char): New function.
2578 (ucs_to_char): New function.
2579 (ucs-char): New function.
2580 (set-char-ucs): New function.
2581 (char-ucs): New function.
2582 (decode_ucs4): Use `ucs_to_char'.
2583 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2584 `mule-to-ucs-table'.
2586 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2588 * chartab.h: EXFUN `Fget_char_table'.
2590 * file-coding.c (encode_ucs4): New function.
2591 (encode_coding_ucs4): Use `encode_ucs4'.
2593 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2595 * file-coding.c (decode_coding_ucs4): New implementation.
2597 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2599 * file-coding.c (decode_coding_ucs4): fixed.
2601 * file-coding.c (Vmule_to_ucs_table): New variable.
2602 (mule_char_to_ucs4): New function.
2603 (encode_coding_ucs4): New implementation.
2604 (complex_vars_of_mule_coding): Define variable
2605 `mule-to-ucs-table'.
2607 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2609 * file-coding.c (decode_coding_utf8): New implementation.
2611 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2613 * file-coding.c (decode_coding_utf8): fixed.
2615 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2617 * file-coding.c (Vucs_to_mule_table): New variable.
2618 (decode_ucs4): Refer `Vucs_to_mule_table'.
2619 (complex_vars_of_mule_coding): Define variable
2620 `ucs-to-mule-table'.
2622 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2624 * file-coding.c (detect_coding_ucs4): New function (not
2626 (decode_coding_ucs4): New function.
2627 (encode_coding_ucs4): New function (not implemented yet).
2628 (detect_coding_utf8): New function (not implemented yet).
2629 (decode_coding_utf8): New function.
2630 (encode_coding_utf8): New function (not implemented yet).
2631 (make-coding-system): New type `ucs4' and `utf8'.
2632 (coding-system-type): Likewise.
2633 (detection_state): Add `ucs4' and `utf8'.
2634 (detect_coding_type): Likewise.
2635 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2636 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2637 (decode_ucs4): New function (very incomplete).
2638 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2640 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2642 1999-03-08 Martin Buchholz <martin@xemacs.org>
2645 (non_ascii_valid_char_p):
2646 (lookup_composite_char):
2647 (composite_char_string):
2648 (make-composite-char):
2649 (composite-char-string):
2650 (syms_of_mule_charset):
2651 (complex_vars_of_mule_charset):
2652 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2653 (CHAR_LEADING_BYTE):
2655 * file-coding.h (CODING_STATE_COMPOSITE):
2656 (CODING_STATE_ISO2022_LOCK):
2658 (LEADING_BYTE_COMPOSITE):
2659 * file-coding.c (struct iso2022_decoder):
2662 (parse_iso2022_esc):
2663 (encode_coding_iso2022):
2664 #ifdef out all composite character support using
2665 #ifdef ENABLE_COMPOSITE_CHARS
2667 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2669 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2671 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2672 way of `Fbase64_encode_region'.
2674 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2676 * fns.c (base64_encode_1): Don't add a newline at the tail.
2678 1999-03-08 Andy Piper <andy@xemacs.org>
2680 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2683 1999-03-07 Martin Buchholz <martin@xemacs.org>
2685 * console-stream.h (struct stream_console):
2686 * event-unixoid.c (event_stream_unixoid_select_console):
2687 (event_stream_unixoid_unselect_console):
2688 * print.c (Fexternal_debugging_output):
2689 * sysdep.c (reset_one_device):
2690 * console-stream.c (stream_init_console):
2691 (stream_delete_console):
2692 (allocate_stream_console_struct): move into stream_init_console.
2693 (free_stream_console_struct): move into stream_delete_console.
2694 Use `fd' only for file descriptors.
2695 Therefore, rename members of struct stream_console.
2697 * systime.h: Unix98 says sys/time.h should define select(), but
2698 some systems define that in unistd.h. So include that file always.
2700 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2701 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2702 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2704 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2708 Add #include <stdio.h>.
2709 Some versions of assert.h use printf() without #include'ing stdio.h
2711 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2712 (log_gcpro): Remove unused variable FRAME.
2713 (show_gcprohist): Ansify.
2714 Comment the #endif's
2716 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2717 after it's just been XtDestroy'ed!
2719 1999-02-18 Martin Buchholz <martin@xemacs.org>
2721 * opaque.c (print_opaque):
2725 Egcs 1.1.1 seems to have a bug where
2726 INTP (p->size_or_chain)
2727 will crash XEmacs. Fix by introducing intermediate variable.
2729 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2731 * dired.c (Fdirectory_files):
2732 (Ffile_name_completion):
2733 (Ffile_name_all_completions):
2734 (file_name_completion):
2735 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2736 avoid compiler warnings.
2737 - Fix up docstrings so that C variables match documentation.
2739 1999-03-05 Martin Buchholz <martin@xemacs.org>
2741 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2742 variables as small as possible to help out the compiler and the maintainer.
2744 * alloc.c: (disksave_object_finalization):
2745 Set all the *-load-path variables to
2746 nil, not just load-path itself. This gets the locate-file hash
2747 tables garbage collected BEFORE dump, and has the side effect of
2748 preventing crashes on OSF4.0+egcs.
2753 - Clean up gdb/dbx debugging support.
2754 - Storing an EMACS_INT in an enum is not 64-bit clean!
2755 - So change the enum to a set of separate variables.
2756 - Add test cases to help debug the debugging support!
2757 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2758 - Both dbx and gdb have been tested now.
2760 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2762 * XEmacs 21.2.12 is released
2764 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2766 * device-x.c: Support to find best visual without flashing.
2768 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2770 * database.c (berkdb_map): Add flags argument to cursor call (must
2771 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2773 1999-03-03 Martin Buchholz <martin@xemacs.org>
2777 General cleanup. Get free-hook.c working again.
2778 Remove unused functions:
2779 make_strings_hash_table, copy_hash, expand_hash_table.
2783 Always use new ANSI-style function prototypes.
2785 * unexalpha.c (unexec): Never use implicit int.
2787 * sgiplay.c (close_sound_file):
2789 (restore_audio_port):
2794 (write_mulaw_8_chunk):
2795 (write_linear_chunk):
2796 (write_linear_32_chunk):
2797 (initialize_audio_port):
2800 (set_output_format):
2801 (adjust_audio_volume):
2802 (get_current_volumes):
2804 Always use new ANSI-style function prototypes.
2805 Use unistd.h for missing prototypes.
2807 * unexelfsgi.c (round_up):
2809 (unexec): Always use new ANSI-style function prototypes
2811 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2813 * console.h (struct console_methods): Always use full ANSI prototypes
2815 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2817 1999-03-02 Andy Piper <andy@xemacs.org>
2819 * event-stream.c (init_event_stream): make sure native mswindows
2820 gets an appropriate event loop.
2822 1999-02-22 Andy Piper <andy@xemacs.org>
2824 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2825 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2826 (mswindows_raise_frame): remove comment.
2828 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2830 * XEmacs 21.2.11 is released
2832 1999-02-25 SL Baur <steve@xemacs.org>
2834 * mule-charset.c (Qleading_byte): New variable to implement
2835 charset-leading-byte function.
2836 (Fcharset_property): Use it.
2837 (syms_of_mule_charset): Initialize it.
2838 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2840 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2842 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2843 bytes per pixel counting.
2845 1999-02-15 Andy Piper <andy@xemacs.org>
2847 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2850 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2852 * fns.c (Fbase64_encode_string): New optional argument
2855 1999-02-16 Martin Buchholz <martin@xemacs.org>
2857 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2858 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2860 1999-02-10 Martin Buchholz <martin@xemacs.org>
2862 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2863 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2865 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2867 * XEmacs 21.2.10 is released
2869 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2871 * process-nt.c (nt_send_process):
2872 Fix for process-send-region/process-send-string breaking when size
2873 of the input > 128 chars: change maximum chunk size for process
2874 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2877 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2879 * XEmacs 21.2.9 is released
2881 1999-01-30 Martin Buchholz <martin@xemacs.org>
2883 * bytecode.c (funcall_compiled_function): Call
2884 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2886 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2887 #ifdef 0 out unused macro.
2889 1999-01-27 Martin Buchholz <martin@xemacs.org>
2891 * gui.c (gui_parse_item_keywords_internal): Make static.
2893 1999-01-21 Andy Piper <andy@xemacs.org>
2895 * glyphs-msw.c: add xface support.
2896 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2897 (image_instantiator_format_create_glyphs_mswindows): do device
2898 specific initialisation for xfaces.
2899 (xbm_create_bitmap_from_data): line data must be padded to a word
2902 * glyphs-x.c (xface_validate): moved to glyphs.c
2903 (xface_normalize): ditto.
2904 (xface_possible_dest_types): ditto.
2905 (image_instantiator_format_create_glyphs_x): do device specific
2906 initialisation for xfaces.
2908 * glyphs.h: declare xface symbol.
2910 * glyphs.c: move generic xface support here.
2911 (xface_validate): moved from glyphs-x.c
2912 (xface_normalize): ditto.
2913 (xface_possible_dest_types): ditto.
2914 (image_instantiator_format_create): xface declarations moved from
2917 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2919 * event-stream.c (vars_of_event_stream): Fixing documentation.
2921 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2923 * glyphs-eimage.c (gif_instantiate): Correct handling of
2924 interlaced gifs to avoid writing past the end of the eimage
2927 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2929 * search.c (Freplace_match): Handle single backslash at end of
2932 1999-01-12 William M. Perry <wmperry@aventail.com>
2934 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2935 avoid connection errors.
2937 1999-01-12 Andy Piper <andy@xemacs.org>
2939 * redisplay-output.c (redisplay_update_line): backout change that
2940 shouldn't have gone ine.
2942 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2944 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2945 collide with ldap.el
2947 1999-01-11 Andy Piper <andy@xemacs.org>
2949 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2950 (DISPLAY_LINE_YPOS): new macro.
2952 * redisplay-msw.c (mswindows_output_string): use it.
2953 (mswindows_output_pixmap): ditto.
2954 (mswindows_output_display_block): ditto.
2956 * redisplay-output.c (redisplay_output_display_block): new
2957 function. just call the devmeth, maybe insert some generic code
2959 (compare_display_blocks): use it.
2960 (output_display_line): ditto.
2961 (redisplay_unmap_subwindows_maybe): new function. potentially
2962 unmap subwindows in the given area.
2964 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2967 1999-01-10 J. Kean Johnston <jkj@sco.com>
2969 * Makefile.in.in: Set value of moduledir
2970 - Changed DUMPENV to include $(MODULEPATH)
2971 - Added install rule to install header files for use by ellcc.
2973 * config.h.in: Added INHIBIT_SITE_MODULES
2974 - Added HAVE__DLERROR
2975 - Added HAVE_DLFCN_H
2976 - Added DLSYM_NEEDS_UNDERSCORE
2980 * emodules.c: New file containing dynamic loading code.
2982 * emodules.h: New file.
2984 * emacs.c: Added variables Vmodule_directory,
2985 Vsite_module_directory, Vconfigure_module_directory and
2986 Vconfigure_site_module_directory.
2987 - (main_1): Added new variable inhibit_site_modules and command
2988 line options `-no-site-modules' and `--no-site-modules'.
2989 - (main_1): Call syms_of_module() instead of syms_of_dll().
2990 - (main_1): Call vars_of_module().
2991 - (vars_of_emacs): Introduce inhibit-site-modules,
2992 module-directory, configure-module-directory,
2993 site-module-directory, and configure-site-module-directory to the
2996 * lisp.h: Declare load_module and list_modules, as well as
2997 Vmodule_directory, Vsite_module_directory,
2998 Vconfigure_module_directory and Vconfigure_site_module_directory.
3000 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3001 - Added correct support for site-lisp directory.
3003 * symbols.c (defsubr): Modified to allow modules to add new subrs
3005 - (defsubr_macro): Same.
3006 - (defvar_magick): Only use purespace when not initialized, so
3007 that loaded modules can still add symbols.
3009 * symsinit.h: Add definitions for syms_of_module(),
3010 vars_of_module(). Removed syms_of_dll().
3012 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3013 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3014 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3016 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3017 explicitly pass -belf for native cc.
3019 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3020 hard-coding the library name.
3022 1999-01-01 <martin@xemacs.org>
3024 * device-x.c (Fx_set_font_path):
3025 Add proper cast to permit compilation under C++.
3027 * buffer.c (directory_is_current_directory):
3028 Add proper casts to permit compilation under C++.
3030 1998-12-30 Damon Lipparelli <lipp@primus.com>
3032 * event-msw.c (mswindows_wnd_proc):
3033 Fixed failure when building with MSVC 5.
3035 1998-12-29 Martin Buchholz <martin@xemacs.org>
3037 * file-coding.c (decode_coding_iso2022):
3038 - Prevent crash when decoding ISO7/Lock detected files
3039 - the usual martin fiddling
3041 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3045 Fixed failures when building with MSVC.
3046 * unexnt.c (dump_bss_and_heap):
3047 Removed compiler warning by removing bss_data variable.
3049 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3051 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3052 so that packages that distribute their own fonts can access them.
3054 1998-12-28 Andy Piper <andy@xemacs.org>
3056 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3057 that have an image provided.
3059 * glyphs.h: add Q_image decl.
3061 * glyphs-widget.c new functionality allowing images in
3063 (check_valid_glyph_or_image): new function to validate
3064 glyphs passed in through :image.
3065 (widget_normalize): new function. convert :image parameters into
3066 real glyphs if not already so.
3067 (widget_instantiate_1): mess with size parameters to be similar to
3069 (syms_of_glyphs_widget): new keyword :image.
3070 (image_instantiator_format_create_glyphs_widget): normalize
3071 buttons and allow :image.
3073 1998-12-27 Andy Piper <andy@xemacs.org>
3075 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3077 * glyphs-widget.c (check_valid_anything): no-op function.
3078 (check_valid_callback): check callbacks in gui_items.
3079 (check_valid_symbol): as it sounds.
3080 (check_valid_string_or_vector): ditto.
3081 (widget_validate): modified for descriptors that are vectors or
3082 sequences of keyword/val pairs.
3083 (widget_instantiate_1): ditto.
3084 (image_instantiator_format_create_glyphs_widget): allow gui_item
3085 keywords in the instantiator.
3087 * gui.c (gui_parse_item_keywords_internal): renamed from
3088 gui_parse_item_keywords but taking error behaviour.
3089 (gui_parse_item_keywords): use it.
3090 (gui_parse_item_keywords_no_errors): ditto.
3091 (gui_item_add_keyval_pair): add Error_behavior flag and only
3092 signal invalid keywords if required.
3094 * gui.h: new gui signatures.
3096 * menubar.c (menu_parse_submenu_keywords): use new
3097 gui_item_add_keyval_pair signature.
3099 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3101 1998-12-28 Martin Buchholz <martin@xemacs.org>
3103 * XEmacs 21.2.8 is released.
3105 1998-12-28 Martin Buchholz <martin@xemacs.org>
3107 * editfns.c (get_home_directory):
3108 (user-home-directory): Simplify.
3111 * callproc.c (child_setup):
3112 - Environment variables were being passed to inferior processes
3113 using internal encoding.
3114 - Convert to external encoding.
3115 - Rename local var `tem' to better name `tail'.
3116 - Use Flength instead of `manual' calculation.
3118 * buffer.c (kill-buffer):
3120 (set-buffer-major-mode):
3122 - Fix up parameter names to correspond to docstrings.
3123 - Don't use `bufname' when a buffer will do as well.
3124 - Remove one unneeded GCPRO.
3126 * buffer.h (initial_directory):
3127 * buffer.c (init_initial_directory):
3128 - use correct conversions between internal and external format.
3129 (directory_is_current_directory): new function
3130 (init_buffer): convert initial_directory to internal format.
3131 - solve crashes when current working directory is non-ASCII.
3133 * alloc.c (xmalloc):
3136 - remove stupid casts, since XEmacs requires an ANSI C system.
3137 (lrecord_type_index): replace abort() with more readable assert().
3139 (reset_lcrecord_stats): remove.
3140 (sweep_lcrecords_1):
3141 - replace call to reset_lcrecord_stats() with call to xzero().
3143 1998-12-27 Martin Buchholz <martin@xemacs.org>
3145 * process-unix.c (unix_create_process):
3146 - Fix crash invoking program with non-ASCII name.
3147 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3148 - Remove unused variable `env'.
3149 - Rename `temp' to better name `save_errno'.
3150 - Reorganize code for clarity. But still too chicken to nuke the
3153 1998-12-24 Martin Buchholz <martin@xemacs.org>
3155 * XEmacs 21.2.7 is released.
3157 1998-12-23 Martin Buchholz <martin@xemacs.org>
3159 * glyphs.c (decode_device_ii_format):
3161 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3163 * glyphs-x.c (x_subwindow_instantiate):
3164 - A image instance mask was being assigned to a image instance type!
3165 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3167 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3169 * glyphs-x.h: Make indentation consistent.
3171 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3173 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3175 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3179 Move declarations of decode_device_ii_format and
3180 decode_image_instantiator_format into glyphs.h where they belong.
3182 1998-12-22 Martin Buchholz <martin@xemacs.org>
3184 * frame-x.c (x_delete_frame): Revert part of my changes at the
3185 suggestion of Gunnar Evermann - unfortunately no one really
3186 understands this code.
3188 * callproc.c (init_callproc): code cleanup.
3190 * free-hook.c (malloc):
3195 (block_input_malloc):
3196 (block_input_realloc):
3197 * device-x.c (x_delete_device):
3198 * emacs.c (voodoo_free_hook):
3199 * events.c (print_event):
3201 (CHECK_EVENT_TYPE2):
3202 (CHECK_EVENT_TYPE3):
3203 Use proper prototypes.
3204 Make C_E_T macros a little faster.
3205 Pedantic fiddly little changes. You really don't care.
3207 1998-12-22 Andy Piper <andy@xemacs.org>
3209 * redisplay-output.c (redisplay_clear_region): make sure that
3210 fg/bg colors get set even when we are in the border area.
3212 1998-12-13 Martin Buchholz <martin@xemacs.org>
3214 * console-msw.c: Function definitions follow coding standards
3215 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3217 1998-12-11 Martin Buchholz <martin@xemacs.org>
3219 * events.h (struct timeout_data):
3220 * event-tty.c (tty_timeout_to_emacs_event):
3221 * event-msw.c (mswindows_wm_timer_callback):
3222 * event-Xt.c (Xt_timeout_to_emacs_event):
3223 * event-msw.c (mswindows_cancel_dispatch_event):
3224 Make sure Lisp_Objects inside events are initialized to Qnil, not
3225 Qnull_pointer, which is now illegal.
3227 1998-12-10 Martin Buchholz <martin@xemacs.org>
3229 * lisp.h: Fix up prototypes to match alloc.c
3231 1998-12-08 Martin Buchholz <martin@xemacs.org>
3233 * windowsnt.h: Remove `support' for using index and rindex
3235 * filelock.c (current_lock_owner):
3236 - Change uses of index -> strchr, rindex -> strrchr
3238 1998-12-07 Martin Buchholz <martin@xemacs.org>
3240 * sysdep.c (set_descriptor_non_blocking):
3241 Since O_NONBLOCK is now always #defined, make use of fcntl
3242 conditional on F_SETFL being defined.
3244 * console-msw.c (DHEADgER):
3253 - max_align_t should not be visible to the user of the
3255 - use Bufbyte instead of char
3256 - parens around (FOOP (obj)) are always redundant.
3257 If they were necessary, we should fix the macro instead.
3258 - Always use string_data(foo) instead of foo->data.
3261 1998-12-06 Martin Buchholz <martin@xemacs.org>
3263 * frame-msw.c (mswindows_init_frame_1):
3264 - use make_lisp_hash_table, not Fmake_hash_table
3268 * alloc.c (make_vector): remove travesty
3272 (make_bit_vector_internal):
3274 (make_bit_vector_from_byte_vector):
3276 - make vector_equal a little faster.
3277 - Don't use variable name `new'.
3278 - Use size_t instead of EMACS_INT.
3279 - usual Martin-style pointless bit-twiddling.
3285 Make mapcar faster. In particular, make
3286 (mapc #'identity long-string)
3287 MUCH faster under Mule.
3288 * tests/automated/lisp-tests.el: Test 'em!
3290 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3293 1998-12-01 Martin Buchholz <martin@xemacs.org>
3295 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3296 Qnil, not NULL, to initialize `null' Lisp_Objects.
3298 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3300 * specifier.c (display_table_validate): Update.
3302 * redisplay.c (create_text_block): Use them.
3304 * glyphs.c (display_table_entry): New function.
3305 (get_display_tables): Ditto.
3307 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3309 * eldap.c (toplevel): Mention that eldap.c compiles with
3311 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3312 (Fldap_search_internal): Ditto
3314 1998-12-11 Martin Buchholz <martin@xemacs.org>
3316 * event-msw.c (mswindows_cancel_dispatch_event):
3317 Gratuitous code prettification
3320 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3322 * fns.c (Fnconc): Fix use of wrong_type_argument().
3324 * floatfns.c (Ffloat): Fix docstring.
3325 (Ffloat): Fix use of wrong_type_argument().
3327 (extract_float): Ditto.
3332 1998-12-06 Martin Buchholz <martin@xemacs.org>
3334 * frame-msw.c (mswindows_init_frame_1):
3335 - use make_lisp_hash_table, not Fmake_hash_table
3339 * alloc.c (make_vector): remove travesty
3343 (make_bit_vector_internal):
3345 (make_bit_vector_from_byte_vector):
3347 - make vector_equal a little faster.
3348 - Don't use variable name `new'.
3349 - Use size_t instead of EMACS_INT.
3350 - usual Martin-style pointless bit-twiddling.
3356 Make mapcar faster. In particular, make
3357 (mapc #'identity long-string)
3358 MUCH faster under Mule.
3359 * tests/automated/lisp-tests.el: Test 'em!
3361 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3364 1998-12-02 Didier Verna <verna@inf.enst.fr>
3366 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3367 accelerator field to nil for labels.
3369 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3371 * menubar-msw.c (displayable_menu_item):
3372 Escape occurrences of '&' and support occurrences of the
3373 '%_' accelerator indicator in menus.
3375 1998-11-26 Didier Verna <verna@inf.enst.fr>
3377 * dired.c (Fdirectory_files): use make_string instead of
3378 make_ext_string on the filename. The conversion external->internal
3379 format is already done in sys_readdir.
3381 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3383 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3385 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3388 (Belatedly) added Kirill to list of file's authors.
3389 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3390 quit checking. WM_PAINT messages cause redisplay, but
3391 windows' states are not necessarily stable when this function
3394 1998-12-17 Andy Piper <andy@xemacs.org>
3396 * strftime.c (zone_name): CONSTify.
3398 1998-12-15 Andy Piper <andy@xemacs.org>
3400 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3401 (mswindows_widget_property): return Qunbound when no property available.
3402 (mswindows_button_property): ditto.
3403 (mswindows_combo_property): ditto.
3404 (mswindows_widget_set_property): ditto.
3406 * glyphs-widget.c (check_valid_item_list): use properties.
3408 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3410 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3411 (Fimage_instance_property): ditto.
3412 * glyphs-widget.c (widget_property): ditto.
3413 (widget_set_property): ditto.
3415 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3416 as setting the class cursor so that GC actually changes the
3419 * config.h: don't undef MAIL_USE_POP.
3421 1998-12-13 Andy Piper <andy@xemacs.org>
3424 (image_instantiator_format_create_glyphs_mswindows): line ->
3426 (mswindows_label_instantiate): ditto. Play with window flags.
3427 (image_instantiator_format_create_glyphs_mswindows): ditto.
3428 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3430 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3431 cope with lines and labels.
3432 (static_instantiate): use widget_instantiate_1.
3434 (image_instantiator_format_create_glyphs_widget): ditto.
3436 1998-12-10 Andy Piper <andy@xemacs.org>
3438 * Makefile.in.in (objs): add gui.o
3440 1998-12-10 Andy Piper <andy@xemacs.org>
3442 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3445 1998-12-09 Andy Piper <andy@xemacs.org>
3447 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3448 image instance is removed so that the subwindow cache gets reset
3449 and thus destroyed images get GC'd.
3451 1998-12-08 Andy Piper <andy@xemacs.org>
3453 * gui-msw.c (mswindows_handle_gui_wm_command): call
3454 MARK_SUBWINDOWS_CHANGED.
3456 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3457 subwindows really get deleted.
3459 * redisplay.c: new variable subwindows_changed[_set].
3460 (redisplay_window): use it.
3461 (redisplay_frame): ditto.
3462 (redisplay_device): ditto.
3463 (redisplay_without_hooks): ditto.
3465 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3466 subwindows redisplay as per glyphs equivalent.
3467 * redisplay.h: ditto.
3468 (MARK_SUBWINDOWS_CHANGED): ditto.
3469 (RESET_CHANGED_SET_FLAGS): ditto.
3470 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3472 1998-12-07 Andy Piper <andy@xemacs.org>
3474 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3477 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3479 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3480 messages and paint widget glyphs as appropriate with their face fg
3483 1998-12-06 Andy Piper <andy@xemacs.org>
3485 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3486 here rather than in glyphs-widget - do this because we only want
3487 to provide what is really available.
3489 * glyphs.c (Fimage_instance_property): new function to get the
3490 properties of image instances. wires through to console specific
3491 methods and then to widget specific methods.
3492 (Fset_image_instance_property): ditto but for setting widget properties.
3493 (check_valid_face): make extern so that it can be used elsewhere.
3495 * glyphs-widget.c (widget_property): new function. gets the
3496 properties of widgets in general and wires the function through to
3497 widget specific ones.
3498 (widget_set_property): ditto but for setting widget properties.
3500 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3501 add items to the list. Play with window styles a bit to get the
3503 (mswindows_widget_property): break out specific widget properties.
3504 (mswindows_button_property): new function. gets the checked state
3506 (mswindows_combo_property): new function. gets the current
3507 selection in the combo box.
3508 (mswindows_widget_set_property): new function. sets specific
3509 properties of specific widgets.
3511 * glyphs-widget.c (check_valid_item_list): new function. check
3512 that items for a combo-box are just a list of strings.
3513 (combo_validate): new function. check there is an item list.
3514 (widget_instantiate_1): new function. renamed from
3515 widget_instantiate so that we can do slightly different things for
3517 (widget_instantiate): call widget_instantiate_1.
3518 (combo_instantiate): new function to instantiate combo boxes,
3519 defaults height to the pixel height of the number of items in the
3521 (syms_of_glyphs_widget): move widget keywords here.
3522 (image_instantiator_format_create_glyphs_widget): use new combo
3525 1998-12-04 Andy Piper <andy@xemacs.org>
3527 * event-msw.c (mswindows_wnd_proc): mule-ize.
3529 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3531 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3532 (resource_name_to_resource): ditto.
3533 (mswindows_resource_instantiate): ditto.
3534 (mswindows_widget_instantiate): ditto.
3535 (mswindows_widget_set_property): ditto.
3537 * redisplay-output.c (redisplay_output_subwindow): don't show
3538 subwindows if they are obscured at the edge of the frame, emacs
3539 gets into some sort of redisplay loop otherwise.
3541 * gui.h: prototype gui_item_selected_p.
3543 * gui.c (gui_item_selected_p): new function to determine the
3544 selected state of a gui_item.
3546 * frame.h (struct frame): add subwindows_changed flag.
3548 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3550 * glyphs.c (update_subwindow): new function to update a
3552 (update_frame_subwindows): new function to update all the
3553 subwindows on a frame.
3555 * console.h (struct console_methods): add update_subwindow.
3557 * glyphs-msw.c (mswindows_widget_property): return selected state
3558 for selected property.
3559 (mswindows_update_subwindow): new function. updates widget glyphs
3560 in redisplay as per menubars or toolbars e.g. selected state.
3561 (console_type_create_glyphs_mswindows): add update_subwindow.
3563 1998-12-03 Andy Piper <andy@xemacs.org>
3565 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3566 tty coding system things are such.
3568 * glyphs-widget.c (widget_face_font_info): new function for
3569 pulling out height and width metrics for a widget's face.
3570 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3573 * event-msw.c (mswindows_drain_windows_queue): translate messages
3574 that are destined for subwindows. This makes edit fields interact
3575 with the keyboard correctly.
3576 nuke warnings by #ifndef'ing out stuff not required by msg select().
3578 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3579 macro defining the iiforma without the symbol required by widget.
3580 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3582 * general.c (syms_of_general): add Qwidget, Qselected.
3584 * faces.c (complex_vars_of_faces): add widget face inheriting from
3587 1998-11-09 Andy Piper <andy@xemacs.org>
3589 * window.h (struct window): add a cache of subwindows on a
3592 * window.c (mark_window): mark the subwindow_instance_cache.
3593 (allocate_window): initialise the subwindow instance_cache.
3595 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3596 instead of the devmeth.
3597 (x_clear_toolbar): ditto.
3599 * redisplay-x.c (x_output_display_block): call
3600 redisplay_output_subwindow for subwindows and widgets.
3602 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3603 types to do nothing for.
3605 * lisp.h: declare new widget/subwindow symbols.
3607 * glyphs.c (image_instantiate): cache subwindows on a per-window
3609 (subwindow_possible_dest_types): new function for subwindow dest
3611 (subwindow_instantiate): generic instantiation of a
3612 subwindow. specialised by device multi-methods.
3613 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3615 (Fimage_instance_subwindow_id): ditto.
3616 (Fresize_subwindow): ditto.
3617 (Fforce_subwindow_map): ditto.
3619 * glyphs-x.c (x_print_image_instance): remove subwindow
3620 stuff. Handled genrically in glyphs.c.
3621 (x_image_instance_equal): ditto.
3622 (x_image_instance_hash): ditto.
3623 (x_finalize_image_instance): delete subwindows when required.
3624 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3625 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3626 glyph-based, subwindow implementation.
3627 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3629 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3631 (x_unmap_subwindow): new function to unmap X subwindows.
3632 (x_map_subwindow): new function to map X subwindows.
3633 (x_subwindow_instantiate): new function to instantiate X
3635 (x_resize_subwindow): new function to resize X subwindows.
3636 (console_type_create_glyphs_x): add subwindow functions.
3637 (image_instantiator_format_create_glyphs_x): add device
3638 multi-methods for xpm, xbm and subwindow.
3640 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3641 (subwindow-width): ditto.
3642 (subwindow-height): ditto.
3644 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3645 generally instantiating ms subwindows. Used by
3646 mswindows_*_instantiate.
3647 (mswindows_edit_instantiate): instantiate an edit field on a
3650 1998-11-04 Andy Piper <andy@xemacs.org>
3652 * symsinit.h: declare new functions.
3654 * redisplay.h: declare new functions.
3656 * redisplay-x.c (x_output_display_block): call
3657 redisplay_clear_region rather than x_clear_region.
3658 (x_output_string): ditto.
3659 (x_output_pixmap): ditto.
3660 (x_clear_to_window_end): ditto.
3661 (x_output_eol_cursor): ditto.
3662 (x_clear_region): only do X specific things. other duties handled
3663 in redisplay_clear_region.
3665 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3666 duties moved to redisplay_clear_region.
3668 * redisplay-output.c (clear_left_border): use
3669 redisplay_clear_region instead of device method.
3670 (clear_right_border): ditto.
3671 (output_display_line): ditto.
3672 (redisplay_output_subwindow): ditto.
3673 (redisplay_clear_top_of_window): ditto.
3674 (redisplay_clear_region): perform duties previously handled by
3675 device methods. call the appropriate device method at the
3676 end. unmap subwindows if necessary.
3678 * redisplay-msw.c (mswindows_output_string): use
3679 redisplay_clear_region instead of mswindows_clear_region.
3680 (mswindows_clear_to_window_end): ditto.
3681 (mswindows_output_display_block): output subwindows when required.
3682 (mswindows_clear_region): only do mswindows specific things,
3683 everything else is now handled in redisplay_clear_region.
3685 * gui.h: add item id hash defines and declare function prototypes.
3687 * gui.c (mark_gui_item): new function for marking gui_items.
3688 (gui_item_hash): generic hash function for generating command ids
3691 * gui-msw.c: new file.
3692 (mswindows_handle_gui_wm_command): new function to handle widget
3695 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3697 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3698 (DEFINE_DEVICE_IIFORMAT): ditto.
3699 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3700 (struct Lisp_Image_Instance): add widget and subwindow data plus
3701 appropriate access functions.
3703 * glyphs.c (decode_device_ii_format): new function for decoding
3704 image instantiator functions based on a device type as well as an
3706 (decode_image_instantiator_format): just call
3707 decode_device_ii_format with nil device.
3708 (add_entry_to_device_ii_format_list): new function for per device
3710 (add_entry_to_image_instantiator_format_list): just call
3711 add_entry_to_device_ii_format_list with nil device.
3712 (check_valid_vector): new function.
3713 (instantiate_image_instantiator): instantiate using per-format
3714 method and then per-format-per-device method (device
3715 multi-methods). signal an error if neither is possible.
3716 (mark_image_instance): cope with subwindows and widgets.
3717 (print_image_instance): ditto.
3718 (image_instance_equal): ditto.
3719 (image_instance_hash): ditto.
3720 (allocate_glyph): ditto.
3721 (glyph_width): ditto.
3722 (glyph_height_internal): ditto.
3723 (xpm_instantiate): removed because of device multi-methods.
3724 (mark_subwindow_cachels): new cachel functions for caching
3725 instantiated subwindows on a per-frame basis. mostly copied from
3726 glyph cachel functions.
3727 (update_subwindow_cachel_data): ditto.
3728 (add_subwindow_cachel): ditto.
3729 (get_subwindow_cachel_index): ditto.
3730 (reset_subwindow_cachels): ditto.
3731 (mark_subwindow_cachels_as_not_updated): ditto.
3732 (unmap_subwindow): generic unmapping of subwindows based on cachel
3734 (map_subwindow): ditto.
3735 (initialize_subwindow_image_instance): generic initialisation of
3737 (syms_of_glyphs): add widget keywords.
3739 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3742 1998-11-04 Andy Piper <andy@xemacs.org>
3744 * glyphs-widget.c: new file for instantiating widget type glyphs.
3745 (widget_possible_dest_types): new general dest type function for
3747 (widget_validate): ditto.
3748 (initialize_widget_image_instance): ditto
3749 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3750 before handing on control to device multi-methods.
3751 (syms_of_glyphs_widget): new function.
3752 (image_instantiator_format_create_glyphs_widget): new function,
3753 added placeholders for button, edit, combo, scrollbar
3754 (vars_of_glyphs_widget): new function.
3756 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3757 storing window ids of widgets.
3759 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3760 deletion of widget and subwindow glyphs.
3761 (mswindows_unmap_subwindow): new device function for unmapping
3762 subwindows on a msw frame.
3763 (mswindows_map_subwindow): ditto.
3764 (mswindows_register_image_instance): register instantiated widgets
3765 with the widget hastable.
3766 (mswindows_button_instantiate): instantiate a button type widget
3768 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3770 (image_instantiator_format_create_glyphs_mswindows): add device
3771 multi-methods for xbm, xpm, subwindow, edit and button.
3773 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3774 information about subwindows visible on the current frame. used by
3775 redisplay_clear_region to unmap subwindows as required.
3777 * frame.c (mark_frame): mark subwindow_cachels.
3778 (allocate_frame_core): instantiate subwindow_cachels.
3780 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3783 * event-msw.c (mswindows_wnd_proc): add call to
3784 mswindows_handle_gui_wm_command to handle widget callbacks.
3786 * emacs.c (main_1): add calls to glyphs-widget initialisation
3789 * console.h (struct console_methods): add
3790 unmap/map_subwindow_method for use be redisplay_clear_region to
3791 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3792 with by image instantiator multi-methods. Add
3793 resize_subwindow_method.
3795 * console-stream.c (stream_clear_region): change signature to
3796 match new generic clear region function.
3798 * Makefile.in.in: add glyphs-widget.o to list of objects.
3800 * console-msw.h (struct mswindows_frame): add widget hashtable for
3801 wiring command ids to callbacks.
3803 1998-12-16 Andy Piper <andy@xemacs.org>
3805 * XEmacs 21.2.6 is released
3807 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3809 * md5.c (Fmd5): Correctly initiate string input stream.
3811 * Makefile.in.in (tests): Add md5-tests.el.
3813 1998-12-06 Martin Buchholz <martin@xemacs.org>
3816 * alloc.c (make_vector): remove travesty
3820 (make_bit_vector_internal):
3822 (make_bit_vector_from_byte_vector):
3824 - make vector_equal a little faster.
3825 - Don't use variable name `new'.
3826 - Use size_t instead of EMACS_INT.
3827 - usual Martin-style pointless bit-twiddling.
3833 Make mapcar faster. In particular, make
3834 (mapc #'identity long-string)
3835 MUCH faster under Mule.
3836 * tests/automated/lisp-tests.el: Test 'em!
3838 1998-12-06 Martin Buchholz <martin@xemacs.org>
3840 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3843 1998-12-13 Martin Buchholz <martin@xemacs.org>
3845 * console-msw.c: Function definitions follow coding standards
3846 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3848 1998-12-11 Martin Buchholz <martin@xemacs.org>
3850 * events.h (struct timeout_data):
3851 * event-tty.c (tty_timeout_to_emacs_event):
3852 * event-msw.c (mswindows_wm_timer_callback):
3853 * event-Xt.c (Xt_timeout_to_emacs_event):
3854 * event-msw.c (mswindows_cancel_dispatch_event):
3855 Make sure Lisp_Objects inside events are initialized to Qnil, not
3856 Qnull_pointer, which is now illegal.
3858 1998-12-10 Martin Buchholz <martin@xemacs.org>
3860 * lisp.h: Fix up prototypes to match alloc.c
3862 1998-12-09 Andy Piper <andy@xemacs.org>
3864 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3865 XSETINT for assigning lisp objects.
3867 1998-12-07 Martin Buchholz <martin@xemacs.org>
3870 * console-msw.c (DHEADER):
3879 - max_align_t should not be visible to the user of the
3881 - use Bufbyte instead of char
3882 - parens around (FOOP (obj)) are always redundant.
3883 If they were necessary, we should fix the macro instead.
3884 - Always use string_data(foo) instead of foo->data.
3886 1998-12-07 Martin Buchholz <martin@xemacs.org>
3888 * sysdep.c (set_descriptor_non_blocking):
3889 Since O_NONBLOCK is now always #defined, make use of fcntl
3890 conditional on F_SETFL being defined.
3892 1998-12-09 Andy Piper <andy@xemacs.org>
3894 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3895 that got removed in the merge
3897 1998-11-30 Greg Klanderman <greg@alphatech.com>
3899 * dired.c (vars_of_dired): bugfix for previous conditionalization
3900 of user-name-completion on non- Windows NT.
3902 1998-12-08 Martin Buchholz <martin@xemacs.org>
3904 * windowsnt.h: Remove `support' for using index and rindex
3906 * filelock.c (current_lock_owner):
3907 - Change uses of index -> strchr, rindex -> strrchr
3909 1998-12-06 Martin Buchholz <martin@xemacs.org>
3911 * frame-msw.c (mswindows_init_frame_1):
3912 - use make_lisp_hash_table, not Fmake_hash_table
3915 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3917 * XEmacs 21.2.5 is released
3919 1998-11-30 Martin Buchholz <martin@xemacs.org>
3921 * xselect.c (receive_incremental_selection):
3922 * xselect.c (x_get_window_property):
3923 * xmu.c (XmuReadBitmapDataFromFile):
3924 * xmu.c (XmuCursorNameToIndex):
3925 * xgccache.c (describe_gc_cache):
3926 * xgccache.c (gc_cache_lookup):
3927 * xgccache.c (free_gc_cache):
3928 * xgccache.c (make_gc_cache):
3930 * window.c (map_windows_1):
3931 * window.c (Fother_window_for_scrolling):
3932 * window.c (window_scroll):
3933 * window.c (change_window_height):
3934 * window.c (Fsplit_window):
3935 * window.c (window_left_gutter_width):
3936 * window.c (window_modeline_height):
3937 * window.c (invalidate_vertical_divider_cache_in_window):
3938 * window.c (window_needs_vertical_divider_1):
3939 * window.c (update_mirror_internal):
3940 * window.c (SET_LAST_FACECHANGE):
3941 * widget.c (Fwidget_plist_member):
3942 * unexec.c (copy_text_and_data):
3943 * unexcw.c (copy_executable_and_dump_data_section):
3945 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3946 * tooltalk.c (struct Lisp_Tooltalk_Message):
3947 * toolbar.h (struct toolbar_button):
3948 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3949 * toolbar.c (recompute_overlaying_specifier):
3950 * toolbar.c (toolbar_validate):
3951 * toolbar.c (toolbar_button_at_pixpos):
3952 * toolbar.c (get_toolbar_coords):
3953 * toolbar.c (update_frame_toolbars):
3955 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3956 * toolbar-msw.c (mswindows_find_toolbar_pos):
3957 * toolbar-msw.c (mswindows_output_toolbar):
3958 * toolbar-msw.c (mswindows_clear_toolbar):
3967 * sysdep.c (sys_fopen):
3968 * sysdep.c (sys_open):
3969 * sysdep.c (tty_init_sys_modes_on_device):
3970 * sysdep.c (get_eof_char):
3971 * sysdep.c (child_setup_tty):
3972 * sysdep.c (set_descriptor_non_blocking):
3974 * syntax.c (scan_words):
3977 * symeval.h (struct symbol_value_varalias):
3978 * symeval.h (struct symbol_value_forward):
3979 * symbols.c (syms_of_symbols):
3980 * symbols.c (init_symbols_once_early):
3981 * symbols.c (Fbuilt_in_variable_type):
3982 * symbols.c (Fsymbol_value_in_buffer):
3983 * symbols.c (default_value):
3985 * symbols.c (find_symbol_value_quickly):
3986 * symbols.c (store_symval_forwarding):
3987 * symbols.c (set_default_console_slot_variable):
3988 * symbols.c (set_default_buffer_slot_variable):
3989 * symbols.c (verify_ok_for_buffer_local):
3990 * symbols.c (symbol_is_constant):
3991 * symbols.c (oblookup):
3992 * symbols.c (Funintern):
3993 * symbols.c (Fintern):
3994 * symbols.c (check_obarray):
3996 * specifier.h (struct specifier_methods):
3998 * specifier.c (specifier_instance):
3999 * specifier.c (specifier_instance_from_inst_list):
4000 * specifier.c (decode_locale_type):
4001 * specifier.c (specifier_equal):
4002 * specifier.c (finalize_specifier):
4003 * specifier.c (prune_specifiers):
4004 * specifier.c (kill_specifier_buffer_locals):
4005 * sound.c (init_native_sound):
4008 * search.c (Fmatch_data):
4009 * search.c (match_limit):
4010 * search.c (Freplace_match):
4011 * search.c (skip_chars):
4012 * search.c (scan_buffer):
4014 * scrollbar.c (specifier_vars_of_scrollbar):
4015 * scrollbar.c (Fscrollbar_set_hscroll):
4016 * scrollbar.c (vertical_scrollbar_changed_in_window):
4017 * scrollbar.c (release_window_mirror_scrollbars):
4018 * scrollbar.c (free_scrollbar_instance):
4021 * s/msdos.h (O_BINARY):
4023 * s/freebsd.h (LIBS_TERMCAP):
4024 * regex.c (re_match_2_internal):
4025 * regex.c (compile_extended_range):
4026 * regex.c (POP_FAILURE_POINT):
4027 * regex.c (PUSH_FAILURE_POINT):
4028 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4030 * redisplay.h (struct display_line):
4031 * redisplay.h (struct rune):
4032 * redisplay.c (vars_of_redisplay):
4033 * redisplay.c (redisplay_variable_changed):
4034 * redisplay.c (UPDATE_CACHE_RETURN):
4035 * redisplay.c (validate_line_start_cache):
4036 * redisplay.c (mark_redisplay_structs):
4037 * redisplay.c (mark_glyph_block_dynarr):
4038 * redisplay.c (window_line_number):
4039 * redisplay.c (redisplay_frame):
4040 * redisplay.c (redisplay_window):
4041 * redisplay.c (generate_modeline):
4042 * redisplay.c (create_right_glyph_block):
4043 * redisplay.c (create_left_glyph_block):
4044 * redisplay.c (create_text_block):
4046 * redisplay-x.c (x_output_hline):
4047 * redisplay-x.c (x_output_vertical_divider):
4048 * redisplay-tty.c (tty_output_display_block):
4049 * redisplay-output.c (output_display_line):
4050 * redisplay-output.c:
4051 * redisplay-msw.c (mswindows_output_vertical_divider):
4052 * redisplay-msw.c (mswindows_ring_bell):
4053 * redisplay-msw.c (mswindows_output_cursor):
4057 * puresize.h (RAW_PURESIZE):
4058 * profile.c (syms_of_profile):
4059 * profile.c (Fstart_profiling):
4060 * profile.c (sigprof_handler):
4063 * process.c (vars_of_process):
4064 * process.c (read_process_output):
4065 * process.c (get_process):
4067 * process-unix.c (unix_open_multicast_group):
4068 * process-unix.c (unix_get_tty_name):
4069 * process-unix.c (unix_send_process):
4070 * process-unix.c (unix_reap_exited_processes):
4071 * process-unix.c (unix_create_process):
4072 * process-unix.c (unix_init_process_io_handles):
4073 * process-unix.c (allocate_pty):
4075 * process-nt.c (nt_open_network_stream):
4076 * process-nt.c (nt_update_status_if_terminated):
4077 * process-nt.c (nt_finalize_process_data):
4079 * print.c (debug_short_backtrace):
4080 * print.c (debug_backtrace):
4081 * print.c (print_symbol):
4082 * print.c (print_internal):
4083 * print.c (print_cons):
4084 * print.c (Fwrite_char):
4085 * print.c (print_prepare):
4086 * print.c (canonicalize_printcharfun):
4087 * print.c (output_string):
4090 * opaque.c (allocate_managed_opaque):
4092 * offix.c (DndSetData):
4093 * objects.c (face_boolean_create):
4094 * objects.c (font_instantiate):
4095 * objects.c (font_create):
4096 * objects.c (color_create):
4097 * objects.c (finalize_font_instance):
4098 * objects.c (finalize_color_instance):
4100 * objects-x.c (x_font_instance_truename):
4102 * objects-x.c (x_initialize_font_instance):
4103 * objects-x.c (allocate_nearest_color):
4104 * objects-tty.c (tty_initialize_font_instance):
4105 * objects-tty.c (tty_initialize_color_instance):
4106 * objects-msw.c (mswindows_initialize_color_instance):
4107 * ntproc.c (syms_of_ntproc):
4108 * ntproc.c (Fwin32_set_process_priority):
4109 * ntproc.c (sys_spawnve):
4111 * ntheap.c (get_data_end):
4115 * nt.c (generate_inode_val):
4116 * nt.c (sys_rename):
4118 * mule-wnnfns.c (Fwnn_hinsi_number):
4119 * mule-wnnfns.c (Fwnn_yuragi):
4120 * mule-wnnfns.c (Fwnn_common_learn):
4121 * mule-wnnfns.c (Fwnn_suffix_learn):
4122 * mule-wnnfns.c (Fwnn_prefix_learn):
4123 * mule-wnnfns.c (Fwnn_okuri_learn):
4124 * mule-wnnfns.c (Fwnn_complex_conv):
4125 * mule-wnnfns.c (Fwnn_last_is_first):
4126 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4127 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4128 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4129 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4130 * mule-wnnfns.c (Fwnn_hinsi_list):
4131 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4132 * mule-wnnfns.c (Fwnn_dict_search):
4133 * mule-wnnfns.c (Fwnn_word_toroku):
4134 * mule-wnnfns.c (Fwnn_hindo_update):
4135 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4136 * mule-wnnfns.c (Fwnn_kakutei):
4137 * mule-wnnfns.c (Fwnn_begin_henkan):
4138 * mule-wnnfns.c (Fwnn_dict_comment):
4139 * mule-wnnfns.c (Fwnn_dict_add):
4140 * mule-wnnfns.c (Fwnn_open):
4141 * mule-mcpath.c (mc_getcwd):
4142 * mule-coding.c (vars_of_mule_coding):
4143 * mule-coding.c (convert_to_external_format):
4144 * mule-coding.c (encoding_marker):
4145 * mule-coding.c (decoding_marker):
4146 * mule-coding.c (Fcopy_coding_system):
4147 * mule-coding.c (Fmake_coding_system):
4148 * mule-coding.c (Fcoding_system_list):
4149 * mule-coding.c (Ffind_coding_system):
4150 * mule-coding.c (symbol_to_eol_type):
4152 * mule-charset.c (complex_vars_of_mule_charset):
4153 * mule-charset.c (vars_of_mule_charset):
4154 * mule-charset.c (Fset_charset_ccl_program):
4155 * mule-charset.c (struct charset_list_closure):
4156 * mule-charset.c (Ffind_charset):
4157 * mule-charset.c (make_charset):
4158 * mule-charset.c (non_ascii_valid_char_p):
4160 * mule-ccl.c (ccl_driver):
4161 * mule-canna.c (c2mu):
4162 * mule-canna.c (Fcanna_henkan_begin):
4163 * mule-canna.c (Fcanna_parse):
4164 * mule-canna.c (Fcanna_store_yomi):
4165 * mule-canna.c (Fcanna_touroku_string):
4166 * mule-canna.c (Fcanna_initialize):
4168 * menubar.c (menu_parse_submenu_keywords):
4169 * menubar-x.c (make_dummy_xbutton_event):
4170 * menubar-x.c (set_frame_menubar):
4171 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4174 * menubar-msw.c (mswindows_popup_menu):
4175 * menubar-msw.c (mswindows_update_frame_menubars):
4176 * menubar-msw.c (mswindows_handle_wm_command):
4177 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4178 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4179 * menubar-msw.c (update_frame_menubar_maybe):
4180 * menubar-msw.c (populate_or_checksum_helper):
4181 * menubar-msw.c (empty_menu):
4184 * marker.c (set_marker_internal):
4185 * marker.c (print_marker):
4188 * lstream.c (lisp_buffer_rewinder):
4189 * lstream.c (mark_lstream):
4191 * lrecord.h (struct lrecord_header):
4192 * lread.c (readevalloop):
4193 * lread.c (locate_file):
4194 * lread.c (locate_file_in_directory):
4195 * lread.c (Flocate_file):
4196 * lread.c (load_force_doc_string_unwind):
4197 * lread.c (ebolify_bytecode_constants):
4202 * linuxplay.c (linux_play_data_or_file):
4203 * linuxplay.c (audio_init):
4206 * keymap.c (describe_map):
4207 * keymap.c (describe_map_mapper):
4208 * keymap.c (Fdescribe_bindings_internal):
4209 * keymap.c (Fsingle_key_description):
4210 * keymap.c (map_keymap_sorted):
4211 * keymap.c (get_relevant_keymaps):
4212 * keymap.c (Flookup_key):
4213 * keymap.c (raw_lookup_key_mapper):
4214 * keymap.c (Fdefine_key):
4215 * keymap.c (Fevent_matches_key_specifier_p):
4216 * keymap.c (key_desc_list_to_event):
4217 * keymap.c (define_key_parser):
4218 * keymap.c (define_key_check_and_coerce_keysym):
4219 * keymap.c (keymap_submaps):
4220 * keymap.c (keymap_store_internal):
4221 * keymap.c (keymap_delete_inverse_internal):
4222 * keymap.c (keymap_store_inverse_internal):
4223 * keymap.c (print_keymap):
4224 * keymap.c (Lisp_Keymap):
4227 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4228 * insdel.c (make_gap):
4229 * input-method-xlib.c (get_XIM_input):
4230 * input-method-xlib.c (XIM_init_frame):
4235 * gui-x.c (button_item_to_widget_value):
4236 * gui-x.c (popup_selection_callback):
4237 * glyphs.h (struct image_instantiator_methods):
4238 * glyphs.c (mark_glyph_cachels):
4239 * glyphs.c (Fglyph_type):
4240 * glyphs.c (image_instantiate):
4241 * glyphs.c (image_create):
4242 * glyphs.c (make_image_instance_1):
4243 * glyphs.c (finalize_image_instance):
4245 * glyphs-x.c (finalize_subwindow):
4246 * glyphs-x.c (xface_validate):
4247 * glyphs-x.c (x_locate_pixmap_file):
4248 * glyphs-x.c (convert_EImage_to_XImage):
4250 * glyphs-msw.c (mswindows_resource_instantiate):
4251 * glyphs-msw.c (xpm_to_eimage):
4252 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4253 * glyphs-eimage.c (tiff_instantiate):
4254 * glyphs-eimage.c (png_instantiate):
4255 * glyphs-eimage.c (struct png_error_struct):
4256 * glyphs-eimage.c (gif_memory_storage):
4259 * getloadavg.c (getloadavg):
4262 * free-hook.c (log_gcpro):
4263 * free-hook.c (check_malloc):
4264 * free-hook.c (check_free):
4265 * free-hook.c (ROUND_UP_TO_PAGE):
4267 * frame.h (struct frame):
4269 * frame.c (change_frame_size_1):
4270 * frame.c (allocate_frame_core):
4272 * frame-x.c (x_focus_on_frame):
4273 * frame-x.c (x_init_frame_2):
4274 * frame-x.c (x_popup_frame):
4275 * frame-x.c (xemacs_XtPopup):
4277 * frame-x.c (Foffix_start_drag_internal):
4278 * frame-x.c (x_cde_destroy_callback):
4279 * frame-x.c (x_wm_hack_wm_protocols):
4280 * frame-tty.c (tty_frame_visible_p):
4281 * frame-msw.c (mswindows_make_frame_invisible):
4282 * frame-msw.c (mswindows_after_init_frame):
4283 * frame-msw.c (mswindows_init_frame_1):
4284 * fns.c (syms_of_fns):
4285 * fns.c (Fbase64_decode_string):
4287 * fns.c (Ffillarray):
4288 * fns.c (Fobject_plist):
4290 * fns.c (Fcanonicalize_lax_plist):
4291 * fns.c (Fcanonicalize_plist):
4292 * fns.c (Fplist_remprop):
4293 * fns.c (Fplist_get):
4294 * fns.c (advance_plist_pointers):
4295 * fns.c (internal_plist_put):
4296 * fns.c (Fnreverse):
4299 * fns.c (Fsubstring):
4300 * fns.c (Fbvconcat):
4302 * fns.c (length_with_bytecode_hack):
4303 * fns.c (print_bit_vector):
4305 * floatfns.c (Ffloor):
4307 * floatfns.c (in_float_error):
4308 * fileio.c (Ffile_modes):
4309 * fileio.c (Fexpand_file_name):
4310 * fileio.c (Fmake_temp_name):
4311 * fileio.c (Ffile_name_nondirectory):
4312 * fileio.c (Ffile_name_directory):
4314 * file-coding.c (vars_of_mule_coding):
4315 * file-coding.c (convert_to_external_format):
4316 * file-coding.c (encoding_marker):
4317 * file-coding.c (decoding_marker):
4318 * file-coding.c (Fcopy_coding_system):
4319 * file-coding.c (Fmake_coding_system):
4320 * file-coding.c (struct coding_system_list_closure):
4321 * file-coding.c (Ffind_coding_system):
4322 * file-coding.c (symbol_to_eol_type):
4324 * faces.h (struct face_cachel):
4325 * faces.c (vars_of_faces):
4326 * faces.c (face_property_was_changed):
4327 * faces.c (mark_face_cachels):
4328 * faces.c (temporary_faces_list):
4329 * faces.c (struct face_list_closure):
4331 * extents.h (struct extent):
4332 * extents.c (vars_of_extents):
4333 * extents.c (struct copy_string_extents_1_arg):
4334 * extents.c (add_string_extents_mapper):
4335 * extents.c (Fextent_property):
4336 * extents.c (Fset_extent_property):
4337 * extents.c (symbol_to_glyph_layout):
4338 * extents.c (properties_equal):
4339 * extents.c (print_extent):
4340 * extents.c (print_extent_1):
4341 * extents.c (extent_in_region_p):
4342 * extents.c (gap_array_make_gap):
4344 * events.h (struct Lisp_Event):
4346 * events.c (Fevent_properties):
4347 * events.c (format_event_object):
4348 * events.c (Fmake_event):
4349 * events.c (event_equal):
4350 * events.c (print_event):
4351 * events.c (mark_event):
4352 * event-stream.c ((read-char)
4353 * event-stream.c (vars_of_event_stream):
4354 * event-stream.c (syms_of_event_stream):
4355 * event-stream.c (Fset_recent_keys_ring_size):
4356 * event-stream.c (Fsit_for):
4357 * event-stream.c (Fnext_event):
4358 * event-stream.c (execute_help_form):
4359 * event-stream.c (maybe_kbd_translate):
4361 * event-msw.c (vars_of_event_mswindows):
4362 * event-msw.c (mswindows_wnd_proc):
4363 * event-msw.c (mswindows_need_event):
4364 * event-msw.c (mswindows_drain_windows_queue):
4365 * event-msw.c (mswindows_pump_outstanding_events):
4367 * event-msw.c (slurp_thread):
4368 * event-msw.c (struct ntpipe_slurp_stream):
4369 * event-msw.c (HANDLE_TO_USID):
4370 * event-Xt.c (emacs_Xt_handle_magic_event):
4371 * event-Xt.c (x_event_to_emacs_event):
4372 * event-Xt.c (x_reset_modifier_mapping):
4373 * event-Xt.c (x_reset_key_mapping):
4375 * eval.c (syms_of_eval):
4376 * eval.c (warn_when_safe):
4377 * eval.c (warn_when_safe_lispobj):
4378 * eval.c (Fbacktrace_frame):
4379 * eval.c (Fbacktrace):
4380 * eval.c (top_level_set):
4381 * eval.c (unbind_to_hairy):
4382 * eval.c (specbind_magic):
4383 * eval.c (specbind_unwind_wasnt_local):
4384 * eval.c (call2_trapping_errors):
4385 * eval.c (call1_trapping_errors):
4386 * eval.c (catch_them_squirmers_call2):
4387 * eval.c (call0_trapping_errors):
4388 * eval.c (run_hook_trapping_errors):
4389 * eval.c (catch_them_squirmers_eval_in_buffer):
4390 * eval.c (call4_in_buffer):
4391 * eval.c (call3_in_buffer):
4392 * eval.c (call2_in_buffer):
4393 * eval.c (call1_in_buffer):
4394 * eval.c (call0_in_buffer):
4395 * eval.c (run_hook):
4396 * eval.c (run_hook_with_args_in_buffer):
4399 * eval.c (do_autoload):
4400 * eval.c (un_autoload):
4401 * eval.c (Fautoload):
4402 * eval.c (Finteractive_p):
4403 * eval.c (Fcommand_execute):
4404 * eval.c (signal_quit):
4405 * eval.c (call_with_suspended_errors):
4406 * eval.c (signal_error):
4407 * eval.c (return_from_signal):
4408 * eval.c (Fcall_with_condition_handler):
4409 * eval.c (run_condition_case_handlers):
4410 * eval.c (condition_case_1):
4411 * eval.c (Funwind_protect):
4412 * eval.c (unwind_to_catch):
4413 * eval.c (internal_catch):
4414 * eval.c (Fmacroexpand_internal):
4415 * eval.c (Fuser_variable_p):
4416 * eval.c (Fdefconst):
4418 * eval.c (Ffunction):
4419 * eval.c (signal_call_debugger):
4420 * eval.c (call_debugger):
4423 * emacs.c (sort_args):
4427 * editfns.c (Fencode_time):
4428 * editfns.c (Fdecode_time):
4429 * editfns.c (Fuser_full_name):
4431 * editfns.c (save_excursion_restore):
4434 * doprnt.c (emacs_doprnt_1):
4435 * doc.c (verify_doc_mapper):
4436 * doc.c (Fsnarf_documentation):
4437 * doc.c (Fdocumentation):
4439 * dired.c (user_name_completion):
4440 * dired.c (Fdirectory_files):
4443 * dgif_lib.c (FreeSavedImages):
4444 * dgif_lib.c (DGifGetImageDesc):
4446 * device.h (struct device):
4447 * device.c (Fselect_device):
4448 * device.c (allocate_device):
4450 * device-x.c (Fx_keysym_on_keyboard_p):
4451 * device-x.c (Fx_valid_keysym_name_p):
4452 * device-x.c (x_IO_error_handler):
4453 * device-x.c (x_delete_device):
4454 * device-x.c (x_finish_init_device):
4455 * device-x.c (x_init_device):
4457 * device-msw.c (mswindows_init_device):
4459 * database.c (vars_of_database):
4460 * database.c (Fput_database):
4461 * database.c (Fopen_database):
4462 * database.c (berkdb_remove):
4463 * database.c (berkdb_put):
4464 * database.c (Fdatabasep):
4465 * database.c (print_database):
4467 * data.c (vars_of_data):
4468 * data.c (syms_of_data):
4469 * data.c (init_errors_once_early):
4470 * data.c (prune_weak_lists):
4471 * data.c (finish_marking_weak_lists):
4472 * data.c (print_weak_list):
4474 * data.c (Fstring_to_number):
4475 * data.c (Fnumber_to_string):
4476 * data.c (Findirect_function):
4479 * data.c (Fsubr_interactive):
4481 * data.c (Fkeywordp):
4484 * console.h (CONSOLE_NAME):
4486 * console.c (vars_of_console):
4487 * console.c (Fselect_console):
4489 * console-x.h (DEVICE_X_COLORMAP):
4490 * console-x.h (struct x_device):
4491 * console-x.c (x_device_to_console_connection):
4492 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4493 * console-tty.c (tty_init_console):
4495 * console-msw.h (struct mswindows_frame):
4498 * cmds.c (internal_self_insert):
4499 * cmds.c (Fforward_line):
4500 * cmds.c (Fforward_char):
4503 * chartab.c (mark_char_table_entry):
4505 * casefiddle.c (casify_word):
4506 * callproc.c (child_setup):
4507 * callproc.c (Fcall_process_internal):
4509 * callint.c (Fcall_interactively):
4511 * bytecode.c (execute_rare_opcode):
4512 * bytecode.c (execute_optimized_program):
4515 * buffer.h (BUFFER_REALLOC):
4516 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4517 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4519 * buffer.h (MAP_INDIRECT_BUFFERS):
4520 * buffer.h (CHECK_LIVE_BUFFER):
4521 * buffer.c (init_initial_directory):
4522 * buffer.c (complex_vars_of_buffer):
4523 * buffer.c (vars_of_buffer):
4524 * buffer.c (finish_init_buffer):
4525 * buffer.c (Fget_file_buffer):
4526 * buffer.c (Fbuffer_list):
4527 * buffer.c (mark_buffer):
4528 * balloon_help.c (balloon_help_move_to_pointer):
4529 * balloon_help.c (show_help):
4532 * alloc.c (garbage_collect_1):
4533 * alloc.c (sweep_strings):
4534 * alloc.c (sweep_compiled_functions):
4535 * alloc.c (sweep_bit_vectors_1):
4536 * alloc.c (sweep_vectors_1):
4537 * alloc.c (sweep_lcrecords_1):
4538 * alloc.c (tick_lcrecord_stats):
4539 * alloc.c (pure_string_sizeof):
4540 * alloc.c (mark_conses_in_list):
4541 * alloc.c (mark_object):
4542 * alloc.c (report_pure_usage):
4543 * alloc.c (make_pure_float):
4544 * alloc.c (make_pure_string):
4545 * alloc.c (free_managed_lcrecord):
4546 * alloc.c (mark_string):
4547 * alloc.c (noseeum_make_marker):
4548 * alloc.c (allocate_event):
4549 * alloc.c (Fbit_vector):
4550 * alloc.c (Fvector):
4551 * alloc.c (make_float):
4552 * alloc.c (Fmake_list):
4554 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4555 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4556 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4557 * alloc.c (dbg_constants):
4558 * alloc.c (gc_record_type_p):
4559 * alloc.c (free_lcrecord):
4560 * alloc.c (xmalloc):
4561 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4563 * Makefile.in.in (mostlyclean):
4564 * Makefile.in.in (external_client_xlib_objs_nonshared):
4565 * Makefile.in.in (temacs_link_args):
4566 * Makefile.in.in (release):
4567 * Makefile.in.in (dnd_objs):
4568 * Makefile.in.in (objs):
4569 * Makefile.in.in (PROGNAME):
4570 * EmacsShell.c: cast strings to (XtPointer)
4571 * EmacsFrame.c: cast strings to (XtPointer)
4573 - rewrite basic lisp functions for speed
4574 - rewrite bytecode interpreter for speed
4575 - rewrite list looping constructs for speed and safety using
4577 - use size_t where appropriate.
4578 - new hashtable implementation
4579 - cleanup implementation of opaques
4580 - opaques can now be purecopy'ed
4581 - move some cl functionality into C for speed.
4582 - remove last remaining VMS support
4584 - improve gdb/dbx debugger support
4585 - move pure.c back into alloc.c for performance
4586 - enable report_pure_usage() if --memory-usage-stats
4587 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4588 - don't use symbols with leading `_' or embedded `__'
4589 - globally cleanup duplicated semicolons `;;'
4590 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4592 - globally replace O_NDELAY with O_NONBLOCK.
4593 - globally replace CDISABLE with _POSIX_VDISABLE.
4594 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4595 - define (and maybe use!) STDERR_FILENO and friends.
4596 - add support for macros defined in C
4597 - `when', `unless', `not' and `defalias' now defined in C,
4598 so that they are universally available.
4599 - rename defvar_mumble to defvar_magic
4600 - rename RETURN__ to RETURN_SANS_WARNINGS
4601 - use consistent style of initial caps in error messages
4602 - implement last, butlast, nbutlast, copy-list in C.
4603 - provide typedefs for all struct Lisp_foo types
4604 - Lisp_Objects must be initialized to Qnil rather than 0.
4605 - make sure XEmacs runs (slowly) with always_gc == 1;
4606 - fast and safe LOOP_* macros
4607 - change calls to XSETOBJ to XSETFOO
4608 - replace calls to XSETINT by make_int()
4609 - plug up memory leaks
4610 - use style markobj (foo), not silly ((markobj) (foo))
4611 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4613 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4615 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4617 1998-11-28 SL Baur <steve@altair.xemacs.org>
4619 * XEmacs 21.2-beta4 is released.
4621 1998-11-27 SL Baur <steve@altair.xemacs.org>
4623 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4624 property in control-1 charset.
4625 From Julian Bradfield <jcb@daimi.au.dk>
4627 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4629 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4631 Add stub for :label.
4633 * gui.c (gui_item_add_keyval_pair): ditto.
4635 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4636 :key-sequence keyword.
4638 Support :active for submenus like the Windows code and FSF Emacs.
4640 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4642 * dired.c (make_directory_hash_table): make_string() is OK because
4643 readdir() Mule-encapsulates.
4645 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4647 * fns.c (Fbase64_encode_string): Fix docstring.
4648 (Fbase64_decode_string): Ditto.
4650 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4652 * editfns.c (Ftranslate_region): Use
4653 convert_bufbyte_string_into_emchar_string().
4655 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4657 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4659 (Ftranslate_region): Turn table into an array of Emchars for
4662 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4664 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4666 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4668 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4669 type `char' with nils.
4671 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4672 for tables of type `char'.
4674 1998-11-26 Didier Verna <verna@inf.enst.fr>
4676 * input-method-xlib.c (Initialize_Locale): don't call
4677 XtSetLanguageProc. We've done the whole work here.
4678 * input-method-xfs.c (Initialize_Locale): ditto.
4679 * input-method-motif.c (Initialize_Locale): ditto.
4681 1998-11-26 Didier Verna <verna@inf.enst.fr>
4683 * process-unix.c (unix_create_process): handle properly
4684 Vfile_name_coding_system for converting the program and directory
4687 1998-11-27 SL Baur <steve@altair.xemacs.org>
4689 * m/arm.h: New file.
4690 From James LewisMoss <dres@ioa.com>
4692 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4695 Fix the realpath() problem of UnixWare2.1.3.
4696 Patches for NEC's sysv4.2 machine.
4698 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4700 * dired.c (Fdirectory_files): Remove redundant code.
4702 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4704 * fns.c (free_malloced_ptr): New function.
4705 (XMALLOC_OR_ALLOCA): New macro.
4706 (XMALLOC_UNBIND): Ditto.
4707 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4708 to be freed in case of non-local exit.
4709 (Fbase64_encode_string): Ditto.
4710 (Fbase64_decode_region): Ditto.
4711 (Fbase64_decode_string): Ditto.
4712 (STORE_BYTE): New macro.
4713 (base64_decode_1): Use it.
4715 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4717 * fns.c (base64_value_to_char): Base64 stuff.
4719 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4721 * editfns.c (Fbuffer_substring): New function.
4723 * lisp.h: Declare make_string_from_buffer_no_extents().
4725 * insdel.c (make_string_from_buffer_1): New function.
4726 (make_string_from_buffer_no_extents): Ditto.
4728 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4730 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4731 sound work on AIX with OSS installed. Linux should still work.
4733 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4735 * config.h.in: name change for cygwin/version.h
4737 * configure.in: check for cygwin/version.h now.
4739 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4740 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4741 move cygwin32/version.h to cygwin/version.h
4743 1998-11-03 Olivier Galibert <galibert@pobox.com>
4745 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4748 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4750 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4751 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4752 enable BROKEN_SIGIO under b20 to make QUIT work.
4754 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4756 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4757 to fit within the constraints of the screen size. I.e. make the
4758 frame small enough to fit and move it if some of it will be
4761 1998-10-19 Greg Klanderman <greg@alphatech.com>
4763 * dired.c: conditionalize inclusion of user-name-completion
4764 primitives on non-Windows NT. The needed functions don't exist on NT.
4766 1998-11-24 SL Baur <steve@altair.xemacs.org>
4768 * gifrlib.h: Clean up types for 64 bit compile.
4769 * dgif_lib.c (DGifInitRead): Ditto.
4770 (MakeSavedImage): Ditto.
4771 * emacs.c (decode_path): Ditto.
4772 From Steve Carney <carney@pa.dec.com>
4774 1998-10-16 William M. Perry <wmperry@aventail.com>
4776 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4777 (cehckboxes instead of checkboxes).
4779 1998-10-15 SL Baur <steve@altair.xemacs.org>
4781 * XEmacs 21.2-beta3 is released.
4783 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4785 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4786 gnuclient. Otherwise, we run xemacs as we always did. This gets
4787 rid of the annoying DOS window when running gnuclient.
4789 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4791 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4792 HAVE_MS_WINDOWS typo.
4794 1998-10-13 SL Baur <steve@altair.xemacs.org>
4796 * process-unix.c (unix_send_process): Set closed flag on writable
4797 pipe after SIGPIPE is received and before we call deactivate_process.
4799 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4801 * window.c (Fset_window_start): respect narrowing when
4802 checking wheter start is at the beginning of a line.
4803 (Fset_window_buffer): Ditto
4804 Fixes repeatable crash in VM.
4806 1998-10-09 SL Baur <steve@altair.xemacs.org>
4808 * window.c (specifier_vars_of_window): Set default vertical
4809 divider width to 1 on ttys.
4811 1998-10-08 Martin Buchholz <martin@xemacs.org>
4816 Add <stddef.h> to get ptrdiff_t declaration
4818 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4820 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4821 is used for Motif or Lucid scrollbars under X.
4823 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4825 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4828 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4830 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4832 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4834 * s/cygwin32.h: more cygwin b20 reorganisation.
4836 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4838 * nas.c: Added necessary support functions to be able to handle
4839 WAVE files in memory, just like the support for SND files in
4842 1998-09-30 SL Baur <steve@altair.xemacs.org>
4844 * callproc.c (child_setup): Fix spelling typo.
4846 1998-09-29 SL Baur <steve@altair.xemacs.org>
4848 * XEmacs 21.2-beta2 is released.
4850 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4852 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4853 to prevent memory corruption in the case of jumping out of a series of
4854 nested match patterns. This is a rather brute force approach, though.
4856 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4858 * config.h.in: ditto.
4860 * s/cygwin32.h: rearrange declarations to cope with cygwin
4861 b20. Include cygwin32/version.h if it exists.
4863 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4865 * device-msw.c (mswindows_init_device): Call new
4866 mswindows_enumerate_fonts() function in objects-msw.c instead
4867 of font_enum_callback_1() to enumerate fonts.
4869 font_enum_callback_1() and _2() moved to objects-msw.c.
4871 * faces.c (complex_vars_of_faces): Make the mswindows default
4872 face font fully specified and provide some fallbacks.
4874 * objects-msw.c: font_enum_callback_1() and _2() moved here
4875 from objects-msw.c. Obtain the enumerated font's character
4876 sets by table lookup instead of using the locale-specific
4877 string provided by Windows.
4879 New public non-method mswindows_enumerate_fonts() that fills
4880 in the supplied mswindows device's font list.
4882 mswindows_initialize_font_instance: Use the supplied name
4883 variable instead of f->name when signalling errors. Match font
4884 weights and character sets using lookup tables which handle
4885 spaces instead of by frobbing.
4887 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4889 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4890 on the size of code fragments passed to run_in_other_process.
4892 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4893 the amount of memory to allocate in the other process.
4895 Removed sigkill_code_end(), sigint_code_end() and
4896 sig_enable_code_end() since they are now redundant.
4898 send_signal() and enable_child_signals(): Don't try to work
4899 out the end of the code fragments passed to
4900 run_in_other_process()
4902 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4904 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4907 * src/unexelf.c: Partially synched with FSF's 20.3.
4909 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4911 * insdel.c (signal_after_change): Map across indirect buffers
4912 here, and not in the upper-level functions.
4913 (signal_first_change): Don't check for Armageddon.
4914 (signal_before_change): Map across indirect buffers here.
4915 (prepare_to_modify_buffer): ...and here.
4917 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4919 * insdel.c (signal_after_change): Add return value.
4920 (buffer_insert_string_1): Use it.
4921 (buffer_delete_range): Ditto.
4922 (buffer_replace_char): Ditto.
4923 (cancel_multiple_change): Map the indirect buffers.
4925 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4927 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4928 (uninit_buffer_text): Ditto.
4930 * buffer.c (Fmake_indirect_buffer): Implement stricter
4933 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4935 * insdel.c (change_function_restore): Reverse order of
4936 function-call and assignment.
4937 (first_change_hook_restore): Ditto.
4939 * extents.c (mark_extent_auxiliary): Mark them.
4940 (Fset_extent_property): Set them.
4941 (Fextent_property): Get them.
4942 (Fextent_properties): Ditto.
4943 (vars_of_extents): Set their default.
4945 * extents.h (struct extent_auxiliary): Add before_change_functions
4946 and after_change_functions.
4948 * insdel.c (signal_before_change): Use it.
4949 (signal_after_change): Ditto.
4951 * extents.c (report_extent_modification): New function.
4953 * insdel.c (signal_before_change): Don't check for Armageddon.
4954 (signal_after_change): Ditto.
4956 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4958 * redisplay.c (redisplay_window): make sure a new starting point
4959 is chosen if it somehow got moved from the beginning of the line
4960 -- this can happen because Fwiden was called recently.
4962 * window.c (Fset_window_start): set start_at_line_beg correctly
4963 (Fset_window_buffer): Ditto
4965 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4967 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4968 (uninit_buffer_text): Ditto.
4970 * buffer.c (Fmake_indirect_buffer): Implement stricter
4973 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4975 * emacs.c (main_1): Removed references to *vars_of_filelock.
4977 * lisp.h: Added Fsystem_name.
4979 * filelock.c: Replaced by version from FSF 20.2. Now implements
4980 locking by using symlinks which is NFS safe. However keep the
4981 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4982 version (and of course use ansi C, acessor macros, etc).
4984 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4986 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4987 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4988 in init_signals_very_early. However these should not be passed
4989 on to children attached to the new pty.
4991 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4993 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4995 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4997 * fileio.c (file-name-directory, file_name_as_directory):
4998 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5000 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5002 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5004 * ralloc.c: uncomment __morecore.
5006 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5008 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5009 WriteFile() to fix a winsock 1.x bug on Win95.
5011 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5013 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5015 (x_event_to_emacs_event): Ditto.
5016 (emacs_Xt_handle_focus_event): Ditto.
5017 (emacs_Xt_handle_magic_event): Ditto.
5019 * console-x.h (struct x_device): New flag being_deleted.
5020 (DEVICE_X_BEING_DELETED): New macro.
5022 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5023 returning. Before doing that, set the being_deleted flag on the
5026 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5028 * device-x.c (x-seppuku-on-epipe): Removed.
5030 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5032 * frame-x.c (x_delete_frame): Flush the X output buffer after
5033 calling XtDestroyWidget to ensure that the windows are really
5036 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5038 * menubar-x.c (my_run_hook): New unused function.
5039 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5040 since we ignore the results of the contained functions anyway.
5042 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5044 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5045 interlaced GIF files that are smaller than 4 lines high...
5047 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5049 * buffer.c (map_over_sharing_buffers): Deleted.
5051 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5053 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5056 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5058 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5060 (buffer_delete_range): Ditto.
5062 * marker.c (init_buffer_markers): Set point-marker to the value of
5063 point in an indirect buffer.
5065 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5067 * undo.c (undo_prelude): Test last-undo-buffer against base
5070 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5072 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5074 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5076 * insdel.c (init_buffer_text): Initialize it here.
5078 * line-number.c: Address line_number_cache through buffer->text.
5080 * buffer.c (mark_buffer): Mark line number cache.
5082 * bufslots.h (line_number_cache): Move to struct buffer_text.
5084 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5085 across the children buffers.
5086 (buffer_delete_range): Ditto.
5087 (buffer_replace_char): Ditto.
5091 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5093 * buffer.c (Fmake_indirect_buffer): Uncomment.
5095 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5097 * macros.c (Fend_kbd_macro): Remove trailing period from error
5099 (Fexecute_kbd_macro): Ditto.
5101 1998-08-21 Greg Klanderman <greg@alphatech.com>
5103 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5104 (Fuser_name_completion_1): new function to return uniqueness
5105 indication in addition to the user name completion.
5106 (user_name_completion): change type of `uniq' argument.
5108 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5110 * lread.c (vars_of_lread): Removed `source-directory' variable.
5112 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5114 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5117 1998-08-19 SL Baur <steve@altair.xemacs.org>
5119 * dired.c (vars_of_dired): Fix misapplied patch.
5121 1998-08-16 Martin Buchholz <martin@xemacs.org>
5123 * fns.c (Fremrassq, remrassq_no_quit):
5124 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5126 1998-07-17 Didier Verna <verna@inf.enst.fr>
5128 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5129 style as foreground GC for faces that have the `dim' property.
5130 (x_output_string): when the `dim' face property is set,
5131 ensure the gray pixmap has been created, and get a proper
5132 foreground GC to draw the text.
5134 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5136 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5137 Manually track the state of the left and right Ctrl and Alt
5140 1998-08-07 Matt Stupple <matts@tibco.com>
5142 * ntproc.c: don't wait on char_consumed at thread entry.
5143 Additionally, to get the 'process' marked as finished, ensure
5144 that the CHILD_ACTIVE macro returns false, so before exiting
5145 close char_avail and set it to NULL, and close other handles
5146 to reduce handle leak problems.
5148 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5150 * menubar-msw.c (displayable_menu_item): take account of menu
5151 depth when deciding whether to try to display accelerators.
5153 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5155 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5158 * glyphs-msw.c: fix a couple of potential handle leaks.
5160 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5162 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5163 *decoding ONLY* back into the core.
5164 * glyphs-eimage.c: Change referenced header file for GIF
5165 reading to point to the incore version.
5167 1998-07-20 Martin Buchholz <martin@xemacs.org>
5169 * casefiddle.c (casify_object):
5170 Change algorithm from O(N**2) to O(N).
5174 1998-07-22 Greg Klanderman <greg@alphatech.com>
5176 * dired.c (file_name_completion_unwind): don't leak the cons.
5178 1998-07-20 Greg Klanderman <greg@alphatech.com>
5180 * dired.c (Fuser_name_completion): new function.
5181 (Fuser_name_all_completions): new function.
5182 (user_name_completion): new function.
5183 (syms_of_dired): 2 new DEFSUBRs.
5184 (vars_of_dired): initialize user name cache vars.
5186 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5188 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5189 colors taken from the default face. Also correct a thinko in
5190 transparency (not alpha) handling.
5192 1998-07-23 Martin Buchholz <martin@xemacs.org>
5194 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5195 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5196 * lread.c (Fload_internal): Be very careful with printfs of
5198 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5201 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5203 * callint.c (Fcall_interactively): GCPRO prompt string before
5204 passing it to Fread_key_sequence
5206 1998-07-27 SL Baur <steve@altair.xemacs.org>
5208 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5209 Vvertical_divider_map.
5211 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5212 Qnil or 0, none were initialized prior to this change.
5214 Rename misnamed `V' prefixed integer variables:
5215 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5216 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5217 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5218 Vcanna_ichiran_revLen.
5220 Rename misnamed `V' prefixed integer variables and initialize
5221 properly in the vars_of routine.
5222 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5223 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5224 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5225 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5226 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5227 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5228 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5229 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5230 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5231 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5232 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5233 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5234 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5235 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5236 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5237 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5238 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5239 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5240 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5241 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5242 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5243 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5244 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5245 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5246 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5247 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5248 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5249 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5250 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5251 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5252 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5253 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5254 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5255 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5256 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5257 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5258 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5259 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5260 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5261 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5262 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5263 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5264 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5265 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5266 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5267 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5269 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5271 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5272 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5273 keys thus no longer considering all keysyms on a key.
5275 1998-07-19 SL Baur <steve@altair.xemacs.org>
5277 * XEmacs 21.2-beta1 is released.
5279 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5281 * eldap.c (Fldap_search_internal): When converting the list of
5282 attributes to search Copy the final 0 from Lisp strings to C
5284 Check base, not Vldap_default_base as a a string
5286 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5288 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5290 * unexnt.c: Unconditionally define bss_start and bss_size, and
5291 ensure that they don't go in the .bss section.
5293 1998-07-17 Olivier Galibert <galibert@pobox.com>
5295 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5296 byte order is dependant of the local byte order).
5297 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5299 1998-07-18 SL Baur <steve@altair.xemacs.org>
5301 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5302 Qmswindows_resource.
5303 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5305 1998-07-12 SL Baur <steve@altair.xemacs.org>
5307 * general.c (syms_of_general): Add defsymbol for Qresource.
5309 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5310 Qmswindows_resource.
5311 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5312 (mswindows_resource_validate): Rename.
5313 (mswindows_resource_normalize): Rename.
5314 (mswindows_resource_possible_dest_types): Rename.
5315 (mswindows_resource_instantiate): Rename.
5316 (image_instantiator_format_create_glyphs_mswindows): Replace
5317 `resource' with `mswindows.resource'.
5319 * XEmacs 21.0-pre5 is released.
5321 1998-07-10 SL Baur <steve@altair.xemacs.org>
5323 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5324 server type in environment.
5325 Use alloca-ed strings instead of tiny fixed size ones.
5327 1998-07-09 SL Baur <steve@altair.xemacs.org>
5329 * XEmacs 21.0-pre4 is released.
5331 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5333 * fileio.c: (expand_file_name): under win32: Don't treat names
5334 as UNC names if a drive letter has been specified. If a drive
5335 has been specified, strip out extra directory-seperators that
5336 reportedly cause problems under Win95.
5338 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5340 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5341 MSVC >= 5.0. Put emacs init and zero-init data in a special
5342 section of the executable when this is defined.
5344 * unexnt.c, ntheap.h:
5345 Removed unused find_section() and get_section_size().
5348 Fix up the executable's checksum after dumping otherwise the
5350 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5351 zero-init data separately from init data. Dump emacs data
5352 into a special section of the executable.
5353 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5354 my_ebss instead of up to the end of bss.
5356 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5358 * filelock.c: Removed Vconfigure_lock_directory - already
5361 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5362 defined in frame.c and general.c respectively.
5364 * glyphs-msw.c: Removed Qresource - already defined in
5367 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5369 * eldap.c (Fldap_search_internal): Docstring fixes
5371 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5373 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5374 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5375 EMACSPACKAGEPATH and INFOPATH variables.
5376 Removed unused get_emacs_configuration function.
5378 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5379 it is now defined at build-time by the makefile.
5381 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5383 * fileio.c: (expand_file_name): under win32: Don't treat names as
5384 UNC names if a drive letter has been specified. If a drive has
5385 been specified, strip out extra directory-seperators that
5386 reportedly cause problems under Win95.
5388 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5390 * faces.c (complex_vars_of_faces): for the gui-element face don't
5391 fallback to the default face, instead provide reasonable default
5392 fallbacks that were previously hardcoded elsewhere.
5394 1998-07-06 Olivier Galibert <galibert@pobox.com>
5396 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5397 when the X server endianness is different than the client's one.
5399 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5401 * eval.c (run_hook_with_args_in_buffer): Check
5402 default (non-buffer-local) value of hook for
5403 nil before treating it as a function. Don't initialize
5404 the `globals' variable twice.
5406 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5408 * fileio.c: Don't do directory seperator canonicalisation in
5409 substitute-in-file-name because we don't know that the
5410 filename refers to a local file.
5412 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5414 * process-nt.c (nt_create_process): Try appending the standard
5415 executable file extensions to the filename if none supplied.
5417 1998-06-29 SL Baur <steve@altair.xemacs.org>
5419 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5421 From Keisuke Mori <ksk@ntts.com>
5423 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5425 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5426 images if we have masks. This handles the xbm case (have masks)
5427 and avoids overuse of resources in the xpm case (generally no masks).
5428 Don't output small toolbars.
5430 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5432 * eval.c (run_hook_with_args_in_buffer): Don't treat
5433 the default value of a buffer local hook as a list of
5434 hooks unless it is both a cons and the car of that cons
5437 1998-06-29 SL Baur <steve@altair.xemacs.org>
5439 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5440 * process-unix.c: Ditto.
5441 * mule-coding.h: Ditto.
5442 * mule-coding.c: Ditto.
5443 * mule-charset.c: Ditto.
5444 * mule-charset.h: Ditto.
5445 * file-coding.c: Ditto.
5446 * file-coding.h: Ditto.
5448 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5450 * event-msw.c: Guard against recursion when freeing
5451 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5453 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5454 Call ShowWindow twice in init_frame_3 to get round runemacs
5457 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5459 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5461 * winslots.h: Rename.
5463 * window.c (specifier_vars_of_window): Renamed
5464 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5465 as suggested by Ben Wing.
5466 (specifier_vars_of_window): Fix docstrings.
5468 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5470 * unexaix.c: Line number information works correctly again.
5472 1998-06-22 Olivier Galibert <galibert@pobox.com>
5474 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5476 1998-06-21 Martin Buchholz <martin@xemacs.org>
5478 * editfns.c (get_home_directory): ANSIfy.
5479 XEmacs is compilable under C *and* C++.
5480 It's XEmacs, not Xemacs!
5482 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5484 * console-msw.h: added a list of fonts to device data.
5486 * device-msw.c: enumerate list of available fonts in
5487 mswindows_init_device. Free list in mswindows_delete_device.
5489 * objects-msw.c: Added helper function match_font used by
5490 mswindows_initialize_font_instance and mswindows_list_fonts.
5491 Allow a charset to be specified in a font string, even if
5492 previous fields havn't been specified.
5494 1998-06-23 Greg Klanderman <greg@alphatech.com>
5496 * indent.c (column_at_point): column cache bugfix.
5497 Set last_known_column_point to the buffer position for
5498 which the column was requested, not buffer's point.
5500 * redisplay.c (decode_mode_spec): for current-column, show
5501 window's point's column, not buffer's point's column.
5503 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5505 * menubar-msw.c (mswindows_handle_wm_command): use
5506 enqueue_misc_user event rather than
5507 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5510 * console-msw.h: declare mswindows_enqueue_magic_event.
5512 * event-msw.c (mswindows_enqueue_magic_event): make global.
5514 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5516 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5517 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5518 (add_position_to_cache): Use EMACS_INT instead of int.
5520 1998-06-21 Olivier Galibert <galibert@pobox.com>
5522 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5523 suitable for an int used as a boolean (btw, C sucks.).
5525 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5527 * object-msw.c: remove warnings.
5529 * device-msw.c: #define wrongly named cygwin structure elements.
5531 * s/cygwin32.h: define DEMI_BOLD
5533 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5535 * redisplay-msw.c: new function mswindows_apply_face_effects.
5536 This is called by output_string and output_cursor to display
5537 underline and strikeout on faces.
5539 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5541 * console-msw.h: added a list of fonts to device data.
5543 * device-msw.c: enumerate list of available fonts in
5544 mswindows_init_device. Free list in mswindows_delete_device.
5546 * objects-msw.c: Added helper function match_font used by
5547 mswindows_initialize_font_instance and mswindows_list_fonts.
5548 Allow a charset to be specified in a font string, even if
5549 previous fields havn't been specified.
5551 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5554 Removed compilation warnings from mswindows_string_to_color.
5555 mswindows_list_fonts returns a more general bogus font.
5556 New lisp-visible function mswindows-color-list.
5558 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5560 * editfns.c (Fuser_login_name): Modify to user new function
5562 (user_login_name): C only function to avoid Lisp object overhead
5563 Returns "unknown" instead of nil in Cygwin environment
5565 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5566 equivalent for current user in Cygwin environment. Use new
5567 function user_login_name to get username.
5569 * lisp.h: Declare user_login_name
5571 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5573 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5575 Some other insignificant nitpicks.
5577 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5579 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5580 creating the image list and make sure he bk color is transparent.
5582 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5584 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5585 completed_timeouts. The timer could have expired.
5587 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5589 * console-msw.h: move XEMACS_RECT_WH inside frame
5590 parameters. define macors to access it.
5592 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5593 parameter to intialise desired sizing. (mswindows_init_frame_2):
5594 enable and size the frame to something sensible when we get
5595 here. (mswindows_set_frame_properites): use new
5596 mswindows_size_frame_internal function and size frame if frame
5597 parameters not just if init is finished - WM_SIZE happens too
5598 early for some specs. (mswindows_size_frame_internal): new
5599 function abstracted from mswindows_set_frame_properties.
5600 (Vmswindows_use_system_frame_size_defaults):
5601 new variable controls whether to allow the system to pick frame
5602 size defaults, defaults to nil.
5604 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5605 than duplicated code.
5607 1998-06-15 Colin Rafferty <colin@xemacs.org>
5609 * Makefile.in.in: Made EXTW_LINK expand properly.
5611 1998-06-12 Martin Buchholz <martin@xemacs.org>
5613 * redisplay.c (vars_of_redisplay): default value of
5614 column-number-start-at-one should be NIL!
5616 1998-06-11 Martin Buchholz <martin@xemacs.org>
5619 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5621 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5623 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5624 build_string to avoid crashes under Mule.
5626 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5628 * ntplay.c (play_sound_data_1): don't delete the sound data until
5629 the next sound is played and the previous one finished.
5631 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5633 * fileio.c (directory-sep-char): Escape backslashes.
5635 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5637 * event-stream.c: Fix docstring reference.
5639 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5641 * alloc.c (make_float): Remove useless initialization of `next'
5643 (make_pure_float): Ditto.
5645 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5647 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5649 * fileio.c (Fmake_directory_internal): Remove conditionals
5650 on WINDOWSNT when calling mkdir.
5652 * ntproc.c: Deleted the following unused functions:
5653 register_child, reap_subprocess, sys_wait.
5655 * nt.c (sys_rename): Ifzeroed this implementation.
5656 Deleted the following unused functions:
5657 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5658 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5659 sys_read, sys_write.
5660 Merger sys_fopen and sys_open with sysdep.c implementation.
5662 * sysdep.c: Removed MS-DOS code.
5663 (sys_rename): Deal with Microsoft rename weirdness.
5664 (sys_open): Implemented for Windows.
5668 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5670 * buffer.c (complex_vars_of_buffer): Removed %t description from
5673 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5675 * scrollbar-msw.c: initialize the cbSize element of the
5676 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5677 to ignore the value of cbSize, but Win95 (and I presume Win98)
5678 appear to want it set to sizeof(SCROLLINFO).
5680 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5682 * event-stream.c: Defined Qcancel_mode_internal.
5683 (syms_of_event_stream): defsymbol'ed it.
5685 * events.h: Externed it.
5687 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5689 1998-06-04 Oliver Graf <ograf@fga.de>
5691 * frame-x.c (x_cde_destroy_callback): free the data
5692 (cde-start-drag-internal) corrected root position, 21.1 needs this
5693 hardcoded in Button events
5694 (offix-start-drag-internal) corrected root position
5696 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5698 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5701 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5703 * dialog-msw.c (button_width): Removed `inline' from the function
5706 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5708 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5709 Note that adding this flag to subsequent frames causes problems.
5711 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5713 * glyphs-eimage.c (png_instantiate) move 'struct
5714 png_memory_storage tbr' out of nested block to avoid dangling
5717 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5720 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5721 inherits from gui-element.
5723 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5724 with existing code, generate masks correctly.
5726 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5728 * glyphs-eimage.c: Changed included header for gifs to use
5729 Gifreader instead of giflib.
5731 * glyphs-x.c: removed the image-related functions that were
5732 moved into glyphs-eimage.
5734 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5736 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5737 if built without X Windows support.
5739 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5741 * fns.c (Fconcat): Synch docstring with new reality.
5743 1998-06-03 SL Baur <steve@altair.xemacs.org>
5745 * frame.c: Remove reference to msdos.h (which is going away).
5746 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5748 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5750 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5754 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5756 * events.h: Fixed commentary about misc-user scrollbar events.
5758 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5759 object as an event channel, instead of window object.
5760 (x_update_horizontal_scrollbar_callback): Ditto.
5762 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5764 * ntplay.c (play_sound_data_1) new function. convert alloca data
5765 to malloc if necessary.
5766 (play_sound_file): if the file is not in our path then convert to
5769 1998-06-01 SL Baur <steve@altair.xemacs.org>
5771 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5772 * msdos.c (Frecent_doskeys): Ditto.
5774 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5775 Suggested by Reggie Perry <perry@zso.dec.com>
5777 * buffer.h: Eliminate size in declaration.
5779 1998-06-01 Olivier Galibert <galibert@pobox.com>
5781 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5783 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5785 * gui.c (gui_item_init): Changed the default value for config member
5786 from Qunbound to Qnil.
5788 1998-06-01 Greg Klanderman <greg@alphatech.com>
5790 * indent.c (vmotion_pixels): Don't #define abs().
5792 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5794 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5797 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5799 * glyphs.h: add xbm declarations.
5801 * console.h: add xbm_instantiate_method device method.
5803 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5804 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5805 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5806 locate_pixmap_file device method and read_bitmap_data_from_file
5807 instead of XmuReadBitmapDataFromFile.
5808 (xbm_instatntiate): make a device method.
5810 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5811 new function that just calls XmuReadBitmapDataFromFile.
5812 (x_xbm_instatntiate): device method from xbm_instantiate.
5814 * glyphs-msw.c (read_bitmap_data) (NextInt)
5815 (read_bitmap_data_from_file): new functions copied from Xmu
5817 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5818 inline data to an mswindows bitmap.
5819 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5820 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5823 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5825 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5826 `modeline-visible-p'.
5827 Declared specifier lisp variables at the beginning oh the file
5830 * procimpl.h (struct process_methods): Changed semantics of
5831 create_process method so it accepts lisp strings instead of
5834 * process.c (Fstart_process_internal): Moved building of
5835 unix style argv from here to process-unix.c, ...
5837 * process-unix.c (unix_create_process): ... right here.
5839 * process-nt.c (nt_create_process): Changed this function to
5840 support new semantics, so avoided a GC problem.
5842 * events.c (Fmake_event): Document misc-user events properties.
5843 (Fmake_event): Do not allow arbitrary objects for channel property
5844 of misc-user events.
5845 (Fmake_event): Change misc-user event validation: it is function
5846 which is required, not button.
5848 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5850 (mswindows_enqueue_misc_user_event): Added function.
5851 (mswindows_bump_queue): Removed function.
5852 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5853 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5854 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5855 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5856 really nothing, which is my personal favorite thing.
5858 * console-msw.h: Removed prototype for mswindows_bump_queue().
5859 Added prototype for mswindows_enqueue_misc_user_event().
5861 * menubar-msw.c (mswindows_handle_wm_command): Use
5862 mswindows_enqueue_misc_user_event().
5864 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5866 * dialog-msw.c (dialog_proc): Ditto.
5868 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5869 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5870 user events channel.
5872 1998-05-29 Greg Klanderman <greg@alphatech.com>
5874 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5875 incorrect semantics of vmotion_pixels which has been fixed. don't
5876 use it anymore as it can't easily be used.
5878 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5879 the motion was reported incorrectly if you tried to go past end of
5882 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5884 * toolbar.h: Removed misleading commentary, as Martin suggested.
5886 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5888 * lisp.h: Extern Qactivate_menubar_hook.
5890 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5893 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5895 * glyphs-msw.c: use BPLINE macro.
5897 * select-msw.c (mswindows-selection-exists-p)
5898 (mswindows-delete-selection): doc string fixes.
5900 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5901 unpressable. warning elimination.
5903 1998-05-28 Martin Buchholz <martin@xemacs.org>
5905 * alloc.c (dbg_constants):
5908 Remove toolbar_data debugging code, since that lrecord has
5911 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5913 * alloc.c: zap cached value of (user-home-directory), so that
5916 * buffer.c: From init_buffer(), separated out code that
5917 determined the initial directory for the *scratch* buffer, and
5918 put them into a function called "init_initial_directory()".
5919 The initial directory is now available as a global "char *"
5920 called initial_directory.
5922 * buffer.h: Added extern entries for initial_directory[] and
5923 init_initial_directory().
5925 * editfns.c: added new elisp function "user-home-directory",
5926 which basically returns getenv("HOME"), but attempts to use
5927 other values if $HOME isn't set.This may have to be tweaked in
5928 the future as, under Unix, "/" is used if $HOME isn't set (this
5929 probably should be set to the current directory). To support
5930 this, a new C function, "get_home_directory()", now exists,
5931 which returns the "home directory", as a "char *" string.
5933 * emacs.c: Rearrange NT initialization order so that
5934 environment/registry variables will be properly entered into
5935 Vprocess_enviroment.
5937 * fileio.c: replaced egetenv("HOME") with calls to the new
5938 get_home_directory().
5940 * lisp.h: Added function prototypes for uncache_home_directory()
5941 and get_home_directory(), along with lisp prototypes for
5942 Fuser_home_directory() and friends.
5944 * nt.c: replaced getenv("HOME") with calls to the new
5945 get_home_directory().
5947 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5948 warnings about getcwd(), etc. not having prototypes.
5950 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5952 * process-nt.c (send_signal): Emulate SIGHUP.
5953 (validate_signal_number): Ditto.
5955 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5956 remove MOD_SHIFT from ASCII characters.
5957 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5960 1998-05-24 Oliver Graf <ograf@fga.de>
5962 * frame-x.c (cde-start-drag-internal): added filename and multi-
5964 (x_cde_convert_callback) dito
5966 1998-05-26 Oliver Graf <ograf@fga.de>
5968 * frame-x.c: include event-mod.h also with CDE
5969 (x_cde_convert_callback) made the thing working
5970 (cde-start-drag-internal) also debugging
5972 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5979 - add __OpenBSD__ where __NetBSD__ was found.
5980 - TODO: replace platform-specific conditional compilation by
5981 feature tests in configure.in.
5983 1998-05-15 Greg Klanderman <greg@alphatech.com>
5985 * window.c (Fwindow_displayed_text_pixel_height): New function.
5986 (syms_of_window): DEFSUBR it.
5988 * indent.c (Fvertical_motion_pixels): New function - request
5990 (vmotion_pixels): helper.
5991 (syms_of_indent): DEFSUBR.
5992 * lisp.h: declaration for vmotion_pixels().
5994 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5995 to request returning motion in pixels.
5996 (Fvertical_motion_pixels): Remove, functionality merged into
5998 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5999 (Fmove_to_window_line): ditto.
6000 * lisp.h: Change declaration for Fvertical_motion.
6002 * window.c: rename window-text-pixel-{height,width,edges} to
6003 window-text-area-pixel-*.
6005 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6007 * tooltalk.c (vars_of_tooltalk) added staticpro for
6008 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6010 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6012 * faces.c: create a new 3d_object_face, make modeline and
6013 vertical_divider faces fallback to this rather than the default.
6015 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6017 * s/cygwin32.h: define charsets for cygwin.
6019 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6021 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6022 and coordinates. resize bitmaps if we have already settled on a
6025 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6027 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6029 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6031 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6035 * gui-x.c (popup_selection_callback): Ditto.
6037 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6039 * gui.c (get_callback): Renamed to get_gui_callback.
6041 1998-05-17 Martin Buchholz <martin@xemacs.org>
6043 * glyphs.h: order rearrangement.
6045 * device-tty.c (tty_asynch_device_change): Warning suppression.
6046 * device-x.c (x_device_system_metrics): Warning suppression.
6047 Make Doc strings consistent with coding standards.
6049 1998-05-24 Martin Buchholz <martin@xemacs.org>
6051 * general.c: multiple definition of `Qicon'. general.c seems
6052 like a good home for Qicon.
6054 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6056 * This patch is to fix compilation warnings under Windows.
6058 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6059 Added prototypes for FSF inherited functions, with which XEmacs is
6060 sprinkled thoroughly.
6061 Removed some #if 0 code. Bracketed some more definitions, probably
6062 related to Visual C versions prior to 4 (we do not support them).
6064 * sysfloat.h (logb): Finally, get logb() prototyped.
6066 * sysfile.h: Added Windows specific includes.
6067 Removed old Windows specific code bracketed with #if 0.
6069 * sysdep.h: Added prototype for xrealpath().
6071 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6073 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6074 vars_of_dired_mswindows and init_ntproc (Grrr).
6076 * realpath.c: Added Windows specific include files.
6077 (xrealpath): Conditionalized declaration of some auto variables on
6078 S_IFLNK, to avoid warnings.
6080 * ntproc.c: Disabled some compiler warnings. This file is going to
6081 die, so I have not cleaned it up much.
6082 (set_process_dir): Const parameter.
6083 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6084 (Fwin32_long_file_name): Ditto.
6085 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6088 * nt.h: Added prototypes for set_process_dir and convert_time.
6090 * nt.c: More include files.
6091 (getpwnam): Consted char* argument.
6092 (get_emacs_configuration): Const return value.
6093 (opendir): Const argument.
6094 (stat): Casted converstion long->short.
6095 (stat): Removed ad hoc and questionable support for non-MSC compile.
6096 (sys_pipe): Removed unused auto variable.
6097 (_sys_read_ahead): Removed calls to DebPrint.
6098 (sys_read): Ditto, in 2 places.
6099 (term_ntproc): Added unused int parameter to signal handler, to
6100 avoid a warning when compiling a call to signal().
6101 (msw_sigset): Properly return old signandler or NULL instead of void.
6103 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6105 * gmalloc.c (morecore): Ditto.
6106 (_free_internal): Ditto.
6108 * lread.c (parse_integer): Ditto.
6110 * dired-msw.c: Added several include files.
6112 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6113 of Compilers to Shut Up.
6115 * callproc.c: Added #includes to suppress warnings under Windows.
6116 (init_callproc): Removed #if0'ed code and unused variables.
6118 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6120 * device-msw.c (mswindows_device_system_metrics): do planes in a
6121 way consistent with X.
6123 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6124 use SetPixel, use DIBits functions.
6125 (xpm_to_eimage): frob colors more closely like xpm deos.
6127 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6128 to be closer to X version.
6130 * event-msw.c: use tooltip string directly.
6132 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6134 * objects-msw.c: frob rgb colors that only Kyle uses.
6136 * dialog-msw.c (button_width): INLINE -> inline.
6138 1998-05-23 SL Baur <steve@altair.xemacs.org>
6140 * getloadavg.c (getloadavg): Fix typo.
6142 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6144 * objects-msw.c (mswindows_initialize_font_instance): Added support
6145 for font character sets.
6146 Replaced 'XXX' with '####' in comments throughout the file.
6148 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6150 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6151 console_type_create_dialog_mswindows(), to initialize Windows dialog
6154 * symsinit.h: Prototyped the above functions.
6156 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6157 checks to dialog.c...
6159 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6160 device must support dialog boxes, and the descriptor must supply at
6163 * dialog-msw.c: New file, dialogs for Windows.
6165 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6167 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6168 (Fldap_search_internal): Removed unused variable `err'
6170 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6173 1998-05-17 Martin Buchholz <martin@xemacs.org>
6175 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6176 defined. Therefore there is no need to handle the case when
6177 HAVE_LDAP is undefined. Similarily, there is no reason to have
6178 any code wrapped within `#ifdef emacs', since this code is only
6179 useful within an emacs. This simplifies the code significantly.
6181 * inline.c: Include eldap.h only if HAVE_LDAP.
6182 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6185 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6187 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6188 printing dump stats when building without DEBUG_XEMACS.
6189 (dump_bss_and_heap): Ditto.
6191 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6193 * gnuclient.c: don't suppress window system if there is no display
6194 and we are running under mswindows. send 'mswindows device type if
6195 we are in this situation.
6197 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6200 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6202 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6205 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6207 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6208 {top,bottom}-{left,right} values in addition to
6209 {top,bottom}_{left,right}.
6211 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6213 * fileio.c (Fmake_temp_name): Remove unreached code.
6215 * process-nt.c (validate_signal_number): Use
6216 signal_simple_error().
6218 1998-05-19 Martin Buchholz <martin@xemacs.org>
6221 * sound.c (vars_of_sound):
6222 * sysdep.c (reset_sigio_on_device):
6223 * window.c (window_bottom_gutter_height):
6224 unexhp9k800.c:258: warning: implicit declaration of function
6225 `calculate_checksum'
6226 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6227 sysdep.c:1012: warning: unused variable `owner'
6228 window.c:993: warning: `window_right_toolbar_width' defined but not used
6230 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6232 * glyphs-msw.c (mswindows_create_resized_mask)
6233 (mswindows_create_resized_bitmap): new funnctions split out from
6234 mswindows_resize_dibitmap_instance.
6236 * glyphs-msw.h: declare new resize functions.
6238 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6239 functions so that the original bitmaps are preserved.
6241 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6243 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6244 color if we are trying to output 0 depth bg pixmap.
6246 * scrollbar-msw.c: warning elimination.
6248 1998-05-18 Martin Buchholz <martin@xemacs.org>
6250 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6251 directives in column 1.
6253 * search.c (skip_chars): Avoid using xzero with arrays, since some
6254 compilers get confused by the construct &array.
6256 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6259 * objects-msw.c: Changed the charset value for a new font from
6260 "don't care" to "ansi".
6262 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6264 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6266 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6267 modifier on control chars.
6268 Use IsCharAlpha() instead of isaplha().
6270 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6272 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6274 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6276 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6277 charset when creating font.
6278 (mswindows_initialize_color_instance): Do not create brush along
6280 (mswindows_finalize_color_instance): Do not delete it then.
6282 * objects-msw.h (struct mswindows_color_instance_data): Removed
6283 brush slot, and corresponding accessor macro.
6285 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6287 * toolbar.c: Removed toolbar_data lrecord implementation.
6288 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6289 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6290 (compute_frame_toolbar_buttons): Ditto.
6291 (CHECK_TOOLBAR): Ditto.
6292 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6293 (update_frame_toolbars): Do not check for changed buffer
6294 here. Toolbar information is provided by cached specs in
6295 windows. The check for buffer is eliminated becuase toolbars are
6296 marked changed in set_frame_selected_window() in frame.c
6297 Added check for changed toolbars geometry.
6298 (compute_frame_toolbars_data): Removed unused second parameter;
6299 Adjusted callers of this static function throughout the file.
6300 (init_frame_toolbars): Initialize current_toolbar_size.
6301 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6302 what is its current expansion, for clarity.
6303 (init_frame_toolbars): Ditto.
6304 (init_device_toolbars): Ditto.
6305 (init_global_toolbars): Ditto.
6307 * toolbar.h: Removed definition of toolbar_data lrecord.
6308 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6309 FRAME_CURRENT_TOOLBAR_SIZE.
6310 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6312 * toolbar-x.c (x_output_toolbar): The same change as in
6314 (x_output_toolbar): Ditto.
6315 (x_redraw_exposed_toolbar): Ditto.
6317 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6318 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6319 (mswindows_output_toolbar): Ditto.
6320 (mswindows_output_toolbar): Ditto.
6322 * frame.c (mark_frame): Removed marking of arrays, according to
6323 frameslots.h change.
6324 (nuke_all_frame_slots): Ditto.
6325 (set_frame_selected_window): Mark toolbars changed when
6326 last_nonminibuf_window changes.
6328 * frame.h (struct frame): Moved some slots to frameslots.h.
6329 Added current_toolbar_size array.
6330 Changed references from toolbar_data to toolbar_buttons in macros
6331 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6332 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6333 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6335 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6336 Moved arrays of lisp objects here from frame.h: toolbar_size,
6337 toolbar_visible_p, toolbar_border_width.
6338 Removed toolbar_data slot and added toolbar_buttons.
6340 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6342 * symsinit.h: Externed syms_of_process_nt()
6344 * emacs.c (main_1): Call syms_of_process_nt()
6346 * process-nt.c: Quote process arguments by a call to Lisp function
6347 `nt-quote-process-args'.
6348 (syms_of_process_nt): New function.
6349 (nt_send_process): Flush data stream after each write, to avoid
6350 leaving buffered data.
6351 (nt_send_process): When blocked on process output, wait for
6352 process to slurp more for progressively increasing time intervals.
6354 1998-05-17 Martin Buchholz <martin@xemacs.org>
6356 * window.c (have_undivided_common_edge): Make file-local function
6358 (map_windows): Return 0 if all map functions successful.
6361 * winslots.h: Use unlikely names for local variables in macros to
6362 avoid shadowing warnings.
6364 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6366 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6367 so that we re-output if the toolbar size has changed.
6369 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6371 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6373 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6375 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6378 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6380 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6381 get bitmap manifest constants defined.
6383 * console-msw.h: Include system files in angle brackets, not in
6386 * window.c (specifier_vars_of_window): Fixed a typo in
6387 `vertical-divider-line-width' docstirng.
6389 1998-05-16 Olivier Galibert <galibert@pobox.com>
6391 * line-number.c (delete_invalidate_line_number_cache): Use an
6393 (buffer_line_number): Remove dangerous, plain wrong when using
6394 64bits emacs ints, cast.
6396 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6398 * cmds.c (Fforward_line): Use EMACS_INTs.
6400 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6401 (scan_buffer): Ditto.
6402 (bi_find_next_newline_no_quit): Remove useless cast.
6403 (find_next_newline_no_quit): Ditto.
6404 (find_next_newline): Ditto.
6405 (find_before_next_newline): Use an EMACS_INT.
6407 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6409 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6411 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6413 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6415 * gui-x.c (popup_selection_callback): Use it.
6417 * gui.h (get_callback): Declare it.
6419 * gui.c (get_callback): New function.
6421 1998-05-15 SL Baur <steve@altair.xemacs.org>
6423 * window.c (have_undivided_common_edge): Guard scrollbar specific
6425 (window_needs_vertical_divider_1): Ditto.
6427 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6429 * emacs.c (decode_path): Eliminate compiler warning.
6430 (Fdecode_path): Renamed to Fsplit_path.
6431 (Fsplit_string_by_char): New function.
6433 1998-05-14 Damon Lipparelli <lipp@primus.com>
6435 * winslots.h: close comment
6437 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6439 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6441 * bufslots.h: Removed buffer_file_type slot.
6443 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6445 (complex_vars_of_buffer): Removed buffer-file-type variable and
6446 its default reference.
6448 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6450 * faces.c (complex_vars_of_faces): Defined
6451 Vvertical_divider_face.
6452 (vars_of_faces): Staticpro it.
6454 * faces.h: Externed Vvertical_divider_face.
6456 * redisplay-x.c (x_output_vertical_divider): Use
6457 Vvertical_divider_face to draw the divider instead of modeline
6460 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6461 divider face using Vvertical_divider_face background.
6462 Fix drawing spacing gaps around the divider.
6464 1998-05-14 Didier Verna <verna@inf.enst.fr>
6466 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6467 values for the vertical divider line width and spacing. Use the
6468 cached values from the window structure instead.
6469 (x_divider_width): ditto.
6471 * window.c (specifier_vars_of_window): new specifiers:
6472 vertical-divier -line-width and -spacing.
6473 (vertical_divider_global_width_changed): formerly known as
6474 vertical_divider_shadow_thickness_changed.
6476 * winslots.h: new slots: vertical_specifier _line_width and
6477 _spacing. Plus corrected a comment typo.
6479 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6481 * window.h: Declared window_divider_width().
6483 * console-stream.c (stream_divider_width): Removed method.
6484 (console_type_create_stream): And declaration for it.
6486 * redisplay.c (pixel_to_glyph_translation): Use
6487 window_divider_width() instead of divider_width redisplay method.
6488 (pixel_to_glyph_translation): Fix top divider edge calculation
6489 when scrollbar is on top.
6491 * window.c (window_divider_width): New function, an outphaser for
6492 divider_width redisplay method.
6493 (window_right_gutter_width): Use it.
6494 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6495 specifiers, set fallback values differently on TTYs, and document
6496 the behavior of these on TTYs in the docstrings.
6498 * scrollbar.c (update_scrollbar_instance): Use
6499 window_divider_width() instead of divider_width redisplay method.
6501 * console.h (struct console_methods): Removed divider_width_method.
6503 * redisplay-tty.c (tty_divider_width): Removed device method.
6504 (console_type_create_redisplay_tty): Removed definition for it.
6505 (tty_output_vertical_divider): Respect the value returned by
6506 window_divider_width thus divider line width specification.
6508 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6509 (console_type_create_redisplay_mswindows): Removed definition for it.
6510 (mswinodws_output_vertical_divider): Respect the value returned by
6511 window_divider_width thus divider line width specification.
6513 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6515 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6517 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6519 * glyphs-msw.c: resource loading implementation.
6520 (cursor_normalize): new function.
6521 (cursor_validate): ditto.
6522 (cursor_instantiate): ditto.
6523 (cursor_name_to_resource): ditto.
6524 (cursor_possible_dest_types): ditto.
6525 (check_valid_symbol): ditto.
6526 (check_valid_string_or_int): ditto.
6528 1998-05-14 Martin Buchholz <martin@xemacs.org>
6530 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6533 * process-unix.c (process_signal_char): Use VSUSP instead of
6534 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6536 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6538 * specifier.c (specifier_instance): Change locale precedence of
6539 instantiation so window locale has higher priority than buffer
6541 (Fspecifier_instance): Reflect this in docstring.
6542 (Fadd_spec_list_to_specifier): Ditto.
6543 (Fadd_spec_to_specifier): Ditto.
6544 (Fremove_specifier): Ditto.
6546 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6548 ** Dialog separation into a device method from Andy Piper
6550 * emacs.c (main_1): Call console_type_create_dialog_x().
6552 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6553 into this device method.
6554 (console_type_create_dialog_x): New function.
6556 * dialog.c (Fpopup_dialog_box): New function.
6557 (syms_of_dialog): Defsubr it.
6559 * console.h (struct console_methods): Declared
6560 popup_dialog_box_method().
6562 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6564 1998-05-14 Oliver Graf <ograf@fga.de>
6566 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6567 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6569 1998-05-13 Oliver Graf <ograf@fga.de>
6571 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6573 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6575 * console.h (device_metrics): Removed dbcs, input-method-editor
6576 and right-to-left metrics.
6578 * device.c (Fdevice_system_metric): Ditto.
6579 (Fdevice_system_metrics): Ditto.
6580 (syms_of_device): Ditto.
6581 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6584 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6586 * line-number.h (mark_line_number_cache): Remove unused
6589 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6590 (get_nearest_line_number): Simplify.
6591 (add_position_to_cache): Make the old marker point nowhere.
6593 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6595 ** Renamed window-divider-map => vertical-divider-map
6596 and event-over-divider-p => event-over-vertical-divider-p,
6597 in the following files/functions:
6599 * events.c (Fevent_over_divider_p):
6600 * keymap.c (get_relevant_keymaps):
6603 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6605 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6607 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6609 * window.c (vertical_divider_changed_in_window): Renamed so.
6610 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6611 (window_needs_vertical_divider_1): Decide whether we need it based
6612 on the value of the above specifier. If separators are unwanted,
6613 put them only if there's no scrollbar between this window and its
6615 (have_undivided_common_edge): New function, helper for the above.
6616 (window_needs_vertical_divider): Return either a cached value,
6617 or clauclate and cache one.
6618 (invalidate_vertical_divider_cache_in_window): Implemented.
6619 (map_windows): Changed return type to int, return the value from
6622 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6623 (struct window): Added need_vertical_divider_p and
6624 need_vertical_divider_valid_p.
6626 * winslots.h: Added vertical_divider_draggable_p slot.
6628 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6629 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6631 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6633 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6634 invalidate_vertical_divider_cache_in_frame().
6637 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6639 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6641 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6642 masks correctly and don't select 0.
6644 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6646 * winslots.h: New file, declaration of some struct window and
6647 struct saved_window members.
6649 * window.h (struct window): Include it, with required preprocessor
6652 * window.c (mark_window): Ditto.
6653 (allocate_window): Ditto.
6654 (struct saved_window): Ditto.
6655 (mark_window_config): Ditto.
6656 (saved_window_equal): Ditto.
6657 (Fset_window_configuration): Ditto.
6659 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6661 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6663 1998-05-12 Didier Verna <verna@inf.enst.fr>
6665 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6666 the divider line. The shadow thickness is currently
6667 hard-wired. This will probably be turned into a specifier soon.
6669 1998-05-12 Didier Verna <verna@inf.enst.fr>
6671 * console.h (struct console_methods): the divider_width console
6672 method now requires a struct window * argument.
6674 * redisplay-x.c (x_divider_width): ditto. Plus remove
6675 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6676 (x_output_vertical_divider): give a depressed look when the shadow
6677 thickness is negative.
6679 * console-stream.c (stream_divider_width): pass a struct window *
6682 * redisplay-tty.c (tty_divider_width): ditto.
6684 * window.c (window_right_gutter_width): totdi.
6686 * redisplay.c (generate_modeline): ittod.
6688 * scrollbar.c (update_scrollbar_instance): ttido.
6690 * redisplay-msw.c (mswindows_divider_width): ottid.
6691 WARNING: this enables to compile, but the feature is not functional.
6693 * window.h (struct window): new field
6694 vertical_divider_shadow_thickness.
6696 * window.c (specifier_vars_of_window): new specifier
6697 vertical-divider-shadow-thickness.
6698 (vertical_divider_shadow_thickness_changed): new function to
6699 inform redisplay that the window has changed.
6700 (mark_window): handle new field vertical_divider_shadow_thickness
6702 (allocate_window): ditto.
6703 (saved_window_equal): toddi.
6704 (Fset_window_configuration): totid.
6705 (save_window_save): ttdio.
6706 (struct saved_window): new field vertical_divider_shadow_thickness.
6708 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6710 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6713 1998-05-12 Oliver Graf <ograf@fga.de>
6715 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6716 * event-Xt.c (x_event_to_emacs_event): C++ compability
6718 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6720 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6723 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6725 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6728 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6730 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6732 * emacs.c (decode_path_1): New function.
6733 (decode_path): Use it.
6734 (Fdecode_path): Renamed from Fdecode_path_internal; use
6737 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6739 * macros.c (Fzap_last_kbd_macro_event): New function.
6740 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6742 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6744 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6745 multiple bitmaps are output vertically as well as horizontally.
6746 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6747 crossing lines this is handled by
6748 mswindows_output_dibitmap_region.
6750 1998-05-12 Martin Buchholz <martin@xemacs.org>
6752 * inline.c: Include eldap.h
6754 * menubar-x.c (x_update_frame_menubar_internal):
6755 Remove: unused variable `container'
6757 1998-05-11 Martin Buchholz <martin@xemacs.org>
6759 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6760 Unfortunately, the resulting temacs still cannot dump.
6762 * symbols.c (symbol_is_constant):
6763 (verify_ok_for_buffer_local):
6764 -Wswitch Warning suppression - add default case to switches.
6766 * redisplay.c (decode_mode_spec): Remove unused variables,
6767 Replace Fcoding_system_property (codesys, Qmnemonic) with
6768 XCODING_SYSTEM_MNEMONIC (codesys);
6769 Fcoding_system_property is for users.
6775 Change empty docstrings into no doc strings at all.
6776 Fix bogus FSF-format docstrings.
6779 Standardize docstrings.
6782 Explain problems with matherr.
6784 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6787 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6788 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6789 Fix the weird resultant interaction (causes windows problems)
6793 Take new EMACSBOOTSTRAPLOADPATH into account.
6794 Update documentation strings
6797 - Adjust for luser's CDPATH being set to something weird.
6798 - Take into account bash 2.02's tendency to print the cwd when
6799 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6800 - fix the run-temacs target to use $(DUMPENV)
6801 - fix the run-puremacs target to use $(DUMPENV)
6802 - fix the `depend' target to properly $(RM) the right files
6803 - Generate a better TAGS file for XEmacs' lisp code using
6804 hand-crafted regexps.
6805 - Use standard coding conventions for modules/Makefile.in
6807 1998-05-12 Didier Verna <verna@inf.enst.fr>
6809 * redisplay.c: removed the scrolling modeline code that didn't
6810 make it for 21.0. To be continued ...
6812 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6814 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6815 and empty string inputs.
6817 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6819 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6821 1998-05-10 Oliver Graf <ograf@fga.de>
6823 * event-stream.c (enqueue_misc_user_event_pos): created
6824 * lisp.h (enqueue_misc_user_event_pos): prototype added
6825 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6826 * emacs.c: call vars_of_dragdrop
6827 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6829 1998-05-11 Oliver Graf <ograf@fga.de>
6831 * frame-x.c (x_cde_transfer_callback): return at correct pos
6832 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6833 object for MIME (see comment in dragdrop.c)
6834 * dragdrop.c: API change documented in comment
6835 removed provide of dragdrop [is provided by dragdrop.el]
6837 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6839 * window.c (window_needs_vertical_divider): Enable vertical
6840 dividers for every non-rightmost window.
6841 (window_left_gutter_width): Left gutter consists of mythical
6842 toolbar and a virtual scrollbar.
6843 (window_right_gutter_width): The right one may have a divider
6846 * scrollbar.c (update_scrollbar_instance): Position vertical
6847 scrollbar left to divider if the latter present.
6849 * redisplay.h: Declared OVER_DIVIER constant.
6851 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6854 * redisplay-x.c (x_output_vertical_divider): Output divider along
6855 the right side of the window, down to window bottom. Swapped
6856 foreground and background colors so it is visible by default.
6858 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6859 stick the divider to the right window side.
6861 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6863 (mswindows_divider_width): Ask system for user preferred value.
6864 (mswindows_output_vertical_divider): Always output the divider on
6865 the right side of a window, down to bottom.
6867 * keymap.c (get_relevant_keymaps): Route mouse button events which
6868 happened over a window divider through window-divider-map.
6869 (Fkey_binding): Documented that in the docstring.
6870 Defined the variable Vwindow_divider_map.
6872 * events.c (Fevent_over_divider_p): Added this function.
6874 * events.h: EXFUNed it.
6876 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6878 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6879 toolbar geometry is suspected to change.
6881 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6885 Condition dnd and dde code on HAVE_DRAGNDROP.
6887 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6889 * events.c (format_event_object): Print space as SPC etc.
6891 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6893 * print.c (print_internal): In the default case, abort() if
6894 ERROR_CHECK_TYPECHECK.
6896 * fileio.c (Fmake_temp_name): Doc fix.
6898 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6900 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6902 * undo.c (Fprimitive_undo): Fixed typo.
6904 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6906 * fns.c (concat): Signal error on integer argument.
6908 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6910 * console.h (device_metrics): Prefixed each constatnt with DM_
6912 * device.c: (Fdevice_system_metric): Renamed so from plural form
6913 (metrics); Changed parameters order and added DEFAULT parameter;
6914 Unabbreviated some metric constants; Fixed and untabified doc string.
6915 (Fdevice_system_metrics): Added. Returns a plist of all provided
6918 * device-msw.c (mswindows_device_system_metrics): Renamed
6919 device_metrics enum constants.
6920 Return Qunbound instead of Qnil.
6922 * device-tty.c (tty_device_system_metrics): Ditto.
6924 * device-x.c (x_device_system_metrics): Ditto.
6926 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6928 * redisplay-msw.c: implement background pixmaps (really!). Make
6929 sure bg color is transparent if we have bg pmaps.
6930 * (mswindows_output_string) (mswindows_clear_region): output bg
6932 * (mswindows_output_dibitmap_region): new function.
6933 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6934 the bg color rather than transparently.
6936 * toolbar-msw.c: use masks if they exist.
6938 * glyphs-msw.c: set up masks correctly.
6940 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6942 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6944 * regex.c (re_match_2_internal): Check for quit.
6946 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6948 * frame.c (Ffocus_frame): New function.