1 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * text-coding.c (char_encode_shift_jis): Use table
4 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
6 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
8 * text-coding.c (text_encode_generic): Use `if' instead of
10 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
13 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
15 * text-coding.c (encode_coding_sjis): Deleted.
16 (char_encode_shift_jis): New function.
17 (char_finish_shift_jis): New function.
18 (reset_encoding_stream): Set up `encode_char' and `finish' for
19 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
20 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
21 (char_encode_utf8): Treat `eol_type'.
23 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
25 * file-coding.c (decode_coding_iso2022): Use
26 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
28 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
30 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
33 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
35 * char-lb.h (CHAR_COLUMNS): New macro.
37 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
39 * text-coding.c (char_encode_ucs4): New function.
40 (char_finish_ucs4): New function.
41 (encode_coding_ucs4): Deleted.
42 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
43 (text_encode_generic): Delete local variable `charset' and `half'.
44 (ucs_to_mule_table): Deleted.
45 (mule_to_ucs_table): Deleted.
46 (Fset_ucs_char): Deleted.
47 (ucs_to_char): Deleted.
49 (Fset_char_ucs): Deleted.
51 (decode_ucs4): Deleted.
52 (mule_char_to_ucs4): Deleted.
53 (encode_ucs4): Deleted.
54 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
55 (decode_coding_utf8): Likewise.
56 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
57 (char_encode_iso2022): Fixed.
58 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
59 `Fset_char_ucs' and `Fchar_ucs'.
60 (complex_vars_of_file_coding): Don't initialize
63 * objects-tty.c (tty_initialize_font_instance): Don't use
66 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
69 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
70 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
72 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
73 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
74 (emchar_string_displayed_columns): Likewise.
76 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
77 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
78 (string_column_at_point): Likewise.
79 (Fmove_to_column): Likewise.
81 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
82 `encoding_table' and `decoding_table'.
83 (CHARSET_REP_BYTES): Deleted.
84 (XCHARSET_REP_BYTES): Deleted.
85 (XCHARSET_COLUMNS): Deleted.
86 (CHAR_COLUMNS): New macro.
87 (lookup_composite_char): Deleted unconditionally.
88 (composite_char_string): Likewise.
90 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
92 * char-ucs.h (Emchar_to_byte_table): New type.
93 (get_byte_from_character_table): New function interface.
94 (Vcharset_latin_jisx0201): New variable.
95 (latin_jisx0201_to_ucs): New variable.
96 (ucs_to_latin_jisx0201): New variable.
97 (Vcharset_latin_iso8859_2): New variable.
98 (latin_iso8859_2_to_ucs): New variable.
99 (ucs_to_latin_iso8859_2): New variable.
100 (Vcharset_latin_iso8859_3): New variable.
101 (latin_iso8859_3_to_ucs): New variable.
102 (ucs_to_latin_iso8859_3): New variable.
103 (Vcharset_latin_iso8859_4): New variable.
104 (latin_iso8859_4_to_ucs): New variable.
105 (ucs_to_latin_iso8859_4): New variable.
106 (Vcharset_latin_iso8859_9): New variable.
107 (latin_iso8859_9_to_ucs): New variable.
108 (ucs_to_latin_iso8859_9): New variable.
109 (Vcharset_latin_viscii_lower): New variable.
110 (latin_viscii_lower_to_ucs): New variable.
111 (ucs_to_latin_viscii_lower): New variable.
112 (Vcharset_latin_viscii_upper): New variable.
113 (latin_viscii_upper_to_ucs): New variable.
114 (ucs_to_latin_viscii_upper): New variable.
115 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
116 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
117 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
118 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
119 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
120 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
121 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
122 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
123 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
124 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
126 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
127 (Vcharset_latin_viscii_upper): New variable.
128 (make_byte_from_character_table): New function.
129 (put_byte_from_character_table): New function.
130 (get_byte_from_character_table): New function.
132 (ucs_to_latin_jisx0201): New variable.
133 (latin_jisx0201_to_ucs): New variable.
134 (ucs_to_latin_iso8859_2): New variable.
135 (latin_iso8859_2_to_ucs): New variable.
136 (ucs_to_latin_iso8859_3): New variable.
137 (latin_iso8859_3_to_ucs): New variable.
138 (ucs_to_latin_iso8859_4): New variable.
139 (latin_iso8859_4_to_ucs): New variable.
140 (ucs_to_latin_iso8859_9): New variable.
141 (latin_iso8859_9_to_ucs): New variable.
142 (ucs_to_latin_viscii_lower): New variable.
143 (latin_viscii_lower_to_ucs): New variable.
144 (ucs_to_latin_viscii_upper): New variable.
145 (latin_viscii_upper_to_ucs): New variable.
146 (ucs_to_latin_tcvn5712): New variable.
147 (latin_tcvn5712_to_ucs): New variable.
148 (Qlatin_viscii_lower): New variable.
149 (Qlatin_viscii_upper): New variable.
150 (syms_of_mule_charset): Set up new symbol
151 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
152 (complex_vars_of_mule_charset): Set up new charset
153 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
154 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
155 `ucs_to_<CHARSET>' tables.
157 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
159 * text-coding.c: New file.
161 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
163 * mule-charset.c (Fmake_char): Fix problem of 256-set.
165 * char-ucs.h (Vcharset_ucs_bmp): New variable.
166 (MAKE_CHAR): Modify for `ucs-bmp'.
167 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
168 non-MULE characters of BMP.
170 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
172 * mule-charset.c (vars_of_mule_charset):
173 Update `utf-2000-version' to 0.6.
175 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
178 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
179 - Include character.h for `CHAR_ASCII_P'.
181 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
183 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
184 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
186 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
187 (BYTE_C0_P): Likewise.
188 (BYTE_C1_P): Likewise.
189 (Lstream_get_emchar_1): Likewise.
190 (Lstream_fput_emchar): Likewise.
191 (Lstream_funget_emchar): Likewise.
192 (copy_internal_to_external): Likewise.
193 (copy_external_to_internal): Likewise.
195 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
196 (BYTE_C0_P): Likewise.
197 (BYTE_C1_P): Likewise.
198 (Lstream_get_emchar_1): Likewise.
199 (Lstream_fput_emchar): Likewise.
200 (Lstream_funget_emchar): Likewise.
201 (copy_internal_to_external): Likewise.
202 (copy_external_to_internal): Likewise.
204 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
205 (REP_BYTES_BY_FIRST_BYTE): Likewise.
207 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
208 (BYTE_ASCII_P): Moved to mb-1byte.h.
210 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
212 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
214 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
215 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
216 (VALID_CHARPTR_P): Moved to mb-*byte.h.
217 (VALIDATE_CHARPTR_BACKWARD): Likewise.
218 (VALIDATE_CHARPTR_FORWARD): Likewise.
219 (simple_charptr_emchar): Moved to mb-multibyte.h.
220 (simple_set_charptr_emchar): Likewise.
221 (simple_charptr_copy_char): Likewise.
222 (non_ascii_charptr_emchar): Likewise.
223 (non_ascii_set_charptr_emchar): Likewise.
224 (non_ascii_charptr_copy_char): Likewise.
225 (charptr_emchar): Moved to mb-*byte.h.
226 (set_charptr_emchar): Likewise.
227 (charptr_copy_char): Likewise.
229 * mb-1byte.h, mb-multibyte.h: New files.
231 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
233 * mb-utf-8.h (MULTIBYTE): New macro.
234 (MAX_EMCHAR_LEN): Moved from buffer.h.
235 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
237 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
239 * mb-lb.h, multibyte.h: New files.
241 * char-1byte.h (Charset_ID): Moved from buffer.h.
242 (MIN_LEADING_BYTE): Likewise.
243 (LEADING_BYTE_ASCII): Likewise.
244 (NUM_LEADING_BYTES): Likewise.
245 (CHARSETP): Likewise.
246 (CHARSET_BY_LEADING_BYTE): Likewise.
247 (XCHARSET_LEADING_BYTE): Likewise.
248 (XCHARSET_GRAPHIC): Likewise.
249 (XCHARSET_COLUMNS): Likewise.
250 (XCHARSET_DIMENSION): Likewise.
251 (CHAR_CHARSET): Likewise.
252 (CHAR_LEADING_BYTE): Likewise.
253 (BREAKUP_CHAR): Likewise.
254 (Vcharset_ascii): Likewise.
256 * buffer.h: Include multibyte.h unconditionally.
257 (VALID_CHARPTR_P): Moved to multibyte.h.
258 (ASSERT_VALID_CHARPTR): Likewise.
259 (REAL_INC_CHARPTR): Likewise.
260 (REAL_INC_CHARBYTIND): Likewise.
261 (REAL_DEC_CHARPTR): Likewise.
262 (INC_CHARPTR): Likewise.
263 (INC_CHARBYTIND): Likewise.
264 (DEC_CHARPTR): Likewise.
265 (VALIDATE_CHARPTR_BACKWARD): Likewise.
266 (VALIDATE_CHARPTR_FORWARD): Likewise.
267 (charptr_n_addr): Likewise.
268 (MAX_EMCHAR_LEN): Moved to mb-*.h.
269 (simple_charptr_emchar): Moved to multibyte.h.
270 (simple_set_charptr_emchar): Likewise.
271 (simple_charptr_copy_char): Likewise.
272 (non_ascii_charptr_emchar): Likewise.
273 (non_ascii_set_charptr_emchar): Likewise.
274 (non_ascii_charptr_copy_char): Likewise.
275 (charptr_emchar): Likewise.
276 (set_charptr_emchar): Likewise.
277 (charptr_copy_char): Likewise.
278 (charptr_emchar_n): Likewise.
279 (Charset_ID): Moved to char-1byte.h.
280 (Vcharset_ascii): Likewise.
281 (CHAR_CHARSET): Likewise.
282 (CHAR_LEADING_BYTE): Likewise.
283 (LEADING_BYTE_ASCII): Likewise.
284 (NUM_LEADING_BYTES): Likewise.
285 (MIN_LEADING_BYTE): Likewise.
286 (CHARSETP): Likewise.
287 (CHARSET_BY_LEADING_BYTE): Likewise.
288 (XCHARSET_LEADING_BYTE): Likewise.
289 (XCHARSET_GRAPHIC): Likewise.
290 (XCHARSET_COLUMNS): Likewise.
291 (XCHARSET_DIMENSION): Likewise.
292 (BREAKUP_CHAR): Likewise.
294 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
296 * character.h: Add document about interface for characters.
298 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
299 (MAKE_CHAR): Delete comment about
300 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
301 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
302 (BREAKUP_CHAR): Modify name of arguments.
303 (CHAR_CHARSET): Modify name of argument.
305 * buffer.h: Delete document about Emchar accessors.
307 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
309 * character.h (CHAR_INTP): Moved from buffer.h
310 (CHAR_OR_CHAR_INTP): Likewise.
311 (XCHAR_OR_CHAR_INT): Likewise.
312 (CHECK_CHAR_COERCE_INT): Likewise.
314 * buffer.h (CHAR_INTP): Moved to character.h
315 (CHAR_OR_CHAR_INTP): Likewise.
316 (XCHAR_OR_CHAR_INT): Likewise.
317 (CHECK_CHAR_COERCE_INT): Likewise.
319 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
322 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
323 - Include char-1byte.h, char-lb.h or char-ucs.h.
325 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
327 * buffer.h: Include character unconditionally.
328 (valid_char_p): Moved to char-*.h.
329 (non_ascii_valid_char_p): Moved to char-lb.h.
331 * char-1byte.h, char-lb.h, char-ucs.h: New files.
333 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
335 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
336 in UTF-2000 because it is not ported yet and not to use
337 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
338 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
339 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
341 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
342 (CHAR_ASCII_P): Moved from character.h.
344 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
345 (CHAR_ASCII_P): Likewise.
346 (CHAR_FIELD1_MASK): Deleted.
347 (CHAR_FIELD2_MASK): Deleted.
348 (CHAR_FIELD3_MASK): Deleted.
349 (MAX_CHAR_BASIC_LATIN): New macro.
350 (CHAR_FIELD1): Deleted.
351 (CHAR_FIELD2_INTERNAL): Deleted.
352 (CHAR_FIELD3_INTERNAL): Deleted.
353 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
354 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
355 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
356 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
357 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
358 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
359 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
360 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
361 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
362 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
363 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
364 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
365 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
366 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
367 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
368 (MIN_CHAR_COMPOSITION): Deleted.
369 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
370 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
372 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
374 * buffer.h: Include mb-utf-8.h in UTF-2000.
376 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
378 * mb-utf-8.h: New file.
380 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
382 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
385 * mule-charset.h, buffer.h (Charset_ID): New type.
387 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
389 * mule-canna.c (c2mu): Use `MAKE_CHAR',
390 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
391 instead of `MULE_CHAR_PRIVATE_OFFSET',
392 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
393 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
394 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
396 * character.h (Vcharset_japanese_jisx0212): New variable
399 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
401 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
402 (charset_by_attributes): Delete array about direction.
403 (latin_a_char_to_charset): New variable in UTF-2000.
404 (latin_a_char_to_byte1): New variable in UTF-2000.
405 (latin_a_char_to_byte2): New variable in UTF-2000.
406 (Qucs_bmp): New variable.
407 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
409 (next_allocated_2_byte_leading_byte): Likewise.
410 (non_ascii_set_charptr_emchar): Likewise.
411 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
412 `CHARSET_TYPE_256X256' in UTF-2000; modify for
413 `charset_by_attributes'.
414 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
415 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
416 and `CHARSET_BY_LEADING_BYTE'.
417 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
418 `utf-2000-version' to `vars_of_mule_charset'.
419 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
420 define `leading-code-private-11' in UTF-2000; move setting of
421 `utf-2000-version' from `syms_of_mule_charset'.
422 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
425 * character.h (Charset_ID): New type.
426 (LEADING_BYTE_UCS_BMP): New macro.
427 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
428 (CHARSET_ID_OFFSET_94): New macro.
429 (MIN_CHARSET_ID_PRIVATE_94): New macro.
430 (MAX_CHARSET_ID_PRIVATE_94): New macro.
431 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
433 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
434 (LEADING_BYTE_LATIN_JISX0201): Likewise.
435 (CHARSET_ID_OFFSET_96): New macro.
436 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
437 CHARSET_ID_OFFSET_96 and final-byte.
438 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
439 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
440 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
441 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
442 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
443 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
444 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
445 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
446 (LEADING_BYTE_THAI_TIS620): Likewise.
447 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
448 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
449 (CHARSET_ID_OFFSET_94x94): New macro.
450 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
451 CHARSET_ID_OFFSET_94x94 and final-byte.
452 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
453 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
454 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
455 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
456 (LEADING_BYTE_CHINESE_GB2312): Likewise.
457 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
458 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
459 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
460 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
461 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
462 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
463 (CHARSET_TYPE_128X128): New macro.
464 (CHARSET_TYPE_256X256): New macro.
465 (XCHARSET_PRIVATE_P): Delete unconditionally.
466 (charset_by_attributes): Delete array about direction.
467 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
468 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
469 (MIN_CHAR_94): New macro.
470 (MAX_CHAR_94): New macro.
471 (MIN_CHAR_96): New macro.
472 (MAX_CHAR_96): New macro.
473 (MIN_CHAR_94x94): New macro.
474 (MAX_CHAR_94x94): New macro.
475 (MIN_CHAR_96x96): New macro.
476 (MAX_CHAR_96x96): New macro.
477 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
478 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
479 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
481 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
482 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
483 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
484 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
485 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
486 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
487 `XCHARSET_LEADING_BYTE' to make code-point.
488 (latin_a_char_to_charset): New variable.
489 (latin_a_char_to_byte1): New variable.
490 (latin_a_char_to_byte2): New variable.
491 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
492 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
493 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
495 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
496 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
497 (find_charsets_in_emchar_string): Likewise.
498 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
500 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
502 (decode_coding_iso2022): Likewise.
504 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
507 * redisplay.c (redisplay_text_width_emchar_string): Use
508 `Charset_ID' instead of `unsigned char'.
509 (redisplay_frame_text_width_string): Likewise.
511 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
514 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
515 instead of `unsigned char'.
516 (face_cachel_charset_font_metric_info): Likewise.
518 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
519 (get_non_ascii_char_table_value): Likewise.
520 (get_char_table): Likewise.
521 (put_char_table): Likewise.
522 (map_over_other_charset): Likewise.
523 (map_char_table): Likewise.
525 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
526 instead of `unsigned char'.
528 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
530 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
531 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
533 * mule-charset.c (leading_code_private_11): Don't define in
536 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
537 in UTF-2000 because it is not ported yet and not to use
538 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
540 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
542 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
544 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
546 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
549 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
550 of unsigned char to store leading-byte.
552 * chartab.c (get_non_ascii_char_table_value): Don't use
553 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
555 * file-coding.c (encode_coding_big5): Delete bogus implementation
558 * character.h (LEADING_BYTE_*): Delete definition for
560 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
561 (LEADING_BYTE_PREFIX_P): Deleted.
562 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
563 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
564 (BUFBYTE_LEADING_BYTE_P): Deleted.
565 (CHARSET_PRIVATE_P): Deleted unconditionally.
566 (rep_bytes_by_first_byte): Deleted unconditionally.
567 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
568 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
569 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
570 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
571 (CHAR_FIELD2): Deleted.
572 (CHAR_FIELD3): Deleted.
573 (MAKE_CHAR): Delete definition for non-UTF-2000.
574 (BREAKUP_CHAR_1_UNSAFE): Deleted.
575 (breakup_char_1): New implementation.
576 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
577 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
579 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
581 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
584 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
586 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
587 (CHARSET_PRIVATE_P): Likewise.
588 (XCHARSET_PRIVATE_P): Likewise.
589 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
591 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
593 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
595 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
597 * character.h (LEADING_BYTE_*): Changed in UTF2000.
598 (NUM_LEADING_BYTES): Changed from 128 to 256.
599 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
600 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
602 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
604 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
606 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
607 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
608 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
609 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
610 (Qchinese_cns11643_3): New variable in UTF2000.
611 (Qchinese_cns11643_4): New variable in UTF2000.
612 (Qchinese_cns11643_5): New variable in UTF2000.
613 (Qchinese_cns11643_6): New variable in UTF2000.
614 (Qchinese_cns11643_7): New variable in UTF2000.
615 (syms_of_mule_charset): Define `chinese-cns11643-3',
616 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
617 and `chinese-cns11643-7' in UTF2000.
618 (vars_of_mule_charset): Initialize
619 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
621 (complex_vars_of_mule_charset): Setup charset
622 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
623 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
625 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
627 * mule-charset.c: Move setting for `leading-code-private-11' from
628 `syms_of_mule_charset' to `vars_of_mule_charset'.
630 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
632 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
633 and `NUM_LEADING_BYTES' in assert.
635 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
637 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
639 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
640 `NUM_LEADING_BYTES' instead of 128.
642 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
644 * mule-charset.h (charset_by_leading_byte): Use
645 `NUM_LEADING_BYTES' instead of 128.
646 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
648 * mule-charset.c (charset_by_leading_byte): Use
649 `NUM_LEADING_BYTES' instead of 128.
650 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
652 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
655 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
657 * mule-charset.c (syms_of_mule_charset): Update to
660 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
662 * file-coding.c (encode_coding_sjis): New implementation for
663 UTF2000. (decode_coding_sjis): Ditto.
665 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
667 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
668 Don't define in UTF2000.
670 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
673 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
674 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
677 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
679 * config.h.in (CHAR_IS_UCS4): New macro.
681 * mule-charset.c (rep_bytes_by_first_byte): Modify for
682 conventional MULE representation.
683 (syms_of_mule_charset): Update to 0.3 (Imamiya).
685 * mule-charset.h: Reverted to original.
687 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
688 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
689 "mule-charset.h" if CHAR_IS_UCS4 is defined.
691 * character.h: New file.
693 * file-coding.c (Fmake_coding_system): Set 1 to
694 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
696 (encode_coding_no_conversion): New implementation for UTF2000.
698 * file-coding.h (struct Lisp_Coding_System): Add new member
701 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
703 * file-coding.c (decode_coding_iso2022): Code-point arguments of
704 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
705 (encode_coding_iso2022): New implementation for UTF2000.
707 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
709 * mule-canna.c (c2mu): New implementation for UTF2000.
712 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
714 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
716 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
718 * file-coding.c (reset_encoding_stream): Set 0 to
719 `str->iso2022.current_char_boundary' in UTF2000.
720 (encode_utf8): Don't define in UTF2000.
721 (encode_coding_utf8): New implementation for UTF-8 representation
723 (complex_vars_of_file_coding): Define coding-system `utf-8'.
725 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
727 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
729 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
731 (REP_BYTES_BY_FIRST_BYTE): Likewise.
733 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
735 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
736 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
738 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
739 (non_ascii_valid_char_p): Don't define in UTF2000.
740 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
741 (Lstream_get_emchar_1): Likewise.
742 (utf-2000-version): New variable in UTF2000.
744 * lread.c (read_escape): Add new reader `u'.
746 * insdel.c (three_to_one_table): Don't define in UTF2000.
747 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
748 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
750 (bytind_to_bufpos_func): Likewise.
751 (buffer_mule_signal_inserted_region): Likewise.
752 (vars_of_insdel): Don't initialize `three_to_one_table'.
753 (init_buffer_text): Use `buf->text->mule_size' instead of
754 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
757 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
758 UTF-8 representation in UTF2000.
759 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
760 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
761 (decode_coding_iso2022): Don't define local variable `lb' in
762 UTF2000; don't use LEADING_BYTE in UTF2000; use
763 `DECODE_ADD_UCS_CHAR' in UTF2000.
764 (convert_to_external_format): Decode as UTF-8 in UTF2000.
766 * config.h.in (UTF2000): New macro.
768 * buffer.h (struct buffer_text): Add new member `mule_size' and
769 don't add `mule_shifter' and `mule_three_p' in UTF2000.
770 (valid_char_p): Return always 1 in UTF2000.
771 (MAX_EMCHAR_LEN): 6 in UTF2000.
772 (three_to_one_table): Don't define in UTF2000.
773 (real_bufpos_to_bytind): Modify for UTF-8 representation in
775 (real_bytind_to_bufpos): Likewise.
777 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
779 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
781 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
782 representation change.
783 (Vutf_2000_version): New variable.
784 (leading_code_private_11): New variable.
785 (syms_of_mule_charset): Add new variables `utf-2000-version' and
786 `leading-code-private-11'.
788 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
789 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
790 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
791 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
792 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
793 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
794 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
795 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
796 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
797 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
798 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
799 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
800 (MIN_CHAR_GREEK): New macro.
801 (MAX_CHAR_GREEK): New macro.
802 (MIN_CHAR_CYRILLIC): New macro.
803 (MAX_CHAR_CYRILLIC): New macro.
804 (MIN_CHAR_HEBREW): New macro.
805 (MAX_CHAR_HEBREW): New macro.
806 (MIN_CHAR_THAI): New macro.
807 (MAX_CHAR_THAI): New macro.
808 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
809 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
810 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
811 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
812 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
813 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
814 (CHAR_FIELD2): New inline function.
815 (CHAR_FIELD3): New inline function.
816 (MULE_CHAR_PRIVATE_OFFSET): New macro.
817 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
818 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
819 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
820 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
821 (MIN_CHAR_COMPOSITION): Likewise.
822 (CHAR_LEADING_BYTE): Modified for character representation change.
823 (MAKE_CHAR): Likewise.
825 * lisp.h (Vcharset_latin_iso8859_1): New variable.
826 (Vcharset_greek_iso8859_7): Likewise.
827 (Vcharset_cyrillic_iso8859_5): Likewise.
828 (Vcharset_hebrew_iso8859_8): Likewise.
829 (Vcharset_thai_tis620): Likewise.
830 (Vcharset_katakana_jisx0201): Likewise.
832 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
834 * file-coding.c (determine_real_coding_system): Treat `coding:'
837 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
839 * file-coding.c (struct decoding_stream): New member `counter'.
840 (reset_decoding_stream): Initialize `counter'.
841 (decode_coding_ucs4): Use `counter'.
842 (decode_coding_utf8): Likewise.
844 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
846 * XEmacs 21.2.19 is released
848 1999-07-27 Jeff Miller <jmiller@smart.net>
850 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
851 menubar_show_keybindings.
853 1999-07-23 SL Baur <steve@miho>
855 * mule-charset.c (syms_of_mule_charset): Delete duplicated
856 definition of Qccl_program.
858 * mule-ccl.h: Make a global declaration of it here.
860 1999-07-20 Bob Weiner <weiner@beopen.com>
862 * s/sco7.h: Added from rr@sco.com.
864 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
866 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
868 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
870 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
871 (mule_encode): Likewise.
873 * mule-ccl.c (Qccl_program): New variable.
874 (CCL_SUSPEND): New macro.
875 (CCL_INVALID_CMD): New macro.
876 (CCL_READ_CHAR): Don't regard as invalid command while processing
877 the last block even if input is empty; use
878 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
879 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
881 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
882 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
883 (CCL_STAT_SUSPEND_BY_DST): Likewise.
884 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
885 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
887 1999-05-04 Ken'ichi Handa <handa@gnu.org>
889 * mule-ccl.h (struct ccl_program): New member stack_idx.
891 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
892 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
894 (setup_ccl_program): Initialize ccl->stack_idx to 0.
896 1998-10-12 Kenichi Handa <handa@etl.go.jp>
898 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
901 1998-08-18 Kenichi Handa <handa@etl.go.jp>
903 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
904 processing the last block, don't just finish but processes eol
905 block of the current CCL program.
906 (ccl_driver): Add a new jump label ccl_repeat for the above
909 1998-04-15 Kenichi Handa <handa@etl.go.jp>
911 * mule-ccl.c: Typo in comments fixed.
912 (Qccl_program_idx): New variables.
913 (CCL_ReadMultibyteChar2): Macro name changed from
914 CCL_ReadMultibyteCharacter.
915 (CCL_WriteMultibyteChar2): Macro name changed from
916 CCL_WriteMultibyteChar2.
917 (ccl_driver): Adjusted for the above changes.
918 (resolve_symbol_ccl_program): New function.
919 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
920 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
921 numbers by resolve_symbol_ccl_program.
922 (Fccl_execute_on_string): Likewise.
923 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
924 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
926 1998-01-21 Kenichi Handa <handa@etl.go.jp>
928 * mule-ccl.h: (struct ccl_program): New member private_state.
931 (CCL_Call): Fix the comment.
932 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
933 macros for CCL Commands.
935 (ccl_driver): New case lable `CCL_Extention'.
936 (setup_ccl_program): Initialize the member `private_state' of CCL.
938 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
940 * keymap.c (copy_keymap_internal): Inherit the default binding.
942 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
944 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
945 focus the event (XIM_focus_event).
946 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
947 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
948 the interface for future use (XIM_SetGeometry).
949 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
950 location (XIM_SetSpotLocation).
951 (x_output_eol_cursor): Ditto.
953 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
955 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
956 Olivier's change to lrecord.h of 1999-04-22
958 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
960 * gutter.c (redraw_exposed_gutter): Change type of pos from
961 enum toolbar_pos -> enum gutter_pos, since former is only defined
962 if toolbar support is.
964 1999-07-19 Andy Piper <andy@xemacs.org>
966 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
969 * gutter.c (gutter_validate): new function for the gutter specifier.
970 (specifier_type_create_gutter): declare specifier validator.
972 * buffer.h (INC_CHARBYTIND): add for no error checking version.
974 1999-07-18 Andy Piper <andy@xemacs.org>
976 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
978 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
980 (mswindows_resize_subwindow): new function.
982 * gutter.c (redraw_exposed_gutter): only reset the
983 current_display_lines if non-zero.
984 (Fgutter_pixel_height): new function.
985 (Fgutter_pixel_width): new function.
987 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
988 we want to retrive from the tab control.
990 1999-07-17 Andy Piper <andy@xemacs.org>
992 * window.c (change_window_height): mark gutters changed when we're
995 * gutter.c (specifier_vars_of_gutter): make defaults more
998 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1000 (DEFAULT_GUTTER_WIDTH): change.
1001 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1003 1999-07-18 Andy Piper <andy@xemacs.org>
1005 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1007 1999-07-16 Andy Piper <andy@xemacs.org>
1009 * frame.c (Fmake_frame): call init_frame_gutters().
1011 * redisplay.c (add_emchar_rune): use string functions if we are
1012 working with a string.
1013 (position_redisplay_data_type): add string element.
1015 1999-07-15 Andy Piper <andy@xemacs.org>
1017 * winslots.h: add real_gutter_size slots to hold the actual gutter
1018 size. This is important for autodetected sizes.
1020 * gutter.c (calculate_gutter_size): calculate size for gutters
1021 that have 'autodetect size.
1023 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1024 extent of divider for gutters.
1026 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1027 divider for gutters.
1029 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1030 position to take into account the gutters.
1032 * redisplay.c (generate_modeline): adjust modeline position to
1033 take into account the gutters.
1035 1999-07-14 Andy Piper <andy@xemacs.org>
1037 * gutter.c (frame_topmost_window): new function.
1038 (frame_bottommost_window): ditto.
1039 (frame_leftmost_window): ditto.
1040 (frame_rightmost_window): ditto.
1042 1999-07-13 Andy Piper <andy@xemacs.org>
1044 * redisplay.c (calculate_display_line_boundaries): use text
1045 boundaries so that gutters get handled properly.
1047 1999-07-12 Andy Piper <andy@xemacs.org>
1049 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1052 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1055 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1058 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1060 * gutter.c: new file - implements gutters. All new functions are
1061 semantically equivalent to the toolbar functions.
1062 (gutter_was_visible): new function.
1063 (get_gutter_coords): ditto.
1064 (output_gutter): ditto.
1065 (clear_gutter): ditto.
1066 (update_frame_gutters): ditto.
1067 (redraw_exposed_gutter): ditto.
1068 (redraw_exposed_gutters): ditto.
1069 (free_frame_gutters): ditto.
1070 (init_frame_gutters): ditto.
1071 (decode_gutter_position): ditto.
1072 (Fset_default_gutter_position): ditto.
1073 (Fset_default_gutter_position): ditto.
1074 (Fdefault_gutter_position): ditto.
1075 (gutter_after_change): ditto.
1076 (Fgutter_specifier_p): ditto.
1077 (recompute_overlaying_specifier): ditto.
1078 (gutter_specs_changed): ditto.
1079 (default_gutter_specs_changed): ditto.
1080 (gutter_geometry_changed_in_window): ditto.
1081 (default_gutter_size_changed_in_window): ditto.
1082 (default_gutter_border_width_changed_in_window): ditto.
1083 (default_gutter_visible_p_changed_in_window): ditto.
1084 (syms_of_gutter): ditto.
1085 (vars_of_gutter): ditto.
1086 (specifier_type_create_gutter): ditto.
1087 (specifier_vars_of_gutter): ditto.
1089 * gutter.h: new file. Contains gutter constants and sizing macros
1090 similar to those for the toolbar.
1092 * winslots.h: add gutter variables.
1094 * window.h: declare window_is_* functions.
1096 * window.c (window_is_lowest): make non-static.
1097 (window_is_highest): ditto.
1098 (window_top_toolbar_height): deleted.
1099 (window_bottom_toolbar_height): deleted.
1100 (window_left_toolbar_width): deleted.
1101 (window_right_toolbar_width): deleted.
1102 (window_top_gutter_height): add gutter sizing.
1103 (window_bottom_gutter_height): ditto.
1104 (window_left_gutter_width): ditto.
1105 (window_right_gutter_width): ditto.
1107 * symsinit.h: declarations for gutters vars etc.
1109 * search.c (bi_find_next_emchar_in_string): new function.
1111 * scrollbar.c (update_scrollbar_instance): remove reference to
1112 window_bottom_toolbar_height which did nothing.
1114 * redisplay.h (struct display_line): add face indices for
1115 overriding defaults in output_display_line.
1116 Add gutter_changed flags and declarations.
1118 * redisplay.c (create_string_text_block): new function, similar to
1119 create_text_block but for strings. Display tables etc are used
1120 from the currently selected window.
1121 (generate_string_display_line): ditto. Similar to
1122 generate_display_line.
1123 (generate_displayable_area): generate display lines for a given
1124 area on a frame. Input is the string, with associated extents, to
1126 (redisplay_frame): add gutter_changed check.
1127 (redisplay_device): ditto.
1128 (redisplay_without_hooks): ditto.
1130 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1131 (x_redraw_exposed_area): redraw exposed gutters.
1132 (x_bevel_area): new redisplay device method.
1133 (x_type_create_redisplay_mswindows): add bevel_area device method.
1134 (x_output_display_block): fiddly Martin-style cleanup.
1135 (x_output_vertical_divider): use bevel_area.
1137 * redisplay-output.c (output_display_line): check display_lines
1138 for face information before using defaults.
1139 (bevel_modeline): new function, calls bevel_area with appropriate
1142 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1143 (mswindows_redraw_exposed_area): redraw exposed gutters.
1144 (mswindows_bevel_area): new redisplay device method.
1145 (console_type_create_redisplay_mswindows): add bevel_area device
1148 * indent.c (string_column_at_point): add column_at_point but for
1151 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1152 instantiate widgets that we have a toolkit for.
1154 * general.c: add Qgutter.
1156 * frame.h (struct frame): add display lines for gutters and
1159 * frame.c (set_frame_selected_window): mark gutters changed.
1161 * emacs.c (main_1): add gutter initialisation.
1163 * device.h (struct device): add gutter_changed flag and macros to
1166 * console.h (struct console_methods): new bevel area redisplay
1169 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1170 REAL_INC_BYTIND is for buffers.
1171 (INC_CHARPTR): ditto.
1173 * Makefile.in.in (objs): add gutter.o
1175 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1177 * XEmacs 21.2.18 is released
1179 1999-07-08 SL Baur <steve@mule.m17n.org>
1181 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1183 (emacs_Xt_handle_magic_event): Ditto.
1184 * redisplay-x.c (x_output_string): Ditto.
1185 (x_output_eol_cursor): Ditto.
1187 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1189 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1190 problem that when XIM is destroyed or missed with some reason,
1191 xemacs will die. Now xim=xlib waits the XIM will be ready and
1192 endures the case of XIM end up.
1194 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1196 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1197 SIGINT and SIGCHLD before calling tt_open and restore the
1198 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1200 1999-07-06 SL Baur <steve@xemacs.org>
1202 * s/linux.h: gcc-2.8 changes for powerpc
1203 From Justin Vallon <vallon@mindspring.com>
1205 1999-07-05 Didier Verna <verna@inf.enst.fr>
1207 * indent.c: new symbol Qcoerce.
1208 (Fmove_to_column): use it + doc string update.
1210 1999-07-04 Andy Piper <andy@xemacs.org>
1212 * console.c: undo earlier Fprovide changes.
1216 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1217 function. validate appropriate image formats for tty.
1219 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1220 initialize consoles parameter.
1221 (struct image_instantiator_methods): add consoles parameter.
1222 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1224 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1227 * glyphs-msw.c: declare instantiators for later use.
1228 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1229 and friends on the mswindows console.
1230 * glyphs-x.c: ditto.
1232 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1233 that have not been registered on the supplied device.
1234 (Fvalid_image_instantiator_format_p): add locale argument.
1235 (instantiate_image_instantiator): valid image instantiator on the
1238 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1241 * emacs.c (main_1): add call to
1242 image_instantiator_format_create_glyphs_tty().
1244 1999-06-29 Olivier Galibert <galibert@pobox.com>
1246 * lisp.h: Add #include <stddef.h>.
1248 * sysdep.c: Remove #include <stddef.h>.
1249 * symbols.c: Remove #include <stddef.h>.
1250 * sheap.c: Remove #include <stddef.h>.
1251 * opaque.c: Remove #include <stddef.h>.
1252 * nt.c: Remove #include <stddef.h>.
1253 * mule-charset.c: Remove #include <stddef.h>.
1254 * marker.c: Remove #include <stddef.h>.
1255 * file-coding.c: Remove #include <stddef.h>.
1256 * extents.c: Remove #include <stddef.h>.
1257 * elhash.c: Remove #include <stddef.h>.
1258 * data.c: Remove #include <stddef.h>.
1259 * chartab.c: Remove #include <stddef.h>.
1260 * bytecode.c: Remove #include <stddef.h>.
1261 * alloc.c: Remove #include <stddef.h>. Fix vector description
1263 1999-06-30 SL Baur <steve@miho.m17n.org>
1265 * editfns.c: Document "%s" format spec.
1266 Suggested by Bob Weiner <weiner@altrasoft.com>
1268 1999-06-29 Andy Piper <andy@xemacs.org>
1270 * event-msw.c: fix definition booboo.
1272 1999-06-28 Andy Piper <andy@xemacs.org>
1274 * glyphs-x.c: change tree -> tree-view, progress ->
1275 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1277 (complex_vars_of_glyphs_x): provide-on-console the implemented
1280 * glyphs-msw.c: ditto.
1281 (complex_vars_of_glyphs_mswindows): ditto.
1283 * lisp.h: add Fprovide_on_console.
1285 * fns.c (Ffeaturep): add extra optional console argument.
1286 (Fprovide_on_console): like Fprovide but provides only on the
1287 specified console-type.
1288 (Frequire): check console-features as well as global features.
1290 * console.c (Fconsole_features): new function. return features for
1292 (syms_of_console): add Fconsole_features.
1294 * console.h (CONMETH_FEATURES): new function for accessing features.
1295 (CONSOLE_FEATURES): ditto.
1296 (struct console_methods): add features slot.
1297 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1299 1999-06-28 Andy Piper <andy@xemacs.org>
1301 * event-Xt.c (handle_focus_event_1): conditionally compile for
1304 * s/cygwin32.h: fix me website address.
1306 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1308 * gui-x.c (button_item_to_widget_value): only add callback if it
1311 * glyphs-x.c: add progress, edit and combo instantiators.
1312 (x_widget_set_property): new function. uses lwlib to set widget
1314 (x_widget_property): new function. uses lwlib to get widget
1316 (x_button_instantiate): support images in buttons.
1317 (x_button_property): new function. use lwlib to get the selected
1319 (x_progress_instantiate): new function for instantiating progress
1321 (x_progress_set_property): new function. sets the progress gauge
1323 (x_edit_instantiate): new function. for instantiating edit fields.
1324 (x_combo_instantiate): new function. for instantiating combo
1326 (image_instantiator_format_create_glyphs_x): add new device ii
1329 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1331 * console.h (CONSOLE_FEATURES): new features accesor.
1333 * conslots.h (MARKED_SLOT): add features entry.
1335 1999-06-25 Andy Piper <andy@xemacs.org>
1337 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1340 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1342 * gui.h (struct Lisp_Gui_Item): add accelerator.
1344 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1345 (gui_item_init): ditto.
1346 (gui_add_item_keywords_to_plist): ditto.
1347 (mark_gui_item): ditto.
1348 (gui_item_hash): ditto.
1349 (gui_item_accelerator): new function.
1350 (gui_name_accelerator): new function stolen from gui-x.c
1352 * gui-x.c (popup_selection_callback): always define. mark
1353 subwindows changed after calling a callback.
1354 (menu_name_to_accelerator): deleted.
1355 (button_item_to_widget_value): forward gui_item things to gui_item
1358 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1359 appropriate accesors.
1361 * glyphs-x.c: declare new glyph formats.
1362 (x_finalize_image_instance): unmanage and destroy widgets if they
1364 (x_unmap_subwindow): handle widgets specially.
1365 (x_map_subwindow): ditto. offset display of widgets by offset of
1366 text widget within container.
1367 (x_update_subwindow): new function. call lw_modify_all_widgets
1368 when we are a widget.
1369 (x_widget_instantiate): new function for generically creating
1370 widgets-glyphs. toolkit specifics forwarded to lwlib.
1371 (x_button_instantiate): new function for instantiating
1372 widgets-glyph buttons.
1373 (console_type_create_glyphs_x): register update_subwindow.
1374 (image_instantiator_format_create_glyphs_x): register widget and
1377 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1379 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1380 when we get a button press in case we do not have the focus.
1381 (handle_focus_event_1): set the keyboard focus to the text widget
1382 if we do not have it.
1384 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1387 1999-06-24 SL Baur <steve@miho.m17n.org>
1389 * syntax.c (scan_words): Restore non-Mule code.
1390 (word_constituent_p): Restore.
1392 1999-06-23 Olivier Galibert <galibert@pobox.com>
1394 * config.h.in: Add missing #undef *_USER_DEFINED.
1396 1999-06-23 SL Baur <steve@miho.m17n.org>
1398 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1399 int (fixes a 64-bit problem).
1401 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1404 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1406 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1408 1999-06-22 Olivier Galibert <galibert@pobox.com>
1410 * lrecord.h: Added basic external description system.
1412 * symbols.c: Added symbol, symbol-value-buffer-local,
1413 symbol-value-lisp-magic and symbol-value-varalias description.
1414 * mule-charset.c: Added charset description.
1415 * marker.c: Added marker description.
1416 * keymap.c: Added keymap description.
1417 * glyphs.c: Added glyph description.
1418 * floatfns.c: Added float description.
1419 * file-coding.c: Added coding-system description.
1420 * extents.c: Added extent description.
1421 * elhash.c: Added hash-table description.
1422 * data.c: Added weak-list desciption.
1423 * chartab.c: Added char-table-entry and char-table description.
1424 * bytecode.c: Added compiled-function description.
1425 * alloc.c: Added cons, vector and string description.
1427 1999-06-22 Olivier Galibert <galibert@pobox.com>
1429 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1430 Updated everything to the removal of the "flags" substructure.
1432 * lisp.h (subr_lheader_initializer): Updated.
1433 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1435 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1437 * syntax.c (word_constituent_p): Deleted.
1438 (scan_words): Use `WORD_BOUNDARY_P'.
1440 * chartab.c (Vword_combining_categories): New variable.
1441 (Vword_separating_categories): Likewise.
1442 (CATEGORYP): New macro.
1443 (CATEGORY_SET): Likewise.
1444 (CATEGORY_MEMBER): Likewise.
1445 (word_boundary_p): New function.
1446 (complex_vars_of_chartab): Set up new variable
1447 `word-combining-categories' and `word-separating-categories'.
1449 1999-06-18 Olivier Galibert <galibert@pobox.com>
1451 * lrecord.h: Added description as a placehold in the lrecord
1452 implementation structures. Added the parameter to all constructor
1455 * alloc.c: Added placeholders.
1457 * bytecode.c: Ditto.
1461 * database.c: Ditto.
1466 * event-stream.c: Ditto.
1470 * file-coding.c: Ditto.
1471 * floatfns.c: Ditto.
1479 * mule-charset.c: Ditto.
1483 * rangetab.c: Ditto.
1484 * specifier.c: Ditto.
1487 * tooltalk.c: Ditto.
1490 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1492 * XEmacs 21.2.17 is released
1494 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1496 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1497 (HAVE_LDAP_GET_LDERRNO): Ditto
1498 (HAVE_LDAP_RESULT2ERROR): Ditto
1499 (HAVE_LDAP_PARSE_RESULT): Ditto
1500 (HAVE_UMICH_LDAP): Removed
1501 (HAVE_NS_LDAP): Removed
1503 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1504 suggested by Olivier Galibert
1505 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1507 * eldap.c: Take the removal of `livep' into account in all the
1509 (signal_ldap_error): Take two additional parameters
1510 Added new finer compilation conditions in order to use
1511 ldap_parse_result or ldap_result2error if available
1512 (Fldap_open): Conform to this new API
1513 (Fldap_search_internal): Ditto
1515 1999-06-17 SL Baur <steve@miho.m17n.org>
1517 * data.c (struct int_or_double): Should use EMACS_INT not int.
1519 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1521 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1524 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1526 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1527 `CCL_MODE_ENCODING'.
1529 * file-coding.c (mule_decode): Run `ccl_driver' with
1530 `CCL_MODE_DECODING'.
1531 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1533 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1534 (ccl_driver): Add new argument `conversion_mode'.
1535 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1536 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1537 new optional argument].
1539 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1540 (CCL_MODE_DECODING): New macro.
1541 (ccl_driver): Add new argument `conversion_mode'.
1543 1999-06-15 SL Baur <steve@miho.m17n.org>
1545 * mule-charset.c (Fsplit_char): New subr.
1546 (Fchar_octet): delete.
1547 (syms_of_mule_charset): DEFSUBR it.
1549 1999-06-13 Andy Piper <andy@xemacs.org>
1551 * menubar.h: update declarations involving gui_items.
1553 * lisp.h: declare Lisp_Gui_Item.
1555 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1557 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1558 (print_image_instance): ditto.
1559 (image_instance_equal): ditto.
1560 (image_instance_hash): ditto.
1562 * event-msw.c (mswindows_need_event): assert badly_p status.
1563 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1564 callbacks in tree-view and tab-control widgets.
1565 (emacs_mswindows_next_event): modify use of
1566 mswindows_dequeue_dispatch_event.
1568 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1569 lisp-based gui_items.
1571 * glyphs-msw.c (mswindows_update_subwindow): update use of
1573 (mswindows_register_gui_item): new function.
1574 (mswindows_register_gui_item): fix to use lisp gui_items.
1575 (mswindows_widget_instantiate): ditto.
1576 (mswindows_button_instantiate): ditto.
1577 (add_tree_item): new function to recursively add tree view
1579 (add_tree_item_list): ditto.
1580 (mswindows_tree_instantiate): new function. instantiate tree view
1582 (add_tab_item): new function to add tabs to a tab control.
1583 (mswindows_tab_instantiate): new function. instantiate tab
1585 (image_instantiator_format_create_glyphs_mswindows): add tree view
1587 (vars_of_glyphs_mswindows): ditto.
1589 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1591 (check_valid_item_list): ditto.
1592 (initialize_widget_image_instance): fix to use new lisp gui_item.
1593 (widget_instantiate_1): allow the setting of default textwidth in
1595 (widget_instantiate): change to use new widget_instantiate_1
1597 (combo_instantiate): ditto.
1598 (static_instantiate): ditto.
1599 (tab_instantiate): new function for tab widgets.
1600 (image_instantiator_format_create_glyphs_widget): add tab and tree
1603 * menubar-msw.c (displayable_menu_item): convert to use lisp
1605 (populate_menu_add_item): ditto.
1606 (populate_or_checksum_helper): ditto.
1608 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1610 (Fmenu_find_real_submenu): ditto.
1612 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1614 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1615 objects, convert functions that use them accordingly.
1616 (gui_item_init): ditto.
1617 (gui_item_active_p): ditto.
1618 (gui_item_selected_p): ditto.
1619 (gui_item_included_p): ditto.
1620 (gui_item_display_flush_left): ditto.
1621 (gui_item_display_flush_right): ditto.
1622 (mark_gui_item): ditto.
1623 (allocate_gui_item): new function to create a gui_item.
1624 (make_gui_item_from_keywords_internal): ditto. create and return a
1625 gui_item as well as setting keywords.
1626 (gui_parse_item_keywords): ditto.
1627 (gui_parse_item_keywords_no_errors): ditto.
1628 (gui_add_item_keywords_to_plist): new function, not yet used.
1629 (gui_item_hash): new function.
1630 (gui_item_id_hash): use gui_item_hash.
1631 (gui_item_equal): new function.
1632 (print_gui_item): new function.
1634 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1636 * XEmacs 21.2.16 is released
1638 1999-06-10 Andy Piper <andy@xemacs.org>
1640 * select-msw.c (mswindows_own_selection): only set the clipboard
1642 (mswindows_get_foreign_selection): only get the clipboard if
1644 (mswindows_disown_selection): only disown the clipboard if asked.
1646 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1648 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1650 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1651 of coding-category `no-conversion'.
1653 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1655 * file-coding.c (Qraw_text): New variable.
1656 (syms_of_mule_coding): Add new symbol `raw-text'.
1657 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1658 define coding-system `binary' independently; define coding-system
1659 `no-conversion' as an alias for `raw-text'.
1661 * file-coding.h (Qraw_text): New variable.
1663 1999-06-08 SL Baur <steve@xemacs.org>
1665 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1667 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1669 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1671 (base64_decode_1): Signal errors instead of returning -1.
1673 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1675 * mule-charset.c (Fmake_char): Update docstring.
1677 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1679 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1681 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1683 * fns.c (base64_decode_1): Allow and ignore any non-base64
1684 characters in input.
1686 1999-05-27 Olivier Galibert <galibert@pobox.com>
1688 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1689 of report_pure_usage().
1691 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1693 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1695 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1697 * XEmacs 21.2.15 is released
1699 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1701 * frame.c (Fset_mouse_position):
1702 (Fset_mouse_pixel_position):
1703 * window.c (Fsplit_window):
1704 (Fmove_to_window_line):
1705 Fix crash when invoking functions with an already-deleted window
1708 * indent.c (vertical_motion_1):
1710 (Fvertical_motion_pixels):
1711 * window.c (Fwindow_displayed_text_pixel_height):
1712 Fix error message when invoking functions with an already-deleted
1715 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1717 * sysdep.c (request_sigio_on_device): Guard against glibc
1718 2.1's stub streams implementation.
1720 1999-06-03 SL Baur <steve@xemacs.org>
1723 * emacs.c: Implement x.y.z version numbers
1724 From Jan Vroonhof <vroonhof@math.ethz.ch>
1726 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1728 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1729 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1732 1999-06-03 SL Baur <steve@xemacs.org>
1735 * device-x.c: rename session option to wmcommand.
1736 From Oliver Graf <ograf@rhein-zeitung.de>
1738 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1740 * fns.c (Fsubstring): Don't traverse the same region twice with
1741 charcount_to_bytecount().
1743 1999-06-03 SL Baur <steve@steve1.m17n.org>
1745 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1748 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1749 doesn't really work as is implied by the commentary).
1750 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1752 1999-06-02 SL Baur <steve@steve1.m17n.org>
1754 * symsinit.h: Declare vars_of_ntproc.
1755 * emacs.c (main_1): Call it.
1757 * ntproc.c (syms_of_ntproc): Move variable initializations from
1759 (vars_of_ntproc): ... to here [new function].
1761 * file-coding.c (syms_of_file_coding): Rename.
1762 (vars_of_file_coding): Ditto.
1763 (complex_vars_of_file_coding): Ditto.
1765 * symsinit.h: Rename *_mule_coding to *_file_coding.
1767 * emacs.c (main_1): Call them by the proper name.
1769 * device-msw.c (syms_of_device_mswindows): Move variable
1770 initializations from here ...
1771 (vars_of_device_mswindows): ... to here.
1773 * chartab.c (vars_of_chartab): New function.
1775 * symsinit.h: New function, vars_of_chartab.
1777 * emacs.c (main_1): Call it.
1779 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1780 (vars_of_mule_canna): ... to here.
1782 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1783 initializations out of syms_of_mule_ccl.
1785 * symsinit.h: Declare new function vars_of_mule_ccl.
1787 * emacs.c (main_1): Call it.
1789 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1791 * fns.c (base64_decode_1): Ignore whitespace.
1793 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1795 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1798 1999-05-21 Andy Piper <andy@xemacs.org>
1800 * xselect.c: deleted.
1802 * symsinit.h: declare select initialisation.
1804 * select.h: new file. declare commonly used select functions and
1807 * select.c: new file. generalised from xselect.c.
1808 (clean_local_selection_data): moved from xselect.c.
1809 (get_local_selection): ditto. device specific pieces called via a
1811 (handle_selection_clear): ditto.
1812 (Fown_selection_internal): renamed and generalised from
1813 Fx_own_selection_internal. moved from xselect.c.
1814 (Fdisown_selection_internal): ditto.
1815 (Fselection_owner_p): ditto.
1816 (Fselection_exists_p): ditto.
1817 (Fget_selection_internal): ditto.
1818 (syms_of_select): new function. QXXXX values moved from xselect.c
1819 (vars_of_select): new function. selection_converter_alist,
1820 lost_selection_hooks moved and renamed from xselect.c
1822 * select-x.c: renamed from xselect.c.
1823 (x_own_selection): converted to device specific. non-X-specific
1824 bits moved to select.c.
1825 (x_get_foreign_selection): ditto.
1826 (x_disown_selection): ditto.
1827 (x_selection_exists_p): ditto.
1828 (console_type_create_select_x): new function.
1830 * select-msw.c (mswindows_own_selection): new device method to set
1831 the clipboard when we 'own' the selection.
1832 (mswindows_get_foreign_selection): new device method to get the
1834 (mswindows_disown_selection): new device method to delete the
1835 selection when we 'disown' it.
1836 (console_type_create_select_mswindows): new function.
1838 * emacs.c (main_1): add select to things to initialise.
1840 * console.h (struct console_methods): new console methods for
1843 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1845 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1847 * print.c (long_to_string): Install a faster version.
1849 1999-05-16 Andy Piper <andy@xemacs.org>
1851 * ntproc.c (syms_of_ntproc): default
1852 win32-start-process-share-console to t.
1854 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1856 * config.h.in: Do it here.
1858 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1860 1999-05-14 Andy Piper <andy@xemacs.org>
1862 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1865 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1867 * XEmacs 21.2.14 is released
1869 1999-05-12 Andy Piper <andy@xemacs.org>
1871 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1873 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1875 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1876 run_temacs_argv array -- fixes random memory corruption crash
1878 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1880 * window.c (Fcurrent_window_configuration):
1881 Save minibuffer height;
1883 * window.c (set_window_configuration): use it.
1885 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1887 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1889 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1891 * redisplay.c (redisplay_window): Do not put data
1892 in the line start cache if it is not guaranteed to be correct
1894 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1896 * window.c (struct window_config): Removed frame
1898 (window_config_equal): No longer compare frame sizes.
1899 (Fset_window_configuration): Resize old top window to fit in the
1900 current frame directly, no longer use a fake frame resize.
1901 (Fcurrent_window_configuration): No longer save frame size
1903 1999-05-11 Andy Piper <andy@xemacs.org>
1905 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1908 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1910 * sysdep.c (init_system_name): If gethostname gives a proper
1911 domain name, don't look further for one.
1913 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1915 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1916 (Fintern_soft): Accept a symbol argument.
1918 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1920 * symbols.c (Fintern): ...do it here.
1922 * lread.c (read_atom): Don't handle keywords here.
1924 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1926 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1928 1999-05-03 Olivier Galibert <galibert@pobox.com>
1930 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1931 is interned in the main obarray.
1933 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1935 * menubar-x.c (pre_activate_callback): set accelerator field in
1936 "No menu" entries to nil. Avoid crash in
1937 command_builder_operate_menu_accelerator
1939 1999-05-03 Olivier Galibert <galibert@pobox.com>
1941 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1943 * lisp.h (DEFUN): Fix lrecord header initialisation.
1945 1999-05-02 Andy Piper <andy@xemacs.org>
1947 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1949 * ntproc.c (sys_kill): cast using MS mandated defines.
1951 1999-04-29 Andy Piper <andy@xemacs.org>
1953 * m/intel386.h: remove redundant definitions.
1955 * s/mingw32.h: new header for mingw32.
1957 * unexnt.c: (open_input_file): function moved to nt.c.
1958 (close_file_data): ditto.
1959 (rva_to_section): function moved to ntproc.
1961 * symsinit.h: declare syms_of_ntproc();
1963 * objects-msw.c (mswindows_font_instance_truename): new function.
1965 * ntproc.c: remove many warnings.
1966 (_sys_read_ahead): moved from nt.c and made static.
1967 (rva_to_section): moved from unexnt.c but not defined under
1969 (win32_executable_type): implement what we can for mingw32
1971 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1973 * ntheap.h: remove declarations of functions that are now static.
1975 * ntheap.c: support static heap.
1977 * nt.h: conditionalise X_OK definition.
1979 * nt.c: eliminate many warnings and support mingw32.
1980 (open_input_file): function moved from unexnt.c and made static
1981 (close_file_data): ditto.
1982 (_sys_read_ahead): moved to ntproc.c
1984 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1986 * console-msw.h: support mingw32.
1987 * getloadavg.c: ditto.
1994 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1995 some systems don't have all of the encapsulated system calls.
1997 * callproc.c: warning elimination.
1998 * dired-msw.c: ditto.
1999 * process-nt.c: ditto.
2000 * realpath.c: ditto.
2002 * Makefile.in.in: tweak : and ; for building under mswindows.
2004 1999-04-26 Michael Harnois <mharnois@willinet.net>
2006 * eldap.c (allocate_ldap): Adapt to the new semantics of
2007 alloc_lcrecord_type().
2009 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2011 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2013 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2015 * Delete mule-coding.c and mule-coding.h because they are not
2018 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2020 * objects.c (print_font_instance): Check for NILP(f->device),
2021 i.e. Vthe_null_font_instance.
2022 (font_instance_truename_internal): ditto.
2023 (Ffont_instance_properties): ditto.
2025 1999-04-22 Olivier Galibert <galibert@pobox.com>
2027 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2030 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2032 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2033 it easier to add new ones.
2035 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2037 * symbols.c (reject_constant_symbols): Ditto.
2038 (init_symbols_once_early): Ditto.
2040 * print.c (print_symbol): Don't use ->obarray.
2042 * symbols.c (Funintern): Ditto.
2044 * alloc.c (Fmake_symbol): Don't set ->obarray.
2046 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2048 * symbols.c (init_symbols_once_early): Removed
2049 Vpure_uninterned_symbol_table.
2050 (Fintern): Don't store to ->obarray field.
2052 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2054 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2055 (eq_with_ebola_notice): Remove abracadabra support.
2057 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2059 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2060 retrieve the distinguished names of entries
2062 1999-03-08 Martin Buchholz <martin@xemacs.org>
2064 * lread.c (read_escape): Make hex escapes read only two hex digits.
2066 1999-04-05 Olivier Galibert <galibert@pobox.com>
2068 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2069 * make-src-depend: Remove puresize-adjust.h.
2070 * src-headers: Remove puresize-adjust.h.
2071 * config.h.in: Kill everything purespace/gung-ho related.
2073 * dbxrc: Make gung-ho mandatory.
2076 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2077 c_readonly and lisp_readonly. Remove implementation arrays.
2078 (C_READONLY_RECORD_HEADER_P): Added.
2079 (LISP_READONLY_RECORD_HEADER_P): Added.
2080 (SET_C_READONLY_RECORD_HEADER): Added.
2081 (SET_LISP_READONLY_RECORD_HEADER): Added.
2083 * lisp.h: Kill everything purespace/non gung-ho related.
2084 (CHECK_C_WRITEABLE): Added.
2085 (CHECK_LISP_WRITEABLE): Added.
2086 (C_READONLY): Added.
2087 (LISP_READONLY): Added.
2089 * lisp-union.h: Make gung-ho mandatory.
2090 * lisp-disunion.h: Ditto.
2092 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2093 set_lheader_implementation calls.
2094 (c_readonly): Added.
2095 (lisp_readonly): Added.
2096 (make_string_nocopy): Added.
2097 (Fpurecopy): Changed to do nothing. Kept the old documentation
2098 for reference purposes for the next patches.
2099 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2100 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2101 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2103 * fns.c: Make gung-ho mandatory.
2104 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2106 (Ffillarray): Ditto.
2108 * data.c: Make gung-ho mandatory.
2109 (pure_write_error): Removed.
2110 (c_write_error): Added.
2111 (lisp_write_error): Added.
2112 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2116 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2117 make_string or make_string_nocopy. Fix various
2118 alloc_lcrecord_type.
2120 * lread.c: Remove everything purespace related.
2121 (Flocate_file_clear_hashing): purified -> c_readonly.
2122 (locate_file): Ditto.
2123 (read_atom): make_pure_pname -> make_string.
2125 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2127 (Fdump_emacs): Ditto.
2129 * print.c (print_internal): Make gung-ho mandatory.
2130 * ntheap.c (sbrk): Ditto.
2131 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2132 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2134 * sheap.c (more_static_core): Remove puresize-adjust.h from
2137 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2139 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2140 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2141 * events.c (deinitialize_event): Fix set_lheader_implementation.
2142 (zero_event): Ditto.
2143 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2144 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2145 * mule-charset.c (make_charset): Ditto.
2146 * console.c (allocate_console): Ditto.
2147 (complex_vars_of_console): Ditto.
2148 * file-coding.c (allocate_coding_system): Ditto.
2149 * device.c (allocate_device): Ditto
2150 * gui-x.c (gcpro_popup_callbacks): Ditto.
2151 * extents.c (allocate_extent_auxiliary): Ditto.
2152 (allocate_extent_info): Ditto.
2153 (copy_extent): Ditto.
2154 * glyphs.c (allocate_image_instance): Ditto.
2155 (allocate_glyph): Ditto.
2156 * frame.c (allocate_frame_core): Ditto.
2157 * database.c (allocate_database): Ditto.
2158 * tooltalk.c (make_tooltalk_message): Ditto.
2159 (make_tooltalk_pattern): Ditto.
2160 * rangetab.c (Fmake_range_table): Ditto.
2161 (Fcopy_range_table): Ditto.
2162 * process.c (make_process_internal): Ditto.
2163 * chartab.c (Fmake_char_table): Ditto.
2164 (make_char_table_entry): Ditto.
2165 (copy_char_table_entry): Ditto.
2166 (Fcopy_char_table): Ditto.
2167 * elhash.c (make_general_lisp_hash_table): Ditto.
2168 (Fcopy_hash_table): Ditto.
2169 * buffer.c (allocate_buffer): Ditto.
2170 (complex_vars_of_buffer): Ditto.
2171 * event-stream.c (allocate_command_builder): Ditto.
2172 * objects.c (Fmake_color_instance): Ditto.
2173 (Fmake_font_instance): Ditto.
2174 (vars_of_objects): Ditto.
2175 * toolbar.c (update_toolbar_button): Ditto.
2176 * window.c (allocate_window): Ditto.
2177 (make_dummy_parent): Ditto.
2178 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2179 (vars_of_window): Fix make_lcrecord_list.
2180 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2182 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2183 * opaque.c (make_opaque): Fix alloc_lrecord.
2184 (make_opaque_list): Fix alloc_lrecord_type.
2186 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2188 * process.c (Fstart_process_internal): Ditto.
2190 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2193 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2195 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2198 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2199 (emodules_load): Use it when calling locate_file().
2201 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2204 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2205 (vars_of_callproc): Initialize it.
2206 (Fcall_process_internal): Use it when calling locate_file().
2208 * alloc.c (disksave_object_finalization): Use
2209 Flocate_file_clear_hashing().
2211 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2212 given `t' as argument.
2214 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2216 * lread.c (locate_file): Expand `pathel' when appropriate.
2217 (Flocate_file_clear_hashing): Expand path elements.
2218 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2220 * dired.c (make_directory_hash_table): Create the hash-table only
2221 if the directory open is successful.
2223 * lread.c (decode_mode_1): New function.
2224 (decode_mode): Ditto.
2225 (Flocate_file): Use them.
2226 (Flocate_file): Expand FILENAME.
2227 (locate_file_map_suffixes): New function.
2228 (locate_file_in_directory_mapper): New function.
2229 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2230 and locate_file_map_suffixes().
2231 (locate_file_construct_suffixed_files): Use
2232 locate_file_map_suffixes().
2233 (locate_file_without_hash): Don't GCPRO path.
2234 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2235 (syms_of_lread): Remove Qlocate_file_hash_table.
2236 (locate_file_find_directory_hash_table): Use
2237 Vlocate_file_hash_table.
2238 (locate_file_refresh_hashing): Ditto.
2240 * lread.c: Renamed read_objects to Vread_objects.
2242 1999-04-16 Olivier Galibert <galibert@pobox.com>
2244 * mule-charset.c: Generally resync with fsf 20.3 charset
2246 (make_charset): Add long and short name. Use id instead of
2248 (Fmake_charset): Ditto.
2249 (Fmake_reverse_direction_charset): Ditto.
2250 (Fcharset_property): Ditto.
2251 (Fcharset_short_name): Added.
2252 (Fcharset_long_name): Added.
2253 (Fcharset_description): Renamed from charset-doc-string.
2254 (syms_of_mule_charset): Synced symbols.
2255 (complex_vars_of_mule_charset): Synced charsets.
2257 * mule-charset.h: Removed leading byte (uses id instead), added
2258 short and long name.
2260 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2262 * file-coding.c (Fdefine_coding_system_alias): New function.
2264 1999-04-08 Olivier Galibert <galibert@pobox.com>
2266 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2267 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2269 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2271 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2272 attach to the extent is valid.
2274 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2276 * dired.c (user_name_completion): Mule-ize.
2277 (user_name_completion): Use xmalloc/xrealloc/xfree.
2278 (user_name_completion): Use DO_REALLOC.
2279 (user_name_completion): Cut down the number of static variables;
2281 (user_name_completion): Username completion is always
2284 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2286 * fns.c (base64_decode_1): Remove COUNTER.
2287 (base64_decode_1): Accept CRLF in addition to CR.
2288 (base64_decode_1): Disallow a stray character after final EOF; the
2289 check was probably a remnant of buggy recode code.
2291 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2293 * fns.c (init_provide_once): Provide `base64'.
2295 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2297 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2298 (Fbase64_encode_region): If buffer is read-only, bail out early.
2299 (Fbase64_decode_region): Ditto.
2300 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2302 (Fbase64_encode_string): Ditto.
2303 (Fbase64_decode_region): Ditto.
2304 (Fbase64_decode_string): Ditto.
2306 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2308 * dired.c (Fdirectory_files): Remove redundant code.
2310 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2312 * frame-msw.c Make raise-frame restore minimised windows.
2314 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2316 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2319 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2321 * toolbar-msw.c Consider captions when deciding whether to rebuild
2322 toolbar. This fixes the initial toolbar display for those of us
2323 who don't like captions. These patches applied by Andy Piper.
2325 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2327 * XEmacs 21.2.13 is released
2329 1999-03-12 SL Baur <steve@xemacs.org>
2331 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2333 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2335 * file-coding.c: docstring and comment improvements.
2336 (decode_ucs4) flag possible data loss with comment.
2338 1999-03-10 Martin Buchholz <martin@xemacs.org>
2340 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2344 (decode_coding_ucs4):
2345 (encode_coding_ucs4):
2346 (detect_coding_utf8):
2347 (decode_coding_utf8):
2349 (encode_coding_utf8):
2350 Add CHECK_* macros where needed to avoid crashes.
2351 #ifdef out all composite character support using
2352 #ifdef ENABLE_COMPOSITE_CHARS
2353 Use normal XEmacs coding standards.
2355 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2357 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2359 * file-coding.c (make-coding-system): Add description about
2360 `ucs-4' and `utf-8'.
2361 (detection_state): Modify to implement ucs-4 and utf-8.
2362 (detect_coding_type): Likewise.
2363 (detect_coding_ucs4): New implementation.
2364 (detect_coding_utf8): New implementation.
2365 (encode_utf8): fixed.
2366 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2369 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2371 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2372 2022 registry to private area.
2374 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2376 * file-coding.c (encode_utf8): New function.
2377 (encode_coding_utf8): New implementation.
2379 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2381 * file-coding.c (ucs_to_mule_table): New variable; abolish
2382 `Vucs_to_mule_table'
2383 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2384 (set-ucs-char): New function.
2385 (ucs_to_char): New function.
2386 (ucs-char): New function.
2387 (set-char-ucs): New function.
2388 (char-ucs): New function.
2389 (decode_ucs4): Use `ucs_to_char'.
2390 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2391 `mule-to-ucs-table'.
2393 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2395 * chartab.h: EXFUN `Fget_char_table'.
2397 * file-coding.c (encode_ucs4): New function.
2398 (encode_coding_ucs4): Use `encode_ucs4'.
2400 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2402 * file-coding.c (decode_coding_ucs4): New implementation.
2404 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2406 * file-coding.c (decode_coding_ucs4): fixed.
2408 * file-coding.c (Vmule_to_ucs_table): New variable.
2409 (mule_char_to_ucs4): New function.
2410 (encode_coding_ucs4): New implementation.
2411 (complex_vars_of_mule_coding): Define variable
2412 `mule-to-ucs-table'.
2414 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2416 * file-coding.c (decode_coding_utf8): New implementation.
2418 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2420 * file-coding.c (decode_coding_utf8): fixed.
2422 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2424 * file-coding.c (Vucs_to_mule_table): New variable.
2425 (decode_ucs4): Refer `Vucs_to_mule_table'.
2426 (complex_vars_of_mule_coding): Define variable
2427 `ucs-to-mule-table'.
2429 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2431 * file-coding.c (detect_coding_ucs4): New function (not
2433 (decode_coding_ucs4): New function.
2434 (encode_coding_ucs4): New function (not implemented yet).
2435 (detect_coding_utf8): New function (not implemented yet).
2436 (decode_coding_utf8): New function.
2437 (encode_coding_utf8): New function (not implemented yet).
2438 (make-coding-system): New type `ucs4' and `utf8'.
2439 (coding-system-type): Likewise.
2440 (detection_state): Add `ucs4' and `utf8'.
2441 (detect_coding_type): Likewise.
2442 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2443 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2444 (decode_ucs4): New function (very incomplete).
2445 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2447 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2449 1999-03-08 Martin Buchholz <martin@xemacs.org>
2452 (non_ascii_valid_char_p):
2453 (lookup_composite_char):
2454 (composite_char_string):
2455 (make-composite-char):
2456 (composite-char-string):
2457 (syms_of_mule_charset):
2458 (complex_vars_of_mule_charset):
2459 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2460 (CHAR_LEADING_BYTE):
2462 * file-coding.h (CODING_STATE_COMPOSITE):
2463 (CODING_STATE_ISO2022_LOCK):
2465 (LEADING_BYTE_COMPOSITE):
2466 * file-coding.c (struct iso2022_decoder):
2469 (parse_iso2022_esc):
2470 (encode_coding_iso2022):
2471 #ifdef out all composite character support using
2472 #ifdef ENABLE_COMPOSITE_CHARS
2474 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2476 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2478 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2479 way of `Fbase64_encode_region'.
2481 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2483 * fns.c (base64_encode_1): Don't add a newline at the tail.
2485 1999-03-08 Andy Piper <andy@xemacs.org>
2487 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2490 1999-03-07 Martin Buchholz <martin@xemacs.org>
2492 * console-stream.h (struct stream_console):
2493 * event-unixoid.c (event_stream_unixoid_select_console):
2494 (event_stream_unixoid_unselect_console):
2495 * print.c (Fexternal_debugging_output):
2496 * sysdep.c (reset_one_device):
2497 * console-stream.c (stream_init_console):
2498 (stream_delete_console):
2499 (allocate_stream_console_struct): move into stream_init_console.
2500 (free_stream_console_struct): move into stream_delete_console.
2501 Use `fd' only for file descriptors.
2502 Therefore, rename members of struct stream_console.
2504 * systime.h: Unix98 says sys/time.h should define select(), but
2505 some systems define that in unistd.h. So include that file always.
2507 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2508 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2509 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2511 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2515 Add #include <stdio.h>.
2516 Some versions of assert.h use printf() without #include'ing stdio.h
2518 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2519 (log_gcpro): Remove unused variable FRAME.
2520 (show_gcprohist): Ansify.
2521 Comment the #endif's
2523 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2524 after it's just been XtDestroy'ed!
2526 1999-02-18 Martin Buchholz <martin@xemacs.org>
2528 * opaque.c (print_opaque):
2532 Egcs 1.1.1 seems to have a bug where
2533 INTP (p->size_or_chain)
2534 will crash XEmacs. Fix by introducing intermediate variable.
2536 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2538 * dired.c (Fdirectory_files):
2539 (Ffile_name_completion):
2540 (Ffile_name_all_completions):
2541 (file_name_completion):
2542 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2543 avoid compiler warnings.
2544 - Fix up docstrings so that C variables match documentation.
2546 1999-03-05 Martin Buchholz <martin@xemacs.org>
2548 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2549 variables as small as possible to help out the compiler and the maintainer.
2551 * alloc.c: (disksave_object_finalization):
2552 Set all the *-load-path variables to
2553 nil, not just load-path itself. This gets the locate-file hash
2554 tables garbage collected BEFORE dump, and has the side effect of
2555 preventing crashes on OSF4.0+egcs.
2560 - Clean up gdb/dbx debugging support.
2561 - Storing an EMACS_INT in an enum is not 64-bit clean!
2562 - So change the enum to a set of separate variables.
2563 - Add test cases to help debug the debugging support!
2564 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2565 - Both dbx and gdb have been tested now.
2567 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2569 * XEmacs 21.2.12 is released
2571 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2573 * device-x.c: Support to find best visual without flashing.
2575 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2577 * database.c (berkdb_map): Add flags argument to cursor call (must
2578 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2580 1999-03-03 Martin Buchholz <martin@xemacs.org>
2584 General cleanup. Get free-hook.c working again.
2585 Remove unused functions:
2586 make_strings_hash_table, copy_hash, expand_hash_table.
2590 Always use new ANSI-style function prototypes.
2592 * unexalpha.c (unexec): Never use implicit int.
2594 * sgiplay.c (close_sound_file):
2596 (restore_audio_port):
2601 (write_mulaw_8_chunk):
2602 (write_linear_chunk):
2603 (write_linear_32_chunk):
2604 (initialize_audio_port):
2607 (set_output_format):
2608 (adjust_audio_volume):
2609 (get_current_volumes):
2611 Always use new ANSI-style function prototypes.
2612 Use unistd.h for missing prototypes.
2614 * unexelfsgi.c (round_up):
2616 (unexec): Always use new ANSI-style function prototypes
2618 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2620 * console.h (struct console_methods): Always use full ANSI prototypes
2622 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2624 1999-03-02 Andy Piper <andy@xemacs.org>
2626 * event-stream.c (init_event_stream): make sure native mswindows
2627 gets an appropriate event loop.
2629 1999-02-22 Andy Piper <andy@xemacs.org>
2631 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2632 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2633 (mswindows_raise_frame): remove comment.
2635 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2637 * XEmacs 21.2.11 is released
2639 1999-02-25 SL Baur <steve@xemacs.org>
2641 * mule-charset.c (Qleading_byte): New variable to implement
2642 charset-leading-byte function.
2643 (Fcharset_property): Use it.
2644 (syms_of_mule_charset): Initialize it.
2645 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2647 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2649 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2650 bytes per pixel counting.
2652 1999-02-15 Andy Piper <andy@xemacs.org>
2654 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2657 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2659 * fns.c (Fbase64_encode_string): New optional argument
2662 1999-02-16 Martin Buchholz <martin@xemacs.org>
2664 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2665 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2667 1999-02-10 Martin Buchholz <martin@xemacs.org>
2669 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2670 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2672 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2674 * XEmacs 21.2.10 is released
2676 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2678 * process-nt.c (nt_send_process):
2679 Fix for process-send-region/process-send-string breaking when size
2680 of the input > 128 chars: change maximum chunk size for process
2681 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2684 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2686 * XEmacs 21.2.9 is released
2688 1999-01-30 Martin Buchholz <martin@xemacs.org>
2690 * bytecode.c (funcall_compiled_function): Call
2691 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2693 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2694 #ifdef 0 out unused macro.
2696 1999-01-27 Martin Buchholz <martin@xemacs.org>
2698 * gui.c (gui_parse_item_keywords_internal): Make static.
2700 1999-01-21 Andy Piper <andy@xemacs.org>
2702 * glyphs-msw.c: add xface support.
2703 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2704 (image_instantiator_format_create_glyphs_mswindows): do device
2705 specific initialisation for xfaces.
2706 (xbm_create_bitmap_from_data): line data must be padded to a word
2709 * glyphs-x.c (xface_validate): moved to glyphs.c
2710 (xface_normalize): ditto.
2711 (xface_possible_dest_types): ditto.
2712 (image_instantiator_format_create_glyphs_x): do device specific
2713 initialisation for xfaces.
2715 * glyphs.h: declare xface symbol.
2717 * glyphs.c: move generic xface support here.
2718 (xface_validate): moved from glyphs-x.c
2719 (xface_normalize): ditto.
2720 (xface_possible_dest_types): ditto.
2721 (image_instantiator_format_create): xface declarations moved from
2724 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2726 * event-stream.c (vars_of_event_stream): Fixing documentation.
2728 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2730 * glyphs-eimage.c (gif_instantiate): Correct handling of
2731 interlaced gifs to avoid writing past the end of the eimage
2734 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2736 * search.c (Freplace_match): Handle single backslash at end of
2739 1999-01-12 William M. Perry <wmperry@aventail.com>
2741 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2742 avoid connection errors.
2744 1999-01-12 Andy Piper <andy@xemacs.org>
2746 * redisplay-output.c (redisplay_update_line): backout change that
2747 shouldn't have gone ine.
2749 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2751 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2752 collide with ldap.el
2754 1999-01-11 Andy Piper <andy@xemacs.org>
2756 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2757 (DISPLAY_LINE_YPOS): new macro.
2759 * redisplay-msw.c (mswindows_output_string): use it.
2760 (mswindows_output_pixmap): ditto.
2761 (mswindows_output_display_block): ditto.
2763 * redisplay-output.c (redisplay_output_display_block): new
2764 function. just call the devmeth, maybe insert some generic code
2766 (compare_display_blocks): use it.
2767 (output_display_line): ditto.
2768 (redisplay_unmap_subwindows_maybe): new function. potentially
2769 unmap subwindows in the given area.
2771 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2774 1999-01-10 J. Kean Johnston <jkj@sco.com>
2776 * Makefile.in.in: Set value of moduledir
2777 - Changed DUMPENV to include $(MODULEPATH)
2778 - Added install rule to install header files for use by ellcc.
2780 * config.h.in: Added INHIBIT_SITE_MODULES
2781 - Added HAVE__DLERROR
2782 - Added HAVE_DLFCN_H
2783 - Added DLSYM_NEEDS_UNDERSCORE
2787 * emodules.c: New file containing dynamic loading code.
2789 * emodules.h: New file.
2791 * emacs.c: Added variables Vmodule_directory,
2792 Vsite_module_directory, Vconfigure_module_directory and
2793 Vconfigure_site_module_directory.
2794 - (main_1): Added new variable inhibit_site_modules and command
2795 line options `-no-site-modules' and `--no-site-modules'.
2796 - (main_1): Call syms_of_module() instead of syms_of_dll().
2797 - (main_1): Call vars_of_module().
2798 - (vars_of_emacs): Introduce inhibit-site-modules,
2799 module-directory, configure-module-directory,
2800 site-module-directory, and configure-site-module-directory to the
2803 * lisp.h: Declare load_module and list_modules, as well as
2804 Vmodule_directory, Vsite_module_directory,
2805 Vconfigure_module_directory and Vconfigure_site_module_directory.
2807 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2808 - Added correct support for site-lisp directory.
2810 * symbols.c (defsubr): Modified to allow modules to add new subrs
2812 - (defsubr_macro): Same.
2813 - (defvar_magick): Only use purespace when not initialized, so
2814 that loaded modules can still add symbols.
2816 * symsinit.h: Add definitions for syms_of_module(),
2817 vars_of_module(). Removed syms_of_dll().
2819 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2820 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2821 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2823 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2824 explicitly pass -belf for native cc.
2826 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2827 hard-coding the library name.
2829 1999-01-01 <martin@xemacs.org>
2831 * device-x.c (Fx_set_font_path):
2832 Add proper cast to permit compilation under C++.
2834 * buffer.c (directory_is_current_directory):
2835 Add proper casts to permit compilation under C++.
2837 1998-12-30 Damon Lipparelli <lipp@primus.com>
2839 * event-msw.c (mswindows_wnd_proc):
2840 Fixed failure when building with MSVC 5.
2842 1998-12-29 Martin Buchholz <martin@xemacs.org>
2844 * file-coding.c (decode_coding_iso2022):
2845 - Prevent crash when decoding ISO7/Lock detected files
2846 - the usual martin fiddling
2848 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2852 Fixed failures when building with MSVC.
2853 * unexnt.c (dump_bss_and_heap):
2854 Removed compiler warning by removing bss_data variable.
2856 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2858 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2859 so that packages that distribute their own fonts can access them.
2861 1998-12-28 Andy Piper <andy@xemacs.org>
2863 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2864 that have an image provided.
2866 * glyphs.h: add Q_image decl.
2868 * glyphs-widget.c new functionality allowing images in
2870 (check_valid_glyph_or_image): new function to validate
2871 glyphs passed in through :image.
2872 (widget_normalize): new function. convert :image parameters into
2873 real glyphs if not already so.
2874 (widget_instantiate_1): mess with size parameters to be similar to
2876 (syms_of_glyphs_widget): new keyword :image.
2877 (image_instantiator_format_create_glyphs_widget): normalize
2878 buttons and allow :image.
2880 1998-12-27 Andy Piper <andy@xemacs.org>
2882 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2884 * glyphs-widget.c (check_valid_anything): no-op function.
2885 (check_valid_callback): check callbacks in gui_items.
2886 (check_valid_symbol): as it sounds.
2887 (check_valid_string_or_vector): ditto.
2888 (widget_validate): modified for descriptors that are vectors or
2889 sequences of keyword/val pairs.
2890 (widget_instantiate_1): ditto.
2891 (image_instantiator_format_create_glyphs_widget): allow gui_item
2892 keywords in the instantiator.
2894 * gui.c (gui_parse_item_keywords_internal): renamed from
2895 gui_parse_item_keywords but taking error behaviour.
2896 (gui_parse_item_keywords): use it.
2897 (gui_parse_item_keywords_no_errors): ditto.
2898 (gui_item_add_keyval_pair): add Error_behavior flag and only
2899 signal invalid keywords if required.
2901 * gui.h: new gui signatures.
2903 * menubar.c (menu_parse_submenu_keywords): use new
2904 gui_item_add_keyval_pair signature.
2906 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2908 1998-12-28 Martin Buchholz <martin@xemacs.org>
2910 * XEmacs 21.2.8 is released.
2912 1998-12-28 Martin Buchholz <martin@xemacs.org>
2914 * editfns.c (get_home_directory):
2915 (user-home-directory): Simplify.
2918 * callproc.c (child_setup):
2919 - Environment variables were being passed to inferior processes
2920 using internal encoding.
2921 - Convert to external encoding.
2922 - Rename local var `tem' to better name `tail'.
2923 - Use Flength instead of `manual' calculation.
2925 * buffer.c (kill-buffer):
2927 (set-buffer-major-mode):
2929 - Fix up parameter names to correspond to docstrings.
2930 - Don't use `bufname' when a buffer will do as well.
2931 - Remove one unneeded GCPRO.
2933 * buffer.h (initial_directory):
2934 * buffer.c (init_initial_directory):
2935 - use correct conversions between internal and external format.
2936 (directory_is_current_directory): new function
2937 (init_buffer): convert initial_directory to internal format.
2938 - solve crashes when current working directory is non-ASCII.
2940 * alloc.c (xmalloc):
2943 - remove stupid casts, since XEmacs requires an ANSI C system.
2944 (lrecord_type_index): replace abort() with more readable assert().
2946 (reset_lcrecord_stats): remove.
2947 (sweep_lcrecords_1):
2948 - replace call to reset_lcrecord_stats() with call to xzero().
2950 1998-12-27 Martin Buchholz <martin@xemacs.org>
2952 * process-unix.c (unix_create_process):
2953 - Fix crash invoking program with non-ASCII name.
2954 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2955 - Remove unused variable `env'.
2956 - Rename `temp' to better name `save_errno'.
2957 - Reorganize code for clarity. But still too chicken to nuke the
2960 1998-12-24 Martin Buchholz <martin@xemacs.org>
2962 * XEmacs 21.2.7 is released.
2964 1998-12-23 Martin Buchholz <martin@xemacs.org>
2966 * glyphs.c (decode_device_ii_format):
2968 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2970 * glyphs-x.c (x_subwindow_instantiate):
2971 - A image instance mask was being assigned to a image instance type!
2972 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2974 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2976 * glyphs-x.h: Make indentation consistent.
2978 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2980 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2982 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2986 Move declarations of decode_device_ii_format and
2987 decode_image_instantiator_format into glyphs.h where they belong.
2989 1998-12-22 Martin Buchholz <martin@xemacs.org>
2991 * frame-x.c (x_delete_frame): Revert part of my changes at the
2992 suggestion of Gunnar Evermann - unfortunately no one really
2993 understands this code.
2995 * callproc.c (init_callproc): code cleanup.
2997 * free-hook.c (malloc):
3002 (block_input_malloc):
3003 (block_input_realloc):
3004 * device-x.c (x_delete_device):
3005 * emacs.c (voodoo_free_hook):
3006 * events.c (print_event):
3008 (CHECK_EVENT_TYPE2):
3009 (CHECK_EVENT_TYPE3):
3010 Use proper prototypes.
3011 Make C_E_T macros a little faster.
3012 Pedantic fiddly little changes. You really don't care.
3014 1998-12-22 Andy Piper <andy@xemacs.org>
3016 * redisplay-output.c (redisplay_clear_region): make sure that
3017 fg/bg colors get set even when we are in the border area.
3019 1998-12-13 Martin Buchholz <martin@xemacs.org>
3021 * console-msw.c: Function definitions follow coding standards
3022 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3024 1998-12-11 Martin Buchholz <martin@xemacs.org>
3026 * events.h (struct timeout_data):
3027 * event-tty.c (tty_timeout_to_emacs_event):
3028 * event-msw.c (mswindows_wm_timer_callback):
3029 * event-Xt.c (Xt_timeout_to_emacs_event):
3030 * event-msw.c (mswindows_cancel_dispatch_event):
3031 Make sure Lisp_Objects inside events are initialized to Qnil, not
3032 Qnull_pointer, which is now illegal.
3034 1998-12-10 Martin Buchholz <martin@xemacs.org>
3036 * lisp.h: Fix up prototypes to match alloc.c
3038 1998-12-08 Martin Buchholz <martin@xemacs.org>
3040 * windowsnt.h: Remove `support' for using index and rindex
3042 * filelock.c (current_lock_owner):
3043 - Change uses of index -> strchr, rindex -> strrchr
3045 1998-12-07 Martin Buchholz <martin@xemacs.org>
3047 * sysdep.c (set_descriptor_non_blocking):
3048 Since O_NONBLOCK is now always #defined, make use of fcntl
3049 conditional on F_SETFL being defined.
3051 * console-msw.c (DHEADgER):
3060 - max_align_t should not be visible to the user of the
3062 - use Bufbyte instead of char
3063 - parens around (FOOP (obj)) are always redundant.
3064 If they were necessary, we should fix the macro instead.
3065 - Always use string_data(foo) instead of foo->data.
3068 1998-12-06 Martin Buchholz <martin@xemacs.org>
3070 * frame-msw.c (mswindows_init_frame_1):
3071 - use make_lisp_hash_table, not Fmake_hash_table
3075 * alloc.c (make_vector): remove travesty
3079 (make_bit_vector_internal):
3081 (make_bit_vector_from_byte_vector):
3083 - make vector_equal a little faster.
3084 - Don't use variable name `new'.
3085 - Use size_t instead of EMACS_INT.
3086 - usual Martin-style pointless bit-twiddling.
3092 Make mapcar faster. In particular, make
3093 (mapc #'identity long-string)
3094 MUCH faster under Mule.
3095 * tests/automated/lisp-tests.el: Test 'em!
3097 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3100 1998-12-01 Martin Buchholz <martin@xemacs.org>
3102 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3103 Qnil, not NULL, to initialize `null' Lisp_Objects.
3105 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3107 * specifier.c (display_table_validate): Update.
3109 * redisplay.c (create_text_block): Use them.
3111 * glyphs.c (display_table_entry): New function.
3112 (get_display_tables): Ditto.
3114 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3116 * eldap.c (toplevel): Mention that eldap.c compiles with
3118 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3119 (Fldap_search_internal): Ditto
3121 1998-12-11 Martin Buchholz <martin@xemacs.org>
3123 * event-msw.c (mswindows_cancel_dispatch_event):
3124 Gratuitous code prettification
3127 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3129 * fns.c (Fnconc): Fix use of wrong_type_argument().
3131 * floatfns.c (Ffloat): Fix docstring.
3132 (Ffloat): Fix use of wrong_type_argument().
3134 (extract_float): Ditto.
3139 1998-12-06 Martin Buchholz <martin@xemacs.org>
3141 * frame-msw.c (mswindows_init_frame_1):
3142 - use make_lisp_hash_table, not Fmake_hash_table
3146 * alloc.c (make_vector): remove travesty
3150 (make_bit_vector_internal):
3152 (make_bit_vector_from_byte_vector):
3154 - make vector_equal a little faster.
3155 - Don't use variable name `new'.
3156 - Use size_t instead of EMACS_INT.
3157 - usual Martin-style pointless bit-twiddling.
3163 Make mapcar faster. In particular, make
3164 (mapc #'identity long-string)
3165 MUCH faster under Mule.
3166 * tests/automated/lisp-tests.el: Test 'em!
3168 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3171 1998-12-02 Didier Verna <verna@inf.enst.fr>
3173 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3174 accelerator field to nil for labels.
3176 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3178 * menubar-msw.c (displayable_menu_item):
3179 Escape occurrences of '&' and support occurrences of the
3180 '%_' accelerator indicator in menus.
3182 1998-11-26 Didier Verna <verna@inf.enst.fr>
3184 * dired.c (Fdirectory_files): use make_string instead of
3185 make_ext_string on the filename. The conversion external->internal
3186 format is already done in sys_readdir.
3188 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3190 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3192 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3195 (Belatedly) added Kirill to list of file's authors.
3196 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3197 quit checking. WM_PAINT messages cause redisplay, but
3198 windows' states are not necessarily stable when this function
3201 1998-12-17 Andy Piper <andy@xemacs.org>
3203 * strftime.c (zone_name): CONSTify.
3205 1998-12-15 Andy Piper <andy@xemacs.org>
3207 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3208 (mswindows_widget_property): return Qunbound when no property available.
3209 (mswindows_button_property): ditto.
3210 (mswindows_combo_property): ditto.
3211 (mswindows_widget_set_property): ditto.
3213 * glyphs-widget.c (check_valid_item_list): use properties.
3215 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3217 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3218 (Fimage_instance_property): ditto.
3219 * glyphs-widget.c (widget_property): ditto.
3220 (widget_set_property): ditto.
3222 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3223 as setting the class cursor so that GC actually changes the
3226 * config.h: don't undef MAIL_USE_POP.
3228 1998-12-13 Andy Piper <andy@xemacs.org>
3231 (image_instantiator_format_create_glyphs_mswindows): line ->
3233 (mswindows_label_instantiate): ditto. Play with window flags.
3234 (image_instantiator_format_create_glyphs_mswindows): ditto.
3235 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3237 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3238 cope with lines and labels.
3239 (static_instantiate): use widget_instantiate_1.
3241 (image_instantiator_format_create_glyphs_widget): ditto.
3243 1998-12-10 Andy Piper <andy@xemacs.org>
3245 * Makefile.in.in (objs): add gui.o
3247 1998-12-10 Andy Piper <andy@xemacs.org>
3249 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3252 1998-12-09 Andy Piper <andy@xemacs.org>
3254 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3255 image instance is removed so that the subwindow cache gets reset
3256 and thus destroyed images get GC'd.
3258 1998-12-08 Andy Piper <andy@xemacs.org>
3260 * gui-msw.c (mswindows_handle_gui_wm_command): call
3261 MARK_SUBWINDOWS_CHANGED.
3263 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3264 subwindows really get deleted.
3266 * redisplay.c: new variable subwindows_changed[_set].
3267 (redisplay_window): use it.
3268 (redisplay_frame): ditto.
3269 (redisplay_device): ditto.
3270 (redisplay_without_hooks): ditto.
3272 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3273 subwindows redisplay as per glyphs equivalent.
3274 * redisplay.h: ditto.
3275 (MARK_SUBWINDOWS_CHANGED): ditto.
3276 (RESET_CHANGED_SET_FLAGS): ditto.
3277 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3279 1998-12-07 Andy Piper <andy@xemacs.org>
3281 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3284 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3286 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3287 messages and paint widget glyphs as appropriate with their face fg
3290 1998-12-06 Andy Piper <andy@xemacs.org>
3292 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3293 here rather than in glyphs-widget - do this because we only want
3294 to provide what is really available.
3296 * glyphs.c (Fimage_instance_property): new function to get the
3297 properties of image instances. wires through to console specific
3298 methods and then to widget specific methods.
3299 (Fset_image_instance_property): ditto but for setting widget properties.
3300 (check_valid_face): make extern so that it can be used elsewhere.
3302 * glyphs-widget.c (widget_property): new function. gets the
3303 properties of widgets in general and wires the function through to
3304 widget specific ones.
3305 (widget_set_property): ditto but for setting widget properties.
3307 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3308 add items to the list. Play with window styles a bit to get the
3310 (mswindows_widget_property): break out specific widget properties.
3311 (mswindows_button_property): new function. gets the checked state
3313 (mswindows_combo_property): new function. gets the current
3314 selection in the combo box.
3315 (mswindows_widget_set_property): new function. sets specific
3316 properties of specific widgets.
3318 * glyphs-widget.c (check_valid_item_list): new function. check
3319 that items for a combo-box are just a list of strings.
3320 (combo_validate): new function. check there is an item list.
3321 (widget_instantiate_1): new function. renamed from
3322 widget_instantiate so that we can do slightly different things for
3324 (widget_instantiate): call widget_instantiate_1.
3325 (combo_instantiate): new function to instantiate combo boxes,
3326 defaults height to the pixel height of the number of items in the
3328 (syms_of_glyphs_widget): move widget keywords here.
3329 (image_instantiator_format_create_glyphs_widget): use new combo
3332 1998-12-04 Andy Piper <andy@xemacs.org>
3334 * event-msw.c (mswindows_wnd_proc): mule-ize.
3336 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3338 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3339 (resource_name_to_resource): ditto.
3340 (mswindows_resource_instantiate): ditto.
3341 (mswindows_widget_instantiate): ditto.
3342 (mswindows_widget_set_property): ditto.
3344 * redisplay-output.c (redisplay_output_subwindow): don't show
3345 subwindows if they are obscured at the edge of the frame, emacs
3346 gets into some sort of redisplay loop otherwise.
3348 * gui.h: prototype gui_item_selected_p.
3350 * gui.c (gui_item_selected_p): new function to determine the
3351 selected state of a gui_item.
3353 * frame.h (struct frame): add subwindows_changed flag.
3355 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3357 * glyphs.c (update_subwindow): new function to update a
3359 (update_frame_subwindows): new function to update all the
3360 subwindows on a frame.
3362 * console.h (struct console_methods): add update_subwindow.
3364 * glyphs-msw.c (mswindows_widget_property): return selected state
3365 for selected property.
3366 (mswindows_update_subwindow): new function. updates widget glyphs
3367 in redisplay as per menubars or toolbars e.g. selected state.
3368 (console_type_create_glyphs_mswindows): add update_subwindow.
3370 1998-12-03 Andy Piper <andy@xemacs.org>
3372 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3373 tty coding system things are such.
3375 * glyphs-widget.c (widget_face_font_info): new function for
3376 pulling out height and width metrics for a widget's face.
3377 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3380 * event-msw.c (mswindows_drain_windows_queue): translate messages
3381 that are destined for subwindows. This makes edit fields interact
3382 with the keyboard correctly.
3383 nuke warnings by #ifndef'ing out stuff not required by msg select().
3385 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3386 macro defining the iiforma without the symbol required by widget.
3387 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3389 * general.c (syms_of_general): add Qwidget, Qselected.
3391 * faces.c (complex_vars_of_faces): add widget face inheriting from
3394 1998-11-09 Andy Piper <andy@xemacs.org>
3396 * window.h (struct window): add a cache of subwindows on a
3399 * window.c (mark_window): mark the subwindow_instance_cache.
3400 (allocate_window): initialise the subwindow instance_cache.
3402 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3403 instead of the devmeth.
3404 (x_clear_toolbar): ditto.
3406 * redisplay-x.c (x_output_display_block): call
3407 redisplay_output_subwindow for subwindows and widgets.
3409 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3410 types to do nothing for.
3412 * lisp.h: declare new widget/subwindow symbols.
3414 * glyphs.c (image_instantiate): cache subwindows on a per-window
3416 (subwindow_possible_dest_types): new function for subwindow dest
3418 (subwindow_instantiate): generic instantiation of a
3419 subwindow. specialised by device multi-methods.
3420 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3422 (Fimage_instance_subwindow_id): ditto.
3423 (Fresize_subwindow): ditto.
3424 (Fforce_subwindow_map): ditto.
3426 * glyphs-x.c (x_print_image_instance): remove subwindow
3427 stuff. Handled genrically in glyphs.c.
3428 (x_image_instance_equal): ditto.
3429 (x_image_instance_hash): ditto.
3430 (x_finalize_image_instance): delete subwindows when required.
3431 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3432 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3433 glyph-based, subwindow implementation.
3434 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3436 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3438 (x_unmap_subwindow): new function to unmap X subwindows.
3439 (x_map_subwindow): new function to map X subwindows.
3440 (x_subwindow_instantiate): new function to instantiate X
3442 (x_resize_subwindow): new function to resize X subwindows.
3443 (console_type_create_glyphs_x): add subwindow functions.
3444 (image_instantiator_format_create_glyphs_x): add device
3445 multi-methods for xpm, xbm and subwindow.
3447 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3448 (subwindow-width): ditto.
3449 (subwindow-height): ditto.
3451 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3452 generally instantiating ms subwindows. Used by
3453 mswindows_*_instantiate.
3454 (mswindows_edit_instantiate): instantiate an edit field on a
3457 1998-11-04 Andy Piper <andy@xemacs.org>
3459 * symsinit.h: declare new functions.
3461 * redisplay.h: declare new functions.
3463 * redisplay-x.c (x_output_display_block): call
3464 redisplay_clear_region rather than x_clear_region.
3465 (x_output_string): ditto.
3466 (x_output_pixmap): ditto.
3467 (x_clear_to_window_end): ditto.
3468 (x_output_eol_cursor): ditto.
3469 (x_clear_region): only do X specific things. other duties handled
3470 in redisplay_clear_region.
3472 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3473 duties moved to redisplay_clear_region.
3475 * redisplay-output.c (clear_left_border): use
3476 redisplay_clear_region instead of device method.
3477 (clear_right_border): ditto.
3478 (output_display_line): ditto.
3479 (redisplay_output_subwindow): ditto.
3480 (redisplay_clear_top_of_window): ditto.
3481 (redisplay_clear_region): perform duties previously handled by
3482 device methods. call the appropriate device method at the
3483 end. unmap subwindows if necessary.
3485 * redisplay-msw.c (mswindows_output_string): use
3486 redisplay_clear_region instead of mswindows_clear_region.
3487 (mswindows_clear_to_window_end): ditto.
3488 (mswindows_output_display_block): output subwindows when required.
3489 (mswindows_clear_region): only do mswindows specific things,
3490 everything else is now handled in redisplay_clear_region.
3492 * gui.h: add item id hash defines and declare function prototypes.
3494 * gui.c (mark_gui_item): new function for marking gui_items.
3495 (gui_item_hash): generic hash function for generating command ids
3498 * gui-msw.c: new file.
3499 (mswindows_handle_gui_wm_command): new function to handle widget
3502 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3504 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3505 (DEFINE_DEVICE_IIFORMAT): ditto.
3506 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3507 (struct Lisp_Image_Instance): add widget and subwindow data plus
3508 appropriate access functions.
3510 * glyphs.c (decode_device_ii_format): new function for decoding
3511 image instantiator functions based on a device type as well as an
3513 (decode_image_instantiator_format): just call
3514 decode_device_ii_format with nil device.
3515 (add_entry_to_device_ii_format_list): new function for per device
3517 (add_entry_to_image_instantiator_format_list): just call
3518 add_entry_to_device_ii_format_list with nil device.
3519 (check_valid_vector): new function.
3520 (instantiate_image_instantiator): instantiate using per-format
3521 method and then per-format-per-device method (device
3522 multi-methods). signal an error if neither is possible.
3523 (mark_image_instance): cope with subwindows and widgets.
3524 (print_image_instance): ditto.
3525 (image_instance_equal): ditto.
3526 (image_instance_hash): ditto.
3527 (allocate_glyph): ditto.
3528 (glyph_width): ditto.
3529 (glyph_height_internal): ditto.
3530 (xpm_instantiate): removed because of device multi-methods.
3531 (mark_subwindow_cachels): new cachel functions for caching
3532 instantiated subwindows on a per-frame basis. mostly copied from
3533 glyph cachel functions.
3534 (update_subwindow_cachel_data): ditto.
3535 (add_subwindow_cachel): ditto.
3536 (get_subwindow_cachel_index): ditto.
3537 (reset_subwindow_cachels): ditto.
3538 (mark_subwindow_cachels_as_not_updated): ditto.
3539 (unmap_subwindow): generic unmapping of subwindows based on cachel
3541 (map_subwindow): ditto.
3542 (initialize_subwindow_image_instance): generic initialisation of
3544 (syms_of_glyphs): add widget keywords.
3546 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3549 1998-11-04 Andy Piper <andy@xemacs.org>
3551 * glyphs-widget.c: new file for instantiating widget type glyphs.
3552 (widget_possible_dest_types): new general dest type function for
3554 (widget_validate): ditto.
3555 (initialize_widget_image_instance): ditto
3556 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3557 before handing on control to device multi-methods.
3558 (syms_of_glyphs_widget): new function.
3559 (image_instantiator_format_create_glyphs_widget): new function,
3560 added placeholders for button, edit, combo, scrollbar
3561 (vars_of_glyphs_widget): new function.
3563 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3564 storing window ids of widgets.
3566 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3567 deletion of widget and subwindow glyphs.
3568 (mswindows_unmap_subwindow): new device function for unmapping
3569 subwindows on a msw frame.
3570 (mswindows_map_subwindow): ditto.
3571 (mswindows_register_image_instance): register instantiated widgets
3572 with the widget hastable.
3573 (mswindows_button_instantiate): instantiate a button type widget
3575 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3577 (image_instantiator_format_create_glyphs_mswindows): add device
3578 multi-methods for xbm, xpm, subwindow, edit and button.
3580 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3581 information about subwindows visible on the current frame. used by
3582 redisplay_clear_region to unmap subwindows as required.
3584 * frame.c (mark_frame): mark subwindow_cachels.
3585 (allocate_frame_core): instantiate subwindow_cachels.
3587 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3590 * event-msw.c (mswindows_wnd_proc): add call to
3591 mswindows_handle_gui_wm_command to handle widget callbacks.
3593 * emacs.c (main_1): add calls to glyphs-widget initialisation
3596 * console.h (struct console_methods): add
3597 unmap/map_subwindow_method for use be redisplay_clear_region to
3598 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3599 with by image instantiator multi-methods. Add
3600 resize_subwindow_method.
3602 * console-stream.c (stream_clear_region): change signature to
3603 match new generic clear region function.
3605 * Makefile.in.in: add glyphs-widget.o to list of objects.
3607 * console-msw.h (struct mswindows_frame): add widget hashtable for
3608 wiring command ids to callbacks.
3610 1998-12-16 Andy Piper <andy@xemacs.org>
3612 * XEmacs 21.2.6 is released
3614 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3616 * md5.c (Fmd5): Correctly initiate string input stream.
3618 * Makefile.in.in (tests): Add md5-tests.el.
3620 1998-12-06 Martin Buchholz <martin@xemacs.org>
3623 * alloc.c (make_vector): remove travesty
3627 (make_bit_vector_internal):
3629 (make_bit_vector_from_byte_vector):
3631 - make vector_equal a little faster.
3632 - Don't use variable name `new'.
3633 - Use size_t instead of EMACS_INT.
3634 - usual Martin-style pointless bit-twiddling.
3640 Make mapcar faster. In particular, make
3641 (mapc #'identity long-string)
3642 MUCH faster under Mule.
3643 * tests/automated/lisp-tests.el: Test 'em!
3645 1998-12-06 Martin Buchholz <martin@xemacs.org>
3647 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3650 1998-12-13 Martin Buchholz <martin@xemacs.org>
3652 * console-msw.c: Function definitions follow coding standards
3653 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3655 1998-12-11 Martin Buchholz <martin@xemacs.org>
3657 * events.h (struct timeout_data):
3658 * event-tty.c (tty_timeout_to_emacs_event):
3659 * event-msw.c (mswindows_wm_timer_callback):
3660 * event-Xt.c (Xt_timeout_to_emacs_event):
3661 * event-msw.c (mswindows_cancel_dispatch_event):
3662 Make sure Lisp_Objects inside events are initialized to Qnil, not
3663 Qnull_pointer, which is now illegal.
3665 1998-12-10 Martin Buchholz <martin@xemacs.org>
3667 * lisp.h: Fix up prototypes to match alloc.c
3669 1998-12-09 Andy Piper <andy@xemacs.org>
3671 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3672 XSETINT for assigning lisp objects.
3674 1998-12-07 Martin Buchholz <martin@xemacs.org>
3677 * console-msw.c (DHEADER):
3686 - max_align_t should not be visible to the user of the
3688 - use Bufbyte instead of char
3689 - parens around (FOOP (obj)) are always redundant.
3690 If they were necessary, we should fix the macro instead.
3691 - Always use string_data(foo) instead of foo->data.
3693 1998-12-07 Martin Buchholz <martin@xemacs.org>
3695 * sysdep.c (set_descriptor_non_blocking):
3696 Since O_NONBLOCK is now always #defined, make use of fcntl
3697 conditional on F_SETFL being defined.
3699 1998-12-09 Andy Piper <andy@xemacs.org>
3701 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3702 that got removed in the merge
3704 1998-11-30 Greg Klanderman <greg@alphatech.com>
3706 * dired.c (vars_of_dired): bugfix for previous conditionalization
3707 of user-name-completion on non- Windows NT.
3709 1998-12-08 Martin Buchholz <martin@xemacs.org>
3711 * windowsnt.h: Remove `support' for using index and rindex
3713 * filelock.c (current_lock_owner):
3714 - Change uses of index -> strchr, rindex -> strrchr
3716 1998-12-06 Martin Buchholz <martin@xemacs.org>
3718 * frame-msw.c (mswindows_init_frame_1):
3719 - use make_lisp_hash_table, not Fmake_hash_table
3722 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3724 * XEmacs 21.2.5 is released
3726 1998-11-30 Martin Buchholz <martin@xemacs.org>
3728 * xselect.c (receive_incremental_selection):
3729 * xselect.c (x_get_window_property):
3730 * xmu.c (XmuReadBitmapDataFromFile):
3731 * xmu.c (XmuCursorNameToIndex):
3732 * xgccache.c (describe_gc_cache):
3733 * xgccache.c (gc_cache_lookup):
3734 * xgccache.c (free_gc_cache):
3735 * xgccache.c (make_gc_cache):
3737 * window.c (map_windows_1):
3738 * window.c (Fother_window_for_scrolling):
3739 * window.c (window_scroll):
3740 * window.c (change_window_height):
3741 * window.c (Fsplit_window):
3742 * window.c (window_left_gutter_width):
3743 * window.c (window_modeline_height):
3744 * window.c (invalidate_vertical_divider_cache_in_window):
3745 * window.c (window_needs_vertical_divider_1):
3746 * window.c (update_mirror_internal):
3747 * window.c (SET_LAST_FACECHANGE):
3748 * widget.c (Fwidget_plist_member):
3749 * unexec.c (copy_text_and_data):
3750 * unexcw.c (copy_executable_and_dump_data_section):
3752 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3753 * tooltalk.c (struct Lisp_Tooltalk_Message):
3754 * toolbar.h (struct toolbar_button):
3755 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3756 * toolbar.c (recompute_overlaying_specifier):
3757 * toolbar.c (toolbar_validate):
3758 * toolbar.c (toolbar_button_at_pixpos):
3759 * toolbar.c (get_toolbar_coords):
3760 * toolbar.c (update_frame_toolbars):
3762 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3763 * toolbar-msw.c (mswindows_find_toolbar_pos):
3764 * toolbar-msw.c (mswindows_output_toolbar):
3765 * toolbar-msw.c (mswindows_clear_toolbar):
3774 * sysdep.c (sys_fopen):
3775 * sysdep.c (sys_open):
3776 * sysdep.c (tty_init_sys_modes_on_device):
3777 * sysdep.c (get_eof_char):
3778 * sysdep.c (child_setup_tty):
3779 * sysdep.c (set_descriptor_non_blocking):
3781 * syntax.c (scan_words):
3784 * symeval.h (struct symbol_value_varalias):
3785 * symeval.h (struct symbol_value_forward):
3786 * symbols.c (syms_of_symbols):
3787 * symbols.c (init_symbols_once_early):
3788 * symbols.c (Fbuilt_in_variable_type):
3789 * symbols.c (Fsymbol_value_in_buffer):
3790 * symbols.c (default_value):
3792 * symbols.c (find_symbol_value_quickly):
3793 * symbols.c (store_symval_forwarding):
3794 * symbols.c (set_default_console_slot_variable):
3795 * symbols.c (set_default_buffer_slot_variable):
3796 * symbols.c (verify_ok_for_buffer_local):
3797 * symbols.c (symbol_is_constant):
3798 * symbols.c (oblookup):
3799 * symbols.c (Funintern):
3800 * symbols.c (Fintern):
3801 * symbols.c (check_obarray):
3803 * specifier.h (struct specifier_methods):
3805 * specifier.c (specifier_instance):
3806 * specifier.c (specifier_instance_from_inst_list):
3807 * specifier.c (decode_locale_type):
3808 * specifier.c (specifier_equal):
3809 * specifier.c (finalize_specifier):
3810 * specifier.c (prune_specifiers):
3811 * specifier.c (kill_specifier_buffer_locals):
3812 * sound.c (init_native_sound):
3815 * search.c (Fmatch_data):
3816 * search.c (match_limit):
3817 * search.c (Freplace_match):
3818 * search.c (skip_chars):
3819 * search.c (scan_buffer):
3821 * scrollbar.c (specifier_vars_of_scrollbar):
3822 * scrollbar.c (Fscrollbar_set_hscroll):
3823 * scrollbar.c (vertical_scrollbar_changed_in_window):
3824 * scrollbar.c (release_window_mirror_scrollbars):
3825 * scrollbar.c (free_scrollbar_instance):
3828 * s/msdos.h (O_BINARY):
3830 * s/freebsd.h (LIBS_TERMCAP):
3831 * regex.c (re_match_2_internal):
3832 * regex.c (compile_extended_range):
3833 * regex.c (POP_FAILURE_POINT):
3834 * regex.c (PUSH_FAILURE_POINT):
3835 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3837 * redisplay.h (struct display_line):
3838 * redisplay.h (struct rune):
3839 * redisplay.c (vars_of_redisplay):
3840 * redisplay.c (redisplay_variable_changed):
3841 * redisplay.c (UPDATE_CACHE_RETURN):
3842 * redisplay.c (validate_line_start_cache):
3843 * redisplay.c (mark_redisplay_structs):
3844 * redisplay.c (mark_glyph_block_dynarr):
3845 * redisplay.c (window_line_number):
3846 * redisplay.c (redisplay_frame):
3847 * redisplay.c (redisplay_window):
3848 * redisplay.c (generate_modeline):
3849 * redisplay.c (create_right_glyph_block):
3850 * redisplay.c (create_left_glyph_block):
3851 * redisplay.c (create_text_block):
3853 * redisplay-x.c (x_output_hline):
3854 * redisplay-x.c (x_output_vertical_divider):
3855 * redisplay-tty.c (tty_output_display_block):
3856 * redisplay-output.c (output_display_line):
3857 * redisplay-output.c:
3858 * redisplay-msw.c (mswindows_output_vertical_divider):
3859 * redisplay-msw.c (mswindows_ring_bell):
3860 * redisplay-msw.c (mswindows_output_cursor):
3864 * puresize.h (RAW_PURESIZE):
3865 * profile.c (syms_of_profile):
3866 * profile.c (Fstart_profiling):
3867 * profile.c (sigprof_handler):
3870 * process.c (vars_of_process):
3871 * process.c (read_process_output):
3872 * process.c (get_process):
3874 * process-unix.c (unix_open_multicast_group):
3875 * process-unix.c (unix_get_tty_name):
3876 * process-unix.c (unix_send_process):
3877 * process-unix.c (unix_reap_exited_processes):
3878 * process-unix.c (unix_create_process):
3879 * process-unix.c (unix_init_process_io_handles):
3880 * process-unix.c (allocate_pty):
3882 * process-nt.c (nt_open_network_stream):
3883 * process-nt.c (nt_update_status_if_terminated):
3884 * process-nt.c (nt_finalize_process_data):
3886 * print.c (debug_short_backtrace):
3887 * print.c (debug_backtrace):
3888 * print.c (print_symbol):
3889 * print.c (print_internal):
3890 * print.c (print_cons):
3891 * print.c (Fwrite_char):
3892 * print.c (print_prepare):
3893 * print.c (canonicalize_printcharfun):
3894 * print.c (output_string):
3897 * opaque.c (allocate_managed_opaque):
3899 * offix.c (DndSetData):
3900 * objects.c (face_boolean_create):
3901 * objects.c (font_instantiate):
3902 * objects.c (font_create):
3903 * objects.c (color_create):
3904 * objects.c (finalize_font_instance):
3905 * objects.c (finalize_color_instance):
3907 * objects-x.c (x_font_instance_truename):
3909 * objects-x.c (x_initialize_font_instance):
3910 * objects-x.c (allocate_nearest_color):
3911 * objects-tty.c (tty_initialize_font_instance):
3912 * objects-tty.c (tty_initialize_color_instance):
3913 * objects-msw.c (mswindows_initialize_color_instance):
3914 * ntproc.c (syms_of_ntproc):
3915 * ntproc.c (Fwin32_set_process_priority):
3916 * ntproc.c (sys_spawnve):
3918 * ntheap.c (get_data_end):
3922 * nt.c (generate_inode_val):
3923 * nt.c (sys_rename):
3925 * mule-wnnfns.c (Fwnn_hinsi_number):
3926 * mule-wnnfns.c (Fwnn_yuragi):
3927 * mule-wnnfns.c (Fwnn_common_learn):
3928 * mule-wnnfns.c (Fwnn_suffix_learn):
3929 * mule-wnnfns.c (Fwnn_prefix_learn):
3930 * mule-wnnfns.c (Fwnn_okuri_learn):
3931 * mule-wnnfns.c (Fwnn_complex_conv):
3932 * mule-wnnfns.c (Fwnn_last_is_first):
3933 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3934 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3935 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3936 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3937 * mule-wnnfns.c (Fwnn_hinsi_list):
3938 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3939 * mule-wnnfns.c (Fwnn_dict_search):
3940 * mule-wnnfns.c (Fwnn_word_toroku):
3941 * mule-wnnfns.c (Fwnn_hindo_update):
3942 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3943 * mule-wnnfns.c (Fwnn_kakutei):
3944 * mule-wnnfns.c (Fwnn_begin_henkan):
3945 * mule-wnnfns.c (Fwnn_dict_comment):
3946 * mule-wnnfns.c (Fwnn_dict_add):
3947 * mule-wnnfns.c (Fwnn_open):
3948 * mule-mcpath.c (mc_getcwd):
3949 * mule-coding.c (vars_of_mule_coding):
3950 * mule-coding.c (convert_to_external_format):
3951 * mule-coding.c (encoding_marker):
3952 * mule-coding.c (decoding_marker):
3953 * mule-coding.c (Fcopy_coding_system):
3954 * mule-coding.c (Fmake_coding_system):
3955 * mule-coding.c (Fcoding_system_list):
3956 * mule-coding.c (Ffind_coding_system):
3957 * mule-coding.c (symbol_to_eol_type):
3959 * mule-charset.c (complex_vars_of_mule_charset):
3960 * mule-charset.c (vars_of_mule_charset):
3961 * mule-charset.c (Fset_charset_ccl_program):
3962 * mule-charset.c (struct charset_list_closure):
3963 * mule-charset.c (Ffind_charset):
3964 * mule-charset.c (make_charset):
3965 * mule-charset.c (non_ascii_valid_char_p):
3967 * mule-ccl.c (ccl_driver):
3968 * mule-canna.c (c2mu):
3969 * mule-canna.c (Fcanna_henkan_begin):
3970 * mule-canna.c (Fcanna_parse):
3971 * mule-canna.c (Fcanna_store_yomi):
3972 * mule-canna.c (Fcanna_touroku_string):
3973 * mule-canna.c (Fcanna_initialize):
3975 * menubar.c (menu_parse_submenu_keywords):
3976 * menubar-x.c (make_dummy_xbutton_event):
3977 * menubar-x.c (set_frame_menubar):
3978 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3981 * menubar-msw.c (mswindows_popup_menu):
3982 * menubar-msw.c (mswindows_update_frame_menubars):
3983 * menubar-msw.c (mswindows_handle_wm_command):
3984 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3985 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3986 * menubar-msw.c (update_frame_menubar_maybe):
3987 * menubar-msw.c (populate_or_checksum_helper):
3988 * menubar-msw.c (empty_menu):
3991 * marker.c (set_marker_internal):
3992 * marker.c (print_marker):
3995 * lstream.c (lisp_buffer_rewinder):
3996 * lstream.c (mark_lstream):
3998 * lrecord.h (struct lrecord_header):
3999 * lread.c (readevalloop):
4000 * lread.c (locate_file):
4001 * lread.c (locate_file_in_directory):
4002 * lread.c (Flocate_file):
4003 * lread.c (load_force_doc_string_unwind):
4004 * lread.c (ebolify_bytecode_constants):
4009 * linuxplay.c (linux_play_data_or_file):
4010 * linuxplay.c (audio_init):
4013 * keymap.c (describe_map):
4014 * keymap.c (describe_map_mapper):
4015 * keymap.c (Fdescribe_bindings_internal):
4016 * keymap.c (Fsingle_key_description):
4017 * keymap.c (map_keymap_sorted):
4018 * keymap.c (get_relevant_keymaps):
4019 * keymap.c (Flookup_key):
4020 * keymap.c (raw_lookup_key_mapper):
4021 * keymap.c (Fdefine_key):
4022 * keymap.c (Fevent_matches_key_specifier_p):
4023 * keymap.c (key_desc_list_to_event):
4024 * keymap.c (define_key_parser):
4025 * keymap.c (define_key_check_and_coerce_keysym):
4026 * keymap.c (keymap_submaps):
4027 * keymap.c (keymap_store_internal):
4028 * keymap.c (keymap_delete_inverse_internal):
4029 * keymap.c (keymap_store_inverse_internal):
4030 * keymap.c (print_keymap):
4031 * keymap.c (Lisp_Keymap):
4034 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4035 * insdel.c (make_gap):
4036 * input-method-xlib.c (get_XIM_input):
4037 * input-method-xlib.c (XIM_init_frame):
4042 * gui-x.c (button_item_to_widget_value):
4043 * gui-x.c (popup_selection_callback):
4044 * glyphs.h (struct image_instantiator_methods):
4045 * glyphs.c (mark_glyph_cachels):
4046 * glyphs.c (Fglyph_type):
4047 * glyphs.c (image_instantiate):
4048 * glyphs.c (image_create):
4049 * glyphs.c (make_image_instance_1):
4050 * glyphs.c (finalize_image_instance):
4052 * glyphs-x.c (finalize_subwindow):
4053 * glyphs-x.c (xface_validate):
4054 * glyphs-x.c (x_locate_pixmap_file):
4055 * glyphs-x.c (convert_EImage_to_XImage):
4057 * glyphs-msw.c (mswindows_resource_instantiate):
4058 * glyphs-msw.c (xpm_to_eimage):
4059 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4060 * glyphs-eimage.c (tiff_instantiate):
4061 * glyphs-eimage.c (png_instantiate):
4062 * glyphs-eimage.c (struct png_error_struct):
4063 * glyphs-eimage.c (gif_memory_storage):
4066 * getloadavg.c (getloadavg):
4069 * free-hook.c (log_gcpro):
4070 * free-hook.c (check_malloc):
4071 * free-hook.c (check_free):
4072 * free-hook.c (ROUND_UP_TO_PAGE):
4074 * frame.h (struct frame):
4076 * frame.c (change_frame_size_1):
4077 * frame.c (allocate_frame_core):
4079 * frame-x.c (x_focus_on_frame):
4080 * frame-x.c (x_init_frame_2):
4081 * frame-x.c (x_popup_frame):
4082 * frame-x.c (xemacs_XtPopup):
4084 * frame-x.c (Foffix_start_drag_internal):
4085 * frame-x.c (x_cde_destroy_callback):
4086 * frame-x.c (x_wm_hack_wm_protocols):
4087 * frame-tty.c (tty_frame_visible_p):
4088 * frame-msw.c (mswindows_make_frame_invisible):
4089 * frame-msw.c (mswindows_after_init_frame):
4090 * frame-msw.c (mswindows_init_frame_1):
4091 * fns.c (syms_of_fns):
4092 * fns.c (Fbase64_decode_string):
4094 * fns.c (Ffillarray):
4095 * fns.c (Fobject_plist):
4097 * fns.c (Fcanonicalize_lax_plist):
4098 * fns.c (Fcanonicalize_plist):
4099 * fns.c (Fplist_remprop):
4100 * fns.c (Fplist_get):
4101 * fns.c (advance_plist_pointers):
4102 * fns.c (internal_plist_put):
4103 * fns.c (Fnreverse):
4106 * fns.c (Fsubstring):
4107 * fns.c (Fbvconcat):
4109 * fns.c (length_with_bytecode_hack):
4110 * fns.c (print_bit_vector):
4112 * floatfns.c (Ffloor):
4114 * floatfns.c (in_float_error):
4115 * fileio.c (Ffile_modes):
4116 * fileio.c (Fexpand_file_name):
4117 * fileio.c (Fmake_temp_name):
4118 * fileio.c (Ffile_name_nondirectory):
4119 * fileio.c (Ffile_name_directory):
4121 * file-coding.c (vars_of_mule_coding):
4122 * file-coding.c (convert_to_external_format):
4123 * file-coding.c (encoding_marker):
4124 * file-coding.c (decoding_marker):
4125 * file-coding.c (Fcopy_coding_system):
4126 * file-coding.c (Fmake_coding_system):
4127 * file-coding.c (struct coding_system_list_closure):
4128 * file-coding.c (Ffind_coding_system):
4129 * file-coding.c (symbol_to_eol_type):
4131 * faces.h (struct face_cachel):
4132 * faces.c (vars_of_faces):
4133 * faces.c (face_property_was_changed):
4134 * faces.c (mark_face_cachels):
4135 * faces.c (temporary_faces_list):
4136 * faces.c (struct face_list_closure):
4138 * extents.h (struct extent):
4139 * extents.c (vars_of_extents):
4140 * extents.c (struct copy_string_extents_1_arg):
4141 * extents.c (add_string_extents_mapper):
4142 * extents.c (Fextent_property):
4143 * extents.c (Fset_extent_property):
4144 * extents.c (symbol_to_glyph_layout):
4145 * extents.c (properties_equal):
4146 * extents.c (print_extent):
4147 * extents.c (print_extent_1):
4148 * extents.c (extent_in_region_p):
4149 * extents.c (gap_array_make_gap):
4151 * events.h (struct Lisp_Event):
4153 * events.c (Fevent_properties):
4154 * events.c (format_event_object):
4155 * events.c (Fmake_event):
4156 * events.c (event_equal):
4157 * events.c (print_event):
4158 * events.c (mark_event):
4159 * event-stream.c ((read-char)
4160 * event-stream.c (vars_of_event_stream):
4161 * event-stream.c (syms_of_event_stream):
4162 * event-stream.c (Fset_recent_keys_ring_size):
4163 * event-stream.c (Fsit_for):
4164 * event-stream.c (Fnext_event):
4165 * event-stream.c (execute_help_form):
4166 * event-stream.c (maybe_kbd_translate):
4168 * event-msw.c (vars_of_event_mswindows):
4169 * event-msw.c (mswindows_wnd_proc):
4170 * event-msw.c (mswindows_need_event):
4171 * event-msw.c (mswindows_drain_windows_queue):
4172 * event-msw.c (mswindows_pump_outstanding_events):
4174 * event-msw.c (slurp_thread):
4175 * event-msw.c (struct ntpipe_slurp_stream):
4176 * event-msw.c (HANDLE_TO_USID):
4177 * event-Xt.c (emacs_Xt_handle_magic_event):
4178 * event-Xt.c (x_event_to_emacs_event):
4179 * event-Xt.c (x_reset_modifier_mapping):
4180 * event-Xt.c (x_reset_key_mapping):
4182 * eval.c (syms_of_eval):
4183 * eval.c (warn_when_safe):
4184 * eval.c (warn_when_safe_lispobj):
4185 * eval.c (Fbacktrace_frame):
4186 * eval.c (Fbacktrace):
4187 * eval.c (top_level_set):
4188 * eval.c (unbind_to_hairy):
4189 * eval.c (specbind_magic):
4190 * eval.c (specbind_unwind_wasnt_local):
4191 * eval.c (call2_trapping_errors):
4192 * eval.c (call1_trapping_errors):
4193 * eval.c (catch_them_squirmers_call2):
4194 * eval.c (call0_trapping_errors):
4195 * eval.c (run_hook_trapping_errors):
4196 * eval.c (catch_them_squirmers_eval_in_buffer):
4197 * eval.c (call4_in_buffer):
4198 * eval.c (call3_in_buffer):
4199 * eval.c (call2_in_buffer):
4200 * eval.c (call1_in_buffer):
4201 * eval.c (call0_in_buffer):
4202 * eval.c (run_hook):
4203 * eval.c (run_hook_with_args_in_buffer):
4206 * eval.c (do_autoload):
4207 * eval.c (un_autoload):
4208 * eval.c (Fautoload):
4209 * eval.c (Finteractive_p):
4210 * eval.c (Fcommand_execute):
4211 * eval.c (signal_quit):
4212 * eval.c (call_with_suspended_errors):
4213 * eval.c (signal_error):
4214 * eval.c (return_from_signal):
4215 * eval.c (Fcall_with_condition_handler):
4216 * eval.c (run_condition_case_handlers):
4217 * eval.c (condition_case_1):
4218 * eval.c (Funwind_protect):
4219 * eval.c (unwind_to_catch):
4220 * eval.c (internal_catch):
4221 * eval.c (Fmacroexpand_internal):
4222 * eval.c (Fuser_variable_p):
4223 * eval.c (Fdefconst):
4225 * eval.c (Ffunction):
4226 * eval.c (signal_call_debugger):
4227 * eval.c (call_debugger):
4230 * emacs.c (sort_args):
4234 * editfns.c (Fencode_time):
4235 * editfns.c (Fdecode_time):
4236 * editfns.c (Fuser_full_name):
4238 * editfns.c (save_excursion_restore):
4241 * doprnt.c (emacs_doprnt_1):
4242 * doc.c (verify_doc_mapper):
4243 * doc.c (Fsnarf_documentation):
4244 * doc.c (Fdocumentation):
4246 * dired.c (user_name_completion):
4247 * dired.c (Fdirectory_files):
4250 * dgif_lib.c (FreeSavedImages):
4251 * dgif_lib.c (DGifGetImageDesc):
4253 * device.h (struct device):
4254 * device.c (Fselect_device):
4255 * device.c (allocate_device):
4257 * device-x.c (Fx_keysym_on_keyboard_p):
4258 * device-x.c (Fx_valid_keysym_name_p):
4259 * device-x.c (x_IO_error_handler):
4260 * device-x.c (x_delete_device):
4261 * device-x.c (x_finish_init_device):
4262 * device-x.c (x_init_device):
4264 * device-msw.c (mswindows_init_device):
4266 * database.c (vars_of_database):
4267 * database.c (Fput_database):
4268 * database.c (Fopen_database):
4269 * database.c (berkdb_remove):
4270 * database.c (berkdb_put):
4271 * database.c (Fdatabasep):
4272 * database.c (print_database):
4274 * data.c (vars_of_data):
4275 * data.c (syms_of_data):
4276 * data.c (init_errors_once_early):
4277 * data.c (prune_weak_lists):
4278 * data.c (finish_marking_weak_lists):
4279 * data.c (print_weak_list):
4281 * data.c (Fstring_to_number):
4282 * data.c (Fnumber_to_string):
4283 * data.c (Findirect_function):
4286 * data.c (Fsubr_interactive):
4288 * data.c (Fkeywordp):
4291 * console.h (CONSOLE_NAME):
4293 * console.c (vars_of_console):
4294 * console.c (Fselect_console):
4296 * console-x.h (DEVICE_X_COLORMAP):
4297 * console-x.h (struct x_device):
4298 * console-x.c (x_device_to_console_connection):
4299 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4300 * console-tty.c (tty_init_console):
4302 * console-msw.h (struct mswindows_frame):
4305 * cmds.c (internal_self_insert):
4306 * cmds.c (Fforward_line):
4307 * cmds.c (Fforward_char):
4310 * chartab.c (mark_char_table_entry):
4312 * casefiddle.c (casify_word):
4313 * callproc.c (child_setup):
4314 * callproc.c (Fcall_process_internal):
4316 * callint.c (Fcall_interactively):
4318 * bytecode.c (execute_rare_opcode):
4319 * bytecode.c (execute_optimized_program):
4322 * buffer.h (BUFFER_REALLOC):
4323 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4324 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4326 * buffer.h (MAP_INDIRECT_BUFFERS):
4327 * buffer.h (CHECK_LIVE_BUFFER):
4328 * buffer.c (init_initial_directory):
4329 * buffer.c (complex_vars_of_buffer):
4330 * buffer.c (vars_of_buffer):
4331 * buffer.c (finish_init_buffer):
4332 * buffer.c (Fget_file_buffer):
4333 * buffer.c (Fbuffer_list):
4334 * buffer.c (mark_buffer):
4335 * balloon_help.c (balloon_help_move_to_pointer):
4336 * balloon_help.c (show_help):
4339 * alloc.c (garbage_collect_1):
4340 * alloc.c (sweep_strings):
4341 * alloc.c (sweep_compiled_functions):
4342 * alloc.c (sweep_bit_vectors_1):
4343 * alloc.c (sweep_vectors_1):
4344 * alloc.c (sweep_lcrecords_1):
4345 * alloc.c (tick_lcrecord_stats):
4346 * alloc.c (pure_string_sizeof):
4347 * alloc.c (mark_conses_in_list):
4348 * alloc.c (mark_object):
4349 * alloc.c (report_pure_usage):
4350 * alloc.c (make_pure_float):
4351 * alloc.c (make_pure_string):
4352 * alloc.c (free_managed_lcrecord):
4353 * alloc.c (mark_string):
4354 * alloc.c (noseeum_make_marker):
4355 * alloc.c (allocate_event):
4356 * alloc.c (Fbit_vector):
4357 * alloc.c (Fvector):
4358 * alloc.c (make_float):
4359 * alloc.c (Fmake_list):
4361 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4362 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4363 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4364 * alloc.c (dbg_constants):
4365 * alloc.c (gc_record_type_p):
4366 * alloc.c (free_lcrecord):
4367 * alloc.c (xmalloc):
4368 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4370 * Makefile.in.in (mostlyclean):
4371 * Makefile.in.in (external_client_xlib_objs_nonshared):
4372 * Makefile.in.in (temacs_link_args):
4373 * Makefile.in.in (release):
4374 * Makefile.in.in (dnd_objs):
4375 * Makefile.in.in (objs):
4376 * Makefile.in.in (PROGNAME):
4377 * EmacsShell.c: cast strings to (XtPointer)
4378 * EmacsFrame.c: cast strings to (XtPointer)
4380 - rewrite basic lisp functions for speed
4381 - rewrite bytecode interpreter for speed
4382 - rewrite list looping constructs for speed and safety using
4384 - use size_t where appropriate.
4385 - new hashtable implementation
4386 - cleanup implementation of opaques
4387 - opaques can now be purecopy'ed
4388 - move some cl functionality into C for speed.
4389 - remove last remaining VMS support
4391 - improve gdb/dbx debugger support
4392 - move pure.c back into alloc.c for performance
4393 - enable report_pure_usage() if --memory-usage-stats
4394 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4395 - don't use symbols with leading `_' or embedded `__'
4396 - globally cleanup duplicated semicolons `;;'
4397 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4399 - globally replace O_NDELAY with O_NONBLOCK.
4400 - globally replace CDISABLE with _POSIX_VDISABLE.
4401 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4402 - define (and maybe use!) STDERR_FILENO and friends.
4403 - add support for macros defined in C
4404 - `when', `unless', `not' and `defalias' now defined in C,
4405 so that they are universally available.
4406 - rename defvar_mumble to defvar_magic
4407 - rename RETURN__ to RETURN_SANS_WARNINGS
4408 - use consistent style of initial caps in error messages
4409 - implement last, butlast, nbutlast, copy-list in C.
4410 - provide typedefs for all struct Lisp_foo types
4411 - Lisp_Objects must be initialized to Qnil rather than 0.
4412 - make sure XEmacs runs (slowly) with always_gc == 1;
4413 - fast and safe LOOP_* macros
4414 - change calls to XSETOBJ to XSETFOO
4415 - replace calls to XSETINT by make_int()
4416 - plug up memory leaks
4417 - use style markobj (foo), not silly ((markobj) (foo))
4418 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4420 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4422 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4424 1998-11-28 SL Baur <steve@altair.xemacs.org>
4426 * XEmacs 21.2-beta4 is released.
4428 1998-11-27 SL Baur <steve@altair.xemacs.org>
4430 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4431 property in control-1 charset.
4432 From Julian Bradfield <jcb@daimi.au.dk>
4434 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4436 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4438 Add stub for :label.
4440 * gui.c (gui_item_add_keyval_pair): ditto.
4442 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4443 :key-sequence keyword.
4445 Support :active for submenus like the Windows code and FSF Emacs.
4447 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4449 * dired.c (make_directory_hash_table): make_string() is OK because
4450 readdir() Mule-encapsulates.
4452 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4454 * fns.c (Fbase64_encode_string): Fix docstring.
4455 (Fbase64_decode_string): Ditto.
4457 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4459 * editfns.c (Ftranslate_region): Use
4460 convert_bufbyte_string_into_emchar_string().
4462 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4464 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4466 (Ftranslate_region): Turn table into an array of Emchars for
4469 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4471 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4473 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4475 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4476 type `char' with nils.
4478 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4479 for tables of type `char'.
4481 1998-11-26 Didier Verna <verna@inf.enst.fr>
4483 * input-method-xlib.c (Initialize_Locale): don't call
4484 XtSetLanguageProc. We've done the whole work here.
4485 * input-method-xfs.c (Initialize_Locale): ditto.
4486 * input-method-motif.c (Initialize_Locale): ditto.
4488 1998-11-26 Didier Verna <verna@inf.enst.fr>
4490 * process-unix.c (unix_create_process): handle properly
4491 Vfile_name_coding_system for converting the program and directory
4494 1998-11-27 SL Baur <steve@altair.xemacs.org>
4496 * m/arm.h: New file.
4497 From James LewisMoss <dres@ioa.com>
4499 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4502 Fix the realpath() problem of UnixWare2.1.3.
4503 Patches for NEC's sysv4.2 machine.
4505 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4507 * dired.c (Fdirectory_files): Remove redundant code.
4509 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4511 * fns.c (free_malloced_ptr): New function.
4512 (XMALLOC_OR_ALLOCA): New macro.
4513 (XMALLOC_UNBIND): Ditto.
4514 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4515 to be freed in case of non-local exit.
4516 (Fbase64_encode_string): Ditto.
4517 (Fbase64_decode_region): Ditto.
4518 (Fbase64_decode_string): Ditto.
4519 (STORE_BYTE): New macro.
4520 (base64_decode_1): Use it.
4522 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4524 * fns.c (base64_value_to_char): Base64 stuff.
4526 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4528 * editfns.c (Fbuffer_substring): New function.
4530 * lisp.h: Declare make_string_from_buffer_no_extents().
4532 * insdel.c (make_string_from_buffer_1): New function.
4533 (make_string_from_buffer_no_extents): Ditto.
4535 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4537 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4538 sound work on AIX with OSS installed. Linux should still work.
4540 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4542 * config.h.in: name change for cygwin/version.h
4544 * configure.in: check for cygwin/version.h now.
4546 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4547 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4548 move cygwin32/version.h to cygwin/version.h
4550 1998-11-03 Olivier Galibert <galibert@pobox.com>
4552 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4555 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4557 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4558 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4559 enable BROKEN_SIGIO under b20 to make QUIT work.
4561 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4563 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4564 to fit within the constraints of the screen size. I.e. make the
4565 frame small enough to fit and move it if some of it will be
4568 1998-10-19 Greg Klanderman <greg@alphatech.com>
4570 * dired.c: conditionalize inclusion of user-name-completion
4571 primitives on non-Windows NT. The needed functions don't exist on NT.
4573 1998-11-24 SL Baur <steve@altair.xemacs.org>
4575 * gifrlib.h: Clean up types for 64 bit compile.
4576 * dgif_lib.c (DGifInitRead): Ditto.
4577 (MakeSavedImage): Ditto.
4578 * emacs.c (decode_path): Ditto.
4579 From Steve Carney <carney@pa.dec.com>
4581 1998-10-16 William M. Perry <wmperry@aventail.com>
4583 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4584 (cehckboxes instead of checkboxes).
4586 1998-10-15 SL Baur <steve@altair.xemacs.org>
4588 * XEmacs 21.2-beta3 is released.
4590 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4592 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4593 gnuclient. Otherwise, we run xemacs as we always did. This gets
4594 rid of the annoying DOS window when running gnuclient.
4596 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4598 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4599 HAVE_MS_WINDOWS typo.
4601 1998-10-13 SL Baur <steve@altair.xemacs.org>
4603 * process-unix.c (unix_send_process): Set closed flag on writable
4604 pipe after SIGPIPE is received and before we call deactivate_process.
4606 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4608 * window.c (Fset_window_start): respect narrowing when
4609 checking wheter start is at the beginning of a line.
4610 (Fset_window_buffer): Ditto
4611 Fixes repeatable crash in VM.
4613 1998-10-09 SL Baur <steve@altair.xemacs.org>
4615 * window.c (specifier_vars_of_window): Set default vertical
4616 divider width to 1 on ttys.
4618 1998-10-08 Martin Buchholz <martin@xemacs.org>
4623 Add <stddef.h> to get ptrdiff_t declaration
4625 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4627 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4628 is used for Motif or Lucid scrollbars under X.
4630 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4632 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4635 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4637 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4639 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4641 * s/cygwin32.h: more cygwin b20 reorganisation.
4643 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4645 * nas.c: Added necessary support functions to be able to handle
4646 WAVE files in memory, just like the support for SND files in
4649 1998-09-30 SL Baur <steve@altair.xemacs.org>
4651 * callproc.c (child_setup): Fix spelling typo.
4653 1998-09-29 SL Baur <steve@altair.xemacs.org>
4655 * XEmacs 21.2-beta2 is released.
4657 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4659 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4660 to prevent memory corruption in the case of jumping out of a series of
4661 nested match patterns. This is a rather brute force approach, though.
4663 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4665 * config.h.in: ditto.
4667 * s/cygwin32.h: rearrange declarations to cope with cygwin
4668 b20. Include cygwin32/version.h if it exists.
4670 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4672 * device-msw.c (mswindows_init_device): Call new
4673 mswindows_enumerate_fonts() function in objects-msw.c instead
4674 of font_enum_callback_1() to enumerate fonts.
4676 font_enum_callback_1() and _2() moved to objects-msw.c.
4678 * faces.c (complex_vars_of_faces): Make the mswindows default
4679 face font fully specified and provide some fallbacks.
4681 * objects-msw.c: font_enum_callback_1() and _2() moved here
4682 from objects-msw.c. Obtain the enumerated font's character
4683 sets by table lookup instead of using the locale-specific
4684 string provided by Windows.
4686 New public non-method mswindows_enumerate_fonts() that fills
4687 in the supplied mswindows device's font list.
4689 mswindows_initialize_font_instance: Use the supplied name
4690 variable instead of f->name when signalling errors. Match font
4691 weights and character sets using lookup tables which handle
4692 spaces instead of by frobbing.
4694 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4696 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4697 on the size of code fragments passed to run_in_other_process.
4699 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4700 the amount of memory to allocate in the other process.
4702 Removed sigkill_code_end(), sigint_code_end() and
4703 sig_enable_code_end() since they are now redundant.
4705 send_signal() and enable_child_signals(): Don't try to work
4706 out the end of the code fragments passed to
4707 run_in_other_process()
4709 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4711 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4714 * src/unexelf.c: Partially synched with FSF's 20.3.
4716 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4718 * insdel.c (signal_after_change): Map across indirect buffers
4719 here, and not in the upper-level functions.
4720 (signal_first_change): Don't check for Armageddon.
4721 (signal_before_change): Map across indirect buffers here.
4722 (prepare_to_modify_buffer): ...and here.
4724 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4726 * insdel.c (signal_after_change): Add return value.
4727 (buffer_insert_string_1): Use it.
4728 (buffer_delete_range): Ditto.
4729 (buffer_replace_char): Ditto.
4730 (cancel_multiple_change): Map the indirect buffers.
4732 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4734 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4735 (uninit_buffer_text): Ditto.
4737 * buffer.c (Fmake_indirect_buffer): Implement stricter
4740 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4742 * insdel.c (change_function_restore): Reverse order of
4743 function-call and assignment.
4744 (first_change_hook_restore): Ditto.
4746 * extents.c (mark_extent_auxiliary): Mark them.
4747 (Fset_extent_property): Set them.
4748 (Fextent_property): Get them.
4749 (Fextent_properties): Ditto.
4750 (vars_of_extents): Set their default.
4752 * extents.h (struct extent_auxiliary): Add before_change_functions
4753 and after_change_functions.
4755 * insdel.c (signal_before_change): Use it.
4756 (signal_after_change): Ditto.
4758 * extents.c (report_extent_modification): New function.
4760 * insdel.c (signal_before_change): Don't check for Armageddon.
4761 (signal_after_change): Ditto.
4763 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4765 * redisplay.c (redisplay_window): make sure a new starting point
4766 is chosen if it somehow got moved from the beginning of the line
4767 -- this can happen because Fwiden was called recently.
4769 * window.c (Fset_window_start): set start_at_line_beg correctly
4770 (Fset_window_buffer): Ditto
4772 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4774 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4775 (uninit_buffer_text): Ditto.
4777 * buffer.c (Fmake_indirect_buffer): Implement stricter
4780 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4782 * emacs.c (main_1): Removed references to *vars_of_filelock.
4784 * lisp.h: Added Fsystem_name.
4786 * filelock.c: Replaced by version from FSF 20.2. Now implements
4787 locking by using symlinks which is NFS safe. However keep the
4788 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4789 version (and of course use ansi C, acessor macros, etc).
4791 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4793 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4794 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4795 in init_signals_very_early. However these should not be passed
4796 on to children attached to the new pty.
4798 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4800 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4802 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4804 * fileio.c (file-name-directory, file_name_as_directory):
4805 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4807 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4809 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4811 * ralloc.c: uncomment __morecore.
4813 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4815 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4816 WriteFile() to fix a winsock 1.x bug on Win95.
4818 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4820 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4822 (x_event_to_emacs_event): Ditto.
4823 (emacs_Xt_handle_focus_event): Ditto.
4824 (emacs_Xt_handle_magic_event): Ditto.
4826 * console-x.h (struct x_device): New flag being_deleted.
4827 (DEVICE_X_BEING_DELETED): New macro.
4829 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4830 returning. Before doing that, set the being_deleted flag on the
4833 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4835 * device-x.c (x-seppuku-on-epipe): Removed.
4837 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4839 * frame-x.c (x_delete_frame): Flush the X output buffer after
4840 calling XtDestroyWidget to ensure that the windows are really
4843 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4845 * menubar-x.c (my_run_hook): New unused function.
4846 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4847 since we ignore the results of the contained functions anyway.
4849 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4851 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4852 interlaced GIF files that are smaller than 4 lines high...
4854 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4856 * buffer.c (map_over_sharing_buffers): Deleted.
4858 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4860 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4863 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4865 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4867 (buffer_delete_range): Ditto.
4869 * marker.c (init_buffer_markers): Set point-marker to the value of
4870 point in an indirect buffer.
4872 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4874 * undo.c (undo_prelude): Test last-undo-buffer against base
4877 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4879 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4881 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4883 * insdel.c (init_buffer_text): Initialize it here.
4885 * line-number.c: Address line_number_cache through buffer->text.
4887 * buffer.c (mark_buffer): Mark line number cache.
4889 * bufslots.h (line_number_cache): Move to struct buffer_text.
4891 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4892 across the children buffers.
4893 (buffer_delete_range): Ditto.
4894 (buffer_replace_char): Ditto.
4898 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4900 * buffer.c (Fmake_indirect_buffer): Uncomment.
4902 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4904 * macros.c (Fend_kbd_macro): Remove trailing period from error
4906 (Fexecute_kbd_macro): Ditto.
4908 1998-08-21 Greg Klanderman <greg@alphatech.com>
4910 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4911 (Fuser_name_completion_1): new function to return uniqueness
4912 indication in addition to the user name completion.
4913 (user_name_completion): change type of `uniq' argument.
4915 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4917 * lread.c (vars_of_lread): Removed `source-directory' variable.
4919 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4921 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4924 1998-08-19 SL Baur <steve@altair.xemacs.org>
4926 * dired.c (vars_of_dired): Fix misapplied patch.
4928 1998-08-16 Martin Buchholz <martin@xemacs.org>
4930 * fns.c (Fremrassq, remrassq_no_quit):
4931 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4933 1998-07-17 Didier Verna <verna@inf.enst.fr>
4935 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4936 style as foreground GC for faces that have the `dim' property.
4937 (x_output_string): when the `dim' face property is set,
4938 ensure the gray pixmap has been created, and get a proper
4939 foreground GC to draw the text.
4941 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4943 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4944 Manually track the state of the left and right Ctrl and Alt
4947 1998-08-07 Matt Stupple <matts@tibco.com>
4949 * ntproc.c: don't wait on char_consumed at thread entry.
4950 Additionally, to get the 'process' marked as finished, ensure
4951 that the CHILD_ACTIVE macro returns false, so before exiting
4952 close char_avail and set it to NULL, and close other handles
4953 to reduce handle leak problems.
4955 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4957 * menubar-msw.c (displayable_menu_item): take account of menu
4958 depth when deciding whether to try to display accelerators.
4960 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4962 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4965 * glyphs-msw.c: fix a couple of potential handle leaks.
4967 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4969 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4970 *decoding ONLY* back into the core.
4971 * glyphs-eimage.c: Change referenced header file for GIF
4972 reading to point to the incore version.
4974 1998-07-20 Martin Buchholz <martin@xemacs.org>
4976 * casefiddle.c (casify_object):
4977 Change algorithm from O(N**2) to O(N).
4981 1998-07-22 Greg Klanderman <greg@alphatech.com>
4983 * dired.c (file_name_completion_unwind): don't leak the cons.
4985 1998-07-20 Greg Klanderman <greg@alphatech.com>
4987 * dired.c (Fuser_name_completion): new function.
4988 (Fuser_name_all_completions): new function.
4989 (user_name_completion): new function.
4990 (syms_of_dired): 2 new DEFSUBRs.
4991 (vars_of_dired): initialize user name cache vars.
4993 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4995 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4996 colors taken from the default face. Also correct a thinko in
4997 transparency (not alpha) handling.
4999 1998-07-23 Martin Buchholz <martin@xemacs.org>
5001 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5002 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5003 * lread.c (Fload_internal): Be very careful with printfs of
5005 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5008 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5010 * callint.c (Fcall_interactively): GCPRO prompt string before
5011 passing it to Fread_key_sequence
5013 1998-07-27 SL Baur <steve@altair.xemacs.org>
5015 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5016 Vvertical_divider_map.
5018 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5019 Qnil or 0, none were initialized prior to this change.
5021 Rename misnamed `V' prefixed integer variables:
5022 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5023 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5024 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5025 Vcanna_ichiran_revLen.
5027 Rename misnamed `V' prefixed integer variables and initialize
5028 properly in the vars_of routine.
5029 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5030 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5031 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5032 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5033 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5034 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5035 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5036 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5037 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5038 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5039 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5040 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5041 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5042 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5043 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5044 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5045 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5046 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5047 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5048 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5049 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5050 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5051 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5052 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5053 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5054 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5055 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5056 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5057 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5058 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5059 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5060 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5061 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5062 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5063 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5064 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5065 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5066 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5067 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5068 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5069 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5070 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5071 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5072 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5073 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5074 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5076 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5078 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5079 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5080 keys thus no longer considering all keysyms on a key.
5082 1998-07-19 SL Baur <steve@altair.xemacs.org>
5084 * XEmacs 21.2-beta1 is released.
5086 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5088 * eldap.c (Fldap_search_internal): When converting the list of
5089 attributes to search Copy the final 0 from Lisp strings to C
5091 Check base, not Vldap_default_base as a a string
5093 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5095 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5097 * unexnt.c: Unconditionally define bss_start and bss_size, and
5098 ensure that they don't go in the .bss section.
5100 1998-07-17 Olivier Galibert <galibert@pobox.com>
5102 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5103 byte order is dependant of the local byte order).
5104 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5106 1998-07-18 SL Baur <steve@altair.xemacs.org>
5108 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5109 Qmswindows_resource.
5110 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5112 1998-07-12 SL Baur <steve@altair.xemacs.org>
5114 * general.c (syms_of_general): Add defsymbol for Qresource.
5116 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5117 Qmswindows_resource.
5118 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5119 (mswindows_resource_validate): Rename.
5120 (mswindows_resource_normalize): Rename.
5121 (mswindows_resource_possible_dest_types): Rename.
5122 (mswindows_resource_instantiate): Rename.
5123 (image_instantiator_format_create_glyphs_mswindows): Replace
5124 `resource' with `mswindows.resource'.
5126 * XEmacs 21.0-pre5 is released.
5128 1998-07-10 SL Baur <steve@altair.xemacs.org>
5130 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5131 server type in environment.
5132 Use alloca-ed strings instead of tiny fixed size ones.
5134 1998-07-09 SL Baur <steve@altair.xemacs.org>
5136 * XEmacs 21.0-pre4 is released.
5138 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5140 * fileio.c: (expand_file_name): under win32: Don't treat names
5141 as UNC names if a drive letter has been specified. If a drive
5142 has been specified, strip out extra directory-seperators that
5143 reportedly cause problems under Win95.
5145 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5147 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5148 MSVC >= 5.0. Put emacs init and zero-init data in a special
5149 section of the executable when this is defined.
5151 * unexnt.c, ntheap.h:
5152 Removed unused find_section() and get_section_size().
5155 Fix up the executable's checksum after dumping otherwise the
5157 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5158 zero-init data separately from init data. Dump emacs data
5159 into a special section of the executable.
5160 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5161 my_ebss instead of up to the end of bss.
5163 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5165 * filelock.c: Removed Vconfigure_lock_directory - already
5168 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5169 defined in frame.c and general.c respectively.
5171 * glyphs-msw.c: Removed Qresource - already defined in
5174 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5176 * eldap.c (Fldap_search_internal): Docstring fixes
5178 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5180 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5181 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5182 EMACSPACKAGEPATH and INFOPATH variables.
5183 Removed unused get_emacs_configuration function.
5185 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5186 it is now defined at build-time by the makefile.
5188 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5190 * fileio.c: (expand_file_name): under win32: Don't treat names as
5191 UNC names if a drive letter has been specified. If a drive has
5192 been specified, strip out extra directory-seperators that
5193 reportedly cause problems under Win95.
5195 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5197 * faces.c (complex_vars_of_faces): for the gui-element face don't
5198 fallback to the default face, instead provide reasonable default
5199 fallbacks that were previously hardcoded elsewhere.
5201 1998-07-06 Olivier Galibert <galibert@pobox.com>
5203 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5204 when the X server endianness is different than the client's one.
5206 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5208 * eval.c (run_hook_with_args_in_buffer): Check
5209 default (non-buffer-local) value of hook for
5210 nil before treating it as a function. Don't initialize
5211 the `globals' variable twice.
5213 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5215 * fileio.c: Don't do directory seperator canonicalisation in
5216 substitute-in-file-name because we don't know that the
5217 filename refers to a local file.
5219 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5221 * process-nt.c (nt_create_process): Try appending the standard
5222 executable file extensions to the filename if none supplied.
5224 1998-06-29 SL Baur <steve@altair.xemacs.org>
5226 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5228 From Keisuke Mori <ksk@ntts.com>
5230 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5232 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5233 images if we have masks. This handles the xbm case (have masks)
5234 and avoids overuse of resources in the xpm case (generally no masks).
5235 Don't output small toolbars.
5237 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5239 * eval.c (run_hook_with_args_in_buffer): Don't treat
5240 the default value of a buffer local hook as a list of
5241 hooks unless it is both a cons and the car of that cons
5244 1998-06-29 SL Baur <steve@altair.xemacs.org>
5246 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5247 * process-unix.c: Ditto.
5248 * mule-coding.h: Ditto.
5249 * mule-coding.c: Ditto.
5250 * mule-charset.c: Ditto.
5251 * mule-charset.h: Ditto.
5252 * file-coding.c: Ditto.
5253 * file-coding.h: Ditto.
5255 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5257 * event-msw.c: Guard against recursion when freeing
5258 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5260 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5261 Call ShowWindow twice in init_frame_3 to get round runemacs
5264 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5266 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5268 * winslots.h: Rename.
5270 * window.c (specifier_vars_of_window): Renamed
5271 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5272 as suggested by Ben Wing.
5273 (specifier_vars_of_window): Fix docstrings.
5275 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5277 * unexaix.c: Line number information works correctly again.
5279 1998-06-22 Olivier Galibert <galibert@pobox.com>
5281 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5283 1998-06-21 Martin Buchholz <martin@xemacs.org>
5285 * editfns.c (get_home_directory): ANSIfy.
5286 XEmacs is compilable under C *and* C++.
5287 It's XEmacs, not Xemacs!
5289 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5291 * console-msw.h: added a list of fonts to device data.
5293 * device-msw.c: enumerate list of available fonts in
5294 mswindows_init_device. Free list in mswindows_delete_device.
5296 * objects-msw.c: Added helper function match_font used by
5297 mswindows_initialize_font_instance and mswindows_list_fonts.
5298 Allow a charset to be specified in a font string, even if
5299 previous fields havn't been specified.
5301 1998-06-23 Greg Klanderman <greg@alphatech.com>
5303 * indent.c (column_at_point): column cache bugfix.
5304 Set last_known_column_point to the buffer position for
5305 which the column was requested, not buffer's point.
5307 * redisplay.c (decode_mode_spec): for current-column, show
5308 window's point's column, not buffer's point's column.
5310 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5312 * menubar-msw.c (mswindows_handle_wm_command): use
5313 enqueue_misc_user event rather than
5314 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5317 * console-msw.h: declare mswindows_enqueue_magic_event.
5319 * event-msw.c (mswindows_enqueue_magic_event): make global.
5321 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5323 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5324 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5325 (add_position_to_cache): Use EMACS_INT instead of int.
5327 1998-06-21 Olivier Galibert <galibert@pobox.com>
5329 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5330 suitable for an int used as a boolean (btw, C sucks.).
5332 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5334 * object-msw.c: remove warnings.
5336 * device-msw.c: #define wrongly named cygwin structure elements.
5338 * s/cygwin32.h: define DEMI_BOLD
5340 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5342 * redisplay-msw.c: new function mswindows_apply_face_effects.
5343 This is called by output_string and output_cursor to display
5344 underline and strikeout on faces.
5346 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5348 * console-msw.h: added a list of fonts to device data.
5350 * device-msw.c: enumerate list of available fonts in
5351 mswindows_init_device. Free list in mswindows_delete_device.
5353 * objects-msw.c: Added helper function match_font used by
5354 mswindows_initialize_font_instance and mswindows_list_fonts.
5355 Allow a charset to be specified in a font string, even if
5356 previous fields havn't been specified.
5358 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5361 Removed compilation warnings from mswindows_string_to_color.
5362 mswindows_list_fonts returns a more general bogus font.
5363 New lisp-visible function mswindows-color-list.
5365 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5367 * editfns.c (Fuser_login_name): Modify to user new function
5369 (user_login_name): C only function to avoid Lisp object overhead
5370 Returns "unknown" instead of nil in Cygwin environment
5372 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5373 equivalent for current user in Cygwin environment. Use new
5374 function user_login_name to get username.
5376 * lisp.h: Declare user_login_name
5378 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5380 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5382 Some other insignificant nitpicks.
5384 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5386 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5387 creating the image list and make sure he bk color is transparent.
5389 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5391 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5392 completed_timeouts. The timer could have expired.
5394 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5396 * console-msw.h: move XEMACS_RECT_WH inside frame
5397 parameters. define macors to access it.
5399 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5400 parameter to intialise desired sizing. (mswindows_init_frame_2):
5401 enable and size the frame to something sensible when we get
5402 here. (mswindows_set_frame_properites): use new
5403 mswindows_size_frame_internal function and size frame if frame
5404 parameters not just if init is finished - WM_SIZE happens too
5405 early for some specs. (mswindows_size_frame_internal): new
5406 function abstracted from mswindows_set_frame_properties.
5407 (Vmswindows_use_system_frame_size_defaults):
5408 new variable controls whether to allow the system to pick frame
5409 size defaults, defaults to nil.
5411 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5412 than duplicated code.
5414 1998-06-15 Colin Rafferty <colin@xemacs.org>
5416 * Makefile.in.in: Made EXTW_LINK expand properly.
5418 1998-06-12 Martin Buchholz <martin@xemacs.org>
5420 * redisplay.c (vars_of_redisplay): default value of
5421 column-number-start-at-one should be NIL!
5423 1998-06-11 Martin Buchholz <martin@xemacs.org>
5426 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5428 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5430 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5431 build_string to avoid crashes under Mule.
5433 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5435 * ntplay.c (play_sound_data_1): don't delete the sound data until
5436 the next sound is played and the previous one finished.
5438 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5440 * fileio.c (directory-sep-char): Escape backslashes.
5442 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5444 * event-stream.c: Fix docstring reference.
5446 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5448 * alloc.c (make_float): Remove useless initialization of `next'
5450 (make_pure_float): Ditto.
5452 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5454 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5456 * fileio.c (Fmake_directory_internal): Remove conditionals
5457 on WINDOWSNT when calling mkdir.
5459 * ntproc.c: Deleted the following unused functions:
5460 register_child, reap_subprocess, sys_wait.
5462 * nt.c (sys_rename): Ifzeroed this implementation.
5463 Deleted the following unused functions:
5464 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5465 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5466 sys_read, sys_write.
5467 Merger sys_fopen and sys_open with sysdep.c implementation.
5469 * sysdep.c: Removed MS-DOS code.
5470 (sys_rename): Deal with Microsoft rename weirdness.
5471 (sys_open): Implemented for Windows.
5475 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5477 * buffer.c (complex_vars_of_buffer): Removed %t description from
5480 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5482 * scrollbar-msw.c: initialize the cbSize element of the
5483 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5484 to ignore the value of cbSize, but Win95 (and I presume Win98)
5485 appear to want it set to sizeof(SCROLLINFO).
5487 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5489 * event-stream.c: Defined Qcancel_mode_internal.
5490 (syms_of_event_stream): defsymbol'ed it.
5492 * events.h: Externed it.
5494 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5496 1998-06-04 Oliver Graf <ograf@fga.de>
5498 * frame-x.c (x_cde_destroy_callback): free the data
5499 (cde-start-drag-internal) corrected root position, 21.1 needs this
5500 hardcoded in Button events
5501 (offix-start-drag-internal) corrected root position
5503 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5505 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5508 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5510 * dialog-msw.c (button_width): Removed `inline' from the function
5513 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5515 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5516 Note that adding this flag to subsequent frames causes problems.
5518 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5520 * glyphs-eimage.c (png_instantiate) move 'struct
5521 png_memory_storage tbr' out of nested block to avoid dangling
5524 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5527 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5528 inherits from gui-element.
5530 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5531 with existing code, generate masks correctly.
5533 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5535 * glyphs-eimage.c: Changed included header for gifs to use
5536 Gifreader instead of giflib.
5538 * glyphs-x.c: removed the image-related functions that were
5539 moved into glyphs-eimage.
5541 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5543 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5544 if built without X Windows support.
5546 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5548 * fns.c (Fconcat): Synch docstring with new reality.
5550 1998-06-03 SL Baur <steve@altair.xemacs.org>
5552 * frame.c: Remove reference to msdos.h (which is going away).
5553 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5555 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5557 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5561 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5563 * events.h: Fixed commentary about misc-user scrollbar events.
5565 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5566 object as an event channel, instead of window object.
5567 (x_update_horizontal_scrollbar_callback): Ditto.
5569 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5571 * ntplay.c (play_sound_data_1) new function. convert alloca data
5572 to malloc if necessary.
5573 (play_sound_file): if the file is not in our path then convert to
5576 1998-06-01 SL Baur <steve@altair.xemacs.org>
5578 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5579 * msdos.c (Frecent_doskeys): Ditto.
5581 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5582 Suggested by Reggie Perry <perry@zso.dec.com>
5584 * buffer.h: Eliminate size in declaration.
5586 1998-06-01 Olivier Galibert <galibert@pobox.com>
5588 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5590 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5592 * gui.c (gui_item_init): Changed the default value for config member
5593 from Qunbound to Qnil.
5595 1998-06-01 Greg Klanderman <greg@alphatech.com>
5597 * indent.c (vmotion_pixels): Don't #define abs().
5599 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5601 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5604 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5606 * glyphs.h: add xbm declarations.
5608 * console.h: add xbm_instantiate_method device method.
5610 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5611 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5612 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5613 locate_pixmap_file device method and read_bitmap_data_from_file
5614 instead of XmuReadBitmapDataFromFile.
5615 (xbm_instatntiate): make a device method.
5617 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5618 new function that just calls XmuReadBitmapDataFromFile.
5619 (x_xbm_instatntiate): device method from xbm_instantiate.
5621 * glyphs-msw.c (read_bitmap_data) (NextInt)
5622 (read_bitmap_data_from_file): new functions copied from Xmu
5624 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5625 inline data to an mswindows bitmap.
5626 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5627 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5630 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5632 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5633 `modeline-visible-p'.
5634 Declared specifier lisp variables at the beginning oh the file
5637 * procimpl.h (struct process_methods): Changed semantics of
5638 create_process method so it accepts lisp strings instead of
5641 * process.c (Fstart_process_internal): Moved building of
5642 unix style argv from here to process-unix.c, ...
5644 * process-unix.c (unix_create_process): ... right here.
5646 * process-nt.c (nt_create_process): Changed this function to
5647 support new semantics, so avoided a GC problem.
5649 * events.c (Fmake_event): Document misc-user events properties.
5650 (Fmake_event): Do not allow arbitrary objects for channel property
5651 of misc-user events.
5652 (Fmake_event): Change misc-user event validation: it is function
5653 which is required, not button.
5655 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5657 (mswindows_enqueue_misc_user_event): Added function.
5658 (mswindows_bump_queue): Removed function.
5659 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5660 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5661 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5662 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5663 really nothing, which is my personal favorite thing.
5665 * console-msw.h: Removed prototype for mswindows_bump_queue().
5666 Added prototype for mswindows_enqueue_misc_user_event().
5668 * menubar-msw.c (mswindows_handle_wm_command): Use
5669 mswindows_enqueue_misc_user_event().
5671 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5673 * dialog-msw.c (dialog_proc): Ditto.
5675 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5676 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5677 user events channel.
5679 1998-05-29 Greg Klanderman <greg@alphatech.com>
5681 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5682 incorrect semantics of vmotion_pixels which has been fixed. don't
5683 use it anymore as it can't easily be used.
5685 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5686 the motion was reported incorrectly if you tried to go past end of
5689 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5691 * toolbar.h: Removed misleading commentary, as Martin suggested.
5693 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5695 * lisp.h: Extern Qactivate_menubar_hook.
5697 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5700 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5702 * glyphs-msw.c: use BPLINE macro.
5704 * select-msw.c (mswindows-selection-exists-p)
5705 (mswindows-delete-selection): doc string fixes.
5707 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5708 unpressable. warning elimination.
5710 1998-05-28 Martin Buchholz <martin@xemacs.org>
5712 * alloc.c (dbg_constants):
5715 Remove toolbar_data debugging code, since that lrecord has
5718 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5720 * alloc.c: zap cached value of (user-home-directory), so that
5723 * buffer.c: From init_buffer(), separated out code that
5724 determined the initial directory for the *scratch* buffer, and
5725 put them into a function called "init_initial_directory()".
5726 The initial directory is now available as a global "char *"
5727 called initial_directory.
5729 * buffer.h: Added extern entries for initial_directory[] and
5730 init_initial_directory().
5732 * editfns.c: added new elisp function "user-home-directory",
5733 which basically returns getenv("HOME"), but attempts to use
5734 other values if $HOME isn't set.This may have to be tweaked in
5735 the future as, under Unix, "/" is used if $HOME isn't set (this
5736 probably should be set to the current directory). To support
5737 this, a new C function, "get_home_directory()", now exists,
5738 which returns the "home directory", as a "char *" string.
5740 * emacs.c: Rearrange NT initialization order so that
5741 environment/registry variables will be properly entered into
5742 Vprocess_enviroment.
5744 * fileio.c: replaced egetenv("HOME") with calls to the new
5745 get_home_directory().
5747 * lisp.h: Added function prototypes for uncache_home_directory()
5748 and get_home_directory(), along with lisp prototypes for
5749 Fuser_home_directory() and friends.
5751 * nt.c: replaced getenv("HOME") with calls to the new
5752 get_home_directory().
5754 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5755 warnings about getcwd(), etc. not having prototypes.
5757 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5759 * process-nt.c (send_signal): Emulate SIGHUP.
5760 (validate_signal_number): Ditto.
5762 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5763 remove MOD_SHIFT from ASCII characters.
5764 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5767 1998-05-24 Oliver Graf <ograf@fga.de>
5769 * frame-x.c (cde-start-drag-internal): added filename and multi-
5771 (x_cde_convert_callback) dito
5773 1998-05-26 Oliver Graf <ograf@fga.de>
5775 * frame-x.c: include event-mod.h also with CDE
5776 (x_cde_convert_callback) made the thing working
5777 (cde-start-drag-internal) also debugging
5779 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5786 - add __OpenBSD__ where __NetBSD__ was found.
5787 - TODO: replace platform-specific conditional compilation by
5788 feature tests in configure.in.
5790 1998-05-15 Greg Klanderman <greg@alphatech.com>
5792 * window.c (Fwindow_displayed_text_pixel_height): New function.
5793 (syms_of_window): DEFSUBR it.
5795 * indent.c (Fvertical_motion_pixels): New function - request
5797 (vmotion_pixels): helper.
5798 (syms_of_indent): DEFSUBR.
5799 * lisp.h: declaration for vmotion_pixels().
5801 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5802 to request returning motion in pixels.
5803 (Fvertical_motion_pixels): Remove, functionality merged into
5805 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5806 (Fmove_to_window_line): ditto.
5807 * lisp.h: Change declaration for Fvertical_motion.
5809 * window.c: rename window-text-pixel-{height,width,edges} to
5810 window-text-area-pixel-*.
5812 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5814 * tooltalk.c (vars_of_tooltalk) added staticpro for
5815 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5817 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5819 * faces.c: create a new 3d_object_face, make modeline and
5820 vertical_divider faces fallback to this rather than the default.
5822 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5824 * s/cygwin32.h: define charsets for cygwin.
5826 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5828 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5829 and coordinates. resize bitmaps if we have already settled on a
5832 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5834 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5836 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5838 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5842 * gui-x.c (popup_selection_callback): Ditto.
5844 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5846 * gui.c (get_callback): Renamed to get_gui_callback.
5848 1998-05-17 Martin Buchholz <martin@xemacs.org>
5850 * glyphs.h: order rearrangement.
5852 * device-tty.c (tty_asynch_device_change): Warning suppression.
5853 * device-x.c (x_device_system_metrics): Warning suppression.
5854 Make Doc strings consistent with coding standards.
5856 1998-05-24 Martin Buchholz <martin@xemacs.org>
5858 * general.c: multiple definition of `Qicon'. general.c seems
5859 like a good home for Qicon.
5861 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5863 * This patch is to fix compilation warnings under Windows.
5865 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5866 Added prototypes for FSF inherited functions, with which XEmacs is
5867 sprinkled thoroughly.
5868 Removed some #if 0 code. Bracketed some more definitions, probably
5869 related to Visual C versions prior to 4 (we do not support them).
5871 * sysfloat.h (logb): Finally, get logb() prototyped.
5873 * sysfile.h: Added Windows specific includes.
5874 Removed old Windows specific code bracketed with #if 0.
5876 * sysdep.h: Added prototype for xrealpath().
5878 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5880 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5881 vars_of_dired_mswindows and init_ntproc (Grrr).
5883 * realpath.c: Added Windows specific include files.
5884 (xrealpath): Conditionalized declaration of some auto variables on
5885 S_IFLNK, to avoid warnings.
5887 * ntproc.c: Disabled some compiler warnings. This file is going to
5888 die, so I have not cleaned it up much.
5889 (set_process_dir): Const parameter.
5890 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5891 (Fwin32_long_file_name): Ditto.
5892 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5895 * nt.h: Added prototypes for set_process_dir and convert_time.
5897 * nt.c: More include files.
5898 (getpwnam): Consted char* argument.
5899 (get_emacs_configuration): Const return value.
5900 (opendir): Const argument.
5901 (stat): Casted converstion long->short.
5902 (stat): Removed ad hoc and questionable support for non-MSC compile.
5903 (sys_pipe): Removed unused auto variable.
5904 (_sys_read_ahead): Removed calls to DebPrint.
5905 (sys_read): Ditto, in 2 places.
5906 (term_ntproc): Added unused int parameter to signal handler, to
5907 avoid a warning when compiling a call to signal().
5908 (msw_sigset): Properly return old signandler or NULL instead of void.
5910 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5912 * gmalloc.c (morecore): Ditto.
5913 (_free_internal): Ditto.
5915 * lread.c (parse_integer): Ditto.
5917 * dired-msw.c: Added several include files.
5919 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5920 of Compilers to Shut Up.
5922 * callproc.c: Added #includes to suppress warnings under Windows.
5923 (init_callproc): Removed #if0'ed code and unused variables.
5925 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5927 * device-msw.c (mswindows_device_system_metrics): do planes in a
5928 way consistent with X.
5930 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5931 use SetPixel, use DIBits functions.
5932 (xpm_to_eimage): frob colors more closely like xpm deos.
5934 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5935 to be closer to X version.
5937 * event-msw.c: use tooltip string directly.
5939 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5941 * objects-msw.c: frob rgb colors that only Kyle uses.
5943 * dialog-msw.c (button_width): INLINE -> inline.
5945 1998-05-23 SL Baur <steve@altair.xemacs.org>
5947 * getloadavg.c (getloadavg): Fix typo.
5949 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5951 * objects-msw.c (mswindows_initialize_font_instance): Added support
5952 for font character sets.
5953 Replaced 'XXX' with '####' in comments throughout the file.
5955 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5957 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5958 console_type_create_dialog_mswindows(), to initialize Windows dialog
5961 * symsinit.h: Prototyped the above functions.
5963 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5964 checks to dialog.c...
5966 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5967 device must support dialog boxes, and the descriptor must supply at
5970 * dialog-msw.c: New file, dialogs for Windows.
5972 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5974 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5975 (Fldap_search_internal): Removed unused variable `err'
5977 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5980 1998-05-17 Martin Buchholz <martin@xemacs.org>
5982 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5983 defined. Therefore there is no need to handle the case when
5984 HAVE_LDAP is undefined. Similarily, there is no reason to have
5985 any code wrapped within `#ifdef emacs', since this code is only
5986 useful within an emacs. This simplifies the code significantly.
5988 * inline.c: Include eldap.h only if HAVE_LDAP.
5989 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5992 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5994 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5995 printing dump stats when building without DEBUG_XEMACS.
5996 (dump_bss_and_heap): Ditto.
5998 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6000 * gnuclient.c: don't suppress window system if there is no display
6001 and we are running under mswindows. send 'mswindows device type if
6002 we are in this situation.
6004 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6007 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6009 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6012 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6014 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6015 {top,bottom}-{left,right} values in addition to
6016 {top,bottom}_{left,right}.
6018 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6020 * fileio.c (Fmake_temp_name): Remove unreached code.
6022 * process-nt.c (validate_signal_number): Use
6023 signal_simple_error().
6025 1998-05-19 Martin Buchholz <martin@xemacs.org>
6028 * sound.c (vars_of_sound):
6029 * sysdep.c (reset_sigio_on_device):
6030 * window.c (window_bottom_gutter_height):
6031 unexhp9k800.c:258: warning: implicit declaration of function
6032 `calculate_checksum'
6033 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6034 sysdep.c:1012: warning: unused variable `owner'
6035 window.c:993: warning: `window_right_toolbar_width' defined but not used
6037 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6039 * glyphs-msw.c (mswindows_create_resized_mask)
6040 (mswindows_create_resized_bitmap): new funnctions split out from
6041 mswindows_resize_dibitmap_instance.
6043 * glyphs-msw.h: declare new resize functions.
6045 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6046 functions so that the original bitmaps are preserved.
6048 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6050 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6051 color if we are trying to output 0 depth bg pixmap.
6053 * scrollbar-msw.c: warning elimination.
6055 1998-05-18 Martin Buchholz <martin@xemacs.org>
6057 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6058 directives in column 1.
6060 * search.c (skip_chars): Avoid using xzero with arrays, since some
6061 compilers get confused by the construct &array.
6063 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6066 * objects-msw.c: Changed the charset value for a new font from
6067 "don't care" to "ansi".
6069 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6071 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6073 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6074 modifier on control chars.
6075 Use IsCharAlpha() instead of isaplha().
6077 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6079 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6081 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6083 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6084 charset when creating font.
6085 (mswindows_initialize_color_instance): Do not create brush along
6087 (mswindows_finalize_color_instance): Do not delete it then.
6089 * objects-msw.h (struct mswindows_color_instance_data): Removed
6090 brush slot, and corresponding accessor macro.
6092 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6094 * toolbar.c: Removed toolbar_data lrecord implementation.
6095 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6096 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6097 (compute_frame_toolbar_buttons): Ditto.
6098 (CHECK_TOOLBAR): Ditto.
6099 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6100 (update_frame_toolbars): Do not check for changed buffer
6101 here. Toolbar information is provided by cached specs in
6102 windows. The check for buffer is eliminated becuase toolbars are
6103 marked changed in set_frame_selected_window() in frame.c
6104 Added check for changed toolbars geometry.
6105 (compute_frame_toolbars_data): Removed unused second parameter;
6106 Adjusted callers of this static function throughout the file.
6107 (init_frame_toolbars): Initialize current_toolbar_size.
6108 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6109 what is its current expansion, for clarity.
6110 (init_frame_toolbars): Ditto.
6111 (init_device_toolbars): Ditto.
6112 (init_global_toolbars): Ditto.
6114 * toolbar.h: Removed definition of toolbar_data lrecord.
6115 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6116 FRAME_CURRENT_TOOLBAR_SIZE.
6117 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6119 * toolbar-x.c (x_output_toolbar): The same change as in
6121 (x_output_toolbar): Ditto.
6122 (x_redraw_exposed_toolbar): Ditto.
6124 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6125 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6126 (mswindows_output_toolbar): Ditto.
6127 (mswindows_output_toolbar): Ditto.
6129 * frame.c (mark_frame): Removed marking of arrays, according to
6130 frameslots.h change.
6131 (nuke_all_frame_slots): Ditto.
6132 (set_frame_selected_window): Mark toolbars changed when
6133 last_nonminibuf_window changes.
6135 * frame.h (struct frame): Moved some slots to frameslots.h.
6136 Added current_toolbar_size array.
6137 Changed references from toolbar_data to toolbar_buttons in macros
6138 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6139 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6140 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6142 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6143 Moved arrays of lisp objects here from frame.h: toolbar_size,
6144 toolbar_visible_p, toolbar_border_width.
6145 Removed toolbar_data slot and added toolbar_buttons.
6147 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6149 * symsinit.h: Externed syms_of_process_nt()
6151 * emacs.c (main_1): Call syms_of_process_nt()
6153 * process-nt.c: Quote process arguments by a call to Lisp function
6154 `nt-quote-process-args'.
6155 (syms_of_process_nt): New function.
6156 (nt_send_process): Flush data stream after each write, to avoid
6157 leaving buffered data.
6158 (nt_send_process): When blocked on process output, wait for
6159 process to slurp more for progressively increasing time intervals.
6161 1998-05-17 Martin Buchholz <martin@xemacs.org>
6163 * window.c (have_undivided_common_edge): Make file-local function
6165 (map_windows): Return 0 if all map functions successful.
6168 * winslots.h: Use unlikely names for local variables in macros to
6169 avoid shadowing warnings.
6171 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6173 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6174 so that we re-output if the toolbar size has changed.
6176 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6178 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6180 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6182 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6185 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6187 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6188 get bitmap manifest constants defined.
6190 * console-msw.h: Include system files in angle brackets, not in
6193 * window.c (specifier_vars_of_window): Fixed a typo in
6194 `vertical-divider-line-width' docstirng.
6196 1998-05-16 Olivier Galibert <galibert@pobox.com>
6198 * line-number.c (delete_invalidate_line_number_cache): Use an
6200 (buffer_line_number): Remove dangerous, plain wrong when using
6201 64bits emacs ints, cast.
6203 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6205 * cmds.c (Fforward_line): Use EMACS_INTs.
6207 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6208 (scan_buffer): Ditto.
6209 (bi_find_next_newline_no_quit): Remove useless cast.
6210 (find_next_newline_no_quit): Ditto.
6211 (find_next_newline): Ditto.
6212 (find_before_next_newline): Use an EMACS_INT.
6214 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6216 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6218 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6220 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6222 * gui-x.c (popup_selection_callback): Use it.
6224 * gui.h (get_callback): Declare it.
6226 * gui.c (get_callback): New function.
6228 1998-05-15 SL Baur <steve@altair.xemacs.org>
6230 * window.c (have_undivided_common_edge): Guard scrollbar specific
6232 (window_needs_vertical_divider_1): Ditto.
6234 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6236 * emacs.c (decode_path): Eliminate compiler warning.
6237 (Fdecode_path): Renamed to Fsplit_path.
6238 (Fsplit_string_by_char): New function.
6240 1998-05-14 Damon Lipparelli <lipp@primus.com>
6242 * winslots.h: close comment
6244 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6246 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6248 * bufslots.h: Removed buffer_file_type slot.
6250 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6252 (complex_vars_of_buffer): Removed buffer-file-type variable and
6253 its default reference.
6255 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6257 * faces.c (complex_vars_of_faces): Defined
6258 Vvertical_divider_face.
6259 (vars_of_faces): Staticpro it.
6261 * faces.h: Externed Vvertical_divider_face.
6263 * redisplay-x.c (x_output_vertical_divider): Use
6264 Vvertical_divider_face to draw the divider instead of modeline
6267 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6268 divider face using Vvertical_divider_face background.
6269 Fix drawing spacing gaps around the divider.
6271 1998-05-14 Didier Verna <verna@inf.enst.fr>
6273 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6274 values for the vertical divider line width and spacing. Use the
6275 cached values from the window structure instead.
6276 (x_divider_width): ditto.
6278 * window.c (specifier_vars_of_window): new specifiers:
6279 vertical-divier -line-width and -spacing.
6280 (vertical_divider_global_width_changed): formerly known as
6281 vertical_divider_shadow_thickness_changed.
6283 * winslots.h: new slots: vertical_specifier _line_width and
6284 _spacing. Plus corrected a comment typo.
6286 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6288 * window.h: Declared window_divider_width().
6290 * console-stream.c (stream_divider_width): Removed method.
6291 (console_type_create_stream): And declaration for it.
6293 * redisplay.c (pixel_to_glyph_translation): Use
6294 window_divider_width() instead of divider_width redisplay method.
6295 (pixel_to_glyph_translation): Fix top divider edge calculation
6296 when scrollbar is on top.
6298 * window.c (window_divider_width): New function, an outphaser for
6299 divider_width redisplay method.
6300 (window_right_gutter_width): Use it.
6301 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6302 specifiers, set fallback values differently on TTYs, and document
6303 the behavior of these on TTYs in the docstrings.
6305 * scrollbar.c (update_scrollbar_instance): Use
6306 window_divider_width() instead of divider_width redisplay method.
6308 * console.h (struct console_methods): Removed divider_width_method.
6310 * redisplay-tty.c (tty_divider_width): Removed device method.
6311 (console_type_create_redisplay_tty): Removed definition for it.
6312 (tty_output_vertical_divider): Respect the value returned by
6313 window_divider_width thus divider line width specification.
6315 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6316 (console_type_create_redisplay_mswindows): Removed definition for it.
6317 (mswinodws_output_vertical_divider): Respect the value returned by
6318 window_divider_width thus divider line width specification.
6320 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6322 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6324 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6326 * glyphs-msw.c: resource loading implementation.
6327 (cursor_normalize): new function.
6328 (cursor_validate): ditto.
6329 (cursor_instantiate): ditto.
6330 (cursor_name_to_resource): ditto.
6331 (cursor_possible_dest_types): ditto.
6332 (check_valid_symbol): ditto.
6333 (check_valid_string_or_int): ditto.
6335 1998-05-14 Martin Buchholz <martin@xemacs.org>
6337 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6340 * process-unix.c (process_signal_char): Use VSUSP instead of
6341 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6343 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6345 * specifier.c (specifier_instance): Change locale precedence of
6346 instantiation so window locale has higher priority than buffer
6348 (Fspecifier_instance): Reflect this in docstring.
6349 (Fadd_spec_list_to_specifier): Ditto.
6350 (Fadd_spec_to_specifier): Ditto.
6351 (Fremove_specifier): Ditto.
6353 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6355 ** Dialog separation into a device method from Andy Piper
6357 * emacs.c (main_1): Call console_type_create_dialog_x().
6359 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6360 into this device method.
6361 (console_type_create_dialog_x): New function.
6363 * dialog.c (Fpopup_dialog_box): New function.
6364 (syms_of_dialog): Defsubr it.
6366 * console.h (struct console_methods): Declared
6367 popup_dialog_box_method().
6369 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6371 1998-05-14 Oliver Graf <ograf@fga.de>
6373 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6374 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6376 1998-05-13 Oliver Graf <ograf@fga.de>
6378 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6380 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6382 * console.h (device_metrics): Removed dbcs, input-method-editor
6383 and right-to-left metrics.
6385 * device.c (Fdevice_system_metric): Ditto.
6386 (Fdevice_system_metrics): Ditto.
6387 (syms_of_device): Ditto.
6388 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6391 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6393 * line-number.h (mark_line_number_cache): Remove unused
6396 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6397 (get_nearest_line_number): Simplify.
6398 (add_position_to_cache): Make the old marker point nowhere.
6400 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6402 ** Renamed window-divider-map => vertical-divider-map
6403 and event-over-divider-p => event-over-vertical-divider-p,
6404 in the following files/functions:
6406 * events.c (Fevent_over_divider_p):
6407 * keymap.c (get_relevant_keymaps):
6410 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6412 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6414 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6416 * window.c (vertical_divider_changed_in_window): Renamed so.
6417 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6418 (window_needs_vertical_divider_1): Decide whether we need it based
6419 on the value of the above specifier. If separators are unwanted,
6420 put them only if there's no scrollbar between this window and its
6422 (have_undivided_common_edge): New function, helper for the above.
6423 (window_needs_vertical_divider): Return either a cached value,
6424 or clauclate and cache one.
6425 (invalidate_vertical_divider_cache_in_window): Implemented.
6426 (map_windows): Changed return type to int, return the value from
6429 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6430 (struct window): Added need_vertical_divider_p and
6431 need_vertical_divider_valid_p.
6433 * winslots.h: Added vertical_divider_draggable_p slot.
6435 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6436 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6438 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6440 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6441 invalidate_vertical_divider_cache_in_frame().
6444 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6446 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6448 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6449 masks correctly and don't select 0.
6451 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6453 * winslots.h: New file, declaration of some struct window and
6454 struct saved_window members.
6456 * window.h (struct window): Include it, with required preprocessor
6459 * window.c (mark_window): Ditto.
6460 (allocate_window): Ditto.
6461 (struct saved_window): Ditto.
6462 (mark_window_config): Ditto.
6463 (saved_window_equal): Ditto.
6464 (Fset_window_configuration): Ditto.
6466 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6468 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6470 1998-05-12 Didier Verna <verna@inf.enst.fr>
6472 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6473 the divider line. The shadow thickness is currently
6474 hard-wired. This will probably be turned into a specifier soon.
6476 1998-05-12 Didier Verna <verna@inf.enst.fr>
6478 * console.h (struct console_methods): the divider_width console
6479 method now requires a struct window * argument.
6481 * redisplay-x.c (x_divider_width): ditto. Plus remove
6482 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6483 (x_output_vertical_divider): give a depressed look when the shadow
6484 thickness is negative.
6486 * console-stream.c (stream_divider_width): pass a struct window *
6489 * redisplay-tty.c (tty_divider_width): ditto.
6491 * window.c (window_right_gutter_width): totdi.
6493 * redisplay.c (generate_modeline): ittod.
6495 * scrollbar.c (update_scrollbar_instance): ttido.
6497 * redisplay-msw.c (mswindows_divider_width): ottid.
6498 WARNING: this enables to compile, but the feature is not functional.
6500 * window.h (struct window): new field
6501 vertical_divider_shadow_thickness.
6503 * window.c (specifier_vars_of_window): new specifier
6504 vertical-divider-shadow-thickness.
6505 (vertical_divider_shadow_thickness_changed): new function to
6506 inform redisplay that the window has changed.
6507 (mark_window): handle new field vertical_divider_shadow_thickness
6509 (allocate_window): ditto.
6510 (saved_window_equal): toddi.
6511 (Fset_window_configuration): totid.
6512 (save_window_save): ttdio.
6513 (struct saved_window): new field vertical_divider_shadow_thickness.
6515 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6517 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6520 1998-05-12 Oliver Graf <ograf@fga.de>
6522 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6523 * event-Xt.c (x_event_to_emacs_event): C++ compability
6525 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6527 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6530 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6532 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6535 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6537 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6539 * emacs.c (decode_path_1): New function.
6540 (decode_path): Use it.
6541 (Fdecode_path): Renamed from Fdecode_path_internal; use
6544 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6546 * macros.c (Fzap_last_kbd_macro_event): New function.
6547 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6549 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6551 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6552 multiple bitmaps are output vertically as well as horizontally.
6553 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6554 crossing lines this is handled by
6555 mswindows_output_dibitmap_region.
6557 1998-05-12 Martin Buchholz <martin@xemacs.org>
6559 * inline.c: Include eldap.h
6561 * menubar-x.c (x_update_frame_menubar_internal):
6562 Remove: unused variable `container'
6564 1998-05-11 Martin Buchholz <martin@xemacs.org>
6566 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6567 Unfortunately, the resulting temacs still cannot dump.
6569 * symbols.c (symbol_is_constant):
6570 (verify_ok_for_buffer_local):
6571 -Wswitch Warning suppression - add default case to switches.
6573 * redisplay.c (decode_mode_spec): Remove unused variables,
6574 Replace Fcoding_system_property (codesys, Qmnemonic) with
6575 XCODING_SYSTEM_MNEMONIC (codesys);
6576 Fcoding_system_property is for users.
6582 Change empty docstrings into no doc strings at all.
6583 Fix bogus FSF-format docstrings.
6586 Standardize docstrings.
6589 Explain problems with matherr.
6591 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6594 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6595 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6596 Fix the weird resultant interaction (causes windows problems)
6600 Take new EMACSBOOTSTRAPLOADPATH into account.
6601 Update documentation strings
6604 - Adjust for luser's CDPATH being set to something weird.
6605 - Take into account bash 2.02's tendency to print the cwd when
6606 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6607 - fix the run-temacs target to use $(DUMPENV)
6608 - fix the run-puremacs target to use $(DUMPENV)
6609 - fix the `depend' target to properly $(RM) the right files
6610 - Generate a better TAGS file for XEmacs' lisp code using
6611 hand-crafted regexps.
6612 - Use standard coding conventions for modules/Makefile.in
6614 1998-05-12 Didier Verna <verna@inf.enst.fr>
6616 * redisplay.c: removed the scrolling modeline code that didn't
6617 make it for 21.0. To be continued ...
6619 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6621 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6622 and empty string inputs.
6624 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6626 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6628 1998-05-10 Oliver Graf <ograf@fga.de>
6630 * event-stream.c (enqueue_misc_user_event_pos): created
6631 * lisp.h (enqueue_misc_user_event_pos): prototype added
6632 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6633 * emacs.c: call vars_of_dragdrop
6634 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6636 1998-05-11 Oliver Graf <ograf@fga.de>
6638 * frame-x.c (x_cde_transfer_callback): return at correct pos
6639 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6640 object for MIME (see comment in dragdrop.c)
6641 * dragdrop.c: API change documented in comment
6642 removed provide of dragdrop [is provided by dragdrop.el]
6644 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6646 * window.c (window_needs_vertical_divider): Enable vertical
6647 dividers for every non-rightmost window.
6648 (window_left_gutter_width): Left gutter consists of mythical
6649 toolbar and a virtual scrollbar.
6650 (window_right_gutter_width): The right one may have a divider
6653 * scrollbar.c (update_scrollbar_instance): Position vertical
6654 scrollbar left to divider if the latter present.
6656 * redisplay.h: Declared OVER_DIVIER constant.
6658 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6661 * redisplay-x.c (x_output_vertical_divider): Output divider along
6662 the right side of the window, down to window bottom. Swapped
6663 foreground and background colors so it is visible by default.
6665 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6666 stick the divider to the right window side.
6668 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6670 (mswindows_divider_width): Ask system for user preferred value.
6671 (mswindows_output_vertical_divider): Always output the divider on
6672 the right side of a window, down to bottom.
6674 * keymap.c (get_relevant_keymaps): Route mouse button events which
6675 happened over a window divider through window-divider-map.
6676 (Fkey_binding): Documented that in the docstring.
6677 Defined the variable Vwindow_divider_map.
6679 * events.c (Fevent_over_divider_p): Added this function.
6681 * events.h: EXFUNed it.
6683 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6685 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6686 toolbar geometry is suspected to change.
6688 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6692 Condition dnd and dde code on HAVE_DRAGNDROP.
6694 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6696 * events.c (format_event_object): Print space as SPC etc.
6698 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6700 * print.c (print_internal): In the default case, abort() if
6701 ERROR_CHECK_TYPECHECK.
6703 * fileio.c (Fmake_temp_name): Doc fix.
6705 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6707 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6709 * undo.c (Fprimitive_undo): Fixed typo.
6711 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6713 * fns.c (concat): Signal error on integer argument.
6715 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6717 * console.h (device_metrics): Prefixed each constatnt with DM_
6719 * device.c: (Fdevice_system_metric): Renamed so from plural form
6720 (metrics); Changed parameters order and added DEFAULT parameter;
6721 Unabbreviated some metric constants; Fixed and untabified doc string.
6722 (Fdevice_system_metrics): Added. Returns a plist of all provided
6725 * device-msw.c (mswindows_device_system_metrics): Renamed
6726 device_metrics enum constants.
6727 Return Qunbound instead of Qnil.
6729 * device-tty.c (tty_device_system_metrics): Ditto.
6731 * device-x.c (x_device_system_metrics): Ditto.
6733 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6735 * redisplay-msw.c: implement background pixmaps (really!). Make
6736 sure bg color is transparent if we have bg pmaps.
6737 * (mswindows_output_string) (mswindows_clear_region): output bg
6739 * (mswindows_output_dibitmap_region): new function.
6740 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6741 the bg color rather than transparently.
6743 * toolbar-msw.c: use masks if they exist.
6745 * glyphs-msw.c: set up masks correctly.
6747 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6749 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6751 * regex.c (re_match_2_internal): Check for quit.
6753 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6755 * frame.c (Ffocus_frame): New function.