1 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (vars_of_mule_charset):
4 Update `utf-2000-version' to 0.6.
6 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
9 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
10 - Include character.h for `CHAR_ASCII_P'.
12 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
14 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
15 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
17 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
18 (BYTE_C0_P): Likewise.
19 (BYTE_C1_P): Likewise.
20 (Lstream_get_emchar_1): Likewise.
21 (Lstream_fput_emchar): Likewise.
22 (Lstream_funget_emchar): Likewise.
23 (copy_internal_to_external): Likewise.
24 (copy_external_to_internal): Likewise.
26 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
27 (BYTE_C0_P): Likewise.
28 (BYTE_C1_P): Likewise.
29 (Lstream_get_emchar_1): Likewise.
30 (Lstream_fput_emchar): Likewise.
31 (Lstream_funget_emchar): Likewise.
32 (copy_internal_to_external): Likewise.
33 (copy_external_to_internal): Likewise.
35 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
36 (REP_BYTES_BY_FIRST_BYTE): Likewise.
38 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
39 (BYTE_ASCII_P): Moved to mb-1byte.h.
41 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
43 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
45 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
46 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
47 (VALID_CHARPTR_P): Moved to mb-*byte.h.
48 (VALIDATE_CHARPTR_BACKWARD): Likewise.
49 (VALIDATE_CHARPTR_FORWARD): Likewise.
50 (simple_charptr_emchar): Moved to mb-multibyte.h.
51 (simple_set_charptr_emchar): Likewise.
52 (simple_charptr_copy_char): Likewise.
53 (non_ascii_charptr_emchar): Likewise.
54 (non_ascii_set_charptr_emchar): Likewise.
55 (non_ascii_charptr_copy_char): Likewise.
56 (charptr_emchar): Moved to mb-*byte.h.
57 (set_charptr_emchar): Likewise.
58 (charptr_copy_char): Likewise.
60 * mb-1byte.h, mb-multibyte.h: New files.
62 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
64 * mb-utf-8.h (MULTIBYTE): New macro.
65 (MAX_EMCHAR_LEN): Moved from buffer.h.
66 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
68 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
70 * mb-lb.h, multibyte.h: New files.
72 * char-1byte.h (Charset_ID): Moved from buffer.h.
73 (MIN_LEADING_BYTE): Likewise.
74 (LEADING_BYTE_ASCII): Likewise.
75 (NUM_LEADING_BYTES): Likewise.
77 (CHARSET_BY_LEADING_BYTE): Likewise.
78 (XCHARSET_LEADING_BYTE): Likewise.
79 (XCHARSET_GRAPHIC): Likewise.
80 (XCHARSET_COLUMNS): Likewise.
81 (XCHARSET_DIMENSION): Likewise.
82 (CHAR_CHARSET): Likewise.
83 (CHAR_LEADING_BYTE): Likewise.
84 (BREAKUP_CHAR): Likewise.
85 (Vcharset_ascii): Likewise.
87 * buffer.h: Include multibyte.h unconditionally.
88 (VALID_CHARPTR_P): Moved to multibyte.h.
89 (ASSERT_VALID_CHARPTR): Likewise.
90 (REAL_INC_CHARPTR): Likewise.
91 (REAL_INC_CHARBYTIND): Likewise.
92 (REAL_DEC_CHARPTR): Likewise.
93 (INC_CHARPTR): Likewise.
94 (INC_CHARBYTIND): Likewise.
95 (DEC_CHARPTR): Likewise.
96 (VALIDATE_CHARPTR_BACKWARD): Likewise.
97 (VALIDATE_CHARPTR_FORWARD): Likewise.
98 (charptr_n_addr): Likewise.
99 (MAX_EMCHAR_LEN): Moved to mb-*.h.
100 (simple_charptr_emchar): Moved to multibyte.h.
101 (simple_set_charptr_emchar): Likewise.
102 (simple_charptr_copy_char): Likewise.
103 (non_ascii_charptr_emchar): Likewise.
104 (non_ascii_set_charptr_emchar): Likewise.
105 (non_ascii_charptr_copy_char): Likewise.
106 (charptr_emchar): Likewise.
107 (set_charptr_emchar): Likewise.
108 (charptr_copy_char): Likewise.
109 (charptr_emchar_n): Likewise.
110 (Charset_ID): Moved to char-1byte.h.
111 (Vcharset_ascii): Likewise.
112 (CHAR_CHARSET): Likewise.
113 (CHAR_LEADING_BYTE): Likewise.
114 (LEADING_BYTE_ASCII): Likewise.
115 (NUM_LEADING_BYTES): Likewise.
116 (MIN_LEADING_BYTE): Likewise.
117 (CHARSETP): Likewise.
118 (CHARSET_BY_LEADING_BYTE): Likewise.
119 (XCHARSET_LEADING_BYTE): Likewise.
120 (XCHARSET_GRAPHIC): Likewise.
121 (XCHARSET_COLUMNS): Likewise.
122 (XCHARSET_DIMENSION): Likewise.
123 (BREAKUP_CHAR): Likewise.
125 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
127 * character.h: Add document about interface for characters.
129 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
130 (MAKE_CHAR): Delete comment about
131 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
132 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
133 (BREAKUP_CHAR): Modify name of arguments.
134 (CHAR_CHARSET): Modify name of argument.
136 * buffer.h: Delete document about Emchar accessors.
138 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
140 * character.h (CHAR_INTP): Moved from buffer.h
141 (CHAR_OR_CHAR_INTP): Likewise.
142 (XCHAR_OR_CHAR_INT): Likewise.
143 (CHECK_CHAR_COERCE_INT): Likewise.
145 * buffer.h (CHAR_INTP): Moved to character.h
146 (CHAR_OR_CHAR_INTP): Likewise.
147 (XCHAR_OR_CHAR_INT): Likewise.
148 (CHECK_CHAR_COERCE_INT): Likewise.
150 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
153 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
154 - Include char-1byte.h, char-lb.h or char-ucs.h.
156 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
158 * buffer.h: Include character unconditionally.
159 (valid_char_p): Moved to char-*.h.
160 (non_ascii_valid_char_p): Moved to char-lb.h.
162 * char-1byte.h, char-lb.h, char-ucs.h: New files.
164 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
166 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
167 in UTF-2000 because it is not ported yet and not to use
168 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
169 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
170 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
172 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
173 (CHAR_ASCII_P): Moved from character.h.
175 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
176 (CHAR_ASCII_P): Likewise.
177 (CHAR_FIELD1_MASK): Deleted.
178 (CHAR_FIELD2_MASK): Deleted.
179 (CHAR_FIELD3_MASK): Deleted.
180 (MAX_CHAR_BASIC_LATIN): New macro.
181 (CHAR_FIELD1): Deleted.
182 (CHAR_FIELD2_INTERNAL): Deleted.
183 (CHAR_FIELD3_INTERNAL): Deleted.
184 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
185 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
186 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
187 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
188 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
189 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
190 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
191 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
192 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
193 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
194 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
195 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
196 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
197 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
198 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
199 (MIN_CHAR_COMPOSITION): Deleted.
200 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
201 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
203 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
205 * buffer.h: Include mb-utf-8.h in UTF-2000.
207 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
209 * mb-utf-8.h: New file.
211 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
213 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
216 * mule-charset.h, buffer.h (Charset_ID): New type.
218 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
220 * mule-canna.c (c2mu): Use `MAKE_CHAR',
221 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
222 instead of `MULE_CHAR_PRIVATE_OFFSET',
223 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
224 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
225 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
227 * character.h (Vcharset_japanese_jisx0212): New variable
230 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
232 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
233 (charset_by_attributes): Delete array about direction.
234 (latin_a_char_to_charset): New variable in UTF-2000.
235 (latin_a_char_to_byte1): New variable in UTF-2000.
236 (latin_a_char_to_byte2): New variable in UTF-2000.
237 (Qucs_bmp): New variable.
238 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
240 (next_allocated_2_byte_leading_byte): Likewise.
241 (non_ascii_set_charptr_emchar): Likewise.
242 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
243 `CHARSET_TYPE_256X256' in UTF-2000; modify for
244 `charset_by_attributes'.
245 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
246 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
247 and `CHARSET_BY_LEADING_BYTE'.
248 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
249 `utf-2000-version' to `vars_of_mule_charset'.
250 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
251 define `leading-code-private-11' in UTF-2000; move setting of
252 `utf-2000-version' from `syms_of_mule_charset'.
253 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
256 * character.h (Charset_ID): New type.
257 (LEADING_BYTE_UCS_BMP): New macro.
258 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
259 (CHARSET_ID_OFFSET_94): New macro.
260 (MIN_CHARSET_ID_PRIVATE_94): New macro.
261 (MAX_CHARSET_ID_PRIVATE_94): New macro.
262 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
264 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
265 (LEADING_BYTE_LATIN_JISX0201): Likewise.
266 (CHARSET_ID_OFFSET_96): New macro.
267 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
268 CHARSET_ID_OFFSET_96 and final-byte.
269 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
270 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
271 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
272 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
273 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
274 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
275 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
276 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
277 (LEADING_BYTE_THAI_TIS620): Likewise.
278 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
279 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
280 (CHARSET_ID_OFFSET_94x94): New macro.
281 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
282 CHARSET_ID_OFFSET_94x94 and final-byte.
283 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
284 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
285 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
286 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
287 (LEADING_BYTE_CHINESE_GB2312): Likewise.
288 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
289 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
290 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
291 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
292 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
293 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
294 (CHARSET_TYPE_128X128): New macro.
295 (CHARSET_TYPE_256X256): New macro.
296 (XCHARSET_PRIVATE_P): Delete unconditionally.
297 (charset_by_attributes): Delete array about direction.
298 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
299 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
300 (MIN_CHAR_94): New macro.
301 (MAX_CHAR_94): New macro.
302 (MIN_CHAR_96): New macro.
303 (MAX_CHAR_96): New macro.
304 (MIN_CHAR_94x94): New macro.
305 (MAX_CHAR_94x94): New macro.
306 (MIN_CHAR_96x96): New macro.
307 (MAX_CHAR_96x96): New macro.
308 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
309 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
310 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
312 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
313 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
314 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
315 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
316 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
317 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
318 `XCHARSET_LEADING_BYTE' to make code-point.
319 (latin_a_char_to_charset): New variable.
320 (latin_a_char_to_byte1): New variable.
321 (latin_a_char_to_byte2): New variable.
322 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
323 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
324 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
326 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
327 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
328 (find_charsets_in_emchar_string): Likewise.
329 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
331 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
333 (decode_coding_iso2022): Likewise.
335 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
338 * redisplay.c (redisplay_text_width_emchar_string): Use
339 `Charset_ID' instead of `unsigned char'.
340 (redisplay_frame_text_width_string): Likewise.
342 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
345 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
346 instead of `unsigned char'.
347 (face_cachel_charset_font_metric_info): Likewise.
349 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
350 (get_non_ascii_char_table_value): Likewise.
351 (get_char_table): Likewise.
352 (put_char_table): Likewise.
353 (map_over_other_charset): Likewise.
354 (map_char_table): Likewise.
356 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
357 instead of `unsigned char'.
359 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
361 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
362 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
364 * mule-charset.c (leading_code_private_11): Don't define in
367 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
368 in UTF-2000 because it is not ported yet and not to use
369 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
371 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
373 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
375 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
377 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
380 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
381 of unsigned char to store leading-byte.
383 * chartab.c (get_non_ascii_char_table_value): Don't use
384 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
386 * file-coding.c (encode_coding_big5): Delete bogus implementation
389 * character.h (LEADING_BYTE_*): Delete definition for
391 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
392 (LEADING_BYTE_PREFIX_P): Deleted.
393 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
394 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
395 (BUFBYTE_LEADING_BYTE_P): Deleted.
396 (CHARSET_PRIVATE_P): Deleted unconditionally.
397 (rep_bytes_by_first_byte): Deleted unconditionally.
398 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
399 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
400 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
401 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
402 (CHAR_FIELD2): Deleted.
403 (CHAR_FIELD3): Deleted.
404 (MAKE_CHAR): Delete definition for non-UTF-2000.
405 (BREAKUP_CHAR_1_UNSAFE): Deleted.
406 (breakup_char_1): New implementation.
407 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
408 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
410 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
412 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
415 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
417 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
418 (CHARSET_PRIVATE_P): Likewise.
419 (XCHARSET_PRIVATE_P): Likewise.
420 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
422 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
424 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
426 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
428 * character.h (LEADING_BYTE_*): Changed in UTF2000.
429 (NUM_LEADING_BYTES): Changed from 128 to 256.
430 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
431 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
433 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
435 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
437 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
438 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
439 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
440 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
441 (Qchinese_cns11643_3): New variable in UTF2000.
442 (Qchinese_cns11643_4): New variable in UTF2000.
443 (Qchinese_cns11643_5): New variable in UTF2000.
444 (Qchinese_cns11643_6): New variable in UTF2000.
445 (Qchinese_cns11643_7): New variable in UTF2000.
446 (syms_of_mule_charset): Define `chinese-cns11643-3',
447 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
448 and `chinese-cns11643-7' in UTF2000.
449 (vars_of_mule_charset): Initialize
450 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
452 (complex_vars_of_mule_charset): Setup charset
453 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
454 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
456 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
458 * mule-charset.c: Move setting for `leading-code-private-11' from
459 `syms_of_mule_charset' to `vars_of_mule_charset'.
461 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
463 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
464 and `NUM_LEADING_BYTES' in assert.
466 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
468 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
470 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
471 `NUM_LEADING_BYTES' instead of 128.
473 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
475 * mule-charset.h (charset_by_leading_byte): Use
476 `NUM_LEADING_BYTES' instead of 128.
477 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
479 * mule-charset.c (charset_by_leading_byte): Use
480 `NUM_LEADING_BYTES' instead of 128.
481 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
483 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
486 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
488 * mule-charset.c (syms_of_mule_charset): Update to
491 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
493 * file-coding.c (encode_coding_sjis): New implementation for
494 UTF2000. (decode_coding_sjis): Ditto.
496 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
498 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
499 Don't define in UTF2000.
501 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
504 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
505 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
508 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
510 * config.h.in (CHAR_IS_UCS4): New macro.
512 * mule-charset.c (rep_bytes_by_first_byte): Modify for
513 conventional MULE representation.
514 (syms_of_mule_charset): Update to 0.3 (Imamiya).
516 * mule-charset.h: Reverted to original.
518 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
519 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
520 "mule-charset.h" if CHAR_IS_UCS4 is defined.
522 * character.h: New file.
524 * file-coding.c (Fmake_coding_system): Set 1 to
525 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
527 (encode_coding_no_conversion): New implementation for UTF2000.
529 * file-coding.h (struct Lisp_Coding_System): Add new member
532 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
534 * file-coding.c (decode_coding_iso2022): Code-point arguments of
535 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
536 (encode_coding_iso2022): New implementation for UTF2000.
538 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
540 * mule-canna.c (c2mu): New implementation for UTF2000.
543 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
545 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
547 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
549 * file-coding.c (reset_encoding_stream): Set 0 to
550 `str->iso2022.current_char_boundary' in UTF2000.
551 (encode_utf8): Don't define in UTF2000.
552 (encode_coding_utf8): New implementation for UTF-8 representation
554 (complex_vars_of_file_coding): Define coding-system `utf-8'.
556 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
558 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
560 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
562 (REP_BYTES_BY_FIRST_BYTE): Likewise.
564 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
566 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
567 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
569 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
570 (non_ascii_valid_char_p): Don't define in UTF2000.
571 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
572 (Lstream_get_emchar_1): Likewise.
573 (utf-2000-version): New variable in UTF2000.
575 * lread.c (read_escape): Add new reader `u'.
577 * insdel.c (three_to_one_table): Don't define in UTF2000.
578 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
579 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
581 (bytind_to_bufpos_func): Likewise.
582 (buffer_mule_signal_inserted_region): Likewise.
583 (vars_of_insdel): Don't initialize `three_to_one_table'.
584 (init_buffer_text): Use `buf->text->mule_size' instead of
585 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
588 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
589 UTF-8 representation in UTF2000.
590 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
591 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
592 (decode_coding_iso2022): Don't define local variable `lb' in
593 UTF2000; don't use LEADING_BYTE in UTF2000; use
594 `DECODE_ADD_UCS_CHAR' in UTF2000.
595 (convert_to_external_format): Decode as UTF-8 in UTF2000.
597 * config.h.in (UTF2000): New macro.
599 * buffer.h (struct buffer_text): Add new member `mule_size' and
600 don't add `mule_shifter' and `mule_three_p' in UTF2000.
601 (valid_char_p): Return always 1 in UTF2000.
602 (MAX_EMCHAR_LEN): 6 in UTF2000.
603 (three_to_one_table): Don't define in UTF2000.
604 (real_bufpos_to_bytind): Modify for UTF-8 representation in
606 (real_bytind_to_bufpos): Likewise.
608 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
610 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
612 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
613 representation change.
614 (Vutf_2000_version): New variable.
615 (leading_code_private_11): New variable.
616 (syms_of_mule_charset): Add new variables `utf-2000-version' and
617 `leading-code-private-11'.
619 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
620 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
621 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
622 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
623 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
624 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
625 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
626 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
627 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
628 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
629 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
630 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
631 (MIN_CHAR_GREEK): New macro.
632 (MAX_CHAR_GREEK): New macro.
633 (MIN_CHAR_CYRILLIC): New macro.
634 (MAX_CHAR_CYRILLIC): New macro.
635 (MIN_CHAR_HEBREW): New macro.
636 (MAX_CHAR_HEBREW): New macro.
637 (MIN_CHAR_THAI): New macro.
638 (MAX_CHAR_THAI): New macro.
639 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
640 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
641 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
642 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
643 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
644 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
645 (CHAR_FIELD2): New inline function.
646 (CHAR_FIELD3): New inline function.
647 (MULE_CHAR_PRIVATE_OFFSET): New macro.
648 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
649 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
650 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
651 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
652 (MIN_CHAR_COMPOSITION): Likewise.
653 (CHAR_LEADING_BYTE): Modified for character representation change.
654 (MAKE_CHAR): Likewise.
656 * lisp.h (Vcharset_latin_iso8859_1): New variable.
657 (Vcharset_greek_iso8859_7): Likewise.
658 (Vcharset_cyrillic_iso8859_5): Likewise.
659 (Vcharset_hebrew_iso8859_8): Likewise.
660 (Vcharset_thai_tis620): Likewise.
661 (Vcharset_katakana_jisx0201): Likewise.
663 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
665 * file-coding.c (determine_real_coding_system): Treat `coding:'
668 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
670 * file-coding.c (struct decoding_stream): New member `counter'.
671 (reset_decoding_stream): Initialize `counter'.
672 (decode_coding_ucs4): Use `counter'.
673 (decode_coding_utf8): Likewise.
675 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
677 * XEmacs 21.2.19 is released
679 1999-07-27 Jeff Miller <jmiller@smart.net>
681 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
682 menubar_show_keybindings.
684 1999-07-23 SL Baur <steve@miho>
686 * mule-charset.c (syms_of_mule_charset): Delete duplicated
687 definition of Qccl_program.
689 * mule-ccl.h: Make a global declaration of it here.
691 1999-07-20 Bob Weiner <weiner@beopen.com>
693 * s/sco7.h: Added from rr@sco.com.
695 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
697 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
699 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
701 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
702 (mule_encode): Likewise.
704 * mule-ccl.c (Qccl_program): New variable.
705 (CCL_SUSPEND): New macro.
706 (CCL_INVALID_CMD): New macro.
707 (CCL_READ_CHAR): Don't regard as invalid command while processing
708 the last block even if input is empty; use
709 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
710 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
712 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
713 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
714 (CCL_STAT_SUSPEND_BY_DST): Likewise.
715 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
716 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
718 1999-05-04 Ken'ichi Handa <handa@gnu.org>
720 * mule-ccl.h (struct ccl_program): New member stack_idx.
722 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
723 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
725 (setup_ccl_program): Initialize ccl->stack_idx to 0.
727 1998-10-12 Kenichi Handa <handa@etl.go.jp>
729 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
732 1998-08-18 Kenichi Handa <handa@etl.go.jp>
734 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
735 processing the last block, don't just finish but processes eol
736 block of the current CCL program.
737 (ccl_driver): Add a new jump label ccl_repeat for the above
740 1998-04-15 Kenichi Handa <handa@etl.go.jp>
742 * mule-ccl.c: Typo in comments fixed.
743 (Qccl_program_idx): New variables.
744 (CCL_ReadMultibyteChar2): Macro name changed from
745 CCL_ReadMultibyteCharacter.
746 (CCL_WriteMultibyteChar2): Macro name changed from
747 CCL_WriteMultibyteChar2.
748 (ccl_driver): Adjusted for the above changes.
749 (resolve_symbol_ccl_program): New function.
750 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
751 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
752 numbers by resolve_symbol_ccl_program.
753 (Fccl_execute_on_string): Likewise.
754 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
755 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
757 1998-01-21 Kenichi Handa <handa@etl.go.jp>
759 * mule-ccl.h: (struct ccl_program): New member private_state.
762 (CCL_Call): Fix the comment.
763 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
764 macros for CCL Commands.
766 (ccl_driver): New case lable `CCL_Extention'.
767 (setup_ccl_program): Initialize the member `private_state' of CCL.
769 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
771 * keymap.c (copy_keymap_internal): Inherit the default binding.
773 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
775 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
776 focus the event (XIM_focus_event).
777 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
778 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
779 the interface for future use (XIM_SetGeometry).
780 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
781 location (XIM_SetSpotLocation).
782 (x_output_eol_cursor): Ditto.
784 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
786 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
787 Olivier's change to lrecord.h of 1999-04-22
789 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
791 * gutter.c (redraw_exposed_gutter): Change type of pos from
792 enum toolbar_pos -> enum gutter_pos, since former is only defined
793 if toolbar support is.
795 1999-07-19 Andy Piper <andy@xemacs.org>
797 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
800 * gutter.c (gutter_validate): new function for the gutter specifier.
801 (specifier_type_create_gutter): declare specifier validator.
803 * buffer.h (INC_CHARBYTIND): add for no error checking version.
805 1999-07-18 Andy Piper <andy@xemacs.org>
807 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
809 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
811 (mswindows_resize_subwindow): new function.
813 * gutter.c (redraw_exposed_gutter): only reset the
814 current_display_lines if non-zero.
815 (Fgutter_pixel_height): new function.
816 (Fgutter_pixel_width): new function.
818 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
819 we want to retrive from the tab control.
821 1999-07-17 Andy Piper <andy@xemacs.org>
823 * window.c (change_window_height): mark gutters changed when we're
826 * gutter.c (specifier_vars_of_gutter): make defaults more
829 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
831 (DEFAULT_GUTTER_WIDTH): change.
832 (DEFAULT_GUTTER_BORDER_WIDTH): change.
834 1999-07-18 Andy Piper <andy@xemacs.org>
836 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
838 1999-07-16 Andy Piper <andy@xemacs.org>
840 * frame.c (Fmake_frame): call init_frame_gutters().
842 * redisplay.c (add_emchar_rune): use string functions if we are
843 working with a string.
844 (position_redisplay_data_type): add string element.
846 1999-07-15 Andy Piper <andy@xemacs.org>
848 * winslots.h: add real_gutter_size slots to hold the actual gutter
849 size. This is important for autodetected sizes.
851 * gutter.c (calculate_gutter_size): calculate size for gutters
852 that have 'autodetect size.
854 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
855 extent of divider for gutters.
857 * redisplay-x.c (x_output_vertical_divider): adjust extent of
860 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
861 position to take into account the gutters.
863 * redisplay.c (generate_modeline): adjust modeline position to
864 take into account the gutters.
866 1999-07-14 Andy Piper <andy@xemacs.org>
868 * gutter.c (frame_topmost_window): new function.
869 (frame_bottommost_window): ditto.
870 (frame_leftmost_window): ditto.
871 (frame_rightmost_window): ditto.
873 1999-07-13 Andy Piper <andy@xemacs.org>
875 * redisplay.c (calculate_display_line_boundaries): use text
876 boundaries so that gutters get handled properly.
878 1999-07-12 Andy Piper <andy@xemacs.org>
880 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
883 * redisplay-output.c (redisplay_clear_to_window_end): generalised
886 * redisplay-x.c (redisplay_clear_to_window_end): moved to
889 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
891 * gutter.c: new file - implements gutters. All new functions are
892 semantically equivalent to the toolbar functions.
893 (gutter_was_visible): new function.
894 (get_gutter_coords): ditto.
895 (output_gutter): ditto.
896 (clear_gutter): ditto.
897 (update_frame_gutters): ditto.
898 (redraw_exposed_gutter): ditto.
899 (redraw_exposed_gutters): ditto.
900 (free_frame_gutters): ditto.
901 (init_frame_gutters): ditto.
902 (decode_gutter_position): ditto.
903 (Fset_default_gutter_position): ditto.
904 (Fset_default_gutter_position): ditto.
905 (Fdefault_gutter_position): ditto.
906 (gutter_after_change): ditto.
907 (Fgutter_specifier_p): ditto.
908 (recompute_overlaying_specifier): ditto.
909 (gutter_specs_changed): ditto.
910 (default_gutter_specs_changed): ditto.
911 (gutter_geometry_changed_in_window): ditto.
912 (default_gutter_size_changed_in_window): ditto.
913 (default_gutter_border_width_changed_in_window): ditto.
914 (default_gutter_visible_p_changed_in_window): ditto.
915 (syms_of_gutter): ditto.
916 (vars_of_gutter): ditto.
917 (specifier_type_create_gutter): ditto.
918 (specifier_vars_of_gutter): ditto.
920 * gutter.h: new file. Contains gutter constants and sizing macros
921 similar to those for the toolbar.
923 * winslots.h: add gutter variables.
925 * window.h: declare window_is_* functions.
927 * window.c (window_is_lowest): make non-static.
928 (window_is_highest): ditto.
929 (window_top_toolbar_height): deleted.
930 (window_bottom_toolbar_height): deleted.
931 (window_left_toolbar_width): deleted.
932 (window_right_toolbar_width): deleted.
933 (window_top_gutter_height): add gutter sizing.
934 (window_bottom_gutter_height): ditto.
935 (window_left_gutter_width): ditto.
936 (window_right_gutter_width): ditto.
938 * symsinit.h: declarations for gutters vars etc.
940 * search.c (bi_find_next_emchar_in_string): new function.
942 * scrollbar.c (update_scrollbar_instance): remove reference to
943 window_bottom_toolbar_height which did nothing.
945 * redisplay.h (struct display_line): add face indices for
946 overriding defaults in output_display_line.
947 Add gutter_changed flags and declarations.
949 * redisplay.c (create_string_text_block): new function, similar to
950 create_text_block but for strings. Display tables etc are used
951 from the currently selected window.
952 (generate_string_display_line): ditto. Similar to
953 generate_display_line.
954 (generate_displayable_area): generate display lines for a given
955 area on a frame. Input is the string, with associated extents, to
957 (redisplay_frame): add gutter_changed check.
958 (redisplay_device): ditto.
959 (redisplay_without_hooks): ditto.
961 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
962 (x_redraw_exposed_area): redraw exposed gutters.
963 (x_bevel_area): new redisplay device method.
964 (x_type_create_redisplay_mswindows): add bevel_area device method.
965 (x_output_display_block): fiddly Martin-style cleanup.
966 (x_output_vertical_divider): use bevel_area.
968 * redisplay-output.c (output_display_line): check display_lines
969 for face information before using defaults.
970 (bevel_modeline): new function, calls bevel_area with appropriate
973 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
974 (mswindows_redraw_exposed_area): redraw exposed gutters.
975 (mswindows_bevel_area): new redisplay device method.
976 (console_type_create_redisplay_mswindows): add bevel_area device
979 * indent.c (string_column_at_point): add column_at_point but for
982 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
983 instantiate widgets that we have a toolkit for.
985 * general.c: add Qgutter.
987 * frame.h (struct frame): add display lines for gutters and
990 * frame.c (set_frame_selected_window): mark gutters changed.
992 * emacs.c (main_1): add gutter initialisation.
994 * device.h (struct device): add gutter_changed flag and macros to
997 * console.h (struct console_methods): new bevel area redisplay
1000 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1001 REAL_INC_BYTIND is for buffers.
1002 (INC_CHARPTR): ditto.
1004 * Makefile.in.in (objs): add gutter.o
1006 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1008 * XEmacs 21.2.18 is released
1010 1999-07-08 SL Baur <steve@mule.m17n.org>
1012 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1014 (emacs_Xt_handle_magic_event): Ditto.
1015 * redisplay-x.c (x_output_string): Ditto.
1016 (x_output_eol_cursor): Ditto.
1018 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1020 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1021 problem that when XIM is destroyed or missed with some reason,
1022 xemacs will die. Now xim=xlib waits the XIM will be ready and
1023 endures the case of XIM end up.
1025 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1027 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1028 SIGINT and SIGCHLD before calling tt_open and restore the
1029 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1031 1999-07-06 SL Baur <steve@xemacs.org>
1033 * s/linux.h: gcc-2.8 changes for powerpc
1034 From Justin Vallon <vallon@mindspring.com>
1036 1999-07-05 Didier Verna <verna@inf.enst.fr>
1038 * indent.c: new symbol Qcoerce.
1039 (Fmove_to_column): use it + doc string update.
1041 1999-07-04 Andy Piper <andy@xemacs.org>
1043 * console.c: undo earlier Fprovide changes.
1047 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1048 function. validate appropriate image formats for tty.
1050 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1051 initialize consoles parameter.
1052 (struct image_instantiator_methods): add consoles parameter.
1053 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1055 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1058 * glyphs-msw.c: declare instantiators for later use.
1059 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1060 and friends on the mswindows console.
1061 * glyphs-x.c: ditto.
1063 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1064 that have not been registered on the supplied device.
1065 (Fvalid_image_instantiator_format_p): add locale argument.
1066 (instantiate_image_instantiator): valid image instantiator on the
1069 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1072 * emacs.c (main_1): add call to
1073 image_instantiator_format_create_glyphs_tty().
1075 1999-06-29 Olivier Galibert <galibert@pobox.com>
1077 * lisp.h: Add #include <stddef.h>.
1079 * sysdep.c: Remove #include <stddef.h>.
1080 * symbols.c: Remove #include <stddef.h>.
1081 * sheap.c: Remove #include <stddef.h>.
1082 * opaque.c: Remove #include <stddef.h>.
1083 * nt.c: Remove #include <stddef.h>.
1084 * mule-charset.c: Remove #include <stddef.h>.
1085 * marker.c: Remove #include <stddef.h>.
1086 * file-coding.c: Remove #include <stddef.h>.
1087 * extents.c: Remove #include <stddef.h>.
1088 * elhash.c: Remove #include <stddef.h>.
1089 * data.c: Remove #include <stddef.h>.
1090 * chartab.c: Remove #include <stddef.h>.
1091 * bytecode.c: Remove #include <stddef.h>.
1092 * alloc.c: Remove #include <stddef.h>. Fix vector description
1094 1999-06-30 SL Baur <steve@miho.m17n.org>
1096 * editfns.c: Document "%s" format spec.
1097 Suggested by Bob Weiner <weiner@altrasoft.com>
1099 1999-06-29 Andy Piper <andy@xemacs.org>
1101 * event-msw.c: fix definition booboo.
1103 1999-06-28 Andy Piper <andy@xemacs.org>
1105 * glyphs-x.c: change tree -> tree-view, progress ->
1106 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1108 (complex_vars_of_glyphs_x): provide-on-console the implemented
1111 * glyphs-msw.c: ditto.
1112 (complex_vars_of_glyphs_mswindows): ditto.
1114 * lisp.h: add Fprovide_on_console.
1116 * fns.c (Ffeaturep): add extra optional console argument.
1117 (Fprovide_on_console): like Fprovide but provides only on the
1118 specified console-type.
1119 (Frequire): check console-features as well as global features.
1121 * console.c (Fconsole_features): new function. return features for
1123 (syms_of_console): add Fconsole_features.
1125 * console.h (CONMETH_FEATURES): new function for accessing features.
1126 (CONSOLE_FEATURES): ditto.
1127 (struct console_methods): add features slot.
1128 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1130 1999-06-28 Andy Piper <andy@xemacs.org>
1132 * event-Xt.c (handle_focus_event_1): conditionally compile for
1135 * s/cygwin32.h: fix me website address.
1137 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1139 * gui-x.c (button_item_to_widget_value): only add callback if it
1142 * glyphs-x.c: add progress, edit and combo instantiators.
1143 (x_widget_set_property): new function. uses lwlib to set widget
1145 (x_widget_property): new function. uses lwlib to get widget
1147 (x_button_instantiate): support images in buttons.
1148 (x_button_property): new function. use lwlib to get the selected
1150 (x_progress_instantiate): new function for instantiating progress
1152 (x_progress_set_property): new function. sets the progress gauge
1154 (x_edit_instantiate): new function. for instantiating edit fields.
1155 (x_combo_instantiate): new function. for instantiating combo
1157 (image_instantiator_format_create_glyphs_x): add new device ii
1160 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1162 * console.h (CONSOLE_FEATURES): new features accesor.
1164 * conslots.h (MARKED_SLOT): add features entry.
1166 1999-06-25 Andy Piper <andy@xemacs.org>
1168 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1171 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1173 * gui.h (struct Lisp_Gui_Item): add accelerator.
1175 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1176 (gui_item_init): ditto.
1177 (gui_add_item_keywords_to_plist): ditto.
1178 (mark_gui_item): ditto.
1179 (gui_item_hash): ditto.
1180 (gui_item_accelerator): new function.
1181 (gui_name_accelerator): new function stolen from gui-x.c
1183 * gui-x.c (popup_selection_callback): always define. mark
1184 subwindows changed after calling a callback.
1185 (menu_name_to_accelerator): deleted.
1186 (button_item_to_widget_value): forward gui_item things to gui_item
1189 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1190 appropriate accesors.
1192 * glyphs-x.c: declare new glyph formats.
1193 (x_finalize_image_instance): unmanage and destroy widgets if they
1195 (x_unmap_subwindow): handle widgets specially.
1196 (x_map_subwindow): ditto. offset display of widgets by offset of
1197 text widget within container.
1198 (x_update_subwindow): new function. call lw_modify_all_widgets
1199 when we are a widget.
1200 (x_widget_instantiate): new function for generically creating
1201 widgets-glyphs. toolkit specifics forwarded to lwlib.
1202 (x_button_instantiate): new function for instantiating
1203 widgets-glyph buttons.
1204 (console_type_create_glyphs_x): register update_subwindow.
1205 (image_instantiator_format_create_glyphs_x): register widget and
1208 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1210 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1211 when we get a button press in case we do not have the focus.
1212 (handle_focus_event_1): set the keyboard focus to the text widget
1213 if we do not have it.
1215 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1218 1999-06-24 SL Baur <steve@miho.m17n.org>
1220 * syntax.c (scan_words): Restore non-Mule code.
1221 (word_constituent_p): Restore.
1223 1999-06-23 Olivier Galibert <galibert@pobox.com>
1225 * config.h.in: Add missing #undef *_USER_DEFINED.
1227 1999-06-23 SL Baur <steve@miho.m17n.org>
1229 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1230 int (fixes a 64-bit problem).
1232 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1235 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1237 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1239 1999-06-22 Olivier Galibert <galibert@pobox.com>
1241 * lrecord.h: Added basic external description system.
1243 * symbols.c: Added symbol, symbol-value-buffer-local,
1244 symbol-value-lisp-magic and symbol-value-varalias description.
1245 * mule-charset.c: Added charset description.
1246 * marker.c: Added marker description.
1247 * keymap.c: Added keymap description.
1248 * glyphs.c: Added glyph description.
1249 * floatfns.c: Added float description.
1250 * file-coding.c: Added coding-system description.
1251 * extents.c: Added extent description.
1252 * elhash.c: Added hash-table description.
1253 * data.c: Added weak-list desciption.
1254 * chartab.c: Added char-table-entry and char-table description.
1255 * bytecode.c: Added compiled-function description.
1256 * alloc.c: Added cons, vector and string description.
1258 1999-06-22 Olivier Galibert <galibert@pobox.com>
1260 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1261 Updated everything to the removal of the "flags" substructure.
1263 * lisp.h (subr_lheader_initializer): Updated.
1264 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1266 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1268 * syntax.c (word_constituent_p): Deleted.
1269 (scan_words): Use `WORD_BOUNDARY_P'.
1271 * chartab.c (Vword_combining_categories): New variable.
1272 (Vword_separating_categories): Likewise.
1273 (CATEGORYP): New macro.
1274 (CATEGORY_SET): Likewise.
1275 (CATEGORY_MEMBER): Likewise.
1276 (word_boundary_p): New function.
1277 (complex_vars_of_chartab): Set up new variable
1278 `word-combining-categories' and `word-separating-categories'.
1280 1999-06-18 Olivier Galibert <galibert@pobox.com>
1282 * lrecord.h: Added description as a placehold in the lrecord
1283 implementation structures. Added the parameter to all constructor
1286 * alloc.c: Added placeholders.
1288 * bytecode.c: Ditto.
1292 * database.c: Ditto.
1297 * event-stream.c: Ditto.
1301 * file-coding.c: Ditto.
1302 * floatfns.c: Ditto.
1310 * mule-charset.c: Ditto.
1314 * rangetab.c: Ditto.
1315 * specifier.c: Ditto.
1318 * tooltalk.c: Ditto.
1321 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1323 * XEmacs 21.2.17 is released
1325 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1327 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1328 (HAVE_LDAP_GET_LDERRNO): Ditto
1329 (HAVE_LDAP_RESULT2ERROR): Ditto
1330 (HAVE_LDAP_PARSE_RESULT): Ditto
1331 (HAVE_UMICH_LDAP): Removed
1332 (HAVE_NS_LDAP): Removed
1334 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1335 suggested by Olivier Galibert
1336 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1338 * eldap.c: Take the removal of `livep' into account in all the
1340 (signal_ldap_error): Take two additional parameters
1341 Added new finer compilation conditions in order to use
1342 ldap_parse_result or ldap_result2error if available
1343 (Fldap_open): Conform to this new API
1344 (Fldap_search_internal): Ditto
1346 1999-06-17 SL Baur <steve@miho.m17n.org>
1348 * data.c (struct int_or_double): Should use EMACS_INT not int.
1350 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1352 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1355 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1357 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1358 `CCL_MODE_ENCODING'.
1360 * file-coding.c (mule_decode): Run `ccl_driver' with
1361 `CCL_MODE_DECODING'.
1362 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1364 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1365 (ccl_driver): Add new argument `conversion_mode'.
1366 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1367 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1368 new optional argument].
1370 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1371 (CCL_MODE_DECODING): New macro.
1372 (ccl_driver): Add new argument `conversion_mode'.
1374 1999-06-15 SL Baur <steve@miho.m17n.org>
1376 * mule-charset.c (Fsplit_char): New subr.
1377 (Fchar_octet): delete.
1378 (syms_of_mule_charset): DEFSUBR it.
1380 1999-06-13 Andy Piper <andy@xemacs.org>
1382 * menubar.h: update declarations involving gui_items.
1384 * lisp.h: declare Lisp_Gui_Item.
1386 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1388 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1389 (print_image_instance): ditto.
1390 (image_instance_equal): ditto.
1391 (image_instance_hash): ditto.
1393 * event-msw.c (mswindows_need_event): assert badly_p status.
1394 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1395 callbacks in tree-view and tab-control widgets.
1396 (emacs_mswindows_next_event): modify use of
1397 mswindows_dequeue_dispatch_event.
1399 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1400 lisp-based gui_items.
1402 * glyphs-msw.c (mswindows_update_subwindow): update use of
1404 (mswindows_register_gui_item): new function.
1405 (mswindows_register_gui_item): fix to use lisp gui_items.
1406 (mswindows_widget_instantiate): ditto.
1407 (mswindows_button_instantiate): ditto.
1408 (add_tree_item): new function to recursively add tree view
1410 (add_tree_item_list): ditto.
1411 (mswindows_tree_instantiate): new function. instantiate tree view
1413 (add_tab_item): new function to add tabs to a tab control.
1414 (mswindows_tab_instantiate): new function. instantiate tab
1416 (image_instantiator_format_create_glyphs_mswindows): add tree view
1418 (vars_of_glyphs_mswindows): ditto.
1420 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1422 (check_valid_item_list): ditto.
1423 (initialize_widget_image_instance): fix to use new lisp gui_item.
1424 (widget_instantiate_1): allow the setting of default textwidth in
1426 (widget_instantiate): change to use new widget_instantiate_1
1428 (combo_instantiate): ditto.
1429 (static_instantiate): ditto.
1430 (tab_instantiate): new function for tab widgets.
1431 (image_instantiator_format_create_glyphs_widget): add tab and tree
1434 * menubar-msw.c (displayable_menu_item): convert to use lisp
1436 (populate_menu_add_item): ditto.
1437 (populate_or_checksum_helper): ditto.
1439 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1441 (Fmenu_find_real_submenu): ditto.
1443 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1445 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1446 objects, convert functions that use them accordingly.
1447 (gui_item_init): ditto.
1448 (gui_item_active_p): ditto.
1449 (gui_item_selected_p): ditto.
1450 (gui_item_included_p): ditto.
1451 (gui_item_display_flush_left): ditto.
1452 (gui_item_display_flush_right): ditto.
1453 (mark_gui_item): ditto.
1454 (allocate_gui_item): new function to create a gui_item.
1455 (make_gui_item_from_keywords_internal): ditto. create and return a
1456 gui_item as well as setting keywords.
1457 (gui_parse_item_keywords): ditto.
1458 (gui_parse_item_keywords_no_errors): ditto.
1459 (gui_add_item_keywords_to_plist): new function, not yet used.
1460 (gui_item_hash): new function.
1461 (gui_item_id_hash): use gui_item_hash.
1462 (gui_item_equal): new function.
1463 (print_gui_item): new function.
1465 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1467 * XEmacs 21.2.16 is released
1469 1999-06-10 Andy Piper <andy@xemacs.org>
1471 * select-msw.c (mswindows_own_selection): only set the clipboard
1473 (mswindows_get_foreign_selection): only get the clipboard if
1475 (mswindows_disown_selection): only disown the clipboard if asked.
1477 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1479 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1481 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1482 of coding-category `no-conversion'.
1484 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1486 * file-coding.c (Qraw_text): New variable.
1487 (syms_of_mule_coding): Add new symbol `raw-text'.
1488 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1489 define coding-system `binary' independently; define coding-system
1490 `no-conversion' as an alias for `raw-text'.
1492 * file-coding.h (Qraw_text): New variable.
1494 1999-06-08 SL Baur <steve@xemacs.org>
1496 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1498 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1500 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1502 (base64_decode_1): Signal errors instead of returning -1.
1504 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1506 * mule-charset.c (Fmake_char): Update docstring.
1508 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1510 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1512 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1514 * fns.c (base64_decode_1): Allow and ignore any non-base64
1515 characters in input.
1517 1999-05-27 Olivier Galibert <galibert@pobox.com>
1519 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1520 of report_pure_usage().
1522 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1524 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1526 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1528 * XEmacs 21.2.15 is released
1530 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1532 * frame.c (Fset_mouse_position):
1533 (Fset_mouse_pixel_position):
1534 * window.c (Fsplit_window):
1535 (Fmove_to_window_line):
1536 Fix crash when invoking functions with an already-deleted window
1539 * indent.c (vertical_motion_1):
1541 (Fvertical_motion_pixels):
1542 * window.c (Fwindow_displayed_text_pixel_height):
1543 Fix error message when invoking functions with an already-deleted
1546 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1548 * sysdep.c (request_sigio_on_device): Guard against glibc
1549 2.1's stub streams implementation.
1551 1999-06-03 SL Baur <steve@xemacs.org>
1554 * emacs.c: Implement x.y.z version numbers
1555 From Jan Vroonhof <vroonhof@math.ethz.ch>
1557 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1559 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1560 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1563 1999-06-03 SL Baur <steve@xemacs.org>
1566 * device-x.c: rename session option to wmcommand.
1567 From Oliver Graf <ograf@rhein-zeitung.de>
1569 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1571 * fns.c (Fsubstring): Don't traverse the same region twice with
1572 charcount_to_bytecount().
1574 1999-06-03 SL Baur <steve@steve1.m17n.org>
1576 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1579 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1580 doesn't really work as is implied by the commentary).
1581 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1583 1999-06-02 SL Baur <steve@steve1.m17n.org>
1585 * symsinit.h: Declare vars_of_ntproc.
1586 * emacs.c (main_1): Call it.
1588 * ntproc.c (syms_of_ntproc): Move variable initializations from
1590 (vars_of_ntproc): ... to here [new function].
1592 * file-coding.c (syms_of_file_coding): Rename.
1593 (vars_of_file_coding): Ditto.
1594 (complex_vars_of_file_coding): Ditto.
1596 * symsinit.h: Rename *_mule_coding to *_file_coding.
1598 * emacs.c (main_1): Call them by the proper name.
1600 * device-msw.c (syms_of_device_mswindows): Move variable
1601 initializations from here ...
1602 (vars_of_device_mswindows): ... to here.
1604 * chartab.c (vars_of_chartab): New function.
1606 * symsinit.h: New function, vars_of_chartab.
1608 * emacs.c (main_1): Call it.
1610 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1611 (vars_of_mule_canna): ... to here.
1613 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1614 initializations out of syms_of_mule_ccl.
1616 * symsinit.h: Declare new function vars_of_mule_ccl.
1618 * emacs.c (main_1): Call it.
1620 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1622 * fns.c (base64_decode_1): Ignore whitespace.
1624 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1626 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1629 1999-05-21 Andy Piper <andy@xemacs.org>
1631 * xselect.c: deleted.
1633 * symsinit.h: declare select initialisation.
1635 * select.h: new file. declare commonly used select functions and
1638 * select.c: new file. generalised from xselect.c.
1639 (clean_local_selection_data): moved from xselect.c.
1640 (get_local_selection): ditto. device specific pieces called via a
1642 (handle_selection_clear): ditto.
1643 (Fown_selection_internal): renamed and generalised from
1644 Fx_own_selection_internal. moved from xselect.c.
1645 (Fdisown_selection_internal): ditto.
1646 (Fselection_owner_p): ditto.
1647 (Fselection_exists_p): ditto.
1648 (Fget_selection_internal): ditto.
1649 (syms_of_select): new function. QXXXX values moved from xselect.c
1650 (vars_of_select): new function. selection_converter_alist,
1651 lost_selection_hooks moved and renamed from xselect.c
1653 * select-x.c: renamed from xselect.c.
1654 (x_own_selection): converted to device specific. non-X-specific
1655 bits moved to select.c.
1656 (x_get_foreign_selection): ditto.
1657 (x_disown_selection): ditto.
1658 (x_selection_exists_p): ditto.
1659 (console_type_create_select_x): new function.
1661 * select-msw.c (mswindows_own_selection): new device method to set
1662 the clipboard when we 'own' the selection.
1663 (mswindows_get_foreign_selection): new device method to get the
1665 (mswindows_disown_selection): new device method to delete the
1666 selection when we 'disown' it.
1667 (console_type_create_select_mswindows): new function.
1669 * emacs.c (main_1): add select to things to initialise.
1671 * console.h (struct console_methods): new console methods for
1674 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1676 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1678 * print.c (long_to_string): Install a faster version.
1680 1999-05-16 Andy Piper <andy@xemacs.org>
1682 * ntproc.c (syms_of_ntproc): default
1683 win32-start-process-share-console to t.
1685 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1687 * config.h.in: Do it here.
1689 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1691 1999-05-14 Andy Piper <andy@xemacs.org>
1693 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1696 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1698 * XEmacs 21.2.14 is released
1700 1999-05-12 Andy Piper <andy@xemacs.org>
1702 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1704 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1706 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1707 run_temacs_argv array -- fixes random memory corruption crash
1709 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1711 * window.c (Fcurrent_window_configuration):
1712 Save minibuffer height;
1714 * window.c (set_window_configuration): use it.
1716 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1718 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1720 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1722 * redisplay.c (redisplay_window): Do not put data
1723 in the line start cache if it is not guaranteed to be correct
1725 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1727 * window.c (struct window_config): Removed frame
1729 (window_config_equal): No longer compare frame sizes.
1730 (Fset_window_configuration): Resize old top window to fit in the
1731 current frame directly, no longer use a fake frame resize.
1732 (Fcurrent_window_configuration): No longer save frame size
1734 1999-05-11 Andy Piper <andy@xemacs.org>
1736 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1739 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1741 * sysdep.c (init_system_name): If gethostname gives a proper
1742 domain name, don't look further for one.
1744 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1746 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1747 (Fintern_soft): Accept a symbol argument.
1749 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1751 * symbols.c (Fintern): ...do it here.
1753 * lread.c (read_atom): Don't handle keywords here.
1755 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1757 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1759 1999-05-03 Olivier Galibert <galibert@pobox.com>
1761 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1762 is interned in the main obarray.
1764 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1766 * menubar-x.c (pre_activate_callback): set accelerator field in
1767 "No menu" entries to nil. Avoid crash in
1768 command_builder_operate_menu_accelerator
1770 1999-05-03 Olivier Galibert <galibert@pobox.com>
1772 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1774 * lisp.h (DEFUN): Fix lrecord header initialisation.
1776 1999-05-02 Andy Piper <andy@xemacs.org>
1778 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1780 * ntproc.c (sys_kill): cast using MS mandated defines.
1782 1999-04-29 Andy Piper <andy@xemacs.org>
1784 * m/intel386.h: remove redundant definitions.
1786 * s/mingw32.h: new header for mingw32.
1788 * unexnt.c: (open_input_file): function moved to nt.c.
1789 (close_file_data): ditto.
1790 (rva_to_section): function moved to ntproc.
1792 * symsinit.h: declare syms_of_ntproc();
1794 * objects-msw.c (mswindows_font_instance_truename): new function.
1796 * ntproc.c: remove many warnings.
1797 (_sys_read_ahead): moved from nt.c and made static.
1798 (rva_to_section): moved from unexnt.c but not defined under
1800 (win32_executable_type): implement what we can for mingw32
1802 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1804 * ntheap.h: remove declarations of functions that are now static.
1806 * ntheap.c: support static heap.
1808 * nt.h: conditionalise X_OK definition.
1810 * nt.c: eliminate many warnings and support mingw32.
1811 (open_input_file): function moved from unexnt.c and made static
1812 (close_file_data): ditto.
1813 (_sys_read_ahead): moved to ntproc.c
1815 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1817 * console-msw.h: support mingw32.
1818 * getloadavg.c: ditto.
1825 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1826 some systems don't have all of the encapsulated system calls.
1828 * callproc.c: warning elimination.
1829 * dired-msw.c: ditto.
1830 * process-nt.c: ditto.
1831 * realpath.c: ditto.
1833 * Makefile.in.in: tweak : and ; for building under mswindows.
1835 1999-04-26 Michael Harnois <mharnois@willinet.net>
1837 * eldap.c (allocate_ldap): Adapt to the new semantics of
1838 alloc_lcrecord_type().
1840 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1842 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1844 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1846 * Delete mule-coding.c and mule-coding.h because they are not
1849 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1851 * objects.c (print_font_instance): Check for NILP(f->device),
1852 i.e. Vthe_null_font_instance.
1853 (font_instance_truename_internal): ditto.
1854 (Ffont_instance_properties): ditto.
1856 1999-04-22 Olivier Galibert <galibert@pobox.com>
1858 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1861 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1863 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1864 it easier to add new ones.
1866 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1868 * symbols.c (reject_constant_symbols): Ditto.
1869 (init_symbols_once_early): Ditto.
1871 * print.c (print_symbol): Don't use ->obarray.
1873 * symbols.c (Funintern): Ditto.
1875 * alloc.c (Fmake_symbol): Don't set ->obarray.
1877 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1879 * symbols.c (init_symbols_once_early): Removed
1880 Vpure_uninterned_symbol_table.
1881 (Fintern): Don't store to ->obarray field.
1883 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1885 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1886 (eq_with_ebola_notice): Remove abracadabra support.
1888 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1890 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1891 retrieve the distinguished names of entries
1893 1999-03-08 Martin Buchholz <martin@xemacs.org>
1895 * lread.c (read_escape): Make hex escapes read only two hex digits.
1897 1999-04-05 Olivier Galibert <galibert@pobox.com>
1899 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1900 * make-src-depend: Remove puresize-adjust.h.
1901 * src-headers: Remove puresize-adjust.h.
1902 * config.h.in: Kill everything purespace/gung-ho related.
1904 * dbxrc: Make gung-ho mandatory.
1907 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1908 c_readonly and lisp_readonly. Remove implementation arrays.
1909 (C_READONLY_RECORD_HEADER_P): Added.
1910 (LISP_READONLY_RECORD_HEADER_P): Added.
1911 (SET_C_READONLY_RECORD_HEADER): Added.
1912 (SET_LISP_READONLY_RECORD_HEADER): Added.
1914 * lisp.h: Kill everything purespace/non gung-ho related.
1915 (CHECK_C_WRITEABLE): Added.
1916 (CHECK_LISP_WRITEABLE): Added.
1917 (C_READONLY): Added.
1918 (LISP_READONLY): Added.
1920 * lisp-union.h: Make gung-ho mandatory.
1921 * lisp-disunion.h: Ditto.
1923 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1924 set_lheader_implementation calls.
1925 (c_readonly): Added.
1926 (lisp_readonly): Added.
1927 (make_string_nocopy): Added.
1928 (Fpurecopy): Changed to do nothing. Kept the old documentation
1929 for reference purposes for the next patches.
1930 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1931 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1932 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1934 * fns.c: Make gung-ho mandatory.
1935 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1937 (Ffillarray): Ditto.
1939 * data.c: Make gung-ho mandatory.
1940 (pure_write_error): Removed.
1941 (c_write_error): Added.
1942 (lisp_write_error): Added.
1943 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1947 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1948 make_string or make_string_nocopy. Fix various
1949 alloc_lcrecord_type.
1951 * lread.c: Remove everything purespace related.
1952 (Flocate_file_clear_hashing): purified -> c_readonly.
1953 (locate_file): Ditto.
1954 (read_atom): make_pure_pname -> make_string.
1956 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1958 (Fdump_emacs): Ditto.
1960 * print.c (print_internal): Make gung-ho mandatory.
1961 * ntheap.c (sbrk): Ditto.
1962 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1963 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1965 * sheap.c (more_static_core): Remove puresize-adjust.h from
1968 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1970 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1971 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1972 * events.c (deinitialize_event): Fix set_lheader_implementation.
1973 (zero_event): Ditto.
1974 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1975 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1976 * mule-charset.c (make_charset): Ditto.
1977 * console.c (allocate_console): Ditto.
1978 (complex_vars_of_console): Ditto.
1979 * file-coding.c (allocate_coding_system): Ditto.
1980 * device.c (allocate_device): Ditto
1981 * gui-x.c (gcpro_popup_callbacks): Ditto.
1982 * extents.c (allocate_extent_auxiliary): Ditto.
1983 (allocate_extent_info): Ditto.
1984 (copy_extent): Ditto.
1985 * glyphs.c (allocate_image_instance): Ditto.
1986 (allocate_glyph): Ditto.
1987 * frame.c (allocate_frame_core): Ditto.
1988 * database.c (allocate_database): Ditto.
1989 * tooltalk.c (make_tooltalk_message): Ditto.
1990 (make_tooltalk_pattern): Ditto.
1991 * rangetab.c (Fmake_range_table): Ditto.
1992 (Fcopy_range_table): Ditto.
1993 * process.c (make_process_internal): Ditto.
1994 * chartab.c (Fmake_char_table): Ditto.
1995 (make_char_table_entry): Ditto.
1996 (copy_char_table_entry): Ditto.
1997 (Fcopy_char_table): Ditto.
1998 * elhash.c (make_general_lisp_hash_table): Ditto.
1999 (Fcopy_hash_table): Ditto.
2000 * buffer.c (allocate_buffer): Ditto.
2001 (complex_vars_of_buffer): Ditto.
2002 * event-stream.c (allocate_command_builder): Ditto.
2003 * objects.c (Fmake_color_instance): Ditto.
2004 (Fmake_font_instance): Ditto.
2005 (vars_of_objects): Ditto.
2006 * toolbar.c (update_toolbar_button): Ditto.
2007 * window.c (allocate_window): Ditto.
2008 (make_dummy_parent): Ditto.
2009 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2010 (vars_of_window): Fix make_lcrecord_list.
2011 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2013 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2014 * opaque.c (make_opaque): Fix alloc_lrecord.
2015 (make_opaque_list): Fix alloc_lrecord_type.
2017 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2019 * process.c (Fstart_process_internal): Ditto.
2021 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2024 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2026 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2029 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2030 (emodules_load): Use it when calling locate_file().
2032 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2035 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2036 (vars_of_callproc): Initialize it.
2037 (Fcall_process_internal): Use it when calling locate_file().
2039 * alloc.c (disksave_object_finalization): Use
2040 Flocate_file_clear_hashing().
2042 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2043 given `t' as argument.
2045 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2047 * lread.c (locate_file): Expand `pathel' when appropriate.
2048 (Flocate_file_clear_hashing): Expand path elements.
2049 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2051 * dired.c (make_directory_hash_table): Create the hash-table only
2052 if the directory open is successful.
2054 * lread.c (decode_mode_1): New function.
2055 (decode_mode): Ditto.
2056 (Flocate_file): Use them.
2057 (Flocate_file): Expand FILENAME.
2058 (locate_file_map_suffixes): New function.
2059 (locate_file_in_directory_mapper): New function.
2060 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2061 and locate_file_map_suffixes().
2062 (locate_file_construct_suffixed_files): Use
2063 locate_file_map_suffixes().
2064 (locate_file_without_hash): Don't GCPRO path.
2065 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2066 (syms_of_lread): Remove Qlocate_file_hash_table.
2067 (locate_file_find_directory_hash_table): Use
2068 Vlocate_file_hash_table.
2069 (locate_file_refresh_hashing): Ditto.
2071 * lread.c: Renamed read_objects to Vread_objects.
2073 1999-04-16 Olivier Galibert <galibert@pobox.com>
2075 * mule-charset.c: Generally resync with fsf 20.3 charset
2077 (make_charset): Add long and short name. Use id instead of
2079 (Fmake_charset): Ditto.
2080 (Fmake_reverse_direction_charset): Ditto.
2081 (Fcharset_property): Ditto.
2082 (Fcharset_short_name): Added.
2083 (Fcharset_long_name): Added.
2084 (Fcharset_description): Renamed from charset-doc-string.
2085 (syms_of_mule_charset): Synced symbols.
2086 (complex_vars_of_mule_charset): Synced charsets.
2088 * mule-charset.h: Removed leading byte (uses id instead), added
2089 short and long name.
2091 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2093 * file-coding.c (Fdefine_coding_system_alias): New function.
2095 1999-04-08 Olivier Galibert <galibert@pobox.com>
2097 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2098 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2100 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2102 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2103 attach to the extent is valid.
2105 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2107 * dired.c (user_name_completion): Mule-ize.
2108 (user_name_completion): Use xmalloc/xrealloc/xfree.
2109 (user_name_completion): Use DO_REALLOC.
2110 (user_name_completion): Cut down the number of static variables;
2112 (user_name_completion): Username completion is always
2115 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2117 * fns.c (base64_decode_1): Remove COUNTER.
2118 (base64_decode_1): Accept CRLF in addition to CR.
2119 (base64_decode_1): Disallow a stray character after final EOF; the
2120 check was probably a remnant of buggy recode code.
2122 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2124 * fns.c (init_provide_once): Provide `base64'.
2126 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2128 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2129 (Fbase64_encode_region): If buffer is read-only, bail out early.
2130 (Fbase64_decode_region): Ditto.
2131 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2133 (Fbase64_encode_string): Ditto.
2134 (Fbase64_decode_region): Ditto.
2135 (Fbase64_decode_string): Ditto.
2137 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2139 * dired.c (Fdirectory_files): Remove redundant code.
2141 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2143 * frame-msw.c Make raise-frame restore minimised windows.
2145 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2147 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2150 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2152 * toolbar-msw.c Consider captions when deciding whether to rebuild
2153 toolbar. This fixes the initial toolbar display for those of us
2154 who don't like captions. These patches applied by Andy Piper.
2156 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2158 * XEmacs 21.2.13 is released
2160 1999-03-12 SL Baur <steve@xemacs.org>
2162 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2164 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2166 * file-coding.c: docstring and comment improvements.
2167 (decode_ucs4) flag possible data loss with comment.
2169 1999-03-10 Martin Buchholz <martin@xemacs.org>
2171 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2175 (decode_coding_ucs4):
2176 (encode_coding_ucs4):
2177 (detect_coding_utf8):
2178 (decode_coding_utf8):
2180 (encode_coding_utf8):
2181 Add CHECK_* macros where needed to avoid crashes.
2182 #ifdef out all composite character support using
2183 #ifdef ENABLE_COMPOSITE_CHARS
2184 Use normal XEmacs coding standards.
2186 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2188 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2190 * file-coding.c (make-coding-system): Add description about
2191 `ucs-4' and `utf-8'.
2192 (detection_state): Modify to implement ucs-4 and utf-8.
2193 (detect_coding_type): Likewise.
2194 (detect_coding_ucs4): New implementation.
2195 (detect_coding_utf8): New implementation.
2196 (encode_utf8): fixed.
2197 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2200 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2202 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2203 2022 registry to private area.
2205 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2207 * file-coding.c (encode_utf8): New function.
2208 (encode_coding_utf8): New implementation.
2210 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2212 * file-coding.c (ucs_to_mule_table): New variable; abolish
2213 `Vucs_to_mule_table'
2214 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2215 (set-ucs-char): New function.
2216 (ucs_to_char): New function.
2217 (ucs-char): New function.
2218 (set-char-ucs): New function.
2219 (char-ucs): New function.
2220 (decode_ucs4): Use `ucs_to_char'.
2221 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2222 `mule-to-ucs-table'.
2224 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2226 * chartab.h: EXFUN `Fget_char_table'.
2228 * file-coding.c (encode_ucs4): New function.
2229 (encode_coding_ucs4): Use `encode_ucs4'.
2231 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2233 * file-coding.c (decode_coding_ucs4): New implementation.
2235 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2237 * file-coding.c (decode_coding_ucs4): fixed.
2239 * file-coding.c (Vmule_to_ucs_table): New variable.
2240 (mule_char_to_ucs4): New function.
2241 (encode_coding_ucs4): New implementation.
2242 (complex_vars_of_mule_coding): Define variable
2243 `mule-to-ucs-table'.
2245 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2247 * file-coding.c (decode_coding_utf8): New implementation.
2249 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2251 * file-coding.c (decode_coding_utf8): fixed.
2253 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2255 * file-coding.c (Vucs_to_mule_table): New variable.
2256 (decode_ucs4): Refer `Vucs_to_mule_table'.
2257 (complex_vars_of_mule_coding): Define variable
2258 `ucs-to-mule-table'.
2260 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2262 * file-coding.c (detect_coding_ucs4): New function (not
2264 (decode_coding_ucs4): New function.
2265 (encode_coding_ucs4): New function (not implemented yet).
2266 (detect_coding_utf8): New function (not implemented yet).
2267 (decode_coding_utf8): New function.
2268 (encode_coding_utf8): New function (not implemented yet).
2269 (make-coding-system): New type `ucs4' and `utf8'.
2270 (coding-system-type): Likewise.
2271 (detection_state): Add `ucs4' and `utf8'.
2272 (detect_coding_type): Likewise.
2273 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2274 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2275 (decode_ucs4): New function (very incomplete).
2276 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2278 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2280 1999-03-08 Martin Buchholz <martin@xemacs.org>
2283 (non_ascii_valid_char_p):
2284 (lookup_composite_char):
2285 (composite_char_string):
2286 (make-composite-char):
2287 (composite-char-string):
2288 (syms_of_mule_charset):
2289 (complex_vars_of_mule_charset):
2290 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2291 (CHAR_LEADING_BYTE):
2293 * file-coding.h (CODING_STATE_COMPOSITE):
2294 (CODING_STATE_ISO2022_LOCK):
2296 (LEADING_BYTE_COMPOSITE):
2297 * file-coding.c (struct iso2022_decoder):
2300 (parse_iso2022_esc):
2301 (encode_coding_iso2022):
2302 #ifdef out all composite character support using
2303 #ifdef ENABLE_COMPOSITE_CHARS
2305 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2307 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2309 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2310 way of `Fbase64_encode_region'.
2312 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2314 * fns.c (base64_encode_1): Don't add a newline at the tail.
2316 1999-03-08 Andy Piper <andy@xemacs.org>
2318 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2321 1999-03-07 Martin Buchholz <martin@xemacs.org>
2323 * console-stream.h (struct stream_console):
2324 * event-unixoid.c (event_stream_unixoid_select_console):
2325 (event_stream_unixoid_unselect_console):
2326 * print.c (Fexternal_debugging_output):
2327 * sysdep.c (reset_one_device):
2328 * console-stream.c (stream_init_console):
2329 (stream_delete_console):
2330 (allocate_stream_console_struct): move into stream_init_console.
2331 (free_stream_console_struct): move into stream_delete_console.
2332 Use `fd' only for file descriptors.
2333 Therefore, rename members of struct stream_console.
2335 * systime.h: Unix98 says sys/time.h should define select(), but
2336 some systems define that in unistd.h. So include that file always.
2338 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2339 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2340 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2342 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2346 Add #include <stdio.h>.
2347 Some versions of assert.h use printf() without #include'ing stdio.h
2349 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2350 (log_gcpro): Remove unused variable FRAME.
2351 (show_gcprohist): Ansify.
2352 Comment the #endif's
2354 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2355 after it's just been XtDestroy'ed!
2357 1999-02-18 Martin Buchholz <martin@xemacs.org>
2359 * opaque.c (print_opaque):
2363 Egcs 1.1.1 seems to have a bug where
2364 INTP (p->size_or_chain)
2365 will crash XEmacs. Fix by introducing intermediate variable.
2367 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2369 * dired.c (Fdirectory_files):
2370 (Ffile_name_completion):
2371 (Ffile_name_all_completions):
2372 (file_name_completion):
2373 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2374 avoid compiler warnings.
2375 - Fix up docstrings so that C variables match documentation.
2377 1999-03-05 Martin Buchholz <martin@xemacs.org>
2379 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2380 variables as small as possible to help out the compiler and the maintainer.
2382 * alloc.c: (disksave_object_finalization):
2383 Set all the *-load-path variables to
2384 nil, not just load-path itself. This gets the locate-file hash
2385 tables garbage collected BEFORE dump, and has the side effect of
2386 preventing crashes on OSF4.0+egcs.
2391 - Clean up gdb/dbx debugging support.
2392 - Storing an EMACS_INT in an enum is not 64-bit clean!
2393 - So change the enum to a set of separate variables.
2394 - Add test cases to help debug the debugging support!
2395 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2396 - Both dbx and gdb have been tested now.
2398 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2400 * XEmacs 21.2.12 is released
2402 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2404 * device-x.c: Support to find best visual without flashing.
2406 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2408 * database.c (berkdb_map): Add flags argument to cursor call (must
2409 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2411 1999-03-03 Martin Buchholz <martin@xemacs.org>
2415 General cleanup. Get free-hook.c working again.
2416 Remove unused functions:
2417 make_strings_hash_table, copy_hash, expand_hash_table.
2421 Always use new ANSI-style function prototypes.
2423 * unexalpha.c (unexec): Never use implicit int.
2425 * sgiplay.c (close_sound_file):
2427 (restore_audio_port):
2432 (write_mulaw_8_chunk):
2433 (write_linear_chunk):
2434 (write_linear_32_chunk):
2435 (initialize_audio_port):
2438 (set_output_format):
2439 (adjust_audio_volume):
2440 (get_current_volumes):
2442 Always use new ANSI-style function prototypes.
2443 Use unistd.h for missing prototypes.
2445 * unexelfsgi.c (round_up):
2447 (unexec): Always use new ANSI-style function prototypes
2449 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2451 * console.h (struct console_methods): Always use full ANSI prototypes
2453 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2455 1999-03-02 Andy Piper <andy@xemacs.org>
2457 * event-stream.c (init_event_stream): make sure native mswindows
2458 gets an appropriate event loop.
2460 1999-02-22 Andy Piper <andy@xemacs.org>
2462 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2463 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2464 (mswindows_raise_frame): remove comment.
2466 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2468 * XEmacs 21.2.11 is released
2470 1999-02-25 SL Baur <steve@xemacs.org>
2472 * mule-charset.c (Qleading_byte): New variable to implement
2473 charset-leading-byte function.
2474 (Fcharset_property): Use it.
2475 (syms_of_mule_charset): Initialize it.
2476 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2478 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2480 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2481 bytes per pixel counting.
2483 1999-02-15 Andy Piper <andy@xemacs.org>
2485 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2488 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2490 * fns.c (Fbase64_encode_string): New optional argument
2493 1999-02-16 Martin Buchholz <martin@xemacs.org>
2495 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2496 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2498 1999-02-10 Martin Buchholz <martin@xemacs.org>
2500 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2501 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2503 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2505 * XEmacs 21.2.10 is released
2507 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2509 * process-nt.c (nt_send_process):
2510 Fix for process-send-region/process-send-string breaking when size
2511 of the input > 128 chars: change maximum chunk size for process
2512 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2515 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2517 * XEmacs 21.2.9 is released
2519 1999-01-30 Martin Buchholz <martin@xemacs.org>
2521 * bytecode.c (funcall_compiled_function): Call
2522 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2524 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2525 #ifdef 0 out unused macro.
2527 1999-01-27 Martin Buchholz <martin@xemacs.org>
2529 * gui.c (gui_parse_item_keywords_internal): Make static.
2531 1999-01-21 Andy Piper <andy@xemacs.org>
2533 * glyphs-msw.c: add xface support.
2534 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2535 (image_instantiator_format_create_glyphs_mswindows): do device
2536 specific initialisation for xfaces.
2537 (xbm_create_bitmap_from_data): line data must be padded to a word
2540 * glyphs-x.c (xface_validate): moved to glyphs.c
2541 (xface_normalize): ditto.
2542 (xface_possible_dest_types): ditto.
2543 (image_instantiator_format_create_glyphs_x): do device specific
2544 initialisation for xfaces.
2546 * glyphs.h: declare xface symbol.
2548 * glyphs.c: move generic xface support here.
2549 (xface_validate): moved from glyphs-x.c
2550 (xface_normalize): ditto.
2551 (xface_possible_dest_types): ditto.
2552 (image_instantiator_format_create): xface declarations moved from
2555 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2557 * event-stream.c (vars_of_event_stream): Fixing documentation.
2559 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2561 * glyphs-eimage.c (gif_instantiate): Correct handling of
2562 interlaced gifs to avoid writing past the end of the eimage
2565 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2567 * search.c (Freplace_match): Handle single backslash at end of
2570 1999-01-12 William M. Perry <wmperry@aventail.com>
2572 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2573 avoid connection errors.
2575 1999-01-12 Andy Piper <andy@xemacs.org>
2577 * redisplay-output.c (redisplay_update_line): backout change that
2578 shouldn't have gone ine.
2580 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2582 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2583 collide with ldap.el
2585 1999-01-11 Andy Piper <andy@xemacs.org>
2587 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2588 (DISPLAY_LINE_YPOS): new macro.
2590 * redisplay-msw.c (mswindows_output_string): use it.
2591 (mswindows_output_pixmap): ditto.
2592 (mswindows_output_display_block): ditto.
2594 * redisplay-output.c (redisplay_output_display_block): new
2595 function. just call the devmeth, maybe insert some generic code
2597 (compare_display_blocks): use it.
2598 (output_display_line): ditto.
2599 (redisplay_unmap_subwindows_maybe): new function. potentially
2600 unmap subwindows in the given area.
2602 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2605 1999-01-10 J. Kean Johnston <jkj@sco.com>
2607 * Makefile.in.in: Set value of moduledir
2608 - Changed DUMPENV to include $(MODULEPATH)
2609 - Added install rule to install header files for use by ellcc.
2611 * config.h.in: Added INHIBIT_SITE_MODULES
2612 - Added HAVE__DLERROR
2613 - Added HAVE_DLFCN_H
2614 - Added DLSYM_NEEDS_UNDERSCORE
2618 * emodules.c: New file containing dynamic loading code.
2620 * emodules.h: New file.
2622 * emacs.c: Added variables Vmodule_directory,
2623 Vsite_module_directory, Vconfigure_module_directory and
2624 Vconfigure_site_module_directory.
2625 - (main_1): Added new variable inhibit_site_modules and command
2626 line options `-no-site-modules' and `--no-site-modules'.
2627 - (main_1): Call syms_of_module() instead of syms_of_dll().
2628 - (main_1): Call vars_of_module().
2629 - (vars_of_emacs): Introduce inhibit-site-modules,
2630 module-directory, configure-module-directory,
2631 site-module-directory, and configure-site-module-directory to the
2634 * lisp.h: Declare load_module and list_modules, as well as
2635 Vmodule_directory, Vsite_module_directory,
2636 Vconfigure_module_directory and Vconfigure_site_module_directory.
2638 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2639 - Added correct support for site-lisp directory.
2641 * symbols.c (defsubr): Modified to allow modules to add new subrs
2643 - (defsubr_macro): Same.
2644 - (defvar_magick): Only use purespace when not initialized, so
2645 that loaded modules can still add symbols.
2647 * symsinit.h: Add definitions for syms_of_module(),
2648 vars_of_module(). Removed syms_of_dll().
2650 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2651 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2652 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2654 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2655 explicitly pass -belf for native cc.
2657 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2658 hard-coding the library name.
2660 1999-01-01 <martin@xemacs.org>
2662 * device-x.c (Fx_set_font_path):
2663 Add proper cast to permit compilation under C++.
2665 * buffer.c (directory_is_current_directory):
2666 Add proper casts to permit compilation under C++.
2668 1998-12-30 Damon Lipparelli <lipp@primus.com>
2670 * event-msw.c (mswindows_wnd_proc):
2671 Fixed failure when building with MSVC 5.
2673 1998-12-29 Martin Buchholz <martin@xemacs.org>
2675 * file-coding.c (decode_coding_iso2022):
2676 - Prevent crash when decoding ISO7/Lock detected files
2677 - the usual martin fiddling
2679 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2683 Fixed failures when building with MSVC.
2684 * unexnt.c (dump_bss_and_heap):
2685 Removed compiler warning by removing bss_data variable.
2687 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2689 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2690 so that packages that distribute their own fonts can access them.
2692 1998-12-28 Andy Piper <andy@xemacs.org>
2694 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2695 that have an image provided.
2697 * glyphs.h: add Q_image decl.
2699 * glyphs-widget.c new functionality allowing images in
2701 (check_valid_glyph_or_image): new function to validate
2702 glyphs passed in through :image.
2703 (widget_normalize): new function. convert :image parameters into
2704 real glyphs if not already so.
2705 (widget_instantiate_1): mess with size parameters to be similar to
2707 (syms_of_glyphs_widget): new keyword :image.
2708 (image_instantiator_format_create_glyphs_widget): normalize
2709 buttons and allow :image.
2711 1998-12-27 Andy Piper <andy@xemacs.org>
2713 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2715 * glyphs-widget.c (check_valid_anything): no-op function.
2716 (check_valid_callback): check callbacks in gui_items.
2717 (check_valid_symbol): as it sounds.
2718 (check_valid_string_or_vector): ditto.
2719 (widget_validate): modified for descriptors that are vectors or
2720 sequences of keyword/val pairs.
2721 (widget_instantiate_1): ditto.
2722 (image_instantiator_format_create_glyphs_widget): allow gui_item
2723 keywords in the instantiator.
2725 * gui.c (gui_parse_item_keywords_internal): renamed from
2726 gui_parse_item_keywords but taking error behaviour.
2727 (gui_parse_item_keywords): use it.
2728 (gui_parse_item_keywords_no_errors): ditto.
2729 (gui_item_add_keyval_pair): add Error_behavior flag and only
2730 signal invalid keywords if required.
2732 * gui.h: new gui signatures.
2734 * menubar.c (menu_parse_submenu_keywords): use new
2735 gui_item_add_keyval_pair signature.
2737 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2739 1998-12-28 Martin Buchholz <martin@xemacs.org>
2741 * XEmacs 21.2.8 is released.
2743 1998-12-28 Martin Buchholz <martin@xemacs.org>
2745 * editfns.c (get_home_directory):
2746 (user-home-directory): Simplify.
2749 * callproc.c (child_setup):
2750 - Environment variables were being passed to inferior processes
2751 using internal encoding.
2752 - Convert to external encoding.
2753 - Rename local var `tem' to better name `tail'.
2754 - Use Flength instead of `manual' calculation.
2756 * buffer.c (kill-buffer):
2758 (set-buffer-major-mode):
2760 - Fix up parameter names to correspond to docstrings.
2761 - Don't use `bufname' when a buffer will do as well.
2762 - Remove one unneeded GCPRO.
2764 * buffer.h (initial_directory):
2765 * buffer.c (init_initial_directory):
2766 - use correct conversions between internal and external format.
2767 (directory_is_current_directory): new function
2768 (init_buffer): convert initial_directory to internal format.
2769 - solve crashes when current working directory is non-ASCII.
2771 * alloc.c (xmalloc):
2774 - remove stupid casts, since XEmacs requires an ANSI C system.
2775 (lrecord_type_index): replace abort() with more readable assert().
2777 (reset_lcrecord_stats): remove.
2778 (sweep_lcrecords_1):
2779 - replace call to reset_lcrecord_stats() with call to xzero().
2781 1998-12-27 Martin Buchholz <martin@xemacs.org>
2783 * process-unix.c (unix_create_process):
2784 - Fix crash invoking program with non-ASCII name.
2785 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2786 - Remove unused variable `env'.
2787 - Rename `temp' to better name `save_errno'.
2788 - Reorganize code for clarity. But still too chicken to nuke the
2791 1998-12-24 Martin Buchholz <martin@xemacs.org>
2793 * XEmacs 21.2.7 is released.
2795 1998-12-23 Martin Buchholz <martin@xemacs.org>
2797 * glyphs.c (decode_device_ii_format):
2799 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2801 * glyphs-x.c (x_subwindow_instantiate):
2802 - A image instance mask was being assigned to a image instance type!
2803 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2805 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2807 * glyphs-x.h: Make indentation consistent.
2809 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2811 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2813 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2817 Move declarations of decode_device_ii_format and
2818 decode_image_instantiator_format into glyphs.h where they belong.
2820 1998-12-22 Martin Buchholz <martin@xemacs.org>
2822 * frame-x.c (x_delete_frame): Revert part of my changes at the
2823 suggestion of Gunnar Evermann - unfortunately no one really
2824 understands this code.
2826 * callproc.c (init_callproc): code cleanup.
2828 * free-hook.c (malloc):
2833 (block_input_malloc):
2834 (block_input_realloc):
2835 * device-x.c (x_delete_device):
2836 * emacs.c (voodoo_free_hook):
2837 * events.c (print_event):
2839 (CHECK_EVENT_TYPE2):
2840 (CHECK_EVENT_TYPE3):
2841 Use proper prototypes.
2842 Make C_E_T macros a little faster.
2843 Pedantic fiddly little changes. You really don't care.
2845 1998-12-22 Andy Piper <andy@xemacs.org>
2847 * redisplay-output.c (redisplay_clear_region): make sure that
2848 fg/bg colors get set even when we are in the border area.
2850 1998-12-13 Martin Buchholz <martin@xemacs.org>
2852 * console-msw.c: Function definitions follow coding standards
2853 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2855 1998-12-11 Martin Buchholz <martin@xemacs.org>
2857 * events.h (struct timeout_data):
2858 * event-tty.c (tty_timeout_to_emacs_event):
2859 * event-msw.c (mswindows_wm_timer_callback):
2860 * event-Xt.c (Xt_timeout_to_emacs_event):
2861 * event-msw.c (mswindows_cancel_dispatch_event):
2862 Make sure Lisp_Objects inside events are initialized to Qnil, not
2863 Qnull_pointer, which is now illegal.
2865 1998-12-10 Martin Buchholz <martin@xemacs.org>
2867 * lisp.h: Fix up prototypes to match alloc.c
2869 1998-12-08 Martin Buchholz <martin@xemacs.org>
2871 * windowsnt.h: Remove `support' for using index and rindex
2873 * filelock.c (current_lock_owner):
2874 - Change uses of index -> strchr, rindex -> strrchr
2876 1998-12-07 Martin Buchholz <martin@xemacs.org>
2878 * sysdep.c (set_descriptor_non_blocking):
2879 Since O_NONBLOCK is now always #defined, make use of fcntl
2880 conditional on F_SETFL being defined.
2882 * console-msw.c (DHEADgER):
2891 - max_align_t should not be visible to the user of the
2893 - use Bufbyte instead of char
2894 - parens around (FOOP (obj)) are always redundant.
2895 If they were necessary, we should fix the macro instead.
2896 - Always use string_data(foo) instead of foo->data.
2899 1998-12-06 Martin Buchholz <martin@xemacs.org>
2901 * frame-msw.c (mswindows_init_frame_1):
2902 - use make_lisp_hash_table, not Fmake_hash_table
2906 * alloc.c (make_vector): remove travesty
2910 (make_bit_vector_internal):
2912 (make_bit_vector_from_byte_vector):
2914 - make vector_equal a little faster.
2915 - Don't use variable name `new'.
2916 - Use size_t instead of EMACS_INT.
2917 - usual Martin-style pointless bit-twiddling.
2923 Make mapcar faster. In particular, make
2924 (mapc #'identity long-string)
2925 MUCH faster under Mule.
2926 * tests/automated/lisp-tests.el: Test 'em!
2928 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2931 1998-12-01 Martin Buchholz <martin@xemacs.org>
2933 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2934 Qnil, not NULL, to initialize `null' Lisp_Objects.
2936 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2938 * specifier.c (display_table_validate): Update.
2940 * redisplay.c (create_text_block): Use them.
2942 * glyphs.c (display_table_entry): New function.
2943 (get_display_tables): Ditto.
2945 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2947 * eldap.c (toplevel): Mention that eldap.c compiles with
2949 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2950 (Fldap_search_internal): Ditto
2952 1998-12-11 Martin Buchholz <martin@xemacs.org>
2954 * event-msw.c (mswindows_cancel_dispatch_event):
2955 Gratuitous code prettification
2958 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2960 * fns.c (Fnconc): Fix use of wrong_type_argument().
2962 * floatfns.c (Ffloat): Fix docstring.
2963 (Ffloat): Fix use of wrong_type_argument().
2965 (extract_float): Ditto.
2970 1998-12-06 Martin Buchholz <martin@xemacs.org>
2972 * frame-msw.c (mswindows_init_frame_1):
2973 - use make_lisp_hash_table, not Fmake_hash_table
2977 * alloc.c (make_vector): remove travesty
2981 (make_bit_vector_internal):
2983 (make_bit_vector_from_byte_vector):
2985 - make vector_equal a little faster.
2986 - Don't use variable name `new'.
2987 - Use size_t instead of EMACS_INT.
2988 - usual Martin-style pointless bit-twiddling.
2994 Make mapcar faster. In particular, make
2995 (mapc #'identity long-string)
2996 MUCH faster under Mule.
2997 * tests/automated/lisp-tests.el: Test 'em!
2999 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3002 1998-12-02 Didier Verna <verna@inf.enst.fr>
3004 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3005 accelerator field to nil for labels.
3007 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3009 * menubar-msw.c (displayable_menu_item):
3010 Escape occurrences of '&' and support occurrences of the
3011 '%_' accelerator indicator in menus.
3013 1998-11-26 Didier Verna <verna@inf.enst.fr>
3015 * dired.c (Fdirectory_files): use make_string instead of
3016 make_ext_string on the filename. The conversion external->internal
3017 format is already done in sys_readdir.
3019 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3021 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3023 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3026 (Belatedly) added Kirill to list of file's authors.
3027 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3028 quit checking. WM_PAINT messages cause redisplay, but
3029 windows' states are not necessarily stable when this function
3032 1998-12-17 Andy Piper <andy@xemacs.org>
3034 * strftime.c (zone_name): CONSTify.
3036 1998-12-15 Andy Piper <andy@xemacs.org>
3038 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3039 (mswindows_widget_property): return Qunbound when no property available.
3040 (mswindows_button_property): ditto.
3041 (mswindows_combo_property): ditto.
3042 (mswindows_widget_set_property): ditto.
3044 * glyphs-widget.c (check_valid_item_list): use properties.
3046 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3048 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3049 (Fimage_instance_property): ditto.
3050 * glyphs-widget.c (widget_property): ditto.
3051 (widget_set_property): ditto.
3053 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3054 as setting the class cursor so that GC actually changes the
3057 * config.h: don't undef MAIL_USE_POP.
3059 1998-12-13 Andy Piper <andy@xemacs.org>
3062 (image_instantiator_format_create_glyphs_mswindows): line ->
3064 (mswindows_label_instantiate): ditto. Play with window flags.
3065 (image_instantiator_format_create_glyphs_mswindows): ditto.
3066 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3068 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3069 cope with lines and labels.
3070 (static_instantiate): use widget_instantiate_1.
3072 (image_instantiator_format_create_glyphs_widget): ditto.
3074 1998-12-10 Andy Piper <andy@xemacs.org>
3076 * Makefile.in.in (objs): add gui.o
3078 1998-12-10 Andy Piper <andy@xemacs.org>
3080 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3083 1998-12-09 Andy Piper <andy@xemacs.org>
3085 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3086 image instance is removed so that the subwindow cache gets reset
3087 and thus destroyed images get GC'd.
3089 1998-12-08 Andy Piper <andy@xemacs.org>
3091 * gui-msw.c (mswindows_handle_gui_wm_command): call
3092 MARK_SUBWINDOWS_CHANGED.
3094 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3095 subwindows really get deleted.
3097 * redisplay.c: new variable subwindows_changed[_set].
3098 (redisplay_window): use it.
3099 (redisplay_frame): ditto.
3100 (redisplay_device): ditto.
3101 (redisplay_without_hooks): ditto.
3103 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3104 subwindows redisplay as per glyphs equivalent.
3105 * redisplay.h: ditto.
3106 (MARK_SUBWINDOWS_CHANGED): ditto.
3107 (RESET_CHANGED_SET_FLAGS): ditto.
3108 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3110 1998-12-07 Andy Piper <andy@xemacs.org>
3112 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3115 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3117 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3118 messages and paint widget glyphs as appropriate with their face fg
3121 1998-12-06 Andy Piper <andy@xemacs.org>
3123 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3124 here rather than in glyphs-widget - do this because we only want
3125 to provide what is really available.
3127 * glyphs.c (Fimage_instance_property): new function to get the
3128 properties of image instances. wires through to console specific
3129 methods and then to widget specific methods.
3130 (Fset_image_instance_property): ditto but for setting widget properties.
3131 (check_valid_face): make extern so that it can be used elsewhere.
3133 * glyphs-widget.c (widget_property): new function. gets the
3134 properties of widgets in general and wires the function through to
3135 widget specific ones.
3136 (widget_set_property): ditto but for setting widget properties.
3138 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3139 add items to the list. Play with window styles a bit to get the
3141 (mswindows_widget_property): break out specific widget properties.
3142 (mswindows_button_property): new function. gets the checked state
3144 (mswindows_combo_property): new function. gets the current
3145 selection in the combo box.
3146 (mswindows_widget_set_property): new function. sets specific
3147 properties of specific widgets.
3149 * glyphs-widget.c (check_valid_item_list): new function. check
3150 that items for a combo-box are just a list of strings.
3151 (combo_validate): new function. check there is an item list.
3152 (widget_instantiate_1): new function. renamed from
3153 widget_instantiate so that we can do slightly different things for
3155 (widget_instantiate): call widget_instantiate_1.
3156 (combo_instantiate): new function to instantiate combo boxes,
3157 defaults height to the pixel height of the number of items in the
3159 (syms_of_glyphs_widget): move widget keywords here.
3160 (image_instantiator_format_create_glyphs_widget): use new combo
3163 1998-12-04 Andy Piper <andy@xemacs.org>
3165 * event-msw.c (mswindows_wnd_proc): mule-ize.
3167 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3169 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3170 (resource_name_to_resource): ditto.
3171 (mswindows_resource_instantiate): ditto.
3172 (mswindows_widget_instantiate): ditto.
3173 (mswindows_widget_set_property): ditto.
3175 * redisplay-output.c (redisplay_output_subwindow): don't show
3176 subwindows if they are obscured at the edge of the frame, emacs
3177 gets into some sort of redisplay loop otherwise.
3179 * gui.h: prototype gui_item_selected_p.
3181 * gui.c (gui_item_selected_p): new function to determine the
3182 selected state of a gui_item.
3184 * frame.h (struct frame): add subwindows_changed flag.
3186 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3188 * glyphs.c (update_subwindow): new function to update a
3190 (update_frame_subwindows): new function to update all the
3191 subwindows on a frame.
3193 * console.h (struct console_methods): add update_subwindow.
3195 * glyphs-msw.c (mswindows_widget_property): return selected state
3196 for selected property.
3197 (mswindows_update_subwindow): new function. updates widget glyphs
3198 in redisplay as per menubars or toolbars e.g. selected state.
3199 (console_type_create_glyphs_mswindows): add update_subwindow.
3201 1998-12-03 Andy Piper <andy@xemacs.org>
3203 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3204 tty coding system things are such.
3206 * glyphs-widget.c (widget_face_font_info): new function for
3207 pulling out height and width metrics for a widget's face.
3208 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3211 * event-msw.c (mswindows_drain_windows_queue): translate messages
3212 that are destined for subwindows. This makes edit fields interact
3213 with the keyboard correctly.
3214 nuke warnings by #ifndef'ing out stuff not required by msg select().
3216 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3217 macro defining the iiforma without the symbol required by widget.
3218 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3220 * general.c (syms_of_general): add Qwidget, Qselected.
3222 * faces.c (complex_vars_of_faces): add widget face inheriting from
3225 1998-11-09 Andy Piper <andy@xemacs.org>
3227 * window.h (struct window): add a cache of subwindows on a
3230 * window.c (mark_window): mark the subwindow_instance_cache.
3231 (allocate_window): initialise the subwindow instance_cache.
3233 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3234 instead of the devmeth.
3235 (x_clear_toolbar): ditto.
3237 * redisplay-x.c (x_output_display_block): call
3238 redisplay_output_subwindow for subwindows and widgets.
3240 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3241 types to do nothing for.
3243 * lisp.h: declare new widget/subwindow symbols.
3245 * glyphs.c (image_instantiate): cache subwindows on a per-window
3247 (subwindow_possible_dest_types): new function for subwindow dest
3249 (subwindow_instantiate): generic instantiation of a
3250 subwindow. specialised by device multi-methods.
3251 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3253 (Fimage_instance_subwindow_id): ditto.
3254 (Fresize_subwindow): ditto.
3255 (Fforce_subwindow_map): ditto.
3257 * glyphs-x.c (x_print_image_instance): remove subwindow
3258 stuff. Handled genrically in glyphs.c.
3259 (x_image_instance_equal): ditto.
3260 (x_image_instance_hash): ditto.
3261 (x_finalize_image_instance): delete subwindows when required.
3262 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3263 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3264 glyph-based, subwindow implementation.
3265 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3267 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3269 (x_unmap_subwindow): new function to unmap X subwindows.
3270 (x_map_subwindow): new function to map X subwindows.
3271 (x_subwindow_instantiate): new function to instantiate X
3273 (x_resize_subwindow): new function to resize X subwindows.
3274 (console_type_create_glyphs_x): add subwindow functions.
3275 (image_instantiator_format_create_glyphs_x): add device
3276 multi-methods for xpm, xbm and subwindow.
3278 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3279 (subwindow-width): ditto.
3280 (subwindow-height): ditto.
3282 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3283 generally instantiating ms subwindows. Used by
3284 mswindows_*_instantiate.
3285 (mswindows_edit_instantiate): instantiate an edit field on a
3288 1998-11-04 Andy Piper <andy@xemacs.org>
3290 * symsinit.h: declare new functions.
3292 * redisplay.h: declare new functions.
3294 * redisplay-x.c (x_output_display_block): call
3295 redisplay_clear_region rather than x_clear_region.
3296 (x_output_string): ditto.
3297 (x_output_pixmap): ditto.
3298 (x_clear_to_window_end): ditto.
3299 (x_output_eol_cursor): ditto.
3300 (x_clear_region): only do X specific things. other duties handled
3301 in redisplay_clear_region.
3303 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3304 duties moved to redisplay_clear_region.
3306 * redisplay-output.c (clear_left_border): use
3307 redisplay_clear_region instead of device method.
3308 (clear_right_border): ditto.
3309 (output_display_line): ditto.
3310 (redisplay_output_subwindow): ditto.
3311 (redisplay_clear_top_of_window): ditto.
3312 (redisplay_clear_region): perform duties previously handled by
3313 device methods. call the appropriate device method at the
3314 end. unmap subwindows if necessary.
3316 * redisplay-msw.c (mswindows_output_string): use
3317 redisplay_clear_region instead of mswindows_clear_region.
3318 (mswindows_clear_to_window_end): ditto.
3319 (mswindows_output_display_block): output subwindows when required.
3320 (mswindows_clear_region): only do mswindows specific things,
3321 everything else is now handled in redisplay_clear_region.
3323 * gui.h: add item id hash defines and declare function prototypes.
3325 * gui.c (mark_gui_item): new function for marking gui_items.
3326 (gui_item_hash): generic hash function for generating command ids
3329 * gui-msw.c: new file.
3330 (mswindows_handle_gui_wm_command): new function to handle widget
3333 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3335 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3336 (DEFINE_DEVICE_IIFORMAT): ditto.
3337 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3338 (struct Lisp_Image_Instance): add widget and subwindow data plus
3339 appropriate access functions.
3341 * glyphs.c (decode_device_ii_format): new function for decoding
3342 image instantiator functions based on a device type as well as an
3344 (decode_image_instantiator_format): just call
3345 decode_device_ii_format with nil device.
3346 (add_entry_to_device_ii_format_list): new function for per device
3348 (add_entry_to_image_instantiator_format_list): just call
3349 add_entry_to_device_ii_format_list with nil device.
3350 (check_valid_vector): new function.
3351 (instantiate_image_instantiator): instantiate using per-format
3352 method and then per-format-per-device method (device
3353 multi-methods). signal an error if neither is possible.
3354 (mark_image_instance): cope with subwindows and widgets.
3355 (print_image_instance): ditto.
3356 (image_instance_equal): ditto.
3357 (image_instance_hash): ditto.
3358 (allocate_glyph): ditto.
3359 (glyph_width): ditto.
3360 (glyph_height_internal): ditto.
3361 (xpm_instantiate): removed because of device multi-methods.
3362 (mark_subwindow_cachels): new cachel functions for caching
3363 instantiated subwindows on a per-frame basis. mostly copied from
3364 glyph cachel functions.
3365 (update_subwindow_cachel_data): ditto.
3366 (add_subwindow_cachel): ditto.
3367 (get_subwindow_cachel_index): ditto.
3368 (reset_subwindow_cachels): ditto.
3369 (mark_subwindow_cachels_as_not_updated): ditto.
3370 (unmap_subwindow): generic unmapping of subwindows based on cachel
3372 (map_subwindow): ditto.
3373 (initialize_subwindow_image_instance): generic initialisation of
3375 (syms_of_glyphs): add widget keywords.
3377 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3380 1998-11-04 Andy Piper <andy@xemacs.org>
3382 * glyphs-widget.c: new file for instantiating widget type glyphs.
3383 (widget_possible_dest_types): new general dest type function for
3385 (widget_validate): ditto.
3386 (initialize_widget_image_instance): ditto
3387 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3388 before handing on control to device multi-methods.
3389 (syms_of_glyphs_widget): new function.
3390 (image_instantiator_format_create_glyphs_widget): new function,
3391 added placeholders for button, edit, combo, scrollbar
3392 (vars_of_glyphs_widget): new function.
3394 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3395 storing window ids of widgets.
3397 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3398 deletion of widget and subwindow glyphs.
3399 (mswindows_unmap_subwindow): new device function for unmapping
3400 subwindows on a msw frame.
3401 (mswindows_map_subwindow): ditto.
3402 (mswindows_register_image_instance): register instantiated widgets
3403 with the widget hastable.
3404 (mswindows_button_instantiate): instantiate a button type widget
3406 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3408 (image_instantiator_format_create_glyphs_mswindows): add device
3409 multi-methods for xbm, xpm, subwindow, edit and button.
3411 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3412 information about subwindows visible on the current frame. used by
3413 redisplay_clear_region to unmap subwindows as required.
3415 * frame.c (mark_frame): mark subwindow_cachels.
3416 (allocate_frame_core): instantiate subwindow_cachels.
3418 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3421 * event-msw.c (mswindows_wnd_proc): add call to
3422 mswindows_handle_gui_wm_command to handle widget callbacks.
3424 * emacs.c (main_1): add calls to glyphs-widget initialisation
3427 * console.h (struct console_methods): add
3428 unmap/map_subwindow_method for use be redisplay_clear_region to
3429 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3430 with by image instantiator multi-methods. Add
3431 resize_subwindow_method.
3433 * console-stream.c (stream_clear_region): change signature to
3434 match new generic clear region function.
3436 * Makefile.in.in: add glyphs-widget.o to list of objects.
3438 * console-msw.h (struct mswindows_frame): add widget hashtable for
3439 wiring command ids to callbacks.
3441 1998-12-16 Andy Piper <andy@xemacs.org>
3443 * XEmacs 21.2.6 is released
3445 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3447 * md5.c (Fmd5): Correctly initiate string input stream.
3449 * Makefile.in.in (tests): Add md5-tests.el.
3451 1998-12-06 Martin Buchholz <martin@xemacs.org>
3454 * alloc.c (make_vector): remove travesty
3458 (make_bit_vector_internal):
3460 (make_bit_vector_from_byte_vector):
3462 - make vector_equal a little faster.
3463 - Don't use variable name `new'.
3464 - Use size_t instead of EMACS_INT.
3465 - usual Martin-style pointless bit-twiddling.
3471 Make mapcar faster. In particular, make
3472 (mapc #'identity long-string)
3473 MUCH faster under Mule.
3474 * tests/automated/lisp-tests.el: Test 'em!
3476 1998-12-06 Martin Buchholz <martin@xemacs.org>
3478 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3481 1998-12-13 Martin Buchholz <martin@xemacs.org>
3483 * console-msw.c: Function definitions follow coding standards
3484 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3486 1998-12-11 Martin Buchholz <martin@xemacs.org>
3488 * events.h (struct timeout_data):
3489 * event-tty.c (tty_timeout_to_emacs_event):
3490 * event-msw.c (mswindows_wm_timer_callback):
3491 * event-Xt.c (Xt_timeout_to_emacs_event):
3492 * event-msw.c (mswindows_cancel_dispatch_event):
3493 Make sure Lisp_Objects inside events are initialized to Qnil, not
3494 Qnull_pointer, which is now illegal.
3496 1998-12-10 Martin Buchholz <martin@xemacs.org>
3498 * lisp.h: Fix up prototypes to match alloc.c
3500 1998-12-09 Andy Piper <andy@xemacs.org>
3502 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3503 XSETINT for assigning lisp objects.
3505 1998-12-07 Martin Buchholz <martin@xemacs.org>
3508 * console-msw.c (DHEADER):
3517 - max_align_t should not be visible to the user of the
3519 - use Bufbyte instead of char
3520 - parens around (FOOP (obj)) are always redundant.
3521 If they were necessary, we should fix the macro instead.
3522 - Always use string_data(foo) instead of foo->data.
3524 1998-12-07 Martin Buchholz <martin@xemacs.org>
3526 * sysdep.c (set_descriptor_non_blocking):
3527 Since O_NONBLOCK is now always #defined, make use of fcntl
3528 conditional on F_SETFL being defined.
3530 1998-12-09 Andy Piper <andy@xemacs.org>
3532 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3533 that got removed in the merge
3535 1998-11-30 Greg Klanderman <greg@alphatech.com>
3537 * dired.c (vars_of_dired): bugfix for previous conditionalization
3538 of user-name-completion on non- Windows NT.
3540 1998-12-08 Martin Buchholz <martin@xemacs.org>
3542 * windowsnt.h: Remove `support' for using index and rindex
3544 * filelock.c (current_lock_owner):
3545 - Change uses of index -> strchr, rindex -> strrchr
3547 1998-12-06 Martin Buchholz <martin@xemacs.org>
3549 * frame-msw.c (mswindows_init_frame_1):
3550 - use make_lisp_hash_table, not Fmake_hash_table
3553 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3555 * XEmacs 21.2.5 is released
3557 1998-11-30 Martin Buchholz <martin@xemacs.org>
3559 * xselect.c (receive_incremental_selection):
3560 * xselect.c (x_get_window_property):
3561 * xmu.c (XmuReadBitmapDataFromFile):
3562 * xmu.c (XmuCursorNameToIndex):
3563 * xgccache.c (describe_gc_cache):
3564 * xgccache.c (gc_cache_lookup):
3565 * xgccache.c (free_gc_cache):
3566 * xgccache.c (make_gc_cache):
3568 * window.c (map_windows_1):
3569 * window.c (Fother_window_for_scrolling):
3570 * window.c (window_scroll):
3571 * window.c (change_window_height):
3572 * window.c (Fsplit_window):
3573 * window.c (window_left_gutter_width):
3574 * window.c (window_modeline_height):
3575 * window.c (invalidate_vertical_divider_cache_in_window):
3576 * window.c (window_needs_vertical_divider_1):
3577 * window.c (update_mirror_internal):
3578 * window.c (SET_LAST_FACECHANGE):
3579 * widget.c (Fwidget_plist_member):
3580 * unexec.c (copy_text_and_data):
3581 * unexcw.c (copy_executable_and_dump_data_section):
3583 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3584 * tooltalk.c (struct Lisp_Tooltalk_Message):
3585 * toolbar.h (struct toolbar_button):
3586 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3587 * toolbar.c (recompute_overlaying_specifier):
3588 * toolbar.c (toolbar_validate):
3589 * toolbar.c (toolbar_button_at_pixpos):
3590 * toolbar.c (get_toolbar_coords):
3591 * toolbar.c (update_frame_toolbars):
3593 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3594 * toolbar-msw.c (mswindows_find_toolbar_pos):
3595 * toolbar-msw.c (mswindows_output_toolbar):
3596 * toolbar-msw.c (mswindows_clear_toolbar):
3605 * sysdep.c (sys_fopen):
3606 * sysdep.c (sys_open):
3607 * sysdep.c (tty_init_sys_modes_on_device):
3608 * sysdep.c (get_eof_char):
3609 * sysdep.c (child_setup_tty):
3610 * sysdep.c (set_descriptor_non_blocking):
3612 * syntax.c (scan_words):
3615 * symeval.h (struct symbol_value_varalias):
3616 * symeval.h (struct symbol_value_forward):
3617 * symbols.c (syms_of_symbols):
3618 * symbols.c (init_symbols_once_early):
3619 * symbols.c (Fbuilt_in_variable_type):
3620 * symbols.c (Fsymbol_value_in_buffer):
3621 * symbols.c (default_value):
3623 * symbols.c (find_symbol_value_quickly):
3624 * symbols.c (store_symval_forwarding):
3625 * symbols.c (set_default_console_slot_variable):
3626 * symbols.c (set_default_buffer_slot_variable):
3627 * symbols.c (verify_ok_for_buffer_local):
3628 * symbols.c (symbol_is_constant):
3629 * symbols.c (oblookup):
3630 * symbols.c (Funintern):
3631 * symbols.c (Fintern):
3632 * symbols.c (check_obarray):
3634 * specifier.h (struct specifier_methods):
3636 * specifier.c (specifier_instance):
3637 * specifier.c (specifier_instance_from_inst_list):
3638 * specifier.c (decode_locale_type):
3639 * specifier.c (specifier_equal):
3640 * specifier.c (finalize_specifier):
3641 * specifier.c (prune_specifiers):
3642 * specifier.c (kill_specifier_buffer_locals):
3643 * sound.c (init_native_sound):
3646 * search.c (Fmatch_data):
3647 * search.c (match_limit):
3648 * search.c (Freplace_match):
3649 * search.c (skip_chars):
3650 * search.c (scan_buffer):
3652 * scrollbar.c (specifier_vars_of_scrollbar):
3653 * scrollbar.c (Fscrollbar_set_hscroll):
3654 * scrollbar.c (vertical_scrollbar_changed_in_window):
3655 * scrollbar.c (release_window_mirror_scrollbars):
3656 * scrollbar.c (free_scrollbar_instance):
3659 * s/msdos.h (O_BINARY):
3661 * s/freebsd.h (LIBS_TERMCAP):
3662 * regex.c (re_match_2_internal):
3663 * regex.c (compile_extended_range):
3664 * regex.c (POP_FAILURE_POINT):
3665 * regex.c (PUSH_FAILURE_POINT):
3666 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3668 * redisplay.h (struct display_line):
3669 * redisplay.h (struct rune):
3670 * redisplay.c (vars_of_redisplay):
3671 * redisplay.c (redisplay_variable_changed):
3672 * redisplay.c (UPDATE_CACHE_RETURN):
3673 * redisplay.c (validate_line_start_cache):
3674 * redisplay.c (mark_redisplay_structs):
3675 * redisplay.c (mark_glyph_block_dynarr):
3676 * redisplay.c (window_line_number):
3677 * redisplay.c (redisplay_frame):
3678 * redisplay.c (redisplay_window):
3679 * redisplay.c (generate_modeline):
3680 * redisplay.c (create_right_glyph_block):
3681 * redisplay.c (create_left_glyph_block):
3682 * redisplay.c (create_text_block):
3684 * redisplay-x.c (x_output_hline):
3685 * redisplay-x.c (x_output_vertical_divider):
3686 * redisplay-tty.c (tty_output_display_block):
3687 * redisplay-output.c (output_display_line):
3688 * redisplay-output.c:
3689 * redisplay-msw.c (mswindows_output_vertical_divider):
3690 * redisplay-msw.c (mswindows_ring_bell):
3691 * redisplay-msw.c (mswindows_output_cursor):
3695 * puresize.h (RAW_PURESIZE):
3696 * profile.c (syms_of_profile):
3697 * profile.c (Fstart_profiling):
3698 * profile.c (sigprof_handler):
3701 * process.c (vars_of_process):
3702 * process.c (read_process_output):
3703 * process.c (get_process):
3705 * process-unix.c (unix_open_multicast_group):
3706 * process-unix.c (unix_get_tty_name):
3707 * process-unix.c (unix_send_process):
3708 * process-unix.c (unix_reap_exited_processes):
3709 * process-unix.c (unix_create_process):
3710 * process-unix.c (unix_init_process_io_handles):
3711 * process-unix.c (allocate_pty):
3713 * process-nt.c (nt_open_network_stream):
3714 * process-nt.c (nt_update_status_if_terminated):
3715 * process-nt.c (nt_finalize_process_data):
3717 * print.c (debug_short_backtrace):
3718 * print.c (debug_backtrace):
3719 * print.c (print_symbol):
3720 * print.c (print_internal):
3721 * print.c (print_cons):
3722 * print.c (Fwrite_char):
3723 * print.c (print_prepare):
3724 * print.c (canonicalize_printcharfun):
3725 * print.c (output_string):
3728 * opaque.c (allocate_managed_opaque):
3730 * offix.c (DndSetData):
3731 * objects.c (face_boolean_create):
3732 * objects.c (font_instantiate):
3733 * objects.c (font_create):
3734 * objects.c (color_create):
3735 * objects.c (finalize_font_instance):
3736 * objects.c (finalize_color_instance):
3738 * objects-x.c (x_font_instance_truename):
3740 * objects-x.c (x_initialize_font_instance):
3741 * objects-x.c (allocate_nearest_color):
3742 * objects-tty.c (tty_initialize_font_instance):
3743 * objects-tty.c (tty_initialize_color_instance):
3744 * objects-msw.c (mswindows_initialize_color_instance):
3745 * ntproc.c (syms_of_ntproc):
3746 * ntproc.c (Fwin32_set_process_priority):
3747 * ntproc.c (sys_spawnve):
3749 * ntheap.c (get_data_end):
3753 * nt.c (generate_inode_val):
3754 * nt.c (sys_rename):
3756 * mule-wnnfns.c (Fwnn_hinsi_number):
3757 * mule-wnnfns.c (Fwnn_yuragi):
3758 * mule-wnnfns.c (Fwnn_common_learn):
3759 * mule-wnnfns.c (Fwnn_suffix_learn):
3760 * mule-wnnfns.c (Fwnn_prefix_learn):
3761 * mule-wnnfns.c (Fwnn_okuri_learn):
3762 * mule-wnnfns.c (Fwnn_complex_conv):
3763 * mule-wnnfns.c (Fwnn_last_is_first):
3764 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3765 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3766 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3767 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3768 * mule-wnnfns.c (Fwnn_hinsi_list):
3769 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3770 * mule-wnnfns.c (Fwnn_dict_search):
3771 * mule-wnnfns.c (Fwnn_word_toroku):
3772 * mule-wnnfns.c (Fwnn_hindo_update):
3773 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3774 * mule-wnnfns.c (Fwnn_kakutei):
3775 * mule-wnnfns.c (Fwnn_begin_henkan):
3776 * mule-wnnfns.c (Fwnn_dict_comment):
3777 * mule-wnnfns.c (Fwnn_dict_add):
3778 * mule-wnnfns.c (Fwnn_open):
3779 * mule-mcpath.c (mc_getcwd):
3780 * mule-coding.c (vars_of_mule_coding):
3781 * mule-coding.c (convert_to_external_format):
3782 * mule-coding.c (encoding_marker):
3783 * mule-coding.c (decoding_marker):
3784 * mule-coding.c (Fcopy_coding_system):
3785 * mule-coding.c (Fmake_coding_system):
3786 * mule-coding.c (Fcoding_system_list):
3787 * mule-coding.c (Ffind_coding_system):
3788 * mule-coding.c (symbol_to_eol_type):
3790 * mule-charset.c (complex_vars_of_mule_charset):
3791 * mule-charset.c (vars_of_mule_charset):
3792 * mule-charset.c (Fset_charset_ccl_program):
3793 * mule-charset.c (struct charset_list_closure):
3794 * mule-charset.c (Ffind_charset):
3795 * mule-charset.c (make_charset):
3796 * mule-charset.c (non_ascii_valid_char_p):
3798 * mule-ccl.c (ccl_driver):
3799 * mule-canna.c (c2mu):
3800 * mule-canna.c (Fcanna_henkan_begin):
3801 * mule-canna.c (Fcanna_parse):
3802 * mule-canna.c (Fcanna_store_yomi):
3803 * mule-canna.c (Fcanna_touroku_string):
3804 * mule-canna.c (Fcanna_initialize):
3806 * menubar.c (menu_parse_submenu_keywords):
3807 * menubar-x.c (make_dummy_xbutton_event):
3808 * menubar-x.c (set_frame_menubar):
3809 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3812 * menubar-msw.c (mswindows_popup_menu):
3813 * menubar-msw.c (mswindows_update_frame_menubars):
3814 * menubar-msw.c (mswindows_handle_wm_command):
3815 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3816 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3817 * menubar-msw.c (update_frame_menubar_maybe):
3818 * menubar-msw.c (populate_or_checksum_helper):
3819 * menubar-msw.c (empty_menu):
3822 * marker.c (set_marker_internal):
3823 * marker.c (print_marker):
3826 * lstream.c (lisp_buffer_rewinder):
3827 * lstream.c (mark_lstream):
3829 * lrecord.h (struct lrecord_header):
3830 * lread.c (readevalloop):
3831 * lread.c (locate_file):
3832 * lread.c (locate_file_in_directory):
3833 * lread.c (Flocate_file):
3834 * lread.c (load_force_doc_string_unwind):
3835 * lread.c (ebolify_bytecode_constants):
3840 * linuxplay.c (linux_play_data_or_file):
3841 * linuxplay.c (audio_init):
3844 * keymap.c (describe_map):
3845 * keymap.c (describe_map_mapper):
3846 * keymap.c (Fdescribe_bindings_internal):
3847 * keymap.c (Fsingle_key_description):
3848 * keymap.c (map_keymap_sorted):
3849 * keymap.c (get_relevant_keymaps):
3850 * keymap.c (Flookup_key):
3851 * keymap.c (raw_lookup_key_mapper):
3852 * keymap.c (Fdefine_key):
3853 * keymap.c (Fevent_matches_key_specifier_p):
3854 * keymap.c (key_desc_list_to_event):
3855 * keymap.c (define_key_parser):
3856 * keymap.c (define_key_check_and_coerce_keysym):
3857 * keymap.c (keymap_submaps):
3858 * keymap.c (keymap_store_internal):
3859 * keymap.c (keymap_delete_inverse_internal):
3860 * keymap.c (keymap_store_inverse_internal):
3861 * keymap.c (print_keymap):
3862 * keymap.c (Lisp_Keymap):
3865 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3866 * insdel.c (make_gap):
3867 * input-method-xlib.c (get_XIM_input):
3868 * input-method-xlib.c (XIM_init_frame):
3873 * gui-x.c (button_item_to_widget_value):
3874 * gui-x.c (popup_selection_callback):
3875 * glyphs.h (struct image_instantiator_methods):
3876 * glyphs.c (mark_glyph_cachels):
3877 * glyphs.c (Fglyph_type):
3878 * glyphs.c (image_instantiate):
3879 * glyphs.c (image_create):
3880 * glyphs.c (make_image_instance_1):
3881 * glyphs.c (finalize_image_instance):
3883 * glyphs-x.c (finalize_subwindow):
3884 * glyphs-x.c (xface_validate):
3885 * glyphs-x.c (x_locate_pixmap_file):
3886 * glyphs-x.c (convert_EImage_to_XImage):
3888 * glyphs-msw.c (mswindows_resource_instantiate):
3889 * glyphs-msw.c (xpm_to_eimage):
3890 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3891 * glyphs-eimage.c (tiff_instantiate):
3892 * glyphs-eimage.c (png_instantiate):
3893 * glyphs-eimage.c (struct png_error_struct):
3894 * glyphs-eimage.c (gif_memory_storage):
3897 * getloadavg.c (getloadavg):
3900 * free-hook.c (log_gcpro):
3901 * free-hook.c (check_malloc):
3902 * free-hook.c (check_free):
3903 * free-hook.c (ROUND_UP_TO_PAGE):
3905 * frame.h (struct frame):
3907 * frame.c (change_frame_size_1):
3908 * frame.c (allocate_frame_core):
3910 * frame-x.c (x_focus_on_frame):
3911 * frame-x.c (x_init_frame_2):
3912 * frame-x.c (x_popup_frame):
3913 * frame-x.c (xemacs_XtPopup):
3915 * frame-x.c (Foffix_start_drag_internal):
3916 * frame-x.c (x_cde_destroy_callback):
3917 * frame-x.c (x_wm_hack_wm_protocols):
3918 * frame-tty.c (tty_frame_visible_p):
3919 * frame-msw.c (mswindows_make_frame_invisible):
3920 * frame-msw.c (mswindows_after_init_frame):
3921 * frame-msw.c (mswindows_init_frame_1):
3922 * fns.c (syms_of_fns):
3923 * fns.c (Fbase64_decode_string):
3925 * fns.c (Ffillarray):
3926 * fns.c (Fobject_plist):
3928 * fns.c (Fcanonicalize_lax_plist):
3929 * fns.c (Fcanonicalize_plist):
3930 * fns.c (Fplist_remprop):
3931 * fns.c (Fplist_get):
3932 * fns.c (advance_plist_pointers):
3933 * fns.c (internal_plist_put):
3934 * fns.c (Fnreverse):
3937 * fns.c (Fsubstring):
3938 * fns.c (Fbvconcat):
3940 * fns.c (length_with_bytecode_hack):
3941 * fns.c (print_bit_vector):
3943 * floatfns.c (Ffloor):
3945 * floatfns.c (in_float_error):
3946 * fileio.c (Ffile_modes):
3947 * fileio.c (Fexpand_file_name):
3948 * fileio.c (Fmake_temp_name):
3949 * fileio.c (Ffile_name_nondirectory):
3950 * fileio.c (Ffile_name_directory):
3952 * file-coding.c (vars_of_mule_coding):
3953 * file-coding.c (convert_to_external_format):
3954 * file-coding.c (encoding_marker):
3955 * file-coding.c (decoding_marker):
3956 * file-coding.c (Fcopy_coding_system):
3957 * file-coding.c (Fmake_coding_system):
3958 * file-coding.c (struct coding_system_list_closure):
3959 * file-coding.c (Ffind_coding_system):
3960 * file-coding.c (symbol_to_eol_type):
3962 * faces.h (struct face_cachel):
3963 * faces.c (vars_of_faces):
3964 * faces.c (face_property_was_changed):
3965 * faces.c (mark_face_cachels):
3966 * faces.c (temporary_faces_list):
3967 * faces.c (struct face_list_closure):
3969 * extents.h (struct extent):
3970 * extents.c (vars_of_extents):
3971 * extents.c (struct copy_string_extents_1_arg):
3972 * extents.c (add_string_extents_mapper):
3973 * extents.c (Fextent_property):
3974 * extents.c (Fset_extent_property):
3975 * extents.c (symbol_to_glyph_layout):
3976 * extents.c (properties_equal):
3977 * extents.c (print_extent):
3978 * extents.c (print_extent_1):
3979 * extents.c (extent_in_region_p):
3980 * extents.c (gap_array_make_gap):
3982 * events.h (struct Lisp_Event):
3984 * events.c (Fevent_properties):
3985 * events.c (format_event_object):
3986 * events.c (Fmake_event):
3987 * events.c (event_equal):
3988 * events.c (print_event):
3989 * events.c (mark_event):
3990 * event-stream.c ((read-char)
3991 * event-stream.c (vars_of_event_stream):
3992 * event-stream.c (syms_of_event_stream):
3993 * event-stream.c (Fset_recent_keys_ring_size):
3994 * event-stream.c (Fsit_for):
3995 * event-stream.c (Fnext_event):
3996 * event-stream.c (execute_help_form):
3997 * event-stream.c (maybe_kbd_translate):
3999 * event-msw.c (vars_of_event_mswindows):
4000 * event-msw.c (mswindows_wnd_proc):
4001 * event-msw.c (mswindows_need_event):
4002 * event-msw.c (mswindows_drain_windows_queue):
4003 * event-msw.c (mswindows_pump_outstanding_events):
4005 * event-msw.c (slurp_thread):
4006 * event-msw.c (struct ntpipe_slurp_stream):
4007 * event-msw.c (HANDLE_TO_USID):
4008 * event-Xt.c (emacs_Xt_handle_magic_event):
4009 * event-Xt.c (x_event_to_emacs_event):
4010 * event-Xt.c (x_reset_modifier_mapping):
4011 * event-Xt.c (x_reset_key_mapping):
4013 * eval.c (syms_of_eval):
4014 * eval.c (warn_when_safe):
4015 * eval.c (warn_when_safe_lispobj):
4016 * eval.c (Fbacktrace_frame):
4017 * eval.c (Fbacktrace):
4018 * eval.c (top_level_set):
4019 * eval.c (unbind_to_hairy):
4020 * eval.c (specbind_magic):
4021 * eval.c (specbind_unwind_wasnt_local):
4022 * eval.c (call2_trapping_errors):
4023 * eval.c (call1_trapping_errors):
4024 * eval.c (catch_them_squirmers_call2):
4025 * eval.c (call0_trapping_errors):
4026 * eval.c (run_hook_trapping_errors):
4027 * eval.c (catch_them_squirmers_eval_in_buffer):
4028 * eval.c (call4_in_buffer):
4029 * eval.c (call3_in_buffer):
4030 * eval.c (call2_in_buffer):
4031 * eval.c (call1_in_buffer):
4032 * eval.c (call0_in_buffer):
4033 * eval.c (run_hook):
4034 * eval.c (run_hook_with_args_in_buffer):
4037 * eval.c (do_autoload):
4038 * eval.c (un_autoload):
4039 * eval.c (Fautoload):
4040 * eval.c (Finteractive_p):
4041 * eval.c (Fcommand_execute):
4042 * eval.c (signal_quit):
4043 * eval.c (call_with_suspended_errors):
4044 * eval.c (signal_error):
4045 * eval.c (return_from_signal):
4046 * eval.c (Fcall_with_condition_handler):
4047 * eval.c (run_condition_case_handlers):
4048 * eval.c (condition_case_1):
4049 * eval.c (Funwind_protect):
4050 * eval.c (unwind_to_catch):
4051 * eval.c (internal_catch):
4052 * eval.c (Fmacroexpand_internal):
4053 * eval.c (Fuser_variable_p):
4054 * eval.c (Fdefconst):
4056 * eval.c (Ffunction):
4057 * eval.c (signal_call_debugger):
4058 * eval.c (call_debugger):
4061 * emacs.c (sort_args):
4065 * editfns.c (Fencode_time):
4066 * editfns.c (Fdecode_time):
4067 * editfns.c (Fuser_full_name):
4069 * editfns.c (save_excursion_restore):
4072 * doprnt.c (emacs_doprnt_1):
4073 * doc.c (verify_doc_mapper):
4074 * doc.c (Fsnarf_documentation):
4075 * doc.c (Fdocumentation):
4077 * dired.c (user_name_completion):
4078 * dired.c (Fdirectory_files):
4081 * dgif_lib.c (FreeSavedImages):
4082 * dgif_lib.c (DGifGetImageDesc):
4084 * device.h (struct device):
4085 * device.c (Fselect_device):
4086 * device.c (allocate_device):
4088 * device-x.c (Fx_keysym_on_keyboard_p):
4089 * device-x.c (Fx_valid_keysym_name_p):
4090 * device-x.c (x_IO_error_handler):
4091 * device-x.c (x_delete_device):
4092 * device-x.c (x_finish_init_device):
4093 * device-x.c (x_init_device):
4095 * device-msw.c (mswindows_init_device):
4097 * database.c (vars_of_database):
4098 * database.c (Fput_database):
4099 * database.c (Fopen_database):
4100 * database.c (berkdb_remove):
4101 * database.c (berkdb_put):
4102 * database.c (Fdatabasep):
4103 * database.c (print_database):
4105 * data.c (vars_of_data):
4106 * data.c (syms_of_data):
4107 * data.c (init_errors_once_early):
4108 * data.c (prune_weak_lists):
4109 * data.c (finish_marking_weak_lists):
4110 * data.c (print_weak_list):
4112 * data.c (Fstring_to_number):
4113 * data.c (Fnumber_to_string):
4114 * data.c (Findirect_function):
4117 * data.c (Fsubr_interactive):
4119 * data.c (Fkeywordp):
4122 * console.h (CONSOLE_NAME):
4124 * console.c (vars_of_console):
4125 * console.c (Fselect_console):
4127 * console-x.h (DEVICE_X_COLORMAP):
4128 * console-x.h (struct x_device):
4129 * console-x.c (x_device_to_console_connection):
4130 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4131 * console-tty.c (tty_init_console):
4133 * console-msw.h (struct mswindows_frame):
4136 * cmds.c (internal_self_insert):
4137 * cmds.c (Fforward_line):
4138 * cmds.c (Fforward_char):
4141 * chartab.c (mark_char_table_entry):
4143 * casefiddle.c (casify_word):
4144 * callproc.c (child_setup):
4145 * callproc.c (Fcall_process_internal):
4147 * callint.c (Fcall_interactively):
4149 * bytecode.c (execute_rare_opcode):
4150 * bytecode.c (execute_optimized_program):
4153 * buffer.h (BUFFER_REALLOC):
4154 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4155 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4157 * buffer.h (MAP_INDIRECT_BUFFERS):
4158 * buffer.h (CHECK_LIVE_BUFFER):
4159 * buffer.c (init_initial_directory):
4160 * buffer.c (complex_vars_of_buffer):
4161 * buffer.c (vars_of_buffer):
4162 * buffer.c (finish_init_buffer):
4163 * buffer.c (Fget_file_buffer):
4164 * buffer.c (Fbuffer_list):
4165 * buffer.c (mark_buffer):
4166 * balloon_help.c (balloon_help_move_to_pointer):
4167 * balloon_help.c (show_help):
4170 * alloc.c (garbage_collect_1):
4171 * alloc.c (sweep_strings):
4172 * alloc.c (sweep_compiled_functions):
4173 * alloc.c (sweep_bit_vectors_1):
4174 * alloc.c (sweep_vectors_1):
4175 * alloc.c (sweep_lcrecords_1):
4176 * alloc.c (tick_lcrecord_stats):
4177 * alloc.c (pure_string_sizeof):
4178 * alloc.c (mark_conses_in_list):
4179 * alloc.c (mark_object):
4180 * alloc.c (report_pure_usage):
4181 * alloc.c (make_pure_float):
4182 * alloc.c (make_pure_string):
4183 * alloc.c (free_managed_lcrecord):
4184 * alloc.c (mark_string):
4185 * alloc.c (noseeum_make_marker):
4186 * alloc.c (allocate_event):
4187 * alloc.c (Fbit_vector):
4188 * alloc.c (Fvector):
4189 * alloc.c (make_float):
4190 * alloc.c (Fmake_list):
4192 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4193 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4194 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4195 * alloc.c (dbg_constants):
4196 * alloc.c (gc_record_type_p):
4197 * alloc.c (free_lcrecord):
4198 * alloc.c (xmalloc):
4199 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4201 * Makefile.in.in (mostlyclean):
4202 * Makefile.in.in (external_client_xlib_objs_nonshared):
4203 * Makefile.in.in (temacs_link_args):
4204 * Makefile.in.in (release):
4205 * Makefile.in.in (dnd_objs):
4206 * Makefile.in.in (objs):
4207 * Makefile.in.in (PROGNAME):
4208 * EmacsShell.c: cast strings to (XtPointer)
4209 * EmacsFrame.c: cast strings to (XtPointer)
4211 - rewrite basic lisp functions for speed
4212 - rewrite bytecode interpreter for speed
4213 - rewrite list looping constructs for speed and safety using
4215 - use size_t where appropriate.
4216 - new hashtable implementation
4217 - cleanup implementation of opaques
4218 - opaques can now be purecopy'ed
4219 - move some cl functionality into C for speed.
4220 - remove last remaining VMS support
4222 - improve gdb/dbx debugger support
4223 - move pure.c back into alloc.c for performance
4224 - enable report_pure_usage() if --memory-usage-stats
4225 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4226 - don't use symbols with leading `_' or embedded `__'
4227 - globally cleanup duplicated semicolons `;;'
4228 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4230 - globally replace O_NDELAY with O_NONBLOCK.
4231 - globally replace CDISABLE with _POSIX_VDISABLE.
4232 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4233 - define (and maybe use!) STDERR_FILENO and friends.
4234 - add support for macros defined in C
4235 - `when', `unless', `not' and `defalias' now defined in C,
4236 so that they are universally available.
4237 - rename defvar_mumble to defvar_magic
4238 - rename RETURN__ to RETURN_SANS_WARNINGS
4239 - use consistent style of initial caps in error messages
4240 - implement last, butlast, nbutlast, copy-list in C.
4241 - provide typedefs for all struct Lisp_foo types
4242 - Lisp_Objects must be initialized to Qnil rather than 0.
4243 - make sure XEmacs runs (slowly) with always_gc == 1;
4244 - fast and safe LOOP_* macros
4245 - change calls to XSETOBJ to XSETFOO
4246 - replace calls to XSETINT by make_int()
4247 - plug up memory leaks
4248 - use style markobj (foo), not silly ((markobj) (foo))
4249 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4251 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4253 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4255 1998-11-28 SL Baur <steve@altair.xemacs.org>
4257 * XEmacs 21.2-beta4 is released.
4259 1998-11-27 SL Baur <steve@altair.xemacs.org>
4261 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4262 property in control-1 charset.
4263 From Julian Bradfield <jcb@daimi.au.dk>
4265 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4267 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4269 Add stub for :label.
4271 * gui.c (gui_item_add_keyval_pair): ditto.
4273 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4274 :key-sequence keyword.
4276 Support :active for submenus like the Windows code and FSF Emacs.
4278 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4280 * dired.c (make_directory_hash_table): make_string() is OK because
4281 readdir() Mule-encapsulates.
4283 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4285 * fns.c (Fbase64_encode_string): Fix docstring.
4286 (Fbase64_decode_string): Ditto.
4288 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4290 * editfns.c (Ftranslate_region): Use
4291 convert_bufbyte_string_into_emchar_string().
4293 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4295 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4297 (Ftranslate_region): Turn table into an array of Emchars for
4300 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4302 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4304 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4306 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4307 type `char' with nils.
4309 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4310 for tables of type `char'.
4312 1998-11-26 Didier Verna <verna@inf.enst.fr>
4314 * input-method-xlib.c (Initialize_Locale): don't call
4315 XtSetLanguageProc. We've done the whole work here.
4316 * input-method-xfs.c (Initialize_Locale): ditto.
4317 * input-method-motif.c (Initialize_Locale): ditto.
4319 1998-11-26 Didier Verna <verna@inf.enst.fr>
4321 * process-unix.c (unix_create_process): handle properly
4322 Vfile_name_coding_system for converting the program and directory
4325 1998-11-27 SL Baur <steve@altair.xemacs.org>
4327 * m/arm.h: New file.
4328 From James LewisMoss <dres@ioa.com>
4330 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4333 Fix the realpath() problem of UnixWare2.1.3.
4334 Patches for NEC's sysv4.2 machine.
4336 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4338 * dired.c (Fdirectory_files): Remove redundant code.
4340 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4342 * fns.c (free_malloced_ptr): New function.
4343 (XMALLOC_OR_ALLOCA): New macro.
4344 (XMALLOC_UNBIND): Ditto.
4345 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4346 to be freed in case of non-local exit.
4347 (Fbase64_encode_string): Ditto.
4348 (Fbase64_decode_region): Ditto.
4349 (Fbase64_decode_string): Ditto.
4350 (STORE_BYTE): New macro.
4351 (base64_decode_1): Use it.
4353 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4355 * fns.c (base64_value_to_char): Base64 stuff.
4357 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4359 * editfns.c (Fbuffer_substring): New function.
4361 * lisp.h: Declare make_string_from_buffer_no_extents().
4363 * insdel.c (make_string_from_buffer_1): New function.
4364 (make_string_from_buffer_no_extents): Ditto.
4366 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4368 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4369 sound work on AIX with OSS installed. Linux should still work.
4371 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4373 * config.h.in: name change for cygwin/version.h
4375 * configure.in: check for cygwin/version.h now.
4377 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4378 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4379 move cygwin32/version.h to cygwin/version.h
4381 1998-11-03 Olivier Galibert <galibert@pobox.com>
4383 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4386 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4388 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4389 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4390 enable BROKEN_SIGIO under b20 to make QUIT work.
4392 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4394 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4395 to fit within the constraints of the screen size. I.e. make the
4396 frame small enough to fit and move it if some of it will be
4399 1998-10-19 Greg Klanderman <greg@alphatech.com>
4401 * dired.c: conditionalize inclusion of user-name-completion
4402 primitives on non-Windows NT. The needed functions don't exist on NT.
4404 1998-11-24 SL Baur <steve@altair.xemacs.org>
4406 * gifrlib.h: Clean up types for 64 bit compile.
4407 * dgif_lib.c (DGifInitRead): Ditto.
4408 (MakeSavedImage): Ditto.
4409 * emacs.c (decode_path): Ditto.
4410 From Steve Carney <carney@pa.dec.com>
4412 1998-10-16 William M. Perry <wmperry@aventail.com>
4414 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4415 (cehckboxes instead of checkboxes).
4417 1998-10-15 SL Baur <steve@altair.xemacs.org>
4419 * XEmacs 21.2-beta3 is released.
4421 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4423 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4424 gnuclient. Otherwise, we run xemacs as we always did. This gets
4425 rid of the annoying DOS window when running gnuclient.
4427 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4429 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4430 HAVE_MS_WINDOWS typo.
4432 1998-10-13 SL Baur <steve@altair.xemacs.org>
4434 * process-unix.c (unix_send_process): Set closed flag on writable
4435 pipe after SIGPIPE is received and before we call deactivate_process.
4437 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4439 * window.c (Fset_window_start): respect narrowing when
4440 checking wheter start is at the beginning of a line.
4441 (Fset_window_buffer): Ditto
4442 Fixes repeatable crash in VM.
4444 1998-10-09 SL Baur <steve@altair.xemacs.org>
4446 * window.c (specifier_vars_of_window): Set default vertical
4447 divider width to 1 on ttys.
4449 1998-10-08 Martin Buchholz <martin@xemacs.org>
4454 Add <stddef.h> to get ptrdiff_t declaration
4456 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4458 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4459 is used for Motif or Lucid scrollbars under X.
4461 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4463 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4466 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4468 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4470 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4472 * s/cygwin32.h: more cygwin b20 reorganisation.
4474 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4476 * nas.c: Added necessary support functions to be able to handle
4477 WAVE files in memory, just like the support for SND files in
4480 1998-09-30 SL Baur <steve@altair.xemacs.org>
4482 * callproc.c (child_setup): Fix spelling typo.
4484 1998-09-29 SL Baur <steve@altair.xemacs.org>
4486 * XEmacs 21.2-beta2 is released.
4488 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4490 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4491 to prevent memory corruption in the case of jumping out of a series of
4492 nested match patterns. This is a rather brute force approach, though.
4494 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4496 * config.h.in: ditto.
4498 * s/cygwin32.h: rearrange declarations to cope with cygwin
4499 b20. Include cygwin32/version.h if it exists.
4501 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4503 * device-msw.c (mswindows_init_device): Call new
4504 mswindows_enumerate_fonts() function in objects-msw.c instead
4505 of font_enum_callback_1() to enumerate fonts.
4507 font_enum_callback_1() and _2() moved to objects-msw.c.
4509 * faces.c (complex_vars_of_faces): Make the mswindows default
4510 face font fully specified and provide some fallbacks.
4512 * objects-msw.c: font_enum_callback_1() and _2() moved here
4513 from objects-msw.c. Obtain the enumerated font's character
4514 sets by table lookup instead of using the locale-specific
4515 string provided by Windows.
4517 New public non-method mswindows_enumerate_fonts() that fills
4518 in the supplied mswindows device's font list.
4520 mswindows_initialize_font_instance: Use the supplied name
4521 variable instead of f->name when signalling errors. Match font
4522 weights and character sets using lookup tables which handle
4523 spaces instead of by frobbing.
4525 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4527 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4528 on the size of code fragments passed to run_in_other_process.
4530 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4531 the amount of memory to allocate in the other process.
4533 Removed sigkill_code_end(), sigint_code_end() and
4534 sig_enable_code_end() since they are now redundant.
4536 send_signal() and enable_child_signals(): Don't try to work
4537 out the end of the code fragments passed to
4538 run_in_other_process()
4540 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4542 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4545 * src/unexelf.c: Partially synched with FSF's 20.3.
4547 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4549 * insdel.c (signal_after_change): Map across indirect buffers
4550 here, and not in the upper-level functions.
4551 (signal_first_change): Don't check for Armageddon.
4552 (signal_before_change): Map across indirect buffers here.
4553 (prepare_to_modify_buffer): ...and here.
4555 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4557 * insdel.c (signal_after_change): Add return value.
4558 (buffer_insert_string_1): Use it.
4559 (buffer_delete_range): Ditto.
4560 (buffer_replace_char): Ditto.
4561 (cancel_multiple_change): Map the indirect buffers.
4563 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4565 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4566 (uninit_buffer_text): Ditto.
4568 * buffer.c (Fmake_indirect_buffer): Implement stricter
4571 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4573 * insdel.c (change_function_restore): Reverse order of
4574 function-call and assignment.
4575 (first_change_hook_restore): Ditto.
4577 * extents.c (mark_extent_auxiliary): Mark them.
4578 (Fset_extent_property): Set them.
4579 (Fextent_property): Get them.
4580 (Fextent_properties): Ditto.
4581 (vars_of_extents): Set their default.
4583 * extents.h (struct extent_auxiliary): Add before_change_functions
4584 and after_change_functions.
4586 * insdel.c (signal_before_change): Use it.
4587 (signal_after_change): Ditto.
4589 * extents.c (report_extent_modification): New function.
4591 * insdel.c (signal_before_change): Don't check for Armageddon.
4592 (signal_after_change): Ditto.
4594 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4596 * redisplay.c (redisplay_window): make sure a new starting point
4597 is chosen if it somehow got moved from the beginning of the line
4598 -- this can happen because Fwiden was called recently.
4600 * window.c (Fset_window_start): set start_at_line_beg correctly
4601 (Fset_window_buffer): Ditto
4603 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4605 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4606 (uninit_buffer_text): Ditto.
4608 * buffer.c (Fmake_indirect_buffer): Implement stricter
4611 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4613 * emacs.c (main_1): Removed references to *vars_of_filelock.
4615 * lisp.h: Added Fsystem_name.
4617 * filelock.c: Replaced by version from FSF 20.2. Now implements
4618 locking by using symlinks which is NFS safe. However keep the
4619 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4620 version (and of course use ansi C, acessor macros, etc).
4622 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4624 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4625 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4626 in init_signals_very_early. However these should not be passed
4627 on to children attached to the new pty.
4629 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4631 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4633 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4635 * fileio.c (file-name-directory, file_name_as_directory):
4636 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4638 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4640 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4642 * ralloc.c: uncomment __morecore.
4644 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4646 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4647 WriteFile() to fix a winsock 1.x bug on Win95.
4649 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4651 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4653 (x_event_to_emacs_event): Ditto.
4654 (emacs_Xt_handle_focus_event): Ditto.
4655 (emacs_Xt_handle_magic_event): Ditto.
4657 * console-x.h (struct x_device): New flag being_deleted.
4658 (DEVICE_X_BEING_DELETED): New macro.
4660 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4661 returning. Before doing that, set the being_deleted flag on the
4664 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4666 * device-x.c (x-seppuku-on-epipe): Removed.
4668 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4670 * frame-x.c (x_delete_frame): Flush the X output buffer after
4671 calling XtDestroyWidget to ensure that the windows are really
4674 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4676 * menubar-x.c (my_run_hook): New unused function.
4677 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4678 since we ignore the results of the contained functions anyway.
4680 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4682 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4683 interlaced GIF files that are smaller than 4 lines high...
4685 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4687 * buffer.c (map_over_sharing_buffers): Deleted.
4689 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4691 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4694 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4696 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4698 (buffer_delete_range): Ditto.
4700 * marker.c (init_buffer_markers): Set point-marker to the value of
4701 point in an indirect buffer.
4703 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4705 * undo.c (undo_prelude): Test last-undo-buffer against base
4708 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4710 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4712 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4714 * insdel.c (init_buffer_text): Initialize it here.
4716 * line-number.c: Address line_number_cache through buffer->text.
4718 * buffer.c (mark_buffer): Mark line number cache.
4720 * bufslots.h (line_number_cache): Move to struct buffer_text.
4722 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4723 across the children buffers.
4724 (buffer_delete_range): Ditto.
4725 (buffer_replace_char): Ditto.
4729 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4731 * buffer.c (Fmake_indirect_buffer): Uncomment.
4733 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4735 * macros.c (Fend_kbd_macro): Remove trailing period from error
4737 (Fexecute_kbd_macro): Ditto.
4739 1998-08-21 Greg Klanderman <greg@alphatech.com>
4741 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4742 (Fuser_name_completion_1): new function to return uniqueness
4743 indication in addition to the user name completion.
4744 (user_name_completion): change type of `uniq' argument.
4746 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4748 * lread.c (vars_of_lread): Removed `source-directory' variable.
4750 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4752 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4755 1998-08-19 SL Baur <steve@altair.xemacs.org>
4757 * dired.c (vars_of_dired): Fix misapplied patch.
4759 1998-08-16 Martin Buchholz <martin@xemacs.org>
4761 * fns.c (Fremrassq, remrassq_no_quit):
4762 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4764 1998-07-17 Didier Verna <verna@inf.enst.fr>
4766 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4767 style as foreground GC for faces that have the `dim' property.
4768 (x_output_string): when the `dim' face property is set,
4769 ensure the gray pixmap has been created, and get a proper
4770 foreground GC to draw the text.
4772 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4774 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4775 Manually track the state of the left and right Ctrl and Alt
4778 1998-08-07 Matt Stupple <matts@tibco.com>
4780 * ntproc.c: don't wait on char_consumed at thread entry.
4781 Additionally, to get the 'process' marked as finished, ensure
4782 that the CHILD_ACTIVE macro returns false, so before exiting
4783 close char_avail and set it to NULL, and close other handles
4784 to reduce handle leak problems.
4786 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4788 * menubar-msw.c (displayable_menu_item): take account of menu
4789 depth when deciding whether to try to display accelerators.
4791 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4793 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4796 * glyphs-msw.c: fix a couple of potential handle leaks.
4798 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4800 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4801 *decoding ONLY* back into the core.
4802 * glyphs-eimage.c: Change referenced header file for GIF
4803 reading to point to the incore version.
4805 1998-07-20 Martin Buchholz <martin@xemacs.org>
4807 * casefiddle.c (casify_object):
4808 Change algorithm from O(N**2) to O(N).
4812 1998-07-22 Greg Klanderman <greg@alphatech.com>
4814 * dired.c (file_name_completion_unwind): don't leak the cons.
4816 1998-07-20 Greg Klanderman <greg@alphatech.com>
4818 * dired.c (Fuser_name_completion): new function.
4819 (Fuser_name_all_completions): new function.
4820 (user_name_completion): new function.
4821 (syms_of_dired): 2 new DEFSUBRs.
4822 (vars_of_dired): initialize user name cache vars.
4824 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4826 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4827 colors taken from the default face. Also correct a thinko in
4828 transparency (not alpha) handling.
4830 1998-07-23 Martin Buchholz <martin@xemacs.org>
4832 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4833 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4834 * lread.c (Fload_internal): Be very careful with printfs of
4836 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4839 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4841 * callint.c (Fcall_interactively): GCPRO prompt string before
4842 passing it to Fread_key_sequence
4844 1998-07-27 SL Baur <steve@altair.xemacs.org>
4846 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4847 Vvertical_divider_map.
4849 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4850 Qnil or 0, none were initialized prior to this change.
4852 Rename misnamed `V' prefixed integer variables:
4853 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4854 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4855 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4856 Vcanna_ichiran_revLen.
4858 Rename misnamed `V' prefixed integer variables and initialize
4859 properly in the vars_of routine.
4860 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4861 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4862 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4863 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4864 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4865 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4866 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4867 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4868 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4869 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4870 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4871 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4872 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4873 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4874 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4875 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4876 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4877 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4878 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4879 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4880 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4881 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4882 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4883 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4884 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4885 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4886 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4887 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4888 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4889 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4890 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4891 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4892 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4893 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4894 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4895 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4896 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4897 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4898 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4899 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4900 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4901 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4902 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4903 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4904 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4905 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4907 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4909 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4910 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4911 keys thus no longer considering all keysyms on a key.
4913 1998-07-19 SL Baur <steve@altair.xemacs.org>
4915 * XEmacs 21.2-beta1 is released.
4917 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4919 * eldap.c (Fldap_search_internal): When converting the list of
4920 attributes to search Copy the final 0 from Lisp strings to C
4922 Check base, not Vldap_default_base as a a string
4924 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4926 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4928 * unexnt.c: Unconditionally define bss_start and bss_size, and
4929 ensure that they don't go in the .bss section.
4931 1998-07-17 Olivier Galibert <galibert@pobox.com>
4933 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4934 byte order is dependant of the local byte order).
4935 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4937 1998-07-18 SL Baur <steve@altair.xemacs.org>
4939 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4940 Qmswindows_resource.
4941 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4943 1998-07-12 SL Baur <steve@altair.xemacs.org>
4945 * general.c (syms_of_general): Add defsymbol for Qresource.
4947 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4948 Qmswindows_resource.
4949 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4950 (mswindows_resource_validate): Rename.
4951 (mswindows_resource_normalize): Rename.
4952 (mswindows_resource_possible_dest_types): Rename.
4953 (mswindows_resource_instantiate): Rename.
4954 (image_instantiator_format_create_glyphs_mswindows): Replace
4955 `resource' with `mswindows.resource'.
4957 * XEmacs 21.0-pre5 is released.
4959 1998-07-10 SL Baur <steve@altair.xemacs.org>
4961 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4962 server type in environment.
4963 Use alloca-ed strings instead of tiny fixed size ones.
4965 1998-07-09 SL Baur <steve@altair.xemacs.org>
4967 * XEmacs 21.0-pre4 is released.
4969 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4971 * fileio.c: (expand_file_name): under win32: Don't treat names
4972 as UNC names if a drive letter has been specified. If a drive
4973 has been specified, strip out extra directory-seperators that
4974 reportedly cause problems under Win95.
4976 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4978 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4979 MSVC >= 5.0. Put emacs init and zero-init data in a special
4980 section of the executable when this is defined.
4982 * unexnt.c, ntheap.h:
4983 Removed unused find_section() and get_section_size().
4986 Fix up the executable's checksum after dumping otherwise the
4988 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4989 zero-init data separately from init data. Dump emacs data
4990 into a special section of the executable.
4991 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4992 my_ebss instead of up to the end of bss.
4994 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4996 * filelock.c: Removed Vconfigure_lock_directory - already
4999 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5000 defined in frame.c and general.c respectively.
5002 * glyphs-msw.c: Removed Qresource - already defined in
5005 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5007 * eldap.c (Fldap_search_internal): Docstring fixes
5009 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5011 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5012 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5013 EMACSPACKAGEPATH and INFOPATH variables.
5014 Removed unused get_emacs_configuration function.
5016 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5017 it is now defined at build-time by the makefile.
5019 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5021 * fileio.c: (expand_file_name): under win32: Don't treat names as
5022 UNC names if a drive letter has been specified. If a drive has
5023 been specified, strip out extra directory-seperators that
5024 reportedly cause problems under Win95.
5026 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5028 * faces.c (complex_vars_of_faces): for the gui-element face don't
5029 fallback to the default face, instead provide reasonable default
5030 fallbacks that were previously hardcoded elsewhere.
5032 1998-07-06 Olivier Galibert <galibert@pobox.com>
5034 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5035 when the X server endianness is different than the client's one.
5037 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5039 * eval.c (run_hook_with_args_in_buffer): Check
5040 default (non-buffer-local) value of hook for
5041 nil before treating it as a function. Don't initialize
5042 the `globals' variable twice.
5044 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5046 * fileio.c: Don't do directory seperator canonicalisation in
5047 substitute-in-file-name because we don't know that the
5048 filename refers to a local file.
5050 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5052 * process-nt.c (nt_create_process): Try appending the standard
5053 executable file extensions to the filename if none supplied.
5055 1998-06-29 SL Baur <steve@altair.xemacs.org>
5057 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5059 From Keisuke Mori <ksk@ntts.com>
5061 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5063 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5064 images if we have masks. This handles the xbm case (have masks)
5065 and avoids overuse of resources in the xpm case (generally no masks).
5066 Don't output small toolbars.
5068 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5070 * eval.c (run_hook_with_args_in_buffer): Don't treat
5071 the default value of a buffer local hook as a list of
5072 hooks unless it is both a cons and the car of that cons
5075 1998-06-29 SL Baur <steve@altair.xemacs.org>
5077 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5078 * process-unix.c: Ditto.
5079 * mule-coding.h: Ditto.
5080 * mule-coding.c: Ditto.
5081 * mule-charset.c: Ditto.
5082 * mule-charset.h: Ditto.
5083 * file-coding.c: Ditto.
5084 * file-coding.h: Ditto.
5086 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5088 * event-msw.c: Guard against recursion when freeing
5089 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5091 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5092 Call ShowWindow twice in init_frame_3 to get round runemacs
5095 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5097 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5099 * winslots.h: Rename.
5101 * window.c (specifier_vars_of_window): Renamed
5102 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5103 as suggested by Ben Wing.
5104 (specifier_vars_of_window): Fix docstrings.
5106 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5108 * unexaix.c: Line number information works correctly again.
5110 1998-06-22 Olivier Galibert <galibert@pobox.com>
5112 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5114 1998-06-21 Martin Buchholz <martin@xemacs.org>
5116 * editfns.c (get_home_directory): ANSIfy.
5117 XEmacs is compilable under C *and* C++.
5118 It's XEmacs, not Xemacs!
5120 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5122 * console-msw.h: added a list of fonts to device data.
5124 * device-msw.c: enumerate list of available fonts in
5125 mswindows_init_device. Free list in mswindows_delete_device.
5127 * objects-msw.c: Added helper function match_font used by
5128 mswindows_initialize_font_instance and mswindows_list_fonts.
5129 Allow a charset to be specified in a font string, even if
5130 previous fields havn't been specified.
5132 1998-06-23 Greg Klanderman <greg@alphatech.com>
5134 * indent.c (column_at_point): column cache bugfix.
5135 Set last_known_column_point to the buffer position for
5136 which the column was requested, not buffer's point.
5138 * redisplay.c (decode_mode_spec): for current-column, show
5139 window's point's column, not buffer's point's column.
5141 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5143 * menubar-msw.c (mswindows_handle_wm_command): use
5144 enqueue_misc_user event rather than
5145 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5148 * console-msw.h: declare mswindows_enqueue_magic_event.
5150 * event-msw.c (mswindows_enqueue_magic_event): make global.
5152 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5154 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5155 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5156 (add_position_to_cache): Use EMACS_INT instead of int.
5158 1998-06-21 Olivier Galibert <galibert@pobox.com>
5160 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5161 suitable for an int used as a boolean (btw, C sucks.).
5163 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5165 * object-msw.c: remove warnings.
5167 * device-msw.c: #define wrongly named cygwin structure elements.
5169 * s/cygwin32.h: define DEMI_BOLD
5171 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5173 * redisplay-msw.c: new function mswindows_apply_face_effects.
5174 This is called by output_string and output_cursor to display
5175 underline and strikeout on faces.
5177 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5179 * console-msw.h: added a list of fonts to device data.
5181 * device-msw.c: enumerate list of available fonts in
5182 mswindows_init_device. Free list in mswindows_delete_device.
5184 * objects-msw.c: Added helper function match_font used by
5185 mswindows_initialize_font_instance and mswindows_list_fonts.
5186 Allow a charset to be specified in a font string, even if
5187 previous fields havn't been specified.
5189 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5192 Removed compilation warnings from mswindows_string_to_color.
5193 mswindows_list_fonts returns a more general bogus font.
5194 New lisp-visible function mswindows-color-list.
5196 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5198 * editfns.c (Fuser_login_name): Modify to user new function
5200 (user_login_name): C only function to avoid Lisp object overhead
5201 Returns "unknown" instead of nil in Cygwin environment
5203 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5204 equivalent for current user in Cygwin environment. Use new
5205 function user_login_name to get username.
5207 * lisp.h: Declare user_login_name
5209 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5211 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5213 Some other insignificant nitpicks.
5215 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5217 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5218 creating the image list and make sure he bk color is transparent.
5220 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5222 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5223 completed_timeouts. The timer could have expired.
5225 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5227 * console-msw.h: move XEMACS_RECT_WH inside frame
5228 parameters. define macors to access it.
5230 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5231 parameter to intialise desired sizing. (mswindows_init_frame_2):
5232 enable and size the frame to something sensible when we get
5233 here. (mswindows_set_frame_properites): use new
5234 mswindows_size_frame_internal function and size frame if frame
5235 parameters not just if init is finished - WM_SIZE happens too
5236 early for some specs. (mswindows_size_frame_internal): new
5237 function abstracted from mswindows_set_frame_properties.
5238 (Vmswindows_use_system_frame_size_defaults):
5239 new variable controls whether to allow the system to pick frame
5240 size defaults, defaults to nil.
5242 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5243 than duplicated code.
5245 1998-06-15 Colin Rafferty <colin@xemacs.org>
5247 * Makefile.in.in: Made EXTW_LINK expand properly.
5249 1998-06-12 Martin Buchholz <martin@xemacs.org>
5251 * redisplay.c (vars_of_redisplay): default value of
5252 column-number-start-at-one should be NIL!
5254 1998-06-11 Martin Buchholz <martin@xemacs.org>
5257 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5259 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5261 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5262 build_string to avoid crashes under Mule.
5264 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5266 * ntplay.c (play_sound_data_1): don't delete the sound data until
5267 the next sound is played and the previous one finished.
5269 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5271 * fileio.c (directory-sep-char): Escape backslashes.
5273 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5275 * event-stream.c: Fix docstring reference.
5277 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5279 * alloc.c (make_float): Remove useless initialization of `next'
5281 (make_pure_float): Ditto.
5283 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5285 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5287 * fileio.c (Fmake_directory_internal): Remove conditionals
5288 on WINDOWSNT when calling mkdir.
5290 * ntproc.c: Deleted the following unused functions:
5291 register_child, reap_subprocess, sys_wait.
5293 * nt.c (sys_rename): Ifzeroed this implementation.
5294 Deleted the following unused functions:
5295 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5296 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5297 sys_read, sys_write.
5298 Merger sys_fopen and sys_open with sysdep.c implementation.
5300 * sysdep.c: Removed MS-DOS code.
5301 (sys_rename): Deal with Microsoft rename weirdness.
5302 (sys_open): Implemented for Windows.
5306 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5308 * buffer.c (complex_vars_of_buffer): Removed %t description from
5311 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5313 * scrollbar-msw.c: initialize the cbSize element of the
5314 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5315 to ignore the value of cbSize, but Win95 (and I presume Win98)
5316 appear to want it set to sizeof(SCROLLINFO).
5318 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5320 * event-stream.c: Defined Qcancel_mode_internal.
5321 (syms_of_event_stream): defsymbol'ed it.
5323 * events.h: Externed it.
5325 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5327 1998-06-04 Oliver Graf <ograf@fga.de>
5329 * frame-x.c (x_cde_destroy_callback): free the data
5330 (cde-start-drag-internal) corrected root position, 21.1 needs this
5331 hardcoded in Button events
5332 (offix-start-drag-internal) corrected root position
5334 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5336 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5339 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5341 * dialog-msw.c (button_width): Removed `inline' from the function
5344 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5346 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5347 Note that adding this flag to subsequent frames causes problems.
5349 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5351 * glyphs-eimage.c (png_instantiate) move 'struct
5352 png_memory_storage tbr' out of nested block to avoid dangling
5355 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5358 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5359 inherits from gui-element.
5361 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5362 with existing code, generate masks correctly.
5364 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5366 * glyphs-eimage.c: Changed included header for gifs to use
5367 Gifreader instead of giflib.
5369 * glyphs-x.c: removed the image-related functions that were
5370 moved into glyphs-eimage.
5372 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5374 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5375 if built without X Windows support.
5377 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5379 * fns.c (Fconcat): Synch docstring with new reality.
5381 1998-06-03 SL Baur <steve@altair.xemacs.org>
5383 * frame.c: Remove reference to msdos.h (which is going away).
5384 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5386 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5388 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5392 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5394 * events.h: Fixed commentary about misc-user scrollbar events.
5396 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5397 object as an event channel, instead of window object.
5398 (x_update_horizontal_scrollbar_callback): Ditto.
5400 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5402 * ntplay.c (play_sound_data_1) new function. convert alloca data
5403 to malloc if necessary.
5404 (play_sound_file): if the file is not in our path then convert to
5407 1998-06-01 SL Baur <steve@altair.xemacs.org>
5409 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5410 * msdos.c (Frecent_doskeys): Ditto.
5412 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5413 Suggested by Reggie Perry <perry@zso.dec.com>
5415 * buffer.h: Eliminate size in declaration.
5417 1998-06-01 Olivier Galibert <galibert@pobox.com>
5419 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5421 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5423 * gui.c (gui_item_init): Changed the default value for config member
5424 from Qunbound to Qnil.
5426 1998-06-01 Greg Klanderman <greg@alphatech.com>
5428 * indent.c (vmotion_pixels): Don't #define abs().
5430 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5432 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5435 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5437 * glyphs.h: add xbm declarations.
5439 * console.h: add xbm_instantiate_method device method.
5441 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5442 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5443 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5444 locate_pixmap_file device method and read_bitmap_data_from_file
5445 instead of XmuReadBitmapDataFromFile.
5446 (xbm_instatntiate): make a device method.
5448 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5449 new function that just calls XmuReadBitmapDataFromFile.
5450 (x_xbm_instatntiate): device method from xbm_instantiate.
5452 * glyphs-msw.c (read_bitmap_data) (NextInt)
5453 (read_bitmap_data_from_file): new functions copied from Xmu
5455 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5456 inline data to an mswindows bitmap.
5457 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5458 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5461 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5463 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5464 `modeline-visible-p'.
5465 Declared specifier lisp variables at the beginning oh the file
5468 * procimpl.h (struct process_methods): Changed semantics of
5469 create_process method so it accepts lisp strings instead of
5472 * process.c (Fstart_process_internal): Moved building of
5473 unix style argv from here to process-unix.c, ...
5475 * process-unix.c (unix_create_process): ... right here.
5477 * process-nt.c (nt_create_process): Changed this function to
5478 support new semantics, so avoided a GC problem.
5480 * events.c (Fmake_event): Document misc-user events properties.
5481 (Fmake_event): Do not allow arbitrary objects for channel property
5482 of misc-user events.
5483 (Fmake_event): Change misc-user event validation: it is function
5484 which is required, not button.
5486 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5488 (mswindows_enqueue_misc_user_event): Added function.
5489 (mswindows_bump_queue): Removed function.
5490 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5491 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5492 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5493 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5494 really nothing, which is my personal favorite thing.
5496 * console-msw.h: Removed prototype for mswindows_bump_queue().
5497 Added prototype for mswindows_enqueue_misc_user_event().
5499 * menubar-msw.c (mswindows_handle_wm_command): Use
5500 mswindows_enqueue_misc_user_event().
5502 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5504 * dialog-msw.c (dialog_proc): Ditto.
5506 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5507 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5508 user events channel.
5510 1998-05-29 Greg Klanderman <greg@alphatech.com>
5512 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5513 incorrect semantics of vmotion_pixels which has been fixed. don't
5514 use it anymore as it can't easily be used.
5516 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5517 the motion was reported incorrectly if you tried to go past end of
5520 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5522 * toolbar.h: Removed misleading commentary, as Martin suggested.
5524 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5526 * lisp.h: Extern Qactivate_menubar_hook.
5528 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5531 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5533 * glyphs-msw.c: use BPLINE macro.
5535 * select-msw.c (mswindows-selection-exists-p)
5536 (mswindows-delete-selection): doc string fixes.
5538 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5539 unpressable. warning elimination.
5541 1998-05-28 Martin Buchholz <martin@xemacs.org>
5543 * alloc.c (dbg_constants):
5546 Remove toolbar_data debugging code, since that lrecord has
5549 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5551 * alloc.c: zap cached value of (user-home-directory), so that
5554 * buffer.c: From init_buffer(), separated out code that
5555 determined the initial directory for the *scratch* buffer, and
5556 put them into a function called "init_initial_directory()".
5557 The initial directory is now available as a global "char *"
5558 called initial_directory.
5560 * buffer.h: Added extern entries for initial_directory[] and
5561 init_initial_directory().
5563 * editfns.c: added new elisp function "user-home-directory",
5564 which basically returns getenv("HOME"), but attempts to use
5565 other values if $HOME isn't set.This may have to be tweaked in
5566 the future as, under Unix, "/" is used if $HOME isn't set (this
5567 probably should be set to the current directory). To support
5568 this, a new C function, "get_home_directory()", now exists,
5569 which returns the "home directory", as a "char *" string.
5571 * emacs.c: Rearrange NT initialization order so that
5572 environment/registry variables will be properly entered into
5573 Vprocess_enviroment.
5575 * fileio.c: replaced egetenv("HOME") with calls to the new
5576 get_home_directory().
5578 * lisp.h: Added function prototypes for uncache_home_directory()
5579 and get_home_directory(), along with lisp prototypes for
5580 Fuser_home_directory() and friends.
5582 * nt.c: replaced getenv("HOME") with calls to the new
5583 get_home_directory().
5585 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5586 warnings about getcwd(), etc. not having prototypes.
5588 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5590 * process-nt.c (send_signal): Emulate SIGHUP.
5591 (validate_signal_number): Ditto.
5593 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5594 remove MOD_SHIFT from ASCII characters.
5595 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5598 1998-05-24 Oliver Graf <ograf@fga.de>
5600 * frame-x.c (cde-start-drag-internal): added filename and multi-
5602 (x_cde_convert_callback) dito
5604 1998-05-26 Oliver Graf <ograf@fga.de>
5606 * frame-x.c: include event-mod.h also with CDE
5607 (x_cde_convert_callback) made the thing working
5608 (cde-start-drag-internal) also debugging
5610 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5617 - add __OpenBSD__ where __NetBSD__ was found.
5618 - TODO: replace platform-specific conditional compilation by
5619 feature tests in configure.in.
5621 1998-05-15 Greg Klanderman <greg@alphatech.com>
5623 * window.c (Fwindow_displayed_text_pixel_height): New function.
5624 (syms_of_window): DEFSUBR it.
5626 * indent.c (Fvertical_motion_pixels): New function - request
5628 (vmotion_pixels): helper.
5629 (syms_of_indent): DEFSUBR.
5630 * lisp.h: declaration for vmotion_pixels().
5632 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5633 to request returning motion in pixels.
5634 (Fvertical_motion_pixels): Remove, functionality merged into
5636 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5637 (Fmove_to_window_line): ditto.
5638 * lisp.h: Change declaration for Fvertical_motion.
5640 * window.c: rename window-text-pixel-{height,width,edges} to
5641 window-text-area-pixel-*.
5643 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5645 * tooltalk.c (vars_of_tooltalk) added staticpro for
5646 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5648 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5650 * faces.c: create a new 3d_object_face, make modeline and
5651 vertical_divider faces fallback to this rather than the default.
5653 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5655 * s/cygwin32.h: define charsets for cygwin.
5657 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5659 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5660 and coordinates. resize bitmaps if we have already settled on a
5663 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5665 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5667 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5669 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5673 * gui-x.c (popup_selection_callback): Ditto.
5675 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5677 * gui.c (get_callback): Renamed to get_gui_callback.
5679 1998-05-17 Martin Buchholz <martin@xemacs.org>
5681 * glyphs.h: order rearrangement.
5683 * device-tty.c (tty_asynch_device_change): Warning suppression.
5684 * device-x.c (x_device_system_metrics): Warning suppression.
5685 Make Doc strings consistent with coding standards.
5687 1998-05-24 Martin Buchholz <martin@xemacs.org>
5689 * general.c: multiple definition of `Qicon'. general.c seems
5690 like a good home for Qicon.
5692 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5694 * This patch is to fix compilation warnings under Windows.
5696 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5697 Added prototypes for FSF inherited functions, with which XEmacs is
5698 sprinkled thoroughly.
5699 Removed some #if 0 code. Bracketed some more definitions, probably
5700 related to Visual C versions prior to 4 (we do not support them).
5702 * sysfloat.h (logb): Finally, get logb() prototyped.
5704 * sysfile.h: Added Windows specific includes.
5705 Removed old Windows specific code bracketed with #if 0.
5707 * sysdep.h: Added prototype for xrealpath().
5709 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5711 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5712 vars_of_dired_mswindows and init_ntproc (Grrr).
5714 * realpath.c: Added Windows specific include files.
5715 (xrealpath): Conditionalized declaration of some auto variables on
5716 S_IFLNK, to avoid warnings.
5718 * ntproc.c: Disabled some compiler warnings. This file is going to
5719 die, so I have not cleaned it up much.
5720 (set_process_dir): Const parameter.
5721 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5722 (Fwin32_long_file_name): Ditto.
5723 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5726 * nt.h: Added prototypes for set_process_dir and convert_time.
5728 * nt.c: More include files.
5729 (getpwnam): Consted char* argument.
5730 (get_emacs_configuration): Const return value.
5731 (opendir): Const argument.
5732 (stat): Casted converstion long->short.
5733 (stat): Removed ad hoc and questionable support for non-MSC compile.
5734 (sys_pipe): Removed unused auto variable.
5735 (_sys_read_ahead): Removed calls to DebPrint.
5736 (sys_read): Ditto, in 2 places.
5737 (term_ntproc): Added unused int parameter to signal handler, to
5738 avoid a warning when compiling a call to signal().
5739 (msw_sigset): Properly return old signandler or NULL instead of void.
5741 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5743 * gmalloc.c (morecore): Ditto.
5744 (_free_internal): Ditto.
5746 * lread.c (parse_integer): Ditto.
5748 * dired-msw.c: Added several include files.
5750 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5751 of Compilers to Shut Up.
5753 * callproc.c: Added #includes to suppress warnings under Windows.
5754 (init_callproc): Removed #if0'ed code and unused variables.
5756 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5758 * device-msw.c (mswindows_device_system_metrics): do planes in a
5759 way consistent with X.
5761 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5762 use SetPixel, use DIBits functions.
5763 (xpm_to_eimage): frob colors more closely like xpm deos.
5765 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5766 to be closer to X version.
5768 * event-msw.c: use tooltip string directly.
5770 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5772 * objects-msw.c: frob rgb colors that only Kyle uses.
5774 * dialog-msw.c (button_width): INLINE -> inline.
5776 1998-05-23 SL Baur <steve@altair.xemacs.org>
5778 * getloadavg.c (getloadavg): Fix typo.
5780 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5782 * objects-msw.c (mswindows_initialize_font_instance): Added support
5783 for font character sets.
5784 Replaced 'XXX' with '####' in comments throughout the file.
5786 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5788 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5789 console_type_create_dialog_mswindows(), to initialize Windows dialog
5792 * symsinit.h: Prototyped the above functions.
5794 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5795 checks to dialog.c...
5797 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5798 device must support dialog boxes, and the descriptor must supply at
5801 * dialog-msw.c: New file, dialogs for Windows.
5803 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5805 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5806 (Fldap_search_internal): Removed unused variable `err'
5808 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5811 1998-05-17 Martin Buchholz <martin@xemacs.org>
5813 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5814 defined. Therefore there is no need to handle the case when
5815 HAVE_LDAP is undefined. Similarily, there is no reason to have
5816 any code wrapped within `#ifdef emacs', since this code is only
5817 useful within an emacs. This simplifies the code significantly.
5819 * inline.c: Include eldap.h only if HAVE_LDAP.
5820 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5823 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5825 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5826 printing dump stats when building without DEBUG_XEMACS.
5827 (dump_bss_and_heap): Ditto.
5829 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5831 * gnuclient.c: don't suppress window system if there is no display
5832 and we are running under mswindows. send 'mswindows device type if
5833 we are in this situation.
5835 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5838 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5840 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5843 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5845 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5846 {top,bottom}-{left,right} values in addition to
5847 {top,bottom}_{left,right}.
5849 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5851 * fileio.c (Fmake_temp_name): Remove unreached code.
5853 * process-nt.c (validate_signal_number): Use
5854 signal_simple_error().
5856 1998-05-19 Martin Buchholz <martin@xemacs.org>
5859 * sound.c (vars_of_sound):
5860 * sysdep.c (reset_sigio_on_device):
5861 * window.c (window_bottom_gutter_height):
5862 unexhp9k800.c:258: warning: implicit declaration of function
5863 `calculate_checksum'
5864 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5865 sysdep.c:1012: warning: unused variable `owner'
5866 window.c:993: warning: `window_right_toolbar_width' defined but not used
5868 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5870 * glyphs-msw.c (mswindows_create_resized_mask)
5871 (mswindows_create_resized_bitmap): new funnctions split out from
5872 mswindows_resize_dibitmap_instance.
5874 * glyphs-msw.h: declare new resize functions.
5876 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5877 functions so that the original bitmaps are preserved.
5879 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5881 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5882 color if we are trying to output 0 depth bg pixmap.
5884 * scrollbar-msw.c: warning elimination.
5886 1998-05-18 Martin Buchholz <martin@xemacs.org>
5888 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5889 directives in column 1.
5891 * search.c (skip_chars): Avoid using xzero with arrays, since some
5892 compilers get confused by the construct &array.
5894 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5897 * objects-msw.c: Changed the charset value for a new font from
5898 "don't care" to "ansi".
5900 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5902 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5904 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5905 modifier on control chars.
5906 Use IsCharAlpha() instead of isaplha().
5908 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5910 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5912 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5914 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5915 charset when creating font.
5916 (mswindows_initialize_color_instance): Do not create brush along
5918 (mswindows_finalize_color_instance): Do not delete it then.
5920 * objects-msw.h (struct mswindows_color_instance_data): Removed
5921 brush slot, and corresponding accessor macro.
5923 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5925 * toolbar.c: Removed toolbar_data lrecord implementation.
5926 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5927 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5928 (compute_frame_toolbar_buttons): Ditto.
5929 (CHECK_TOOLBAR): Ditto.
5930 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5931 (update_frame_toolbars): Do not check for changed buffer
5932 here. Toolbar information is provided by cached specs in
5933 windows. The check for buffer is eliminated becuase toolbars are
5934 marked changed in set_frame_selected_window() in frame.c
5935 Added check for changed toolbars geometry.
5936 (compute_frame_toolbars_data): Removed unused second parameter;
5937 Adjusted callers of this static function throughout the file.
5938 (init_frame_toolbars): Initialize current_toolbar_size.
5939 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5940 what is its current expansion, for clarity.
5941 (init_frame_toolbars): Ditto.
5942 (init_device_toolbars): Ditto.
5943 (init_global_toolbars): Ditto.
5945 * toolbar.h: Removed definition of toolbar_data lrecord.
5946 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5947 FRAME_CURRENT_TOOLBAR_SIZE.
5948 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5950 * toolbar-x.c (x_output_toolbar): The same change as in
5952 (x_output_toolbar): Ditto.
5953 (x_redraw_exposed_toolbar): Ditto.
5955 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5956 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5957 (mswindows_output_toolbar): Ditto.
5958 (mswindows_output_toolbar): Ditto.
5960 * frame.c (mark_frame): Removed marking of arrays, according to
5961 frameslots.h change.
5962 (nuke_all_frame_slots): Ditto.
5963 (set_frame_selected_window): Mark toolbars changed when
5964 last_nonminibuf_window changes.
5966 * frame.h (struct frame): Moved some slots to frameslots.h.
5967 Added current_toolbar_size array.
5968 Changed references from toolbar_data to toolbar_buttons in macros
5969 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5970 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5971 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5973 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5974 Moved arrays of lisp objects here from frame.h: toolbar_size,
5975 toolbar_visible_p, toolbar_border_width.
5976 Removed toolbar_data slot and added toolbar_buttons.
5978 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5980 * symsinit.h: Externed syms_of_process_nt()
5982 * emacs.c (main_1): Call syms_of_process_nt()
5984 * process-nt.c: Quote process arguments by a call to Lisp function
5985 `nt-quote-process-args'.
5986 (syms_of_process_nt): New function.
5987 (nt_send_process): Flush data stream after each write, to avoid
5988 leaving buffered data.
5989 (nt_send_process): When blocked on process output, wait for
5990 process to slurp more for progressively increasing time intervals.
5992 1998-05-17 Martin Buchholz <martin@xemacs.org>
5994 * window.c (have_undivided_common_edge): Make file-local function
5996 (map_windows): Return 0 if all map functions successful.
5999 * winslots.h: Use unlikely names for local variables in macros to
6000 avoid shadowing warnings.
6002 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6004 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6005 so that we re-output if the toolbar size has changed.
6007 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6009 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6011 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6013 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6016 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6018 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6019 get bitmap manifest constants defined.
6021 * console-msw.h: Include system files in angle brackets, not in
6024 * window.c (specifier_vars_of_window): Fixed a typo in
6025 `vertical-divider-line-width' docstirng.
6027 1998-05-16 Olivier Galibert <galibert@pobox.com>
6029 * line-number.c (delete_invalidate_line_number_cache): Use an
6031 (buffer_line_number): Remove dangerous, plain wrong when using
6032 64bits emacs ints, cast.
6034 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6036 * cmds.c (Fforward_line): Use EMACS_INTs.
6038 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6039 (scan_buffer): Ditto.
6040 (bi_find_next_newline_no_quit): Remove useless cast.
6041 (find_next_newline_no_quit): Ditto.
6042 (find_next_newline): Ditto.
6043 (find_before_next_newline): Use an EMACS_INT.
6045 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6047 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6049 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6051 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6053 * gui-x.c (popup_selection_callback): Use it.
6055 * gui.h (get_callback): Declare it.
6057 * gui.c (get_callback): New function.
6059 1998-05-15 SL Baur <steve@altair.xemacs.org>
6061 * window.c (have_undivided_common_edge): Guard scrollbar specific
6063 (window_needs_vertical_divider_1): Ditto.
6065 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6067 * emacs.c (decode_path): Eliminate compiler warning.
6068 (Fdecode_path): Renamed to Fsplit_path.
6069 (Fsplit_string_by_char): New function.
6071 1998-05-14 Damon Lipparelli <lipp@primus.com>
6073 * winslots.h: close comment
6075 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6077 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6079 * bufslots.h: Removed buffer_file_type slot.
6081 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6083 (complex_vars_of_buffer): Removed buffer-file-type variable and
6084 its default reference.
6086 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6088 * faces.c (complex_vars_of_faces): Defined
6089 Vvertical_divider_face.
6090 (vars_of_faces): Staticpro it.
6092 * faces.h: Externed Vvertical_divider_face.
6094 * redisplay-x.c (x_output_vertical_divider): Use
6095 Vvertical_divider_face to draw the divider instead of modeline
6098 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6099 divider face using Vvertical_divider_face background.
6100 Fix drawing spacing gaps around the divider.
6102 1998-05-14 Didier Verna <verna@inf.enst.fr>
6104 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6105 values for the vertical divider line width and spacing. Use the
6106 cached values from the window structure instead.
6107 (x_divider_width): ditto.
6109 * window.c (specifier_vars_of_window): new specifiers:
6110 vertical-divier -line-width and -spacing.
6111 (vertical_divider_global_width_changed): formerly known as
6112 vertical_divider_shadow_thickness_changed.
6114 * winslots.h: new slots: vertical_specifier _line_width and
6115 _spacing. Plus corrected a comment typo.
6117 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6119 * window.h: Declared window_divider_width().
6121 * console-stream.c (stream_divider_width): Removed method.
6122 (console_type_create_stream): And declaration for it.
6124 * redisplay.c (pixel_to_glyph_translation): Use
6125 window_divider_width() instead of divider_width redisplay method.
6126 (pixel_to_glyph_translation): Fix top divider edge calculation
6127 when scrollbar is on top.
6129 * window.c (window_divider_width): New function, an outphaser for
6130 divider_width redisplay method.
6131 (window_right_gutter_width): Use it.
6132 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6133 specifiers, set fallback values differently on TTYs, and document
6134 the behavior of these on TTYs in the docstrings.
6136 * scrollbar.c (update_scrollbar_instance): Use
6137 window_divider_width() instead of divider_width redisplay method.
6139 * console.h (struct console_methods): Removed divider_width_method.
6141 * redisplay-tty.c (tty_divider_width): Removed device method.
6142 (console_type_create_redisplay_tty): Removed definition for it.
6143 (tty_output_vertical_divider): Respect the value returned by
6144 window_divider_width thus divider line width specification.
6146 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6147 (console_type_create_redisplay_mswindows): Removed definition for it.
6148 (mswinodws_output_vertical_divider): Respect the value returned by
6149 window_divider_width thus divider line width specification.
6151 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6153 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6155 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6157 * glyphs-msw.c: resource loading implementation.
6158 (cursor_normalize): new function.
6159 (cursor_validate): ditto.
6160 (cursor_instantiate): ditto.
6161 (cursor_name_to_resource): ditto.
6162 (cursor_possible_dest_types): ditto.
6163 (check_valid_symbol): ditto.
6164 (check_valid_string_or_int): ditto.
6166 1998-05-14 Martin Buchholz <martin@xemacs.org>
6168 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6171 * process-unix.c (process_signal_char): Use VSUSP instead of
6172 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6174 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6176 * specifier.c (specifier_instance): Change locale precedence of
6177 instantiation so window locale has higher priority than buffer
6179 (Fspecifier_instance): Reflect this in docstring.
6180 (Fadd_spec_list_to_specifier): Ditto.
6181 (Fadd_spec_to_specifier): Ditto.
6182 (Fremove_specifier): Ditto.
6184 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6186 ** Dialog separation into a device method from Andy Piper
6188 * emacs.c (main_1): Call console_type_create_dialog_x().
6190 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6191 into this device method.
6192 (console_type_create_dialog_x): New function.
6194 * dialog.c (Fpopup_dialog_box): New function.
6195 (syms_of_dialog): Defsubr it.
6197 * console.h (struct console_methods): Declared
6198 popup_dialog_box_method().
6200 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6202 1998-05-14 Oliver Graf <ograf@fga.de>
6204 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6205 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6207 1998-05-13 Oliver Graf <ograf@fga.de>
6209 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6211 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6213 * console.h (device_metrics): Removed dbcs, input-method-editor
6214 and right-to-left metrics.
6216 * device.c (Fdevice_system_metric): Ditto.
6217 (Fdevice_system_metrics): Ditto.
6218 (syms_of_device): Ditto.
6219 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6222 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6224 * line-number.h (mark_line_number_cache): Remove unused
6227 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6228 (get_nearest_line_number): Simplify.
6229 (add_position_to_cache): Make the old marker point nowhere.
6231 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6233 ** Renamed window-divider-map => vertical-divider-map
6234 and event-over-divider-p => event-over-vertical-divider-p,
6235 in the following files/functions:
6237 * events.c (Fevent_over_divider_p):
6238 * keymap.c (get_relevant_keymaps):
6241 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6243 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6245 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6247 * window.c (vertical_divider_changed_in_window): Renamed so.
6248 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6249 (window_needs_vertical_divider_1): Decide whether we need it based
6250 on the value of the above specifier. If separators are unwanted,
6251 put them only if there's no scrollbar between this window and its
6253 (have_undivided_common_edge): New function, helper for the above.
6254 (window_needs_vertical_divider): Return either a cached value,
6255 or clauclate and cache one.
6256 (invalidate_vertical_divider_cache_in_window): Implemented.
6257 (map_windows): Changed return type to int, return the value from
6260 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6261 (struct window): Added need_vertical_divider_p and
6262 need_vertical_divider_valid_p.
6264 * winslots.h: Added vertical_divider_draggable_p slot.
6266 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6267 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6269 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6271 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6272 invalidate_vertical_divider_cache_in_frame().
6275 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6277 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6279 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6280 masks correctly and don't select 0.
6282 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6284 * winslots.h: New file, declaration of some struct window and
6285 struct saved_window members.
6287 * window.h (struct window): Include it, with required preprocessor
6290 * window.c (mark_window): Ditto.
6291 (allocate_window): Ditto.
6292 (struct saved_window): Ditto.
6293 (mark_window_config): Ditto.
6294 (saved_window_equal): Ditto.
6295 (Fset_window_configuration): Ditto.
6297 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6299 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6301 1998-05-12 Didier Verna <verna@inf.enst.fr>
6303 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6304 the divider line. The shadow thickness is currently
6305 hard-wired. This will probably be turned into a specifier soon.
6307 1998-05-12 Didier Verna <verna@inf.enst.fr>
6309 * console.h (struct console_methods): the divider_width console
6310 method now requires a struct window * argument.
6312 * redisplay-x.c (x_divider_width): ditto. Plus remove
6313 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6314 (x_output_vertical_divider): give a depressed look when the shadow
6315 thickness is negative.
6317 * console-stream.c (stream_divider_width): pass a struct window *
6320 * redisplay-tty.c (tty_divider_width): ditto.
6322 * window.c (window_right_gutter_width): totdi.
6324 * redisplay.c (generate_modeline): ittod.
6326 * scrollbar.c (update_scrollbar_instance): ttido.
6328 * redisplay-msw.c (mswindows_divider_width): ottid.
6329 WARNING: this enables to compile, but the feature is not functional.
6331 * window.h (struct window): new field
6332 vertical_divider_shadow_thickness.
6334 * window.c (specifier_vars_of_window): new specifier
6335 vertical-divider-shadow-thickness.
6336 (vertical_divider_shadow_thickness_changed): new function to
6337 inform redisplay that the window has changed.
6338 (mark_window): handle new field vertical_divider_shadow_thickness
6340 (allocate_window): ditto.
6341 (saved_window_equal): toddi.
6342 (Fset_window_configuration): totid.
6343 (save_window_save): ttdio.
6344 (struct saved_window): new field vertical_divider_shadow_thickness.
6346 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6348 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6351 1998-05-12 Oliver Graf <ograf@fga.de>
6353 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6354 * event-Xt.c (x_event_to_emacs_event): C++ compability
6356 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6358 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6361 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6363 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6366 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6368 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6370 * emacs.c (decode_path_1): New function.
6371 (decode_path): Use it.
6372 (Fdecode_path): Renamed from Fdecode_path_internal; use
6375 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6377 * macros.c (Fzap_last_kbd_macro_event): New function.
6378 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6380 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6382 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6383 multiple bitmaps are output vertically as well as horizontally.
6384 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6385 crossing lines this is handled by
6386 mswindows_output_dibitmap_region.
6388 1998-05-12 Martin Buchholz <martin@xemacs.org>
6390 * inline.c: Include eldap.h
6392 * menubar-x.c (x_update_frame_menubar_internal):
6393 Remove: unused variable `container'
6395 1998-05-11 Martin Buchholz <martin@xemacs.org>
6397 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6398 Unfortunately, the resulting temacs still cannot dump.
6400 * symbols.c (symbol_is_constant):
6401 (verify_ok_for_buffer_local):
6402 -Wswitch Warning suppression - add default case to switches.
6404 * redisplay.c (decode_mode_spec): Remove unused variables,
6405 Replace Fcoding_system_property (codesys, Qmnemonic) with
6406 XCODING_SYSTEM_MNEMONIC (codesys);
6407 Fcoding_system_property is for users.
6413 Change empty docstrings into no doc strings at all.
6414 Fix bogus FSF-format docstrings.
6417 Standardize docstrings.
6420 Explain problems with matherr.
6422 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6425 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6426 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6427 Fix the weird resultant interaction (causes windows problems)
6431 Take new EMACSBOOTSTRAPLOADPATH into account.
6432 Update documentation strings
6435 - Adjust for luser's CDPATH being set to something weird.
6436 - Take into account bash 2.02's tendency to print the cwd when
6437 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6438 - fix the run-temacs target to use $(DUMPENV)
6439 - fix the run-puremacs target to use $(DUMPENV)
6440 - fix the `depend' target to properly $(RM) the right files
6441 - Generate a better TAGS file for XEmacs' lisp code using
6442 hand-crafted regexps.
6443 - Use standard coding conventions for modules/Makefile.in
6445 1998-05-12 Didier Verna <verna@inf.enst.fr>
6447 * redisplay.c: removed the scrolling modeline code that didn't
6448 make it for 21.0. To be continued ...
6450 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6452 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6453 and empty string inputs.
6455 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6457 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6459 1998-05-10 Oliver Graf <ograf@fga.de>
6461 * event-stream.c (enqueue_misc_user_event_pos): created
6462 * lisp.h (enqueue_misc_user_event_pos): prototype added
6463 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6464 * emacs.c: call vars_of_dragdrop
6465 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6467 1998-05-11 Oliver Graf <ograf@fga.de>
6469 * frame-x.c (x_cde_transfer_callback): return at correct pos
6470 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6471 object for MIME (see comment in dragdrop.c)
6472 * dragdrop.c: API change documented in comment
6473 removed provide of dragdrop [is provided by dragdrop.el]
6475 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6477 * window.c (window_needs_vertical_divider): Enable vertical
6478 dividers for every non-rightmost window.
6479 (window_left_gutter_width): Left gutter consists of mythical
6480 toolbar and a virtual scrollbar.
6481 (window_right_gutter_width): The right one may have a divider
6484 * scrollbar.c (update_scrollbar_instance): Position vertical
6485 scrollbar left to divider if the latter present.
6487 * redisplay.h: Declared OVER_DIVIER constant.
6489 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6492 * redisplay-x.c (x_output_vertical_divider): Output divider along
6493 the right side of the window, down to window bottom. Swapped
6494 foreground and background colors so it is visible by default.
6496 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6497 stick the divider to the right window side.
6499 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6501 (mswindows_divider_width): Ask system for user preferred value.
6502 (mswindows_output_vertical_divider): Always output the divider on
6503 the right side of a window, down to bottom.
6505 * keymap.c (get_relevant_keymaps): Route mouse button events which
6506 happened over a window divider through window-divider-map.
6507 (Fkey_binding): Documented that in the docstring.
6508 Defined the variable Vwindow_divider_map.
6510 * events.c (Fevent_over_divider_p): Added this function.
6512 * events.h: EXFUNed it.
6514 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6516 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6517 toolbar geometry is suspected to change.
6519 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6523 Condition dnd and dde code on HAVE_DRAGNDROP.
6525 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6527 * events.c (format_event_object): Print space as SPC etc.
6529 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6531 * print.c (print_internal): In the default case, abort() if
6532 ERROR_CHECK_TYPECHECK.
6534 * fileio.c (Fmake_temp_name): Doc fix.
6536 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6538 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6540 * undo.c (Fprimitive_undo): Fixed typo.
6542 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6544 * fns.c (concat): Signal error on integer argument.
6546 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6548 * console.h (device_metrics): Prefixed each constatnt with DM_
6550 * device.c: (Fdevice_system_metric): Renamed so from plural form
6551 (metrics); Changed parameters order and added DEFAULT parameter;
6552 Unabbreviated some metric constants; Fixed and untabified doc string.
6553 (Fdevice_system_metrics): Added. Returns a plist of all provided
6556 * device-msw.c (mswindows_device_system_metrics): Renamed
6557 device_metrics enum constants.
6558 Return Qunbound instead of Qnil.
6560 * device-tty.c (tty_device_system_metrics): Ditto.
6562 * device-x.c (x_device_system_metrics): Ditto.
6564 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6566 * redisplay-msw.c: implement background pixmaps (really!). Make
6567 sure bg color is transparent if we have bg pmaps.
6568 * (mswindows_output_string) (mswindows_clear_region): output bg
6570 * (mswindows_output_dibitmap_region): new function.
6571 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6572 the bg color rather than transparently.
6574 * toolbar-msw.c: use masks if they exist.
6576 * glyphs-msw.c: set up masks correctly.
6578 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6580 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6582 * regex.c (re_match_2_internal): Check for quit.
6584 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6586 * frame.c (Ffocus_frame): New function.