1 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp> (at Bangalore)
3 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
6 (breakup_char_1): Likewise.
8 * text-coding.c (char_encode_iso2022): Keep designated charsets if
9 one of them includes the specified character.
11 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
13 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
15 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
17 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
19 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
21 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
22 definition for non-UTF-2000 Mule.
23 (latin_iso8859_3_to_ucs): Likewise.
24 (latin_iso8859_4_to_ucs): Likewise.
25 (latin_iso8859_9_to_ucs): Likewise.
26 (latin_jisx0201_to_ucs): Likewise.
27 (MIN_CHAR_THAI): Likewise.
28 (MAX_CHAR_THAI): Likewise.
29 (MIN_CHAR_GREEK): Likewise.
30 (MAX_CHAR_GREEK): Likewise.
31 (MIN_CHAR_HEBREW): Likewise.
32 (MAX_CHAR_HEBREW): Likewise.
33 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
34 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
35 (MIN_CHAR_CYRILLIC): Likewise.
36 (MAX_CHAR_CYRILLIC): Likewise.
38 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
40 * char-ucs.h (breakup_char_1): Use
41 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
42 thai-tis620 and katakana-jisx0201 area.
44 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
46 * char-ucs.h (breakup_char_1): Use
47 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
50 * text-coding.c (reset_encoding_stream): Fixed.
51 (char_encode_ucs4): Delete `& 255'.
53 * char-ucs.h (breakup_char_1): Use
54 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
56 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
58 * file-coding.c (Fmake_coding_system): Don't set up
59 `codesys->fixed.size'.
60 (encode_coding_no_conversion): Don't refer
61 `str->codesys->fixed.size'.
63 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
65 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
66 (latin_a_char_to_byte1): Deleted.
67 (latin_a_char_to_byte2): Deleted.
69 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
71 * mule-charset.c (make_charset): Add new argument `ucs_min',
72 `ucs_max' and `code_offset'.
73 (charset_get_byte1): New implementation [delete specific charset
74 depended implementations].
75 (Fmake_charset): Modify for `make_charset'.
76 (Fmake_reverse_direction_charset): Likewise.
77 (complex_vars_of_mule_charset): Likewise.
79 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
81 (CHARSET_UCS_MIN): New macro.
82 (CHARSET_UCS_MAX): New macro.
83 (CHARSET_CODE_OFFSET): New macro.
84 (MAKE_CHAR): Delete charset depended definitions [except
87 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
89 * char-ucs.h (breakup_char_1): Use
90 `Vdefault_coded_charset_priority_list' for C0-Controls,
91 Basic-Latin, C1-Controls and Latin-1-Supplement area.
93 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
95 * char-ucs.h (charset_get_byte1): New function.
96 (XCHARSET_GET_BYTE1): Deleted.
97 (charset_get_byte2): New function.
98 (XCHARSET_GET_BYTE2): Deleted.
99 (Vdefault_coded_charset_priority_list): New external variable.
100 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
101 `Vdefault_preferred_coded_charset_list'.
103 * mule-charset.c (charset_get_byte1): New function.
104 (charset_get_byte2): New function.
105 (Vdefault_coded_charset_priority_list): New variable.
106 (vars_of_mule_charset): Add new variable
107 `default-coded-charset-priority-list'.
109 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
111 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
112 (XCHARSET_GET_BYTE2): New inline function.
113 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
114 `XCHARSET_GET_BYTE2'.
116 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
118 * mule-charset.c (make_charset): Initialize
119 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
120 NULL if table is not defined.
122 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
124 * text-coding.c (char_encode_shift_jis): Use
125 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
126 `ucs_to_latin_jisx0201'.
128 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
129 (ucs_to_latin_iso8859_2): Deleted.
130 (ucs_to_latin_iso8859_3): Deleted.
131 (ucs_to_latin_iso8859_4): Deleted.
132 (ucs_to_latin_iso8859_9): Deleted.
133 (ucs_to_latin_viscii_lower): Deleted.
134 (ucs_to_latin_viscii_upper): Deleted.
135 (ucs_to_latin_tcvn5712): Deleted.
136 (make_charset): Add new argument `decoding_table'; set up
137 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
138 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
139 `decoding_table' is defined in UTF-2000.
140 (Fmake_charset): Modify for `make_charset'.
141 (Fmake_reverse_direction_charset): Likewise.
142 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
143 and `GENERATE_96_SET'.
145 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
146 (ucs_to_latin_jisx0201): Deleted.
147 (latin_iso8859_2_to_ucs): Deleted.
148 (ucs_to_latin_iso8859_2): Deleted.
149 (latin_iso8859_3_to_ucs): Deleted.
150 (ucs_to_latin_iso8859_3): Deleted.
151 (latin_iso8859_4_to_ucs): Deleted.
152 (ucs_to_latin_iso8859_4): Deleted.
153 (latin_iso8859_9_to_ucs): Deleted.
154 (ucs_to_latin_iso8859_9): Deleted.
155 (latin_viscii_lower_to_ucs): Deleted.
156 (ucs_to_latin_viscii_lower): Deleted.
157 (latin_viscii_upper_to_ucs): Deleted.
158 (ucs_to_latin_viscii_upper): Deleted.
159 (struct Lisp_Charset): Renamed `encoding_table' to
160 `to_byte1_table'; add `to_byte2_table'.
161 (CHARSET_DECODING_TABLE): New macro.
162 (CHARSET_TO_BYTE1_TABLE): New macro.
163 (CHARSET_TO_BYTE2_TABLE): New macro.
164 (XCHARSET_DECODING_TABLE): New macro.
165 (XCHARSET_TO_BYTE1_TABLE): New macro.
166 (XCHARSET_TO_BYTE2_TABLE): New macro.
167 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
169 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
170 don't use `ucs_to_*' tables.
172 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
174 * text-coding.c (Fmake_coding_system): Don't set up
175 `codesys->fixed.size'.
176 (encode_coding_no_conversion): Use `if' instead of `switch'.
178 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
180 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
182 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
183 (Fmake_charset): Modify for `make_charset'.
184 (Fmake_reverse_direction_charset): Likewise.
185 (complex_vars_of_mule_charset): Likewise.
187 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
189 * text-coding.c (char_encode_shift_jis): Use table
190 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
192 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
194 * text-coding.c (text_encode_generic): Use `if' instead of
196 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
199 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
201 * text-coding.c (encode_coding_sjis): Deleted.
202 (char_encode_shift_jis): New function.
203 (char_finish_shift_jis): New function.
204 (reset_encoding_stream): Set up `encode_char' and `finish' for
205 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
206 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
207 (char_encode_utf8): Treat `eol_type'.
209 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
211 * file-coding.c (decode_coding_iso2022): Use
212 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
214 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
216 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
219 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
221 * char-lb.h (CHAR_COLUMNS): New macro.
223 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
225 * text-coding.c (char_encode_ucs4): New function.
226 (char_finish_ucs4): New function.
227 (encode_coding_ucs4): Deleted.
228 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
229 (text_encode_generic): Delete local variable `charset' and `half'.
230 (ucs_to_mule_table): Deleted.
231 (mule_to_ucs_table): Deleted.
232 (Fset_ucs_char): Deleted.
233 (ucs_to_char): Deleted.
234 (Fucs_char): Deleted.
235 (Fset_char_ucs): Deleted.
236 (Fchar_ucs): Deleted.
237 (decode_ucs4): Deleted.
238 (mule_char_to_ucs4): Deleted.
239 (encode_ucs4): Deleted.
240 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
241 (decode_coding_utf8): Likewise.
242 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
243 (char_encode_iso2022): Fixed.
244 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
245 `Fset_char_ucs' and `Fchar_ucs'.
246 (complex_vars_of_file_coding): Don't initialize
249 * objects-tty.c (tty_initialize_font_instance): Don't use
252 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
255 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
256 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
258 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
259 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
260 (emchar_string_displayed_columns): Likewise.
262 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
263 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
264 (string_column_at_point): Likewise.
265 (Fmove_to_column): Likewise.
267 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
268 `encoding_table' and `decoding_table'.
269 (CHARSET_REP_BYTES): Deleted.
270 (XCHARSET_REP_BYTES): Deleted.
271 (XCHARSET_COLUMNS): Deleted.
272 (CHAR_COLUMNS): New macro.
273 (lookup_composite_char): Deleted unconditionally.
274 (composite_char_string): Likewise.
276 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
278 * char-ucs.h (Emchar_to_byte_table): New type.
279 (get_byte_from_character_table): New function interface.
280 (Vcharset_latin_jisx0201): New variable.
281 (latin_jisx0201_to_ucs): New variable.
282 (ucs_to_latin_jisx0201): New variable.
283 (Vcharset_latin_iso8859_2): New variable.
284 (latin_iso8859_2_to_ucs): New variable.
285 (ucs_to_latin_iso8859_2): New variable.
286 (Vcharset_latin_iso8859_3): New variable.
287 (latin_iso8859_3_to_ucs): New variable.
288 (ucs_to_latin_iso8859_3): New variable.
289 (Vcharset_latin_iso8859_4): New variable.
290 (latin_iso8859_4_to_ucs): New variable.
291 (ucs_to_latin_iso8859_4): New variable.
292 (Vcharset_latin_iso8859_9): New variable.
293 (latin_iso8859_9_to_ucs): New variable.
294 (ucs_to_latin_iso8859_9): New variable.
295 (Vcharset_latin_viscii_lower): New variable.
296 (latin_viscii_lower_to_ucs): New variable.
297 (ucs_to_latin_viscii_lower): New variable.
298 (Vcharset_latin_viscii_upper): New variable.
299 (latin_viscii_upper_to_ucs): New variable.
300 (ucs_to_latin_viscii_upper): New variable.
301 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
302 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
303 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
304 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
305 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
306 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
307 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
308 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
309 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
310 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
312 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
313 (Vcharset_latin_viscii_upper): New variable.
314 (make_byte_from_character_table): New function.
315 (put_byte_from_character_table): New function.
316 (get_byte_from_character_table): New function.
318 (ucs_to_latin_jisx0201): New variable.
319 (latin_jisx0201_to_ucs): New variable.
320 (ucs_to_latin_iso8859_2): New variable.
321 (latin_iso8859_2_to_ucs): New variable.
322 (ucs_to_latin_iso8859_3): New variable.
323 (latin_iso8859_3_to_ucs): New variable.
324 (ucs_to_latin_iso8859_4): New variable.
325 (latin_iso8859_4_to_ucs): New variable.
326 (ucs_to_latin_iso8859_9): New variable.
327 (latin_iso8859_9_to_ucs): New variable.
328 (ucs_to_latin_viscii_lower): New variable.
329 (latin_viscii_lower_to_ucs): New variable.
330 (ucs_to_latin_viscii_upper): New variable.
331 (latin_viscii_upper_to_ucs): New variable.
332 (ucs_to_latin_tcvn5712): New variable.
333 (latin_tcvn5712_to_ucs): New variable.
334 (Qlatin_viscii_lower): New variable.
335 (Qlatin_viscii_upper): New variable.
336 (syms_of_mule_charset): Set up new symbol
337 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
338 (complex_vars_of_mule_charset): Set up new charset
339 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
340 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
341 `ucs_to_<CHARSET>' tables.
343 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
345 * text-coding.c: New file.
347 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
349 * mule-charset.c (Fmake_char): Fix problem of 256-set.
351 * char-ucs.h (Vcharset_ucs_bmp): New variable.
352 (MAKE_CHAR): Modify for `ucs-bmp'.
353 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
354 non-MULE characters of BMP.
356 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
358 * mule-charset.c (vars_of_mule_charset):
359 Update `utf-2000-version' to 0.6.
361 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
364 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
365 - Include character.h for `CHAR_ASCII_P'.
367 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
369 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
370 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
372 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
373 (BYTE_C0_P): Likewise.
374 (BYTE_C1_P): Likewise.
375 (Lstream_get_emchar_1): Likewise.
376 (Lstream_fput_emchar): Likewise.
377 (Lstream_funget_emchar): Likewise.
378 (copy_internal_to_external): Likewise.
379 (copy_external_to_internal): Likewise.
381 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
382 (BYTE_C0_P): Likewise.
383 (BYTE_C1_P): Likewise.
384 (Lstream_get_emchar_1): Likewise.
385 (Lstream_fput_emchar): Likewise.
386 (Lstream_funget_emchar): Likewise.
387 (copy_internal_to_external): Likewise.
388 (copy_external_to_internal): Likewise.
390 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
391 (REP_BYTES_BY_FIRST_BYTE): Likewise.
393 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
394 (BYTE_ASCII_P): Moved to mb-1byte.h.
396 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
398 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
400 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
401 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
402 (VALID_CHARPTR_P): Moved to mb-*byte.h.
403 (VALIDATE_CHARPTR_BACKWARD): Likewise.
404 (VALIDATE_CHARPTR_FORWARD): Likewise.
405 (simple_charptr_emchar): Moved to mb-multibyte.h.
406 (simple_set_charptr_emchar): Likewise.
407 (simple_charptr_copy_char): Likewise.
408 (non_ascii_charptr_emchar): Likewise.
409 (non_ascii_set_charptr_emchar): Likewise.
410 (non_ascii_charptr_copy_char): Likewise.
411 (charptr_emchar): Moved to mb-*byte.h.
412 (set_charptr_emchar): Likewise.
413 (charptr_copy_char): Likewise.
415 * mb-1byte.h, mb-multibyte.h: New files.
417 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
419 * mb-utf-8.h (MULTIBYTE): New macro.
420 (MAX_EMCHAR_LEN): Moved from buffer.h.
421 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
423 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
425 * mb-lb.h, multibyte.h: New files.
427 * char-1byte.h (Charset_ID): Moved from buffer.h.
428 (MIN_LEADING_BYTE): Likewise.
429 (LEADING_BYTE_ASCII): Likewise.
430 (NUM_LEADING_BYTES): Likewise.
431 (CHARSETP): Likewise.
432 (CHARSET_BY_LEADING_BYTE): Likewise.
433 (XCHARSET_LEADING_BYTE): Likewise.
434 (XCHARSET_GRAPHIC): Likewise.
435 (XCHARSET_COLUMNS): Likewise.
436 (XCHARSET_DIMENSION): Likewise.
437 (CHAR_CHARSET): Likewise.
438 (CHAR_LEADING_BYTE): Likewise.
439 (BREAKUP_CHAR): Likewise.
440 (Vcharset_ascii): Likewise.
442 * buffer.h: Include multibyte.h unconditionally.
443 (VALID_CHARPTR_P): Moved to multibyte.h.
444 (ASSERT_VALID_CHARPTR): Likewise.
445 (REAL_INC_CHARPTR): Likewise.
446 (REAL_INC_CHARBYTIND): Likewise.
447 (REAL_DEC_CHARPTR): Likewise.
448 (INC_CHARPTR): Likewise.
449 (INC_CHARBYTIND): Likewise.
450 (DEC_CHARPTR): Likewise.
451 (VALIDATE_CHARPTR_BACKWARD): Likewise.
452 (VALIDATE_CHARPTR_FORWARD): Likewise.
453 (charptr_n_addr): Likewise.
454 (MAX_EMCHAR_LEN): Moved to mb-*.h.
455 (simple_charptr_emchar): Moved to multibyte.h.
456 (simple_set_charptr_emchar): Likewise.
457 (simple_charptr_copy_char): Likewise.
458 (non_ascii_charptr_emchar): Likewise.
459 (non_ascii_set_charptr_emchar): Likewise.
460 (non_ascii_charptr_copy_char): Likewise.
461 (charptr_emchar): Likewise.
462 (set_charptr_emchar): Likewise.
463 (charptr_copy_char): Likewise.
464 (charptr_emchar_n): Likewise.
465 (Charset_ID): Moved to char-1byte.h.
466 (Vcharset_ascii): Likewise.
467 (CHAR_CHARSET): Likewise.
468 (CHAR_LEADING_BYTE): Likewise.
469 (LEADING_BYTE_ASCII): Likewise.
470 (NUM_LEADING_BYTES): Likewise.
471 (MIN_LEADING_BYTE): Likewise.
472 (CHARSETP): Likewise.
473 (CHARSET_BY_LEADING_BYTE): Likewise.
474 (XCHARSET_LEADING_BYTE): Likewise.
475 (XCHARSET_GRAPHIC): Likewise.
476 (XCHARSET_COLUMNS): Likewise.
477 (XCHARSET_DIMENSION): Likewise.
478 (BREAKUP_CHAR): Likewise.
480 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
482 * character.h: Add document about interface for characters.
484 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
485 (MAKE_CHAR): Delete comment about
486 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
487 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
488 (BREAKUP_CHAR): Modify name of arguments.
489 (CHAR_CHARSET): Modify name of argument.
491 * buffer.h: Delete document about Emchar accessors.
493 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
495 * character.h (CHAR_INTP): Moved from buffer.h
496 (CHAR_OR_CHAR_INTP): Likewise.
497 (XCHAR_OR_CHAR_INT): Likewise.
498 (CHECK_CHAR_COERCE_INT): Likewise.
500 * buffer.h (CHAR_INTP): Moved to character.h
501 (CHAR_OR_CHAR_INTP): Likewise.
502 (XCHAR_OR_CHAR_INT): Likewise.
503 (CHECK_CHAR_COERCE_INT): Likewise.
505 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
508 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
509 - Include char-1byte.h, char-lb.h or char-ucs.h.
511 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
513 * buffer.h: Include character unconditionally.
514 (valid_char_p): Moved to char-*.h.
515 (non_ascii_valid_char_p): Moved to char-lb.h.
517 * char-1byte.h, char-lb.h, char-ucs.h: New files.
519 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
521 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
522 in UTF-2000 because it is not ported yet and not to use
523 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
524 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
525 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
527 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
528 (CHAR_ASCII_P): Moved from character.h.
530 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
531 (CHAR_ASCII_P): Likewise.
532 (CHAR_FIELD1_MASK): Deleted.
533 (CHAR_FIELD2_MASK): Deleted.
534 (CHAR_FIELD3_MASK): Deleted.
535 (MAX_CHAR_BASIC_LATIN): New macro.
536 (CHAR_FIELD1): Deleted.
537 (CHAR_FIELD2_INTERNAL): Deleted.
538 (CHAR_FIELD3_INTERNAL): Deleted.
539 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
540 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
541 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
542 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
543 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
544 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
545 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
546 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
547 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
548 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
549 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
550 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
551 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
552 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
553 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
554 (MIN_CHAR_COMPOSITION): Deleted.
555 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
556 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
558 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
560 * buffer.h: Include mb-utf-8.h in UTF-2000.
562 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
564 * mb-utf-8.h: New file.
566 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
568 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
571 * mule-charset.h, buffer.h (Charset_ID): New type.
573 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
575 * mule-canna.c (c2mu): Use `MAKE_CHAR',
576 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
577 instead of `MULE_CHAR_PRIVATE_OFFSET',
578 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
579 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
580 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
582 * character.h (Vcharset_japanese_jisx0212): New variable
585 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
587 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
588 (charset_by_attributes): Delete array about direction.
589 (latin_a_char_to_charset): New variable in UTF-2000.
590 (latin_a_char_to_byte1): New variable in UTF-2000.
591 (latin_a_char_to_byte2): New variable in UTF-2000.
592 (Qucs_bmp): New variable.
593 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
595 (next_allocated_2_byte_leading_byte): Likewise.
596 (non_ascii_set_charptr_emchar): Likewise.
597 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
598 `CHARSET_TYPE_256X256' in UTF-2000; modify for
599 `charset_by_attributes'.
600 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
601 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
602 and `CHARSET_BY_LEADING_BYTE'.
603 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
604 `utf-2000-version' to `vars_of_mule_charset'.
605 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
606 define `leading-code-private-11' in UTF-2000; move setting of
607 `utf-2000-version' from `syms_of_mule_charset'.
608 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
611 * character.h (Charset_ID): New type.
612 (LEADING_BYTE_UCS_BMP): New macro.
613 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
614 (CHARSET_ID_OFFSET_94): New macro.
615 (MIN_CHARSET_ID_PRIVATE_94): New macro.
616 (MAX_CHARSET_ID_PRIVATE_94): New macro.
617 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
619 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
620 (LEADING_BYTE_LATIN_JISX0201): Likewise.
621 (CHARSET_ID_OFFSET_96): New macro.
622 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
623 CHARSET_ID_OFFSET_96 and final-byte.
624 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
625 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
626 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
627 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
628 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
629 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
630 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
631 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
632 (LEADING_BYTE_THAI_TIS620): Likewise.
633 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
634 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
635 (CHARSET_ID_OFFSET_94x94): New macro.
636 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
637 CHARSET_ID_OFFSET_94x94 and final-byte.
638 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
639 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
640 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
641 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
642 (LEADING_BYTE_CHINESE_GB2312): Likewise.
643 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
644 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
645 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
646 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
647 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
648 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
649 (CHARSET_TYPE_128X128): New macro.
650 (CHARSET_TYPE_256X256): New macro.
651 (XCHARSET_PRIVATE_P): Delete unconditionally.
652 (charset_by_attributes): Delete array about direction.
653 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
654 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
655 (MIN_CHAR_94): New macro.
656 (MAX_CHAR_94): New macro.
657 (MIN_CHAR_96): New macro.
658 (MAX_CHAR_96): New macro.
659 (MIN_CHAR_94x94): New macro.
660 (MAX_CHAR_94x94): New macro.
661 (MIN_CHAR_96x96): New macro.
662 (MAX_CHAR_96x96): New macro.
663 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
664 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
665 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
667 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
668 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
669 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
670 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
671 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
672 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
673 `XCHARSET_LEADING_BYTE' to make code-point.
674 (latin_a_char_to_charset): New variable.
675 (latin_a_char_to_byte1): New variable.
676 (latin_a_char_to_byte2): New variable.
677 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
678 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
679 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
681 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
682 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
683 (find_charsets_in_emchar_string): Likewise.
684 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
686 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
688 (decode_coding_iso2022): Likewise.
690 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
693 * redisplay.c (redisplay_text_width_emchar_string): Use
694 `Charset_ID' instead of `unsigned char'.
695 (redisplay_frame_text_width_string): Likewise.
697 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
700 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
701 instead of `unsigned char'.
702 (face_cachel_charset_font_metric_info): Likewise.
704 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
705 (get_non_ascii_char_table_value): Likewise.
706 (get_char_table): Likewise.
707 (put_char_table): Likewise.
708 (map_over_other_charset): Likewise.
709 (map_char_table): Likewise.
711 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
712 instead of `unsigned char'.
714 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
716 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
717 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
719 * mule-charset.c (leading_code_private_11): Don't define in
722 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
723 in UTF-2000 because it is not ported yet and not to use
724 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
726 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
728 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
730 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
732 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
735 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
736 of unsigned char to store leading-byte.
738 * chartab.c (get_non_ascii_char_table_value): Don't use
739 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
741 * file-coding.c (encode_coding_big5): Delete bogus implementation
744 * character.h (LEADING_BYTE_*): Delete definition for
746 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
747 (LEADING_BYTE_PREFIX_P): Deleted.
748 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
749 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
750 (BUFBYTE_LEADING_BYTE_P): Deleted.
751 (CHARSET_PRIVATE_P): Deleted unconditionally.
752 (rep_bytes_by_first_byte): Deleted unconditionally.
753 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
754 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
755 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
756 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
757 (CHAR_FIELD2): Deleted.
758 (CHAR_FIELD3): Deleted.
759 (MAKE_CHAR): Delete definition for non-UTF-2000.
760 (BREAKUP_CHAR_1_UNSAFE): Deleted.
761 (breakup_char_1): New implementation.
762 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
763 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
765 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
767 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
770 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
772 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
773 (CHARSET_PRIVATE_P): Likewise.
774 (XCHARSET_PRIVATE_P): Likewise.
775 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
777 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
779 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
781 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
783 * character.h (LEADING_BYTE_*): Changed in UTF2000.
784 (NUM_LEADING_BYTES): Changed from 128 to 256.
785 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
786 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
788 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
790 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
792 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
793 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
794 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
795 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
796 (Qchinese_cns11643_3): New variable in UTF2000.
797 (Qchinese_cns11643_4): New variable in UTF2000.
798 (Qchinese_cns11643_5): New variable in UTF2000.
799 (Qchinese_cns11643_6): New variable in UTF2000.
800 (Qchinese_cns11643_7): New variable in UTF2000.
801 (syms_of_mule_charset): Define `chinese-cns11643-3',
802 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
803 and `chinese-cns11643-7' in UTF2000.
804 (vars_of_mule_charset): Initialize
805 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
807 (complex_vars_of_mule_charset): Setup charset
808 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
809 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
811 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
813 * mule-charset.c: Move setting for `leading-code-private-11' from
814 `syms_of_mule_charset' to `vars_of_mule_charset'.
816 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
818 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
819 and `NUM_LEADING_BYTES' in assert.
821 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
823 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
825 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
826 `NUM_LEADING_BYTES' instead of 128.
828 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
830 * mule-charset.h (charset_by_leading_byte): Use
831 `NUM_LEADING_BYTES' instead of 128.
832 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
834 * mule-charset.c (charset_by_leading_byte): Use
835 `NUM_LEADING_BYTES' instead of 128.
836 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
838 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
841 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
843 * mule-charset.c (syms_of_mule_charset): Update to
846 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
848 * file-coding.c (encode_coding_sjis): New implementation for
849 UTF2000. (decode_coding_sjis): Ditto.
851 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
853 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
854 Don't define in UTF2000.
856 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
859 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
860 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
863 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
865 * config.h.in (CHAR_IS_UCS4): New macro.
867 * mule-charset.c (rep_bytes_by_first_byte): Modify for
868 conventional MULE representation.
869 (syms_of_mule_charset): Update to 0.3 (Imamiya).
871 * mule-charset.h: Reverted to original.
873 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
874 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
875 "mule-charset.h" if CHAR_IS_UCS4 is defined.
877 * character.h: New file.
879 * file-coding.c (Fmake_coding_system): Set 1 to
880 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
882 (encode_coding_no_conversion): New implementation for UTF2000.
884 * file-coding.h (struct Lisp_Coding_System): Add new member
887 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
889 * file-coding.c (decode_coding_iso2022): Code-point arguments of
890 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
891 (encode_coding_iso2022): New implementation for UTF2000.
893 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
895 * mule-canna.c (c2mu): New implementation for UTF2000.
898 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
900 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
902 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
904 * file-coding.c (reset_encoding_stream): Set 0 to
905 `str->iso2022.current_char_boundary' in UTF2000.
906 (encode_utf8): Don't define in UTF2000.
907 (encode_coding_utf8): New implementation for UTF-8 representation
909 (complex_vars_of_file_coding): Define coding-system `utf-8'.
911 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
913 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
915 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
917 (REP_BYTES_BY_FIRST_BYTE): Likewise.
919 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
921 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
922 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
924 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
925 (non_ascii_valid_char_p): Don't define in UTF2000.
926 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
927 (Lstream_get_emchar_1): Likewise.
928 (utf-2000-version): New variable in UTF2000.
930 * lread.c (read_escape): Add new reader `u'.
932 * insdel.c (three_to_one_table): Don't define in UTF2000.
933 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
934 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
936 (bytind_to_bufpos_func): Likewise.
937 (buffer_mule_signal_inserted_region): Likewise.
938 (vars_of_insdel): Don't initialize `three_to_one_table'.
939 (init_buffer_text): Use `buf->text->mule_size' instead of
940 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
943 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
944 UTF-8 representation in UTF2000.
945 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
946 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
947 (decode_coding_iso2022): Don't define local variable `lb' in
948 UTF2000; don't use LEADING_BYTE in UTF2000; use
949 `DECODE_ADD_UCS_CHAR' in UTF2000.
950 (convert_to_external_format): Decode as UTF-8 in UTF2000.
952 * config.h.in (UTF2000): New macro.
954 * buffer.h (struct buffer_text): Add new member `mule_size' and
955 don't add `mule_shifter' and `mule_three_p' in UTF2000.
956 (valid_char_p): Return always 1 in UTF2000.
957 (MAX_EMCHAR_LEN): 6 in UTF2000.
958 (three_to_one_table): Don't define in UTF2000.
959 (real_bufpos_to_bytind): Modify for UTF-8 representation in
961 (real_bytind_to_bufpos): Likewise.
963 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
965 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
967 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
968 representation change.
969 (Vutf_2000_version): New variable.
970 (leading_code_private_11): New variable.
971 (syms_of_mule_charset): Add new variables `utf-2000-version' and
972 `leading-code-private-11'.
974 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
975 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
976 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
977 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
978 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
979 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
980 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
981 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
982 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
983 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
984 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
985 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
986 (MIN_CHAR_GREEK): New macro.
987 (MAX_CHAR_GREEK): New macro.
988 (MIN_CHAR_CYRILLIC): New macro.
989 (MAX_CHAR_CYRILLIC): New macro.
990 (MIN_CHAR_HEBREW): New macro.
991 (MAX_CHAR_HEBREW): New macro.
992 (MIN_CHAR_THAI): New macro.
993 (MAX_CHAR_THAI): New macro.
994 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
995 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
996 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
997 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
998 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
999 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1000 (CHAR_FIELD2): New inline function.
1001 (CHAR_FIELD3): New inline function.
1002 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1003 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1004 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1005 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1006 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1007 (MIN_CHAR_COMPOSITION): Likewise.
1008 (CHAR_LEADING_BYTE): Modified for character representation change.
1009 (MAKE_CHAR): Likewise.
1011 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1012 (Vcharset_greek_iso8859_7): Likewise.
1013 (Vcharset_cyrillic_iso8859_5): Likewise.
1014 (Vcharset_hebrew_iso8859_8): Likewise.
1015 (Vcharset_thai_tis620): Likewise.
1016 (Vcharset_katakana_jisx0201): Likewise.
1018 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1020 * file-coding.c (determine_real_coding_system): Treat `coding:'
1023 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1025 * file-coding.c (struct decoding_stream): New member `counter'.
1026 (reset_decoding_stream): Initialize `counter'.
1027 (decode_coding_ucs4): Use `counter'.
1028 (decode_coding_utf8): Likewise.
1030 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1032 * XEmacs 21.2.19 is released
1034 1999-07-27 Jeff Miller <jmiller@smart.net>
1036 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1037 menubar_show_keybindings.
1039 1999-07-23 SL Baur <steve@miho>
1041 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1042 definition of Qccl_program.
1044 * mule-ccl.h: Make a global declaration of it here.
1046 1999-07-20 Bob Weiner <weiner@beopen.com>
1048 * s/sco7.h: Added from rr@sco.com.
1050 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1052 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1054 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1056 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1057 (mule_encode): Likewise.
1059 * mule-ccl.c (Qccl_program): New variable.
1060 (CCL_SUSPEND): New macro.
1061 (CCL_INVALID_CMD): New macro.
1062 (CCL_READ_CHAR): Don't regard as invalid command while processing
1063 the last block even if input is empty; use
1064 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1065 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1067 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1068 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1069 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1070 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1071 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1073 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1075 * mule-ccl.h (struct ccl_program): New member stack_idx.
1077 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1078 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1080 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1082 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1084 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1087 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1089 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1090 processing the last block, don't just finish but processes eol
1091 block of the current CCL program.
1092 (ccl_driver): Add a new jump label ccl_repeat for the above
1095 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1097 * mule-ccl.c: Typo in comments fixed.
1098 (Qccl_program_idx): New variables.
1099 (CCL_ReadMultibyteChar2): Macro name changed from
1100 CCL_ReadMultibyteCharacter.
1101 (CCL_WriteMultibyteChar2): Macro name changed from
1102 CCL_WriteMultibyteChar2.
1103 (ccl_driver): Adjusted for the above changes.
1104 (resolve_symbol_ccl_program): New function.
1105 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1106 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1107 numbers by resolve_symbol_ccl_program.
1108 (Fccl_execute_on_string): Likewise.
1109 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1110 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1112 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1114 * mule-ccl.h: (struct ccl_program): New member private_state.
1117 (CCL_Call): Fix the comment.
1118 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1119 macros for CCL Commands.
1121 (ccl_driver): New case lable `CCL_Extention'.
1122 (setup_ccl_program): Initialize the member `private_state' of CCL.
1124 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1126 * keymap.c (copy_keymap_internal): Inherit the default binding.
1128 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1130 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1131 focus the event (XIM_focus_event).
1132 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1133 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1134 the interface for future use (XIM_SetGeometry).
1135 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1136 location (XIM_SetSpotLocation).
1137 (x_output_eol_cursor): Ditto.
1139 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1141 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1142 Olivier's change to lrecord.h of 1999-04-22
1144 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1146 * gutter.c (redraw_exposed_gutter): Change type of pos from
1147 enum toolbar_pos -> enum gutter_pos, since former is only defined
1148 if toolbar support is.
1150 1999-07-19 Andy Piper <andy@xemacs.org>
1152 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1155 * gutter.c (gutter_validate): new function for the gutter specifier.
1156 (specifier_type_create_gutter): declare specifier validator.
1158 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1160 1999-07-18 Andy Piper <andy@xemacs.org>
1162 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1164 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1166 (mswindows_resize_subwindow): new function.
1168 * gutter.c (redraw_exposed_gutter): only reset the
1169 current_display_lines if non-zero.
1170 (Fgutter_pixel_height): new function.
1171 (Fgutter_pixel_width): new function.
1173 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1174 we want to retrive from the tab control.
1176 1999-07-17 Andy Piper <andy@xemacs.org>
1178 * window.c (change_window_height): mark gutters changed when we're
1181 * gutter.c (specifier_vars_of_gutter): make defaults more
1184 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1186 (DEFAULT_GUTTER_WIDTH): change.
1187 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1189 1999-07-18 Andy Piper <andy@xemacs.org>
1191 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1193 1999-07-16 Andy Piper <andy@xemacs.org>
1195 * frame.c (Fmake_frame): call init_frame_gutters().
1197 * redisplay.c (add_emchar_rune): use string functions if we are
1198 working with a string.
1199 (position_redisplay_data_type): add string element.
1201 1999-07-15 Andy Piper <andy@xemacs.org>
1203 * winslots.h: add real_gutter_size slots to hold the actual gutter
1204 size. This is important for autodetected sizes.
1206 * gutter.c (calculate_gutter_size): calculate size for gutters
1207 that have 'autodetect size.
1209 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1210 extent of divider for gutters.
1212 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1213 divider for gutters.
1215 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1216 position to take into account the gutters.
1218 * redisplay.c (generate_modeline): adjust modeline position to
1219 take into account the gutters.
1221 1999-07-14 Andy Piper <andy@xemacs.org>
1223 * gutter.c (frame_topmost_window): new function.
1224 (frame_bottommost_window): ditto.
1225 (frame_leftmost_window): ditto.
1226 (frame_rightmost_window): ditto.
1228 1999-07-13 Andy Piper <andy@xemacs.org>
1230 * redisplay.c (calculate_display_line_boundaries): use text
1231 boundaries so that gutters get handled properly.
1233 1999-07-12 Andy Piper <andy@xemacs.org>
1235 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1238 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1241 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1244 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1246 * gutter.c: new file - implements gutters. All new functions are
1247 semantically equivalent to the toolbar functions.
1248 (gutter_was_visible): new function.
1249 (get_gutter_coords): ditto.
1250 (output_gutter): ditto.
1251 (clear_gutter): ditto.
1252 (update_frame_gutters): ditto.
1253 (redraw_exposed_gutter): ditto.
1254 (redraw_exposed_gutters): ditto.
1255 (free_frame_gutters): ditto.
1256 (init_frame_gutters): ditto.
1257 (decode_gutter_position): ditto.
1258 (Fset_default_gutter_position): ditto.
1259 (Fset_default_gutter_position): ditto.
1260 (Fdefault_gutter_position): ditto.
1261 (gutter_after_change): ditto.
1262 (Fgutter_specifier_p): ditto.
1263 (recompute_overlaying_specifier): ditto.
1264 (gutter_specs_changed): ditto.
1265 (default_gutter_specs_changed): ditto.
1266 (gutter_geometry_changed_in_window): ditto.
1267 (default_gutter_size_changed_in_window): ditto.
1268 (default_gutter_border_width_changed_in_window): ditto.
1269 (default_gutter_visible_p_changed_in_window): ditto.
1270 (syms_of_gutter): ditto.
1271 (vars_of_gutter): ditto.
1272 (specifier_type_create_gutter): ditto.
1273 (specifier_vars_of_gutter): ditto.
1275 * gutter.h: new file. Contains gutter constants and sizing macros
1276 similar to those for the toolbar.
1278 * winslots.h: add gutter variables.
1280 * window.h: declare window_is_* functions.
1282 * window.c (window_is_lowest): make non-static.
1283 (window_is_highest): ditto.
1284 (window_top_toolbar_height): deleted.
1285 (window_bottom_toolbar_height): deleted.
1286 (window_left_toolbar_width): deleted.
1287 (window_right_toolbar_width): deleted.
1288 (window_top_gutter_height): add gutter sizing.
1289 (window_bottom_gutter_height): ditto.
1290 (window_left_gutter_width): ditto.
1291 (window_right_gutter_width): ditto.
1293 * symsinit.h: declarations for gutters vars etc.
1295 * search.c (bi_find_next_emchar_in_string): new function.
1297 * scrollbar.c (update_scrollbar_instance): remove reference to
1298 window_bottom_toolbar_height which did nothing.
1300 * redisplay.h (struct display_line): add face indices for
1301 overriding defaults in output_display_line.
1302 Add gutter_changed flags and declarations.
1304 * redisplay.c (create_string_text_block): new function, similar to
1305 create_text_block but for strings. Display tables etc are used
1306 from the currently selected window.
1307 (generate_string_display_line): ditto. Similar to
1308 generate_display_line.
1309 (generate_displayable_area): generate display lines for a given
1310 area on a frame. Input is the string, with associated extents, to
1312 (redisplay_frame): add gutter_changed check.
1313 (redisplay_device): ditto.
1314 (redisplay_without_hooks): ditto.
1316 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1317 (x_redraw_exposed_area): redraw exposed gutters.
1318 (x_bevel_area): new redisplay device method.
1319 (x_type_create_redisplay_mswindows): add bevel_area device method.
1320 (x_output_display_block): fiddly Martin-style cleanup.
1321 (x_output_vertical_divider): use bevel_area.
1323 * redisplay-output.c (output_display_line): check display_lines
1324 for face information before using defaults.
1325 (bevel_modeline): new function, calls bevel_area with appropriate
1328 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1329 (mswindows_redraw_exposed_area): redraw exposed gutters.
1330 (mswindows_bevel_area): new redisplay device method.
1331 (console_type_create_redisplay_mswindows): add bevel_area device
1334 * indent.c (string_column_at_point): add column_at_point but for
1337 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1338 instantiate widgets that we have a toolkit for.
1340 * general.c: add Qgutter.
1342 * frame.h (struct frame): add display lines for gutters and
1345 * frame.c (set_frame_selected_window): mark gutters changed.
1347 * emacs.c (main_1): add gutter initialisation.
1349 * device.h (struct device): add gutter_changed flag and macros to
1352 * console.h (struct console_methods): new bevel area redisplay
1355 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1356 REAL_INC_BYTIND is for buffers.
1357 (INC_CHARPTR): ditto.
1359 * Makefile.in.in (objs): add gutter.o
1361 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1363 * XEmacs 21.2.18 is released
1365 1999-07-08 SL Baur <steve@mule.m17n.org>
1367 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1369 (emacs_Xt_handle_magic_event): Ditto.
1370 * redisplay-x.c (x_output_string): Ditto.
1371 (x_output_eol_cursor): Ditto.
1373 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1375 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1376 problem that when XIM is destroyed or missed with some reason,
1377 xemacs will die. Now xim=xlib waits the XIM will be ready and
1378 endures the case of XIM end up.
1380 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1382 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1383 SIGINT and SIGCHLD before calling tt_open and restore the
1384 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1386 1999-07-06 SL Baur <steve@xemacs.org>
1388 * s/linux.h: gcc-2.8 changes for powerpc
1389 From Justin Vallon <vallon@mindspring.com>
1391 1999-07-05 Didier Verna <verna@inf.enst.fr>
1393 * indent.c: new symbol Qcoerce.
1394 (Fmove_to_column): use it + doc string update.
1396 1999-07-04 Andy Piper <andy@xemacs.org>
1398 * console.c: undo earlier Fprovide changes.
1402 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1403 function. validate appropriate image formats for tty.
1405 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1406 initialize consoles parameter.
1407 (struct image_instantiator_methods): add consoles parameter.
1408 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1410 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1413 * glyphs-msw.c: declare instantiators for later use.
1414 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1415 and friends on the mswindows console.
1416 * glyphs-x.c: ditto.
1418 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1419 that have not been registered on the supplied device.
1420 (Fvalid_image_instantiator_format_p): add locale argument.
1421 (instantiate_image_instantiator): valid image instantiator on the
1424 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1427 * emacs.c (main_1): add call to
1428 image_instantiator_format_create_glyphs_tty().
1430 1999-06-29 Olivier Galibert <galibert@pobox.com>
1432 * lisp.h: Add #include <stddef.h>.
1434 * sysdep.c: Remove #include <stddef.h>.
1435 * symbols.c: Remove #include <stddef.h>.
1436 * sheap.c: Remove #include <stddef.h>.
1437 * opaque.c: Remove #include <stddef.h>.
1438 * nt.c: Remove #include <stddef.h>.
1439 * mule-charset.c: Remove #include <stddef.h>.
1440 * marker.c: Remove #include <stddef.h>.
1441 * file-coding.c: Remove #include <stddef.h>.
1442 * extents.c: Remove #include <stddef.h>.
1443 * elhash.c: Remove #include <stddef.h>.
1444 * data.c: Remove #include <stddef.h>.
1445 * chartab.c: Remove #include <stddef.h>.
1446 * bytecode.c: Remove #include <stddef.h>.
1447 * alloc.c: Remove #include <stddef.h>. Fix vector description
1449 1999-06-30 SL Baur <steve@miho.m17n.org>
1451 * editfns.c: Document "%s" format spec.
1452 Suggested by Bob Weiner <weiner@altrasoft.com>
1454 1999-06-29 Andy Piper <andy@xemacs.org>
1456 * event-msw.c: fix definition booboo.
1458 1999-06-28 Andy Piper <andy@xemacs.org>
1460 * glyphs-x.c: change tree -> tree-view, progress ->
1461 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1463 (complex_vars_of_glyphs_x): provide-on-console the implemented
1466 * glyphs-msw.c: ditto.
1467 (complex_vars_of_glyphs_mswindows): ditto.
1469 * lisp.h: add Fprovide_on_console.
1471 * fns.c (Ffeaturep): add extra optional console argument.
1472 (Fprovide_on_console): like Fprovide but provides only on the
1473 specified console-type.
1474 (Frequire): check console-features as well as global features.
1476 * console.c (Fconsole_features): new function. return features for
1478 (syms_of_console): add Fconsole_features.
1480 * console.h (CONMETH_FEATURES): new function for accessing features.
1481 (CONSOLE_FEATURES): ditto.
1482 (struct console_methods): add features slot.
1483 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1485 1999-06-28 Andy Piper <andy@xemacs.org>
1487 * event-Xt.c (handle_focus_event_1): conditionally compile for
1490 * s/cygwin32.h: fix me website address.
1492 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1494 * gui-x.c (button_item_to_widget_value): only add callback if it
1497 * glyphs-x.c: add progress, edit and combo instantiators.
1498 (x_widget_set_property): new function. uses lwlib to set widget
1500 (x_widget_property): new function. uses lwlib to get widget
1502 (x_button_instantiate): support images in buttons.
1503 (x_button_property): new function. use lwlib to get the selected
1505 (x_progress_instantiate): new function for instantiating progress
1507 (x_progress_set_property): new function. sets the progress gauge
1509 (x_edit_instantiate): new function. for instantiating edit fields.
1510 (x_combo_instantiate): new function. for instantiating combo
1512 (image_instantiator_format_create_glyphs_x): add new device ii
1515 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1517 * console.h (CONSOLE_FEATURES): new features accesor.
1519 * conslots.h (MARKED_SLOT): add features entry.
1521 1999-06-25 Andy Piper <andy@xemacs.org>
1523 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1526 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1528 * gui.h (struct Lisp_Gui_Item): add accelerator.
1530 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1531 (gui_item_init): ditto.
1532 (gui_add_item_keywords_to_plist): ditto.
1533 (mark_gui_item): ditto.
1534 (gui_item_hash): ditto.
1535 (gui_item_accelerator): new function.
1536 (gui_name_accelerator): new function stolen from gui-x.c
1538 * gui-x.c (popup_selection_callback): always define. mark
1539 subwindows changed after calling a callback.
1540 (menu_name_to_accelerator): deleted.
1541 (button_item_to_widget_value): forward gui_item things to gui_item
1544 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1545 appropriate accesors.
1547 * glyphs-x.c: declare new glyph formats.
1548 (x_finalize_image_instance): unmanage and destroy widgets if they
1550 (x_unmap_subwindow): handle widgets specially.
1551 (x_map_subwindow): ditto. offset display of widgets by offset of
1552 text widget within container.
1553 (x_update_subwindow): new function. call lw_modify_all_widgets
1554 when we are a widget.
1555 (x_widget_instantiate): new function for generically creating
1556 widgets-glyphs. toolkit specifics forwarded to lwlib.
1557 (x_button_instantiate): new function for instantiating
1558 widgets-glyph buttons.
1559 (console_type_create_glyphs_x): register update_subwindow.
1560 (image_instantiator_format_create_glyphs_x): register widget and
1563 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1565 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1566 when we get a button press in case we do not have the focus.
1567 (handle_focus_event_1): set the keyboard focus to the text widget
1568 if we do not have it.
1570 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1573 1999-06-24 SL Baur <steve@miho.m17n.org>
1575 * syntax.c (scan_words): Restore non-Mule code.
1576 (word_constituent_p): Restore.
1578 1999-06-23 Olivier Galibert <galibert@pobox.com>
1580 * config.h.in: Add missing #undef *_USER_DEFINED.
1582 1999-06-23 SL Baur <steve@miho.m17n.org>
1584 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1585 int (fixes a 64-bit problem).
1587 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1590 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1592 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1594 1999-06-22 Olivier Galibert <galibert@pobox.com>
1596 * lrecord.h: Added basic external description system.
1598 * symbols.c: Added symbol, symbol-value-buffer-local,
1599 symbol-value-lisp-magic and symbol-value-varalias description.
1600 * mule-charset.c: Added charset description.
1601 * marker.c: Added marker description.
1602 * keymap.c: Added keymap description.
1603 * glyphs.c: Added glyph description.
1604 * floatfns.c: Added float description.
1605 * file-coding.c: Added coding-system description.
1606 * extents.c: Added extent description.
1607 * elhash.c: Added hash-table description.
1608 * data.c: Added weak-list desciption.
1609 * chartab.c: Added char-table-entry and char-table description.
1610 * bytecode.c: Added compiled-function description.
1611 * alloc.c: Added cons, vector and string description.
1613 1999-06-22 Olivier Galibert <galibert@pobox.com>
1615 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1616 Updated everything to the removal of the "flags" substructure.
1618 * lisp.h (subr_lheader_initializer): Updated.
1619 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1621 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1623 * syntax.c (word_constituent_p): Deleted.
1624 (scan_words): Use `WORD_BOUNDARY_P'.
1626 * chartab.c (Vword_combining_categories): New variable.
1627 (Vword_separating_categories): Likewise.
1628 (CATEGORYP): New macro.
1629 (CATEGORY_SET): Likewise.
1630 (CATEGORY_MEMBER): Likewise.
1631 (word_boundary_p): New function.
1632 (complex_vars_of_chartab): Set up new variable
1633 `word-combining-categories' and `word-separating-categories'.
1635 1999-06-18 Olivier Galibert <galibert@pobox.com>
1637 * lrecord.h: Added description as a placehold in the lrecord
1638 implementation structures. Added the parameter to all constructor
1641 * alloc.c: Added placeholders.
1643 * bytecode.c: Ditto.
1647 * database.c: Ditto.
1652 * event-stream.c: Ditto.
1656 * file-coding.c: Ditto.
1657 * floatfns.c: Ditto.
1665 * mule-charset.c: Ditto.
1669 * rangetab.c: Ditto.
1670 * specifier.c: Ditto.
1673 * tooltalk.c: Ditto.
1676 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1678 * XEmacs 21.2.17 is released
1680 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1682 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1683 (HAVE_LDAP_GET_LDERRNO): Ditto
1684 (HAVE_LDAP_RESULT2ERROR): Ditto
1685 (HAVE_LDAP_PARSE_RESULT): Ditto
1686 (HAVE_UMICH_LDAP): Removed
1687 (HAVE_NS_LDAP): Removed
1689 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1690 suggested by Olivier Galibert
1691 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1693 * eldap.c: Take the removal of `livep' into account in all the
1695 (signal_ldap_error): Take two additional parameters
1696 Added new finer compilation conditions in order to use
1697 ldap_parse_result or ldap_result2error if available
1698 (Fldap_open): Conform to this new API
1699 (Fldap_search_internal): Ditto
1701 1999-06-17 SL Baur <steve@miho.m17n.org>
1703 * data.c (struct int_or_double): Should use EMACS_INT not int.
1705 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1707 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1710 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1712 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1713 `CCL_MODE_ENCODING'.
1715 * file-coding.c (mule_decode): Run `ccl_driver' with
1716 `CCL_MODE_DECODING'.
1717 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1719 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1720 (ccl_driver): Add new argument `conversion_mode'.
1721 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1722 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1723 new optional argument].
1725 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1726 (CCL_MODE_DECODING): New macro.
1727 (ccl_driver): Add new argument `conversion_mode'.
1729 1999-06-15 SL Baur <steve@miho.m17n.org>
1731 * mule-charset.c (Fsplit_char): New subr.
1732 (Fchar_octet): delete.
1733 (syms_of_mule_charset): DEFSUBR it.
1735 1999-06-13 Andy Piper <andy@xemacs.org>
1737 * menubar.h: update declarations involving gui_items.
1739 * lisp.h: declare Lisp_Gui_Item.
1741 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1743 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1744 (print_image_instance): ditto.
1745 (image_instance_equal): ditto.
1746 (image_instance_hash): ditto.
1748 * event-msw.c (mswindows_need_event): assert badly_p status.
1749 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1750 callbacks in tree-view and tab-control widgets.
1751 (emacs_mswindows_next_event): modify use of
1752 mswindows_dequeue_dispatch_event.
1754 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1755 lisp-based gui_items.
1757 * glyphs-msw.c (mswindows_update_subwindow): update use of
1759 (mswindows_register_gui_item): new function.
1760 (mswindows_register_gui_item): fix to use lisp gui_items.
1761 (mswindows_widget_instantiate): ditto.
1762 (mswindows_button_instantiate): ditto.
1763 (add_tree_item): new function to recursively add tree view
1765 (add_tree_item_list): ditto.
1766 (mswindows_tree_instantiate): new function. instantiate tree view
1768 (add_tab_item): new function to add tabs to a tab control.
1769 (mswindows_tab_instantiate): new function. instantiate tab
1771 (image_instantiator_format_create_glyphs_mswindows): add tree view
1773 (vars_of_glyphs_mswindows): ditto.
1775 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1777 (check_valid_item_list): ditto.
1778 (initialize_widget_image_instance): fix to use new lisp gui_item.
1779 (widget_instantiate_1): allow the setting of default textwidth in
1781 (widget_instantiate): change to use new widget_instantiate_1
1783 (combo_instantiate): ditto.
1784 (static_instantiate): ditto.
1785 (tab_instantiate): new function for tab widgets.
1786 (image_instantiator_format_create_glyphs_widget): add tab and tree
1789 * menubar-msw.c (displayable_menu_item): convert to use lisp
1791 (populate_menu_add_item): ditto.
1792 (populate_or_checksum_helper): ditto.
1794 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1796 (Fmenu_find_real_submenu): ditto.
1798 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1800 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1801 objects, convert functions that use them accordingly.
1802 (gui_item_init): ditto.
1803 (gui_item_active_p): ditto.
1804 (gui_item_selected_p): ditto.
1805 (gui_item_included_p): ditto.
1806 (gui_item_display_flush_left): ditto.
1807 (gui_item_display_flush_right): ditto.
1808 (mark_gui_item): ditto.
1809 (allocate_gui_item): new function to create a gui_item.
1810 (make_gui_item_from_keywords_internal): ditto. create and return a
1811 gui_item as well as setting keywords.
1812 (gui_parse_item_keywords): ditto.
1813 (gui_parse_item_keywords_no_errors): ditto.
1814 (gui_add_item_keywords_to_plist): new function, not yet used.
1815 (gui_item_hash): new function.
1816 (gui_item_id_hash): use gui_item_hash.
1817 (gui_item_equal): new function.
1818 (print_gui_item): new function.
1820 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1822 * XEmacs 21.2.16 is released
1824 1999-06-10 Andy Piper <andy@xemacs.org>
1826 * select-msw.c (mswindows_own_selection): only set the clipboard
1828 (mswindows_get_foreign_selection): only get the clipboard if
1830 (mswindows_disown_selection): only disown the clipboard if asked.
1832 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1834 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1836 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1837 of coding-category `no-conversion'.
1839 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1841 * file-coding.c (Qraw_text): New variable.
1842 (syms_of_mule_coding): Add new symbol `raw-text'.
1843 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1844 define coding-system `binary' independently; define coding-system
1845 `no-conversion' as an alias for `raw-text'.
1847 * file-coding.h (Qraw_text): New variable.
1849 1999-06-08 SL Baur <steve@xemacs.org>
1851 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1853 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1855 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1857 (base64_decode_1): Signal errors instead of returning -1.
1859 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1861 * mule-charset.c (Fmake_char): Update docstring.
1863 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1865 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1867 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1869 * fns.c (base64_decode_1): Allow and ignore any non-base64
1870 characters in input.
1872 1999-05-27 Olivier Galibert <galibert@pobox.com>
1874 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1875 of report_pure_usage().
1877 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1879 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1881 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1883 * XEmacs 21.2.15 is released
1885 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1887 * frame.c (Fset_mouse_position):
1888 (Fset_mouse_pixel_position):
1889 * window.c (Fsplit_window):
1890 (Fmove_to_window_line):
1891 Fix crash when invoking functions with an already-deleted window
1894 * indent.c (vertical_motion_1):
1896 (Fvertical_motion_pixels):
1897 * window.c (Fwindow_displayed_text_pixel_height):
1898 Fix error message when invoking functions with an already-deleted
1901 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1903 * sysdep.c (request_sigio_on_device): Guard against glibc
1904 2.1's stub streams implementation.
1906 1999-06-03 SL Baur <steve@xemacs.org>
1909 * emacs.c: Implement x.y.z version numbers
1910 From Jan Vroonhof <vroonhof@math.ethz.ch>
1912 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1914 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1915 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1918 1999-06-03 SL Baur <steve@xemacs.org>
1921 * device-x.c: rename session option to wmcommand.
1922 From Oliver Graf <ograf@rhein-zeitung.de>
1924 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1926 * fns.c (Fsubstring): Don't traverse the same region twice with
1927 charcount_to_bytecount().
1929 1999-06-03 SL Baur <steve@steve1.m17n.org>
1931 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1934 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1935 doesn't really work as is implied by the commentary).
1936 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1938 1999-06-02 SL Baur <steve@steve1.m17n.org>
1940 * symsinit.h: Declare vars_of_ntproc.
1941 * emacs.c (main_1): Call it.
1943 * ntproc.c (syms_of_ntproc): Move variable initializations from
1945 (vars_of_ntproc): ... to here [new function].
1947 * file-coding.c (syms_of_file_coding): Rename.
1948 (vars_of_file_coding): Ditto.
1949 (complex_vars_of_file_coding): Ditto.
1951 * symsinit.h: Rename *_mule_coding to *_file_coding.
1953 * emacs.c (main_1): Call them by the proper name.
1955 * device-msw.c (syms_of_device_mswindows): Move variable
1956 initializations from here ...
1957 (vars_of_device_mswindows): ... to here.
1959 * chartab.c (vars_of_chartab): New function.
1961 * symsinit.h: New function, vars_of_chartab.
1963 * emacs.c (main_1): Call it.
1965 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1966 (vars_of_mule_canna): ... to here.
1968 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1969 initializations out of syms_of_mule_ccl.
1971 * symsinit.h: Declare new function vars_of_mule_ccl.
1973 * emacs.c (main_1): Call it.
1975 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1977 * fns.c (base64_decode_1): Ignore whitespace.
1979 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1981 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1984 1999-05-21 Andy Piper <andy@xemacs.org>
1986 * xselect.c: deleted.
1988 * symsinit.h: declare select initialisation.
1990 * select.h: new file. declare commonly used select functions and
1993 * select.c: new file. generalised from xselect.c.
1994 (clean_local_selection_data): moved from xselect.c.
1995 (get_local_selection): ditto. device specific pieces called via a
1997 (handle_selection_clear): ditto.
1998 (Fown_selection_internal): renamed and generalised from
1999 Fx_own_selection_internal. moved from xselect.c.
2000 (Fdisown_selection_internal): ditto.
2001 (Fselection_owner_p): ditto.
2002 (Fselection_exists_p): ditto.
2003 (Fget_selection_internal): ditto.
2004 (syms_of_select): new function. QXXXX values moved from xselect.c
2005 (vars_of_select): new function. selection_converter_alist,
2006 lost_selection_hooks moved and renamed from xselect.c
2008 * select-x.c: renamed from xselect.c.
2009 (x_own_selection): converted to device specific. non-X-specific
2010 bits moved to select.c.
2011 (x_get_foreign_selection): ditto.
2012 (x_disown_selection): ditto.
2013 (x_selection_exists_p): ditto.
2014 (console_type_create_select_x): new function.
2016 * select-msw.c (mswindows_own_selection): new device method to set
2017 the clipboard when we 'own' the selection.
2018 (mswindows_get_foreign_selection): new device method to get the
2020 (mswindows_disown_selection): new device method to delete the
2021 selection when we 'disown' it.
2022 (console_type_create_select_mswindows): new function.
2024 * emacs.c (main_1): add select to things to initialise.
2026 * console.h (struct console_methods): new console methods for
2029 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2031 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2033 * print.c (long_to_string): Install a faster version.
2035 1999-05-16 Andy Piper <andy@xemacs.org>
2037 * ntproc.c (syms_of_ntproc): default
2038 win32-start-process-share-console to t.
2040 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2042 * config.h.in: Do it here.
2044 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2046 1999-05-14 Andy Piper <andy@xemacs.org>
2048 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2051 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2053 * XEmacs 21.2.14 is released
2055 1999-05-12 Andy Piper <andy@xemacs.org>
2057 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2059 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2061 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2062 run_temacs_argv array -- fixes random memory corruption crash
2064 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2066 * window.c (Fcurrent_window_configuration):
2067 Save minibuffer height;
2069 * window.c (set_window_configuration): use it.
2071 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2073 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2075 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2077 * redisplay.c (redisplay_window): Do not put data
2078 in the line start cache if it is not guaranteed to be correct
2080 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2082 * window.c (struct window_config): Removed frame
2084 (window_config_equal): No longer compare frame sizes.
2085 (Fset_window_configuration): Resize old top window to fit in the
2086 current frame directly, no longer use a fake frame resize.
2087 (Fcurrent_window_configuration): No longer save frame size
2089 1999-05-11 Andy Piper <andy@xemacs.org>
2091 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2094 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2096 * sysdep.c (init_system_name): If gethostname gives a proper
2097 domain name, don't look further for one.
2099 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2101 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2102 (Fintern_soft): Accept a symbol argument.
2104 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2106 * symbols.c (Fintern): ...do it here.
2108 * lread.c (read_atom): Don't handle keywords here.
2110 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2112 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2114 1999-05-03 Olivier Galibert <galibert@pobox.com>
2116 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2117 is interned in the main obarray.
2119 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2121 * menubar-x.c (pre_activate_callback): set accelerator field in
2122 "No menu" entries to nil. Avoid crash in
2123 command_builder_operate_menu_accelerator
2125 1999-05-03 Olivier Galibert <galibert@pobox.com>
2127 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2129 * lisp.h (DEFUN): Fix lrecord header initialisation.
2131 1999-05-02 Andy Piper <andy@xemacs.org>
2133 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2135 * ntproc.c (sys_kill): cast using MS mandated defines.
2137 1999-04-29 Andy Piper <andy@xemacs.org>
2139 * m/intel386.h: remove redundant definitions.
2141 * s/mingw32.h: new header for mingw32.
2143 * unexnt.c: (open_input_file): function moved to nt.c.
2144 (close_file_data): ditto.
2145 (rva_to_section): function moved to ntproc.
2147 * symsinit.h: declare syms_of_ntproc();
2149 * objects-msw.c (mswindows_font_instance_truename): new function.
2151 * ntproc.c: remove many warnings.
2152 (_sys_read_ahead): moved from nt.c and made static.
2153 (rva_to_section): moved from unexnt.c but not defined under
2155 (win32_executable_type): implement what we can for mingw32
2157 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2159 * ntheap.h: remove declarations of functions that are now static.
2161 * ntheap.c: support static heap.
2163 * nt.h: conditionalise X_OK definition.
2165 * nt.c: eliminate many warnings and support mingw32.
2166 (open_input_file): function moved from unexnt.c and made static
2167 (close_file_data): ditto.
2168 (_sys_read_ahead): moved to ntproc.c
2170 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2172 * console-msw.h: support mingw32.
2173 * getloadavg.c: ditto.
2180 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2181 some systems don't have all of the encapsulated system calls.
2183 * callproc.c: warning elimination.
2184 * dired-msw.c: ditto.
2185 * process-nt.c: ditto.
2186 * realpath.c: ditto.
2188 * Makefile.in.in: tweak : and ; for building under mswindows.
2190 1999-04-26 Michael Harnois <mharnois@willinet.net>
2192 * eldap.c (allocate_ldap): Adapt to the new semantics of
2193 alloc_lcrecord_type().
2195 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2197 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2199 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2201 * Delete mule-coding.c and mule-coding.h because they are not
2204 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2206 * objects.c (print_font_instance): Check for NILP(f->device),
2207 i.e. Vthe_null_font_instance.
2208 (font_instance_truename_internal): ditto.
2209 (Ffont_instance_properties): ditto.
2211 1999-04-22 Olivier Galibert <galibert@pobox.com>
2213 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2216 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2218 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2219 it easier to add new ones.
2221 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2223 * symbols.c (reject_constant_symbols): Ditto.
2224 (init_symbols_once_early): Ditto.
2226 * print.c (print_symbol): Don't use ->obarray.
2228 * symbols.c (Funintern): Ditto.
2230 * alloc.c (Fmake_symbol): Don't set ->obarray.
2232 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2234 * symbols.c (init_symbols_once_early): Removed
2235 Vpure_uninterned_symbol_table.
2236 (Fintern): Don't store to ->obarray field.
2238 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2240 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2241 (eq_with_ebola_notice): Remove abracadabra support.
2243 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2245 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2246 retrieve the distinguished names of entries
2248 1999-03-08 Martin Buchholz <martin@xemacs.org>
2250 * lread.c (read_escape): Make hex escapes read only two hex digits.
2252 1999-04-05 Olivier Galibert <galibert@pobox.com>
2254 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2255 * make-src-depend: Remove puresize-adjust.h.
2256 * src-headers: Remove puresize-adjust.h.
2257 * config.h.in: Kill everything purespace/gung-ho related.
2259 * dbxrc: Make gung-ho mandatory.
2262 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2263 c_readonly and lisp_readonly. Remove implementation arrays.
2264 (C_READONLY_RECORD_HEADER_P): Added.
2265 (LISP_READONLY_RECORD_HEADER_P): Added.
2266 (SET_C_READONLY_RECORD_HEADER): Added.
2267 (SET_LISP_READONLY_RECORD_HEADER): Added.
2269 * lisp.h: Kill everything purespace/non gung-ho related.
2270 (CHECK_C_WRITEABLE): Added.
2271 (CHECK_LISP_WRITEABLE): Added.
2272 (C_READONLY): Added.
2273 (LISP_READONLY): Added.
2275 * lisp-union.h: Make gung-ho mandatory.
2276 * lisp-disunion.h: Ditto.
2278 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2279 set_lheader_implementation calls.
2280 (c_readonly): Added.
2281 (lisp_readonly): Added.
2282 (make_string_nocopy): Added.
2283 (Fpurecopy): Changed to do nothing. Kept the old documentation
2284 for reference purposes for the next patches.
2285 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2286 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2287 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2289 * fns.c: Make gung-ho mandatory.
2290 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2292 (Ffillarray): Ditto.
2294 * data.c: Make gung-ho mandatory.
2295 (pure_write_error): Removed.
2296 (c_write_error): Added.
2297 (lisp_write_error): Added.
2298 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2302 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2303 make_string or make_string_nocopy. Fix various
2304 alloc_lcrecord_type.
2306 * lread.c: Remove everything purespace related.
2307 (Flocate_file_clear_hashing): purified -> c_readonly.
2308 (locate_file): Ditto.
2309 (read_atom): make_pure_pname -> make_string.
2311 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2313 (Fdump_emacs): Ditto.
2315 * print.c (print_internal): Make gung-ho mandatory.
2316 * ntheap.c (sbrk): Ditto.
2317 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2318 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2320 * sheap.c (more_static_core): Remove puresize-adjust.h from
2323 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2325 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2326 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2327 * events.c (deinitialize_event): Fix set_lheader_implementation.
2328 (zero_event): Ditto.
2329 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2330 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2331 * mule-charset.c (make_charset): Ditto.
2332 * console.c (allocate_console): Ditto.
2333 (complex_vars_of_console): Ditto.
2334 * file-coding.c (allocate_coding_system): Ditto.
2335 * device.c (allocate_device): Ditto
2336 * gui-x.c (gcpro_popup_callbacks): Ditto.
2337 * extents.c (allocate_extent_auxiliary): Ditto.
2338 (allocate_extent_info): Ditto.
2339 (copy_extent): Ditto.
2340 * glyphs.c (allocate_image_instance): Ditto.
2341 (allocate_glyph): Ditto.
2342 * frame.c (allocate_frame_core): Ditto.
2343 * database.c (allocate_database): Ditto.
2344 * tooltalk.c (make_tooltalk_message): Ditto.
2345 (make_tooltalk_pattern): Ditto.
2346 * rangetab.c (Fmake_range_table): Ditto.
2347 (Fcopy_range_table): Ditto.
2348 * process.c (make_process_internal): Ditto.
2349 * chartab.c (Fmake_char_table): Ditto.
2350 (make_char_table_entry): Ditto.
2351 (copy_char_table_entry): Ditto.
2352 (Fcopy_char_table): Ditto.
2353 * elhash.c (make_general_lisp_hash_table): Ditto.
2354 (Fcopy_hash_table): Ditto.
2355 * buffer.c (allocate_buffer): Ditto.
2356 (complex_vars_of_buffer): Ditto.
2357 * event-stream.c (allocate_command_builder): Ditto.
2358 * objects.c (Fmake_color_instance): Ditto.
2359 (Fmake_font_instance): Ditto.
2360 (vars_of_objects): Ditto.
2361 * toolbar.c (update_toolbar_button): Ditto.
2362 * window.c (allocate_window): Ditto.
2363 (make_dummy_parent): Ditto.
2364 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2365 (vars_of_window): Fix make_lcrecord_list.
2366 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2368 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2369 * opaque.c (make_opaque): Fix alloc_lrecord.
2370 (make_opaque_list): Fix alloc_lrecord_type.
2372 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2374 * process.c (Fstart_process_internal): Ditto.
2376 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2379 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2381 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2384 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2385 (emodules_load): Use it when calling locate_file().
2387 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2390 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2391 (vars_of_callproc): Initialize it.
2392 (Fcall_process_internal): Use it when calling locate_file().
2394 * alloc.c (disksave_object_finalization): Use
2395 Flocate_file_clear_hashing().
2397 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2398 given `t' as argument.
2400 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2402 * lread.c (locate_file): Expand `pathel' when appropriate.
2403 (Flocate_file_clear_hashing): Expand path elements.
2404 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2406 * dired.c (make_directory_hash_table): Create the hash-table only
2407 if the directory open is successful.
2409 * lread.c (decode_mode_1): New function.
2410 (decode_mode): Ditto.
2411 (Flocate_file): Use them.
2412 (Flocate_file): Expand FILENAME.
2413 (locate_file_map_suffixes): New function.
2414 (locate_file_in_directory_mapper): New function.
2415 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2416 and locate_file_map_suffixes().
2417 (locate_file_construct_suffixed_files): Use
2418 locate_file_map_suffixes().
2419 (locate_file_without_hash): Don't GCPRO path.
2420 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2421 (syms_of_lread): Remove Qlocate_file_hash_table.
2422 (locate_file_find_directory_hash_table): Use
2423 Vlocate_file_hash_table.
2424 (locate_file_refresh_hashing): Ditto.
2426 * lread.c: Renamed read_objects to Vread_objects.
2428 1999-04-16 Olivier Galibert <galibert@pobox.com>
2430 * mule-charset.c: Generally resync with fsf 20.3 charset
2432 (make_charset): Add long and short name. Use id instead of
2434 (Fmake_charset): Ditto.
2435 (Fmake_reverse_direction_charset): Ditto.
2436 (Fcharset_property): Ditto.
2437 (Fcharset_short_name): Added.
2438 (Fcharset_long_name): Added.
2439 (Fcharset_description): Renamed from charset-doc-string.
2440 (syms_of_mule_charset): Synced symbols.
2441 (complex_vars_of_mule_charset): Synced charsets.
2443 * mule-charset.h: Removed leading byte (uses id instead), added
2444 short and long name.
2446 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2448 * file-coding.c (Fdefine_coding_system_alias): New function.
2450 1999-04-08 Olivier Galibert <galibert@pobox.com>
2452 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2453 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2455 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2457 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2458 attach to the extent is valid.
2460 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2462 * dired.c (user_name_completion): Mule-ize.
2463 (user_name_completion): Use xmalloc/xrealloc/xfree.
2464 (user_name_completion): Use DO_REALLOC.
2465 (user_name_completion): Cut down the number of static variables;
2467 (user_name_completion): Username completion is always
2470 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2472 * fns.c (base64_decode_1): Remove COUNTER.
2473 (base64_decode_1): Accept CRLF in addition to CR.
2474 (base64_decode_1): Disallow a stray character after final EOF; the
2475 check was probably a remnant of buggy recode code.
2477 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2479 * fns.c (init_provide_once): Provide `base64'.
2481 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2483 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2484 (Fbase64_encode_region): If buffer is read-only, bail out early.
2485 (Fbase64_decode_region): Ditto.
2486 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2488 (Fbase64_encode_string): Ditto.
2489 (Fbase64_decode_region): Ditto.
2490 (Fbase64_decode_string): Ditto.
2492 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2494 * dired.c (Fdirectory_files): Remove redundant code.
2496 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2498 * frame-msw.c Make raise-frame restore minimised windows.
2500 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2502 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2505 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2507 * toolbar-msw.c Consider captions when deciding whether to rebuild
2508 toolbar. This fixes the initial toolbar display for those of us
2509 who don't like captions. These patches applied by Andy Piper.
2511 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2513 * XEmacs 21.2.13 is released
2515 1999-03-12 SL Baur <steve@xemacs.org>
2517 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2519 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2521 * file-coding.c: docstring and comment improvements.
2522 (decode_ucs4) flag possible data loss with comment.
2524 1999-03-10 Martin Buchholz <martin@xemacs.org>
2526 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2530 (decode_coding_ucs4):
2531 (encode_coding_ucs4):
2532 (detect_coding_utf8):
2533 (decode_coding_utf8):
2535 (encode_coding_utf8):
2536 Add CHECK_* macros where needed to avoid crashes.
2537 #ifdef out all composite character support using
2538 #ifdef ENABLE_COMPOSITE_CHARS
2539 Use normal XEmacs coding standards.
2541 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2543 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2545 * file-coding.c (make-coding-system): Add description about
2546 `ucs-4' and `utf-8'.
2547 (detection_state): Modify to implement ucs-4 and utf-8.
2548 (detect_coding_type): Likewise.
2549 (detect_coding_ucs4): New implementation.
2550 (detect_coding_utf8): New implementation.
2551 (encode_utf8): fixed.
2552 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2555 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2557 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2558 2022 registry to private area.
2560 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2562 * file-coding.c (encode_utf8): New function.
2563 (encode_coding_utf8): New implementation.
2565 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2567 * file-coding.c (ucs_to_mule_table): New variable; abolish
2568 `Vucs_to_mule_table'
2569 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2570 (set-ucs-char): New function.
2571 (ucs_to_char): New function.
2572 (ucs-char): New function.
2573 (set-char-ucs): New function.
2574 (char-ucs): New function.
2575 (decode_ucs4): Use `ucs_to_char'.
2576 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2577 `mule-to-ucs-table'.
2579 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2581 * chartab.h: EXFUN `Fget_char_table'.
2583 * file-coding.c (encode_ucs4): New function.
2584 (encode_coding_ucs4): Use `encode_ucs4'.
2586 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2588 * file-coding.c (decode_coding_ucs4): New implementation.
2590 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2592 * file-coding.c (decode_coding_ucs4): fixed.
2594 * file-coding.c (Vmule_to_ucs_table): New variable.
2595 (mule_char_to_ucs4): New function.
2596 (encode_coding_ucs4): New implementation.
2597 (complex_vars_of_mule_coding): Define variable
2598 `mule-to-ucs-table'.
2600 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2602 * file-coding.c (decode_coding_utf8): New implementation.
2604 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2606 * file-coding.c (decode_coding_utf8): fixed.
2608 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2610 * file-coding.c (Vucs_to_mule_table): New variable.
2611 (decode_ucs4): Refer `Vucs_to_mule_table'.
2612 (complex_vars_of_mule_coding): Define variable
2613 `ucs-to-mule-table'.
2615 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2617 * file-coding.c (detect_coding_ucs4): New function (not
2619 (decode_coding_ucs4): New function.
2620 (encode_coding_ucs4): New function (not implemented yet).
2621 (detect_coding_utf8): New function (not implemented yet).
2622 (decode_coding_utf8): New function.
2623 (encode_coding_utf8): New function (not implemented yet).
2624 (make-coding-system): New type `ucs4' and `utf8'.
2625 (coding-system-type): Likewise.
2626 (detection_state): Add `ucs4' and `utf8'.
2627 (detect_coding_type): Likewise.
2628 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2629 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2630 (decode_ucs4): New function (very incomplete).
2631 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2633 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2635 1999-03-08 Martin Buchholz <martin@xemacs.org>
2638 (non_ascii_valid_char_p):
2639 (lookup_composite_char):
2640 (composite_char_string):
2641 (make-composite-char):
2642 (composite-char-string):
2643 (syms_of_mule_charset):
2644 (complex_vars_of_mule_charset):
2645 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2646 (CHAR_LEADING_BYTE):
2648 * file-coding.h (CODING_STATE_COMPOSITE):
2649 (CODING_STATE_ISO2022_LOCK):
2651 (LEADING_BYTE_COMPOSITE):
2652 * file-coding.c (struct iso2022_decoder):
2655 (parse_iso2022_esc):
2656 (encode_coding_iso2022):
2657 #ifdef out all composite character support using
2658 #ifdef ENABLE_COMPOSITE_CHARS
2660 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2662 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2664 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2665 way of `Fbase64_encode_region'.
2667 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2669 * fns.c (base64_encode_1): Don't add a newline at the tail.
2671 1999-03-08 Andy Piper <andy@xemacs.org>
2673 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2676 1999-03-07 Martin Buchholz <martin@xemacs.org>
2678 * console-stream.h (struct stream_console):
2679 * event-unixoid.c (event_stream_unixoid_select_console):
2680 (event_stream_unixoid_unselect_console):
2681 * print.c (Fexternal_debugging_output):
2682 * sysdep.c (reset_one_device):
2683 * console-stream.c (stream_init_console):
2684 (stream_delete_console):
2685 (allocate_stream_console_struct): move into stream_init_console.
2686 (free_stream_console_struct): move into stream_delete_console.
2687 Use `fd' only for file descriptors.
2688 Therefore, rename members of struct stream_console.
2690 * systime.h: Unix98 says sys/time.h should define select(), but
2691 some systems define that in unistd.h. So include that file always.
2693 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2694 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2695 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2697 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2701 Add #include <stdio.h>.
2702 Some versions of assert.h use printf() without #include'ing stdio.h
2704 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2705 (log_gcpro): Remove unused variable FRAME.
2706 (show_gcprohist): Ansify.
2707 Comment the #endif's
2709 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2710 after it's just been XtDestroy'ed!
2712 1999-02-18 Martin Buchholz <martin@xemacs.org>
2714 * opaque.c (print_opaque):
2718 Egcs 1.1.1 seems to have a bug where
2719 INTP (p->size_or_chain)
2720 will crash XEmacs. Fix by introducing intermediate variable.
2722 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2724 * dired.c (Fdirectory_files):
2725 (Ffile_name_completion):
2726 (Ffile_name_all_completions):
2727 (file_name_completion):
2728 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2729 avoid compiler warnings.
2730 - Fix up docstrings so that C variables match documentation.
2732 1999-03-05 Martin Buchholz <martin@xemacs.org>
2734 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2735 variables as small as possible to help out the compiler and the maintainer.
2737 * alloc.c: (disksave_object_finalization):
2738 Set all the *-load-path variables to
2739 nil, not just load-path itself. This gets the locate-file hash
2740 tables garbage collected BEFORE dump, and has the side effect of
2741 preventing crashes on OSF4.0+egcs.
2746 - Clean up gdb/dbx debugging support.
2747 - Storing an EMACS_INT in an enum is not 64-bit clean!
2748 - So change the enum to a set of separate variables.
2749 - Add test cases to help debug the debugging support!
2750 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2751 - Both dbx and gdb have been tested now.
2753 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2755 * XEmacs 21.2.12 is released
2757 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2759 * device-x.c: Support to find best visual without flashing.
2761 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2763 * database.c (berkdb_map): Add flags argument to cursor call (must
2764 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2766 1999-03-03 Martin Buchholz <martin@xemacs.org>
2770 General cleanup. Get free-hook.c working again.
2771 Remove unused functions:
2772 make_strings_hash_table, copy_hash, expand_hash_table.
2776 Always use new ANSI-style function prototypes.
2778 * unexalpha.c (unexec): Never use implicit int.
2780 * sgiplay.c (close_sound_file):
2782 (restore_audio_port):
2787 (write_mulaw_8_chunk):
2788 (write_linear_chunk):
2789 (write_linear_32_chunk):
2790 (initialize_audio_port):
2793 (set_output_format):
2794 (adjust_audio_volume):
2795 (get_current_volumes):
2797 Always use new ANSI-style function prototypes.
2798 Use unistd.h for missing prototypes.
2800 * unexelfsgi.c (round_up):
2802 (unexec): Always use new ANSI-style function prototypes
2804 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2806 * console.h (struct console_methods): Always use full ANSI prototypes
2808 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2810 1999-03-02 Andy Piper <andy@xemacs.org>
2812 * event-stream.c (init_event_stream): make sure native mswindows
2813 gets an appropriate event loop.
2815 1999-02-22 Andy Piper <andy@xemacs.org>
2817 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2818 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2819 (mswindows_raise_frame): remove comment.
2821 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2823 * XEmacs 21.2.11 is released
2825 1999-02-25 SL Baur <steve@xemacs.org>
2827 * mule-charset.c (Qleading_byte): New variable to implement
2828 charset-leading-byte function.
2829 (Fcharset_property): Use it.
2830 (syms_of_mule_charset): Initialize it.
2831 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2833 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2835 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2836 bytes per pixel counting.
2838 1999-02-15 Andy Piper <andy@xemacs.org>
2840 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2843 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2845 * fns.c (Fbase64_encode_string): New optional argument
2848 1999-02-16 Martin Buchholz <martin@xemacs.org>
2850 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2851 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2853 1999-02-10 Martin Buchholz <martin@xemacs.org>
2855 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2856 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2858 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2860 * XEmacs 21.2.10 is released
2862 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2864 * process-nt.c (nt_send_process):
2865 Fix for process-send-region/process-send-string breaking when size
2866 of the input > 128 chars: change maximum chunk size for process
2867 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2870 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2872 * XEmacs 21.2.9 is released
2874 1999-01-30 Martin Buchholz <martin@xemacs.org>
2876 * bytecode.c (funcall_compiled_function): Call
2877 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2879 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2880 #ifdef 0 out unused macro.
2882 1999-01-27 Martin Buchholz <martin@xemacs.org>
2884 * gui.c (gui_parse_item_keywords_internal): Make static.
2886 1999-01-21 Andy Piper <andy@xemacs.org>
2888 * glyphs-msw.c: add xface support.
2889 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2890 (image_instantiator_format_create_glyphs_mswindows): do device
2891 specific initialisation for xfaces.
2892 (xbm_create_bitmap_from_data): line data must be padded to a word
2895 * glyphs-x.c (xface_validate): moved to glyphs.c
2896 (xface_normalize): ditto.
2897 (xface_possible_dest_types): ditto.
2898 (image_instantiator_format_create_glyphs_x): do device specific
2899 initialisation for xfaces.
2901 * glyphs.h: declare xface symbol.
2903 * glyphs.c: move generic xface support here.
2904 (xface_validate): moved from glyphs-x.c
2905 (xface_normalize): ditto.
2906 (xface_possible_dest_types): ditto.
2907 (image_instantiator_format_create): xface declarations moved from
2910 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2912 * event-stream.c (vars_of_event_stream): Fixing documentation.
2914 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2916 * glyphs-eimage.c (gif_instantiate): Correct handling of
2917 interlaced gifs to avoid writing past the end of the eimage
2920 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2922 * search.c (Freplace_match): Handle single backslash at end of
2925 1999-01-12 William M. Perry <wmperry@aventail.com>
2927 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2928 avoid connection errors.
2930 1999-01-12 Andy Piper <andy@xemacs.org>
2932 * redisplay-output.c (redisplay_update_line): backout change that
2933 shouldn't have gone ine.
2935 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2937 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2938 collide with ldap.el
2940 1999-01-11 Andy Piper <andy@xemacs.org>
2942 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2943 (DISPLAY_LINE_YPOS): new macro.
2945 * redisplay-msw.c (mswindows_output_string): use it.
2946 (mswindows_output_pixmap): ditto.
2947 (mswindows_output_display_block): ditto.
2949 * redisplay-output.c (redisplay_output_display_block): new
2950 function. just call the devmeth, maybe insert some generic code
2952 (compare_display_blocks): use it.
2953 (output_display_line): ditto.
2954 (redisplay_unmap_subwindows_maybe): new function. potentially
2955 unmap subwindows in the given area.
2957 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2960 1999-01-10 J. Kean Johnston <jkj@sco.com>
2962 * Makefile.in.in: Set value of moduledir
2963 - Changed DUMPENV to include $(MODULEPATH)
2964 - Added install rule to install header files for use by ellcc.
2966 * config.h.in: Added INHIBIT_SITE_MODULES
2967 - Added HAVE__DLERROR
2968 - Added HAVE_DLFCN_H
2969 - Added DLSYM_NEEDS_UNDERSCORE
2973 * emodules.c: New file containing dynamic loading code.
2975 * emodules.h: New file.
2977 * emacs.c: Added variables Vmodule_directory,
2978 Vsite_module_directory, Vconfigure_module_directory and
2979 Vconfigure_site_module_directory.
2980 - (main_1): Added new variable inhibit_site_modules and command
2981 line options `-no-site-modules' and `--no-site-modules'.
2982 - (main_1): Call syms_of_module() instead of syms_of_dll().
2983 - (main_1): Call vars_of_module().
2984 - (vars_of_emacs): Introduce inhibit-site-modules,
2985 module-directory, configure-module-directory,
2986 site-module-directory, and configure-site-module-directory to the
2989 * lisp.h: Declare load_module and list_modules, as well as
2990 Vmodule_directory, Vsite_module_directory,
2991 Vconfigure_module_directory and Vconfigure_site_module_directory.
2993 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2994 - Added correct support for site-lisp directory.
2996 * symbols.c (defsubr): Modified to allow modules to add new subrs
2998 - (defsubr_macro): Same.
2999 - (defvar_magick): Only use purespace when not initialized, so
3000 that loaded modules can still add symbols.
3002 * symsinit.h: Add definitions for syms_of_module(),
3003 vars_of_module(). Removed syms_of_dll().
3005 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3006 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3007 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3009 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3010 explicitly pass -belf for native cc.
3012 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3013 hard-coding the library name.
3015 1999-01-01 <martin@xemacs.org>
3017 * device-x.c (Fx_set_font_path):
3018 Add proper cast to permit compilation under C++.
3020 * buffer.c (directory_is_current_directory):
3021 Add proper casts to permit compilation under C++.
3023 1998-12-30 Damon Lipparelli <lipp@primus.com>
3025 * event-msw.c (mswindows_wnd_proc):
3026 Fixed failure when building with MSVC 5.
3028 1998-12-29 Martin Buchholz <martin@xemacs.org>
3030 * file-coding.c (decode_coding_iso2022):
3031 - Prevent crash when decoding ISO7/Lock detected files
3032 - the usual martin fiddling
3034 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3038 Fixed failures when building with MSVC.
3039 * unexnt.c (dump_bss_and_heap):
3040 Removed compiler warning by removing bss_data variable.
3042 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3044 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3045 so that packages that distribute their own fonts can access them.
3047 1998-12-28 Andy Piper <andy@xemacs.org>
3049 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3050 that have an image provided.
3052 * glyphs.h: add Q_image decl.
3054 * glyphs-widget.c new functionality allowing images in
3056 (check_valid_glyph_or_image): new function to validate
3057 glyphs passed in through :image.
3058 (widget_normalize): new function. convert :image parameters into
3059 real glyphs if not already so.
3060 (widget_instantiate_1): mess with size parameters to be similar to
3062 (syms_of_glyphs_widget): new keyword :image.
3063 (image_instantiator_format_create_glyphs_widget): normalize
3064 buttons and allow :image.
3066 1998-12-27 Andy Piper <andy@xemacs.org>
3068 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3070 * glyphs-widget.c (check_valid_anything): no-op function.
3071 (check_valid_callback): check callbacks in gui_items.
3072 (check_valid_symbol): as it sounds.
3073 (check_valid_string_or_vector): ditto.
3074 (widget_validate): modified for descriptors that are vectors or
3075 sequences of keyword/val pairs.
3076 (widget_instantiate_1): ditto.
3077 (image_instantiator_format_create_glyphs_widget): allow gui_item
3078 keywords in the instantiator.
3080 * gui.c (gui_parse_item_keywords_internal): renamed from
3081 gui_parse_item_keywords but taking error behaviour.
3082 (gui_parse_item_keywords): use it.
3083 (gui_parse_item_keywords_no_errors): ditto.
3084 (gui_item_add_keyval_pair): add Error_behavior flag and only
3085 signal invalid keywords if required.
3087 * gui.h: new gui signatures.
3089 * menubar.c (menu_parse_submenu_keywords): use new
3090 gui_item_add_keyval_pair signature.
3092 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3094 1998-12-28 Martin Buchholz <martin@xemacs.org>
3096 * XEmacs 21.2.8 is released.
3098 1998-12-28 Martin Buchholz <martin@xemacs.org>
3100 * editfns.c (get_home_directory):
3101 (user-home-directory): Simplify.
3104 * callproc.c (child_setup):
3105 - Environment variables were being passed to inferior processes
3106 using internal encoding.
3107 - Convert to external encoding.
3108 - Rename local var `tem' to better name `tail'.
3109 - Use Flength instead of `manual' calculation.
3111 * buffer.c (kill-buffer):
3113 (set-buffer-major-mode):
3115 - Fix up parameter names to correspond to docstrings.
3116 - Don't use `bufname' when a buffer will do as well.
3117 - Remove one unneeded GCPRO.
3119 * buffer.h (initial_directory):
3120 * buffer.c (init_initial_directory):
3121 - use correct conversions between internal and external format.
3122 (directory_is_current_directory): new function
3123 (init_buffer): convert initial_directory to internal format.
3124 - solve crashes when current working directory is non-ASCII.
3126 * alloc.c (xmalloc):
3129 - remove stupid casts, since XEmacs requires an ANSI C system.
3130 (lrecord_type_index): replace abort() with more readable assert().
3132 (reset_lcrecord_stats): remove.
3133 (sweep_lcrecords_1):
3134 - replace call to reset_lcrecord_stats() with call to xzero().
3136 1998-12-27 Martin Buchholz <martin@xemacs.org>
3138 * process-unix.c (unix_create_process):
3139 - Fix crash invoking program with non-ASCII name.
3140 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3141 - Remove unused variable `env'.
3142 - Rename `temp' to better name `save_errno'.
3143 - Reorganize code for clarity. But still too chicken to nuke the
3146 1998-12-24 Martin Buchholz <martin@xemacs.org>
3148 * XEmacs 21.2.7 is released.
3150 1998-12-23 Martin Buchholz <martin@xemacs.org>
3152 * glyphs.c (decode_device_ii_format):
3154 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3156 * glyphs-x.c (x_subwindow_instantiate):
3157 - A image instance mask was being assigned to a image instance type!
3158 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3160 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3162 * glyphs-x.h: Make indentation consistent.
3164 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3166 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3168 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3172 Move declarations of decode_device_ii_format and
3173 decode_image_instantiator_format into glyphs.h where they belong.
3175 1998-12-22 Martin Buchholz <martin@xemacs.org>
3177 * frame-x.c (x_delete_frame): Revert part of my changes at the
3178 suggestion of Gunnar Evermann - unfortunately no one really
3179 understands this code.
3181 * callproc.c (init_callproc): code cleanup.
3183 * free-hook.c (malloc):
3188 (block_input_malloc):
3189 (block_input_realloc):
3190 * device-x.c (x_delete_device):
3191 * emacs.c (voodoo_free_hook):
3192 * events.c (print_event):
3194 (CHECK_EVENT_TYPE2):
3195 (CHECK_EVENT_TYPE3):
3196 Use proper prototypes.
3197 Make C_E_T macros a little faster.
3198 Pedantic fiddly little changes. You really don't care.
3200 1998-12-22 Andy Piper <andy@xemacs.org>
3202 * redisplay-output.c (redisplay_clear_region): make sure that
3203 fg/bg colors get set even when we are in the border area.
3205 1998-12-13 Martin Buchholz <martin@xemacs.org>
3207 * console-msw.c: Function definitions follow coding standards
3208 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3210 1998-12-11 Martin Buchholz <martin@xemacs.org>
3212 * events.h (struct timeout_data):
3213 * event-tty.c (tty_timeout_to_emacs_event):
3214 * event-msw.c (mswindows_wm_timer_callback):
3215 * event-Xt.c (Xt_timeout_to_emacs_event):
3216 * event-msw.c (mswindows_cancel_dispatch_event):
3217 Make sure Lisp_Objects inside events are initialized to Qnil, not
3218 Qnull_pointer, which is now illegal.
3220 1998-12-10 Martin Buchholz <martin@xemacs.org>
3222 * lisp.h: Fix up prototypes to match alloc.c
3224 1998-12-08 Martin Buchholz <martin@xemacs.org>
3226 * windowsnt.h: Remove `support' for using index and rindex
3228 * filelock.c (current_lock_owner):
3229 - Change uses of index -> strchr, rindex -> strrchr
3231 1998-12-07 Martin Buchholz <martin@xemacs.org>
3233 * sysdep.c (set_descriptor_non_blocking):
3234 Since O_NONBLOCK is now always #defined, make use of fcntl
3235 conditional on F_SETFL being defined.
3237 * console-msw.c (DHEADgER):
3246 - max_align_t should not be visible to the user of the
3248 - use Bufbyte instead of char
3249 - parens around (FOOP (obj)) are always redundant.
3250 If they were necessary, we should fix the macro instead.
3251 - Always use string_data(foo) instead of foo->data.
3254 1998-12-06 Martin Buchholz <martin@xemacs.org>
3256 * frame-msw.c (mswindows_init_frame_1):
3257 - use make_lisp_hash_table, not Fmake_hash_table
3261 * alloc.c (make_vector): remove travesty
3265 (make_bit_vector_internal):
3267 (make_bit_vector_from_byte_vector):
3269 - make vector_equal a little faster.
3270 - Don't use variable name `new'.
3271 - Use size_t instead of EMACS_INT.
3272 - usual Martin-style pointless bit-twiddling.
3278 Make mapcar faster. In particular, make
3279 (mapc #'identity long-string)
3280 MUCH faster under Mule.
3281 * tests/automated/lisp-tests.el: Test 'em!
3283 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3286 1998-12-01 Martin Buchholz <martin@xemacs.org>
3288 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3289 Qnil, not NULL, to initialize `null' Lisp_Objects.
3291 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3293 * specifier.c (display_table_validate): Update.
3295 * redisplay.c (create_text_block): Use them.
3297 * glyphs.c (display_table_entry): New function.
3298 (get_display_tables): Ditto.
3300 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3302 * eldap.c (toplevel): Mention that eldap.c compiles with
3304 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3305 (Fldap_search_internal): Ditto
3307 1998-12-11 Martin Buchholz <martin@xemacs.org>
3309 * event-msw.c (mswindows_cancel_dispatch_event):
3310 Gratuitous code prettification
3313 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3315 * fns.c (Fnconc): Fix use of wrong_type_argument().
3317 * floatfns.c (Ffloat): Fix docstring.
3318 (Ffloat): Fix use of wrong_type_argument().
3320 (extract_float): Ditto.
3325 1998-12-06 Martin Buchholz <martin@xemacs.org>
3327 * frame-msw.c (mswindows_init_frame_1):
3328 - use make_lisp_hash_table, not Fmake_hash_table
3332 * alloc.c (make_vector): remove travesty
3336 (make_bit_vector_internal):
3338 (make_bit_vector_from_byte_vector):
3340 - make vector_equal a little faster.
3341 - Don't use variable name `new'.
3342 - Use size_t instead of EMACS_INT.
3343 - usual Martin-style pointless bit-twiddling.
3349 Make mapcar faster. In particular, make
3350 (mapc #'identity long-string)
3351 MUCH faster under Mule.
3352 * tests/automated/lisp-tests.el: Test 'em!
3354 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3357 1998-12-02 Didier Verna <verna@inf.enst.fr>
3359 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3360 accelerator field to nil for labels.
3362 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3364 * menubar-msw.c (displayable_menu_item):
3365 Escape occurrences of '&' and support occurrences of the
3366 '%_' accelerator indicator in menus.
3368 1998-11-26 Didier Verna <verna@inf.enst.fr>
3370 * dired.c (Fdirectory_files): use make_string instead of
3371 make_ext_string on the filename. The conversion external->internal
3372 format is already done in sys_readdir.
3374 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3376 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3378 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3381 (Belatedly) added Kirill to list of file's authors.
3382 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3383 quit checking. WM_PAINT messages cause redisplay, but
3384 windows' states are not necessarily stable when this function
3387 1998-12-17 Andy Piper <andy@xemacs.org>
3389 * strftime.c (zone_name): CONSTify.
3391 1998-12-15 Andy Piper <andy@xemacs.org>
3393 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3394 (mswindows_widget_property): return Qunbound when no property available.
3395 (mswindows_button_property): ditto.
3396 (mswindows_combo_property): ditto.
3397 (mswindows_widget_set_property): ditto.
3399 * glyphs-widget.c (check_valid_item_list): use properties.
3401 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3403 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3404 (Fimage_instance_property): ditto.
3405 * glyphs-widget.c (widget_property): ditto.
3406 (widget_set_property): ditto.
3408 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3409 as setting the class cursor so that GC actually changes the
3412 * config.h: don't undef MAIL_USE_POP.
3414 1998-12-13 Andy Piper <andy@xemacs.org>
3417 (image_instantiator_format_create_glyphs_mswindows): line ->
3419 (mswindows_label_instantiate): ditto. Play with window flags.
3420 (image_instantiator_format_create_glyphs_mswindows): ditto.
3421 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3423 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3424 cope with lines and labels.
3425 (static_instantiate): use widget_instantiate_1.
3427 (image_instantiator_format_create_glyphs_widget): ditto.
3429 1998-12-10 Andy Piper <andy@xemacs.org>
3431 * Makefile.in.in (objs): add gui.o
3433 1998-12-10 Andy Piper <andy@xemacs.org>
3435 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3438 1998-12-09 Andy Piper <andy@xemacs.org>
3440 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3441 image instance is removed so that the subwindow cache gets reset
3442 and thus destroyed images get GC'd.
3444 1998-12-08 Andy Piper <andy@xemacs.org>
3446 * gui-msw.c (mswindows_handle_gui_wm_command): call
3447 MARK_SUBWINDOWS_CHANGED.
3449 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3450 subwindows really get deleted.
3452 * redisplay.c: new variable subwindows_changed[_set].
3453 (redisplay_window): use it.
3454 (redisplay_frame): ditto.
3455 (redisplay_device): ditto.
3456 (redisplay_without_hooks): ditto.
3458 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3459 subwindows redisplay as per glyphs equivalent.
3460 * redisplay.h: ditto.
3461 (MARK_SUBWINDOWS_CHANGED): ditto.
3462 (RESET_CHANGED_SET_FLAGS): ditto.
3463 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3465 1998-12-07 Andy Piper <andy@xemacs.org>
3467 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3470 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3472 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3473 messages and paint widget glyphs as appropriate with their face fg
3476 1998-12-06 Andy Piper <andy@xemacs.org>
3478 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3479 here rather than in glyphs-widget - do this because we only want
3480 to provide what is really available.
3482 * glyphs.c (Fimage_instance_property): new function to get the
3483 properties of image instances. wires through to console specific
3484 methods and then to widget specific methods.
3485 (Fset_image_instance_property): ditto but for setting widget properties.
3486 (check_valid_face): make extern so that it can be used elsewhere.
3488 * glyphs-widget.c (widget_property): new function. gets the
3489 properties of widgets in general and wires the function through to
3490 widget specific ones.
3491 (widget_set_property): ditto but for setting widget properties.
3493 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3494 add items to the list. Play with window styles a bit to get the
3496 (mswindows_widget_property): break out specific widget properties.
3497 (mswindows_button_property): new function. gets the checked state
3499 (mswindows_combo_property): new function. gets the current
3500 selection in the combo box.
3501 (mswindows_widget_set_property): new function. sets specific
3502 properties of specific widgets.
3504 * glyphs-widget.c (check_valid_item_list): new function. check
3505 that items for a combo-box are just a list of strings.
3506 (combo_validate): new function. check there is an item list.
3507 (widget_instantiate_1): new function. renamed from
3508 widget_instantiate so that we can do slightly different things for
3510 (widget_instantiate): call widget_instantiate_1.
3511 (combo_instantiate): new function to instantiate combo boxes,
3512 defaults height to the pixel height of the number of items in the
3514 (syms_of_glyphs_widget): move widget keywords here.
3515 (image_instantiator_format_create_glyphs_widget): use new combo
3518 1998-12-04 Andy Piper <andy@xemacs.org>
3520 * event-msw.c (mswindows_wnd_proc): mule-ize.
3522 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3524 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3525 (resource_name_to_resource): ditto.
3526 (mswindows_resource_instantiate): ditto.
3527 (mswindows_widget_instantiate): ditto.
3528 (mswindows_widget_set_property): ditto.
3530 * redisplay-output.c (redisplay_output_subwindow): don't show
3531 subwindows if they are obscured at the edge of the frame, emacs
3532 gets into some sort of redisplay loop otherwise.
3534 * gui.h: prototype gui_item_selected_p.
3536 * gui.c (gui_item_selected_p): new function to determine the
3537 selected state of a gui_item.
3539 * frame.h (struct frame): add subwindows_changed flag.
3541 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3543 * glyphs.c (update_subwindow): new function to update a
3545 (update_frame_subwindows): new function to update all the
3546 subwindows on a frame.
3548 * console.h (struct console_methods): add update_subwindow.
3550 * glyphs-msw.c (mswindows_widget_property): return selected state
3551 for selected property.
3552 (mswindows_update_subwindow): new function. updates widget glyphs
3553 in redisplay as per menubars or toolbars e.g. selected state.
3554 (console_type_create_glyphs_mswindows): add update_subwindow.
3556 1998-12-03 Andy Piper <andy@xemacs.org>
3558 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3559 tty coding system things are such.
3561 * glyphs-widget.c (widget_face_font_info): new function for
3562 pulling out height and width metrics for a widget's face.
3563 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3566 * event-msw.c (mswindows_drain_windows_queue): translate messages
3567 that are destined for subwindows. This makes edit fields interact
3568 with the keyboard correctly.
3569 nuke warnings by #ifndef'ing out stuff not required by msg select().
3571 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3572 macro defining the iiforma without the symbol required by widget.
3573 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3575 * general.c (syms_of_general): add Qwidget, Qselected.
3577 * faces.c (complex_vars_of_faces): add widget face inheriting from
3580 1998-11-09 Andy Piper <andy@xemacs.org>
3582 * window.h (struct window): add a cache of subwindows on a
3585 * window.c (mark_window): mark the subwindow_instance_cache.
3586 (allocate_window): initialise the subwindow instance_cache.
3588 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3589 instead of the devmeth.
3590 (x_clear_toolbar): ditto.
3592 * redisplay-x.c (x_output_display_block): call
3593 redisplay_output_subwindow for subwindows and widgets.
3595 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3596 types to do nothing for.
3598 * lisp.h: declare new widget/subwindow symbols.
3600 * glyphs.c (image_instantiate): cache subwindows on a per-window
3602 (subwindow_possible_dest_types): new function for subwindow dest
3604 (subwindow_instantiate): generic instantiation of a
3605 subwindow. specialised by device multi-methods.
3606 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3608 (Fimage_instance_subwindow_id): ditto.
3609 (Fresize_subwindow): ditto.
3610 (Fforce_subwindow_map): ditto.
3612 * glyphs-x.c (x_print_image_instance): remove subwindow
3613 stuff. Handled genrically in glyphs.c.
3614 (x_image_instance_equal): ditto.
3615 (x_image_instance_hash): ditto.
3616 (x_finalize_image_instance): delete subwindows when required.
3617 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3618 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3619 glyph-based, subwindow implementation.
3620 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3622 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3624 (x_unmap_subwindow): new function to unmap X subwindows.
3625 (x_map_subwindow): new function to map X subwindows.
3626 (x_subwindow_instantiate): new function to instantiate X
3628 (x_resize_subwindow): new function to resize X subwindows.
3629 (console_type_create_glyphs_x): add subwindow functions.
3630 (image_instantiator_format_create_glyphs_x): add device
3631 multi-methods for xpm, xbm and subwindow.
3633 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3634 (subwindow-width): ditto.
3635 (subwindow-height): ditto.
3637 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3638 generally instantiating ms subwindows. Used by
3639 mswindows_*_instantiate.
3640 (mswindows_edit_instantiate): instantiate an edit field on a
3643 1998-11-04 Andy Piper <andy@xemacs.org>
3645 * symsinit.h: declare new functions.
3647 * redisplay.h: declare new functions.
3649 * redisplay-x.c (x_output_display_block): call
3650 redisplay_clear_region rather than x_clear_region.
3651 (x_output_string): ditto.
3652 (x_output_pixmap): ditto.
3653 (x_clear_to_window_end): ditto.
3654 (x_output_eol_cursor): ditto.
3655 (x_clear_region): only do X specific things. other duties handled
3656 in redisplay_clear_region.
3658 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3659 duties moved to redisplay_clear_region.
3661 * redisplay-output.c (clear_left_border): use
3662 redisplay_clear_region instead of device method.
3663 (clear_right_border): ditto.
3664 (output_display_line): ditto.
3665 (redisplay_output_subwindow): ditto.
3666 (redisplay_clear_top_of_window): ditto.
3667 (redisplay_clear_region): perform duties previously handled by
3668 device methods. call the appropriate device method at the
3669 end. unmap subwindows if necessary.
3671 * redisplay-msw.c (mswindows_output_string): use
3672 redisplay_clear_region instead of mswindows_clear_region.
3673 (mswindows_clear_to_window_end): ditto.
3674 (mswindows_output_display_block): output subwindows when required.
3675 (mswindows_clear_region): only do mswindows specific things,
3676 everything else is now handled in redisplay_clear_region.
3678 * gui.h: add item id hash defines and declare function prototypes.
3680 * gui.c (mark_gui_item): new function for marking gui_items.
3681 (gui_item_hash): generic hash function for generating command ids
3684 * gui-msw.c: new file.
3685 (mswindows_handle_gui_wm_command): new function to handle widget
3688 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3690 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3691 (DEFINE_DEVICE_IIFORMAT): ditto.
3692 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3693 (struct Lisp_Image_Instance): add widget and subwindow data plus
3694 appropriate access functions.
3696 * glyphs.c (decode_device_ii_format): new function for decoding
3697 image instantiator functions based on a device type as well as an
3699 (decode_image_instantiator_format): just call
3700 decode_device_ii_format with nil device.
3701 (add_entry_to_device_ii_format_list): new function for per device
3703 (add_entry_to_image_instantiator_format_list): just call
3704 add_entry_to_device_ii_format_list with nil device.
3705 (check_valid_vector): new function.
3706 (instantiate_image_instantiator): instantiate using per-format
3707 method and then per-format-per-device method (device
3708 multi-methods). signal an error if neither is possible.
3709 (mark_image_instance): cope with subwindows and widgets.
3710 (print_image_instance): ditto.
3711 (image_instance_equal): ditto.
3712 (image_instance_hash): ditto.
3713 (allocate_glyph): ditto.
3714 (glyph_width): ditto.
3715 (glyph_height_internal): ditto.
3716 (xpm_instantiate): removed because of device multi-methods.
3717 (mark_subwindow_cachels): new cachel functions for caching
3718 instantiated subwindows on a per-frame basis. mostly copied from
3719 glyph cachel functions.
3720 (update_subwindow_cachel_data): ditto.
3721 (add_subwindow_cachel): ditto.
3722 (get_subwindow_cachel_index): ditto.
3723 (reset_subwindow_cachels): ditto.
3724 (mark_subwindow_cachels_as_not_updated): ditto.
3725 (unmap_subwindow): generic unmapping of subwindows based on cachel
3727 (map_subwindow): ditto.
3728 (initialize_subwindow_image_instance): generic initialisation of
3730 (syms_of_glyphs): add widget keywords.
3732 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3735 1998-11-04 Andy Piper <andy@xemacs.org>
3737 * glyphs-widget.c: new file for instantiating widget type glyphs.
3738 (widget_possible_dest_types): new general dest type function for
3740 (widget_validate): ditto.
3741 (initialize_widget_image_instance): ditto
3742 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3743 before handing on control to device multi-methods.
3744 (syms_of_glyphs_widget): new function.
3745 (image_instantiator_format_create_glyphs_widget): new function,
3746 added placeholders for button, edit, combo, scrollbar
3747 (vars_of_glyphs_widget): new function.
3749 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3750 storing window ids of widgets.
3752 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3753 deletion of widget and subwindow glyphs.
3754 (mswindows_unmap_subwindow): new device function for unmapping
3755 subwindows on a msw frame.
3756 (mswindows_map_subwindow): ditto.
3757 (mswindows_register_image_instance): register instantiated widgets
3758 with the widget hastable.
3759 (mswindows_button_instantiate): instantiate a button type widget
3761 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3763 (image_instantiator_format_create_glyphs_mswindows): add device
3764 multi-methods for xbm, xpm, subwindow, edit and button.
3766 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3767 information about subwindows visible on the current frame. used by
3768 redisplay_clear_region to unmap subwindows as required.
3770 * frame.c (mark_frame): mark subwindow_cachels.
3771 (allocate_frame_core): instantiate subwindow_cachels.
3773 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3776 * event-msw.c (mswindows_wnd_proc): add call to
3777 mswindows_handle_gui_wm_command to handle widget callbacks.
3779 * emacs.c (main_1): add calls to glyphs-widget initialisation
3782 * console.h (struct console_methods): add
3783 unmap/map_subwindow_method for use be redisplay_clear_region to
3784 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3785 with by image instantiator multi-methods. Add
3786 resize_subwindow_method.
3788 * console-stream.c (stream_clear_region): change signature to
3789 match new generic clear region function.
3791 * Makefile.in.in: add glyphs-widget.o to list of objects.
3793 * console-msw.h (struct mswindows_frame): add widget hashtable for
3794 wiring command ids to callbacks.
3796 1998-12-16 Andy Piper <andy@xemacs.org>
3798 * XEmacs 21.2.6 is released
3800 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3802 * md5.c (Fmd5): Correctly initiate string input stream.
3804 * Makefile.in.in (tests): Add md5-tests.el.
3806 1998-12-06 Martin Buchholz <martin@xemacs.org>
3809 * alloc.c (make_vector): remove travesty
3813 (make_bit_vector_internal):
3815 (make_bit_vector_from_byte_vector):
3817 - make vector_equal a little faster.
3818 - Don't use variable name `new'.
3819 - Use size_t instead of EMACS_INT.
3820 - usual Martin-style pointless bit-twiddling.
3826 Make mapcar faster. In particular, make
3827 (mapc #'identity long-string)
3828 MUCH faster under Mule.
3829 * tests/automated/lisp-tests.el: Test 'em!
3831 1998-12-06 Martin Buchholz <martin@xemacs.org>
3833 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3836 1998-12-13 Martin Buchholz <martin@xemacs.org>
3838 * console-msw.c: Function definitions follow coding standards
3839 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3841 1998-12-11 Martin Buchholz <martin@xemacs.org>
3843 * events.h (struct timeout_data):
3844 * event-tty.c (tty_timeout_to_emacs_event):
3845 * event-msw.c (mswindows_wm_timer_callback):
3846 * event-Xt.c (Xt_timeout_to_emacs_event):
3847 * event-msw.c (mswindows_cancel_dispatch_event):
3848 Make sure Lisp_Objects inside events are initialized to Qnil, not
3849 Qnull_pointer, which is now illegal.
3851 1998-12-10 Martin Buchholz <martin@xemacs.org>
3853 * lisp.h: Fix up prototypes to match alloc.c
3855 1998-12-09 Andy Piper <andy@xemacs.org>
3857 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3858 XSETINT for assigning lisp objects.
3860 1998-12-07 Martin Buchholz <martin@xemacs.org>
3863 * console-msw.c (DHEADER):
3872 - max_align_t should not be visible to the user of the
3874 - use Bufbyte instead of char
3875 - parens around (FOOP (obj)) are always redundant.
3876 If they were necessary, we should fix the macro instead.
3877 - Always use string_data(foo) instead of foo->data.
3879 1998-12-07 Martin Buchholz <martin@xemacs.org>
3881 * sysdep.c (set_descriptor_non_blocking):
3882 Since O_NONBLOCK is now always #defined, make use of fcntl
3883 conditional on F_SETFL being defined.
3885 1998-12-09 Andy Piper <andy@xemacs.org>
3887 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3888 that got removed in the merge
3890 1998-11-30 Greg Klanderman <greg@alphatech.com>
3892 * dired.c (vars_of_dired): bugfix for previous conditionalization
3893 of user-name-completion on non- Windows NT.
3895 1998-12-08 Martin Buchholz <martin@xemacs.org>
3897 * windowsnt.h: Remove `support' for using index and rindex
3899 * filelock.c (current_lock_owner):
3900 - Change uses of index -> strchr, rindex -> strrchr
3902 1998-12-06 Martin Buchholz <martin@xemacs.org>
3904 * frame-msw.c (mswindows_init_frame_1):
3905 - use make_lisp_hash_table, not Fmake_hash_table
3908 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3910 * XEmacs 21.2.5 is released
3912 1998-11-30 Martin Buchholz <martin@xemacs.org>
3914 * xselect.c (receive_incremental_selection):
3915 * xselect.c (x_get_window_property):
3916 * xmu.c (XmuReadBitmapDataFromFile):
3917 * xmu.c (XmuCursorNameToIndex):
3918 * xgccache.c (describe_gc_cache):
3919 * xgccache.c (gc_cache_lookup):
3920 * xgccache.c (free_gc_cache):
3921 * xgccache.c (make_gc_cache):
3923 * window.c (map_windows_1):
3924 * window.c (Fother_window_for_scrolling):
3925 * window.c (window_scroll):
3926 * window.c (change_window_height):
3927 * window.c (Fsplit_window):
3928 * window.c (window_left_gutter_width):
3929 * window.c (window_modeline_height):
3930 * window.c (invalidate_vertical_divider_cache_in_window):
3931 * window.c (window_needs_vertical_divider_1):
3932 * window.c (update_mirror_internal):
3933 * window.c (SET_LAST_FACECHANGE):
3934 * widget.c (Fwidget_plist_member):
3935 * unexec.c (copy_text_and_data):
3936 * unexcw.c (copy_executable_and_dump_data_section):
3938 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3939 * tooltalk.c (struct Lisp_Tooltalk_Message):
3940 * toolbar.h (struct toolbar_button):
3941 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3942 * toolbar.c (recompute_overlaying_specifier):
3943 * toolbar.c (toolbar_validate):
3944 * toolbar.c (toolbar_button_at_pixpos):
3945 * toolbar.c (get_toolbar_coords):
3946 * toolbar.c (update_frame_toolbars):
3948 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3949 * toolbar-msw.c (mswindows_find_toolbar_pos):
3950 * toolbar-msw.c (mswindows_output_toolbar):
3951 * toolbar-msw.c (mswindows_clear_toolbar):
3960 * sysdep.c (sys_fopen):
3961 * sysdep.c (sys_open):
3962 * sysdep.c (tty_init_sys_modes_on_device):
3963 * sysdep.c (get_eof_char):
3964 * sysdep.c (child_setup_tty):
3965 * sysdep.c (set_descriptor_non_blocking):
3967 * syntax.c (scan_words):
3970 * symeval.h (struct symbol_value_varalias):
3971 * symeval.h (struct symbol_value_forward):
3972 * symbols.c (syms_of_symbols):
3973 * symbols.c (init_symbols_once_early):
3974 * symbols.c (Fbuilt_in_variable_type):
3975 * symbols.c (Fsymbol_value_in_buffer):
3976 * symbols.c (default_value):
3978 * symbols.c (find_symbol_value_quickly):
3979 * symbols.c (store_symval_forwarding):
3980 * symbols.c (set_default_console_slot_variable):
3981 * symbols.c (set_default_buffer_slot_variable):
3982 * symbols.c (verify_ok_for_buffer_local):
3983 * symbols.c (symbol_is_constant):
3984 * symbols.c (oblookup):
3985 * symbols.c (Funintern):
3986 * symbols.c (Fintern):
3987 * symbols.c (check_obarray):
3989 * specifier.h (struct specifier_methods):
3991 * specifier.c (specifier_instance):
3992 * specifier.c (specifier_instance_from_inst_list):
3993 * specifier.c (decode_locale_type):
3994 * specifier.c (specifier_equal):
3995 * specifier.c (finalize_specifier):
3996 * specifier.c (prune_specifiers):
3997 * specifier.c (kill_specifier_buffer_locals):
3998 * sound.c (init_native_sound):
4001 * search.c (Fmatch_data):
4002 * search.c (match_limit):
4003 * search.c (Freplace_match):
4004 * search.c (skip_chars):
4005 * search.c (scan_buffer):
4007 * scrollbar.c (specifier_vars_of_scrollbar):
4008 * scrollbar.c (Fscrollbar_set_hscroll):
4009 * scrollbar.c (vertical_scrollbar_changed_in_window):
4010 * scrollbar.c (release_window_mirror_scrollbars):
4011 * scrollbar.c (free_scrollbar_instance):
4014 * s/msdos.h (O_BINARY):
4016 * s/freebsd.h (LIBS_TERMCAP):
4017 * regex.c (re_match_2_internal):
4018 * regex.c (compile_extended_range):
4019 * regex.c (POP_FAILURE_POINT):
4020 * regex.c (PUSH_FAILURE_POINT):
4021 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4023 * redisplay.h (struct display_line):
4024 * redisplay.h (struct rune):
4025 * redisplay.c (vars_of_redisplay):
4026 * redisplay.c (redisplay_variable_changed):
4027 * redisplay.c (UPDATE_CACHE_RETURN):
4028 * redisplay.c (validate_line_start_cache):
4029 * redisplay.c (mark_redisplay_structs):
4030 * redisplay.c (mark_glyph_block_dynarr):
4031 * redisplay.c (window_line_number):
4032 * redisplay.c (redisplay_frame):
4033 * redisplay.c (redisplay_window):
4034 * redisplay.c (generate_modeline):
4035 * redisplay.c (create_right_glyph_block):
4036 * redisplay.c (create_left_glyph_block):
4037 * redisplay.c (create_text_block):
4039 * redisplay-x.c (x_output_hline):
4040 * redisplay-x.c (x_output_vertical_divider):
4041 * redisplay-tty.c (tty_output_display_block):
4042 * redisplay-output.c (output_display_line):
4043 * redisplay-output.c:
4044 * redisplay-msw.c (mswindows_output_vertical_divider):
4045 * redisplay-msw.c (mswindows_ring_bell):
4046 * redisplay-msw.c (mswindows_output_cursor):
4050 * puresize.h (RAW_PURESIZE):
4051 * profile.c (syms_of_profile):
4052 * profile.c (Fstart_profiling):
4053 * profile.c (sigprof_handler):
4056 * process.c (vars_of_process):
4057 * process.c (read_process_output):
4058 * process.c (get_process):
4060 * process-unix.c (unix_open_multicast_group):
4061 * process-unix.c (unix_get_tty_name):
4062 * process-unix.c (unix_send_process):
4063 * process-unix.c (unix_reap_exited_processes):
4064 * process-unix.c (unix_create_process):
4065 * process-unix.c (unix_init_process_io_handles):
4066 * process-unix.c (allocate_pty):
4068 * process-nt.c (nt_open_network_stream):
4069 * process-nt.c (nt_update_status_if_terminated):
4070 * process-nt.c (nt_finalize_process_data):
4072 * print.c (debug_short_backtrace):
4073 * print.c (debug_backtrace):
4074 * print.c (print_symbol):
4075 * print.c (print_internal):
4076 * print.c (print_cons):
4077 * print.c (Fwrite_char):
4078 * print.c (print_prepare):
4079 * print.c (canonicalize_printcharfun):
4080 * print.c (output_string):
4083 * opaque.c (allocate_managed_opaque):
4085 * offix.c (DndSetData):
4086 * objects.c (face_boolean_create):
4087 * objects.c (font_instantiate):
4088 * objects.c (font_create):
4089 * objects.c (color_create):
4090 * objects.c (finalize_font_instance):
4091 * objects.c (finalize_color_instance):
4093 * objects-x.c (x_font_instance_truename):
4095 * objects-x.c (x_initialize_font_instance):
4096 * objects-x.c (allocate_nearest_color):
4097 * objects-tty.c (tty_initialize_font_instance):
4098 * objects-tty.c (tty_initialize_color_instance):
4099 * objects-msw.c (mswindows_initialize_color_instance):
4100 * ntproc.c (syms_of_ntproc):
4101 * ntproc.c (Fwin32_set_process_priority):
4102 * ntproc.c (sys_spawnve):
4104 * ntheap.c (get_data_end):
4108 * nt.c (generate_inode_val):
4109 * nt.c (sys_rename):
4111 * mule-wnnfns.c (Fwnn_hinsi_number):
4112 * mule-wnnfns.c (Fwnn_yuragi):
4113 * mule-wnnfns.c (Fwnn_common_learn):
4114 * mule-wnnfns.c (Fwnn_suffix_learn):
4115 * mule-wnnfns.c (Fwnn_prefix_learn):
4116 * mule-wnnfns.c (Fwnn_okuri_learn):
4117 * mule-wnnfns.c (Fwnn_complex_conv):
4118 * mule-wnnfns.c (Fwnn_last_is_first):
4119 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4120 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4121 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4122 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4123 * mule-wnnfns.c (Fwnn_hinsi_list):
4124 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4125 * mule-wnnfns.c (Fwnn_dict_search):
4126 * mule-wnnfns.c (Fwnn_word_toroku):
4127 * mule-wnnfns.c (Fwnn_hindo_update):
4128 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4129 * mule-wnnfns.c (Fwnn_kakutei):
4130 * mule-wnnfns.c (Fwnn_begin_henkan):
4131 * mule-wnnfns.c (Fwnn_dict_comment):
4132 * mule-wnnfns.c (Fwnn_dict_add):
4133 * mule-wnnfns.c (Fwnn_open):
4134 * mule-mcpath.c (mc_getcwd):
4135 * mule-coding.c (vars_of_mule_coding):
4136 * mule-coding.c (convert_to_external_format):
4137 * mule-coding.c (encoding_marker):
4138 * mule-coding.c (decoding_marker):
4139 * mule-coding.c (Fcopy_coding_system):
4140 * mule-coding.c (Fmake_coding_system):
4141 * mule-coding.c (Fcoding_system_list):
4142 * mule-coding.c (Ffind_coding_system):
4143 * mule-coding.c (symbol_to_eol_type):
4145 * mule-charset.c (complex_vars_of_mule_charset):
4146 * mule-charset.c (vars_of_mule_charset):
4147 * mule-charset.c (Fset_charset_ccl_program):
4148 * mule-charset.c (struct charset_list_closure):
4149 * mule-charset.c (Ffind_charset):
4150 * mule-charset.c (make_charset):
4151 * mule-charset.c (non_ascii_valid_char_p):
4153 * mule-ccl.c (ccl_driver):
4154 * mule-canna.c (c2mu):
4155 * mule-canna.c (Fcanna_henkan_begin):
4156 * mule-canna.c (Fcanna_parse):
4157 * mule-canna.c (Fcanna_store_yomi):
4158 * mule-canna.c (Fcanna_touroku_string):
4159 * mule-canna.c (Fcanna_initialize):
4161 * menubar.c (menu_parse_submenu_keywords):
4162 * menubar-x.c (make_dummy_xbutton_event):
4163 * menubar-x.c (set_frame_menubar):
4164 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4167 * menubar-msw.c (mswindows_popup_menu):
4168 * menubar-msw.c (mswindows_update_frame_menubars):
4169 * menubar-msw.c (mswindows_handle_wm_command):
4170 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4171 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4172 * menubar-msw.c (update_frame_menubar_maybe):
4173 * menubar-msw.c (populate_or_checksum_helper):
4174 * menubar-msw.c (empty_menu):
4177 * marker.c (set_marker_internal):
4178 * marker.c (print_marker):
4181 * lstream.c (lisp_buffer_rewinder):
4182 * lstream.c (mark_lstream):
4184 * lrecord.h (struct lrecord_header):
4185 * lread.c (readevalloop):
4186 * lread.c (locate_file):
4187 * lread.c (locate_file_in_directory):
4188 * lread.c (Flocate_file):
4189 * lread.c (load_force_doc_string_unwind):
4190 * lread.c (ebolify_bytecode_constants):
4195 * linuxplay.c (linux_play_data_or_file):
4196 * linuxplay.c (audio_init):
4199 * keymap.c (describe_map):
4200 * keymap.c (describe_map_mapper):
4201 * keymap.c (Fdescribe_bindings_internal):
4202 * keymap.c (Fsingle_key_description):
4203 * keymap.c (map_keymap_sorted):
4204 * keymap.c (get_relevant_keymaps):
4205 * keymap.c (Flookup_key):
4206 * keymap.c (raw_lookup_key_mapper):
4207 * keymap.c (Fdefine_key):
4208 * keymap.c (Fevent_matches_key_specifier_p):
4209 * keymap.c (key_desc_list_to_event):
4210 * keymap.c (define_key_parser):
4211 * keymap.c (define_key_check_and_coerce_keysym):
4212 * keymap.c (keymap_submaps):
4213 * keymap.c (keymap_store_internal):
4214 * keymap.c (keymap_delete_inverse_internal):
4215 * keymap.c (keymap_store_inverse_internal):
4216 * keymap.c (print_keymap):
4217 * keymap.c (Lisp_Keymap):
4220 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4221 * insdel.c (make_gap):
4222 * input-method-xlib.c (get_XIM_input):
4223 * input-method-xlib.c (XIM_init_frame):
4228 * gui-x.c (button_item_to_widget_value):
4229 * gui-x.c (popup_selection_callback):
4230 * glyphs.h (struct image_instantiator_methods):
4231 * glyphs.c (mark_glyph_cachels):
4232 * glyphs.c (Fglyph_type):
4233 * glyphs.c (image_instantiate):
4234 * glyphs.c (image_create):
4235 * glyphs.c (make_image_instance_1):
4236 * glyphs.c (finalize_image_instance):
4238 * glyphs-x.c (finalize_subwindow):
4239 * glyphs-x.c (xface_validate):
4240 * glyphs-x.c (x_locate_pixmap_file):
4241 * glyphs-x.c (convert_EImage_to_XImage):
4243 * glyphs-msw.c (mswindows_resource_instantiate):
4244 * glyphs-msw.c (xpm_to_eimage):
4245 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4246 * glyphs-eimage.c (tiff_instantiate):
4247 * glyphs-eimage.c (png_instantiate):
4248 * glyphs-eimage.c (struct png_error_struct):
4249 * glyphs-eimage.c (gif_memory_storage):
4252 * getloadavg.c (getloadavg):
4255 * free-hook.c (log_gcpro):
4256 * free-hook.c (check_malloc):
4257 * free-hook.c (check_free):
4258 * free-hook.c (ROUND_UP_TO_PAGE):
4260 * frame.h (struct frame):
4262 * frame.c (change_frame_size_1):
4263 * frame.c (allocate_frame_core):
4265 * frame-x.c (x_focus_on_frame):
4266 * frame-x.c (x_init_frame_2):
4267 * frame-x.c (x_popup_frame):
4268 * frame-x.c (xemacs_XtPopup):
4270 * frame-x.c (Foffix_start_drag_internal):
4271 * frame-x.c (x_cde_destroy_callback):
4272 * frame-x.c (x_wm_hack_wm_protocols):
4273 * frame-tty.c (tty_frame_visible_p):
4274 * frame-msw.c (mswindows_make_frame_invisible):
4275 * frame-msw.c (mswindows_after_init_frame):
4276 * frame-msw.c (mswindows_init_frame_1):
4277 * fns.c (syms_of_fns):
4278 * fns.c (Fbase64_decode_string):
4280 * fns.c (Ffillarray):
4281 * fns.c (Fobject_plist):
4283 * fns.c (Fcanonicalize_lax_plist):
4284 * fns.c (Fcanonicalize_plist):
4285 * fns.c (Fplist_remprop):
4286 * fns.c (Fplist_get):
4287 * fns.c (advance_plist_pointers):
4288 * fns.c (internal_plist_put):
4289 * fns.c (Fnreverse):
4292 * fns.c (Fsubstring):
4293 * fns.c (Fbvconcat):
4295 * fns.c (length_with_bytecode_hack):
4296 * fns.c (print_bit_vector):
4298 * floatfns.c (Ffloor):
4300 * floatfns.c (in_float_error):
4301 * fileio.c (Ffile_modes):
4302 * fileio.c (Fexpand_file_name):
4303 * fileio.c (Fmake_temp_name):
4304 * fileio.c (Ffile_name_nondirectory):
4305 * fileio.c (Ffile_name_directory):
4307 * file-coding.c (vars_of_mule_coding):
4308 * file-coding.c (convert_to_external_format):
4309 * file-coding.c (encoding_marker):
4310 * file-coding.c (decoding_marker):
4311 * file-coding.c (Fcopy_coding_system):
4312 * file-coding.c (Fmake_coding_system):
4313 * file-coding.c (struct coding_system_list_closure):
4314 * file-coding.c (Ffind_coding_system):
4315 * file-coding.c (symbol_to_eol_type):
4317 * faces.h (struct face_cachel):
4318 * faces.c (vars_of_faces):
4319 * faces.c (face_property_was_changed):
4320 * faces.c (mark_face_cachels):
4321 * faces.c (temporary_faces_list):
4322 * faces.c (struct face_list_closure):
4324 * extents.h (struct extent):
4325 * extents.c (vars_of_extents):
4326 * extents.c (struct copy_string_extents_1_arg):
4327 * extents.c (add_string_extents_mapper):
4328 * extents.c (Fextent_property):
4329 * extents.c (Fset_extent_property):
4330 * extents.c (symbol_to_glyph_layout):
4331 * extents.c (properties_equal):
4332 * extents.c (print_extent):
4333 * extents.c (print_extent_1):
4334 * extents.c (extent_in_region_p):
4335 * extents.c (gap_array_make_gap):
4337 * events.h (struct Lisp_Event):
4339 * events.c (Fevent_properties):
4340 * events.c (format_event_object):
4341 * events.c (Fmake_event):
4342 * events.c (event_equal):
4343 * events.c (print_event):
4344 * events.c (mark_event):
4345 * event-stream.c ((read-char)
4346 * event-stream.c (vars_of_event_stream):
4347 * event-stream.c (syms_of_event_stream):
4348 * event-stream.c (Fset_recent_keys_ring_size):
4349 * event-stream.c (Fsit_for):
4350 * event-stream.c (Fnext_event):
4351 * event-stream.c (execute_help_form):
4352 * event-stream.c (maybe_kbd_translate):
4354 * event-msw.c (vars_of_event_mswindows):
4355 * event-msw.c (mswindows_wnd_proc):
4356 * event-msw.c (mswindows_need_event):
4357 * event-msw.c (mswindows_drain_windows_queue):
4358 * event-msw.c (mswindows_pump_outstanding_events):
4360 * event-msw.c (slurp_thread):
4361 * event-msw.c (struct ntpipe_slurp_stream):
4362 * event-msw.c (HANDLE_TO_USID):
4363 * event-Xt.c (emacs_Xt_handle_magic_event):
4364 * event-Xt.c (x_event_to_emacs_event):
4365 * event-Xt.c (x_reset_modifier_mapping):
4366 * event-Xt.c (x_reset_key_mapping):
4368 * eval.c (syms_of_eval):
4369 * eval.c (warn_when_safe):
4370 * eval.c (warn_when_safe_lispobj):
4371 * eval.c (Fbacktrace_frame):
4372 * eval.c (Fbacktrace):
4373 * eval.c (top_level_set):
4374 * eval.c (unbind_to_hairy):
4375 * eval.c (specbind_magic):
4376 * eval.c (specbind_unwind_wasnt_local):
4377 * eval.c (call2_trapping_errors):
4378 * eval.c (call1_trapping_errors):
4379 * eval.c (catch_them_squirmers_call2):
4380 * eval.c (call0_trapping_errors):
4381 * eval.c (run_hook_trapping_errors):
4382 * eval.c (catch_them_squirmers_eval_in_buffer):
4383 * eval.c (call4_in_buffer):
4384 * eval.c (call3_in_buffer):
4385 * eval.c (call2_in_buffer):
4386 * eval.c (call1_in_buffer):
4387 * eval.c (call0_in_buffer):
4388 * eval.c (run_hook):
4389 * eval.c (run_hook_with_args_in_buffer):
4392 * eval.c (do_autoload):
4393 * eval.c (un_autoload):
4394 * eval.c (Fautoload):
4395 * eval.c (Finteractive_p):
4396 * eval.c (Fcommand_execute):
4397 * eval.c (signal_quit):
4398 * eval.c (call_with_suspended_errors):
4399 * eval.c (signal_error):
4400 * eval.c (return_from_signal):
4401 * eval.c (Fcall_with_condition_handler):
4402 * eval.c (run_condition_case_handlers):
4403 * eval.c (condition_case_1):
4404 * eval.c (Funwind_protect):
4405 * eval.c (unwind_to_catch):
4406 * eval.c (internal_catch):
4407 * eval.c (Fmacroexpand_internal):
4408 * eval.c (Fuser_variable_p):
4409 * eval.c (Fdefconst):
4411 * eval.c (Ffunction):
4412 * eval.c (signal_call_debugger):
4413 * eval.c (call_debugger):
4416 * emacs.c (sort_args):
4420 * editfns.c (Fencode_time):
4421 * editfns.c (Fdecode_time):
4422 * editfns.c (Fuser_full_name):
4424 * editfns.c (save_excursion_restore):
4427 * doprnt.c (emacs_doprnt_1):
4428 * doc.c (verify_doc_mapper):
4429 * doc.c (Fsnarf_documentation):
4430 * doc.c (Fdocumentation):
4432 * dired.c (user_name_completion):
4433 * dired.c (Fdirectory_files):
4436 * dgif_lib.c (FreeSavedImages):
4437 * dgif_lib.c (DGifGetImageDesc):
4439 * device.h (struct device):
4440 * device.c (Fselect_device):
4441 * device.c (allocate_device):
4443 * device-x.c (Fx_keysym_on_keyboard_p):
4444 * device-x.c (Fx_valid_keysym_name_p):
4445 * device-x.c (x_IO_error_handler):
4446 * device-x.c (x_delete_device):
4447 * device-x.c (x_finish_init_device):
4448 * device-x.c (x_init_device):
4450 * device-msw.c (mswindows_init_device):
4452 * database.c (vars_of_database):
4453 * database.c (Fput_database):
4454 * database.c (Fopen_database):
4455 * database.c (berkdb_remove):
4456 * database.c (berkdb_put):
4457 * database.c (Fdatabasep):
4458 * database.c (print_database):
4460 * data.c (vars_of_data):
4461 * data.c (syms_of_data):
4462 * data.c (init_errors_once_early):
4463 * data.c (prune_weak_lists):
4464 * data.c (finish_marking_weak_lists):
4465 * data.c (print_weak_list):
4467 * data.c (Fstring_to_number):
4468 * data.c (Fnumber_to_string):
4469 * data.c (Findirect_function):
4472 * data.c (Fsubr_interactive):
4474 * data.c (Fkeywordp):
4477 * console.h (CONSOLE_NAME):
4479 * console.c (vars_of_console):
4480 * console.c (Fselect_console):
4482 * console-x.h (DEVICE_X_COLORMAP):
4483 * console-x.h (struct x_device):
4484 * console-x.c (x_device_to_console_connection):
4485 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4486 * console-tty.c (tty_init_console):
4488 * console-msw.h (struct mswindows_frame):
4491 * cmds.c (internal_self_insert):
4492 * cmds.c (Fforward_line):
4493 * cmds.c (Fforward_char):
4496 * chartab.c (mark_char_table_entry):
4498 * casefiddle.c (casify_word):
4499 * callproc.c (child_setup):
4500 * callproc.c (Fcall_process_internal):
4502 * callint.c (Fcall_interactively):
4504 * bytecode.c (execute_rare_opcode):
4505 * bytecode.c (execute_optimized_program):
4508 * buffer.h (BUFFER_REALLOC):
4509 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4510 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4512 * buffer.h (MAP_INDIRECT_BUFFERS):
4513 * buffer.h (CHECK_LIVE_BUFFER):
4514 * buffer.c (init_initial_directory):
4515 * buffer.c (complex_vars_of_buffer):
4516 * buffer.c (vars_of_buffer):
4517 * buffer.c (finish_init_buffer):
4518 * buffer.c (Fget_file_buffer):
4519 * buffer.c (Fbuffer_list):
4520 * buffer.c (mark_buffer):
4521 * balloon_help.c (balloon_help_move_to_pointer):
4522 * balloon_help.c (show_help):
4525 * alloc.c (garbage_collect_1):
4526 * alloc.c (sweep_strings):
4527 * alloc.c (sweep_compiled_functions):
4528 * alloc.c (sweep_bit_vectors_1):
4529 * alloc.c (sweep_vectors_1):
4530 * alloc.c (sweep_lcrecords_1):
4531 * alloc.c (tick_lcrecord_stats):
4532 * alloc.c (pure_string_sizeof):
4533 * alloc.c (mark_conses_in_list):
4534 * alloc.c (mark_object):
4535 * alloc.c (report_pure_usage):
4536 * alloc.c (make_pure_float):
4537 * alloc.c (make_pure_string):
4538 * alloc.c (free_managed_lcrecord):
4539 * alloc.c (mark_string):
4540 * alloc.c (noseeum_make_marker):
4541 * alloc.c (allocate_event):
4542 * alloc.c (Fbit_vector):
4543 * alloc.c (Fvector):
4544 * alloc.c (make_float):
4545 * alloc.c (Fmake_list):
4547 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4548 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4549 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4550 * alloc.c (dbg_constants):
4551 * alloc.c (gc_record_type_p):
4552 * alloc.c (free_lcrecord):
4553 * alloc.c (xmalloc):
4554 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4556 * Makefile.in.in (mostlyclean):
4557 * Makefile.in.in (external_client_xlib_objs_nonshared):
4558 * Makefile.in.in (temacs_link_args):
4559 * Makefile.in.in (release):
4560 * Makefile.in.in (dnd_objs):
4561 * Makefile.in.in (objs):
4562 * Makefile.in.in (PROGNAME):
4563 * EmacsShell.c: cast strings to (XtPointer)
4564 * EmacsFrame.c: cast strings to (XtPointer)
4566 - rewrite basic lisp functions for speed
4567 - rewrite bytecode interpreter for speed
4568 - rewrite list looping constructs for speed and safety using
4570 - use size_t where appropriate.
4571 - new hashtable implementation
4572 - cleanup implementation of opaques
4573 - opaques can now be purecopy'ed
4574 - move some cl functionality into C for speed.
4575 - remove last remaining VMS support
4577 - improve gdb/dbx debugger support
4578 - move pure.c back into alloc.c for performance
4579 - enable report_pure_usage() if --memory-usage-stats
4580 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4581 - don't use symbols with leading `_' or embedded `__'
4582 - globally cleanup duplicated semicolons `;;'
4583 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4585 - globally replace O_NDELAY with O_NONBLOCK.
4586 - globally replace CDISABLE with _POSIX_VDISABLE.
4587 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4588 - define (and maybe use!) STDERR_FILENO and friends.
4589 - add support for macros defined in C
4590 - `when', `unless', `not' and `defalias' now defined in C,
4591 so that they are universally available.
4592 - rename defvar_mumble to defvar_magic
4593 - rename RETURN__ to RETURN_SANS_WARNINGS
4594 - use consistent style of initial caps in error messages
4595 - implement last, butlast, nbutlast, copy-list in C.
4596 - provide typedefs for all struct Lisp_foo types
4597 - Lisp_Objects must be initialized to Qnil rather than 0.
4598 - make sure XEmacs runs (slowly) with always_gc == 1;
4599 - fast and safe LOOP_* macros
4600 - change calls to XSETOBJ to XSETFOO
4601 - replace calls to XSETINT by make_int()
4602 - plug up memory leaks
4603 - use style markobj (foo), not silly ((markobj) (foo))
4604 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4606 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4608 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4610 1998-11-28 SL Baur <steve@altair.xemacs.org>
4612 * XEmacs 21.2-beta4 is released.
4614 1998-11-27 SL Baur <steve@altair.xemacs.org>
4616 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4617 property in control-1 charset.
4618 From Julian Bradfield <jcb@daimi.au.dk>
4620 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4622 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4624 Add stub for :label.
4626 * gui.c (gui_item_add_keyval_pair): ditto.
4628 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4629 :key-sequence keyword.
4631 Support :active for submenus like the Windows code and FSF Emacs.
4633 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4635 * dired.c (make_directory_hash_table): make_string() is OK because
4636 readdir() Mule-encapsulates.
4638 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4640 * fns.c (Fbase64_encode_string): Fix docstring.
4641 (Fbase64_decode_string): Ditto.
4643 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4645 * editfns.c (Ftranslate_region): Use
4646 convert_bufbyte_string_into_emchar_string().
4648 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4650 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4652 (Ftranslate_region): Turn table into an array of Emchars for
4655 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4657 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4659 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4661 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4662 type `char' with nils.
4664 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4665 for tables of type `char'.
4667 1998-11-26 Didier Verna <verna@inf.enst.fr>
4669 * input-method-xlib.c (Initialize_Locale): don't call
4670 XtSetLanguageProc. We've done the whole work here.
4671 * input-method-xfs.c (Initialize_Locale): ditto.
4672 * input-method-motif.c (Initialize_Locale): ditto.
4674 1998-11-26 Didier Verna <verna@inf.enst.fr>
4676 * process-unix.c (unix_create_process): handle properly
4677 Vfile_name_coding_system for converting the program and directory
4680 1998-11-27 SL Baur <steve@altair.xemacs.org>
4682 * m/arm.h: New file.
4683 From James LewisMoss <dres@ioa.com>
4685 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4688 Fix the realpath() problem of UnixWare2.1.3.
4689 Patches for NEC's sysv4.2 machine.
4691 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4693 * dired.c (Fdirectory_files): Remove redundant code.
4695 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4697 * fns.c (free_malloced_ptr): New function.
4698 (XMALLOC_OR_ALLOCA): New macro.
4699 (XMALLOC_UNBIND): Ditto.
4700 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4701 to be freed in case of non-local exit.
4702 (Fbase64_encode_string): Ditto.
4703 (Fbase64_decode_region): Ditto.
4704 (Fbase64_decode_string): Ditto.
4705 (STORE_BYTE): New macro.
4706 (base64_decode_1): Use it.
4708 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4710 * fns.c (base64_value_to_char): Base64 stuff.
4712 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4714 * editfns.c (Fbuffer_substring): New function.
4716 * lisp.h: Declare make_string_from_buffer_no_extents().
4718 * insdel.c (make_string_from_buffer_1): New function.
4719 (make_string_from_buffer_no_extents): Ditto.
4721 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4723 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4724 sound work on AIX with OSS installed. Linux should still work.
4726 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4728 * config.h.in: name change for cygwin/version.h
4730 * configure.in: check for cygwin/version.h now.
4732 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4733 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4734 move cygwin32/version.h to cygwin/version.h
4736 1998-11-03 Olivier Galibert <galibert@pobox.com>
4738 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4741 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4743 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4744 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4745 enable BROKEN_SIGIO under b20 to make QUIT work.
4747 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4749 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4750 to fit within the constraints of the screen size. I.e. make the
4751 frame small enough to fit and move it if some of it will be
4754 1998-10-19 Greg Klanderman <greg@alphatech.com>
4756 * dired.c: conditionalize inclusion of user-name-completion
4757 primitives on non-Windows NT. The needed functions don't exist on NT.
4759 1998-11-24 SL Baur <steve@altair.xemacs.org>
4761 * gifrlib.h: Clean up types for 64 bit compile.
4762 * dgif_lib.c (DGifInitRead): Ditto.
4763 (MakeSavedImage): Ditto.
4764 * emacs.c (decode_path): Ditto.
4765 From Steve Carney <carney@pa.dec.com>
4767 1998-10-16 William M. Perry <wmperry@aventail.com>
4769 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4770 (cehckboxes instead of checkboxes).
4772 1998-10-15 SL Baur <steve@altair.xemacs.org>
4774 * XEmacs 21.2-beta3 is released.
4776 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4778 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4779 gnuclient. Otherwise, we run xemacs as we always did. This gets
4780 rid of the annoying DOS window when running gnuclient.
4782 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4784 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4785 HAVE_MS_WINDOWS typo.
4787 1998-10-13 SL Baur <steve@altair.xemacs.org>
4789 * process-unix.c (unix_send_process): Set closed flag on writable
4790 pipe after SIGPIPE is received and before we call deactivate_process.
4792 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4794 * window.c (Fset_window_start): respect narrowing when
4795 checking wheter start is at the beginning of a line.
4796 (Fset_window_buffer): Ditto
4797 Fixes repeatable crash in VM.
4799 1998-10-09 SL Baur <steve@altair.xemacs.org>
4801 * window.c (specifier_vars_of_window): Set default vertical
4802 divider width to 1 on ttys.
4804 1998-10-08 Martin Buchholz <martin@xemacs.org>
4809 Add <stddef.h> to get ptrdiff_t declaration
4811 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4813 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4814 is used for Motif or Lucid scrollbars under X.
4816 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4818 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4821 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4823 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4825 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4827 * s/cygwin32.h: more cygwin b20 reorganisation.
4829 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4831 * nas.c: Added necessary support functions to be able to handle
4832 WAVE files in memory, just like the support for SND files in
4835 1998-09-30 SL Baur <steve@altair.xemacs.org>
4837 * callproc.c (child_setup): Fix spelling typo.
4839 1998-09-29 SL Baur <steve@altair.xemacs.org>
4841 * XEmacs 21.2-beta2 is released.
4843 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4845 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4846 to prevent memory corruption in the case of jumping out of a series of
4847 nested match patterns. This is a rather brute force approach, though.
4849 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4851 * config.h.in: ditto.
4853 * s/cygwin32.h: rearrange declarations to cope with cygwin
4854 b20. Include cygwin32/version.h if it exists.
4856 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4858 * device-msw.c (mswindows_init_device): Call new
4859 mswindows_enumerate_fonts() function in objects-msw.c instead
4860 of font_enum_callback_1() to enumerate fonts.
4862 font_enum_callback_1() and _2() moved to objects-msw.c.
4864 * faces.c (complex_vars_of_faces): Make the mswindows default
4865 face font fully specified and provide some fallbacks.
4867 * objects-msw.c: font_enum_callback_1() and _2() moved here
4868 from objects-msw.c. Obtain the enumerated font's character
4869 sets by table lookup instead of using the locale-specific
4870 string provided by Windows.
4872 New public non-method mswindows_enumerate_fonts() that fills
4873 in the supplied mswindows device's font list.
4875 mswindows_initialize_font_instance: Use the supplied name
4876 variable instead of f->name when signalling errors. Match font
4877 weights and character sets using lookup tables which handle
4878 spaces instead of by frobbing.
4880 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4882 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4883 on the size of code fragments passed to run_in_other_process.
4885 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4886 the amount of memory to allocate in the other process.
4888 Removed sigkill_code_end(), sigint_code_end() and
4889 sig_enable_code_end() since they are now redundant.
4891 send_signal() and enable_child_signals(): Don't try to work
4892 out the end of the code fragments passed to
4893 run_in_other_process()
4895 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4897 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4900 * src/unexelf.c: Partially synched with FSF's 20.3.
4902 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4904 * insdel.c (signal_after_change): Map across indirect buffers
4905 here, and not in the upper-level functions.
4906 (signal_first_change): Don't check for Armageddon.
4907 (signal_before_change): Map across indirect buffers here.
4908 (prepare_to_modify_buffer): ...and here.
4910 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4912 * insdel.c (signal_after_change): Add return value.
4913 (buffer_insert_string_1): Use it.
4914 (buffer_delete_range): Ditto.
4915 (buffer_replace_char): Ditto.
4916 (cancel_multiple_change): Map the indirect buffers.
4918 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4920 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4921 (uninit_buffer_text): Ditto.
4923 * buffer.c (Fmake_indirect_buffer): Implement stricter
4926 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4928 * insdel.c (change_function_restore): Reverse order of
4929 function-call and assignment.
4930 (first_change_hook_restore): Ditto.
4932 * extents.c (mark_extent_auxiliary): Mark them.
4933 (Fset_extent_property): Set them.
4934 (Fextent_property): Get them.
4935 (Fextent_properties): Ditto.
4936 (vars_of_extents): Set their default.
4938 * extents.h (struct extent_auxiliary): Add before_change_functions
4939 and after_change_functions.
4941 * insdel.c (signal_before_change): Use it.
4942 (signal_after_change): Ditto.
4944 * extents.c (report_extent_modification): New function.
4946 * insdel.c (signal_before_change): Don't check for Armageddon.
4947 (signal_after_change): Ditto.
4949 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4951 * redisplay.c (redisplay_window): make sure a new starting point
4952 is chosen if it somehow got moved from the beginning of the line
4953 -- this can happen because Fwiden was called recently.
4955 * window.c (Fset_window_start): set start_at_line_beg correctly
4956 (Fset_window_buffer): Ditto
4958 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4960 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4961 (uninit_buffer_text): Ditto.
4963 * buffer.c (Fmake_indirect_buffer): Implement stricter
4966 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4968 * emacs.c (main_1): Removed references to *vars_of_filelock.
4970 * lisp.h: Added Fsystem_name.
4972 * filelock.c: Replaced by version from FSF 20.2. Now implements
4973 locking by using symlinks which is NFS safe. However keep the
4974 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4975 version (and of course use ansi C, acessor macros, etc).
4977 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4979 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4980 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4981 in init_signals_very_early. However these should not be passed
4982 on to children attached to the new pty.
4984 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4986 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4988 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4990 * fileio.c (file-name-directory, file_name_as_directory):
4991 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4993 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4995 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4997 * ralloc.c: uncomment __morecore.
4999 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5001 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5002 WriteFile() to fix a winsock 1.x bug on Win95.
5004 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5006 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5008 (x_event_to_emacs_event): Ditto.
5009 (emacs_Xt_handle_focus_event): Ditto.
5010 (emacs_Xt_handle_magic_event): Ditto.
5012 * console-x.h (struct x_device): New flag being_deleted.
5013 (DEVICE_X_BEING_DELETED): New macro.
5015 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5016 returning. Before doing that, set the being_deleted flag on the
5019 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5021 * device-x.c (x-seppuku-on-epipe): Removed.
5023 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5025 * frame-x.c (x_delete_frame): Flush the X output buffer after
5026 calling XtDestroyWidget to ensure that the windows are really
5029 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5031 * menubar-x.c (my_run_hook): New unused function.
5032 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5033 since we ignore the results of the contained functions anyway.
5035 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5037 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5038 interlaced GIF files that are smaller than 4 lines high...
5040 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5042 * buffer.c (map_over_sharing_buffers): Deleted.
5044 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5046 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5049 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5051 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5053 (buffer_delete_range): Ditto.
5055 * marker.c (init_buffer_markers): Set point-marker to the value of
5056 point in an indirect buffer.
5058 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5060 * undo.c (undo_prelude): Test last-undo-buffer against base
5063 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5065 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5067 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5069 * insdel.c (init_buffer_text): Initialize it here.
5071 * line-number.c: Address line_number_cache through buffer->text.
5073 * buffer.c (mark_buffer): Mark line number cache.
5075 * bufslots.h (line_number_cache): Move to struct buffer_text.
5077 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5078 across the children buffers.
5079 (buffer_delete_range): Ditto.
5080 (buffer_replace_char): Ditto.
5084 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5086 * buffer.c (Fmake_indirect_buffer): Uncomment.
5088 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5090 * macros.c (Fend_kbd_macro): Remove trailing period from error
5092 (Fexecute_kbd_macro): Ditto.
5094 1998-08-21 Greg Klanderman <greg@alphatech.com>
5096 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5097 (Fuser_name_completion_1): new function to return uniqueness
5098 indication in addition to the user name completion.
5099 (user_name_completion): change type of `uniq' argument.
5101 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5103 * lread.c (vars_of_lread): Removed `source-directory' variable.
5105 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5107 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5110 1998-08-19 SL Baur <steve@altair.xemacs.org>
5112 * dired.c (vars_of_dired): Fix misapplied patch.
5114 1998-08-16 Martin Buchholz <martin@xemacs.org>
5116 * fns.c (Fremrassq, remrassq_no_quit):
5117 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5119 1998-07-17 Didier Verna <verna@inf.enst.fr>
5121 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5122 style as foreground GC for faces that have the `dim' property.
5123 (x_output_string): when the `dim' face property is set,
5124 ensure the gray pixmap has been created, and get a proper
5125 foreground GC to draw the text.
5127 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5129 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5130 Manually track the state of the left and right Ctrl and Alt
5133 1998-08-07 Matt Stupple <matts@tibco.com>
5135 * ntproc.c: don't wait on char_consumed at thread entry.
5136 Additionally, to get the 'process' marked as finished, ensure
5137 that the CHILD_ACTIVE macro returns false, so before exiting
5138 close char_avail and set it to NULL, and close other handles
5139 to reduce handle leak problems.
5141 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5143 * menubar-msw.c (displayable_menu_item): take account of menu
5144 depth when deciding whether to try to display accelerators.
5146 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5148 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5151 * glyphs-msw.c: fix a couple of potential handle leaks.
5153 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5155 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5156 *decoding ONLY* back into the core.
5157 * glyphs-eimage.c: Change referenced header file for GIF
5158 reading to point to the incore version.
5160 1998-07-20 Martin Buchholz <martin@xemacs.org>
5162 * casefiddle.c (casify_object):
5163 Change algorithm from O(N**2) to O(N).
5167 1998-07-22 Greg Klanderman <greg@alphatech.com>
5169 * dired.c (file_name_completion_unwind): don't leak the cons.
5171 1998-07-20 Greg Klanderman <greg@alphatech.com>
5173 * dired.c (Fuser_name_completion): new function.
5174 (Fuser_name_all_completions): new function.
5175 (user_name_completion): new function.
5176 (syms_of_dired): 2 new DEFSUBRs.
5177 (vars_of_dired): initialize user name cache vars.
5179 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5181 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5182 colors taken from the default face. Also correct a thinko in
5183 transparency (not alpha) handling.
5185 1998-07-23 Martin Buchholz <martin@xemacs.org>
5187 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5188 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5189 * lread.c (Fload_internal): Be very careful with printfs of
5191 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5194 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5196 * callint.c (Fcall_interactively): GCPRO prompt string before
5197 passing it to Fread_key_sequence
5199 1998-07-27 SL Baur <steve@altair.xemacs.org>
5201 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5202 Vvertical_divider_map.
5204 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5205 Qnil or 0, none were initialized prior to this change.
5207 Rename misnamed `V' prefixed integer variables:
5208 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5209 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5210 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5211 Vcanna_ichiran_revLen.
5213 Rename misnamed `V' prefixed integer variables and initialize
5214 properly in the vars_of routine.
5215 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5216 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5217 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5218 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5219 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5220 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5221 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5222 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5223 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5224 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5225 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5226 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5227 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5228 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5229 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5230 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5231 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5232 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5233 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5234 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5235 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5236 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5237 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5238 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5239 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5240 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5241 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5242 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5243 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5244 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5245 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5246 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5247 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5248 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5249 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5250 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5251 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5252 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5253 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5254 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5255 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5256 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5257 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5258 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5259 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5260 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5262 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5264 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5265 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5266 keys thus no longer considering all keysyms on a key.
5268 1998-07-19 SL Baur <steve@altair.xemacs.org>
5270 * XEmacs 21.2-beta1 is released.
5272 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5274 * eldap.c (Fldap_search_internal): When converting the list of
5275 attributes to search Copy the final 0 from Lisp strings to C
5277 Check base, not Vldap_default_base as a a string
5279 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5281 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5283 * unexnt.c: Unconditionally define bss_start and bss_size, and
5284 ensure that they don't go in the .bss section.
5286 1998-07-17 Olivier Galibert <galibert@pobox.com>
5288 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5289 byte order is dependant of the local byte order).
5290 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5292 1998-07-18 SL Baur <steve@altair.xemacs.org>
5294 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5295 Qmswindows_resource.
5296 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5298 1998-07-12 SL Baur <steve@altair.xemacs.org>
5300 * general.c (syms_of_general): Add defsymbol for Qresource.
5302 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5303 Qmswindows_resource.
5304 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5305 (mswindows_resource_validate): Rename.
5306 (mswindows_resource_normalize): Rename.
5307 (mswindows_resource_possible_dest_types): Rename.
5308 (mswindows_resource_instantiate): Rename.
5309 (image_instantiator_format_create_glyphs_mswindows): Replace
5310 `resource' with `mswindows.resource'.
5312 * XEmacs 21.0-pre5 is released.
5314 1998-07-10 SL Baur <steve@altair.xemacs.org>
5316 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5317 server type in environment.
5318 Use alloca-ed strings instead of tiny fixed size ones.
5320 1998-07-09 SL Baur <steve@altair.xemacs.org>
5322 * XEmacs 21.0-pre4 is released.
5324 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5326 * fileio.c: (expand_file_name): under win32: Don't treat names
5327 as UNC names if a drive letter has been specified. If a drive
5328 has been specified, strip out extra directory-seperators that
5329 reportedly cause problems under Win95.
5331 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5333 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5334 MSVC >= 5.0. Put emacs init and zero-init data in a special
5335 section of the executable when this is defined.
5337 * unexnt.c, ntheap.h:
5338 Removed unused find_section() and get_section_size().
5341 Fix up the executable's checksum after dumping otherwise the
5343 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5344 zero-init data separately from init data. Dump emacs data
5345 into a special section of the executable.
5346 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5347 my_ebss instead of up to the end of bss.
5349 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5351 * filelock.c: Removed Vconfigure_lock_directory - already
5354 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5355 defined in frame.c and general.c respectively.
5357 * glyphs-msw.c: Removed Qresource - already defined in
5360 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5362 * eldap.c (Fldap_search_internal): Docstring fixes
5364 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5366 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5367 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5368 EMACSPACKAGEPATH and INFOPATH variables.
5369 Removed unused get_emacs_configuration function.
5371 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5372 it is now defined at build-time by the makefile.
5374 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5376 * fileio.c: (expand_file_name): under win32: Don't treat names as
5377 UNC names if a drive letter has been specified. If a drive has
5378 been specified, strip out extra directory-seperators that
5379 reportedly cause problems under Win95.
5381 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5383 * faces.c (complex_vars_of_faces): for the gui-element face don't
5384 fallback to the default face, instead provide reasonable default
5385 fallbacks that were previously hardcoded elsewhere.
5387 1998-07-06 Olivier Galibert <galibert@pobox.com>
5389 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5390 when the X server endianness is different than the client's one.
5392 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5394 * eval.c (run_hook_with_args_in_buffer): Check
5395 default (non-buffer-local) value of hook for
5396 nil before treating it as a function. Don't initialize
5397 the `globals' variable twice.
5399 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5401 * fileio.c: Don't do directory seperator canonicalisation in
5402 substitute-in-file-name because we don't know that the
5403 filename refers to a local file.
5405 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5407 * process-nt.c (nt_create_process): Try appending the standard
5408 executable file extensions to the filename if none supplied.
5410 1998-06-29 SL Baur <steve@altair.xemacs.org>
5412 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5414 From Keisuke Mori <ksk@ntts.com>
5416 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5418 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5419 images if we have masks. This handles the xbm case (have masks)
5420 and avoids overuse of resources in the xpm case (generally no masks).
5421 Don't output small toolbars.
5423 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5425 * eval.c (run_hook_with_args_in_buffer): Don't treat
5426 the default value of a buffer local hook as a list of
5427 hooks unless it is both a cons and the car of that cons
5430 1998-06-29 SL Baur <steve@altair.xemacs.org>
5432 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5433 * process-unix.c: Ditto.
5434 * mule-coding.h: Ditto.
5435 * mule-coding.c: Ditto.
5436 * mule-charset.c: Ditto.
5437 * mule-charset.h: Ditto.
5438 * file-coding.c: Ditto.
5439 * file-coding.h: Ditto.
5441 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5443 * event-msw.c: Guard against recursion when freeing
5444 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5446 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5447 Call ShowWindow twice in init_frame_3 to get round runemacs
5450 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5452 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5454 * winslots.h: Rename.
5456 * window.c (specifier_vars_of_window): Renamed
5457 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5458 as suggested by Ben Wing.
5459 (specifier_vars_of_window): Fix docstrings.
5461 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5463 * unexaix.c: Line number information works correctly again.
5465 1998-06-22 Olivier Galibert <galibert@pobox.com>
5467 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5469 1998-06-21 Martin Buchholz <martin@xemacs.org>
5471 * editfns.c (get_home_directory): ANSIfy.
5472 XEmacs is compilable under C *and* C++.
5473 It's XEmacs, not Xemacs!
5475 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5477 * console-msw.h: added a list of fonts to device data.
5479 * device-msw.c: enumerate list of available fonts in
5480 mswindows_init_device. Free list in mswindows_delete_device.
5482 * objects-msw.c: Added helper function match_font used by
5483 mswindows_initialize_font_instance and mswindows_list_fonts.
5484 Allow a charset to be specified in a font string, even if
5485 previous fields havn't been specified.
5487 1998-06-23 Greg Klanderman <greg@alphatech.com>
5489 * indent.c (column_at_point): column cache bugfix.
5490 Set last_known_column_point to the buffer position for
5491 which the column was requested, not buffer's point.
5493 * redisplay.c (decode_mode_spec): for current-column, show
5494 window's point's column, not buffer's point's column.
5496 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5498 * menubar-msw.c (mswindows_handle_wm_command): use
5499 enqueue_misc_user event rather than
5500 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5503 * console-msw.h: declare mswindows_enqueue_magic_event.
5505 * event-msw.c (mswindows_enqueue_magic_event): make global.
5507 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5509 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5510 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5511 (add_position_to_cache): Use EMACS_INT instead of int.
5513 1998-06-21 Olivier Galibert <galibert@pobox.com>
5515 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5516 suitable for an int used as a boolean (btw, C sucks.).
5518 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5520 * object-msw.c: remove warnings.
5522 * device-msw.c: #define wrongly named cygwin structure elements.
5524 * s/cygwin32.h: define DEMI_BOLD
5526 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5528 * redisplay-msw.c: new function mswindows_apply_face_effects.
5529 This is called by output_string and output_cursor to display
5530 underline and strikeout on faces.
5532 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5534 * console-msw.h: added a list of fonts to device data.
5536 * device-msw.c: enumerate list of available fonts in
5537 mswindows_init_device. Free list in mswindows_delete_device.
5539 * objects-msw.c: Added helper function match_font used by
5540 mswindows_initialize_font_instance and mswindows_list_fonts.
5541 Allow a charset to be specified in a font string, even if
5542 previous fields havn't been specified.
5544 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5547 Removed compilation warnings from mswindows_string_to_color.
5548 mswindows_list_fonts returns a more general bogus font.
5549 New lisp-visible function mswindows-color-list.
5551 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5553 * editfns.c (Fuser_login_name): Modify to user new function
5555 (user_login_name): C only function to avoid Lisp object overhead
5556 Returns "unknown" instead of nil in Cygwin environment
5558 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5559 equivalent for current user in Cygwin environment. Use new
5560 function user_login_name to get username.
5562 * lisp.h: Declare user_login_name
5564 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5566 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5568 Some other insignificant nitpicks.
5570 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5572 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5573 creating the image list and make sure he bk color is transparent.
5575 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5577 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5578 completed_timeouts. The timer could have expired.
5580 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5582 * console-msw.h: move XEMACS_RECT_WH inside frame
5583 parameters. define macors to access it.
5585 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5586 parameter to intialise desired sizing. (mswindows_init_frame_2):
5587 enable and size the frame to something sensible when we get
5588 here. (mswindows_set_frame_properites): use new
5589 mswindows_size_frame_internal function and size frame if frame
5590 parameters not just if init is finished - WM_SIZE happens too
5591 early for some specs. (mswindows_size_frame_internal): new
5592 function abstracted from mswindows_set_frame_properties.
5593 (Vmswindows_use_system_frame_size_defaults):
5594 new variable controls whether to allow the system to pick frame
5595 size defaults, defaults to nil.
5597 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5598 than duplicated code.
5600 1998-06-15 Colin Rafferty <colin@xemacs.org>
5602 * Makefile.in.in: Made EXTW_LINK expand properly.
5604 1998-06-12 Martin Buchholz <martin@xemacs.org>
5606 * redisplay.c (vars_of_redisplay): default value of
5607 column-number-start-at-one should be NIL!
5609 1998-06-11 Martin Buchholz <martin@xemacs.org>
5612 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5614 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5616 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5617 build_string to avoid crashes under Mule.
5619 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5621 * ntplay.c (play_sound_data_1): don't delete the sound data until
5622 the next sound is played and the previous one finished.
5624 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5626 * fileio.c (directory-sep-char): Escape backslashes.
5628 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5630 * event-stream.c: Fix docstring reference.
5632 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5634 * alloc.c (make_float): Remove useless initialization of `next'
5636 (make_pure_float): Ditto.
5638 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5640 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5642 * fileio.c (Fmake_directory_internal): Remove conditionals
5643 on WINDOWSNT when calling mkdir.
5645 * ntproc.c: Deleted the following unused functions:
5646 register_child, reap_subprocess, sys_wait.
5648 * nt.c (sys_rename): Ifzeroed this implementation.
5649 Deleted the following unused functions:
5650 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5651 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5652 sys_read, sys_write.
5653 Merger sys_fopen and sys_open with sysdep.c implementation.
5655 * sysdep.c: Removed MS-DOS code.
5656 (sys_rename): Deal with Microsoft rename weirdness.
5657 (sys_open): Implemented for Windows.
5661 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5663 * buffer.c (complex_vars_of_buffer): Removed %t description from
5666 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5668 * scrollbar-msw.c: initialize the cbSize element of the
5669 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5670 to ignore the value of cbSize, but Win95 (and I presume Win98)
5671 appear to want it set to sizeof(SCROLLINFO).
5673 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5675 * event-stream.c: Defined Qcancel_mode_internal.
5676 (syms_of_event_stream): defsymbol'ed it.
5678 * events.h: Externed it.
5680 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5682 1998-06-04 Oliver Graf <ograf@fga.de>
5684 * frame-x.c (x_cde_destroy_callback): free the data
5685 (cde-start-drag-internal) corrected root position, 21.1 needs this
5686 hardcoded in Button events
5687 (offix-start-drag-internal) corrected root position
5689 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5691 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5694 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5696 * dialog-msw.c (button_width): Removed `inline' from the function
5699 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5701 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5702 Note that adding this flag to subsequent frames causes problems.
5704 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5706 * glyphs-eimage.c (png_instantiate) move 'struct
5707 png_memory_storage tbr' out of nested block to avoid dangling
5710 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5713 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5714 inherits from gui-element.
5716 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5717 with existing code, generate masks correctly.
5719 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5721 * glyphs-eimage.c: Changed included header for gifs to use
5722 Gifreader instead of giflib.
5724 * glyphs-x.c: removed the image-related functions that were
5725 moved into glyphs-eimage.
5727 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5729 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5730 if built without X Windows support.
5732 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5734 * fns.c (Fconcat): Synch docstring with new reality.
5736 1998-06-03 SL Baur <steve@altair.xemacs.org>
5738 * frame.c: Remove reference to msdos.h (which is going away).
5739 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5741 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5743 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5747 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5749 * events.h: Fixed commentary about misc-user scrollbar events.
5751 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5752 object as an event channel, instead of window object.
5753 (x_update_horizontal_scrollbar_callback): Ditto.
5755 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5757 * ntplay.c (play_sound_data_1) new function. convert alloca data
5758 to malloc if necessary.
5759 (play_sound_file): if the file is not in our path then convert to
5762 1998-06-01 SL Baur <steve@altair.xemacs.org>
5764 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5765 * msdos.c (Frecent_doskeys): Ditto.
5767 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5768 Suggested by Reggie Perry <perry@zso.dec.com>
5770 * buffer.h: Eliminate size in declaration.
5772 1998-06-01 Olivier Galibert <galibert@pobox.com>
5774 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5776 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5778 * gui.c (gui_item_init): Changed the default value for config member
5779 from Qunbound to Qnil.
5781 1998-06-01 Greg Klanderman <greg@alphatech.com>
5783 * indent.c (vmotion_pixels): Don't #define abs().
5785 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5787 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5790 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5792 * glyphs.h: add xbm declarations.
5794 * console.h: add xbm_instantiate_method device method.
5796 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5797 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5798 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5799 locate_pixmap_file device method and read_bitmap_data_from_file
5800 instead of XmuReadBitmapDataFromFile.
5801 (xbm_instatntiate): make a device method.
5803 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5804 new function that just calls XmuReadBitmapDataFromFile.
5805 (x_xbm_instatntiate): device method from xbm_instantiate.
5807 * glyphs-msw.c (read_bitmap_data) (NextInt)
5808 (read_bitmap_data_from_file): new functions copied from Xmu
5810 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5811 inline data to an mswindows bitmap.
5812 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5813 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5816 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5818 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5819 `modeline-visible-p'.
5820 Declared specifier lisp variables at the beginning oh the file
5823 * procimpl.h (struct process_methods): Changed semantics of
5824 create_process method so it accepts lisp strings instead of
5827 * process.c (Fstart_process_internal): Moved building of
5828 unix style argv from here to process-unix.c, ...
5830 * process-unix.c (unix_create_process): ... right here.
5832 * process-nt.c (nt_create_process): Changed this function to
5833 support new semantics, so avoided a GC problem.
5835 * events.c (Fmake_event): Document misc-user events properties.
5836 (Fmake_event): Do not allow arbitrary objects for channel property
5837 of misc-user events.
5838 (Fmake_event): Change misc-user event validation: it is function
5839 which is required, not button.
5841 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5843 (mswindows_enqueue_misc_user_event): Added function.
5844 (mswindows_bump_queue): Removed function.
5845 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5846 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5847 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5848 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5849 really nothing, which is my personal favorite thing.
5851 * console-msw.h: Removed prototype for mswindows_bump_queue().
5852 Added prototype for mswindows_enqueue_misc_user_event().
5854 * menubar-msw.c (mswindows_handle_wm_command): Use
5855 mswindows_enqueue_misc_user_event().
5857 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5859 * dialog-msw.c (dialog_proc): Ditto.
5861 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5862 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5863 user events channel.
5865 1998-05-29 Greg Klanderman <greg@alphatech.com>
5867 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5868 incorrect semantics of vmotion_pixels which has been fixed. don't
5869 use it anymore as it can't easily be used.
5871 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5872 the motion was reported incorrectly if you tried to go past end of
5875 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5877 * toolbar.h: Removed misleading commentary, as Martin suggested.
5879 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5881 * lisp.h: Extern Qactivate_menubar_hook.
5883 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5886 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5888 * glyphs-msw.c: use BPLINE macro.
5890 * select-msw.c (mswindows-selection-exists-p)
5891 (mswindows-delete-selection): doc string fixes.
5893 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5894 unpressable. warning elimination.
5896 1998-05-28 Martin Buchholz <martin@xemacs.org>
5898 * alloc.c (dbg_constants):
5901 Remove toolbar_data debugging code, since that lrecord has
5904 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5906 * alloc.c: zap cached value of (user-home-directory), so that
5909 * buffer.c: From init_buffer(), separated out code that
5910 determined the initial directory for the *scratch* buffer, and
5911 put them into a function called "init_initial_directory()".
5912 The initial directory is now available as a global "char *"
5913 called initial_directory.
5915 * buffer.h: Added extern entries for initial_directory[] and
5916 init_initial_directory().
5918 * editfns.c: added new elisp function "user-home-directory",
5919 which basically returns getenv("HOME"), but attempts to use
5920 other values if $HOME isn't set.This may have to be tweaked in
5921 the future as, under Unix, "/" is used if $HOME isn't set (this
5922 probably should be set to the current directory). To support
5923 this, a new C function, "get_home_directory()", now exists,
5924 which returns the "home directory", as a "char *" string.
5926 * emacs.c: Rearrange NT initialization order so that
5927 environment/registry variables will be properly entered into
5928 Vprocess_enviroment.
5930 * fileio.c: replaced egetenv("HOME") with calls to the new
5931 get_home_directory().
5933 * lisp.h: Added function prototypes for uncache_home_directory()
5934 and get_home_directory(), along with lisp prototypes for
5935 Fuser_home_directory() and friends.
5937 * nt.c: replaced getenv("HOME") with calls to the new
5938 get_home_directory().
5940 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5941 warnings about getcwd(), etc. not having prototypes.
5943 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5945 * process-nt.c (send_signal): Emulate SIGHUP.
5946 (validate_signal_number): Ditto.
5948 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5949 remove MOD_SHIFT from ASCII characters.
5950 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5953 1998-05-24 Oliver Graf <ograf@fga.de>
5955 * frame-x.c (cde-start-drag-internal): added filename and multi-
5957 (x_cde_convert_callback) dito
5959 1998-05-26 Oliver Graf <ograf@fga.de>
5961 * frame-x.c: include event-mod.h also with CDE
5962 (x_cde_convert_callback) made the thing working
5963 (cde-start-drag-internal) also debugging
5965 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5972 - add __OpenBSD__ where __NetBSD__ was found.
5973 - TODO: replace platform-specific conditional compilation by
5974 feature tests in configure.in.
5976 1998-05-15 Greg Klanderman <greg@alphatech.com>
5978 * window.c (Fwindow_displayed_text_pixel_height): New function.
5979 (syms_of_window): DEFSUBR it.
5981 * indent.c (Fvertical_motion_pixels): New function - request
5983 (vmotion_pixels): helper.
5984 (syms_of_indent): DEFSUBR.
5985 * lisp.h: declaration for vmotion_pixels().
5987 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5988 to request returning motion in pixels.
5989 (Fvertical_motion_pixels): Remove, functionality merged into
5991 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5992 (Fmove_to_window_line): ditto.
5993 * lisp.h: Change declaration for Fvertical_motion.
5995 * window.c: rename window-text-pixel-{height,width,edges} to
5996 window-text-area-pixel-*.
5998 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6000 * tooltalk.c (vars_of_tooltalk) added staticpro for
6001 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6003 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6005 * faces.c: create a new 3d_object_face, make modeline and
6006 vertical_divider faces fallback to this rather than the default.
6008 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6010 * s/cygwin32.h: define charsets for cygwin.
6012 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6014 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6015 and coordinates. resize bitmaps if we have already settled on a
6018 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6020 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6022 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6024 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6028 * gui-x.c (popup_selection_callback): Ditto.
6030 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6032 * gui.c (get_callback): Renamed to get_gui_callback.
6034 1998-05-17 Martin Buchholz <martin@xemacs.org>
6036 * glyphs.h: order rearrangement.
6038 * device-tty.c (tty_asynch_device_change): Warning suppression.
6039 * device-x.c (x_device_system_metrics): Warning suppression.
6040 Make Doc strings consistent with coding standards.
6042 1998-05-24 Martin Buchholz <martin@xemacs.org>
6044 * general.c: multiple definition of `Qicon'. general.c seems
6045 like a good home for Qicon.
6047 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6049 * This patch is to fix compilation warnings under Windows.
6051 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6052 Added prototypes for FSF inherited functions, with which XEmacs is
6053 sprinkled thoroughly.
6054 Removed some #if 0 code. Bracketed some more definitions, probably
6055 related to Visual C versions prior to 4 (we do not support them).
6057 * sysfloat.h (logb): Finally, get logb() prototyped.
6059 * sysfile.h: Added Windows specific includes.
6060 Removed old Windows specific code bracketed with #if 0.
6062 * sysdep.h: Added prototype for xrealpath().
6064 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6066 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6067 vars_of_dired_mswindows and init_ntproc (Grrr).
6069 * realpath.c: Added Windows specific include files.
6070 (xrealpath): Conditionalized declaration of some auto variables on
6071 S_IFLNK, to avoid warnings.
6073 * ntproc.c: Disabled some compiler warnings. This file is going to
6074 die, so I have not cleaned it up much.
6075 (set_process_dir): Const parameter.
6076 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6077 (Fwin32_long_file_name): Ditto.
6078 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6081 * nt.h: Added prototypes for set_process_dir and convert_time.
6083 * nt.c: More include files.
6084 (getpwnam): Consted char* argument.
6085 (get_emacs_configuration): Const return value.
6086 (opendir): Const argument.
6087 (stat): Casted converstion long->short.
6088 (stat): Removed ad hoc and questionable support for non-MSC compile.
6089 (sys_pipe): Removed unused auto variable.
6090 (_sys_read_ahead): Removed calls to DebPrint.
6091 (sys_read): Ditto, in 2 places.
6092 (term_ntproc): Added unused int parameter to signal handler, to
6093 avoid a warning when compiling a call to signal().
6094 (msw_sigset): Properly return old signandler or NULL instead of void.
6096 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6098 * gmalloc.c (morecore): Ditto.
6099 (_free_internal): Ditto.
6101 * lread.c (parse_integer): Ditto.
6103 * dired-msw.c: Added several include files.
6105 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6106 of Compilers to Shut Up.
6108 * callproc.c: Added #includes to suppress warnings under Windows.
6109 (init_callproc): Removed #if0'ed code and unused variables.
6111 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6113 * device-msw.c (mswindows_device_system_metrics): do planes in a
6114 way consistent with X.
6116 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6117 use SetPixel, use DIBits functions.
6118 (xpm_to_eimage): frob colors more closely like xpm deos.
6120 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6121 to be closer to X version.
6123 * event-msw.c: use tooltip string directly.
6125 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6127 * objects-msw.c: frob rgb colors that only Kyle uses.
6129 * dialog-msw.c (button_width): INLINE -> inline.
6131 1998-05-23 SL Baur <steve@altair.xemacs.org>
6133 * getloadavg.c (getloadavg): Fix typo.
6135 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6137 * objects-msw.c (mswindows_initialize_font_instance): Added support
6138 for font character sets.
6139 Replaced 'XXX' with '####' in comments throughout the file.
6141 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6143 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6144 console_type_create_dialog_mswindows(), to initialize Windows dialog
6147 * symsinit.h: Prototyped the above functions.
6149 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6150 checks to dialog.c...
6152 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6153 device must support dialog boxes, and the descriptor must supply at
6156 * dialog-msw.c: New file, dialogs for Windows.
6158 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6160 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6161 (Fldap_search_internal): Removed unused variable `err'
6163 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6166 1998-05-17 Martin Buchholz <martin@xemacs.org>
6168 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6169 defined. Therefore there is no need to handle the case when
6170 HAVE_LDAP is undefined. Similarily, there is no reason to have
6171 any code wrapped within `#ifdef emacs', since this code is only
6172 useful within an emacs. This simplifies the code significantly.
6174 * inline.c: Include eldap.h only if HAVE_LDAP.
6175 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6178 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6180 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6181 printing dump stats when building without DEBUG_XEMACS.
6182 (dump_bss_and_heap): Ditto.
6184 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6186 * gnuclient.c: don't suppress window system if there is no display
6187 and we are running under mswindows. send 'mswindows device type if
6188 we are in this situation.
6190 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6193 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6195 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6198 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6200 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6201 {top,bottom}-{left,right} values in addition to
6202 {top,bottom}_{left,right}.
6204 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6206 * fileio.c (Fmake_temp_name): Remove unreached code.
6208 * process-nt.c (validate_signal_number): Use
6209 signal_simple_error().
6211 1998-05-19 Martin Buchholz <martin@xemacs.org>
6214 * sound.c (vars_of_sound):
6215 * sysdep.c (reset_sigio_on_device):
6216 * window.c (window_bottom_gutter_height):
6217 unexhp9k800.c:258: warning: implicit declaration of function
6218 `calculate_checksum'
6219 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6220 sysdep.c:1012: warning: unused variable `owner'
6221 window.c:993: warning: `window_right_toolbar_width' defined but not used
6223 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6225 * glyphs-msw.c (mswindows_create_resized_mask)
6226 (mswindows_create_resized_bitmap): new funnctions split out from
6227 mswindows_resize_dibitmap_instance.
6229 * glyphs-msw.h: declare new resize functions.
6231 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6232 functions so that the original bitmaps are preserved.
6234 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6236 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6237 color if we are trying to output 0 depth bg pixmap.
6239 * scrollbar-msw.c: warning elimination.
6241 1998-05-18 Martin Buchholz <martin@xemacs.org>
6243 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6244 directives in column 1.
6246 * search.c (skip_chars): Avoid using xzero with arrays, since some
6247 compilers get confused by the construct &array.
6249 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6252 * objects-msw.c: Changed the charset value for a new font from
6253 "don't care" to "ansi".
6255 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6257 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6259 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6260 modifier on control chars.
6261 Use IsCharAlpha() instead of isaplha().
6263 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6265 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6267 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6269 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6270 charset when creating font.
6271 (mswindows_initialize_color_instance): Do not create brush along
6273 (mswindows_finalize_color_instance): Do not delete it then.
6275 * objects-msw.h (struct mswindows_color_instance_data): Removed
6276 brush slot, and corresponding accessor macro.
6278 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6280 * toolbar.c: Removed toolbar_data lrecord implementation.
6281 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6282 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6283 (compute_frame_toolbar_buttons): Ditto.
6284 (CHECK_TOOLBAR): Ditto.
6285 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6286 (update_frame_toolbars): Do not check for changed buffer
6287 here. Toolbar information is provided by cached specs in
6288 windows. The check for buffer is eliminated becuase toolbars are
6289 marked changed in set_frame_selected_window() in frame.c
6290 Added check for changed toolbars geometry.
6291 (compute_frame_toolbars_data): Removed unused second parameter;
6292 Adjusted callers of this static function throughout the file.
6293 (init_frame_toolbars): Initialize current_toolbar_size.
6294 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6295 what is its current expansion, for clarity.
6296 (init_frame_toolbars): Ditto.
6297 (init_device_toolbars): Ditto.
6298 (init_global_toolbars): Ditto.
6300 * toolbar.h: Removed definition of toolbar_data lrecord.
6301 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6302 FRAME_CURRENT_TOOLBAR_SIZE.
6303 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6305 * toolbar-x.c (x_output_toolbar): The same change as in
6307 (x_output_toolbar): Ditto.
6308 (x_redraw_exposed_toolbar): Ditto.
6310 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6311 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6312 (mswindows_output_toolbar): Ditto.
6313 (mswindows_output_toolbar): Ditto.
6315 * frame.c (mark_frame): Removed marking of arrays, according to
6316 frameslots.h change.
6317 (nuke_all_frame_slots): Ditto.
6318 (set_frame_selected_window): Mark toolbars changed when
6319 last_nonminibuf_window changes.
6321 * frame.h (struct frame): Moved some slots to frameslots.h.
6322 Added current_toolbar_size array.
6323 Changed references from toolbar_data to toolbar_buttons in macros
6324 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6325 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6326 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6328 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6329 Moved arrays of lisp objects here from frame.h: toolbar_size,
6330 toolbar_visible_p, toolbar_border_width.
6331 Removed toolbar_data slot and added toolbar_buttons.
6333 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6335 * symsinit.h: Externed syms_of_process_nt()
6337 * emacs.c (main_1): Call syms_of_process_nt()
6339 * process-nt.c: Quote process arguments by a call to Lisp function
6340 `nt-quote-process-args'.
6341 (syms_of_process_nt): New function.
6342 (nt_send_process): Flush data stream after each write, to avoid
6343 leaving buffered data.
6344 (nt_send_process): When blocked on process output, wait for
6345 process to slurp more for progressively increasing time intervals.
6347 1998-05-17 Martin Buchholz <martin@xemacs.org>
6349 * window.c (have_undivided_common_edge): Make file-local function
6351 (map_windows): Return 0 if all map functions successful.
6354 * winslots.h: Use unlikely names for local variables in macros to
6355 avoid shadowing warnings.
6357 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6359 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6360 so that we re-output if the toolbar size has changed.
6362 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6364 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6366 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6368 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6371 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6373 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6374 get bitmap manifest constants defined.
6376 * console-msw.h: Include system files in angle brackets, not in
6379 * window.c (specifier_vars_of_window): Fixed a typo in
6380 `vertical-divider-line-width' docstirng.
6382 1998-05-16 Olivier Galibert <galibert@pobox.com>
6384 * line-number.c (delete_invalidate_line_number_cache): Use an
6386 (buffer_line_number): Remove dangerous, plain wrong when using
6387 64bits emacs ints, cast.
6389 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6391 * cmds.c (Fforward_line): Use EMACS_INTs.
6393 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6394 (scan_buffer): Ditto.
6395 (bi_find_next_newline_no_quit): Remove useless cast.
6396 (find_next_newline_no_quit): Ditto.
6397 (find_next_newline): Ditto.
6398 (find_before_next_newline): Use an EMACS_INT.
6400 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6402 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6404 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6406 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6408 * gui-x.c (popup_selection_callback): Use it.
6410 * gui.h (get_callback): Declare it.
6412 * gui.c (get_callback): New function.
6414 1998-05-15 SL Baur <steve@altair.xemacs.org>
6416 * window.c (have_undivided_common_edge): Guard scrollbar specific
6418 (window_needs_vertical_divider_1): Ditto.
6420 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6422 * emacs.c (decode_path): Eliminate compiler warning.
6423 (Fdecode_path): Renamed to Fsplit_path.
6424 (Fsplit_string_by_char): New function.
6426 1998-05-14 Damon Lipparelli <lipp@primus.com>
6428 * winslots.h: close comment
6430 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6432 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6434 * bufslots.h: Removed buffer_file_type slot.
6436 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6438 (complex_vars_of_buffer): Removed buffer-file-type variable and
6439 its default reference.
6441 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6443 * faces.c (complex_vars_of_faces): Defined
6444 Vvertical_divider_face.
6445 (vars_of_faces): Staticpro it.
6447 * faces.h: Externed Vvertical_divider_face.
6449 * redisplay-x.c (x_output_vertical_divider): Use
6450 Vvertical_divider_face to draw the divider instead of modeline
6453 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6454 divider face using Vvertical_divider_face background.
6455 Fix drawing spacing gaps around the divider.
6457 1998-05-14 Didier Verna <verna@inf.enst.fr>
6459 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6460 values for the vertical divider line width and spacing. Use the
6461 cached values from the window structure instead.
6462 (x_divider_width): ditto.
6464 * window.c (specifier_vars_of_window): new specifiers:
6465 vertical-divier -line-width and -spacing.
6466 (vertical_divider_global_width_changed): formerly known as
6467 vertical_divider_shadow_thickness_changed.
6469 * winslots.h: new slots: vertical_specifier _line_width and
6470 _spacing. Plus corrected a comment typo.
6472 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6474 * window.h: Declared window_divider_width().
6476 * console-stream.c (stream_divider_width): Removed method.
6477 (console_type_create_stream): And declaration for it.
6479 * redisplay.c (pixel_to_glyph_translation): Use
6480 window_divider_width() instead of divider_width redisplay method.
6481 (pixel_to_glyph_translation): Fix top divider edge calculation
6482 when scrollbar is on top.
6484 * window.c (window_divider_width): New function, an outphaser for
6485 divider_width redisplay method.
6486 (window_right_gutter_width): Use it.
6487 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6488 specifiers, set fallback values differently on TTYs, and document
6489 the behavior of these on TTYs in the docstrings.
6491 * scrollbar.c (update_scrollbar_instance): Use
6492 window_divider_width() instead of divider_width redisplay method.
6494 * console.h (struct console_methods): Removed divider_width_method.
6496 * redisplay-tty.c (tty_divider_width): Removed device method.
6497 (console_type_create_redisplay_tty): Removed definition for it.
6498 (tty_output_vertical_divider): Respect the value returned by
6499 window_divider_width thus divider line width specification.
6501 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6502 (console_type_create_redisplay_mswindows): Removed definition for it.
6503 (mswinodws_output_vertical_divider): Respect the value returned by
6504 window_divider_width thus divider line width specification.
6506 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6508 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6510 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6512 * glyphs-msw.c: resource loading implementation.
6513 (cursor_normalize): new function.
6514 (cursor_validate): ditto.
6515 (cursor_instantiate): ditto.
6516 (cursor_name_to_resource): ditto.
6517 (cursor_possible_dest_types): ditto.
6518 (check_valid_symbol): ditto.
6519 (check_valid_string_or_int): ditto.
6521 1998-05-14 Martin Buchholz <martin@xemacs.org>
6523 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6526 * process-unix.c (process_signal_char): Use VSUSP instead of
6527 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6529 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6531 * specifier.c (specifier_instance): Change locale precedence of
6532 instantiation so window locale has higher priority than buffer
6534 (Fspecifier_instance): Reflect this in docstring.
6535 (Fadd_spec_list_to_specifier): Ditto.
6536 (Fadd_spec_to_specifier): Ditto.
6537 (Fremove_specifier): Ditto.
6539 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6541 ** Dialog separation into a device method from Andy Piper
6543 * emacs.c (main_1): Call console_type_create_dialog_x().
6545 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6546 into this device method.
6547 (console_type_create_dialog_x): New function.
6549 * dialog.c (Fpopup_dialog_box): New function.
6550 (syms_of_dialog): Defsubr it.
6552 * console.h (struct console_methods): Declared
6553 popup_dialog_box_method().
6555 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6557 1998-05-14 Oliver Graf <ograf@fga.de>
6559 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6560 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6562 1998-05-13 Oliver Graf <ograf@fga.de>
6564 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6566 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6568 * console.h (device_metrics): Removed dbcs, input-method-editor
6569 and right-to-left metrics.
6571 * device.c (Fdevice_system_metric): Ditto.
6572 (Fdevice_system_metrics): Ditto.
6573 (syms_of_device): Ditto.
6574 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6577 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6579 * line-number.h (mark_line_number_cache): Remove unused
6582 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6583 (get_nearest_line_number): Simplify.
6584 (add_position_to_cache): Make the old marker point nowhere.
6586 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6588 ** Renamed window-divider-map => vertical-divider-map
6589 and event-over-divider-p => event-over-vertical-divider-p,
6590 in the following files/functions:
6592 * events.c (Fevent_over_divider_p):
6593 * keymap.c (get_relevant_keymaps):
6596 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6598 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6600 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6602 * window.c (vertical_divider_changed_in_window): Renamed so.
6603 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6604 (window_needs_vertical_divider_1): Decide whether we need it based
6605 on the value of the above specifier. If separators are unwanted,
6606 put them only if there's no scrollbar between this window and its
6608 (have_undivided_common_edge): New function, helper for the above.
6609 (window_needs_vertical_divider): Return either a cached value,
6610 or clauclate and cache one.
6611 (invalidate_vertical_divider_cache_in_window): Implemented.
6612 (map_windows): Changed return type to int, return the value from
6615 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6616 (struct window): Added need_vertical_divider_p and
6617 need_vertical_divider_valid_p.
6619 * winslots.h: Added vertical_divider_draggable_p slot.
6621 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6622 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6624 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6626 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6627 invalidate_vertical_divider_cache_in_frame().
6630 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6632 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6634 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6635 masks correctly and don't select 0.
6637 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6639 * winslots.h: New file, declaration of some struct window and
6640 struct saved_window members.
6642 * window.h (struct window): Include it, with required preprocessor
6645 * window.c (mark_window): Ditto.
6646 (allocate_window): Ditto.
6647 (struct saved_window): Ditto.
6648 (mark_window_config): Ditto.
6649 (saved_window_equal): Ditto.
6650 (Fset_window_configuration): Ditto.
6652 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6654 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6656 1998-05-12 Didier Verna <verna@inf.enst.fr>
6658 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6659 the divider line. The shadow thickness is currently
6660 hard-wired. This will probably be turned into a specifier soon.
6662 1998-05-12 Didier Verna <verna@inf.enst.fr>
6664 * console.h (struct console_methods): the divider_width console
6665 method now requires a struct window * argument.
6667 * redisplay-x.c (x_divider_width): ditto. Plus remove
6668 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6669 (x_output_vertical_divider): give a depressed look when the shadow
6670 thickness is negative.
6672 * console-stream.c (stream_divider_width): pass a struct window *
6675 * redisplay-tty.c (tty_divider_width): ditto.
6677 * window.c (window_right_gutter_width): totdi.
6679 * redisplay.c (generate_modeline): ittod.
6681 * scrollbar.c (update_scrollbar_instance): ttido.
6683 * redisplay-msw.c (mswindows_divider_width): ottid.
6684 WARNING: this enables to compile, but the feature is not functional.
6686 * window.h (struct window): new field
6687 vertical_divider_shadow_thickness.
6689 * window.c (specifier_vars_of_window): new specifier
6690 vertical-divider-shadow-thickness.
6691 (vertical_divider_shadow_thickness_changed): new function to
6692 inform redisplay that the window has changed.
6693 (mark_window): handle new field vertical_divider_shadow_thickness
6695 (allocate_window): ditto.
6696 (saved_window_equal): toddi.
6697 (Fset_window_configuration): totid.
6698 (save_window_save): ttdio.
6699 (struct saved_window): new field vertical_divider_shadow_thickness.
6701 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6703 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6706 1998-05-12 Oliver Graf <ograf@fga.de>
6708 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6709 * event-Xt.c (x_event_to_emacs_event): C++ compability
6711 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6713 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6716 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6718 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6721 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6723 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6725 * emacs.c (decode_path_1): New function.
6726 (decode_path): Use it.
6727 (Fdecode_path): Renamed from Fdecode_path_internal; use
6730 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6732 * macros.c (Fzap_last_kbd_macro_event): New function.
6733 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6735 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6737 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6738 multiple bitmaps are output vertically as well as horizontally.
6739 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6740 crossing lines this is handled by
6741 mswindows_output_dibitmap_region.
6743 1998-05-12 Martin Buchholz <martin@xemacs.org>
6745 * inline.c: Include eldap.h
6747 * menubar-x.c (x_update_frame_menubar_internal):
6748 Remove: unused variable `container'
6750 1998-05-11 Martin Buchholz <martin@xemacs.org>
6752 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6753 Unfortunately, the resulting temacs still cannot dump.
6755 * symbols.c (symbol_is_constant):
6756 (verify_ok_for_buffer_local):
6757 -Wswitch Warning suppression - add default case to switches.
6759 * redisplay.c (decode_mode_spec): Remove unused variables,
6760 Replace Fcoding_system_property (codesys, Qmnemonic) with
6761 XCODING_SYSTEM_MNEMONIC (codesys);
6762 Fcoding_system_property is for users.
6768 Change empty docstrings into no doc strings at all.
6769 Fix bogus FSF-format docstrings.
6772 Standardize docstrings.
6775 Explain problems with matherr.
6777 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6780 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6781 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6782 Fix the weird resultant interaction (causes windows problems)
6786 Take new EMACSBOOTSTRAPLOADPATH into account.
6787 Update documentation strings
6790 - Adjust for luser's CDPATH being set to something weird.
6791 - Take into account bash 2.02's tendency to print the cwd when
6792 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6793 - fix the run-temacs target to use $(DUMPENV)
6794 - fix the run-puremacs target to use $(DUMPENV)
6795 - fix the `depend' target to properly $(RM) the right files
6796 - Generate a better TAGS file for XEmacs' lisp code using
6797 hand-crafted regexps.
6798 - Use standard coding conventions for modules/Makefile.in
6800 1998-05-12 Didier Verna <verna@inf.enst.fr>
6802 * redisplay.c: removed the scrolling modeline code that didn't
6803 make it for 21.0. To be continued ...
6805 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6807 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6808 and empty string inputs.
6810 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6812 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6814 1998-05-10 Oliver Graf <ograf@fga.de>
6816 * event-stream.c (enqueue_misc_user_event_pos): created
6817 * lisp.h (enqueue_misc_user_event_pos): prototype added
6818 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6819 * emacs.c: call vars_of_dragdrop
6820 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6822 1998-05-11 Oliver Graf <ograf@fga.de>
6824 * frame-x.c (x_cde_transfer_callback): return at correct pos
6825 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6826 object for MIME (see comment in dragdrop.c)
6827 * dragdrop.c: API change documented in comment
6828 removed provide of dragdrop [is provided by dragdrop.el]
6830 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6832 * window.c (window_needs_vertical_divider): Enable vertical
6833 dividers for every non-rightmost window.
6834 (window_left_gutter_width): Left gutter consists of mythical
6835 toolbar and a virtual scrollbar.
6836 (window_right_gutter_width): The right one may have a divider
6839 * scrollbar.c (update_scrollbar_instance): Position vertical
6840 scrollbar left to divider if the latter present.
6842 * redisplay.h: Declared OVER_DIVIER constant.
6844 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6847 * redisplay-x.c (x_output_vertical_divider): Output divider along
6848 the right side of the window, down to window bottom. Swapped
6849 foreground and background colors so it is visible by default.
6851 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6852 stick the divider to the right window side.
6854 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6856 (mswindows_divider_width): Ask system for user preferred value.
6857 (mswindows_output_vertical_divider): Always output the divider on
6858 the right side of a window, down to bottom.
6860 * keymap.c (get_relevant_keymaps): Route mouse button events which
6861 happened over a window divider through window-divider-map.
6862 (Fkey_binding): Documented that in the docstring.
6863 Defined the variable Vwindow_divider_map.
6865 * events.c (Fevent_over_divider_p): Added this function.
6867 * events.h: EXFUNed it.
6869 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6871 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6872 toolbar geometry is suspected to change.
6874 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6878 Condition dnd and dde code on HAVE_DRAGNDROP.
6880 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6882 * events.c (format_event_object): Print space as SPC etc.
6884 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6886 * print.c (print_internal): In the default case, abort() if
6887 ERROR_CHECK_TYPECHECK.
6889 * fileio.c (Fmake_temp_name): Doc fix.
6891 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6893 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6895 * undo.c (Fprimitive_undo): Fixed typo.
6897 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6899 * fns.c (concat): Signal error on integer argument.
6901 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6903 * console.h (device_metrics): Prefixed each constatnt with DM_
6905 * device.c: (Fdevice_system_metric): Renamed so from plural form
6906 (metrics); Changed parameters order and added DEFAULT parameter;
6907 Unabbreviated some metric constants; Fixed and untabified doc string.
6908 (Fdevice_system_metrics): Added. Returns a plist of all provided
6911 * device-msw.c (mswindows_device_system_metrics): Renamed
6912 device_metrics enum constants.
6913 Return Qunbound instead of Qnil.
6915 * device-tty.c (tty_device_system_metrics): Ditto.
6917 * device-x.c (x_device_system_metrics): Ditto.
6919 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6921 * redisplay-msw.c: implement background pixmaps (really!). Make
6922 sure bg color is transparent if we have bg pmaps.
6923 * (mswindows_output_string) (mswindows_clear_region): output bg
6925 * (mswindows_output_dibitmap_region): new function.
6926 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6927 the bg color rather than transparently.
6929 * toolbar-msw.c: use masks if they exist.
6931 * glyphs-msw.c: set up masks correctly.
6933 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6935 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6937 * regex.c (re_match_2_internal): Check for quit.
6939 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6941 * frame.c (Ffocus_frame): New function.