1 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * text-coding.c (Fmake_coding_system): Don't set up
5 (encode_coding_no_conversion): Use `if' instead of `switch'.
7 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
9 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
11 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
12 (Fmake_charset): Modify for `make_charset'.
13 (Fmake_reverse_direction_charset): Likewise.
14 (complex_vars_of_mule_charset): Likewise.
16 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
18 * text-coding.c (char_encode_shift_jis): Use table
19 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
21 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
23 * text-coding.c (text_encode_generic): Use `if' instead of
25 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
28 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
30 * text-coding.c (encode_coding_sjis): Deleted.
31 (char_encode_shift_jis): New function.
32 (char_finish_shift_jis): New function.
33 (reset_encoding_stream): Set up `encode_char' and `finish' for
34 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
35 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
36 (char_encode_utf8): Treat `eol_type'.
38 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
40 * file-coding.c (decode_coding_iso2022): Use
41 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
43 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
45 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
48 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
50 * char-lb.h (CHAR_COLUMNS): New macro.
52 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
54 * text-coding.c (char_encode_ucs4): New function.
55 (char_finish_ucs4): New function.
56 (encode_coding_ucs4): Deleted.
57 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
58 (text_encode_generic): Delete local variable `charset' and `half'.
59 (ucs_to_mule_table): Deleted.
60 (mule_to_ucs_table): Deleted.
61 (Fset_ucs_char): Deleted.
62 (ucs_to_char): Deleted.
64 (Fset_char_ucs): Deleted.
66 (decode_ucs4): Deleted.
67 (mule_char_to_ucs4): Deleted.
68 (encode_ucs4): Deleted.
69 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
70 (decode_coding_utf8): Likewise.
71 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
72 (char_encode_iso2022): Fixed.
73 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
74 `Fset_char_ucs' and `Fchar_ucs'.
75 (complex_vars_of_file_coding): Don't initialize
78 * objects-tty.c (tty_initialize_font_instance): Don't use
81 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
84 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
85 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
87 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
88 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
89 (emchar_string_displayed_columns): Likewise.
91 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
92 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
93 (string_column_at_point): Likewise.
94 (Fmove_to_column): Likewise.
96 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
97 `encoding_table' and `decoding_table'.
98 (CHARSET_REP_BYTES): Deleted.
99 (XCHARSET_REP_BYTES): Deleted.
100 (XCHARSET_COLUMNS): Deleted.
101 (CHAR_COLUMNS): New macro.
102 (lookup_composite_char): Deleted unconditionally.
103 (composite_char_string): Likewise.
105 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
107 * char-ucs.h (Emchar_to_byte_table): New type.
108 (get_byte_from_character_table): New function interface.
109 (Vcharset_latin_jisx0201): New variable.
110 (latin_jisx0201_to_ucs): New variable.
111 (ucs_to_latin_jisx0201): New variable.
112 (Vcharset_latin_iso8859_2): New variable.
113 (latin_iso8859_2_to_ucs): New variable.
114 (ucs_to_latin_iso8859_2): New variable.
115 (Vcharset_latin_iso8859_3): New variable.
116 (latin_iso8859_3_to_ucs): New variable.
117 (ucs_to_latin_iso8859_3): New variable.
118 (Vcharset_latin_iso8859_4): New variable.
119 (latin_iso8859_4_to_ucs): New variable.
120 (ucs_to_latin_iso8859_4): New variable.
121 (Vcharset_latin_iso8859_9): New variable.
122 (latin_iso8859_9_to_ucs): New variable.
123 (ucs_to_latin_iso8859_9): New variable.
124 (Vcharset_latin_viscii_lower): New variable.
125 (latin_viscii_lower_to_ucs): New variable.
126 (ucs_to_latin_viscii_lower): New variable.
127 (Vcharset_latin_viscii_upper): New variable.
128 (latin_viscii_upper_to_ucs): New variable.
129 (ucs_to_latin_viscii_upper): New variable.
130 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
131 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
132 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
133 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
134 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
135 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
136 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
137 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
138 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
139 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
141 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
142 (Vcharset_latin_viscii_upper): New variable.
143 (make_byte_from_character_table): New function.
144 (put_byte_from_character_table): New function.
145 (get_byte_from_character_table): New function.
147 (ucs_to_latin_jisx0201): New variable.
148 (latin_jisx0201_to_ucs): New variable.
149 (ucs_to_latin_iso8859_2): New variable.
150 (latin_iso8859_2_to_ucs): New variable.
151 (ucs_to_latin_iso8859_3): New variable.
152 (latin_iso8859_3_to_ucs): New variable.
153 (ucs_to_latin_iso8859_4): New variable.
154 (latin_iso8859_4_to_ucs): New variable.
155 (ucs_to_latin_iso8859_9): New variable.
156 (latin_iso8859_9_to_ucs): New variable.
157 (ucs_to_latin_viscii_lower): New variable.
158 (latin_viscii_lower_to_ucs): New variable.
159 (ucs_to_latin_viscii_upper): New variable.
160 (latin_viscii_upper_to_ucs): New variable.
161 (ucs_to_latin_tcvn5712): New variable.
162 (latin_tcvn5712_to_ucs): New variable.
163 (Qlatin_viscii_lower): New variable.
164 (Qlatin_viscii_upper): New variable.
165 (syms_of_mule_charset): Set up new symbol
166 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
167 (complex_vars_of_mule_charset): Set up new charset
168 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
169 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
170 `ucs_to_<CHARSET>' tables.
172 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
174 * text-coding.c: New file.
176 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
178 * mule-charset.c (Fmake_char): Fix problem of 256-set.
180 * char-ucs.h (Vcharset_ucs_bmp): New variable.
181 (MAKE_CHAR): Modify for `ucs-bmp'.
182 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
183 non-MULE characters of BMP.
185 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
187 * mule-charset.c (vars_of_mule_charset):
188 Update `utf-2000-version' to 0.6.
190 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
193 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
194 - Include character.h for `CHAR_ASCII_P'.
196 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
198 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
199 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
201 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
202 (BYTE_C0_P): Likewise.
203 (BYTE_C1_P): Likewise.
204 (Lstream_get_emchar_1): Likewise.
205 (Lstream_fput_emchar): Likewise.
206 (Lstream_funget_emchar): Likewise.
207 (copy_internal_to_external): Likewise.
208 (copy_external_to_internal): Likewise.
210 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
211 (BYTE_C0_P): Likewise.
212 (BYTE_C1_P): Likewise.
213 (Lstream_get_emchar_1): Likewise.
214 (Lstream_fput_emchar): Likewise.
215 (Lstream_funget_emchar): Likewise.
216 (copy_internal_to_external): Likewise.
217 (copy_external_to_internal): Likewise.
219 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
220 (REP_BYTES_BY_FIRST_BYTE): Likewise.
222 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
223 (BYTE_ASCII_P): Moved to mb-1byte.h.
225 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
227 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
229 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
230 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
231 (VALID_CHARPTR_P): Moved to mb-*byte.h.
232 (VALIDATE_CHARPTR_BACKWARD): Likewise.
233 (VALIDATE_CHARPTR_FORWARD): Likewise.
234 (simple_charptr_emchar): Moved to mb-multibyte.h.
235 (simple_set_charptr_emchar): Likewise.
236 (simple_charptr_copy_char): Likewise.
237 (non_ascii_charptr_emchar): Likewise.
238 (non_ascii_set_charptr_emchar): Likewise.
239 (non_ascii_charptr_copy_char): Likewise.
240 (charptr_emchar): Moved to mb-*byte.h.
241 (set_charptr_emchar): Likewise.
242 (charptr_copy_char): Likewise.
244 * mb-1byte.h, mb-multibyte.h: New files.
246 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
248 * mb-utf-8.h (MULTIBYTE): New macro.
249 (MAX_EMCHAR_LEN): Moved from buffer.h.
250 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
252 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
254 * mb-lb.h, multibyte.h: New files.
256 * char-1byte.h (Charset_ID): Moved from buffer.h.
257 (MIN_LEADING_BYTE): Likewise.
258 (LEADING_BYTE_ASCII): Likewise.
259 (NUM_LEADING_BYTES): Likewise.
260 (CHARSETP): Likewise.
261 (CHARSET_BY_LEADING_BYTE): Likewise.
262 (XCHARSET_LEADING_BYTE): Likewise.
263 (XCHARSET_GRAPHIC): Likewise.
264 (XCHARSET_COLUMNS): Likewise.
265 (XCHARSET_DIMENSION): Likewise.
266 (CHAR_CHARSET): Likewise.
267 (CHAR_LEADING_BYTE): Likewise.
268 (BREAKUP_CHAR): Likewise.
269 (Vcharset_ascii): Likewise.
271 * buffer.h: Include multibyte.h unconditionally.
272 (VALID_CHARPTR_P): Moved to multibyte.h.
273 (ASSERT_VALID_CHARPTR): Likewise.
274 (REAL_INC_CHARPTR): Likewise.
275 (REAL_INC_CHARBYTIND): Likewise.
276 (REAL_DEC_CHARPTR): Likewise.
277 (INC_CHARPTR): Likewise.
278 (INC_CHARBYTIND): Likewise.
279 (DEC_CHARPTR): Likewise.
280 (VALIDATE_CHARPTR_BACKWARD): Likewise.
281 (VALIDATE_CHARPTR_FORWARD): Likewise.
282 (charptr_n_addr): Likewise.
283 (MAX_EMCHAR_LEN): Moved to mb-*.h.
284 (simple_charptr_emchar): Moved to multibyte.h.
285 (simple_set_charptr_emchar): Likewise.
286 (simple_charptr_copy_char): Likewise.
287 (non_ascii_charptr_emchar): Likewise.
288 (non_ascii_set_charptr_emchar): Likewise.
289 (non_ascii_charptr_copy_char): Likewise.
290 (charptr_emchar): Likewise.
291 (set_charptr_emchar): Likewise.
292 (charptr_copy_char): Likewise.
293 (charptr_emchar_n): Likewise.
294 (Charset_ID): Moved to char-1byte.h.
295 (Vcharset_ascii): Likewise.
296 (CHAR_CHARSET): Likewise.
297 (CHAR_LEADING_BYTE): Likewise.
298 (LEADING_BYTE_ASCII): Likewise.
299 (NUM_LEADING_BYTES): Likewise.
300 (MIN_LEADING_BYTE): Likewise.
301 (CHARSETP): Likewise.
302 (CHARSET_BY_LEADING_BYTE): Likewise.
303 (XCHARSET_LEADING_BYTE): Likewise.
304 (XCHARSET_GRAPHIC): Likewise.
305 (XCHARSET_COLUMNS): Likewise.
306 (XCHARSET_DIMENSION): Likewise.
307 (BREAKUP_CHAR): Likewise.
309 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
311 * character.h: Add document about interface for characters.
313 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
314 (MAKE_CHAR): Delete comment about
315 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
316 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
317 (BREAKUP_CHAR): Modify name of arguments.
318 (CHAR_CHARSET): Modify name of argument.
320 * buffer.h: Delete document about Emchar accessors.
322 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
324 * character.h (CHAR_INTP): Moved from buffer.h
325 (CHAR_OR_CHAR_INTP): Likewise.
326 (XCHAR_OR_CHAR_INT): Likewise.
327 (CHECK_CHAR_COERCE_INT): Likewise.
329 * buffer.h (CHAR_INTP): Moved to character.h
330 (CHAR_OR_CHAR_INTP): Likewise.
331 (XCHAR_OR_CHAR_INT): Likewise.
332 (CHECK_CHAR_COERCE_INT): Likewise.
334 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
337 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
338 - Include char-1byte.h, char-lb.h or char-ucs.h.
340 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
342 * buffer.h: Include character unconditionally.
343 (valid_char_p): Moved to char-*.h.
344 (non_ascii_valid_char_p): Moved to char-lb.h.
346 * char-1byte.h, char-lb.h, char-ucs.h: New files.
348 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
350 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
351 in UTF-2000 because it is not ported yet and not to use
352 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
353 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
354 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
356 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
357 (CHAR_ASCII_P): Moved from character.h.
359 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
360 (CHAR_ASCII_P): Likewise.
361 (CHAR_FIELD1_MASK): Deleted.
362 (CHAR_FIELD2_MASK): Deleted.
363 (CHAR_FIELD3_MASK): Deleted.
364 (MAX_CHAR_BASIC_LATIN): New macro.
365 (CHAR_FIELD1): Deleted.
366 (CHAR_FIELD2_INTERNAL): Deleted.
367 (CHAR_FIELD3_INTERNAL): Deleted.
368 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
369 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
370 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
371 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
372 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
373 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
374 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
375 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
376 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
377 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
378 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
379 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
380 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
381 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
382 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
383 (MIN_CHAR_COMPOSITION): Deleted.
384 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
385 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
387 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
389 * buffer.h: Include mb-utf-8.h in UTF-2000.
391 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
393 * mb-utf-8.h: New file.
395 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
397 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
400 * mule-charset.h, buffer.h (Charset_ID): New type.
402 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
404 * mule-canna.c (c2mu): Use `MAKE_CHAR',
405 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
406 instead of `MULE_CHAR_PRIVATE_OFFSET',
407 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
408 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
409 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
411 * character.h (Vcharset_japanese_jisx0212): New variable
414 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
416 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
417 (charset_by_attributes): Delete array about direction.
418 (latin_a_char_to_charset): New variable in UTF-2000.
419 (latin_a_char_to_byte1): New variable in UTF-2000.
420 (latin_a_char_to_byte2): New variable in UTF-2000.
421 (Qucs_bmp): New variable.
422 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
424 (next_allocated_2_byte_leading_byte): Likewise.
425 (non_ascii_set_charptr_emchar): Likewise.
426 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
427 `CHARSET_TYPE_256X256' in UTF-2000; modify for
428 `charset_by_attributes'.
429 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
430 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
431 and `CHARSET_BY_LEADING_BYTE'.
432 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
433 `utf-2000-version' to `vars_of_mule_charset'.
434 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
435 define `leading-code-private-11' in UTF-2000; move setting of
436 `utf-2000-version' from `syms_of_mule_charset'.
437 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
440 * character.h (Charset_ID): New type.
441 (LEADING_BYTE_UCS_BMP): New macro.
442 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
443 (CHARSET_ID_OFFSET_94): New macro.
444 (MIN_CHARSET_ID_PRIVATE_94): New macro.
445 (MAX_CHARSET_ID_PRIVATE_94): New macro.
446 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
448 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
449 (LEADING_BYTE_LATIN_JISX0201): Likewise.
450 (CHARSET_ID_OFFSET_96): New macro.
451 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
452 CHARSET_ID_OFFSET_96 and final-byte.
453 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
454 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
455 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
456 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
457 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
458 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
459 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
460 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
461 (LEADING_BYTE_THAI_TIS620): Likewise.
462 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
463 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
464 (CHARSET_ID_OFFSET_94x94): New macro.
465 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
466 CHARSET_ID_OFFSET_94x94 and final-byte.
467 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
468 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
469 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
470 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
471 (LEADING_BYTE_CHINESE_GB2312): Likewise.
472 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
473 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
474 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
475 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
476 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
477 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
478 (CHARSET_TYPE_128X128): New macro.
479 (CHARSET_TYPE_256X256): New macro.
480 (XCHARSET_PRIVATE_P): Delete unconditionally.
481 (charset_by_attributes): Delete array about direction.
482 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
483 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
484 (MIN_CHAR_94): New macro.
485 (MAX_CHAR_94): New macro.
486 (MIN_CHAR_96): New macro.
487 (MAX_CHAR_96): New macro.
488 (MIN_CHAR_94x94): New macro.
489 (MAX_CHAR_94x94): New macro.
490 (MIN_CHAR_96x96): New macro.
491 (MAX_CHAR_96x96): New macro.
492 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
493 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
494 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
496 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
497 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
498 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
499 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
500 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
501 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
502 `XCHARSET_LEADING_BYTE' to make code-point.
503 (latin_a_char_to_charset): New variable.
504 (latin_a_char_to_byte1): New variable.
505 (latin_a_char_to_byte2): New variable.
506 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
507 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
508 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
510 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
511 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
512 (find_charsets_in_emchar_string): Likewise.
513 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
515 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
517 (decode_coding_iso2022): Likewise.
519 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
522 * redisplay.c (redisplay_text_width_emchar_string): Use
523 `Charset_ID' instead of `unsigned char'.
524 (redisplay_frame_text_width_string): Likewise.
526 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
529 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
530 instead of `unsigned char'.
531 (face_cachel_charset_font_metric_info): Likewise.
533 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
534 (get_non_ascii_char_table_value): Likewise.
535 (get_char_table): Likewise.
536 (put_char_table): Likewise.
537 (map_over_other_charset): Likewise.
538 (map_char_table): Likewise.
540 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
541 instead of `unsigned char'.
543 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
545 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
546 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
548 * mule-charset.c (leading_code_private_11): Don't define in
551 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
552 in UTF-2000 because it is not ported yet and not to use
553 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
555 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
557 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
559 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
561 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
564 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
565 of unsigned char to store leading-byte.
567 * chartab.c (get_non_ascii_char_table_value): Don't use
568 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
570 * file-coding.c (encode_coding_big5): Delete bogus implementation
573 * character.h (LEADING_BYTE_*): Delete definition for
575 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
576 (LEADING_BYTE_PREFIX_P): Deleted.
577 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
578 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
579 (BUFBYTE_LEADING_BYTE_P): Deleted.
580 (CHARSET_PRIVATE_P): Deleted unconditionally.
581 (rep_bytes_by_first_byte): Deleted unconditionally.
582 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
583 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
584 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
585 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
586 (CHAR_FIELD2): Deleted.
587 (CHAR_FIELD3): Deleted.
588 (MAKE_CHAR): Delete definition for non-UTF-2000.
589 (BREAKUP_CHAR_1_UNSAFE): Deleted.
590 (breakup_char_1): New implementation.
591 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
592 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
594 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
596 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
599 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
601 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
602 (CHARSET_PRIVATE_P): Likewise.
603 (XCHARSET_PRIVATE_P): Likewise.
604 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
606 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
608 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
610 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
612 * character.h (LEADING_BYTE_*): Changed in UTF2000.
613 (NUM_LEADING_BYTES): Changed from 128 to 256.
614 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
615 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
617 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
619 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
621 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
622 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
623 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
624 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
625 (Qchinese_cns11643_3): New variable in UTF2000.
626 (Qchinese_cns11643_4): New variable in UTF2000.
627 (Qchinese_cns11643_5): New variable in UTF2000.
628 (Qchinese_cns11643_6): New variable in UTF2000.
629 (Qchinese_cns11643_7): New variable in UTF2000.
630 (syms_of_mule_charset): Define `chinese-cns11643-3',
631 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
632 and `chinese-cns11643-7' in UTF2000.
633 (vars_of_mule_charset): Initialize
634 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
636 (complex_vars_of_mule_charset): Setup charset
637 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
638 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
640 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
642 * mule-charset.c: Move setting for `leading-code-private-11' from
643 `syms_of_mule_charset' to `vars_of_mule_charset'.
645 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
647 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
648 and `NUM_LEADING_BYTES' in assert.
650 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
652 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
654 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
655 `NUM_LEADING_BYTES' instead of 128.
657 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
659 * mule-charset.h (charset_by_leading_byte): Use
660 `NUM_LEADING_BYTES' instead of 128.
661 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
663 * mule-charset.c (charset_by_leading_byte): Use
664 `NUM_LEADING_BYTES' instead of 128.
665 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
667 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
670 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
672 * mule-charset.c (syms_of_mule_charset): Update to
675 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
677 * file-coding.c (encode_coding_sjis): New implementation for
678 UTF2000. (decode_coding_sjis): Ditto.
680 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
682 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
683 Don't define in UTF2000.
685 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
688 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
689 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
692 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
694 * config.h.in (CHAR_IS_UCS4): New macro.
696 * mule-charset.c (rep_bytes_by_first_byte): Modify for
697 conventional MULE representation.
698 (syms_of_mule_charset): Update to 0.3 (Imamiya).
700 * mule-charset.h: Reverted to original.
702 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
703 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
704 "mule-charset.h" if CHAR_IS_UCS4 is defined.
706 * character.h: New file.
708 * file-coding.c (Fmake_coding_system): Set 1 to
709 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
711 (encode_coding_no_conversion): New implementation for UTF2000.
713 * file-coding.h (struct Lisp_Coding_System): Add new member
716 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
718 * file-coding.c (decode_coding_iso2022): Code-point arguments of
719 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
720 (encode_coding_iso2022): New implementation for UTF2000.
722 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
724 * mule-canna.c (c2mu): New implementation for UTF2000.
727 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
729 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
731 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
733 * file-coding.c (reset_encoding_stream): Set 0 to
734 `str->iso2022.current_char_boundary' in UTF2000.
735 (encode_utf8): Don't define in UTF2000.
736 (encode_coding_utf8): New implementation for UTF-8 representation
738 (complex_vars_of_file_coding): Define coding-system `utf-8'.
740 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
742 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
744 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
746 (REP_BYTES_BY_FIRST_BYTE): Likewise.
748 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
750 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
751 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
753 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
754 (non_ascii_valid_char_p): Don't define in UTF2000.
755 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
756 (Lstream_get_emchar_1): Likewise.
757 (utf-2000-version): New variable in UTF2000.
759 * lread.c (read_escape): Add new reader `u'.
761 * insdel.c (three_to_one_table): Don't define in UTF2000.
762 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
763 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
765 (bytind_to_bufpos_func): Likewise.
766 (buffer_mule_signal_inserted_region): Likewise.
767 (vars_of_insdel): Don't initialize `three_to_one_table'.
768 (init_buffer_text): Use `buf->text->mule_size' instead of
769 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
772 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
773 UTF-8 representation in UTF2000.
774 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
775 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
776 (decode_coding_iso2022): Don't define local variable `lb' in
777 UTF2000; don't use LEADING_BYTE in UTF2000; use
778 `DECODE_ADD_UCS_CHAR' in UTF2000.
779 (convert_to_external_format): Decode as UTF-8 in UTF2000.
781 * config.h.in (UTF2000): New macro.
783 * buffer.h (struct buffer_text): Add new member `mule_size' and
784 don't add `mule_shifter' and `mule_three_p' in UTF2000.
785 (valid_char_p): Return always 1 in UTF2000.
786 (MAX_EMCHAR_LEN): 6 in UTF2000.
787 (three_to_one_table): Don't define in UTF2000.
788 (real_bufpos_to_bytind): Modify for UTF-8 representation in
790 (real_bytind_to_bufpos): Likewise.
792 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
794 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
796 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
797 representation change.
798 (Vutf_2000_version): New variable.
799 (leading_code_private_11): New variable.
800 (syms_of_mule_charset): Add new variables `utf-2000-version' and
801 `leading-code-private-11'.
803 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
804 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
805 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
806 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
807 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
808 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
809 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
810 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
811 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
812 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
813 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
814 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
815 (MIN_CHAR_GREEK): New macro.
816 (MAX_CHAR_GREEK): New macro.
817 (MIN_CHAR_CYRILLIC): New macro.
818 (MAX_CHAR_CYRILLIC): New macro.
819 (MIN_CHAR_HEBREW): New macro.
820 (MAX_CHAR_HEBREW): New macro.
821 (MIN_CHAR_THAI): New macro.
822 (MAX_CHAR_THAI): New macro.
823 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
824 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
825 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
826 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
827 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
828 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
829 (CHAR_FIELD2): New inline function.
830 (CHAR_FIELD3): New inline function.
831 (MULE_CHAR_PRIVATE_OFFSET): New macro.
832 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
833 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
834 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
835 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
836 (MIN_CHAR_COMPOSITION): Likewise.
837 (CHAR_LEADING_BYTE): Modified for character representation change.
838 (MAKE_CHAR): Likewise.
840 * lisp.h (Vcharset_latin_iso8859_1): New variable.
841 (Vcharset_greek_iso8859_7): Likewise.
842 (Vcharset_cyrillic_iso8859_5): Likewise.
843 (Vcharset_hebrew_iso8859_8): Likewise.
844 (Vcharset_thai_tis620): Likewise.
845 (Vcharset_katakana_jisx0201): Likewise.
847 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
849 * file-coding.c (determine_real_coding_system): Treat `coding:'
852 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
854 * file-coding.c (struct decoding_stream): New member `counter'.
855 (reset_decoding_stream): Initialize `counter'.
856 (decode_coding_ucs4): Use `counter'.
857 (decode_coding_utf8): Likewise.
859 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
861 * XEmacs 21.2.19 is released
863 1999-07-27 Jeff Miller <jmiller@smart.net>
865 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
866 menubar_show_keybindings.
868 1999-07-23 SL Baur <steve@miho>
870 * mule-charset.c (syms_of_mule_charset): Delete duplicated
871 definition of Qccl_program.
873 * mule-ccl.h: Make a global declaration of it here.
875 1999-07-20 Bob Weiner <weiner@beopen.com>
877 * s/sco7.h: Added from rr@sco.com.
879 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
881 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
883 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
885 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
886 (mule_encode): Likewise.
888 * mule-ccl.c (Qccl_program): New variable.
889 (CCL_SUSPEND): New macro.
890 (CCL_INVALID_CMD): New macro.
891 (CCL_READ_CHAR): Don't regard as invalid command while processing
892 the last block even if input is empty; use
893 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
894 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
896 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
897 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
898 (CCL_STAT_SUSPEND_BY_DST): Likewise.
899 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
900 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
902 1999-05-04 Ken'ichi Handa <handa@gnu.org>
904 * mule-ccl.h (struct ccl_program): New member stack_idx.
906 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
907 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
909 (setup_ccl_program): Initialize ccl->stack_idx to 0.
911 1998-10-12 Kenichi Handa <handa@etl.go.jp>
913 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
916 1998-08-18 Kenichi Handa <handa@etl.go.jp>
918 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
919 processing the last block, don't just finish but processes eol
920 block of the current CCL program.
921 (ccl_driver): Add a new jump label ccl_repeat for the above
924 1998-04-15 Kenichi Handa <handa@etl.go.jp>
926 * mule-ccl.c: Typo in comments fixed.
927 (Qccl_program_idx): New variables.
928 (CCL_ReadMultibyteChar2): Macro name changed from
929 CCL_ReadMultibyteCharacter.
930 (CCL_WriteMultibyteChar2): Macro name changed from
931 CCL_WriteMultibyteChar2.
932 (ccl_driver): Adjusted for the above changes.
933 (resolve_symbol_ccl_program): New function.
934 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
935 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
936 numbers by resolve_symbol_ccl_program.
937 (Fccl_execute_on_string): Likewise.
938 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
939 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
941 1998-01-21 Kenichi Handa <handa@etl.go.jp>
943 * mule-ccl.h: (struct ccl_program): New member private_state.
946 (CCL_Call): Fix the comment.
947 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
948 macros for CCL Commands.
950 (ccl_driver): New case lable `CCL_Extention'.
951 (setup_ccl_program): Initialize the member `private_state' of CCL.
953 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
955 * keymap.c (copy_keymap_internal): Inherit the default binding.
957 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
959 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
960 focus the event (XIM_focus_event).
961 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
962 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
963 the interface for future use (XIM_SetGeometry).
964 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
965 location (XIM_SetSpotLocation).
966 (x_output_eol_cursor): Ditto.
968 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
970 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
971 Olivier's change to lrecord.h of 1999-04-22
973 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
975 * gutter.c (redraw_exposed_gutter): Change type of pos from
976 enum toolbar_pos -> enum gutter_pos, since former is only defined
977 if toolbar support is.
979 1999-07-19 Andy Piper <andy@xemacs.org>
981 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
984 * gutter.c (gutter_validate): new function for the gutter specifier.
985 (specifier_type_create_gutter): declare specifier validator.
987 * buffer.h (INC_CHARBYTIND): add for no error checking version.
989 1999-07-18 Andy Piper <andy@xemacs.org>
991 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
993 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
995 (mswindows_resize_subwindow): new function.
997 * gutter.c (redraw_exposed_gutter): only reset the
998 current_display_lines if non-zero.
999 (Fgutter_pixel_height): new function.
1000 (Fgutter_pixel_width): new function.
1002 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1003 we want to retrive from the tab control.
1005 1999-07-17 Andy Piper <andy@xemacs.org>
1007 * window.c (change_window_height): mark gutters changed when we're
1010 * gutter.c (specifier_vars_of_gutter): make defaults more
1013 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1015 (DEFAULT_GUTTER_WIDTH): change.
1016 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1018 1999-07-18 Andy Piper <andy@xemacs.org>
1020 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1022 1999-07-16 Andy Piper <andy@xemacs.org>
1024 * frame.c (Fmake_frame): call init_frame_gutters().
1026 * redisplay.c (add_emchar_rune): use string functions if we are
1027 working with a string.
1028 (position_redisplay_data_type): add string element.
1030 1999-07-15 Andy Piper <andy@xemacs.org>
1032 * winslots.h: add real_gutter_size slots to hold the actual gutter
1033 size. This is important for autodetected sizes.
1035 * gutter.c (calculate_gutter_size): calculate size for gutters
1036 that have 'autodetect size.
1038 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1039 extent of divider for gutters.
1041 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1042 divider for gutters.
1044 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1045 position to take into account the gutters.
1047 * redisplay.c (generate_modeline): adjust modeline position to
1048 take into account the gutters.
1050 1999-07-14 Andy Piper <andy@xemacs.org>
1052 * gutter.c (frame_topmost_window): new function.
1053 (frame_bottommost_window): ditto.
1054 (frame_leftmost_window): ditto.
1055 (frame_rightmost_window): ditto.
1057 1999-07-13 Andy Piper <andy@xemacs.org>
1059 * redisplay.c (calculate_display_line_boundaries): use text
1060 boundaries so that gutters get handled properly.
1062 1999-07-12 Andy Piper <andy@xemacs.org>
1064 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1067 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1070 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1073 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1075 * gutter.c: new file - implements gutters. All new functions are
1076 semantically equivalent to the toolbar functions.
1077 (gutter_was_visible): new function.
1078 (get_gutter_coords): ditto.
1079 (output_gutter): ditto.
1080 (clear_gutter): ditto.
1081 (update_frame_gutters): ditto.
1082 (redraw_exposed_gutter): ditto.
1083 (redraw_exposed_gutters): ditto.
1084 (free_frame_gutters): ditto.
1085 (init_frame_gutters): ditto.
1086 (decode_gutter_position): ditto.
1087 (Fset_default_gutter_position): ditto.
1088 (Fset_default_gutter_position): ditto.
1089 (Fdefault_gutter_position): ditto.
1090 (gutter_after_change): ditto.
1091 (Fgutter_specifier_p): ditto.
1092 (recompute_overlaying_specifier): ditto.
1093 (gutter_specs_changed): ditto.
1094 (default_gutter_specs_changed): ditto.
1095 (gutter_geometry_changed_in_window): ditto.
1096 (default_gutter_size_changed_in_window): ditto.
1097 (default_gutter_border_width_changed_in_window): ditto.
1098 (default_gutter_visible_p_changed_in_window): ditto.
1099 (syms_of_gutter): ditto.
1100 (vars_of_gutter): ditto.
1101 (specifier_type_create_gutter): ditto.
1102 (specifier_vars_of_gutter): ditto.
1104 * gutter.h: new file. Contains gutter constants and sizing macros
1105 similar to those for the toolbar.
1107 * winslots.h: add gutter variables.
1109 * window.h: declare window_is_* functions.
1111 * window.c (window_is_lowest): make non-static.
1112 (window_is_highest): ditto.
1113 (window_top_toolbar_height): deleted.
1114 (window_bottom_toolbar_height): deleted.
1115 (window_left_toolbar_width): deleted.
1116 (window_right_toolbar_width): deleted.
1117 (window_top_gutter_height): add gutter sizing.
1118 (window_bottom_gutter_height): ditto.
1119 (window_left_gutter_width): ditto.
1120 (window_right_gutter_width): ditto.
1122 * symsinit.h: declarations for gutters vars etc.
1124 * search.c (bi_find_next_emchar_in_string): new function.
1126 * scrollbar.c (update_scrollbar_instance): remove reference to
1127 window_bottom_toolbar_height which did nothing.
1129 * redisplay.h (struct display_line): add face indices for
1130 overriding defaults in output_display_line.
1131 Add gutter_changed flags and declarations.
1133 * redisplay.c (create_string_text_block): new function, similar to
1134 create_text_block but for strings. Display tables etc are used
1135 from the currently selected window.
1136 (generate_string_display_line): ditto. Similar to
1137 generate_display_line.
1138 (generate_displayable_area): generate display lines for a given
1139 area on a frame. Input is the string, with associated extents, to
1141 (redisplay_frame): add gutter_changed check.
1142 (redisplay_device): ditto.
1143 (redisplay_without_hooks): ditto.
1145 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1146 (x_redraw_exposed_area): redraw exposed gutters.
1147 (x_bevel_area): new redisplay device method.
1148 (x_type_create_redisplay_mswindows): add bevel_area device method.
1149 (x_output_display_block): fiddly Martin-style cleanup.
1150 (x_output_vertical_divider): use bevel_area.
1152 * redisplay-output.c (output_display_line): check display_lines
1153 for face information before using defaults.
1154 (bevel_modeline): new function, calls bevel_area with appropriate
1157 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1158 (mswindows_redraw_exposed_area): redraw exposed gutters.
1159 (mswindows_bevel_area): new redisplay device method.
1160 (console_type_create_redisplay_mswindows): add bevel_area device
1163 * indent.c (string_column_at_point): add column_at_point but for
1166 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1167 instantiate widgets that we have a toolkit for.
1169 * general.c: add Qgutter.
1171 * frame.h (struct frame): add display lines for gutters and
1174 * frame.c (set_frame_selected_window): mark gutters changed.
1176 * emacs.c (main_1): add gutter initialisation.
1178 * device.h (struct device): add gutter_changed flag and macros to
1181 * console.h (struct console_methods): new bevel area redisplay
1184 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1185 REAL_INC_BYTIND is for buffers.
1186 (INC_CHARPTR): ditto.
1188 * Makefile.in.in (objs): add gutter.o
1190 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1192 * XEmacs 21.2.18 is released
1194 1999-07-08 SL Baur <steve@mule.m17n.org>
1196 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1198 (emacs_Xt_handle_magic_event): Ditto.
1199 * redisplay-x.c (x_output_string): Ditto.
1200 (x_output_eol_cursor): Ditto.
1202 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1204 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1205 problem that when XIM is destroyed or missed with some reason,
1206 xemacs will die. Now xim=xlib waits the XIM will be ready and
1207 endures the case of XIM end up.
1209 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1211 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1212 SIGINT and SIGCHLD before calling tt_open and restore the
1213 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1215 1999-07-06 SL Baur <steve@xemacs.org>
1217 * s/linux.h: gcc-2.8 changes for powerpc
1218 From Justin Vallon <vallon@mindspring.com>
1220 1999-07-05 Didier Verna <verna@inf.enst.fr>
1222 * indent.c: new symbol Qcoerce.
1223 (Fmove_to_column): use it + doc string update.
1225 1999-07-04 Andy Piper <andy@xemacs.org>
1227 * console.c: undo earlier Fprovide changes.
1231 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1232 function. validate appropriate image formats for tty.
1234 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1235 initialize consoles parameter.
1236 (struct image_instantiator_methods): add consoles parameter.
1237 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1239 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1242 * glyphs-msw.c: declare instantiators for later use.
1243 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1244 and friends on the mswindows console.
1245 * glyphs-x.c: ditto.
1247 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1248 that have not been registered on the supplied device.
1249 (Fvalid_image_instantiator_format_p): add locale argument.
1250 (instantiate_image_instantiator): valid image instantiator on the
1253 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1256 * emacs.c (main_1): add call to
1257 image_instantiator_format_create_glyphs_tty().
1259 1999-06-29 Olivier Galibert <galibert@pobox.com>
1261 * lisp.h: Add #include <stddef.h>.
1263 * sysdep.c: Remove #include <stddef.h>.
1264 * symbols.c: Remove #include <stddef.h>.
1265 * sheap.c: Remove #include <stddef.h>.
1266 * opaque.c: Remove #include <stddef.h>.
1267 * nt.c: Remove #include <stddef.h>.
1268 * mule-charset.c: Remove #include <stddef.h>.
1269 * marker.c: Remove #include <stddef.h>.
1270 * file-coding.c: Remove #include <stddef.h>.
1271 * extents.c: Remove #include <stddef.h>.
1272 * elhash.c: Remove #include <stddef.h>.
1273 * data.c: Remove #include <stddef.h>.
1274 * chartab.c: Remove #include <stddef.h>.
1275 * bytecode.c: Remove #include <stddef.h>.
1276 * alloc.c: Remove #include <stddef.h>. Fix vector description
1278 1999-06-30 SL Baur <steve@miho.m17n.org>
1280 * editfns.c: Document "%s" format spec.
1281 Suggested by Bob Weiner <weiner@altrasoft.com>
1283 1999-06-29 Andy Piper <andy@xemacs.org>
1285 * event-msw.c: fix definition booboo.
1287 1999-06-28 Andy Piper <andy@xemacs.org>
1289 * glyphs-x.c: change tree -> tree-view, progress ->
1290 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1292 (complex_vars_of_glyphs_x): provide-on-console the implemented
1295 * glyphs-msw.c: ditto.
1296 (complex_vars_of_glyphs_mswindows): ditto.
1298 * lisp.h: add Fprovide_on_console.
1300 * fns.c (Ffeaturep): add extra optional console argument.
1301 (Fprovide_on_console): like Fprovide but provides only on the
1302 specified console-type.
1303 (Frequire): check console-features as well as global features.
1305 * console.c (Fconsole_features): new function. return features for
1307 (syms_of_console): add Fconsole_features.
1309 * console.h (CONMETH_FEATURES): new function for accessing features.
1310 (CONSOLE_FEATURES): ditto.
1311 (struct console_methods): add features slot.
1312 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1314 1999-06-28 Andy Piper <andy@xemacs.org>
1316 * event-Xt.c (handle_focus_event_1): conditionally compile for
1319 * s/cygwin32.h: fix me website address.
1321 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1323 * gui-x.c (button_item_to_widget_value): only add callback if it
1326 * glyphs-x.c: add progress, edit and combo instantiators.
1327 (x_widget_set_property): new function. uses lwlib to set widget
1329 (x_widget_property): new function. uses lwlib to get widget
1331 (x_button_instantiate): support images in buttons.
1332 (x_button_property): new function. use lwlib to get the selected
1334 (x_progress_instantiate): new function for instantiating progress
1336 (x_progress_set_property): new function. sets the progress gauge
1338 (x_edit_instantiate): new function. for instantiating edit fields.
1339 (x_combo_instantiate): new function. for instantiating combo
1341 (image_instantiator_format_create_glyphs_x): add new device ii
1344 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1346 * console.h (CONSOLE_FEATURES): new features accesor.
1348 * conslots.h (MARKED_SLOT): add features entry.
1350 1999-06-25 Andy Piper <andy@xemacs.org>
1352 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1355 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1357 * gui.h (struct Lisp_Gui_Item): add accelerator.
1359 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1360 (gui_item_init): ditto.
1361 (gui_add_item_keywords_to_plist): ditto.
1362 (mark_gui_item): ditto.
1363 (gui_item_hash): ditto.
1364 (gui_item_accelerator): new function.
1365 (gui_name_accelerator): new function stolen from gui-x.c
1367 * gui-x.c (popup_selection_callback): always define. mark
1368 subwindows changed after calling a callback.
1369 (menu_name_to_accelerator): deleted.
1370 (button_item_to_widget_value): forward gui_item things to gui_item
1373 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1374 appropriate accesors.
1376 * glyphs-x.c: declare new glyph formats.
1377 (x_finalize_image_instance): unmanage and destroy widgets if they
1379 (x_unmap_subwindow): handle widgets specially.
1380 (x_map_subwindow): ditto. offset display of widgets by offset of
1381 text widget within container.
1382 (x_update_subwindow): new function. call lw_modify_all_widgets
1383 when we are a widget.
1384 (x_widget_instantiate): new function for generically creating
1385 widgets-glyphs. toolkit specifics forwarded to lwlib.
1386 (x_button_instantiate): new function for instantiating
1387 widgets-glyph buttons.
1388 (console_type_create_glyphs_x): register update_subwindow.
1389 (image_instantiator_format_create_glyphs_x): register widget and
1392 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1394 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1395 when we get a button press in case we do not have the focus.
1396 (handle_focus_event_1): set the keyboard focus to the text widget
1397 if we do not have it.
1399 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1402 1999-06-24 SL Baur <steve@miho.m17n.org>
1404 * syntax.c (scan_words): Restore non-Mule code.
1405 (word_constituent_p): Restore.
1407 1999-06-23 Olivier Galibert <galibert@pobox.com>
1409 * config.h.in: Add missing #undef *_USER_DEFINED.
1411 1999-06-23 SL Baur <steve@miho.m17n.org>
1413 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1414 int (fixes a 64-bit problem).
1416 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1419 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1421 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1423 1999-06-22 Olivier Galibert <galibert@pobox.com>
1425 * lrecord.h: Added basic external description system.
1427 * symbols.c: Added symbol, symbol-value-buffer-local,
1428 symbol-value-lisp-magic and symbol-value-varalias description.
1429 * mule-charset.c: Added charset description.
1430 * marker.c: Added marker description.
1431 * keymap.c: Added keymap description.
1432 * glyphs.c: Added glyph description.
1433 * floatfns.c: Added float description.
1434 * file-coding.c: Added coding-system description.
1435 * extents.c: Added extent description.
1436 * elhash.c: Added hash-table description.
1437 * data.c: Added weak-list desciption.
1438 * chartab.c: Added char-table-entry and char-table description.
1439 * bytecode.c: Added compiled-function description.
1440 * alloc.c: Added cons, vector and string description.
1442 1999-06-22 Olivier Galibert <galibert@pobox.com>
1444 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1445 Updated everything to the removal of the "flags" substructure.
1447 * lisp.h (subr_lheader_initializer): Updated.
1448 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1450 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1452 * syntax.c (word_constituent_p): Deleted.
1453 (scan_words): Use `WORD_BOUNDARY_P'.
1455 * chartab.c (Vword_combining_categories): New variable.
1456 (Vword_separating_categories): Likewise.
1457 (CATEGORYP): New macro.
1458 (CATEGORY_SET): Likewise.
1459 (CATEGORY_MEMBER): Likewise.
1460 (word_boundary_p): New function.
1461 (complex_vars_of_chartab): Set up new variable
1462 `word-combining-categories' and `word-separating-categories'.
1464 1999-06-18 Olivier Galibert <galibert@pobox.com>
1466 * lrecord.h: Added description as a placehold in the lrecord
1467 implementation structures. Added the parameter to all constructor
1470 * alloc.c: Added placeholders.
1472 * bytecode.c: Ditto.
1476 * database.c: Ditto.
1481 * event-stream.c: Ditto.
1485 * file-coding.c: Ditto.
1486 * floatfns.c: Ditto.
1494 * mule-charset.c: Ditto.
1498 * rangetab.c: Ditto.
1499 * specifier.c: Ditto.
1502 * tooltalk.c: Ditto.
1505 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1507 * XEmacs 21.2.17 is released
1509 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1511 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1512 (HAVE_LDAP_GET_LDERRNO): Ditto
1513 (HAVE_LDAP_RESULT2ERROR): Ditto
1514 (HAVE_LDAP_PARSE_RESULT): Ditto
1515 (HAVE_UMICH_LDAP): Removed
1516 (HAVE_NS_LDAP): Removed
1518 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1519 suggested by Olivier Galibert
1520 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1522 * eldap.c: Take the removal of `livep' into account in all the
1524 (signal_ldap_error): Take two additional parameters
1525 Added new finer compilation conditions in order to use
1526 ldap_parse_result or ldap_result2error if available
1527 (Fldap_open): Conform to this new API
1528 (Fldap_search_internal): Ditto
1530 1999-06-17 SL Baur <steve@miho.m17n.org>
1532 * data.c (struct int_or_double): Should use EMACS_INT not int.
1534 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1536 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1539 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1541 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1542 `CCL_MODE_ENCODING'.
1544 * file-coding.c (mule_decode): Run `ccl_driver' with
1545 `CCL_MODE_DECODING'.
1546 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1548 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1549 (ccl_driver): Add new argument `conversion_mode'.
1550 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1551 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1552 new optional argument].
1554 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1555 (CCL_MODE_DECODING): New macro.
1556 (ccl_driver): Add new argument `conversion_mode'.
1558 1999-06-15 SL Baur <steve@miho.m17n.org>
1560 * mule-charset.c (Fsplit_char): New subr.
1561 (Fchar_octet): delete.
1562 (syms_of_mule_charset): DEFSUBR it.
1564 1999-06-13 Andy Piper <andy@xemacs.org>
1566 * menubar.h: update declarations involving gui_items.
1568 * lisp.h: declare Lisp_Gui_Item.
1570 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1572 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1573 (print_image_instance): ditto.
1574 (image_instance_equal): ditto.
1575 (image_instance_hash): ditto.
1577 * event-msw.c (mswindows_need_event): assert badly_p status.
1578 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1579 callbacks in tree-view and tab-control widgets.
1580 (emacs_mswindows_next_event): modify use of
1581 mswindows_dequeue_dispatch_event.
1583 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1584 lisp-based gui_items.
1586 * glyphs-msw.c (mswindows_update_subwindow): update use of
1588 (mswindows_register_gui_item): new function.
1589 (mswindows_register_gui_item): fix to use lisp gui_items.
1590 (mswindows_widget_instantiate): ditto.
1591 (mswindows_button_instantiate): ditto.
1592 (add_tree_item): new function to recursively add tree view
1594 (add_tree_item_list): ditto.
1595 (mswindows_tree_instantiate): new function. instantiate tree view
1597 (add_tab_item): new function to add tabs to a tab control.
1598 (mswindows_tab_instantiate): new function. instantiate tab
1600 (image_instantiator_format_create_glyphs_mswindows): add tree view
1602 (vars_of_glyphs_mswindows): ditto.
1604 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1606 (check_valid_item_list): ditto.
1607 (initialize_widget_image_instance): fix to use new lisp gui_item.
1608 (widget_instantiate_1): allow the setting of default textwidth in
1610 (widget_instantiate): change to use new widget_instantiate_1
1612 (combo_instantiate): ditto.
1613 (static_instantiate): ditto.
1614 (tab_instantiate): new function for tab widgets.
1615 (image_instantiator_format_create_glyphs_widget): add tab and tree
1618 * menubar-msw.c (displayable_menu_item): convert to use lisp
1620 (populate_menu_add_item): ditto.
1621 (populate_or_checksum_helper): ditto.
1623 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1625 (Fmenu_find_real_submenu): ditto.
1627 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1629 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1630 objects, convert functions that use them accordingly.
1631 (gui_item_init): ditto.
1632 (gui_item_active_p): ditto.
1633 (gui_item_selected_p): ditto.
1634 (gui_item_included_p): ditto.
1635 (gui_item_display_flush_left): ditto.
1636 (gui_item_display_flush_right): ditto.
1637 (mark_gui_item): ditto.
1638 (allocate_gui_item): new function to create a gui_item.
1639 (make_gui_item_from_keywords_internal): ditto. create and return a
1640 gui_item as well as setting keywords.
1641 (gui_parse_item_keywords): ditto.
1642 (gui_parse_item_keywords_no_errors): ditto.
1643 (gui_add_item_keywords_to_plist): new function, not yet used.
1644 (gui_item_hash): new function.
1645 (gui_item_id_hash): use gui_item_hash.
1646 (gui_item_equal): new function.
1647 (print_gui_item): new function.
1649 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1651 * XEmacs 21.2.16 is released
1653 1999-06-10 Andy Piper <andy@xemacs.org>
1655 * select-msw.c (mswindows_own_selection): only set the clipboard
1657 (mswindows_get_foreign_selection): only get the clipboard if
1659 (mswindows_disown_selection): only disown the clipboard if asked.
1661 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1663 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1665 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1666 of coding-category `no-conversion'.
1668 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1670 * file-coding.c (Qraw_text): New variable.
1671 (syms_of_mule_coding): Add new symbol `raw-text'.
1672 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1673 define coding-system `binary' independently; define coding-system
1674 `no-conversion' as an alias for `raw-text'.
1676 * file-coding.h (Qraw_text): New variable.
1678 1999-06-08 SL Baur <steve@xemacs.org>
1680 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1682 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1684 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1686 (base64_decode_1): Signal errors instead of returning -1.
1688 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1690 * mule-charset.c (Fmake_char): Update docstring.
1692 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1694 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1696 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1698 * fns.c (base64_decode_1): Allow and ignore any non-base64
1699 characters in input.
1701 1999-05-27 Olivier Galibert <galibert@pobox.com>
1703 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1704 of report_pure_usage().
1706 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1708 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1710 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1712 * XEmacs 21.2.15 is released
1714 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1716 * frame.c (Fset_mouse_position):
1717 (Fset_mouse_pixel_position):
1718 * window.c (Fsplit_window):
1719 (Fmove_to_window_line):
1720 Fix crash when invoking functions with an already-deleted window
1723 * indent.c (vertical_motion_1):
1725 (Fvertical_motion_pixels):
1726 * window.c (Fwindow_displayed_text_pixel_height):
1727 Fix error message when invoking functions with an already-deleted
1730 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1732 * sysdep.c (request_sigio_on_device): Guard against glibc
1733 2.1's stub streams implementation.
1735 1999-06-03 SL Baur <steve@xemacs.org>
1738 * emacs.c: Implement x.y.z version numbers
1739 From Jan Vroonhof <vroonhof@math.ethz.ch>
1741 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1743 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1744 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1747 1999-06-03 SL Baur <steve@xemacs.org>
1750 * device-x.c: rename session option to wmcommand.
1751 From Oliver Graf <ograf@rhein-zeitung.de>
1753 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1755 * fns.c (Fsubstring): Don't traverse the same region twice with
1756 charcount_to_bytecount().
1758 1999-06-03 SL Baur <steve@steve1.m17n.org>
1760 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1763 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1764 doesn't really work as is implied by the commentary).
1765 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1767 1999-06-02 SL Baur <steve@steve1.m17n.org>
1769 * symsinit.h: Declare vars_of_ntproc.
1770 * emacs.c (main_1): Call it.
1772 * ntproc.c (syms_of_ntproc): Move variable initializations from
1774 (vars_of_ntproc): ... to here [new function].
1776 * file-coding.c (syms_of_file_coding): Rename.
1777 (vars_of_file_coding): Ditto.
1778 (complex_vars_of_file_coding): Ditto.
1780 * symsinit.h: Rename *_mule_coding to *_file_coding.
1782 * emacs.c (main_1): Call them by the proper name.
1784 * device-msw.c (syms_of_device_mswindows): Move variable
1785 initializations from here ...
1786 (vars_of_device_mswindows): ... to here.
1788 * chartab.c (vars_of_chartab): New function.
1790 * symsinit.h: New function, vars_of_chartab.
1792 * emacs.c (main_1): Call it.
1794 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1795 (vars_of_mule_canna): ... to here.
1797 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1798 initializations out of syms_of_mule_ccl.
1800 * symsinit.h: Declare new function vars_of_mule_ccl.
1802 * emacs.c (main_1): Call it.
1804 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1806 * fns.c (base64_decode_1): Ignore whitespace.
1808 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1810 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1813 1999-05-21 Andy Piper <andy@xemacs.org>
1815 * xselect.c: deleted.
1817 * symsinit.h: declare select initialisation.
1819 * select.h: new file. declare commonly used select functions and
1822 * select.c: new file. generalised from xselect.c.
1823 (clean_local_selection_data): moved from xselect.c.
1824 (get_local_selection): ditto. device specific pieces called via a
1826 (handle_selection_clear): ditto.
1827 (Fown_selection_internal): renamed and generalised from
1828 Fx_own_selection_internal. moved from xselect.c.
1829 (Fdisown_selection_internal): ditto.
1830 (Fselection_owner_p): ditto.
1831 (Fselection_exists_p): ditto.
1832 (Fget_selection_internal): ditto.
1833 (syms_of_select): new function. QXXXX values moved from xselect.c
1834 (vars_of_select): new function. selection_converter_alist,
1835 lost_selection_hooks moved and renamed from xselect.c
1837 * select-x.c: renamed from xselect.c.
1838 (x_own_selection): converted to device specific. non-X-specific
1839 bits moved to select.c.
1840 (x_get_foreign_selection): ditto.
1841 (x_disown_selection): ditto.
1842 (x_selection_exists_p): ditto.
1843 (console_type_create_select_x): new function.
1845 * select-msw.c (mswindows_own_selection): new device method to set
1846 the clipboard when we 'own' the selection.
1847 (mswindows_get_foreign_selection): new device method to get the
1849 (mswindows_disown_selection): new device method to delete the
1850 selection when we 'disown' it.
1851 (console_type_create_select_mswindows): new function.
1853 * emacs.c (main_1): add select to things to initialise.
1855 * console.h (struct console_methods): new console methods for
1858 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1860 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1862 * print.c (long_to_string): Install a faster version.
1864 1999-05-16 Andy Piper <andy@xemacs.org>
1866 * ntproc.c (syms_of_ntproc): default
1867 win32-start-process-share-console to t.
1869 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1871 * config.h.in: Do it here.
1873 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1875 1999-05-14 Andy Piper <andy@xemacs.org>
1877 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1880 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1882 * XEmacs 21.2.14 is released
1884 1999-05-12 Andy Piper <andy@xemacs.org>
1886 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1888 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1890 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1891 run_temacs_argv array -- fixes random memory corruption crash
1893 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1895 * window.c (Fcurrent_window_configuration):
1896 Save minibuffer height;
1898 * window.c (set_window_configuration): use it.
1900 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1902 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1904 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1906 * redisplay.c (redisplay_window): Do not put data
1907 in the line start cache if it is not guaranteed to be correct
1909 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1911 * window.c (struct window_config): Removed frame
1913 (window_config_equal): No longer compare frame sizes.
1914 (Fset_window_configuration): Resize old top window to fit in the
1915 current frame directly, no longer use a fake frame resize.
1916 (Fcurrent_window_configuration): No longer save frame size
1918 1999-05-11 Andy Piper <andy@xemacs.org>
1920 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1923 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1925 * sysdep.c (init_system_name): If gethostname gives a proper
1926 domain name, don't look further for one.
1928 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1930 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1931 (Fintern_soft): Accept a symbol argument.
1933 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1935 * symbols.c (Fintern): ...do it here.
1937 * lread.c (read_atom): Don't handle keywords here.
1939 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1941 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1943 1999-05-03 Olivier Galibert <galibert@pobox.com>
1945 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1946 is interned in the main obarray.
1948 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1950 * menubar-x.c (pre_activate_callback): set accelerator field in
1951 "No menu" entries to nil. Avoid crash in
1952 command_builder_operate_menu_accelerator
1954 1999-05-03 Olivier Galibert <galibert@pobox.com>
1956 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1958 * lisp.h (DEFUN): Fix lrecord header initialisation.
1960 1999-05-02 Andy Piper <andy@xemacs.org>
1962 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1964 * ntproc.c (sys_kill): cast using MS mandated defines.
1966 1999-04-29 Andy Piper <andy@xemacs.org>
1968 * m/intel386.h: remove redundant definitions.
1970 * s/mingw32.h: new header for mingw32.
1972 * unexnt.c: (open_input_file): function moved to nt.c.
1973 (close_file_data): ditto.
1974 (rva_to_section): function moved to ntproc.
1976 * symsinit.h: declare syms_of_ntproc();
1978 * objects-msw.c (mswindows_font_instance_truename): new function.
1980 * ntproc.c: remove many warnings.
1981 (_sys_read_ahead): moved from nt.c and made static.
1982 (rva_to_section): moved from unexnt.c but not defined under
1984 (win32_executable_type): implement what we can for mingw32
1986 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1988 * ntheap.h: remove declarations of functions that are now static.
1990 * ntheap.c: support static heap.
1992 * nt.h: conditionalise X_OK definition.
1994 * nt.c: eliminate many warnings and support mingw32.
1995 (open_input_file): function moved from unexnt.c and made static
1996 (close_file_data): ditto.
1997 (_sys_read_ahead): moved to ntproc.c
1999 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2001 * console-msw.h: support mingw32.
2002 * getloadavg.c: ditto.
2009 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2010 some systems don't have all of the encapsulated system calls.
2012 * callproc.c: warning elimination.
2013 * dired-msw.c: ditto.
2014 * process-nt.c: ditto.
2015 * realpath.c: ditto.
2017 * Makefile.in.in: tweak : and ; for building under mswindows.
2019 1999-04-26 Michael Harnois <mharnois@willinet.net>
2021 * eldap.c (allocate_ldap): Adapt to the new semantics of
2022 alloc_lcrecord_type().
2024 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2026 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2028 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2030 * Delete mule-coding.c and mule-coding.h because they are not
2033 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2035 * objects.c (print_font_instance): Check for NILP(f->device),
2036 i.e. Vthe_null_font_instance.
2037 (font_instance_truename_internal): ditto.
2038 (Ffont_instance_properties): ditto.
2040 1999-04-22 Olivier Galibert <galibert@pobox.com>
2042 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2045 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2047 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2048 it easier to add new ones.
2050 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2052 * symbols.c (reject_constant_symbols): Ditto.
2053 (init_symbols_once_early): Ditto.
2055 * print.c (print_symbol): Don't use ->obarray.
2057 * symbols.c (Funintern): Ditto.
2059 * alloc.c (Fmake_symbol): Don't set ->obarray.
2061 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2063 * symbols.c (init_symbols_once_early): Removed
2064 Vpure_uninterned_symbol_table.
2065 (Fintern): Don't store to ->obarray field.
2067 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2069 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2070 (eq_with_ebola_notice): Remove abracadabra support.
2072 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2074 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2075 retrieve the distinguished names of entries
2077 1999-03-08 Martin Buchholz <martin@xemacs.org>
2079 * lread.c (read_escape): Make hex escapes read only two hex digits.
2081 1999-04-05 Olivier Galibert <galibert@pobox.com>
2083 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2084 * make-src-depend: Remove puresize-adjust.h.
2085 * src-headers: Remove puresize-adjust.h.
2086 * config.h.in: Kill everything purespace/gung-ho related.
2088 * dbxrc: Make gung-ho mandatory.
2091 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2092 c_readonly and lisp_readonly. Remove implementation arrays.
2093 (C_READONLY_RECORD_HEADER_P): Added.
2094 (LISP_READONLY_RECORD_HEADER_P): Added.
2095 (SET_C_READONLY_RECORD_HEADER): Added.
2096 (SET_LISP_READONLY_RECORD_HEADER): Added.
2098 * lisp.h: Kill everything purespace/non gung-ho related.
2099 (CHECK_C_WRITEABLE): Added.
2100 (CHECK_LISP_WRITEABLE): Added.
2101 (C_READONLY): Added.
2102 (LISP_READONLY): Added.
2104 * lisp-union.h: Make gung-ho mandatory.
2105 * lisp-disunion.h: Ditto.
2107 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2108 set_lheader_implementation calls.
2109 (c_readonly): Added.
2110 (lisp_readonly): Added.
2111 (make_string_nocopy): Added.
2112 (Fpurecopy): Changed to do nothing. Kept the old documentation
2113 for reference purposes for the next patches.
2114 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2115 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2116 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2118 * fns.c: Make gung-ho mandatory.
2119 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2121 (Ffillarray): Ditto.
2123 * data.c: Make gung-ho mandatory.
2124 (pure_write_error): Removed.
2125 (c_write_error): Added.
2126 (lisp_write_error): Added.
2127 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2131 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2132 make_string or make_string_nocopy. Fix various
2133 alloc_lcrecord_type.
2135 * lread.c: Remove everything purespace related.
2136 (Flocate_file_clear_hashing): purified -> c_readonly.
2137 (locate_file): Ditto.
2138 (read_atom): make_pure_pname -> make_string.
2140 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2142 (Fdump_emacs): Ditto.
2144 * print.c (print_internal): Make gung-ho mandatory.
2145 * ntheap.c (sbrk): Ditto.
2146 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2147 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2149 * sheap.c (more_static_core): Remove puresize-adjust.h from
2152 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2154 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2155 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2156 * events.c (deinitialize_event): Fix set_lheader_implementation.
2157 (zero_event): Ditto.
2158 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2159 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2160 * mule-charset.c (make_charset): Ditto.
2161 * console.c (allocate_console): Ditto.
2162 (complex_vars_of_console): Ditto.
2163 * file-coding.c (allocate_coding_system): Ditto.
2164 * device.c (allocate_device): Ditto
2165 * gui-x.c (gcpro_popup_callbacks): Ditto.
2166 * extents.c (allocate_extent_auxiliary): Ditto.
2167 (allocate_extent_info): Ditto.
2168 (copy_extent): Ditto.
2169 * glyphs.c (allocate_image_instance): Ditto.
2170 (allocate_glyph): Ditto.
2171 * frame.c (allocate_frame_core): Ditto.
2172 * database.c (allocate_database): Ditto.
2173 * tooltalk.c (make_tooltalk_message): Ditto.
2174 (make_tooltalk_pattern): Ditto.
2175 * rangetab.c (Fmake_range_table): Ditto.
2176 (Fcopy_range_table): Ditto.
2177 * process.c (make_process_internal): Ditto.
2178 * chartab.c (Fmake_char_table): Ditto.
2179 (make_char_table_entry): Ditto.
2180 (copy_char_table_entry): Ditto.
2181 (Fcopy_char_table): Ditto.
2182 * elhash.c (make_general_lisp_hash_table): Ditto.
2183 (Fcopy_hash_table): Ditto.
2184 * buffer.c (allocate_buffer): Ditto.
2185 (complex_vars_of_buffer): Ditto.
2186 * event-stream.c (allocate_command_builder): Ditto.
2187 * objects.c (Fmake_color_instance): Ditto.
2188 (Fmake_font_instance): Ditto.
2189 (vars_of_objects): Ditto.
2190 * toolbar.c (update_toolbar_button): Ditto.
2191 * window.c (allocate_window): Ditto.
2192 (make_dummy_parent): Ditto.
2193 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2194 (vars_of_window): Fix make_lcrecord_list.
2195 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2197 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2198 * opaque.c (make_opaque): Fix alloc_lrecord.
2199 (make_opaque_list): Fix alloc_lrecord_type.
2201 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2203 * process.c (Fstart_process_internal): Ditto.
2205 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2208 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2210 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2213 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2214 (emodules_load): Use it when calling locate_file().
2216 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2219 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2220 (vars_of_callproc): Initialize it.
2221 (Fcall_process_internal): Use it when calling locate_file().
2223 * alloc.c (disksave_object_finalization): Use
2224 Flocate_file_clear_hashing().
2226 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2227 given `t' as argument.
2229 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2231 * lread.c (locate_file): Expand `pathel' when appropriate.
2232 (Flocate_file_clear_hashing): Expand path elements.
2233 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2235 * dired.c (make_directory_hash_table): Create the hash-table only
2236 if the directory open is successful.
2238 * lread.c (decode_mode_1): New function.
2239 (decode_mode): Ditto.
2240 (Flocate_file): Use them.
2241 (Flocate_file): Expand FILENAME.
2242 (locate_file_map_suffixes): New function.
2243 (locate_file_in_directory_mapper): New function.
2244 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2245 and locate_file_map_suffixes().
2246 (locate_file_construct_suffixed_files): Use
2247 locate_file_map_suffixes().
2248 (locate_file_without_hash): Don't GCPRO path.
2249 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2250 (syms_of_lread): Remove Qlocate_file_hash_table.
2251 (locate_file_find_directory_hash_table): Use
2252 Vlocate_file_hash_table.
2253 (locate_file_refresh_hashing): Ditto.
2255 * lread.c: Renamed read_objects to Vread_objects.
2257 1999-04-16 Olivier Galibert <galibert@pobox.com>
2259 * mule-charset.c: Generally resync with fsf 20.3 charset
2261 (make_charset): Add long and short name. Use id instead of
2263 (Fmake_charset): Ditto.
2264 (Fmake_reverse_direction_charset): Ditto.
2265 (Fcharset_property): Ditto.
2266 (Fcharset_short_name): Added.
2267 (Fcharset_long_name): Added.
2268 (Fcharset_description): Renamed from charset-doc-string.
2269 (syms_of_mule_charset): Synced symbols.
2270 (complex_vars_of_mule_charset): Synced charsets.
2272 * mule-charset.h: Removed leading byte (uses id instead), added
2273 short and long name.
2275 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2277 * file-coding.c (Fdefine_coding_system_alias): New function.
2279 1999-04-08 Olivier Galibert <galibert@pobox.com>
2281 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2282 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2284 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2286 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2287 attach to the extent is valid.
2289 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2291 * dired.c (user_name_completion): Mule-ize.
2292 (user_name_completion): Use xmalloc/xrealloc/xfree.
2293 (user_name_completion): Use DO_REALLOC.
2294 (user_name_completion): Cut down the number of static variables;
2296 (user_name_completion): Username completion is always
2299 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2301 * fns.c (base64_decode_1): Remove COUNTER.
2302 (base64_decode_1): Accept CRLF in addition to CR.
2303 (base64_decode_1): Disallow a stray character after final EOF; the
2304 check was probably a remnant of buggy recode code.
2306 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2308 * fns.c (init_provide_once): Provide `base64'.
2310 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2312 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2313 (Fbase64_encode_region): If buffer is read-only, bail out early.
2314 (Fbase64_decode_region): Ditto.
2315 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2317 (Fbase64_encode_string): Ditto.
2318 (Fbase64_decode_region): Ditto.
2319 (Fbase64_decode_string): Ditto.
2321 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2323 * dired.c (Fdirectory_files): Remove redundant code.
2325 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2327 * frame-msw.c Make raise-frame restore minimised windows.
2329 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2331 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2334 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2336 * toolbar-msw.c Consider captions when deciding whether to rebuild
2337 toolbar. This fixes the initial toolbar display for those of us
2338 who don't like captions. These patches applied by Andy Piper.
2340 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2342 * XEmacs 21.2.13 is released
2344 1999-03-12 SL Baur <steve@xemacs.org>
2346 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2348 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2350 * file-coding.c: docstring and comment improvements.
2351 (decode_ucs4) flag possible data loss with comment.
2353 1999-03-10 Martin Buchholz <martin@xemacs.org>
2355 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2359 (decode_coding_ucs4):
2360 (encode_coding_ucs4):
2361 (detect_coding_utf8):
2362 (decode_coding_utf8):
2364 (encode_coding_utf8):
2365 Add CHECK_* macros where needed to avoid crashes.
2366 #ifdef out all composite character support using
2367 #ifdef ENABLE_COMPOSITE_CHARS
2368 Use normal XEmacs coding standards.
2370 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2372 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2374 * file-coding.c (make-coding-system): Add description about
2375 `ucs-4' and `utf-8'.
2376 (detection_state): Modify to implement ucs-4 and utf-8.
2377 (detect_coding_type): Likewise.
2378 (detect_coding_ucs4): New implementation.
2379 (detect_coding_utf8): New implementation.
2380 (encode_utf8): fixed.
2381 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2384 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2386 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2387 2022 registry to private area.
2389 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2391 * file-coding.c (encode_utf8): New function.
2392 (encode_coding_utf8): New implementation.
2394 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2396 * file-coding.c (ucs_to_mule_table): New variable; abolish
2397 `Vucs_to_mule_table'
2398 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2399 (set-ucs-char): New function.
2400 (ucs_to_char): New function.
2401 (ucs-char): New function.
2402 (set-char-ucs): New function.
2403 (char-ucs): New function.
2404 (decode_ucs4): Use `ucs_to_char'.
2405 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2406 `mule-to-ucs-table'.
2408 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2410 * chartab.h: EXFUN `Fget_char_table'.
2412 * file-coding.c (encode_ucs4): New function.
2413 (encode_coding_ucs4): Use `encode_ucs4'.
2415 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2417 * file-coding.c (decode_coding_ucs4): New implementation.
2419 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2421 * file-coding.c (decode_coding_ucs4): fixed.
2423 * file-coding.c (Vmule_to_ucs_table): New variable.
2424 (mule_char_to_ucs4): New function.
2425 (encode_coding_ucs4): New implementation.
2426 (complex_vars_of_mule_coding): Define variable
2427 `mule-to-ucs-table'.
2429 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2431 * file-coding.c (decode_coding_utf8): New implementation.
2433 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2435 * file-coding.c (decode_coding_utf8): fixed.
2437 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2439 * file-coding.c (Vucs_to_mule_table): New variable.
2440 (decode_ucs4): Refer `Vucs_to_mule_table'.
2441 (complex_vars_of_mule_coding): Define variable
2442 `ucs-to-mule-table'.
2444 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2446 * file-coding.c (detect_coding_ucs4): New function (not
2448 (decode_coding_ucs4): New function.
2449 (encode_coding_ucs4): New function (not implemented yet).
2450 (detect_coding_utf8): New function (not implemented yet).
2451 (decode_coding_utf8): New function.
2452 (encode_coding_utf8): New function (not implemented yet).
2453 (make-coding-system): New type `ucs4' and `utf8'.
2454 (coding-system-type): Likewise.
2455 (detection_state): Add `ucs4' and `utf8'.
2456 (detect_coding_type): Likewise.
2457 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2458 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2459 (decode_ucs4): New function (very incomplete).
2460 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2462 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2464 1999-03-08 Martin Buchholz <martin@xemacs.org>
2467 (non_ascii_valid_char_p):
2468 (lookup_composite_char):
2469 (composite_char_string):
2470 (make-composite-char):
2471 (composite-char-string):
2472 (syms_of_mule_charset):
2473 (complex_vars_of_mule_charset):
2474 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2475 (CHAR_LEADING_BYTE):
2477 * file-coding.h (CODING_STATE_COMPOSITE):
2478 (CODING_STATE_ISO2022_LOCK):
2480 (LEADING_BYTE_COMPOSITE):
2481 * file-coding.c (struct iso2022_decoder):
2484 (parse_iso2022_esc):
2485 (encode_coding_iso2022):
2486 #ifdef out all composite character support using
2487 #ifdef ENABLE_COMPOSITE_CHARS
2489 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2491 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2493 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2494 way of `Fbase64_encode_region'.
2496 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2498 * fns.c (base64_encode_1): Don't add a newline at the tail.
2500 1999-03-08 Andy Piper <andy@xemacs.org>
2502 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2505 1999-03-07 Martin Buchholz <martin@xemacs.org>
2507 * console-stream.h (struct stream_console):
2508 * event-unixoid.c (event_stream_unixoid_select_console):
2509 (event_stream_unixoid_unselect_console):
2510 * print.c (Fexternal_debugging_output):
2511 * sysdep.c (reset_one_device):
2512 * console-stream.c (stream_init_console):
2513 (stream_delete_console):
2514 (allocate_stream_console_struct): move into stream_init_console.
2515 (free_stream_console_struct): move into stream_delete_console.
2516 Use `fd' only for file descriptors.
2517 Therefore, rename members of struct stream_console.
2519 * systime.h: Unix98 says sys/time.h should define select(), but
2520 some systems define that in unistd.h. So include that file always.
2522 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2523 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2524 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2526 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2530 Add #include <stdio.h>.
2531 Some versions of assert.h use printf() without #include'ing stdio.h
2533 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2534 (log_gcpro): Remove unused variable FRAME.
2535 (show_gcprohist): Ansify.
2536 Comment the #endif's
2538 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2539 after it's just been XtDestroy'ed!
2541 1999-02-18 Martin Buchholz <martin@xemacs.org>
2543 * opaque.c (print_opaque):
2547 Egcs 1.1.1 seems to have a bug where
2548 INTP (p->size_or_chain)
2549 will crash XEmacs. Fix by introducing intermediate variable.
2551 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2553 * dired.c (Fdirectory_files):
2554 (Ffile_name_completion):
2555 (Ffile_name_all_completions):
2556 (file_name_completion):
2557 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2558 avoid compiler warnings.
2559 - Fix up docstrings so that C variables match documentation.
2561 1999-03-05 Martin Buchholz <martin@xemacs.org>
2563 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2564 variables as small as possible to help out the compiler and the maintainer.
2566 * alloc.c: (disksave_object_finalization):
2567 Set all the *-load-path variables to
2568 nil, not just load-path itself. This gets the locate-file hash
2569 tables garbage collected BEFORE dump, and has the side effect of
2570 preventing crashes on OSF4.0+egcs.
2575 - Clean up gdb/dbx debugging support.
2576 - Storing an EMACS_INT in an enum is not 64-bit clean!
2577 - So change the enum to a set of separate variables.
2578 - Add test cases to help debug the debugging support!
2579 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2580 - Both dbx and gdb have been tested now.
2582 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2584 * XEmacs 21.2.12 is released
2586 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2588 * device-x.c: Support to find best visual without flashing.
2590 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2592 * database.c (berkdb_map): Add flags argument to cursor call (must
2593 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2595 1999-03-03 Martin Buchholz <martin@xemacs.org>
2599 General cleanup. Get free-hook.c working again.
2600 Remove unused functions:
2601 make_strings_hash_table, copy_hash, expand_hash_table.
2605 Always use new ANSI-style function prototypes.
2607 * unexalpha.c (unexec): Never use implicit int.
2609 * sgiplay.c (close_sound_file):
2611 (restore_audio_port):
2616 (write_mulaw_8_chunk):
2617 (write_linear_chunk):
2618 (write_linear_32_chunk):
2619 (initialize_audio_port):
2622 (set_output_format):
2623 (adjust_audio_volume):
2624 (get_current_volumes):
2626 Always use new ANSI-style function prototypes.
2627 Use unistd.h for missing prototypes.
2629 * unexelfsgi.c (round_up):
2631 (unexec): Always use new ANSI-style function prototypes
2633 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2635 * console.h (struct console_methods): Always use full ANSI prototypes
2637 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2639 1999-03-02 Andy Piper <andy@xemacs.org>
2641 * event-stream.c (init_event_stream): make sure native mswindows
2642 gets an appropriate event loop.
2644 1999-02-22 Andy Piper <andy@xemacs.org>
2646 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2647 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2648 (mswindows_raise_frame): remove comment.
2650 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2652 * XEmacs 21.2.11 is released
2654 1999-02-25 SL Baur <steve@xemacs.org>
2656 * mule-charset.c (Qleading_byte): New variable to implement
2657 charset-leading-byte function.
2658 (Fcharset_property): Use it.
2659 (syms_of_mule_charset): Initialize it.
2660 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2662 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2664 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2665 bytes per pixel counting.
2667 1999-02-15 Andy Piper <andy@xemacs.org>
2669 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2672 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2674 * fns.c (Fbase64_encode_string): New optional argument
2677 1999-02-16 Martin Buchholz <martin@xemacs.org>
2679 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2680 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2682 1999-02-10 Martin Buchholz <martin@xemacs.org>
2684 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2685 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2687 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2689 * XEmacs 21.2.10 is released
2691 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2693 * process-nt.c (nt_send_process):
2694 Fix for process-send-region/process-send-string breaking when size
2695 of the input > 128 chars: change maximum chunk size for process
2696 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2699 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2701 * XEmacs 21.2.9 is released
2703 1999-01-30 Martin Buchholz <martin@xemacs.org>
2705 * bytecode.c (funcall_compiled_function): Call
2706 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2708 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2709 #ifdef 0 out unused macro.
2711 1999-01-27 Martin Buchholz <martin@xemacs.org>
2713 * gui.c (gui_parse_item_keywords_internal): Make static.
2715 1999-01-21 Andy Piper <andy@xemacs.org>
2717 * glyphs-msw.c: add xface support.
2718 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2719 (image_instantiator_format_create_glyphs_mswindows): do device
2720 specific initialisation for xfaces.
2721 (xbm_create_bitmap_from_data): line data must be padded to a word
2724 * glyphs-x.c (xface_validate): moved to glyphs.c
2725 (xface_normalize): ditto.
2726 (xface_possible_dest_types): ditto.
2727 (image_instantiator_format_create_glyphs_x): do device specific
2728 initialisation for xfaces.
2730 * glyphs.h: declare xface symbol.
2732 * glyphs.c: move generic xface support here.
2733 (xface_validate): moved from glyphs-x.c
2734 (xface_normalize): ditto.
2735 (xface_possible_dest_types): ditto.
2736 (image_instantiator_format_create): xface declarations moved from
2739 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2741 * event-stream.c (vars_of_event_stream): Fixing documentation.
2743 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2745 * glyphs-eimage.c (gif_instantiate): Correct handling of
2746 interlaced gifs to avoid writing past the end of the eimage
2749 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2751 * search.c (Freplace_match): Handle single backslash at end of
2754 1999-01-12 William M. Perry <wmperry@aventail.com>
2756 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2757 avoid connection errors.
2759 1999-01-12 Andy Piper <andy@xemacs.org>
2761 * redisplay-output.c (redisplay_update_line): backout change that
2762 shouldn't have gone ine.
2764 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2766 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2767 collide with ldap.el
2769 1999-01-11 Andy Piper <andy@xemacs.org>
2771 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2772 (DISPLAY_LINE_YPOS): new macro.
2774 * redisplay-msw.c (mswindows_output_string): use it.
2775 (mswindows_output_pixmap): ditto.
2776 (mswindows_output_display_block): ditto.
2778 * redisplay-output.c (redisplay_output_display_block): new
2779 function. just call the devmeth, maybe insert some generic code
2781 (compare_display_blocks): use it.
2782 (output_display_line): ditto.
2783 (redisplay_unmap_subwindows_maybe): new function. potentially
2784 unmap subwindows in the given area.
2786 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2789 1999-01-10 J. Kean Johnston <jkj@sco.com>
2791 * Makefile.in.in: Set value of moduledir
2792 - Changed DUMPENV to include $(MODULEPATH)
2793 - Added install rule to install header files for use by ellcc.
2795 * config.h.in: Added INHIBIT_SITE_MODULES
2796 - Added HAVE__DLERROR
2797 - Added HAVE_DLFCN_H
2798 - Added DLSYM_NEEDS_UNDERSCORE
2802 * emodules.c: New file containing dynamic loading code.
2804 * emodules.h: New file.
2806 * emacs.c: Added variables Vmodule_directory,
2807 Vsite_module_directory, Vconfigure_module_directory and
2808 Vconfigure_site_module_directory.
2809 - (main_1): Added new variable inhibit_site_modules and command
2810 line options `-no-site-modules' and `--no-site-modules'.
2811 - (main_1): Call syms_of_module() instead of syms_of_dll().
2812 - (main_1): Call vars_of_module().
2813 - (vars_of_emacs): Introduce inhibit-site-modules,
2814 module-directory, configure-module-directory,
2815 site-module-directory, and configure-site-module-directory to the
2818 * lisp.h: Declare load_module and list_modules, as well as
2819 Vmodule_directory, Vsite_module_directory,
2820 Vconfigure_module_directory and Vconfigure_site_module_directory.
2822 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2823 - Added correct support for site-lisp directory.
2825 * symbols.c (defsubr): Modified to allow modules to add new subrs
2827 - (defsubr_macro): Same.
2828 - (defvar_magick): Only use purespace when not initialized, so
2829 that loaded modules can still add symbols.
2831 * symsinit.h: Add definitions for syms_of_module(),
2832 vars_of_module(). Removed syms_of_dll().
2834 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2835 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2836 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2838 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2839 explicitly pass -belf for native cc.
2841 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2842 hard-coding the library name.
2844 1999-01-01 <martin@xemacs.org>
2846 * device-x.c (Fx_set_font_path):
2847 Add proper cast to permit compilation under C++.
2849 * buffer.c (directory_is_current_directory):
2850 Add proper casts to permit compilation under C++.
2852 1998-12-30 Damon Lipparelli <lipp@primus.com>
2854 * event-msw.c (mswindows_wnd_proc):
2855 Fixed failure when building with MSVC 5.
2857 1998-12-29 Martin Buchholz <martin@xemacs.org>
2859 * file-coding.c (decode_coding_iso2022):
2860 - Prevent crash when decoding ISO7/Lock detected files
2861 - the usual martin fiddling
2863 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2867 Fixed failures when building with MSVC.
2868 * unexnt.c (dump_bss_and_heap):
2869 Removed compiler warning by removing bss_data variable.
2871 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2873 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2874 so that packages that distribute their own fonts can access them.
2876 1998-12-28 Andy Piper <andy@xemacs.org>
2878 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2879 that have an image provided.
2881 * glyphs.h: add Q_image decl.
2883 * glyphs-widget.c new functionality allowing images in
2885 (check_valid_glyph_or_image): new function to validate
2886 glyphs passed in through :image.
2887 (widget_normalize): new function. convert :image parameters into
2888 real glyphs if not already so.
2889 (widget_instantiate_1): mess with size parameters to be similar to
2891 (syms_of_glyphs_widget): new keyword :image.
2892 (image_instantiator_format_create_glyphs_widget): normalize
2893 buttons and allow :image.
2895 1998-12-27 Andy Piper <andy@xemacs.org>
2897 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2899 * glyphs-widget.c (check_valid_anything): no-op function.
2900 (check_valid_callback): check callbacks in gui_items.
2901 (check_valid_symbol): as it sounds.
2902 (check_valid_string_or_vector): ditto.
2903 (widget_validate): modified for descriptors that are vectors or
2904 sequences of keyword/val pairs.
2905 (widget_instantiate_1): ditto.
2906 (image_instantiator_format_create_glyphs_widget): allow gui_item
2907 keywords in the instantiator.
2909 * gui.c (gui_parse_item_keywords_internal): renamed from
2910 gui_parse_item_keywords but taking error behaviour.
2911 (gui_parse_item_keywords): use it.
2912 (gui_parse_item_keywords_no_errors): ditto.
2913 (gui_item_add_keyval_pair): add Error_behavior flag and only
2914 signal invalid keywords if required.
2916 * gui.h: new gui signatures.
2918 * menubar.c (menu_parse_submenu_keywords): use new
2919 gui_item_add_keyval_pair signature.
2921 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2923 1998-12-28 Martin Buchholz <martin@xemacs.org>
2925 * XEmacs 21.2.8 is released.
2927 1998-12-28 Martin Buchholz <martin@xemacs.org>
2929 * editfns.c (get_home_directory):
2930 (user-home-directory): Simplify.
2933 * callproc.c (child_setup):
2934 - Environment variables were being passed to inferior processes
2935 using internal encoding.
2936 - Convert to external encoding.
2937 - Rename local var `tem' to better name `tail'.
2938 - Use Flength instead of `manual' calculation.
2940 * buffer.c (kill-buffer):
2942 (set-buffer-major-mode):
2944 - Fix up parameter names to correspond to docstrings.
2945 - Don't use `bufname' when a buffer will do as well.
2946 - Remove one unneeded GCPRO.
2948 * buffer.h (initial_directory):
2949 * buffer.c (init_initial_directory):
2950 - use correct conversions between internal and external format.
2951 (directory_is_current_directory): new function
2952 (init_buffer): convert initial_directory to internal format.
2953 - solve crashes when current working directory is non-ASCII.
2955 * alloc.c (xmalloc):
2958 - remove stupid casts, since XEmacs requires an ANSI C system.
2959 (lrecord_type_index): replace abort() with more readable assert().
2961 (reset_lcrecord_stats): remove.
2962 (sweep_lcrecords_1):
2963 - replace call to reset_lcrecord_stats() with call to xzero().
2965 1998-12-27 Martin Buchholz <martin@xemacs.org>
2967 * process-unix.c (unix_create_process):
2968 - Fix crash invoking program with non-ASCII name.
2969 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2970 - Remove unused variable `env'.
2971 - Rename `temp' to better name `save_errno'.
2972 - Reorganize code for clarity. But still too chicken to nuke the
2975 1998-12-24 Martin Buchholz <martin@xemacs.org>
2977 * XEmacs 21.2.7 is released.
2979 1998-12-23 Martin Buchholz <martin@xemacs.org>
2981 * glyphs.c (decode_device_ii_format):
2983 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2985 * glyphs-x.c (x_subwindow_instantiate):
2986 - A image instance mask was being assigned to a image instance type!
2987 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2989 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2991 * glyphs-x.h: Make indentation consistent.
2993 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2995 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2997 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3001 Move declarations of decode_device_ii_format and
3002 decode_image_instantiator_format into glyphs.h where they belong.
3004 1998-12-22 Martin Buchholz <martin@xemacs.org>
3006 * frame-x.c (x_delete_frame): Revert part of my changes at the
3007 suggestion of Gunnar Evermann - unfortunately no one really
3008 understands this code.
3010 * callproc.c (init_callproc): code cleanup.
3012 * free-hook.c (malloc):
3017 (block_input_malloc):
3018 (block_input_realloc):
3019 * device-x.c (x_delete_device):
3020 * emacs.c (voodoo_free_hook):
3021 * events.c (print_event):
3023 (CHECK_EVENT_TYPE2):
3024 (CHECK_EVENT_TYPE3):
3025 Use proper prototypes.
3026 Make C_E_T macros a little faster.
3027 Pedantic fiddly little changes. You really don't care.
3029 1998-12-22 Andy Piper <andy@xemacs.org>
3031 * redisplay-output.c (redisplay_clear_region): make sure that
3032 fg/bg colors get set even when we are in the border area.
3034 1998-12-13 Martin Buchholz <martin@xemacs.org>
3036 * console-msw.c: Function definitions follow coding standards
3037 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3039 1998-12-11 Martin Buchholz <martin@xemacs.org>
3041 * events.h (struct timeout_data):
3042 * event-tty.c (tty_timeout_to_emacs_event):
3043 * event-msw.c (mswindows_wm_timer_callback):
3044 * event-Xt.c (Xt_timeout_to_emacs_event):
3045 * event-msw.c (mswindows_cancel_dispatch_event):
3046 Make sure Lisp_Objects inside events are initialized to Qnil, not
3047 Qnull_pointer, which is now illegal.
3049 1998-12-10 Martin Buchholz <martin@xemacs.org>
3051 * lisp.h: Fix up prototypes to match alloc.c
3053 1998-12-08 Martin Buchholz <martin@xemacs.org>
3055 * windowsnt.h: Remove `support' for using index and rindex
3057 * filelock.c (current_lock_owner):
3058 - Change uses of index -> strchr, rindex -> strrchr
3060 1998-12-07 Martin Buchholz <martin@xemacs.org>
3062 * sysdep.c (set_descriptor_non_blocking):
3063 Since O_NONBLOCK is now always #defined, make use of fcntl
3064 conditional on F_SETFL being defined.
3066 * console-msw.c (DHEADgER):
3075 - max_align_t should not be visible to the user of the
3077 - use Bufbyte instead of char
3078 - parens around (FOOP (obj)) are always redundant.
3079 If they were necessary, we should fix the macro instead.
3080 - Always use string_data(foo) instead of foo->data.
3083 1998-12-06 Martin Buchholz <martin@xemacs.org>
3085 * frame-msw.c (mswindows_init_frame_1):
3086 - use make_lisp_hash_table, not Fmake_hash_table
3090 * alloc.c (make_vector): remove travesty
3094 (make_bit_vector_internal):
3096 (make_bit_vector_from_byte_vector):
3098 - make vector_equal a little faster.
3099 - Don't use variable name `new'.
3100 - Use size_t instead of EMACS_INT.
3101 - usual Martin-style pointless bit-twiddling.
3107 Make mapcar faster. In particular, make
3108 (mapc #'identity long-string)
3109 MUCH faster under Mule.
3110 * tests/automated/lisp-tests.el: Test 'em!
3112 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3115 1998-12-01 Martin Buchholz <martin@xemacs.org>
3117 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3118 Qnil, not NULL, to initialize `null' Lisp_Objects.
3120 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3122 * specifier.c (display_table_validate): Update.
3124 * redisplay.c (create_text_block): Use them.
3126 * glyphs.c (display_table_entry): New function.
3127 (get_display_tables): Ditto.
3129 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3131 * eldap.c (toplevel): Mention that eldap.c compiles with
3133 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3134 (Fldap_search_internal): Ditto
3136 1998-12-11 Martin Buchholz <martin@xemacs.org>
3138 * event-msw.c (mswindows_cancel_dispatch_event):
3139 Gratuitous code prettification
3142 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3144 * fns.c (Fnconc): Fix use of wrong_type_argument().
3146 * floatfns.c (Ffloat): Fix docstring.
3147 (Ffloat): Fix use of wrong_type_argument().
3149 (extract_float): Ditto.
3154 1998-12-06 Martin Buchholz <martin@xemacs.org>
3156 * frame-msw.c (mswindows_init_frame_1):
3157 - use make_lisp_hash_table, not Fmake_hash_table
3161 * alloc.c (make_vector): remove travesty
3165 (make_bit_vector_internal):
3167 (make_bit_vector_from_byte_vector):
3169 - make vector_equal a little faster.
3170 - Don't use variable name `new'.
3171 - Use size_t instead of EMACS_INT.
3172 - usual Martin-style pointless bit-twiddling.
3178 Make mapcar faster. In particular, make
3179 (mapc #'identity long-string)
3180 MUCH faster under Mule.
3181 * tests/automated/lisp-tests.el: Test 'em!
3183 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3186 1998-12-02 Didier Verna <verna@inf.enst.fr>
3188 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3189 accelerator field to nil for labels.
3191 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3193 * menubar-msw.c (displayable_menu_item):
3194 Escape occurrences of '&' and support occurrences of the
3195 '%_' accelerator indicator in menus.
3197 1998-11-26 Didier Verna <verna@inf.enst.fr>
3199 * dired.c (Fdirectory_files): use make_string instead of
3200 make_ext_string on the filename. The conversion external->internal
3201 format is already done in sys_readdir.
3203 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3205 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3207 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3210 (Belatedly) added Kirill to list of file's authors.
3211 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3212 quit checking. WM_PAINT messages cause redisplay, but
3213 windows' states are not necessarily stable when this function
3216 1998-12-17 Andy Piper <andy@xemacs.org>
3218 * strftime.c (zone_name): CONSTify.
3220 1998-12-15 Andy Piper <andy@xemacs.org>
3222 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3223 (mswindows_widget_property): return Qunbound when no property available.
3224 (mswindows_button_property): ditto.
3225 (mswindows_combo_property): ditto.
3226 (mswindows_widget_set_property): ditto.
3228 * glyphs-widget.c (check_valid_item_list): use properties.
3230 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3232 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3233 (Fimage_instance_property): ditto.
3234 * glyphs-widget.c (widget_property): ditto.
3235 (widget_set_property): ditto.
3237 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3238 as setting the class cursor so that GC actually changes the
3241 * config.h: don't undef MAIL_USE_POP.
3243 1998-12-13 Andy Piper <andy@xemacs.org>
3246 (image_instantiator_format_create_glyphs_mswindows): line ->
3248 (mswindows_label_instantiate): ditto. Play with window flags.
3249 (image_instantiator_format_create_glyphs_mswindows): ditto.
3250 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3252 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3253 cope with lines and labels.
3254 (static_instantiate): use widget_instantiate_1.
3256 (image_instantiator_format_create_glyphs_widget): ditto.
3258 1998-12-10 Andy Piper <andy@xemacs.org>
3260 * Makefile.in.in (objs): add gui.o
3262 1998-12-10 Andy Piper <andy@xemacs.org>
3264 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3267 1998-12-09 Andy Piper <andy@xemacs.org>
3269 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3270 image instance is removed so that the subwindow cache gets reset
3271 and thus destroyed images get GC'd.
3273 1998-12-08 Andy Piper <andy@xemacs.org>
3275 * gui-msw.c (mswindows_handle_gui_wm_command): call
3276 MARK_SUBWINDOWS_CHANGED.
3278 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3279 subwindows really get deleted.
3281 * redisplay.c: new variable subwindows_changed[_set].
3282 (redisplay_window): use it.
3283 (redisplay_frame): ditto.
3284 (redisplay_device): ditto.
3285 (redisplay_without_hooks): ditto.
3287 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3288 subwindows redisplay as per glyphs equivalent.
3289 * redisplay.h: ditto.
3290 (MARK_SUBWINDOWS_CHANGED): ditto.
3291 (RESET_CHANGED_SET_FLAGS): ditto.
3292 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3294 1998-12-07 Andy Piper <andy@xemacs.org>
3296 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3299 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3301 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3302 messages and paint widget glyphs as appropriate with their face fg
3305 1998-12-06 Andy Piper <andy@xemacs.org>
3307 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3308 here rather than in glyphs-widget - do this because we only want
3309 to provide what is really available.
3311 * glyphs.c (Fimage_instance_property): new function to get the
3312 properties of image instances. wires through to console specific
3313 methods and then to widget specific methods.
3314 (Fset_image_instance_property): ditto but for setting widget properties.
3315 (check_valid_face): make extern so that it can be used elsewhere.
3317 * glyphs-widget.c (widget_property): new function. gets the
3318 properties of widgets in general and wires the function through to
3319 widget specific ones.
3320 (widget_set_property): ditto but for setting widget properties.
3322 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3323 add items to the list. Play with window styles a bit to get the
3325 (mswindows_widget_property): break out specific widget properties.
3326 (mswindows_button_property): new function. gets the checked state
3328 (mswindows_combo_property): new function. gets the current
3329 selection in the combo box.
3330 (mswindows_widget_set_property): new function. sets specific
3331 properties of specific widgets.
3333 * glyphs-widget.c (check_valid_item_list): new function. check
3334 that items for a combo-box are just a list of strings.
3335 (combo_validate): new function. check there is an item list.
3336 (widget_instantiate_1): new function. renamed from
3337 widget_instantiate so that we can do slightly different things for
3339 (widget_instantiate): call widget_instantiate_1.
3340 (combo_instantiate): new function to instantiate combo boxes,
3341 defaults height to the pixel height of the number of items in the
3343 (syms_of_glyphs_widget): move widget keywords here.
3344 (image_instantiator_format_create_glyphs_widget): use new combo
3347 1998-12-04 Andy Piper <andy@xemacs.org>
3349 * event-msw.c (mswindows_wnd_proc): mule-ize.
3351 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3353 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3354 (resource_name_to_resource): ditto.
3355 (mswindows_resource_instantiate): ditto.
3356 (mswindows_widget_instantiate): ditto.
3357 (mswindows_widget_set_property): ditto.
3359 * redisplay-output.c (redisplay_output_subwindow): don't show
3360 subwindows if they are obscured at the edge of the frame, emacs
3361 gets into some sort of redisplay loop otherwise.
3363 * gui.h: prototype gui_item_selected_p.
3365 * gui.c (gui_item_selected_p): new function to determine the
3366 selected state of a gui_item.
3368 * frame.h (struct frame): add subwindows_changed flag.
3370 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3372 * glyphs.c (update_subwindow): new function to update a
3374 (update_frame_subwindows): new function to update all the
3375 subwindows on a frame.
3377 * console.h (struct console_methods): add update_subwindow.
3379 * glyphs-msw.c (mswindows_widget_property): return selected state
3380 for selected property.
3381 (mswindows_update_subwindow): new function. updates widget glyphs
3382 in redisplay as per menubars or toolbars e.g. selected state.
3383 (console_type_create_glyphs_mswindows): add update_subwindow.
3385 1998-12-03 Andy Piper <andy@xemacs.org>
3387 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3388 tty coding system things are such.
3390 * glyphs-widget.c (widget_face_font_info): new function for
3391 pulling out height and width metrics for a widget's face.
3392 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3395 * event-msw.c (mswindows_drain_windows_queue): translate messages
3396 that are destined for subwindows. This makes edit fields interact
3397 with the keyboard correctly.
3398 nuke warnings by #ifndef'ing out stuff not required by msg select().
3400 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3401 macro defining the iiforma without the symbol required by widget.
3402 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3404 * general.c (syms_of_general): add Qwidget, Qselected.
3406 * faces.c (complex_vars_of_faces): add widget face inheriting from
3409 1998-11-09 Andy Piper <andy@xemacs.org>
3411 * window.h (struct window): add a cache of subwindows on a
3414 * window.c (mark_window): mark the subwindow_instance_cache.
3415 (allocate_window): initialise the subwindow instance_cache.
3417 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3418 instead of the devmeth.
3419 (x_clear_toolbar): ditto.
3421 * redisplay-x.c (x_output_display_block): call
3422 redisplay_output_subwindow for subwindows and widgets.
3424 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3425 types to do nothing for.
3427 * lisp.h: declare new widget/subwindow symbols.
3429 * glyphs.c (image_instantiate): cache subwindows on a per-window
3431 (subwindow_possible_dest_types): new function for subwindow dest
3433 (subwindow_instantiate): generic instantiation of a
3434 subwindow. specialised by device multi-methods.
3435 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3437 (Fimage_instance_subwindow_id): ditto.
3438 (Fresize_subwindow): ditto.
3439 (Fforce_subwindow_map): ditto.
3441 * glyphs-x.c (x_print_image_instance): remove subwindow
3442 stuff. Handled genrically in glyphs.c.
3443 (x_image_instance_equal): ditto.
3444 (x_image_instance_hash): ditto.
3445 (x_finalize_image_instance): delete subwindows when required.
3446 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3447 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3448 glyph-based, subwindow implementation.
3449 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3451 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3453 (x_unmap_subwindow): new function to unmap X subwindows.
3454 (x_map_subwindow): new function to map X subwindows.
3455 (x_subwindow_instantiate): new function to instantiate X
3457 (x_resize_subwindow): new function to resize X subwindows.
3458 (console_type_create_glyphs_x): add subwindow functions.
3459 (image_instantiator_format_create_glyphs_x): add device
3460 multi-methods for xpm, xbm and subwindow.
3462 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3463 (subwindow-width): ditto.
3464 (subwindow-height): ditto.
3466 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3467 generally instantiating ms subwindows. Used by
3468 mswindows_*_instantiate.
3469 (mswindows_edit_instantiate): instantiate an edit field on a
3472 1998-11-04 Andy Piper <andy@xemacs.org>
3474 * symsinit.h: declare new functions.
3476 * redisplay.h: declare new functions.
3478 * redisplay-x.c (x_output_display_block): call
3479 redisplay_clear_region rather than x_clear_region.
3480 (x_output_string): ditto.
3481 (x_output_pixmap): ditto.
3482 (x_clear_to_window_end): ditto.
3483 (x_output_eol_cursor): ditto.
3484 (x_clear_region): only do X specific things. other duties handled
3485 in redisplay_clear_region.
3487 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3488 duties moved to redisplay_clear_region.
3490 * redisplay-output.c (clear_left_border): use
3491 redisplay_clear_region instead of device method.
3492 (clear_right_border): ditto.
3493 (output_display_line): ditto.
3494 (redisplay_output_subwindow): ditto.
3495 (redisplay_clear_top_of_window): ditto.
3496 (redisplay_clear_region): perform duties previously handled by
3497 device methods. call the appropriate device method at the
3498 end. unmap subwindows if necessary.
3500 * redisplay-msw.c (mswindows_output_string): use
3501 redisplay_clear_region instead of mswindows_clear_region.
3502 (mswindows_clear_to_window_end): ditto.
3503 (mswindows_output_display_block): output subwindows when required.
3504 (mswindows_clear_region): only do mswindows specific things,
3505 everything else is now handled in redisplay_clear_region.
3507 * gui.h: add item id hash defines and declare function prototypes.
3509 * gui.c (mark_gui_item): new function for marking gui_items.
3510 (gui_item_hash): generic hash function for generating command ids
3513 * gui-msw.c: new file.
3514 (mswindows_handle_gui_wm_command): new function to handle widget
3517 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3519 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3520 (DEFINE_DEVICE_IIFORMAT): ditto.
3521 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3522 (struct Lisp_Image_Instance): add widget and subwindow data plus
3523 appropriate access functions.
3525 * glyphs.c (decode_device_ii_format): new function for decoding
3526 image instantiator functions based on a device type as well as an
3528 (decode_image_instantiator_format): just call
3529 decode_device_ii_format with nil device.
3530 (add_entry_to_device_ii_format_list): new function for per device
3532 (add_entry_to_image_instantiator_format_list): just call
3533 add_entry_to_device_ii_format_list with nil device.
3534 (check_valid_vector): new function.
3535 (instantiate_image_instantiator): instantiate using per-format
3536 method and then per-format-per-device method (device
3537 multi-methods). signal an error if neither is possible.
3538 (mark_image_instance): cope with subwindows and widgets.
3539 (print_image_instance): ditto.
3540 (image_instance_equal): ditto.
3541 (image_instance_hash): ditto.
3542 (allocate_glyph): ditto.
3543 (glyph_width): ditto.
3544 (glyph_height_internal): ditto.
3545 (xpm_instantiate): removed because of device multi-methods.
3546 (mark_subwindow_cachels): new cachel functions for caching
3547 instantiated subwindows on a per-frame basis. mostly copied from
3548 glyph cachel functions.
3549 (update_subwindow_cachel_data): ditto.
3550 (add_subwindow_cachel): ditto.
3551 (get_subwindow_cachel_index): ditto.
3552 (reset_subwindow_cachels): ditto.
3553 (mark_subwindow_cachels_as_not_updated): ditto.
3554 (unmap_subwindow): generic unmapping of subwindows based on cachel
3556 (map_subwindow): ditto.
3557 (initialize_subwindow_image_instance): generic initialisation of
3559 (syms_of_glyphs): add widget keywords.
3561 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3564 1998-11-04 Andy Piper <andy@xemacs.org>
3566 * glyphs-widget.c: new file for instantiating widget type glyphs.
3567 (widget_possible_dest_types): new general dest type function for
3569 (widget_validate): ditto.
3570 (initialize_widget_image_instance): ditto
3571 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3572 before handing on control to device multi-methods.
3573 (syms_of_glyphs_widget): new function.
3574 (image_instantiator_format_create_glyphs_widget): new function,
3575 added placeholders for button, edit, combo, scrollbar
3576 (vars_of_glyphs_widget): new function.
3578 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3579 storing window ids of widgets.
3581 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3582 deletion of widget and subwindow glyphs.
3583 (mswindows_unmap_subwindow): new device function for unmapping
3584 subwindows on a msw frame.
3585 (mswindows_map_subwindow): ditto.
3586 (mswindows_register_image_instance): register instantiated widgets
3587 with the widget hastable.
3588 (mswindows_button_instantiate): instantiate a button type widget
3590 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3592 (image_instantiator_format_create_glyphs_mswindows): add device
3593 multi-methods for xbm, xpm, subwindow, edit and button.
3595 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3596 information about subwindows visible on the current frame. used by
3597 redisplay_clear_region to unmap subwindows as required.
3599 * frame.c (mark_frame): mark subwindow_cachels.
3600 (allocate_frame_core): instantiate subwindow_cachels.
3602 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3605 * event-msw.c (mswindows_wnd_proc): add call to
3606 mswindows_handle_gui_wm_command to handle widget callbacks.
3608 * emacs.c (main_1): add calls to glyphs-widget initialisation
3611 * console.h (struct console_methods): add
3612 unmap/map_subwindow_method for use be redisplay_clear_region to
3613 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3614 with by image instantiator multi-methods. Add
3615 resize_subwindow_method.
3617 * console-stream.c (stream_clear_region): change signature to
3618 match new generic clear region function.
3620 * Makefile.in.in: add glyphs-widget.o to list of objects.
3622 * console-msw.h (struct mswindows_frame): add widget hashtable for
3623 wiring command ids to callbacks.
3625 1998-12-16 Andy Piper <andy@xemacs.org>
3627 * XEmacs 21.2.6 is released
3629 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3631 * md5.c (Fmd5): Correctly initiate string input stream.
3633 * Makefile.in.in (tests): Add md5-tests.el.
3635 1998-12-06 Martin Buchholz <martin@xemacs.org>
3638 * alloc.c (make_vector): remove travesty
3642 (make_bit_vector_internal):
3644 (make_bit_vector_from_byte_vector):
3646 - make vector_equal a little faster.
3647 - Don't use variable name `new'.
3648 - Use size_t instead of EMACS_INT.
3649 - usual Martin-style pointless bit-twiddling.
3655 Make mapcar faster. In particular, make
3656 (mapc #'identity long-string)
3657 MUCH faster under Mule.
3658 * tests/automated/lisp-tests.el: Test 'em!
3660 1998-12-06 Martin Buchholz <martin@xemacs.org>
3662 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3665 1998-12-13 Martin Buchholz <martin@xemacs.org>
3667 * console-msw.c: Function definitions follow coding standards
3668 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3670 1998-12-11 Martin Buchholz <martin@xemacs.org>
3672 * events.h (struct timeout_data):
3673 * event-tty.c (tty_timeout_to_emacs_event):
3674 * event-msw.c (mswindows_wm_timer_callback):
3675 * event-Xt.c (Xt_timeout_to_emacs_event):
3676 * event-msw.c (mswindows_cancel_dispatch_event):
3677 Make sure Lisp_Objects inside events are initialized to Qnil, not
3678 Qnull_pointer, which is now illegal.
3680 1998-12-10 Martin Buchholz <martin@xemacs.org>
3682 * lisp.h: Fix up prototypes to match alloc.c
3684 1998-12-09 Andy Piper <andy@xemacs.org>
3686 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3687 XSETINT for assigning lisp objects.
3689 1998-12-07 Martin Buchholz <martin@xemacs.org>
3692 * console-msw.c (DHEADER):
3701 - max_align_t should not be visible to the user of the
3703 - use Bufbyte instead of char
3704 - parens around (FOOP (obj)) are always redundant.
3705 If they were necessary, we should fix the macro instead.
3706 - Always use string_data(foo) instead of foo->data.
3708 1998-12-07 Martin Buchholz <martin@xemacs.org>
3710 * sysdep.c (set_descriptor_non_blocking):
3711 Since O_NONBLOCK is now always #defined, make use of fcntl
3712 conditional on F_SETFL being defined.
3714 1998-12-09 Andy Piper <andy@xemacs.org>
3716 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3717 that got removed in the merge
3719 1998-11-30 Greg Klanderman <greg@alphatech.com>
3721 * dired.c (vars_of_dired): bugfix for previous conditionalization
3722 of user-name-completion on non- Windows NT.
3724 1998-12-08 Martin Buchholz <martin@xemacs.org>
3726 * windowsnt.h: Remove `support' for using index and rindex
3728 * filelock.c (current_lock_owner):
3729 - Change uses of index -> strchr, rindex -> strrchr
3731 1998-12-06 Martin Buchholz <martin@xemacs.org>
3733 * frame-msw.c (mswindows_init_frame_1):
3734 - use make_lisp_hash_table, not Fmake_hash_table
3737 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3739 * XEmacs 21.2.5 is released
3741 1998-11-30 Martin Buchholz <martin@xemacs.org>
3743 * xselect.c (receive_incremental_selection):
3744 * xselect.c (x_get_window_property):
3745 * xmu.c (XmuReadBitmapDataFromFile):
3746 * xmu.c (XmuCursorNameToIndex):
3747 * xgccache.c (describe_gc_cache):
3748 * xgccache.c (gc_cache_lookup):
3749 * xgccache.c (free_gc_cache):
3750 * xgccache.c (make_gc_cache):
3752 * window.c (map_windows_1):
3753 * window.c (Fother_window_for_scrolling):
3754 * window.c (window_scroll):
3755 * window.c (change_window_height):
3756 * window.c (Fsplit_window):
3757 * window.c (window_left_gutter_width):
3758 * window.c (window_modeline_height):
3759 * window.c (invalidate_vertical_divider_cache_in_window):
3760 * window.c (window_needs_vertical_divider_1):
3761 * window.c (update_mirror_internal):
3762 * window.c (SET_LAST_FACECHANGE):
3763 * widget.c (Fwidget_plist_member):
3764 * unexec.c (copy_text_and_data):
3765 * unexcw.c (copy_executable_and_dump_data_section):
3767 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3768 * tooltalk.c (struct Lisp_Tooltalk_Message):
3769 * toolbar.h (struct toolbar_button):
3770 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3771 * toolbar.c (recompute_overlaying_specifier):
3772 * toolbar.c (toolbar_validate):
3773 * toolbar.c (toolbar_button_at_pixpos):
3774 * toolbar.c (get_toolbar_coords):
3775 * toolbar.c (update_frame_toolbars):
3777 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3778 * toolbar-msw.c (mswindows_find_toolbar_pos):
3779 * toolbar-msw.c (mswindows_output_toolbar):
3780 * toolbar-msw.c (mswindows_clear_toolbar):
3789 * sysdep.c (sys_fopen):
3790 * sysdep.c (sys_open):
3791 * sysdep.c (tty_init_sys_modes_on_device):
3792 * sysdep.c (get_eof_char):
3793 * sysdep.c (child_setup_tty):
3794 * sysdep.c (set_descriptor_non_blocking):
3796 * syntax.c (scan_words):
3799 * symeval.h (struct symbol_value_varalias):
3800 * symeval.h (struct symbol_value_forward):
3801 * symbols.c (syms_of_symbols):
3802 * symbols.c (init_symbols_once_early):
3803 * symbols.c (Fbuilt_in_variable_type):
3804 * symbols.c (Fsymbol_value_in_buffer):
3805 * symbols.c (default_value):
3807 * symbols.c (find_symbol_value_quickly):
3808 * symbols.c (store_symval_forwarding):
3809 * symbols.c (set_default_console_slot_variable):
3810 * symbols.c (set_default_buffer_slot_variable):
3811 * symbols.c (verify_ok_for_buffer_local):
3812 * symbols.c (symbol_is_constant):
3813 * symbols.c (oblookup):
3814 * symbols.c (Funintern):
3815 * symbols.c (Fintern):
3816 * symbols.c (check_obarray):
3818 * specifier.h (struct specifier_methods):
3820 * specifier.c (specifier_instance):
3821 * specifier.c (specifier_instance_from_inst_list):
3822 * specifier.c (decode_locale_type):
3823 * specifier.c (specifier_equal):
3824 * specifier.c (finalize_specifier):
3825 * specifier.c (prune_specifiers):
3826 * specifier.c (kill_specifier_buffer_locals):
3827 * sound.c (init_native_sound):
3830 * search.c (Fmatch_data):
3831 * search.c (match_limit):
3832 * search.c (Freplace_match):
3833 * search.c (skip_chars):
3834 * search.c (scan_buffer):
3836 * scrollbar.c (specifier_vars_of_scrollbar):
3837 * scrollbar.c (Fscrollbar_set_hscroll):
3838 * scrollbar.c (vertical_scrollbar_changed_in_window):
3839 * scrollbar.c (release_window_mirror_scrollbars):
3840 * scrollbar.c (free_scrollbar_instance):
3843 * s/msdos.h (O_BINARY):
3845 * s/freebsd.h (LIBS_TERMCAP):
3846 * regex.c (re_match_2_internal):
3847 * regex.c (compile_extended_range):
3848 * regex.c (POP_FAILURE_POINT):
3849 * regex.c (PUSH_FAILURE_POINT):
3850 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3852 * redisplay.h (struct display_line):
3853 * redisplay.h (struct rune):
3854 * redisplay.c (vars_of_redisplay):
3855 * redisplay.c (redisplay_variable_changed):
3856 * redisplay.c (UPDATE_CACHE_RETURN):
3857 * redisplay.c (validate_line_start_cache):
3858 * redisplay.c (mark_redisplay_structs):
3859 * redisplay.c (mark_glyph_block_dynarr):
3860 * redisplay.c (window_line_number):
3861 * redisplay.c (redisplay_frame):
3862 * redisplay.c (redisplay_window):
3863 * redisplay.c (generate_modeline):
3864 * redisplay.c (create_right_glyph_block):
3865 * redisplay.c (create_left_glyph_block):
3866 * redisplay.c (create_text_block):
3868 * redisplay-x.c (x_output_hline):
3869 * redisplay-x.c (x_output_vertical_divider):
3870 * redisplay-tty.c (tty_output_display_block):
3871 * redisplay-output.c (output_display_line):
3872 * redisplay-output.c:
3873 * redisplay-msw.c (mswindows_output_vertical_divider):
3874 * redisplay-msw.c (mswindows_ring_bell):
3875 * redisplay-msw.c (mswindows_output_cursor):
3879 * puresize.h (RAW_PURESIZE):
3880 * profile.c (syms_of_profile):
3881 * profile.c (Fstart_profiling):
3882 * profile.c (sigprof_handler):
3885 * process.c (vars_of_process):
3886 * process.c (read_process_output):
3887 * process.c (get_process):
3889 * process-unix.c (unix_open_multicast_group):
3890 * process-unix.c (unix_get_tty_name):
3891 * process-unix.c (unix_send_process):
3892 * process-unix.c (unix_reap_exited_processes):
3893 * process-unix.c (unix_create_process):
3894 * process-unix.c (unix_init_process_io_handles):
3895 * process-unix.c (allocate_pty):
3897 * process-nt.c (nt_open_network_stream):
3898 * process-nt.c (nt_update_status_if_terminated):
3899 * process-nt.c (nt_finalize_process_data):
3901 * print.c (debug_short_backtrace):
3902 * print.c (debug_backtrace):
3903 * print.c (print_symbol):
3904 * print.c (print_internal):
3905 * print.c (print_cons):
3906 * print.c (Fwrite_char):
3907 * print.c (print_prepare):
3908 * print.c (canonicalize_printcharfun):
3909 * print.c (output_string):
3912 * opaque.c (allocate_managed_opaque):
3914 * offix.c (DndSetData):
3915 * objects.c (face_boolean_create):
3916 * objects.c (font_instantiate):
3917 * objects.c (font_create):
3918 * objects.c (color_create):
3919 * objects.c (finalize_font_instance):
3920 * objects.c (finalize_color_instance):
3922 * objects-x.c (x_font_instance_truename):
3924 * objects-x.c (x_initialize_font_instance):
3925 * objects-x.c (allocate_nearest_color):
3926 * objects-tty.c (tty_initialize_font_instance):
3927 * objects-tty.c (tty_initialize_color_instance):
3928 * objects-msw.c (mswindows_initialize_color_instance):
3929 * ntproc.c (syms_of_ntproc):
3930 * ntproc.c (Fwin32_set_process_priority):
3931 * ntproc.c (sys_spawnve):
3933 * ntheap.c (get_data_end):
3937 * nt.c (generate_inode_val):
3938 * nt.c (sys_rename):
3940 * mule-wnnfns.c (Fwnn_hinsi_number):
3941 * mule-wnnfns.c (Fwnn_yuragi):
3942 * mule-wnnfns.c (Fwnn_common_learn):
3943 * mule-wnnfns.c (Fwnn_suffix_learn):
3944 * mule-wnnfns.c (Fwnn_prefix_learn):
3945 * mule-wnnfns.c (Fwnn_okuri_learn):
3946 * mule-wnnfns.c (Fwnn_complex_conv):
3947 * mule-wnnfns.c (Fwnn_last_is_first):
3948 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3949 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3950 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3951 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3952 * mule-wnnfns.c (Fwnn_hinsi_list):
3953 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3954 * mule-wnnfns.c (Fwnn_dict_search):
3955 * mule-wnnfns.c (Fwnn_word_toroku):
3956 * mule-wnnfns.c (Fwnn_hindo_update):
3957 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3958 * mule-wnnfns.c (Fwnn_kakutei):
3959 * mule-wnnfns.c (Fwnn_begin_henkan):
3960 * mule-wnnfns.c (Fwnn_dict_comment):
3961 * mule-wnnfns.c (Fwnn_dict_add):
3962 * mule-wnnfns.c (Fwnn_open):
3963 * mule-mcpath.c (mc_getcwd):
3964 * mule-coding.c (vars_of_mule_coding):
3965 * mule-coding.c (convert_to_external_format):
3966 * mule-coding.c (encoding_marker):
3967 * mule-coding.c (decoding_marker):
3968 * mule-coding.c (Fcopy_coding_system):
3969 * mule-coding.c (Fmake_coding_system):
3970 * mule-coding.c (Fcoding_system_list):
3971 * mule-coding.c (Ffind_coding_system):
3972 * mule-coding.c (symbol_to_eol_type):
3974 * mule-charset.c (complex_vars_of_mule_charset):
3975 * mule-charset.c (vars_of_mule_charset):
3976 * mule-charset.c (Fset_charset_ccl_program):
3977 * mule-charset.c (struct charset_list_closure):
3978 * mule-charset.c (Ffind_charset):
3979 * mule-charset.c (make_charset):
3980 * mule-charset.c (non_ascii_valid_char_p):
3982 * mule-ccl.c (ccl_driver):
3983 * mule-canna.c (c2mu):
3984 * mule-canna.c (Fcanna_henkan_begin):
3985 * mule-canna.c (Fcanna_parse):
3986 * mule-canna.c (Fcanna_store_yomi):
3987 * mule-canna.c (Fcanna_touroku_string):
3988 * mule-canna.c (Fcanna_initialize):
3990 * menubar.c (menu_parse_submenu_keywords):
3991 * menubar-x.c (make_dummy_xbutton_event):
3992 * menubar-x.c (set_frame_menubar):
3993 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3996 * menubar-msw.c (mswindows_popup_menu):
3997 * menubar-msw.c (mswindows_update_frame_menubars):
3998 * menubar-msw.c (mswindows_handle_wm_command):
3999 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4000 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4001 * menubar-msw.c (update_frame_menubar_maybe):
4002 * menubar-msw.c (populate_or_checksum_helper):
4003 * menubar-msw.c (empty_menu):
4006 * marker.c (set_marker_internal):
4007 * marker.c (print_marker):
4010 * lstream.c (lisp_buffer_rewinder):
4011 * lstream.c (mark_lstream):
4013 * lrecord.h (struct lrecord_header):
4014 * lread.c (readevalloop):
4015 * lread.c (locate_file):
4016 * lread.c (locate_file_in_directory):
4017 * lread.c (Flocate_file):
4018 * lread.c (load_force_doc_string_unwind):
4019 * lread.c (ebolify_bytecode_constants):
4024 * linuxplay.c (linux_play_data_or_file):
4025 * linuxplay.c (audio_init):
4028 * keymap.c (describe_map):
4029 * keymap.c (describe_map_mapper):
4030 * keymap.c (Fdescribe_bindings_internal):
4031 * keymap.c (Fsingle_key_description):
4032 * keymap.c (map_keymap_sorted):
4033 * keymap.c (get_relevant_keymaps):
4034 * keymap.c (Flookup_key):
4035 * keymap.c (raw_lookup_key_mapper):
4036 * keymap.c (Fdefine_key):
4037 * keymap.c (Fevent_matches_key_specifier_p):
4038 * keymap.c (key_desc_list_to_event):
4039 * keymap.c (define_key_parser):
4040 * keymap.c (define_key_check_and_coerce_keysym):
4041 * keymap.c (keymap_submaps):
4042 * keymap.c (keymap_store_internal):
4043 * keymap.c (keymap_delete_inverse_internal):
4044 * keymap.c (keymap_store_inverse_internal):
4045 * keymap.c (print_keymap):
4046 * keymap.c (Lisp_Keymap):
4049 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4050 * insdel.c (make_gap):
4051 * input-method-xlib.c (get_XIM_input):
4052 * input-method-xlib.c (XIM_init_frame):
4057 * gui-x.c (button_item_to_widget_value):
4058 * gui-x.c (popup_selection_callback):
4059 * glyphs.h (struct image_instantiator_methods):
4060 * glyphs.c (mark_glyph_cachels):
4061 * glyphs.c (Fglyph_type):
4062 * glyphs.c (image_instantiate):
4063 * glyphs.c (image_create):
4064 * glyphs.c (make_image_instance_1):
4065 * glyphs.c (finalize_image_instance):
4067 * glyphs-x.c (finalize_subwindow):
4068 * glyphs-x.c (xface_validate):
4069 * glyphs-x.c (x_locate_pixmap_file):
4070 * glyphs-x.c (convert_EImage_to_XImage):
4072 * glyphs-msw.c (mswindows_resource_instantiate):
4073 * glyphs-msw.c (xpm_to_eimage):
4074 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4075 * glyphs-eimage.c (tiff_instantiate):
4076 * glyphs-eimage.c (png_instantiate):
4077 * glyphs-eimage.c (struct png_error_struct):
4078 * glyphs-eimage.c (gif_memory_storage):
4081 * getloadavg.c (getloadavg):
4084 * free-hook.c (log_gcpro):
4085 * free-hook.c (check_malloc):
4086 * free-hook.c (check_free):
4087 * free-hook.c (ROUND_UP_TO_PAGE):
4089 * frame.h (struct frame):
4091 * frame.c (change_frame_size_1):
4092 * frame.c (allocate_frame_core):
4094 * frame-x.c (x_focus_on_frame):
4095 * frame-x.c (x_init_frame_2):
4096 * frame-x.c (x_popup_frame):
4097 * frame-x.c (xemacs_XtPopup):
4099 * frame-x.c (Foffix_start_drag_internal):
4100 * frame-x.c (x_cde_destroy_callback):
4101 * frame-x.c (x_wm_hack_wm_protocols):
4102 * frame-tty.c (tty_frame_visible_p):
4103 * frame-msw.c (mswindows_make_frame_invisible):
4104 * frame-msw.c (mswindows_after_init_frame):
4105 * frame-msw.c (mswindows_init_frame_1):
4106 * fns.c (syms_of_fns):
4107 * fns.c (Fbase64_decode_string):
4109 * fns.c (Ffillarray):
4110 * fns.c (Fobject_plist):
4112 * fns.c (Fcanonicalize_lax_plist):
4113 * fns.c (Fcanonicalize_plist):
4114 * fns.c (Fplist_remprop):
4115 * fns.c (Fplist_get):
4116 * fns.c (advance_plist_pointers):
4117 * fns.c (internal_plist_put):
4118 * fns.c (Fnreverse):
4121 * fns.c (Fsubstring):
4122 * fns.c (Fbvconcat):
4124 * fns.c (length_with_bytecode_hack):
4125 * fns.c (print_bit_vector):
4127 * floatfns.c (Ffloor):
4129 * floatfns.c (in_float_error):
4130 * fileio.c (Ffile_modes):
4131 * fileio.c (Fexpand_file_name):
4132 * fileio.c (Fmake_temp_name):
4133 * fileio.c (Ffile_name_nondirectory):
4134 * fileio.c (Ffile_name_directory):
4136 * file-coding.c (vars_of_mule_coding):
4137 * file-coding.c (convert_to_external_format):
4138 * file-coding.c (encoding_marker):
4139 * file-coding.c (decoding_marker):
4140 * file-coding.c (Fcopy_coding_system):
4141 * file-coding.c (Fmake_coding_system):
4142 * file-coding.c (struct coding_system_list_closure):
4143 * file-coding.c (Ffind_coding_system):
4144 * file-coding.c (symbol_to_eol_type):
4146 * faces.h (struct face_cachel):
4147 * faces.c (vars_of_faces):
4148 * faces.c (face_property_was_changed):
4149 * faces.c (mark_face_cachels):
4150 * faces.c (temporary_faces_list):
4151 * faces.c (struct face_list_closure):
4153 * extents.h (struct extent):
4154 * extents.c (vars_of_extents):
4155 * extents.c (struct copy_string_extents_1_arg):
4156 * extents.c (add_string_extents_mapper):
4157 * extents.c (Fextent_property):
4158 * extents.c (Fset_extent_property):
4159 * extents.c (symbol_to_glyph_layout):
4160 * extents.c (properties_equal):
4161 * extents.c (print_extent):
4162 * extents.c (print_extent_1):
4163 * extents.c (extent_in_region_p):
4164 * extents.c (gap_array_make_gap):
4166 * events.h (struct Lisp_Event):
4168 * events.c (Fevent_properties):
4169 * events.c (format_event_object):
4170 * events.c (Fmake_event):
4171 * events.c (event_equal):
4172 * events.c (print_event):
4173 * events.c (mark_event):
4174 * event-stream.c ((read-char)
4175 * event-stream.c (vars_of_event_stream):
4176 * event-stream.c (syms_of_event_stream):
4177 * event-stream.c (Fset_recent_keys_ring_size):
4178 * event-stream.c (Fsit_for):
4179 * event-stream.c (Fnext_event):
4180 * event-stream.c (execute_help_form):
4181 * event-stream.c (maybe_kbd_translate):
4183 * event-msw.c (vars_of_event_mswindows):
4184 * event-msw.c (mswindows_wnd_proc):
4185 * event-msw.c (mswindows_need_event):
4186 * event-msw.c (mswindows_drain_windows_queue):
4187 * event-msw.c (mswindows_pump_outstanding_events):
4189 * event-msw.c (slurp_thread):
4190 * event-msw.c (struct ntpipe_slurp_stream):
4191 * event-msw.c (HANDLE_TO_USID):
4192 * event-Xt.c (emacs_Xt_handle_magic_event):
4193 * event-Xt.c (x_event_to_emacs_event):
4194 * event-Xt.c (x_reset_modifier_mapping):
4195 * event-Xt.c (x_reset_key_mapping):
4197 * eval.c (syms_of_eval):
4198 * eval.c (warn_when_safe):
4199 * eval.c (warn_when_safe_lispobj):
4200 * eval.c (Fbacktrace_frame):
4201 * eval.c (Fbacktrace):
4202 * eval.c (top_level_set):
4203 * eval.c (unbind_to_hairy):
4204 * eval.c (specbind_magic):
4205 * eval.c (specbind_unwind_wasnt_local):
4206 * eval.c (call2_trapping_errors):
4207 * eval.c (call1_trapping_errors):
4208 * eval.c (catch_them_squirmers_call2):
4209 * eval.c (call0_trapping_errors):
4210 * eval.c (run_hook_trapping_errors):
4211 * eval.c (catch_them_squirmers_eval_in_buffer):
4212 * eval.c (call4_in_buffer):
4213 * eval.c (call3_in_buffer):
4214 * eval.c (call2_in_buffer):
4215 * eval.c (call1_in_buffer):
4216 * eval.c (call0_in_buffer):
4217 * eval.c (run_hook):
4218 * eval.c (run_hook_with_args_in_buffer):
4221 * eval.c (do_autoload):
4222 * eval.c (un_autoload):
4223 * eval.c (Fautoload):
4224 * eval.c (Finteractive_p):
4225 * eval.c (Fcommand_execute):
4226 * eval.c (signal_quit):
4227 * eval.c (call_with_suspended_errors):
4228 * eval.c (signal_error):
4229 * eval.c (return_from_signal):
4230 * eval.c (Fcall_with_condition_handler):
4231 * eval.c (run_condition_case_handlers):
4232 * eval.c (condition_case_1):
4233 * eval.c (Funwind_protect):
4234 * eval.c (unwind_to_catch):
4235 * eval.c (internal_catch):
4236 * eval.c (Fmacroexpand_internal):
4237 * eval.c (Fuser_variable_p):
4238 * eval.c (Fdefconst):
4240 * eval.c (Ffunction):
4241 * eval.c (signal_call_debugger):
4242 * eval.c (call_debugger):
4245 * emacs.c (sort_args):
4249 * editfns.c (Fencode_time):
4250 * editfns.c (Fdecode_time):
4251 * editfns.c (Fuser_full_name):
4253 * editfns.c (save_excursion_restore):
4256 * doprnt.c (emacs_doprnt_1):
4257 * doc.c (verify_doc_mapper):
4258 * doc.c (Fsnarf_documentation):
4259 * doc.c (Fdocumentation):
4261 * dired.c (user_name_completion):
4262 * dired.c (Fdirectory_files):
4265 * dgif_lib.c (FreeSavedImages):
4266 * dgif_lib.c (DGifGetImageDesc):
4268 * device.h (struct device):
4269 * device.c (Fselect_device):
4270 * device.c (allocate_device):
4272 * device-x.c (Fx_keysym_on_keyboard_p):
4273 * device-x.c (Fx_valid_keysym_name_p):
4274 * device-x.c (x_IO_error_handler):
4275 * device-x.c (x_delete_device):
4276 * device-x.c (x_finish_init_device):
4277 * device-x.c (x_init_device):
4279 * device-msw.c (mswindows_init_device):
4281 * database.c (vars_of_database):
4282 * database.c (Fput_database):
4283 * database.c (Fopen_database):
4284 * database.c (berkdb_remove):
4285 * database.c (berkdb_put):
4286 * database.c (Fdatabasep):
4287 * database.c (print_database):
4289 * data.c (vars_of_data):
4290 * data.c (syms_of_data):
4291 * data.c (init_errors_once_early):
4292 * data.c (prune_weak_lists):
4293 * data.c (finish_marking_weak_lists):
4294 * data.c (print_weak_list):
4296 * data.c (Fstring_to_number):
4297 * data.c (Fnumber_to_string):
4298 * data.c (Findirect_function):
4301 * data.c (Fsubr_interactive):
4303 * data.c (Fkeywordp):
4306 * console.h (CONSOLE_NAME):
4308 * console.c (vars_of_console):
4309 * console.c (Fselect_console):
4311 * console-x.h (DEVICE_X_COLORMAP):
4312 * console-x.h (struct x_device):
4313 * console-x.c (x_device_to_console_connection):
4314 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4315 * console-tty.c (tty_init_console):
4317 * console-msw.h (struct mswindows_frame):
4320 * cmds.c (internal_self_insert):
4321 * cmds.c (Fforward_line):
4322 * cmds.c (Fforward_char):
4325 * chartab.c (mark_char_table_entry):
4327 * casefiddle.c (casify_word):
4328 * callproc.c (child_setup):
4329 * callproc.c (Fcall_process_internal):
4331 * callint.c (Fcall_interactively):
4333 * bytecode.c (execute_rare_opcode):
4334 * bytecode.c (execute_optimized_program):
4337 * buffer.h (BUFFER_REALLOC):
4338 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4339 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4341 * buffer.h (MAP_INDIRECT_BUFFERS):
4342 * buffer.h (CHECK_LIVE_BUFFER):
4343 * buffer.c (init_initial_directory):
4344 * buffer.c (complex_vars_of_buffer):
4345 * buffer.c (vars_of_buffer):
4346 * buffer.c (finish_init_buffer):
4347 * buffer.c (Fget_file_buffer):
4348 * buffer.c (Fbuffer_list):
4349 * buffer.c (mark_buffer):
4350 * balloon_help.c (balloon_help_move_to_pointer):
4351 * balloon_help.c (show_help):
4354 * alloc.c (garbage_collect_1):
4355 * alloc.c (sweep_strings):
4356 * alloc.c (sweep_compiled_functions):
4357 * alloc.c (sweep_bit_vectors_1):
4358 * alloc.c (sweep_vectors_1):
4359 * alloc.c (sweep_lcrecords_1):
4360 * alloc.c (tick_lcrecord_stats):
4361 * alloc.c (pure_string_sizeof):
4362 * alloc.c (mark_conses_in_list):
4363 * alloc.c (mark_object):
4364 * alloc.c (report_pure_usage):
4365 * alloc.c (make_pure_float):
4366 * alloc.c (make_pure_string):
4367 * alloc.c (free_managed_lcrecord):
4368 * alloc.c (mark_string):
4369 * alloc.c (noseeum_make_marker):
4370 * alloc.c (allocate_event):
4371 * alloc.c (Fbit_vector):
4372 * alloc.c (Fvector):
4373 * alloc.c (make_float):
4374 * alloc.c (Fmake_list):
4376 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4377 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4378 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4379 * alloc.c (dbg_constants):
4380 * alloc.c (gc_record_type_p):
4381 * alloc.c (free_lcrecord):
4382 * alloc.c (xmalloc):
4383 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4385 * Makefile.in.in (mostlyclean):
4386 * Makefile.in.in (external_client_xlib_objs_nonshared):
4387 * Makefile.in.in (temacs_link_args):
4388 * Makefile.in.in (release):
4389 * Makefile.in.in (dnd_objs):
4390 * Makefile.in.in (objs):
4391 * Makefile.in.in (PROGNAME):
4392 * EmacsShell.c: cast strings to (XtPointer)
4393 * EmacsFrame.c: cast strings to (XtPointer)
4395 - rewrite basic lisp functions for speed
4396 - rewrite bytecode interpreter for speed
4397 - rewrite list looping constructs for speed and safety using
4399 - use size_t where appropriate.
4400 - new hashtable implementation
4401 - cleanup implementation of opaques
4402 - opaques can now be purecopy'ed
4403 - move some cl functionality into C for speed.
4404 - remove last remaining VMS support
4406 - improve gdb/dbx debugger support
4407 - move pure.c back into alloc.c for performance
4408 - enable report_pure_usage() if --memory-usage-stats
4409 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4410 - don't use symbols with leading `_' or embedded `__'
4411 - globally cleanup duplicated semicolons `;;'
4412 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4414 - globally replace O_NDELAY with O_NONBLOCK.
4415 - globally replace CDISABLE with _POSIX_VDISABLE.
4416 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4417 - define (and maybe use!) STDERR_FILENO and friends.
4418 - add support for macros defined in C
4419 - `when', `unless', `not' and `defalias' now defined in C,
4420 so that they are universally available.
4421 - rename defvar_mumble to defvar_magic
4422 - rename RETURN__ to RETURN_SANS_WARNINGS
4423 - use consistent style of initial caps in error messages
4424 - implement last, butlast, nbutlast, copy-list in C.
4425 - provide typedefs for all struct Lisp_foo types
4426 - Lisp_Objects must be initialized to Qnil rather than 0.
4427 - make sure XEmacs runs (slowly) with always_gc == 1;
4428 - fast and safe LOOP_* macros
4429 - change calls to XSETOBJ to XSETFOO
4430 - replace calls to XSETINT by make_int()
4431 - plug up memory leaks
4432 - use style markobj (foo), not silly ((markobj) (foo))
4433 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4435 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4437 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4439 1998-11-28 SL Baur <steve@altair.xemacs.org>
4441 * XEmacs 21.2-beta4 is released.
4443 1998-11-27 SL Baur <steve@altair.xemacs.org>
4445 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4446 property in control-1 charset.
4447 From Julian Bradfield <jcb@daimi.au.dk>
4449 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4451 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4453 Add stub for :label.
4455 * gui.c (gui_item_add_keyval_pair): ditto.
4457 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4458 :key-sequence keyword.
4460 Support :active for submenus like the Windows code and FSF Emacs.
4462 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4464 * dired.c (make_directory_hash_table): make_string() is OK because
4465 readdir() Mule-encapsulates.
4467 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4469 * fns.c (Fbase64_encode_string): Fix docstring.
4470 (Fbase64_decode_string): Ditto.
4472 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4474 * editfns.c (Ftranslate_region): Use
4475 convert_bufbyte_string_into_emchar_string().
4477 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4479 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4481 (Ftranslate_region): Turn table into an array of Emchars for
4484 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4486 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4488 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4490 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4491 type `char' with nils.
4493 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4494 for tables of type `char'.
4496 1998-11-26 Didier Verna <verna@inf.enst.fr>
4498 * input-method-xlib.c (Initialize_Locale): don't call
4499 XtSetLanguageProc. We've done the whole work here.
4500 * input-method-xfs.c (Initialize_Locale): ditto.
4501 * input-method-motif.c (Initialize_Locale): ditto.
4503 1998-11-26 Didier Verna <verna@inf.enst.fr>
4505 * process-unix.c (unix_create_process): handle properly
4506 Vfile_name_coding_system for converting the program and directory
4509 1998-11-27 SL Baur <steve@altair.xemacs.org>
4511 * m/arm.h: New file.
4512 From James LewisMoss <dres@ioa.com>
4514 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4517 Fix the realpath() problem of UnixWare2.1.3.
4518 Patches for NEC's sysv4.2 machine.
4520 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4522 * dired.c (Fdirectory_files): Remove redundant code.
4524 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4526 * fns.c (free_malloced_ptr): New function.
4527 (XMALLOC_OR_ALLOCA): New macro.
4528 (XMALLOC_UNBIND): Ditto.
4529 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4530 to be freed in case of non-local exit.
4531 (Fbase64_encode_string): Ditto.
4532 (Fbase64_decode_region): Ditto.
4533 (Fbase64_decode_string): Ditto.
4534 (STORE_BYTE): New macro.
4535 (base64_decode_1): Use it.
4537 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4539 * fns.c (base64_value_to_char): Base64 stuff.
4541 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4543 * editfns.c (Fbuffer_substring): New function.
4545 * lisp.h: Declare make_string_from_buffer_no_extents().
4547 * insdel.c (make_string_from_buffer_1): New function.
4548 (make_string_from_buffer_no_extents): Ditto.
4550 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4552 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4553 sound work on AIX with OSS installed. Linux should still work.
4555 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4557 * config.h.in: name change for cygwin/version.h
4559 * configure.in: check for cygwin/version.h now.
4561 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4562 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4563 move cygwin32/version.h to cygwin/version.h
4565 1998-11-03 Olivier Galibert <galibert@pobox.com>
4567 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4570 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4572 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4573 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4574 enable BROKEN_SIGIO under b20 to make QUIT work.
4576 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4578 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4579 to fit within the constraints of the screen size. I.e. make the
4580 frame small enough to fit and move it if some of it will be
4583 1998-10-19 Greg Klanderman <greg@alphatech.com>
4585 * dired.c: conditionalize inclusion of user-name-completion
4586 primitives on non-Windows NT. The needed functions don't exist on NT.
4588 1998-11-24 SL Baur <steve@altair.xemacs.org>
4590 * gifrlib.h: Clean up types for 64 bit compile.
4591 * dgif_lib.c (DGifInitRead): Ditto.
4592 (MakeSavedImage): Ditto.
4593 * emacs.c (decode_path): Ditto.
4594 From Steve Carney <carney@pa.dec.com>
4596 1998-10-16 William M. Perry <wmperry@aventail.com>
4598 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4599 (cehckboxes instead of checkboxes).
4601 1998-10-15 SL Baur <steve@altair.xemacs.org>
4603 * XEmacs 21.2-beta3 is released.
4605 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4607 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4608 gnuclient. Otherwise, we run xemacs as we always did. This gets
4609 rid of the annoying DOS window when running gnuclient.
4611 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4613 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4614 HAVE_MS_WINDOWS typo.
4616 1998-10-13 SL Baur <steve@altair.xemacs.org>
4618 * process-unix.c (unix_send_process): Set closed flag on writable
4619 pipe after SIGPIPE is received and before we call deactivate_process.
4621 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4623 * window.c (Fset_window_start): respect narrowing when
4624 checking wheter start is at the beginning of a line.
4625 (Fset_window_buffer): Ditto
4626 Fixes repeatable crash in VM.
4628 1998-10-09 SL Baur <steve@altair.xemacs.org>
4630 * window.c (specifier_vars_of_window): Set default vertical
4631 divider width to 1 on ttys.
4633 1998-10-08 Martin Buchholz <martin@xemacs.org>
4638 Add <stddef.h> to get ptrdiff_t declaration
4640 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4642 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4643 is used for Motif or Lucid scrollbars under X.
4645 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4647 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4650 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4652 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4654 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4656 * s/cygwin32.h: more cygwin b20 reorganisation.
4658 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4660 * nas.c: Added necessary support functions to be able to handle
4661 WAVE files in memory, just like the support for SND files in
4664 1998-09-30 SL Baur <steve@altair.xemacs.org>
4666 * callproc.c (child_setup): Fix spelling typo.
4668 1998-09-29 SL Baur <steve@altair.xemacs.org>
4670 * XEmacs 21.2-beta2 is released.
4672 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4674 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4675 to prevent memory corruption in the case of jumping out of a series of
4676 nested match patterns. This is a rather brute force approach, though.
4678 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4680 * config.h.in: ditto.
4682 * s/cygwin32.h: rearrange declarations to cope with cygwin
4683 b20. Include cygwin32/version.h if it exists.
4685 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4687 * device-msw.c (mswindows_init_device): Call new
4688 mswindows_enumerate_fonts() function in objects-msw.c instead
4689 of font_enum_callback_1() to enumerate fonts.
4691 font_enum_callback_1() and _2() moved to objects-msw.c.
4693 * faces.c (complex_vars_of_faces): Make the mswindows default
4694 face font fully specified and provide some fallbacks.
4696 * objects-msw.c: font_enum_callback_1() and _2() moved here
4697 from objects-msw.c. Obtain the enumerated font's character
4698 sets by table lookup instead of using the locale-specific
4699 string provided by Windows.
4701 New public non-method mswindows_enumerate_fonts() that fills
4702 in the supplied mswindows device's font list.
4704 mswindows_initialize_font_instance: Use the supplied name
4705 variable instead of f->name when signalling errors. Match font
4706 weights and character sets using lookup tables which handle
4707 spaces instead of by frobbing.
4709 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4711 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4712 on the size of code fragments passed to run_in_other_process.
4714 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4715 the amount of memory to allocate in the other process.
4717 Removed sigkill_code_end(), sigint_code_end() and
4718 sig_enable_code_end() since they are now redundant.
4720 send_signal() and enable_child_signals(): Don't try to work
4721 out the end of the code fragments passed to
4722 run_in_other_process()
4724 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4726 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4729 * src/unexelf.c: Partially synched with FSF's 20.3.
4731 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4733 * insdel.c (signal_after_change): Map across indirect buffers
4734 here, and not in the upper-level functions.
4735 (signal_first_change): Don't check for Armageddon.
4736 (signal_before_change): Map across indirect buffers here.
4737 (prepare_to_modify_buffer): ...and here.
4739 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4741 * insdel.c (signal_after_change): Add return value.
4742 (buffer_insert_string_1): Use it.
4743 (buffer_delete_range): Ditto.
4744 (buffer_replace_char): Ditto.
4745 (cancel_multiple_change): Map the indirect buffers.
4747 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4749 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4750 (uninit_buffer_text): Ditto.
4752 * buffer.c (Fmake_indirect_buffer): Implement stricter
4755 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4757 * insdel.c (change_function_restore): Reverse order of
4758 function-call and assignment.
4759 (first_change_hook_restore): Ditto.
4761 * extents.c (mark_extent_auxiliary): Mark them.
4762 (Fset_extent_property): Set them.
4763 (Fextent_property): Get them.
4764 (Fextent_properties): Ditto.
4765 (vars_of_extents): Set their default.
4767 * extents.h (struct extent_auxiliary): Add before_change_functions
4768 and after_change_functions.
4770 * insdel.c (signal_before_change): Use it.
4771 (signal_after_change): Ditto.
4773 * extents.c (report_extent_modification): New function.
4775 * insdel.c (signal_before_change): Don't check for Armageddon.
4776 (signal_after_change): Ditto.
4778 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4780 * redisplay.c (redisplay_window): make sure a new starting point
4781 is chosen if it somehow got moved from the beginning of the line
4782 -- this can happen because Fwiden was called recently.
4784 * window.c (Fset_window_start): set start_at_line_beg correctly
4785 (Fset_window_buffer): Ditto
4787 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4789 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4790 (uninit_buffer_text): Ditto.
4792 * buffer.c (Fmake_indirect_buffer): Implement stricter
4795 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4797 * emacs.c (main_1): Removed references to *vars_of_filelock.
4799 * lisp.h: Added Fsystem_name.
4801 * filelock.c: Replaced by version from FSF 20.2. Now implements
4802 locking by using symlinks which is NFS safe. However keep the
4803 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4804 version (and of course use ansi C, acessor macros, etc).
4806 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4808 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4809 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4810 in init_signals_very_early. However these should not be passed
4811 on to children attached to the new pty.
4813 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4815 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4817 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4819 * fileio.c (file-name-directory, file_name_as_directory):
4820 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4822 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4824 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4826 * ralloc.c: uncomment __morecore.
4828 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4830 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4831 WriteFile() to fix a winsock 1.x bug on Win95.
4833 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4835 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4837 (x_event_to_emacs_event): Ditto.
4838 (emacs_Xt_handle_focus_event): Ditto.
4839 (emacs_Xt_handle_magic_event): Ditto.
4841 * console-x.h (struct x_device): New flag being_deleted.
4842 (DEVICE_X_BEING_DELETED): New macro.
4844 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4845 returning. Before doing that, set the being_deleted flag on the
4848 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4850 * device-x.c (x-seppuku-on-epipe): Removed.
4852 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4854 * frame-x.c (x_delete_frame): Flush the X output buffer after
4855 calling XtDestroyWidget to ensure that the windows are really
4858 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4860 * menubar-x.c (my_run_hook): New unused function.
4861 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4862 since we ignore the results of the contained functions anyway.
4864 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4866 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4867 interlaced GIF files that are smaller than 4 lines high...
4869 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4871 * buffer.c (map_over_sharing_buffers): Deleted.
4873 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4875 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4878 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4880 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4882 (buffer_delete_range): Ditto.
4884 * marker.c (init_buffer_markers): Set point-marker to the value of
4885 point in an indirect buffer.
4887 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4889 * undo.c (undo_prelude): Test last-undo-buffer against base
4892 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4894 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4896 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4898 * insdel.c (init_buffer_text): Initialize it here.
4900 * line-number.c: Address line_number_cache through buffer->text.
4902 * buffer.c (mark_buffer): Mark line number cache.
4904 * bufslots.h (line_number_cache): Move to struct buffer_text.
4906 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4907 across the children buffers.
4908 (buffer_delete_range): Ditto.
4909 (buffer_replace_char): Ditto.
4913 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4915 * buffer.c (Fmake_indirect_buffer): Uncomment.
4917 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4919 * macros.c (Fend_kbd_macro): Remove trailing period from error
4921 (Fexecute_kbd_macro): Ditto.
4923 1998-08-21 Greg Klanderman <greg@alphatech.com>
4925 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4926 (Fuser_name_completion_1): new function to return uniqueness
4927 indication in addition to the user name completion.
4928 (user_name_completion): change type of `uniq' argument.
4930 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4932 * lread.c (vars_of_lread): Removed `source-directory' variable.
4934 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4936 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4939 1998-08-19 SL Baur <steve@altair.xemacs.org>
4941 * dired.c (vars_of_dired): Fix misapplied patch.
4943 1998-08-16 Martin Buchholz <martin@xemacs.org>
4945 * fns.c (Fremrassq, remrassq_no_quit):
4946 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4948 1998-07-17 Didier Verna <verna@inf.enst.fr>
4950 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4951 style as foreground GC for faces that have the `dim' property.
4952 (x_output_string): when the `dim' face property is set,
4953 ensure the gray pixmap has been created, and get a proper
4954 foreground GC to draw the text.
4956 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4958 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4959 Manually track the state of the left and right Ctrl and Alt
4962 1998-08-07 Matt Stupple <matts@tibco.com>
4964 * ntproc.c: don't wait on char_consumed at thread entry.
4965 Additionally, to get the 'process' marked as finished, ensure
4966 that the CHILD_ACTIVE macro returns false, so before exiting
4967 close char_avail and set it to NULL, and close other handles
4968 to reduce handle leak problems.
4970 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4972 * menubar-msw.c (displayable_menu_item): take account of menu
4973 depth when deciding whether to try to display accelerators.
4975 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4977 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4980 * glyphs-msw.c: fix a couple of potential handle leaks.
4982 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4984 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4985 *decoding ONLY* back into the core.
4986 * glyphs-eimage.c: Change referenced header file for GIF
4987 reading to point to the incore version.
4989 1998-07-20 Martin Buchholz <martin@xemacs.org>
4991 * casefiddle.c (casify_object):
4992 Change algorithm from O(N**2) to O(N).
4996 1998-07-22 Greg Klanderman <greg@alphatech.com>
4998 * dired.c (file_name_completion_unwind): don't leak the cons.
5000 1998-07-20 Greg Klanderman <greg@alphatech.com>
5002 * dired.c (Fuser_name_completion): new function.
5003 (Fuser_name_all_completions): new function.
5004 (user_name_completion): new function.
5005 (syms_of_dired): 2 new DEFSUBRs.
5006 (vars_of_dired): initialize user name cache vars.
5008 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5010 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5011 colors taken from the default face. Also correct a thinko in
5012 transparency (not alpha) handling.
5014 1998-07-23 Martin Buchholz <martin@xemacs.org>
5016 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5017 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5018 * lread.c (Fload_internal): Be very careful with printfs of
5020 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5023 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5025 * callint.c (Fcall_interactively): GCPRO prompt string before
5026 passing it to Fread_key_sequence
5028 1998-07-27 SL Baur <steve@altair.xemacs.org>
5030 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5031 Vvertical_divider_map.
5033 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5034 Qnil or 0, none were initialized prior to this change.
5036 Rename misnamed `V' prefixed integer variables:
5037 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5038 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5039 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5040 Vcanna_ichiran_revLen.
5042 Rename misnamed `V' prefixed integer variables and initialize
5043 properly in the vars_of routine.
5044 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5045 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5046 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5047 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5048 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5049 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5050 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5051 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5052 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5053 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5054 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5055 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5056 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5057 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5058 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5059 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5060 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5061 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5062 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5063 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5064 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5065 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5066 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5067 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5068 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5069 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5070 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5071 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5072 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5073 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5074 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5075 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5076 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5077 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5078 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5079 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5080 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5081 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5082 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5083 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5084 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5085 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5086 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5087 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5088 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5089 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5091 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5093 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5094 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5095 keys thus no longer considering all keysyms on a key.
5097 1998-07-19 SL Baur <steve@altair.xemacs.org>
5099 * XEmacs 21.2-beta1 is released.
5101 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5103 * eldap.c (Fldap_search_internal): When converting the list of
5104 attributes to search Copy the final 0 from Lisp strings to C
5106 Check base, not Vldap_default_base as a a string
5108 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5110 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5112 * unexnt.c: Unconditionally define bss_start and bss_size, and
5113 ensure that they don't go in the .bss section.
5115 1998-07-17 Olivier Galibert <galibert@pobox.com>
5117 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5118 byte order is dependant of the local byte order).
5119 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5121 1998-07-18 SL Baur <steve@altair.xemacs.org>
5123 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5124 Qmswindows_resource.
5125 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5127 1998-07-12 SL Baur <steve@altair.xemacs.org>
5129 * general.c (syms_of_general): Add defsymbol for Qresource.
5131 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5132 Qmswindows_resource.
5133 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5134 (mswindows_resource_validate): Rename.
5135 (mswindows_resource_normalize): Rename.
5136 (mswindows_resource_possible_dest_types): Rename.
5137 (mswindows_resource_instantiate): Rename.
5138 (image_instantiator_format_create_glyphs_mswindows): Replace
5139 `resource' with `mswindows.resource'.
5141 * XEmacs 21.0-pre5 is released.
5143 1998-07-10 SL Baur <steve@altair.xemacs.org>
5145 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5146 server type in environment.
5147 Use alloca-ed strings instead of tiny fixed size ones.
5149 1998-07-09 SL Baur <steve@altair.xemacs.org>
5151 * XEmacs 21.0-pre4 is released.
5153 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5155 * fileio.c: (expand_file_name): under win32: Don't treat names
5156 as UNC names if a drive letter has been specified. If a drive
5157 has been specified, strip out extra directory-seperators that
5158 reportedly cause problems under Win95.
5160 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5162 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5163 MSVC >= 5.0. Put emacs init and zero-init data in a special
5164 section of the executable when this is defined.
5166 * unexnt.c, ntheap.h:
5167 Removed unused find_section() and get_section_size().
5170 Fix up the executable's checksum after dumping otherwise the
5172 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5173 zero-init data separately from init data. Dump emacs data
5174 into a special section of the executable.
5175 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5176 my_ebss instead of up to the end of bss.
5178 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5180 * filelock.c: Removed Vconfigure_lock_directory - already
5183 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5184 defined in frame.c and general.c respectively.
5186 * glyphs-msw.c: Removed Qresource - already defined in
5189 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5191 * eldap.c (Fldap_search_internal): Docstring fixes
5193 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5195 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5196 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5197 EMACSPACKAGEPATH and INFOPATH variables.
5198 Removed unused get_emacs_configuration function.
5200 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5201 it is now defined at build-time by the makefile.
5203 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5205 * fileio.c: (expand_file_name): under win32: Don't treat names as
5206 UNC names if a drive letter has been specified. If a drive has
5207 been specified, strip out extra directory-seperators that
5208 reportedly cause problems under Win95.
5210 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5212 * faces.c (complex_vars_of_faces): for the gui-element face don't
5213 fallback to the default face, instead provide reasonable default
5214 fallbacks that were previously hardcoded elsewhere.
5216 1998-07-06 Olivier Galibert <galibert@pobox.com>
5218 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5219 when the X server endianness is different than the client's one.
5221 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5223 * eval.c (run_hook_with_args_in_buffer): Check
5224 default (non-buffer-local) value of hook for
5225 nil before treating it as a function. Don't initialize
5226 the `globals' variable twice.
5228 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5230 * fileio.c: Don't do directory seperator canonicalisation in
5231 substitute-in-file-name because we don't know that the
5232 filename refers to a local file.
5234 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5236 * process-nt.c (nt_create_process): Try appending the standard
5237 executable file extensions to the filename if none supplied.
5239 1998-06-29 SL Baur <steve@altair.xemacs.org>
5241 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5243 From Keisuke Mori <ksk@ntts.com>
5245 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5247 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5248 images if we have masks. This handles the xbm case (have masks)
5249 and avoids overuse of resources in the xpm case (generally no masks).
5250 Don't output small toolbars.
5252 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5254 * eval.c (run_hook_with_args_in_buffer): Don't treat
5255 the default value of a buffer local hook as a list of
5256 hooks unless it is both a cons and the car of that cons
5259 1998-06-29 SL Baur <steve@altair.xemacs.org>
5261 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5262 * process-unix.c: Ditto.
5263 * mule-coding.h: Ditto.
5264 * mule-coding.c: Ditto.
5265 * mule-charset.c: Ditto.
5266 * mule-charset.h: Ditto.
5267 * file-coding.c: Ditto.
5268 * file-coding.h: Ditto.
5270 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5272 * event-msw.c: Guard against recursion when freeing
5273 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5275 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5276 Call ShowWindow twice in init_frame_3 to get round runemacs
5279 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5281 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5283 * winslots.h: Rename.
5285 * window.c (specifier_vars_of_window): Renamed
5286 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5287 as suggested by Ben Wing.
5288 (specifier_vars_of_window): Fix docstrings.
5290 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5292 * unexaix.c: Line number information works correctly again.
5294 1998-06-22 Olivier Galibert <galibert@pobox.com>
5296 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5298 1998-06-21 Martin Buchholz <martin@xemacs.org>
5300 * editfns.c (get_home_directory): ANSIfy.
5301 XEmacs is compilable under C *and* C++.
5302 It's XEmacs, not Xemacs!
5304 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5306 * console-msw.h: added a list of fonts to device data.
5308 * device-msw.c: enumerate list of available fonts in
5309 mswindows_init_device. Free list in mswindows_delete_device.
5311 * objects-msw.c: Added helper function match_font used by
5312 mswindows_initialize_font_instance and mswindows_list_fonts.
5313 Allow a charset to be specified in a font string, even if
5314 previous fields havn't been specified.
5316 1998-06-23 Greg Klanderman <greg@alphatech.com>
5318 * indent.c (column_at_point): column cache bugfix.
5319 Set last_known_column_point to the buffer position for
5320 which the column was requested, not buffer's point.
5322 * redisplay.c (decode_mode_spec): for current-column, show
5323 window's point's column, not buffer's point's column.
5325 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5327 * menubar-msw.c (mswindows_handle_wm_command): use
5328 enqueue_misc_user event rather than
5329 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5332 * console-msw.h: declare mswindows_enqueue_magic_event.
5334 * event-msw.c (mswindows_enqueue_magic_event): make global.
5336 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5338 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5339 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5340 (add_position_to_cache): Use EMACS_INT instead of int.
5342 1998-06-21 Olivier Galibert <galibert@pobox.com>
5344 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5345 suitable for an int used as a boolean (btw, C sucks.).
5347 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5349 * object-msw.c: remove warnings.
5351 * device-msw.c: #define wrongly named cygwin structure elements.
5353 * s/cygwin32.h: define DEMI_BOLD
5355 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5357 * redisplay-msw.c: new function mswindows_apply_face_effects.
5358 This is called by output_string and output_cursor to display
5359 underline and strikeout on faces.
5361 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5363 * console-msw.h: added a list of fonts to device data.
5365 * device-msw.c: enumerate list of available fonts in
5366 mswindows_init_device. Free list in mswindows_delete_device.
5368 * objects-msw.c: Added helper function match_font used by
5369 mswindows_initialize_font_instance and mswindows_list_fonts.
5370 Allow a charset to be specified in a font string, even if
5371 previous fields havn't been specified.
5373 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5376 Removed compilation warnings from mswindows_string_to_color.
5377 mswindows_list_fonts returns a more general bogus font.
5378 New lisp-visible function mswindows-color-list.
5380 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5382 * editfns.c (Fuser_login_name): Modify to user new function
5384 (user_login_name): C only function to avoid Lisp object overhead
5385 Returns "unknown" instead of nil in Cygwin environment
5387 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5388 equivalent for current user in Cygwin environment. Use new
5389 function user_login_name to get username.
5391 * lisp.h: Declare user_login_name
5393 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5395 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5397 Some other insignificant nitpicks.
5399 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5401 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5402 creating the image list and make sure he bk color is transparent.
5404 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5406 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5407 completed_timeouts. The timer could have expired.
5409 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5411 * console-msw.h: move XEMACS_RECT_WH inside frame
5412 parameters. define macors to access it.
5414 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5415 parameter to intialise desired sizing. (mswindows_init_frame_2):
5416 enable and size the frame to something sensible when we get
5417 here. (mswindows_set_frame_properites): use new
5418 mswindows_size_frame_internal function and size frame if frame
5419 parameters not just if init is finished - WM_SIZE happens too
5420 early for some specs. (mswindows_size_frame_internal): new
5421 function abstracted from mswindows_set_frame_properties.
5422 (Vmswindows_use_system_frame_size_defaults):
5423 new variable controls whether to allow the system to pick frame
5424 size defaults, defaults to nil.
5426 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5427 than duplicated code.
5429 1998-06-15 Colin Rafferty <colin@xemacs.org>
5431 * Makefile.in.in: Made EXTW_LINK expand properly.
5433 1998-06-12 Martin Buchholz <martin@xemacs.org>
5435 * redisplay.c (vars_of_redisplay): default value of
5436 column-number-start-at-one should be NIL!
5438 1998-06-11 Martin Buchholz <martin@xemacs.org>
5441 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5443 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5445 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5446 build_string to avoid crashes under Mule.
5448 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5450 * ntplay.c (play_sound_data_1): don't delete the sound data until
5451 the next sound is played and the previous one finished.
5453 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5455 * fileio.c (directory-sep-char): Escape backslashes.
5457 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5459 * event-stream.c: Fix docstring reference.
5461 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5463 * alloc.c (make_float): Remove useless initialization of `next'
5465 (make_pure_float): Ditto.
5467 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5469 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5471 * fileio.c (Fmake_directory_internal): Remove conditionals
5472 on WINDOWSNT when calling mkdir.
5474 * ntproc.c: Deleted the following unused functions:
5475 register_child, reap_subprocess, sys_wait.
5477 * nt.c (sys_rename): Ifzeroed this implementation.
5478 Deleted the following unused functions:
5479 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5480 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5481 sys_read, sys_write.
5482 Merger sys_fopen and sys_open with sysdep.c implementation.
5484 * sysdep.c: Removed MS-DOS code.
5485 (sys_rename): Deal with Microsoft rename weirdness.
5486 (sys_open): Implemented for Windows.
5490 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5492 * buffer.c (complex_vars_of_buffer): Removed %t description from
5495 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5497 * scrollbar-msw.c: initialize the cbSize element of the
5498 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5499 to ignore the value of cbSize, but Win95 (and I presume Win98)
5500 appear to want it set to sizeof(SCROLLINFO).
5502 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5504 * event-stream.c: Defined Qcancel_mode_internal.
5505 (syms_of_event_stream): defsymbol'ed it.
5507 * events.h: Externed it.
5509 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5511 1998-06-04 Oliver Graf <ograf@fga.de>
5513 * frame-x.c (x_cde_destroy_callback): free the data
5514 (cde-start-drag-internal) corrected root position, 21.1 needs this
5515 hardcoded in Button events
5516 (offix-start-drag-internal) corrected root position
5518 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5520 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5523 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5525 * dialog-msw.c (button_width): Removed `inline' from the function
5528 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5530 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5531 Note that adding this flag to subsequent frames causes problems.
5533 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5535 * glyphs-eimage.c (png_instantiate) move 'struct
5536 png_memory_storage tbr' out of nested block to avoid dangling
5539 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5542 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5543 inherits from gui-element.
5545 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5546 with existing code, generate masks correctly.
5548 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5550 * glyphs-eimage.c: Changed included header for gifs to use
5551 Gifreader instead of giflib.
5553 * glyphs-x.c: removed the image-related functions that were
5554 moved into glyphs-eimage.
5556 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5558 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5559 if built without X Windows support.
5561 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5563 * fns.c (Fconcat): Synch docstring with new reality.
5565 1998-06-03 SL Baur <steve@altair.xemacs.org>
5567 * frame.c: Remove reference to msdos.h (which is going away).
5568 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5570 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5572 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5576 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5578 * events.h: Fixed commentary about misc-user scrollbar events.
5580 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5581 object as an event channel, instead of window object.
5582 (x_update_horizontal_scrollbar_callback): Ditto.
5584 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5586 * ntplay.c (play_sound_data_1) new function. convert alloca data
5587 to malloc if necessary.
5588 (play_sound_file): if the file is not in our path then convert to
5591 1998-06-01 SL Baur <steve@altair.xemacs.org>
5593 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5594 * msdos.c (Frecent_doskeys): Ditto.
5596 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5597 Suggested by Reggie Perry <perry@zso.dec.com>
5599 * buffer.h: Eliminate size in declaration.
5601 1998-06-01 Olivier Galibert <galibert@pobox.com>
5603 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5605 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5607 * gui.c (gui_item_init): Changed the default value for config member
5608 from Qunbound to Qnil.
5610 1998-06-01 Greg Klanderman <greg@alphatech.com>
5612 * indent.c (vmotion_pixels): Don't #define abs().
5614 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5616 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5619 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5621 * glyphs.h: add xbm declarations.
5623 * console.h: add xbm_instantiate_method device method.
5625 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5626 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5627 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5628 locate_pixmap_file device method and read_bitmap_data_from_file
5629 instead of XmuReadBitmapDataFromFile.
5630 (xbm_instatntiate): make a device method.
5632 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5633 new function that just calls XmuReadBitmapDataFromFile.
5634 (x_xbm_instatntiate): device method from xbm_instantiate.
5636 * glyphs-msw.c (read_bitmap_data) (NextInt)
5637 (read_bitmap_data_from_file): new functions copied from Xmu
5639 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5640 inline data to an mswindows bitmap.
5641 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5642 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5645 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5647 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5648 `modeline-visible-p'.
5649 Declared specifier lisp variables at the beginning oh the file
5652 * procimpl.h (struct process_methods): Changed semantics of
5653 create_process method so it accepts lisp strings instead of
5656 * process.c (Fstart_process_internal): Moved building of
5657 unix style argv from here to process-unix.c, ...
5659 * process-unix.c (unix_create_process): ... right here.
5661 * process-nt.c (nt_create_process): Changed this function to
5662 support new semantics, so avoided a GC problem.
5664 * events.c (Fmake_event): Document misc-user events properties.
5665 (Fmake_event): Do not allow arbitrary objects for channel property
5666 of misc-user events.
5667 (Fmake_event): Change misc-user event validation: it is function
5668 which is required, not button.
5670 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5672 (mswindows_enqueue_misc_user_event): Added function.
5673 (mswindows_bump_queue): Removed function.
5674 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5675 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5676 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5677 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5678 really nothing, which is my personal favorite thing.
5680 * console-msw.h: Removed prototype for mswindows_bump_queue().
5681 Added prototype for mswindows_enqueue_misc_user_event().
5683 * menubar-msw.c (mswindows_handle_wm_command): Use
5684 mswindows_enqueue_misc_user_event().
5686 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5688 * dialog-msw.c (dialog_proc): Ditto.
5690 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5691 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5692 user events channel.
5694 1998-05-29 Greg Klanderman <greg@alphatech.com>
5696 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5697 incorrect semantics of vmotion_pixels which has been fixed. don't
5698 use it anymore as it can't easily be used.
5700 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5701 the motion was reported incorrectly if you tried to go past end of
5704 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5706 * toolbar.h: Removed misleading commentary, as Martin suggested.
5708 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5710 * lisp.h: Extern Qactivate_menubar_hook.
5712 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5715 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5717 * glyphs-msw.c: use BPLINE macro.
5719 * select-msw.c (mswindows-selection-exists-p)
5720 (mswindows-delete-selection): doc string fixes.
5722 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5723 unpressable. warning elimination.
5725 1998-05-28 Martin Buchholz <martin@xemacs.org>
5727 * alloc.c (dbg_constants):
5730 Remove toolbar_data debugging code, since that lrecord has
5733 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5735 * alloc.c: zap cached value of (user-home-directory), so that
5738 * buffer.c: From init_buffer(), separated out code that
5739 determined the initial directory for the *scratch* buffer, and
5740 put them into a function called "init_initial_directory()".
5741 The initial directory is now available as a global "char *"
5742 called initial_directory.
5744 * buffer.h: Added extern entries for initial_directory[] and
5745 init_initial_directory().
5747 * editfns.c: added new elisp function "user-home-directory",
5748 which basically returns getenv("HOME"), but attempts to use
5749 other values if $HOME isn't set.This may have to be tweaked in
5750 the future as, under Unix, "/" is used if $HOME isn't set (this
5751 probably should be set to the current directory). To support
5752 this, a new C function, "get_home_directory()", now exists,
5753 which returns the "home directory", as a "char *" string.
5755 * emacs.c: Rearrange NT initialization order so that
5756 environment/registry variables will be properly entered into
5757 Vprocess_enviroment.
5759 * fileio.c: replaced egetenv("HOME") with calls to the new
5760 get_home_directory().
5762 * lisp.h: Added function prototypes for uncache_home_directory()
5763 and get_home_directory(), along with lisp prototypes for
5764 Fuser_home_directory() and friends.
5766 * nt.c: replaced getenv("HOME") with calls to the new
5767 get_home_directory().
5769 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5770 warnings about getcwd(), etc. not having prototypes.
5772 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5774 * process-nt.c (send_signal): Emulate SIGHUP.
5775 (validate_signal_number): Ditto.
5777 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5778 remove MOD_SHIFT from ASCII characters.
5779 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5782 1998-05-24 Oliver Graf <ograf@fga.de>
5784 * frame-x.c (cde-start-drag-internal): added filename and multi-
5786 (x_cde_convert_callback) dito
5788 1998-05-26 Oliver Graf <ograf@fga.de>
5790 * frame-x.c: include event-mod.h also with CDE
5791 (x_cde_convert_callback) made the thing working
5792 (cde-start-drag-internal) also debugging
5794 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5801 - add __OpenBSD__ where __NetBSD__ was found.
5802 - TODO: replace platform-specific conditional compilation by
5803 feature tests in configure.in.
5805 1998-05-15 Greg Klanderman <greg@alphatech.com>
5807 * window.c (Fwindow_displayed_text_pixel_height): New function.
5808 (syms_of_window): DEFSUBR it.
5810 * indent.c (Fvertical_motion_pixels): New function - request
5812 (vmotion_pixels): helper.
5813 (syms_of_indent): DEFSUBR.
5814 * lisp.h: declaration for vmotion_pixels().
5816 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5817 to request returning motion in pixels.
5818 (Fvertical_motion_pixels): Remove, functionality merged into
5820 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5821 (Fmove_to_window_line): ditto.
5822 * lisp.h: Change declaration for Fvertical_motion.
5824 * window.c: rename window-text-pixel-{height,width,edges} to
5825 window-text-area-pixel-*.
5827 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5829 * tooltalk.c (vars_of_tooltalk) added staticpro for
5830 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5832 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5834 * faces.c: create a new 3d_object_face, make modeline and
5835 vertical_divider faces fallback to this rather than the default.
5837 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5839 * s/cygwin32.h: define charsets for cygwin.
5841 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5843 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5844 and coordinates. resize bitmaps if we have already settled on a
5847 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5849 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5851 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5853 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5857 * gui-x.c (popup_selection_callback): Ditto.
5859 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5861 * gui.c (get_callback): Renamed to get_gui_callback.
5863 1998-05-17 Martin Buchholz <martin@xemacs.org>
5865 * glyphs.h: order rearrangement.
5867 * device-tty.c (tty_asynch_device_change): Warning suppression.
5868 * device-x.c (x_device_system_metrics): Warning suppression.
5869 Make Doc strings consistent with coding standards.
5871 1998-05-24 Martin Buchholz <martin@xemacs.org>
5873 * general.c: multiple definition of `Qicon'. general.c seems
5874 like a good home for Qicon.
5876 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5878 * This patch is to fix compilation warnings under Windows.
5880 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5881 Added prototypes for FSF inherited functions, with which XEmacs is
5882 sprinkled thoroughly.
5883 Removed some #if 0 code. Bracketed some more definitions, probably
5884 related to Visual C versions prior to 4 (we do not support them).
5886 * sysfloat.h (logb): Finally, get logb() prototyped.
5888 * sysfile.h: Added Windows specific includes.
5889 Removed old Windows specific code bracketed with #if 0.
5891 * sysdep.h: Added prototype for xrealpath().
5893 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5895 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5896 vars_of_dired_mswindows and init_ntproc (Grrr).
5898 * realpath.c: Added Windows specific include files.
5899 (xrealpath): Conditionalized declaration of some auto variables on
5900 S_IFLNK, to avoid warnings.
5902 * ntproc.c: Disabled some compiler warnings. This file is going to
5903 die, so I have not cleaned it up much.
5904 (set_process_dir): Const parameter.
5905 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5906 (Fwin32_long_file_name): Ditto.
5907 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5910 * nt.h: Added prototypes for set_process_dir and convert_time.
5912 * nt.c: More include files.
5913 (getpwnam): Consted char* argument.
5914 (get_emacs_configuration): Const return value.
5915 (opendir): Const argument.
5916 (stat): Casted converstion long->short.
5917 (stat): Removed ad hoc and questionable support for non-MSC compile.
5918 (sys_pipe): Removed unused auto variable.
5919 (_sys_read_ahead): Removed calls to DebPrint.
5920 (sys_read): Ditto, in 2 places.
5921 (term_ntproc): Added unused int parameter to signal handler, to
5922 avoid a warning when compiling a call to signal().
5923 (msw_sigset): Properly return old signandler or NULL instead of void.
5925 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5927 * gmalloc.c (morecore): Ditto.
5928 (_free_internal): Ditto.
5930 * lread.c (parse_integer): Ditto.
5932 * dired-msw.c: Added several include files.
5934 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5935 of Compilers to Shut Up.
5937 * callproc.c: Added #includes to suppress warnings under Windows.
5938 (init_callproc): Removed #if0'ed code and unused variables.
5940 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5942 * device-msw.c (mswindows_device_system_metrics): do planes in a
5943 way consistent with X.
5945 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5946 use SetPixel, use DIBits functions.
5947 (xpm_to_eimage): frob colors more closely like xpm deos.
5949 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5950 to be closer to X version.
5952 * event-msw.c: use tooltip string directly.
5954 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5956 * objects-msw.c: frob rgb colors that only Kyle uses.
5958 * dialog-msw.c (button_width): INLINE -> inline.
5960 1998-05-23 SL Baur <steve@altair.xemacs.org>
5962 * getloadavg.c (getloadavg): Fix typo.
5964 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5966 * objects-msw.c (mswindows_initialize_font_instance): Added support
5967 for font character sets.
5968 Replaced 'XXX' with '####' in comments throughout the file.
5970 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5972 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5973 console_type_create_dialog_mswindows(), to initialize Windows dialog
5976 * symsinit.h: Prototyped the above functions.
5978 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5979 checks to dialog.c...
5981 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5982 device must support dialog boxes, and the descriptor must supply at
5985 * dialog-msw.c: New file, dialogs for Windows.
5987 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5989 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5990 (Fldap_search_internal): Removed unused variable `err'
5992 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5995 1998-05-17 Martin Buchholz <martin@xemacs.org>
5997 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5998 defined. Therefore there is no need to handle the case when
5999 HAVE_LDAP is undefined. Similarily, there is no reason to have
6000 any code wrapped within `#ifdef emacs', since this code is only
6001 useful within an emacs. This simplifies the code significantly.
6003 * inline.c: Include eldap.h only if HAVE_LDAP.
6004 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6007 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6009 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6010 printing dump stats when building without DEBUG_XEMACS.
6011 (dump_bss_and_heap): Ditto.
6013 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6015 * gnuclient.c: don't suppress window system if there is no display
6016 and we are running under mswindows. send 'mswindows device type if
6017 we are in this situation.
6019 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6022 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6024 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6027 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6029 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6030 {top,bottom}-{left,right} values in addition to
6031 {top,bottom}_{left,right}.
6033 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6035 * fileio.c (Fmake_temp_name): Remove unreached code.
6037 * process-nt.c (validate_signal_number): Use
6038 signal_simple_error().
6040 1998-05-19 Martin Buchholz <martin@xemacs.org>
6043 * sound.c (vars_of_sound):
6044 * sysdep.c (reset_sigio_on_device):
6045 * window.c (window_bottom_gutter_height):
6046 unexhp9k800.c:258: warning: implicit declaration of function
6047 `calculate_checksum'
6048 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6049 sysdep.c:1012: warning: unused variable `owner'
6050 window.c:993: warning: `window_right_toolbar_width' defined but not used
6052 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6054 * glyphs-msw.c (mswindows_create_resized_mask)
6055 (mswindows_create_resized_bitmap): new funnctions split out from
6056 mswindows_resize_dibitmap_instance.
6058 * glyphs-msw.h: declare new resize functions.
6060 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6061 functions so that the original bitmaps are preserved.
6063 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6065 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6066 color if we are trying to output 0 depth bg pixmap.
6068 * scrollbar-msw.c: warning elimination.
6070 1998-05-18 Martin Buchholz <martin@xemacs.org>
6072 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6073 directives in column 1.
6075 * search.c (skip_chars): Avoid using xzero with arrays, since some
6076 compilers get confused by the construct &array.
6078 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6081 * objects-msw.c: Changed the charset value for a new font from
6082 "don't care" to "ansi".
6084 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6086 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6088 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6089 modifier on control chars.
6090 Use IsCharAlpha() instead of isaplha().
6092 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6094 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6096 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6098 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6099 charset when creating font.
6100 (mswindows_initialize_color_instance): Do not create brush along
6102 (mswindows_finalize_color_instance): Do not delete it then.
6104 * objects-msw.h (struct mswindows_color_instance_data): Removed
6105 brush slot, and corresponding accessor macro.
6107 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6109 * toolbar.c: Removed toolbar_data lrecord implementation.
6110 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6111 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6112 (compute_frame_toolbar_buttons): Ditto.
6113 (CHECK_TOOLBAR): Ditto.
6114 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6115 (update_frame_toolbars): Do not check for changed buffer
6116 here. Toolbar information is provided by cached specs in
6117 windows. The check for buffer is eliminated becuase toolbars are
6118 marked changed in set_frame_selected_window() in frame.c
6119 Added check for changed toolbars geometry.
6120 (compute_frame_toolbars_data): Removed unused second parameter;
6121 Adjusted callers of this static function throughout the file.
6122 (init_frame_toolbars): Initialize current_toolbar_size.
6123 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6124 what is its current expansion, for clarity.
6125 (init_frame_toolbars): Ditto.
6126 (init_device_toolbars): Ditto.
6127 (init_global_toolbars): Ditto.
6129 * toolbar.h: Removed definition of toolbar_data lrecord.
6130 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6131 FRAME_CURRENT_TOOLBAR_SIZE.
6132 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6134 * toolbar-x.c (x_output_toolbar): The same change as in
6136 (x_output_toolbar): Ditto.
6137 (x_redraw_exposed_toolbar): Ditto.
6139 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6140 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6141 (mswindows_output_toolbar): Ditto.
6142 (mswindows_output_toolbar): Ditto.
6144 * frame.c (mark_frame): Removed marking of arrays, according to
6145 frameslots.h change.
6146 (nuke_all_frame_slots): Ditto.
6147 (set_frame_selected_window): Mark toolbars changed when
6148 last_nonminibuf_window changes.
6150 * frame.h (struct frame): Moved some slots to frameslots.h.
6151 Added current_toolbar_size array.
6152 Changed references from toolbar_data to toolbar_buttons in macros
6153 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6154 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6155 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6157 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6158 Moved arrays of lisp objects here from frame.h: toolbar_size,
6159 toolbar_visible_p, toolbar_border_width.
6160 Removed toolbar_data slot and added toolbar_buttons.
6162 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6164 * symsinit.h: Externed syms_of_process_nt()
6166 * emacs.c (main_1): Call syms_of_process_nt()
6168 * process-nt.c: Quote process arguments by a call to Lisp function
6169 `nt-quote-process-args'.
6170 (syms_of_process_nt): New function.
6171 (nt_send_process): Flush data stream after each write, to avoid
6172 leaving buffered data.
6173 (nt_send_process): When blocked on process output, wait for
6174 process to slurp more for progressively increasing time intervals.
6176 1998-05-17 Martin Buchholz <martin@xemacs.org>
6178 * window.c (have_undivided_common_edge): Make file-local function
6180 (map_windows): Return 0 if all map functions successful.
6183 * winslots.h: Use unlikely names for local variables in macros to
6184 avoid shadowing warnings.
6186 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6188 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6189 so that we re-output if the toolbar size has changed.
6191 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6193 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6195 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6197 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6200 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6202 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6203 get bitmap manifest constants defined.
6205 * console-msw.h: Include system files in angle brackets, not in
6208 * window.c (specifier_vars_of_window): Fixed a typo in
6209 `vertical-divider-line-width' docstirng.
6211 1998-05-16 Olivier Galibert <galibert@pobox.com>
6213 * line-number.c (delete_invalidate_line_number_cache): Use an
6215 (buffer_line_number): Remove dangerous, plain wrong when using
6216 64bits emacs ints, cast.
6218 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6220 * cmds.c (Fforward_line): Use EMACS_INTs.
6222 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6223 (scan_buffer): Ditto.
6224 (bi_find_next_newline_no_quit): Remove useless cast.
6225 (find_next_newline_no_quit): Ditto.
6226 (find_next_newline): Ditto.
6227 (find_before_next_newline): Use an EMACS_INT.
6229 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6231 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6233 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6235 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6237 * gui-x.c (popup_selection_callback): Use it.
6239 * gui.h (get_callback): Declare it.
6241 * gui.c (get_callback): New function.
6243 1998-05-15 SL Baur <steve@altair.xemacs.org>
6245 * window.c (have_undivided_common_edge): Guard scrollbar specific
6247 (window_needs_vertical_divider_1): Ditto.
6249 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6251 * emacs.c (decode_path): Eliminate compiler warning.
6252 (Fdecode_path): Renamed to Fsplit_path.
6253 (Fsplit_string_by_char): New function.
6255 1998-05-14 Damon Lipparelli <lipp@primus.com>
6257 * winslots.h: close comment
6259 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6261 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6263 * bufslots.h: Removed buffer_file_type slot.
6265 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6267 (complex_vars_of_buffer): Removed buffer-file-type variable and
6268 its default reference.
6270 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6272 * faces.c (complex_vars_of_faces): Defined
6273 Vvertical_divider_face.
6274 (vars_of_faces): Staticpro it.
6276 * faces.h: Externed Vvertical_divider_face.
6278 * redisplay-x.c (x_output_vertical_divider): Use
6279 Vvertical_divider_face to draw the divider instead of modeline
6282 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6283 divider face using Vvertical_divider_face background.
6284 Fix drawing spacing gaps around the divider.
6286 1998-05-14 Didier Verna <verna@inf.enst.fr>
6288 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6289 values for the vertical divider line width and spacing. Use the
6290 cached values from the window structure instead.
6291 (x_divider_width): ditto.
6293 * window.c (specifier_vars_of_window): new specifiers:
6294 vertical-divier -line-width and -spacing.
6295 (vertical_divider_global_width_changed): formerly known as
6296 vertical_divider_shadow_thickness_changed.
6298 * winslots.h: new slots: vertical_specifier _line_width and
6299 _spacing. Plus corrected a comment typo.
6301 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6303 * window.h: Declared window_divider_width().
6305 * console-stream.c (stream_divider_width): Removed method.
6306 (console_type_create_stream): And declaration for it.
6308 * redisplay.c (pixel_to_glyph_translation): Use
6309 window_divider_width() instead of divider_width redisplay method.
6310 (pixel_to_glyph_translation): Fix top divider edge calculation
6311 when scrollbar is on top.
6313 * window.c (window_divider_width): New function, an outphaser for
6314 divider_width redisplay method.
6315 (window_right_gutter_width): Use it.
6316 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6317 specifiers, set fallback values differently on TTYs, and document
6318 the behavior of these on TTYs in the docstrings.
6320 * scrollbar.c (update_scrollbar_instance): Use
6321 window_divider_width() instead of divider_width redisplay method.
6323 * console.h (struct console_methods): Removed divider_width_method.
6325 * redisplay-tty.c (tty_divider_width): Removed device method.
6326 (console_type_create_redisplay_tty): Removed definition for it.
6327 (tty_output_vertical_divider): Respect the value returned by
6328 window_divider_width thus divider line width specification.
6330 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6331 (console_type_create_redisplay_mswindows): Removed definition for it.
6332 (mswinodws_output_vertical_divider): Respect the value returned by
6333 window_divider_width thus divider line width specification.
6335 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6337 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6339 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6341 * glyphs-msw.c: resource loading implementation.
6342 (cursor_normalize): new function.
6343 (cursor_validate): ditto.
6344 (cursor_instantiate): ditto.
6345 (cursor_name_to_resource): ditto.
6346 (cursor_possible_dest_types): ditto.
6347 (check_valid_symbol): ditto.
6348 (check_valid_string_or_int): ditto.
6350 1998-05-14 Martin Buchholz <martin@xemacs.org>
6352 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6355 * process-unix.c (process_signal_char): Use VSUSP instead of
6356 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6358 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6360 * specifier.c (specifier_instance): Change locale precedence of
6361 instantiation so window locale has higher priority than buffer
6363 (Fspecifier_instance): Reflect this in docstring.
6364 (Fadd_spec_list_to_specifier): Ditto.
6365 (Fadd_spec_to_specifier): Ditto.
6366 (Fremove_specifier): Ditto.
6368 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6370 ** Dialog separation into a device method from Andy Piper
6372 * emacs.c (main_1): Call console_type_create_dialog_x().
6374 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6375 into this device method.
6376 (console_type_create_dialog_x): New function.
6378 * dialog.c (Fpopup_dialog_box): New function.
6379 (syms_of_dialog): Defsubr it.
6381 * console.h (struct console_methods): Declared
6382 popup_dialog_box_method().
6384 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6386 1998-05-14 Oliver Graf <ograf@fga.de>
6388 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6389 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6391 1998-05-13 Oliver Graf <ograf@fga.de>
6393 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6395 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6397 * console.h (device_metrics): Removed dbcs, input-method-editor
6398 and right-to-left metrics.
6400 * device.c (Fdevice_system_metric): Ditto.
6401 (Fdevice_system_metrics): Ditto.
6402 (syms_of_device): Ditto.
6403 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6406 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6408 * line-number.h (mark_line_number_cache): Remove unused
6411 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6412 (get_nearest_line_number): Simplify.
6413 (add_position_to_cache): Make the old marker point nowhere.
6415 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6417 ** Renamed window-divider-map => vertical-divider-map
6418 and event-over-divider-p => event-over-vertical-divider-p,
6419 in the following files/functions:
6421 * events.c (Fevent_over_divider_p):
6422 * keymap.c (get_relevant_keymaps):
6425 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6427 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6429 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6431 * window.c (vertical_divider_changed_in_window): Renamed so.
6432 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6433 (window_needs_vertical_divider_1): Decide whether we need it based
6434 on the value of the above specifier. If separators are unwanted,
6435 put them only if there's no scrollbar between this window and its
6437 (have_undivided_common_edge): New function, helper for the above.
6438 (window_needs_vertical_divider): Return either a cached value,
6439 or clauclate and cache one.
6440 (invalidate_vertical_divider_cache_in_window): Implemented.
6441 (map_windows): Changed return type to int, return the value from
6444 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6445 (struct window): Added need_vertical_divider_p and
6446 need_vertical_divider_valid_p.
6448 * winslots.h: Added vertical_divider_draggable_p slot.
6450 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6451 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6453 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6455 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6456 invalidate_vertical_divider_cache_in_frame().
6459 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6461 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6463 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6464 masks correctly and don't select 0.
6466 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6468 * winslots.h: New file, declaration of some struct window and
6469 struct saved_window members.
6471 * window.h (struct window): Include it, with required preprocessor
6474 * window.c (mark_window): Ditto.
6475 (allocate_window): Ditto.
6476 (struct saved_window): Ditto.
6477 (mark_window_config): Ditto.
6478 (saved_window_equal): Ditto.
6479 (Fset_window_configuration): Ditto.
6481 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6483 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6485 1998-05-12 Didier Verna <verna@inf.enst.fr>
6487 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6488 the divider line. The shadow thickness is currently
6489 hard-wired. This will probably be turned into a specifier soon.
6491 1998-05-12 Didier Verna <verna@inf.enst.fr>
6493 * console.h (struct console_methods): the divider_width console
6494 method now requires a struct window * argument.
6496 * redisplay-x.c (x_divider_width): ditto. Plus remove
6497 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6498 (x_output_vertical_divider): give a depressed look when the shadow
6499 thickness is negative.
6501 * console-stream.c (stream_divider_width): pass a struct window *
6504 * redisplay-tty.c (tty_divider_width): ditto.
6506 * window.c (window_right_gutter_width): totdi.
6508 * redisplay.c (generate_modeline): ittod.
6510 * scrollbar.c (update_scrollbar_instance): ttido.
6512 * redisplay-msw.c (mswindows_divider_width): ottid.
6513 WARNING: this enables to compile, but the feature is not functional.
6515 * window.h (struct window): new field
6516 vertical_divider_shadow_thickness.
6518 * window.c (specifier_vars_of_window): new specifier
6519 vertical-divider-shadow-thickness.
6520 (vertical_divider_shadow_thickness_changed): new function to
6521 inform redisplay that the window has changed.
6522 (mark_window): handle new field vertical_divider_shadow_thickness
6524 (allocate_window): ditto.
6525 (saved_window_equal): toddi.
6526 (Fset_window_configuration): totid.
6527 (save_window_save): ttdio.
6528 (struct saved_window): new field vertical_divider_shadow_thickness.
6530 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6532 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6535 1998-05-12 Oliver Graf <ograf@fga.de>
6537 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6538 * event-Xt.c (x_event_to_emacs_event): C++ compability
6540 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6542 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6545 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6547 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6550 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6552 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6554 * emacs.c (decode_path_1): New function.
6555 (decode_path): Use it.
6556 (Fdecode_path): Renamed from Fdecode_path_internal; use
6559 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6561 * macros.c (Fzap_last_kbd_macro_event): New function.
6562 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6564 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6566 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6567 multiple bitmaps are output vertically as well as horizontally.
6568 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6569 crossing lines this is handled by
6570 mswindows_output_dibitmap_region.
6572 1998-05-12 Martin Buchholz <martin@xemacs.org>
6574 * inline.c: Include eldap.h
6576 * menubar-x.c (x_update_frame_menubar_internal):
6577 Remove: unused variable `container'
6579 1998-05-11 Martin Buchholz <martin@xemacs.org>
6581 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6582 Unfortunately, the resulting temacs still cannot dump.
6584 * symbols.c (symbol_is_constant):
6585 (verify_ok_for_buffer_local):
6586 -Wswitch Warning suppression - add default case to switches.
6588 * redisplay.c (decode_mode_spec): Remove unused variables,
6589 Replace Fcoding_system_property (codesys, Qmnemonic) with
6590 XCODING_SYSTEM_MNEMONIC (codesys);
6591 Fcoding_system_property is for users.
6597 Change empty docstrings into no doc strings at all.
6598 Fix bogus FSF-format docstrings.
6601 Standardize docstrings.
6604 Explain problems with matherr.
6606 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6609 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6610 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6611 Fix the weird resultant interaction (causes windows problems)
6615 Take new EMACSBOOTSTRAPLOADPATH into account.
6616 Update documentation strings
6619 - Adjust for luser's CDPATH being set to something weird.
6620 - Take into account bash 2.02's tendency to print the cwd when
6621 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6622 - fix the run-temacs target to use $(DUMPENV)
6623 - fix the run-puremacs target to use $(DUMPENV)
6624 - fix the `depend' target to properly $(RM) the right files
6625 - Generate a better TAGS file for XEmacs' lisp code using
6626 hand-crafted regexps.
6627 - Use standard coding conventions for modules/Makefile.in
6629 1998-05-12 Didier Verna <verna@inf.enst.fr>
6631 * redisplay.c: removed the scrolling modeline code that didn't
6632 make it for 21.0. To be continued ...
6634 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6636 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6637 and empty string inputs.
6639 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6641 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6643 1998-05-10 Oliver Graf <ograf@fga.de>
6645 * event-stream.c (enqueue_misc_user_event_pos): created
6646 * lisp.h (enqueue_misc_user_event_pos): prototype added
6647 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6648 * emacs.c: call vars_of_dragdrop
6649 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6651 1998-05-11 Oliver Graf <ograf@fga.de>
6653 * frame-x.c (x_cde_transfer_callback): return at correct pos
6654 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6655 object for MIME (see comment in dragdrop.c)
6656 * dragdrop.c: API change documented in comment
6657 removed provide of dragdrop [is provided by dragdrop.el]
6659 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6661 * window.c (window_needs_vertical_divider): Enable vertical
6662 dividers for every non-rightmost window.
6663 (window_left_gutter_width): Left gutter consists of mythical
6664 toolbar and a virtual scrollbar.
6665 (window_right_gutter_width): The right one may have a divider
6668 * scrollbar.c (update_scrollbar_instance): Position vertical
6669 scrollbar left to divider if the latter present.
6671 * redisplay.h: Declared OVER_DIVIER constant.
6673 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6676 * redisplay-x.c (x_output_vertical_divider): Output divider along
6677 the right side of the window, down to window bottom. Swapped
6678 foreground and background colors so it is visible by default.
6680 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6681 stick the divider to the right window side.
6683 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6685 (mswindows_divider_width): Ask system for user preferred value.
6686 (mswindows_output_vertical_divider): Always output the divider on
6687 the right side of a window, down to bottom.
6689 * keymap.c (get_relevant_keymaps): Route mouse button events which
6690 happened over a window divider through window-divider-map.
6691 (Fkey_binding): Documented that in the docstring.
6692 Defined the variable Vwindow_divider_map.
6694 * events.c (Fevent_over_divider_p): Added this function.
6696 * events.h: EXFUNed it.
6698 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6700 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6701 toolbar geometry is suspected to change.
6703 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6707 Condition dnd and dde code on HAVE_DRAGNDROP.
6709 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6711 * events.c (format_event_object): Print space as SPC etc.
6713 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6715 * print.c (print_internal): In the default case, abort() if
6716 ERROR_CHECK_TYPECHECK.
6718 * fileio.c (Fmake_temp_name): Doc fix.
6720 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6722 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6724 * undo.c (Fprimitive_undo): Fixed typo.
6726 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6728 * fns.c (concat): Signal error on integer argument.
6730 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6732 * console.h (device_metrics): Prefixed each constatnt with DM_
6734 * device.c: (Fdevice_system_metric): Renamed so from plural form
6735 (metrics); Changed parameters order and added DEFAULT parameter;
6736 Unabbreviated some metric constants; Fixed and untabified doc string.
6737 (Fdevice_system_metrics): Added. Returns a plist of all provided
6740 * device-msw.c (mswindows_device_system_metrics): Renamed
6741 device_metrics enum constants.
6742 Return Qunbound instead of Qnil.
6744 * device-tty.c (tty_device_system_metrics): Ditto.
6746 * device-x.c (x_device_system_metrics): Ditto.
6748 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6750 * redisplay-msw.c: implement background pixmaps (really!). Make
6751 sure bg color is transparent if we have bg pmaps.
6752 * (mswindows_output_string) (mswindows_clear_region): output bg
6754 * (mswindows_output_dibitmap_region): new function.
6755 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6756 the bg color rather than transparently.
6758 * toolbar-msw.c: use masks if they exist.
6760 * glyphs-msw.c: set up masks correctly.
6762 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6764 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6766 * regex.c (re_match_2_internal): Check for quit.
6768 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6770 * frame.c (Ffocus_frame): New function.