1 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * character.h (CHAR_INTP): Moved from buffer.h
4 (CHAR_OR_CHAR_INTP): Likewise.
5 (XCHAR_OR_CHAR_INT): Likewise.
6 (CHECK_CHAR_COERCE_INT): Likewise.
8 * buffer.h (CHAR_INTP): Moved to character.h
9 (CHAR_OR_CHAR_INTP): Likewise.
10 (XCHAR_OR_CHAR_INT): Likewise.
11 (CHECK_CHAR_COERCE_INT): Likewise.
13 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
16 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
17 - Include char-1byte.h, char-lb.h or char-ucs.h.
19 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
21 * buffer.h: Include character unconditionally.
22 (valid_char_p): Moved to char-*.h.
23 (non_ascii_valid_char_p): Moved to char-lb.h.
25 * char-1byte.h, char-lb.h, char-ucs.h: New files.
27 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
29 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
30 in UTF-2000 because it is not ported yet and not to use
31 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
32 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
33 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
35 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
36 (CHAR_ASCII_P): Moved from character.h.
38 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
39 (CHAR_ASCII_P): Likewise.
40 (CHAR_FIELD1_MASK): Deleted.
41 (CHAR_FIELD2_MASK): Deleted.
42 (CHAR_FIELD3_MASK): Deleted.
43 (MAX_CHAR_BASIC_LATIN): New macro.
44 (CHAR_FIELD1): Deleted.
45 (CHAR_FIELD2_INTERNAL): Deleted.
46 (CHAR_FIELD3_INTERNAL): Deleted.
47 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
48 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
49 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
50 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
51 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
52 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
53 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
54 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
55 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
56 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
57 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
58 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
59 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
60 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
61 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
62 (MIN_CHAR_COMPOSITION): Deleted.
63 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
64 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
66 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
68 * buffer.h: Include mb-utf-8.h in UTF-2000.
70 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
72 * mb-utf-8.h: New file.
74 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
76 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
79 * mule-charset.h, buffer.h (Charset_ID): New type.
81 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
83 * mule-canna.c (c2mu): Use `MAKE_CHAR',
84 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
85 instead of `MULE_CHAR_PRIVATE_OFFSET',
86 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
87 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
88 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
90 * character.h (Vcharset_japanese_jisx0212): New variable
93 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
95 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
96 (charset_by_attributes): Delete array about direction.
97 (latin_a_char_to_charset): New variable in UTF-2000.
98 (latin_a_char_to_byte1): New variable in UTF-2000.
99 (latin_a_char_to_byte2): New variable in UTF-2000.
100 (Qucs_bmp): New variable.
101 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
103 (next_allocated_2_byte_leading_byte): Likewise.
104 (non_ascii_set_charptr_emchar): Likewise.
105 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
106 `CHARSET_TYPE_256X256' in UTF-2000; modify for
107 `charset_by_attributes'.
108 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
109 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
110 and `CHARSET_BY_LEADING_BYTE'.
111 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
112 `utf-2000-version' to `vars_of_mule_charset'.
113 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
114 define `leading-code-private-11' in UTF-2000; move setting of
115 `utf-2000-version' from `syms_of_mule_charset'.
116 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
119 * character.h (Charset_ID): New type.
120 (LEADING_BYTE_UCS_BMP): New macro.
121 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
122 (CHARSET_ID_OFFSET_94): New macro.
123 (MIN_CHARSET_ID_PRIVATE_94): New macro.
124 (MAX_CHARSET_ID_PRIVATE_94): New macro.
125 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
127 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
128 (LEADING_BYTE_LATIN_JISX0201): Likewise.
129 (CHARSET_ID_OFFSET_96): New macro.
130 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
131 CHARSET_ID_OFFSET_96 and final-byte.
132 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
133 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
134 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
135 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
136 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
137 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
138 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
139 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
140 (LEADING_BYTE_THAI_TIS620): Likewise.
141 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
142 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
143 (CHARSET_ID_OFFSET_94x94): New macro.
144 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
145 CHARSET_ID_OFFSET_94x94 and final-byte.
146 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
147 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
148 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
149 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
150 (LEADING_BYTE_CHINESE_GB2312): Likewise.
151 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
152 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
153 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
154 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
155 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
156 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
157 (CHARSET_TYPE_128X128): New macro.
158 (CHARSET_TYPE_256X256): New macro.
159 (XCHARSET_PRIVATE_P): Delete unconditionally.
160 (charset_by_attributes): Delete array about direction.
161 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
162 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
163 (MIN_CHAR_94): New macro.
164 (MAX_CHAR_94): New macro.
165 (MIN_CHAR_96): New macro.
166 (MAX_CHAR_96): New macro.
167 (MIN_CHAR_94x94): New macro.
168 (MAX_CHAR_94x94): New macro.
169 (MIN_CHAR_96x96): New macro.
170 (MAX_CHAR_96x96): New macro.
171 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
172 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
173 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
175 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
176 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
177 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
178 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
179 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
180 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
181 `XCHARSET_LEADING_BYTE' to make code-point.
182 (latin_a_char_to_charset): New variable.
183 (latin_a_char_to_byte1): New variable.
184 (latin_a_char_to_byte2): New variable.
185 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
186 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
187 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
189 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
190 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
191 (find_charsets_in_emchar_string): Likewise.
192 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
194 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
196 (decode_coding_iso2022): Likewise.
198 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
201 * redisplay.c (redisplay_text_width_emchar_string): Use
202 `Charset_ID' instead of `unsigned char'.
203 (redisplay_frame_text_width_string): Likewise.
205 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
208 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
209 instead of `unsigned char'.
210 (face_cachel_charset_font_metric_info): Likewise.
212 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
213 (get_non_ascii_char_table_value): Likewise.
214 (get_char_table): Likewise.
215 (put_char_table): Likewise.
216 (map_over_other_charset): Likewise.
217 (map_char_table): Likewise.
219 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
220 instead of `unsigned char'.
222 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
224 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
225 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
227 * mule-charset.c (leading_code_private_11): Don't define in
230 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
231 in UTF-2000 because it is not ported yet and not to use
232 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
234 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
236 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
238 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
240 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
243 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
244 of unsigned char to store leading-byte.
246 * chartab.c (get_non_ascii_char_table_value): Don't use
247 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
249 * file-coding.c (encode_coding_big5): Delete bogus implementation
252 * character.h (LEADING_BYTE_*): Delete definition for
254 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
255 (LEADING_BYTE_PREFIX_P): Deleted.
256 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
257 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
258 (BUFBYTE_LEADING_BYTE_P): Deleted.
259 (CHARSET_PRIVATE_P): Deleted unconditionally.
260 (rep_bytes_by_first_byte): Deleted unconditionally.
261 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
262 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
263 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
264 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
265 (CHAR_FIELD2): Deleted.
266 (CHAR_FIELD3): Deleted.
267 (MAKE_CHAR): Delete definition for non-UTF-2000.
268 (BREAKUP_CHAR_1_UNSAFE): Deleted.
269 (breakup_char_1): New implementation.
270 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
271 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
273 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
275 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
278 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
280 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
281 (CHARSET_PRIVATE_P): Likewise.
282 (XCHARSET_PRIVATE_P): Likewise.
283 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
285 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
287 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
289 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
291 * character.h (LEADING_BYTE_*): Changed in UTF2000.
292 (NUM_LEADING_BYTES): Changed from 128 to 256.
293 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
294 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
296 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
298 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
300 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
301 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
302 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
303 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
304 (Qchinese_cns11643_3): New variable in UTF2000.
305 (Qchinese_cns11643_4): New variable in UTF2000.
306 (Qchinese_cns11643_5): New variable in UTF2000.
307 (Qchinese_cns11643_6): New variable in UTF2000.
308 (Qchinese_cns11643_7): New variable in UTF2000.
309 (syms_of_mule_charset): Define `chinese-cns11643-3',
310 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
311 and `chinese-cns11643-7' in UTF2000.
312 (vars_of_mule_charset): Initialize
313 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
315 (complex_vars_of_mule_charset): Setup charset
316 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
317 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
319 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
321 * mule-charset.c: Move setting for `leading-code-private-11' from
322 `syms_of_mule_charset' to `vars_of_mule_charset'.
324 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
326 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
327 and `NUM_LEADING_BYTES' in assert.
329 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
331 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
333 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
334 `NUM_LEADING_BYTES' instead of 128.
336 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
338 * mule-charset.h (charset_by_leading_byte): Use
339 `NUM_LEADING_BYTES' instead of 128.
340 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
342 * mule-charset.c (charset_by_leading_byte): Use
343 `NUM_LEADING_BYTES' instead of 128.
344 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
346 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
349 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
351 * mule-charset.c (syms_of_mule_charset): Update to
354 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
356 * file-coding.c (encode_coding_sjis): New implementation for
357 UTF2000. (decode_coding_sjis): Ditto.
359 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
361 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
362 Don't define in UTF2000.
364 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
367 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
368 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
371 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
373 * config.h.in (CHAR_IS_UCS4): New macro.
375 * mule-charset.c (rep_bytes_by_first_byte): Modify for
376 conventional MULE representation.
377 (syms_of_mule_charset): Update to 0.3 (Imamiya).
379 * mule-charset.h: Reverted to original.
381 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
382 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
383 "mule-charset.h" if CHAR_IS_UCS4 is defined.
385 * character.h: New file.
387 * file-coding.c (Fmake_coding_system): Set 1 to
388 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
390 (encode_coding_no_conversion): New implementation for UTF2000.
392 * file-coding.h (struct Lisp_Coding_System): Add new member
395 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
397 * file-coding.c (decode_coding_iso2022): Code-point arguments of
398 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
399 (encode_coding_iso2022): New implementation for UTF2000.
401 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
403 * mule-canna.c (c2mu): New implementation for UTF2000.
406 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
408 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
410 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
412 * file-coding.c (reset_encoding_stream): Set 0 to
413 `str->iso2022.current_char_boundary' in UTF2000.
414 (encode_utf8): Don't define in UTF2000.
415 (encode_coding_utf8): New implementation for UTF-8 representation
417 (complex_vars_of_file_coding): Define coding-system `utf-8'.
419 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
421 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
423 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
425 (REP_BYTES_BY_FIRST_BYTE): Likewise.
427 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
429 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
430 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
432 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
433 (non_ascii_valid_char_p): Don't define in UTF2000.
434 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
435 (Lstream_get_emchar_1): Likewise.
436 (utf-2000-version): New variable in UTF2000.
438 * lread.c (read_escape): Add new reader `u'.
440 * insdel.c (three_to_one_table): Don't define in UTF2000.
441 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
442 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
444 (bytind_to_bufpos_func): Likewise.
445 (buffer_mule_signal_inserted_region): Likewise.
446 (vars_of_insdel): Don't initialize `three_to_one_table'.
447 (init_buffer_text): Use `buf->text->mule_size' instead of
448 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
451 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
452 UTF-8 representation in UTF2000.
453 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
454 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
455 (decode_coding_iso2022): Don't define local variable `lb' in
456 UTF2000; don't use LEADING_BYTE in UTF2000; use
457 `DECODE_ADD_UCS_CHAR' in UTF2000.
458 (convert_to_external_format): Decode as UTF-8 in UTF2000.
460 * config.h.in (UTF2000): New macro.
462 * buffer.h (struct buffer_text): Add new member `mule_size' and
463 don't add `mule_shifter' and `mule_three_p' in UTF2000.
464 (valid_char_p): Return always 1 in UTF2000.
465 (MAX_EMCHAR_LEN): 6 in UTF2000.
466 (three_to_one_table): Don't define in UTF2000.
467 (real_bufpos_to_bytind): Modify for UTF-8 representation in
469 (real_bytind_to_bufpos): Likewise.
471 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
473 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
475 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
476 representation change.
477 (Vutf_2000_version): New variable.
478 (leading_code_private_11): New variable.
479 (syms_of_mule_charset): Add new variables `utf-2000-version' and
480 `leading-code-private-11'.
482 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
483 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
484 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
485 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
486 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
487 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
488 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
489 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
490 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
491 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
492 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
493 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
494 (MIN_CHAR_GREEK): New macro.
495 (MAX_CHAR_GREEK): New macro.
496 (MIN_CHAR_CYRILLIC): New macro.
497 (MAX_CHAR_CYRILLIC): New macro.
498 (MIN_CHAR_HEBREW): New macro.
499 (MAX_CHAR_HEBREW): New macro.
500 (MIN_CHAR_THAI): New macro.
501 (MAX_CHAR_THAI): New macro.
502 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
503 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
504 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
505 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
506 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
507 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
508 (CHAR_FIELD2): New inline function.
509 (CHAR_FIELD3): New inline function.
510 (MULE_CHAR_PRIVATE_OFFSET): New macro.
511 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
512 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
513 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
514 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
515 (MIN_CHAR_COMPOSITION): Likewise.
516 (CHAR_LEADING_BYTE): Modified for character representation change.
517 (MAKE_CHAR): Likewise.
519 * lisp.h (Vcharset_latin_iso8859_1): New variable.
520 (Vcharset_greek_iso8859_7): Likewise.
521 (Vcharset_cyrillic_iso8859_5): Likewise.
522 (Vcharset_hebrew_iso8859_8): Likewise.
523 (Vcharset_thai_tis620): Likewise.
524 (Vcharset_katakana_jisx0201): Likewise.
526 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
528 * file-coding.c (determine_real_coding_system): Treat `coding:'
531 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
533 * file-coding.c (struct decoding_stream): New member `counter'.
534 (reset_decoding_stream): Initialize `counter'.
535 (decode_coding_ucs4): Use `counter'.
536 (decode_coding_utf8): Likewise.
538 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
540 * XEmacs 21.2.19 is released
542 1999-07-27 Jeff Miller <jmiller@smart.net>
544 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
545 menubar_show_keybindings.
547 1999-07-23 SL Baur <steve@miho>
549 * mule-charset.c (syms_of_mule_charset): Delete duplicated
550 definition of Qccl_program.
552 * mule-ccl.h: Make a global declaration of it here.
554 1999-07-20 Bob Weiner <weiner@beopen.com>
556 * s/sco7.h: Added from rr@sco.com.
558 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
560 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
562 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
564 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
565 (mule_encode): Likewise.
567 * mule-ccl.c (Qccl_program): New variable.
568 (CCL_SUSPEND): New macro.
569 (CCL_INVALID_CMD): New macro.
570 (CCL_READ_CHAR): Don't regard as invalid command while processing
571 the last block even if input is empty; use
572 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
573 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
575 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
576 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
577 (CCL_STAT_SUSPEND_BY_DST): Likewise.
578 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
579 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
581 1999-05-04 Ken'ichi Handa <handa@gnu.org>
583 * mule-ccl.h (struct ccl_program): New member stack_idx.
585 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
586 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
588 (setup_ccl_program): Initialize ccl->stack_idx to 0.
590 1998-10-12 Kenichi Handa <handa@etl.go.jp>
592 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
595 1998-08-18 Kenichi Handa <handa@etl.go.jp>
597 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
598 processing the last block, don't just finish but processes eol
599 block of the current CCL program.
600 (ccl_driver): Add a new jump label ccl_repeat for the above
603 1998-04-15 Kenichi Handa <handa@etl.go.jp>
605 * mule-ccl.c: Typo in comments fixed.
606 (Qccl_program_idx): New variables.
607 (CCL_ReadMultibyteChar2): Macro name changed from
608 CCL_ReadMultibyteCharacter.
609 (CCL_WriteMultibyteChar2): Macro name changed from
610 CCL_WriteMultibyteChar2.
611 (ccl_driver): Adjusted for the above changes.
612 (resolve_symbol_ccl_program): New function.
613 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
614 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
615 numbers by resolve_symbol_ccl_program.
616 (Fccl_execute_on_string): Likewise.
617 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
618 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
620 1998-01-21 Kenichi Handa <handa@etl.go.jp>
622 * mule-ccl.h: (struct ccl_program): New member private_state.
625 (CCL_Call): Fix the comment.
626 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
627 macros for CCL Commands.
629 (ccl_driver): New case lable `CCL_Extention'.
630 (setup_ccl_program): Initialize the member `private_state' of CCL.
632 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
634 * keymap.c (copy_keymap_internal): Inherit the default binding.
636 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
638 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
639 focus the event (XIM_focus_event).
640 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
641 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
642 the interface for future use (XIM_SetGeometry).
643 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
644 location (XIM_SetSpotLocation).
645 (x_output_eol_cursor): Ditto.
647 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
649 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
650 Olivier's change to lrecord.h of 1999-04-22
652 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
654 * gutter.c (redraw_exposed_gutter): Change type of pos from
655 enum toolbar_pos -> enum gutter_pos, since former is only defined
656 if toolbar support is.
658 1999-07-19 Andy Piper <andy@xemacs.org>
660 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
663 * gutter.c (gutter_validate): new function for the gutter specifier.
664 (specifier_type_create_gutter): declare specifier validator.
666 * buffer.h (INC_CHARBYTIND): add for no error checking version.
668 1999-07-18 Andy Piper <andy@xemacs.org>
670 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
672 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
674 (mswindows_resize_subwindow): new function.
676 * gutter.c (redraw_exposed_gutter): only reset the
677 current_display_lines if non-zero.
678 (Fgutter_pixel_height): new function.
679 (Fgutter_pixel_width): new function.
681 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
682 we want to retrive from the tab control.
684 1999-07-17 Andy Piper <andy@xemacs.org>
686 * window.c (change_window_height): mark gutters changed when we're
689 * gutter.c (specifier_vars_of_gutter): make defaults more
692 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
694 (DEFAULT_GUTTER_WIDTH): change.
695 (DEFAULT_GUTTER_BORDER_WIDTH): change.
697 1999-07-18 Andy Piper <andy@xemacs.org>
699 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
701 1999-07-16 Andy Piper <andy@xemacs.org>
703 * frame.c (Fmake_frame): call init_frame_gutters().
705 * redisplay.c (add_emchar_rune): use string functions if we are
706 working with a string.
707 (position_redisplay_data_type): add string element.
709 1999-07-15 Andy Piper <andy@xemacs.org>
711 * winslots.h: add real_gutter_size slots to hold the actual gutter
712 size. This is important for autodetected sizes.
714 * gutter.c (calculate_gutter_size): calculate size for gutters
715 that have 'autodetect size.
717 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
718 extent of divider for gutters.
720 * redisplay-x.c (x_output_vertical_divider): adjust extent of
723 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
724 position to take into account the gutters.
726 * redisplay.c (generate_modeline): adjust modeline position to
727 take into account the gutters.
729 1999-07-14 Andy Piper <andy@xemacs.org>
731 * gutter.c (frame_topmost_window): new function.
732 (frame_bottommost_window): ditto.
733 (frame_leftmost_window): ditto.
734 (frame_rightmost_window): ditto.
736 1999-07-13 Andy Piper <andy@xemacs.org>
738 * redisplay.c (calculate_display_line_boundaries): use text
739 boundaries so that gutters get handled properly.
741 1999-07-12 Andy Piper <andy@xemacs.org>
743 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
746 * redisplay-output.c (redisplay_clear_to_window_end): generalised
749 * redisplay-x.c (redisplay_clear_to_window_end): moved to
752 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
754 * gutter.c: new file - implements gutters. All new functions are
755 semantically equivalent to the toolbar functions.
756 (gutter_was_visible): new function.
757 (get_gutter_coords): ditto.
758 (output_gutter): ditto.
759 (clear_gutter): ditto.
760 (update_frame_gutters): ditto.
761 (redraw_exposed_gutter): ditto.
762 (redraw_exposed_gutters): ditto.
763 (free_frame_gutters): ditto.
764 (init_frame_gutters): ditto.
765 (decode_gutter_position): ditto.
766 (Fset_default_gutter_position): ditto.
767 (Fset_default_gutter_position): ditto.
768 (Fdefault_gutter_position): ditto.
769 (gutter_after_change): ditto.
770 (Fgutter_specifier_p): ditto.
771 (recompute_overlaying_specifier): ditto.
772 (gutter_specs_changed): ditto.
773 (default_gutter_specs_changed): ditto.
774 (gutter_geometry_changed_in_window): ditto.
775 (default_gutter_size_changed_in_window): ditto.
776 (default_gutter_border_width_changed_in_window): ditto.
777 (default_gutter_visible_p_changed_in_window): ditto.
778 (syms_of_gutter): ditto.
779 (vars_of_gutter): ditto.
780 (specifier_type_create_gutter): ditto.
781 (specifier_vars_of_gutter): ditto.
783 * gutter.h: new file. Contains gutter constants and sizing macros
784 similar to those for the toolbar.
786 * winslots.h: add gutter variables.
788 * window.h: declare window_is_* functions.
790 * window.c (window_is_lowest): make non-static.
791 (window_is_highest): ditto.
792 (window_top_toolbar_height): deleted.
793 (window_bottom_toolbar_height): deleted.
794 (window_left_toolbar_width): deleted.
795 (window_right_toolbar_width): deleted.
796 (window_top_gutter_height): add gutter sizing.
797 (window_bottom_gutter_height): ditto.
798 (window_left_gutter_width): ditto.
799 (window_right_gutter_width): ditto.
801 * symsinit.h: declarations for gutters vars etc.
803 * search.c (bi_find_next_emchar_in_string): new function.
805 * scrollbar.c (update_scrollbar_instance): remove reference to
806 window_bottom_toolbar_height which did nothing.
808 * redisplay.h (struct display_line): add face indices for
809 overriding defaults in output_display_line.
810 Add gutter_changed flags and declarations.
812 * redisplay.c (create_string_text_block): new function, similar to
813 create_text_block but for strings. Display tables etc are used
814 from the currently selected window.
815 (generate_string_display_line): ditto. Similar to
816 generate_display_line.
817 (generate_displayable_area): generate display lines for a given
818 area on a frame. Input is the string, with associated extents, to
820 (redisplay_frame): add gutter_changed check.
821 (redisplay_device): ditto.
822 (redisplay_without_hooks): ditto.
824 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
825 (x_redraw_exposed_area): redraw exposed gutters.
826 (x_bevel_area): new redisplay device method.
827 (x_type_create_redisplay_mswindows): add bevel_area device method.
828 (x_output_display_block): fiddly Martin-style cleanup.
829 (x_output_vertical_divider): use bevel_area.
831 * redisplay-output.c (output_display_line): check display_lines
832 for face information before using defaults.
833 (bevel_modeline): new function, calls bevel_area with appropriate
836 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
837 (mswindows_redraw_exposed_area): redraw exposed gutters.
838 (mswindows_bevel_area): new redisplay device method.
839 (console_type_create_redisplay_mswindows): add bevel_area device
842 * indent.c (string_column_at_point): add column_at_point but for
845 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
846 instantiate widgets that we have a toolkit for.
848 * general.c: add Qgutter.
850 * frame.h (struct frame): add display lines for gutters and
853 * frame.c (set_frame_selected_window): mark gutters changed.
855 * emacs.c (main_1): add gutter initialisation.
857 * device.h (struct device): add gutter_changed flag and macros to
860 * console.h (struct console_methods): new bevel area redisplay
863 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
864 REAL_INC_BYTIND is for buffers.
865 (INC_CHARPTR): ditto.
867 * Makefile.in.in (objs): add gutter.o
869 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
871 * XEmacs 21.2.18 is released
873 1999-07-08 SL Baur <steve@mule.m17n.org>
875 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
877 (emacs_Xt_handle_magic_event): Ditto.
878 * redisplay-x.c (x_output_string): Ditto.
879 (x_output_eol_cursor): Ditto.
881 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
883 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
884 problem that when XIM is destroyed or missed with some reason,
885 xemacs will die. Now xim=xlib waits the XIM will be ready and
886 endures the case of XIM end up.
888 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
890 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
891 SIGINT and SIGCHLD before calling tt_open and restore the
892 afterwards. This fixes e.g. the zombie subprocesses on Solaris
894 1999-07-06 SL Baur <steve@xemacs.org>
896 * s/linux.h: gcc-2.8 changes for powerpc
897 From Justin Vallon <vallon@mindspring.com>
899 1999-07-05 Didier Verna <verna@inf.enst.fr>
901 * indent.c: new symbol Qcoerce.
902 (Fmove_to_column): use it + doc string update.
904 1999-07-04 Andy Piper <andy@xemacs.org>
906 * console.c: undo earlier Fprovide changes.
910 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
911 function. validate appropriate image formats for tty.
913 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
914 initialize consoles parameter.
915 (struct image_instantiator_methods): add consoles parameter.
916 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
918 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
921 * glyphs-msw.c: declare instantiators for later use.
922 (image_instantiator_format_create_glyphs_mswindows): validate xpm
923 and friends on the mswindows console.
926 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
927 that have not been registered on the supplied device.
928 (Fvalid_image_instantiator_format_p): add locale argument.
929 (instantiate_image_instantiator): valid image instantiator on the
932 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
935 * emacs.c (main_1): add call to
936 image_instantiator_format_create_glyphs_tty().
938 1999-06-29 Olivier Galibert <galibert@pobox.com>
940 * lisp.h: Add #include <stddef.h>.
942 * sysdep.c: Remove #include <stddef.h>.
943 * symbols.c: Remove #include <stddef.h>.
944 * sheap.c: Remove #include <stddef.h>.
945 * opaque.c: Remove #include <stddef.h>.
946 * nt.c: Remove #include <stddef.h>.
947 * mule-charset.c: Remove #include <stddef.h>.
948 * marker.c: Remove #include <stddef.h>.
949 * file-coding.c: Remove #include <stddef.h>.
950 * extents.c: Remove #include <stddef.h>.
951 * elhash.c: Remove #include <stddef.h>.
952 * data.c: Remove #include <stddef.h>.
953 * chartab.c: Remove #include <stddef.h>.
954 * bytecode.c: Remove #include <stddef.h>.
955 * alloc.c: Remove #include <stddef.h>. Fix vector description
957 1999-06-30 SL Baur <steve@miho.m17n.org>
959 * editfns.c: Document "%s" format spec.
960 Suggested by Bob Weiner <weiner@altrasoft.com>
962 1999-06-29 Andy Piper <andy@xemacs.org>
964 * event-msw.c: fix definition booboo.
966 1999-06-28 Andy Piper <andy@xemacs.org>
968 * glyphs-x.c: change tree -> tree-view, progress ->
969 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
971 (complex_vars_of_glyphs_x): provide-on-console the implemented
974 * glyphs-msw.c: ditto.
975 (complex_vars_of_glyphs_mswindows): ditto.
977 * lisp.h: add Fprovide_on_console.
979 * fns.c (Ffeaturep): add extra optional console argument.
980 (Fprovide_on_console): like Fprovide but provides only on the
981 specified console-type.
982 (Frequire): check console-features as well as global features.
984 * console.c (Fconsole_features): new function. return features for
986 (syms_of_console): add Fconsole_features.
988 * console.h (CONMETH_FEATURES): new function for accessing features.
989 (CONSOLE_FEATURES): ditto.
990 (struct console_methods): add features slot.
991 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
993 1999-06-28 Andy Piper <andy@xemacs.org>
995 * event-Xt.c (handle_focus_event_1): conditionally compile for
998 * s/cygwin32.h: fix me website address.
1000 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1002 * gui-x.c (button_item_to_widget_value): only add callback if it
1005 * glyphs-x.c: add progress, edit and combo instantiators.
1006 (x_widget_set_property): new function. uses lwlib to set widget
1008 (x_widget_property): new function. uses lwlib to get widget
1010 (x_button_instantiate): support images in buttons.
1011 (x_button_property): new function. use lwlib to get the selected
1013 (x_progress_instantiate): new function for instantiating progress
1015 (x_progress_set_property): new function. sets the progress gauge
1017 (x_edit_instantiate): new function. for instantiating edit fields.
1018 (x_combo_instantiate): new function. for instantiating combo
1020 (image_instantiator_format_create_glyphs_x): add new device ii
1023 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1025 * console.h (CONSOLE_FEATURES): new features accesor.
1027 * conslots.h (MARKED_SLOT): add features entry.
1029 1999-06-25 Andy Piper <andy@xemacs.org>
1031 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1034 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1036 * gui.h (struct Lisp_Gui_Item): add accelerator.
1038 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1039 (gui_item_init): ditto.
1040 (gui_add_item_keywords_to_plist): ditto.
1041 (mark_gui_item): ditto.
1042 (gui_item_hash): ditto.
1043 (gui_item_accelerator): new function.
1044 (gui_name_accelerator): new function stolen from gui-x.c
1046 * gui-x.c (popup_selection_callback): always define. mark
1047 subwindows changed after calling a callback.
1048 (menu_name_to_accelerator): deleted.
1049 (button_item_to_widget_value): forward gui_item things to gui_item
1052 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1053 appropriate accesors.
1055 * glyphs-x.c: declare new glyph formats.
1056 (x_finalize_image_instance): unmanage and destroy widgets if they
1058 (x_unmap_subwindow): handle widgets specially.
1059 (x_map_subwindow): ditto. offset display of widgets by offset of
1060 text widget within container.
1061 (x_update_subwindow): new function. call lw_modify_all_widgets
1062 when we are a widget.
1063 (x_widget_instantiate): new function for generically creating
1064 widgets-glyphs. toolkit specifics forwarded to lwlib.
1065 (x_button_instantiate): new function for instantiating
1066 widgets-glyph buttons.
1067 (console_type_create_glyphs_x): register update_subwindow.
1068 (image_instantiator_format_create_glyphs_x): register widget and
1071 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1073 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1074 when we get a button press in case we do not have the focus.
1075 (handle_focus_event_1): set the keyboard focus to the text widget
1076 if we do not have it.
1078 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1081 1999-06-24 SL Baur <steve@miho.m17n.org>
1083 * syntax.c (scan_words): Restore non-Mule code.
1084 (word_constituent_p): Restore.
1086 1999-06-23 Olivier Galibert <galibert@pobox.com>
1088 * config.h.in: Add missing #undef *_USER_DEFINED.
1090 1999-06-23 SL Baur <steve@miho.m17n.org>
1092 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1093 int (fixes a 64-bit problem).
1095 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1098 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1100 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1102 1999-06-22 Olivier Galibert <galibert@pobox.com>
1104 * lrecord.h: Added basic external description system.
1106 * symbols.c: Added symbol, symbol-value-buffer-local,
1107 symbol-value-lisp-magic and symbol-value-varalias description.
1108 * mule-charset.c: Added charset description.
1109 * marker.c: Added marker description.
1110 * keymap.c: Added keymap description.
1111 * glyphs.c: Added glyph description.
1112 * floatfns.c: Added float description.
1113 * file-coding.c: Added coding-system description.
1114 * extents.c: Added extent description.
1115 * elhash.c: Added hash-table description.
1116 * data.c: Added weak-list desciption.
1117 * chartab.c: Added char-table-entry and char-table description.
1118 * bytecode.c: Added compiled-function description.
1119 * alloc.c: Added cons, vector and string description.
1121 1999-06-22 Olivier Galibert <galibert@pobox.com>
1123 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1124 Updated everything to the removal of the "flags" substructure.
1126 * lisp.h (subr_lheader_initializer): Updated.
1127 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1129 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1131 * syntax.c (word_constituent_p): Deleted.
1132 (scan_words): Use `WORD_BOUNDARY_P'.
1134 * chartab.c (Vword_combining_categories): New variable.
1135 (Vword_separating_categories): Likewise.
1136 (CATEGORYP): New macro.
1137 (CATEGORY_SET): Likewise.
1138 (CATEGORY_MEMBER): Likewise.
1139 (word_boundary_p): New function.
1140 (complex_vars_of_chartab): Set up new variable
1141 `word-combining-categories' and `word-separating-categories'.
1143 1999-06-18 Olivier Galibert <galibert@pobox.com>
1145 * lrecord.h: Added description as a placehold in the lrecord
1146 implementation structures. Added the parameter to all constructor
1149 * alloc.c: Added placeholders.
1151 * bytecode.c: Ditto.
1155 * database.c: Ditto.
1160 * event-stream.c: Ditto.
1164 * file-coding.c: Ditto.
1165 * floatfns.c: Ditto.
1173 * mule-charset.c: Ditto.
1177 * rangetab.c: Ditto.
1178 * specifier.c: Ditto.
1181 * tooltalk.c: Ditto.
1184 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1186 * XEmacs 21.2.17 is released
1188 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1190 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1191 (HAVE_LDAP_GET_LDERRNO): Ditto
1192 (HAVE_LDAP_RESULT2ERROR): Ditto
1193 (HAVE_LDAP_PARSE_RESULT): Ditto
1194 (HAVE_UMICH_LDAP): Removed
1195 (HAVE_NS_LDAP): Removed
1197 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1198 suggested by Olivier Galibert
1199 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1201 * eldap.c: Take the removal of `livep' into account in all the
1203 (signal_ldap_error): Take two additional parameters
1204 Added new finer compilation conditions in order to use
1205 ldap_parse_result or ldap_result2error if available
1206 (Fldap_open): Conform to this new API
1207 (Fldap_search_internal): Ditto
1209 1999-06-17 SL Baur <steve@miho.m17n.org>
1211 * data.c (struct int_or_double): Should use EMACS_INT not int.
1213 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1215 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1218 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1220 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1221 `CCL_MODE_ENCODING'.
1223 * file-coding.c (mule_decode): Run `ccl_driver' with
1224 `CCL_MODE_DECODING'.
1225 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1227 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1228 (ccl_driver): Add new argument `conversion_mode'.
1229 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1230 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1231 new optional argument].
1233 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1234 (CCL_MODE_DECODING): New macro.
1235 (ccl_driver): Add new argument `conversion_mode'.
1237 1999-06-15 SL Baur <steve@miho.m17n.org>
1239 * mule-charset.c (Fsplit_char): New subr.
1240 (Fchar_octet): delete.
1241 (syms_of_mule_charset): DEFSUBR it.
1243 1999-06-13 Andy Piper <andy@xemacs.org>
1245 * menubar.h: update declarations involving gui_items.
1247 * lisp.h: declare Lisp_Gui_Item.
1249 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1251 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1252 (print_image_instance): ditto.
1253 (image_instance_equal): ditto.
1254 (image_instance_hash): ditto.
1256 * event-msw.c (mswindows_need_event): assert badly_p status.
1257 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1258 callbacks in tree-view and tab-control widgets.
1259 (emacs_mswindows_next_event): modify use of
1260 mswindows_dequeue_dispatch_event.
1262 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1263 lisp-based gui_items.
1265 * glyphs-msw.c (mswindows_update_subwindow): update use of
1267 (mswindows_register_gui_item): new function.
1268 (mswindows_register_gui_item): fix to use lisp gui_items.
1269 (mswindows_widget_instantiate): ditto.
1270 (mswindows_button_instantiate): ditto.
1271 (add_tree_item): new function to recursively add tree view
1273 (add_tree_item_list): ditto.
1274 (mswindows_tree_instantiate): new function. instantiate tree view
1276 (add_tab_item): new function to add tabs to a tab control.
1277 (mswindows_tab_instantiate): new function. instantiate tab
1279 (image_instantiator_format_create_glyphs_mswindows): add tree view
1281 (vars_of_glyphs_mswindows): ditto.
1283 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1285 (check_valid_item_list): ditto.
1286 (initialize_widget_image_instance): fix to use new lisp gui_item.
1287 (widget_instantiate_1): allow the setting of default textwidth in
1289 (widget_instantiate): change to use new widget_instantiate_1
1291 (combo_instantiate): ditto.
1292 (static_instantiate): ditto.
1293 (tab_instantiate): new function for tab widgets.
1294 (image_instantiator_format_create_glyphs_widget): add tab and tree
1297 * menubar-msw.c (displayable_menu_item): convert to use lisp
1299 (populate_menu_add_item): ditto.
1300 (populate_or_checksum_helper): ditto.
1302 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1304 (Fmenu_find_real_submenu): ditto.
1306 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1308 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1309 objects, convert functions that use them accordingly.
1310 (gui_item_init): ditto.
1311 (gui_item_active_p): ditto.
1312 (gui_item_selected_p): ditto.
1313 (gui_item_included_p): ditto.
1314 (gui_item_display_flush_left): ditto.
1315 (gui_item_display_flush_right): ditto.
1316 (mark_gui_item): ditto.
1317 (allocate_gui_item): new function to create a gui_item.
1318 (make_gui_item_from_keywords_internal): ditto. create and return a
1319 gui_item as well as setting keywords.
1320 (gui_parse_item_keywords): ditto.
1321 (gui_parse_item_keywords_no_errors): ditto.
1322 (gui_add_item_keywords_to_plist): new function, not yet used.
1323 (gui_item_hash): new function.
1324 (gui_item_id_hash): use gui_item_hash.
1325 (gui_item_equal): new function.
1326 (print_gui_item): new function.
1328 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1330 * XEmacs 21.2.16 is released
1332 1999-06-10 Andy Piper <andy@xemacs.org>
1334 * select-msw.c (mswindows_own_selection): only set the clipboard
1336 (mswindows_get_foreign_selection): only get the clipboard if
1338 (mswindows_disown_selection): only disown the clipboard if asked.
1340 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1342 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1344 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1345 of coding-category `no-conversion'.
1347 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1349 * file-coding.c (Qraw_text): New variable.
1350 (syms_of_mule_coding): Add new symbol `raw-text'.
1351 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1352 define coding-system `binary' independently; define coding-system
1353 `no-conversion' as an alias for `raw-text'.
1355 * file-coding.h (Qraw_text): New variable.
1357 1999-06-08 SL Baur <steve@xemacs.org>
1359 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1361 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1363 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1365 (base64_decode_1): Signal errors instead of returning -1.
1367 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1369 * mule-charset.c (Fmake_char): Update docstring.
1371 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1373 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1375 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1377 * fns.c (base64_decode_1): Allow and ignore any non-base64
1378 characters in input.
1380 1999-05-27 Olivier Galibert <galibert@pobox.com>
1382 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1383 of report_pure_usage().
1385 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1387 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1389 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1391 * XEmacs 21.2.15 is released
1393 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1395 * frame.c (Fset_mouse_position):
1396 (Fset_mouse_pixel_position):
1397 * window.c (Fsplit_window):
1398 (Fmove_to_window_line):
1399 Fix crash when invoking functions with an already-deleted window
1402 * indent.c (vertical_motion_1):
1404 (Fvertical_motion_pixels):
1405 * window.c (Fwindow_displayed_text_pixel_height):
1406 Fix error message when invoking functions with an already-deleted
1409 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1411 * sysdep.c (request_sigio_on_device): Guard against glibc
1412 2.1's stub streams implementation.
1414 1999-06-03 SL Baur <steve@xemacs.org>
1417 * emacs.c: Implement x.y.z version numbers
1418 From Jan Vroonhof <vroonhof@math.ethz.ch>
1420 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1422 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1423 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1426 1999-06-03 SL Baur <steve@xemacs.org>
1429 * device-x.c: rename session option to wmcommand.
1430 From Oliver Graf <ograf@rhein-zeitung.de>
1432 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1434 * fns.c (Fsubstring): Don't traverse the same region twice with
1435 charcount_to_bytecount().
1437 1999-06-03 SL Baur <steve@steve1.m17n.org>
1439 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1442 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1443 doesn't really work as is implied by the commentary).
1444 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1446 1999-06-02 SL Baur <steve@steve1.m17n.org>
1448 * symsinit.h: Declare vars_of_ntproc.
1449 * emacs.c (main_1): Call it.
1451 * ntproc.c (syms_of_ntproc): Move variable initializations from
1453 (vars_of_ntproc): ... to here [new function].
1455 * file-coding.c (syms_of_file_coding): Rename.
1456 (vars_of_file_coding): Ditto.
1457 (complex_vars_of_file_coding): Ditto.
1459 * symsinit.h: Rename *_mule_coding to *_file_coding.
1461 * emacs.c (main_1): Call them by the proper name.
1463 * device-msw.c (syms_of_device_mswindows): Move variable
1464 initializations from here ...
1465 (vars_of_device_mswindows): ... to here.
1467 * chartab.c (vars_of_chartab): New function.
1469 * symsinit.h: New function, vars_of_chartab.
1471 * emacs.c (main_1): Call it.
1473 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1474 (vars_of_mule_canna): ... to here.
1476 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1477 initializations out of syms_of_mule_ccl.
1479 * symsinit.h: Declare new function vars_of_mule_ccl.
1481 * emacs.c (main_1): Call it.
1483 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1485 * fns.c (base64_decode_1): Ignore whitespace.
1487 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1489 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1492 1999-05-21 Andy Piper <andy@xemacs.org>
1494 * xselect.c: deleted.
1496 * symsinit.h: declare select initialisation.
1498 * select.h: new file. declare commonly used select functions and
1501 * select.c: new file. generalised from xselect.c.
1502 (clean_local_selection_data): moved from xselect.c.
1503 (get_local_selection): ditto. device specific pieces called via a
1505 (handle_selection_clear): ditto.
1506 (Fown_selection_internal): renamed and generalised from
1507 Fx_own_selection_internal. moved from xselect.c.
1508 (Fdisown_selection_internal): ditto.
1509 (Fselection_owner_p): ditto.
1510 (Fselection_exists_p): ditto.
1511 (Fget_selection_internal): ditto.
1512 (syms_of_select): new function. QXXXX values moved from xselect.c
1513 (vars_of_select): new function. selection_converter_alist,
1514 lost_selection_hooks moved and renamed from xselect.c
1516 * select-x.c: renamed from xselect.c.
1517 (x_own_selection): converted to device specific. non-X-specific
1518 bits moved to select.c.
1519 (x_get_foreign_selection): ditto.
1520 (x_disown_selection): ditto.
1521 (x_selection_exists_p): ditto.
1522 (console_type_create_select_x): new function.
1524 * select-msw.c (mswindows_own_selection): new device method to set
1525 the clipboard when we 'own' the selection.
1526 (mswindows_get_foreign_selection): new device method to get the
1528 (mswindows_disown_selection): new device method to delete the
1529 selection when we 'disown' it.
1530 (console_type_create_select_mswindows): new function.
1532 * emacs.c (main_1): add select to things to initialise.
1534 * console.h (struct console_methods): new console methods for
1537 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1539 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1541 * print.c (long_to_string): Install a faster version.
1543 1999-05-16 Andy Piper <andy@xemacs.org>
1545 * ntproc.c (syms_of_ntproc): default
1546 win32-start-process-share-console to t.
1548 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1550 * config.h.in: Do it here.
1552 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1554 1999-05-14 Andy Piper <andy@xemacs.org>
1556 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1559 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1561 * XEmacs 21.2.14 is released
1563 1999-05-12 Andy Piper <andy@xemacs.org>
1565 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1567 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1569 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1570 run_temacs_argv array -- fixes random memory corruption crash
1572 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1574 * window.c (Fcurrent_window_configuration):
1575 Save minibuffer height;
1577 * window.c (set_window_configuration): use it.
1579 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1581 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1583 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1585 * redisplay.c (redisplay_window): Do not put data
1586 in the line start cache if it is not guaranteed to be correct
1588 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1590 * window.c (struct window_config): Removed frame
1592 (window_config_equal): No longer compare frame sizes.
1593 (Fset_window_configuration): Resize old top window to fit in the
1594 current frame directly, no longer use a fake frame resize.
1595 (Fcurrent_window_configuration): No longer save frame size
1597 1999-05-11 Andy Piper <andy@xemacs.org>
1599 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1602 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1604 * sysdep.c (init_system_name): If gethostname gives a proper
1605 domain name, don't look further for one.
1607 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1609 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1610 (Fintern_soft): Accept a symbol argument.
1612 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1614 * symbols.c (Fintern): ...do it here.
1616 * lread.c (read_atom): Don't handle keywords here.
1618 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1620 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1622 1999-05-03 Olivier Galibert <galibert@pobox.com>
1624 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1625 is interned in the main obarray.
1627 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1629 * menubar-x.c (pre_activate_callback): set accelerator field in
1630 "No menu" entries to nil. Avoid crash in
1631 command_builder_operate_menu_accelerator
1633 1999-05-03 Olivier Galibert <galibert@pobox.com>
1635 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1637 * lisp.h (DEFUN): Fix lrecord header initialisation.
1639 1999-05-02 Andy Piper <andy@xemacs.org>
1641 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1643 * ntproc.c (sys_kill): cast using MS mandated defines.
1645 1999-04-29 Andy Piper <andy@xemacs.org>
1647 * m/intel386.h: remove redundant definitions.
1649 * s/mingw32.h: new header for mingw32.
1651 * unexnt.c: (open_input_file): function moved to nt.c.
1652 (close_file_data): ditto.
1653 (rva_to_section): function moved to ntproc.
1655 * symsinit.h: declare syms_of_ntproc();
1657 * objects-msw.c (mswindows_font_instance_truename): new function.
1659 * ntproc.c: remove many warnings.
1660 (_sys_read_ahead): moved from nt.c and made static.
1661 (rva_to_section): moved from unexnt.c but not defined under
1663 (win32_executable_type): implement what we can for mingw32
1665 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1667 * ntheap.h: remove declarations of functions that are now static.
1669 * ntheap.c: support static heap.
1671 * nt.h: conditionalise X_OK definition.
1673 * nt.c: eliminate many warnings and support mingw32.
1674 (open_input_file): function moved from unexnt.c and made static
1675 (close_file_data): ditto.
1676 (_sys_read_ahead): moved to ntproc.c
1678 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1680 * console-msw.h: support mingw32.
1681 * getloadavg.c: ditto.
1688 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1689 some systems don't have all of the encapsulated system calls.
1691 * callproc.c: warning elimination.
1692 * dired-msw.c: ditto.
1693 * process-nt.c: ditto.
1694 * realpath.c: ditto.
1696 * Makefile.in.in: tweak : and ; for building under mswindows.
1698 1999-04-26 Michael Harnois <mharnois@willinet.net>
1700 * eldap.c (allocate_ldap): Adapt to the new semantics of
1701 alloc_lcrecord_type().
1703 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1705 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1707 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1709 * Delete mule-coding.c and mule-coding.h because they are not
1712 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1714 * objects.c (print_font_instance): Check for NILP(f->device),
1715 i.e. Vthe_null_font_instance.
1716 (font_instance_truename_internal): ditto.
1717 (Ffont_instance_properties): ditto.
1719 1999-04-22 Olivier Galibert <galibert@pobox.com>
1721 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1724 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1726 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1727 it easier to add new ones.
1729 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1731 * symbols.c (reject_constant_symbols): Ditto.
1732 (init_symbols_once_early): Ditto.
1734 * print.c (print_symbol): Don't use ->obarray.
1736 * symbols.c (Funintern): Ditto.
1738 * alloc.c (Fmake_symbol): Don't set ->obarray.
1740 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1742 * symbols.c (init_symbols_once_early): Removed
1743 Vpure_uninterned_symbol_table.
1744 (Fintern): Don't store to ->obarray field.
1746 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1748 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1749 (eq_with_ebola_notice): Remove abracadabra support.
1751 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1753 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1754 retrieve the distinguished names of entries
1756 1999-03-08 Martin Buchholz <martin@xemacs.org>
1758 * lread.c (read_escape): Make hex escapes read only two hex digits.
1760 1999-04-05 Olivier Galibert <galibert@pobox.com>
1762 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1763 * make-src-depend: Remove puresize-adjust.h.
1764 * src-headers: Remove puresize-adjust.h.
1765 * config.h.in: Kill everything purespace/gung-ho related.
1767 * dbxrc: Make gung-ho mandatory.
1770 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1771 c_readonly and lisp_readonly. Remove implementation arrays.
1772 (C_READONLY_RECORD_HEADER_P): Added.
1773 (LISP_READONLY_RECORD_HEADER_P): Added.
1774 (SET_C_READONLY_RECORD_HEADER): Added.
1775 (SET_LISP_READONLY_RECORD_HEADER): Added.
1777 * lisp.h: Kill everything purespace/non gung-ho related.
1778 (CHECK_C_WRITEABLE): Added.
1779 (CHECK_LISP_WRITEABLE): Added.
1780 (C_READONLY): Added.
1781 (LISP_READONLY): Added.
1783 * lisp-union.h: Make gung-ho mandatory.
1784 * lisp-disunion.h: Ditto.
1786 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1787 set_lheader_implementation calls.
1788 (c_readonly): Added.
1789 (lisp_readonly): Added.
1790 (make_string_nocopy): Added.
1791 (Fpurecopy): Changed to do nothing. Kept the old documentation
1792 for reference purposes for the next patches.
1793 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1794 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1795 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1797 * fns.c: Make gung-ho mandatory.
1798 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1800 (Ffillarray): Ditto.
1802 * data.c: Make gung-ho mandatory.
1803 (pure_write_error): Removed.
1804 (c_write_error): Added.
1805 (lisp_write_error): Added.
1806 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1810 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1811 make_string or make_string_nocopy. Fix various
1812 alloc_lcrecord_type.
1814 * lread.c: Remove everything purespace related.
1815 (Flocate_file_clear_hashing): purified -> c_readonly.
1816 (locate_file): Ditto.
1817 (read_atom): make_pure_pname -> make_string.
1819 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1821 (Fdump_emacs): Ditto.
1823 * print.c (print_internal): Make gung-ho mandatory.
1824 * ntheap.c (sbrk): Ditto.
1825 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1826 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1828 * sheap.c (more_static_core): Remove puresize-adjust.h from
1831 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1833 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1834 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1835 * events.c (deinitialize_event): Fix set_lheader_implementation.
1836 (zero_event): Ditto.
1837 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1838 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1839 * mule-charset.c (make_charset): Ditto.
1840 * console.c (allocate_console): Ditto.
1841 (complex_vars_of_console): Ditto.
1842 * file-coding.c (allocate_coding_system): Ditto.
1843 * device.c (allocate_device): Ditto
1844 * gui-x.c (gcpro_popup_callbacks): Ditto.
1845 * extents.c (allocate_extent_auxiliary): Ditto.
1846 (allocate_extent_info): Ditto.
1847 (copy_extent): Ditto.
1848 * glyphs.c (allocate_image_instance): Ditto.
1849 (allocate_glyph): Ditto.
1850 * frame.c (allocate_frame_core): Ditto.
1851 * database.c (allocate_database): Ditto.
1852 * tooltalk.c (make_tooltalk_message): Ditto.
1853 (make_tooltalk_pattern): Ditto.
1854 * rangetab.c (Fmake_range_table): Ditto.
1855 (Fcopy_range_table): Ditto.
1856 * process.c (make_process_internal): Ditto.
1857 * chartab.c (Fmake_char_table): Ditto.
1858 (make_char_table_entry): Ditto.
1859 (copy_char_table_entry): Ditto.
1860 (Fcopy_char_table): Ditto.
1861 * elhash.c (make_general_lisp_hash_table): Ditto.
1862 (Fcopy_hash_table): Ditto.
1863 * buffer.c (allocate_buffer): Ditto.
1864 (complex_vars_of_buffer): Ditto.
1865 * event-stream.c (allocate_command_builder): Ditto.
1866 * objects.c (Fmake_color_instance): Ditto.
1867 (Fmake_font_instance): Ditto.
1868 (vars_of_objects): Ditto.
1869 * toolbar.c (update_toolbar_button): Ditto.
1870 * window.c (allocate_window): Ditto.
1871 (make_dummy_parent): Ditto.
1872 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1873 (vars_of_window): Fix make_lcrecord_list.
1874 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1876 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1877 * opaque.c (make_opaque): Fix alloc_lrecord.
1878 (make_opaque_list): Fix alloc_lrecord_type.
1880 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1882 * process.c (Fstart_process_internal): Ditto.
1884 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1887 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1889 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1892 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1893 (emodules_load): Use it when calling locate_file().
1895 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1898 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1899 (vars_of_callproc): Initialize it.
1900 (Fcall_process_internal): Use it when calling locate_file().
1902 * alloc.c (disksave_object_finalization): Use
1903 Flocate_file_clear_hashing().
1905 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1906 given `t' as argument.
1908 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1910 * lread.c (locate_file): Expand `pathel' when appropriate.
1911 (Flocate_file_clear_hashing): Expand path elements.
1912 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1914 * dired.c (make_directory_hash_table): Create the hash-table only
1915 if the directory open is successful.
1917 * lread.c (decode_mode_1): New function.
1918 (decode_mode): Ditto.
1919 (Flocate_file): Use them.
1920 (Flocate_file): Expand FILENAME.
1921 (locate_file_map_suffixes): New function.
1922 (locate_file_in_directory_mapper): New function.
1923 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1924 and locate_file_map_suffixes().
1925 (locate_file_construct_suffixed_files): Use
1926 locate_file_map_suffixes().
1927 (locate_file_without_hash): Don't GCPRO path.
1928 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1929 (syms_of_lread): Remove Qlocate_file_hash_table.
1930 (locate_file_find_directory_hash_table): Use
1931 Vlocate_file_hash_table.
1932 (locate_file_refresh_hashing): Ditto.
1934 * lread.c: Renamed read_objects to Vread_objects.
1936 1999-04-16 Olivier Galibert <galibert@pobox.com>
1938 * mule-charset.c: Generally resync with fsf 20.3 charset
1940 (make_charset): Add long and short name. Use id instead of
1942 (Fmake_charset): Ditto.
1943 (Fmake_reverse_direction_charset): Ditto.
1944 (Fcharset_property): Ditto.
1945 (Fcharset_short_name): Added.
1946 (Fcharset_long_name): Added.
1947 (Fcharset_description): Renamed from charset-doc-string.
1948 (syms_of_mule_charset): Synced symbols.
1949 (complex_vars_of_mule_charset): Synced charsets.
1951 * mule-charset.h: Removed leading byte (uses id instead), added
1952 short and long name.
1954 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1956 * file-coding.c (Fdefine_coding_system_alias): New function.
1958 1999-04-08 Olivier Galibert <galibert@pobox.com>
1960 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1961 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1963 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1965 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1966 attach to the extent is valid.
1968 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1970 * dired.c (user_name_completion): Mule-ize.
1971 (user_name_completion): Use xmalloc/xrealloc/xfree.
1972 (user_name_completion): Use DO_REALLOC.
1973 (user_name_completion): Cut down the number of static variables;
1975 (user_name_completion): Username completion is always
1978 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1980 * fns.c (base64_decode_1): Remove COUNTER.
1981 (base64_decode_1): Accept CRLF in addition to CR.
1982 (base64_decode_1): Disallow a stray character after final EOF; the
1983 check was probably a remnant of buggy recode code.
1985 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1987 * fns.c (init_provide_once): Provide `base64'.
1989 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1991 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1992 (Fbase64_encode_region): If buffer is read-only, bail out early.
1993 (Fbase64_decode_region): Ditto.
1994 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1996 (Fbase64_encode_string): Ditto.
1997 (Fbase64_decode_region): Ditto.
1998 (Fbase64_decode_string): Ditto.
2000 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2002 * dired.c (Fdirectory_files): Remove redundant code.
2004 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2006 * frame-msw.c Make raise-frame restore minimised windows.
2008 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2010 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2013 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2015 * toolbar-msw.c Consider captions when deciding whether to rebuild
2016 toolbar. This fixes the initial toolbar display for those of us
2017 who don't like captions. These patches applied by Andy Piper.
2019 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2021 * XEmacs 21.2.13 is released
2023 1999-03-12 SL Baur <steve@xemacs.org>
2025 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2027 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2029 * file-coding.c: docstring and comment improvements.
2030 (decode_ucs4) flag possible data loss with comment.
2032 1999-03-10 Martin Buchholz <martin@xemacs.org>
2034 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2038 (decode_coding_ucs4):
2039 (encode_coding_ucs4):
2040 (detect_coding_utf8):
2041 (decode_coding_utf8):
2043 (encode_coding_utf8):
2044 Add CHECK_* macros where needed to avoid crashes.
2045 #ifdef out all composite character support using
2046 #ifdef ENABLE_COMPOSITE_CHARS
2047 Use normal XEmacs coding standards.
2049 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2051 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2053 * file-coding.c (make-coding-system): Add description about
2054 `ucs-4' and `utf-8'.
2055 (detection_state): Modify to implement ucs-4 and utf-8.
2056 (detect_coding_type): Likewise.
2057 (detect_coding_ucs4): New implementation.
2058 (detect_coding_utf8): New implementation.
2059 (encode_utf8): fixed.
2060 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2063 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2065 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2066 2022 registry to private area.
2068 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2070 * file-coding.c (encode_utf8): New function.
2071 (encode_coding_utf8): New implementation.
2073 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2075 * file-coding.c (ucs_to_mule_table): New variable; abolish
2076 `Vucs_to_mule_table'
2077 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2078 (set-ucs-char): New function.
2079 (ucs_to_char): New function.
2080 (ucs-char): New function.
2081 (set-char-ucs): New function.
2082 (char-ucs): New function.
2083 (decode_ucs4): Use `ucs_to_char'.
2084 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2085 `mule-to-ucs-table'.
2087 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2089 * chartab.h: EXFUN `Fget_char_table'.
2091 * file-coding.c (encode_ucs4): New function.
2092 (encode_coding_ucs4): Use `encode_ucs4'.
2094 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2096 * file-coding.c (decode_coding_ucs4): New implementation.
2098 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2100 * file-coding.c (decode_coding_ucs4): fixed.
2102 * file-coding.c (Vmule_to_ucs_table): New variable.
2103 (mule_char_to_ucs4): New function.
2104 (encode_coding_ucs4): New implementation.
2105 (complex_vars_of_mule_coding): Define variable
2106 `mule-to-ucs-table'.
2108 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2110 * file-coding.c (decode_coding_utf8): New implementation.
2112 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2114 * file-coding.c (decode_coding_utf8): fixed.
2116 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2118 * file-coding.c (Vucs_to_mule_table): New variable.
2119 (decode_ucs4): Refer `Vucs_to_mule_table'.
2120 (complex_vars_of_mule_coding): Define variable
2121 `ucs-to-mule-table'.
2123 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2125 * file-coding.c (detect_coding_ucs4): New function (not
2127 (decode_coding_ucs4): New function.
2128 (encode_coding_ucs4): New function (not implemented yet).
2129 (detect_coding_utf8): New function (not implemented yet).
2130 (decode_coding_utf8): New function.
2131 (encode_coding_utf8): New function (not implemented yet).
2132 (make-coding-system): New type `ucs4' and `utf8'.
2133 (coding-system-type): Likewise.
2134 (detection_state): Add `ucs4' and `utf8'.
2135 (detect_coding_type): Likewise.
2136 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2137 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2138 (decode_ucs4): New function (very incomplete).
2139 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2141 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2143 1999-03-08 Martin Buchholz <martin@xemacs.org>
2146 (non_ascii_valid_char_p):
2147 (lookup_composite_char):
2148 (composite_char_string):
2149 (make-composite-char):
2150 (composite-char-string):
2151 (syms_of_mule_charset):
2152 (complex_vars_of_mule_charset):
2153 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2154 (CHAR_LEADING_BYTE):
2156 * file-coding.h (CODING_STATE_COMPOSITE):
2157 (CODING_STATE_ISO2022_LOCK):
2159 (LEADING_BYTE_COMPOSITE):
2160 * file-coding.c (struct iso2022_decoder):
2163 (parse_iso2022_esc):
2164 (encode_coding_iso2022):
2165 #ifdef out all composite character support using
2166 #ifdef ENABLE_COMPOSITE_CHARS
2168 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2170 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2172 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2173 way of `Fbase64_encode_region'.
2175 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2177 * fns.c (base64_encode_1): Don't add a newline at the tail.
2179 1999-03-08 Andy Piper <andy@xemacs.org>
2181 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2184 1999-03-07 Martin Buchholz <martin@xemacs.org>
2186 * console-stream.h (struct stream_console):
2187 * event-unixoid.c (event_stream_unixoid_select_console):
2188 (event_stream_unixoid_unselect_console):
2189 * print.c (Fexternal_debugging_output):
2190 * sysdep.c (reset_one_device):
2191 * console-stream.c (stream_init_console):
2192 (stream_delete_console):
2193 (allocate_stream_console_struct): move into stream_init_console.
2194 (free_stream_console_struct): move into stream_delete_console.
2195 Use `fd' only for file descriptors.
2196 Therefore, rename members of struct stream_console.
2198 * systime.h: Unix98 says sys/time.h should define select(), but
2199 some systems define that in unistd.h. So include that file always.
2201 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2202 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2203 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2205 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2209 Add #include <stdio.h>.
2210 Some versions of assert.h use printf() without #include'ing stdio.h
2212 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2213 (log_gcpro): Remove unused variable FRAME.
2214 (show_gcprohist): Ansify.
2215 Comment the #endif's
2217 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2218 after it's just been XtDestroy'ed!
2220 1999-02-18 Martin Buchholz <martin@xemacs.org>
2222 * opaque.c (print_opaque):
2226 Egcs 1.1.1 seems to have a bug where
2227 INTP (p->size_or_chain)
2228 will crash XEmacs. Fix by introducing intermediate variable.
2230 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2232 * dired.c (Fdirectory_files):
2233 (Ffile_name_completion):
2234 (Ffile_name_all_completions):
2235 (file_name_completion):
2236 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2237 avoid compiler warnings.
2238 - Fix up docstrings so that C variables match documentation.
2240 1999-03-05 Martin Buchholz <martin@xemacs.org>
2242 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2243 variables as small as possible to help out the compiler and the maintainer.
2245 * alloc.c: (disksave_object_finalization):
2246 Set all the *-load-path variables to
2247 nil, not just load-path itself. This gets the locate-file hash
2248 tables garbage collected BEFORE dump, and has the side effect of
2249 preventing crashes on OSF4.0+egcs.
2254 - Clean up gdb/dbx debugging support.
2255 - Storing an EMACS_INT in an enum is not 64-bit clean!
2256 - So change the enum to a set of separate variables.
2257 - Add test cases to help debug the debugging support!
2258 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2259 - Both dbx and gdb have been tested now.
2261 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2263 * XEmacs 21.2.12 is released
2265 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2267 * device-x.c: Support to find best visual without flashing.
2269 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2271 * database.c (berkdb_map): Add flags argument to cursor call (must
2272 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2274 1999-03-03 Martin Buchholz <martin@xemacs.org>
2278 General cleanup. Get free-hook.c working again.
2279 Remove unused functions:
2280 make_strings_hash_table, copy_hash, expand_hash_table.
2284 Always use new ANSI-style function prototypes.
2286 * unexalpha.c (unexec): Never use implicit int.
2288 * sgiplay.c (close_sound_file):
2290 (restore_audio_port):
2295 (write_mulaw_8_chunk):
2296 (write_linear_chunk):
2297 (write_linear_32_chunk):
2298 (initialize_audio_port):
2301 (set_output_format):
2302 (adjust_audio_volume):
2303 (get_current_volumes):
2305 Always use new ANSI-style function prototypes.
2306 Use unistd.h for missing prototypes.
2308 * unexelfsgi.c (round_up):
2310 (unexec): Always use new ANSI-style function prototypes
2312 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2314 * console.h (struct console_methods): Always use full ANSI prototypes
2316 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2318 1999-03-02 Andy Piper <andy@xemacs.org>
2320 * event-stream.c (init_event_stream): make sure native mswindows
2321 gets an appropriate event loop.
2323 1999-02-22 Andy Piper <andy@xemacs.org>
2325 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2326 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2327 (mswindows_raise_frame): remove comment.
2329 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2331 * XEmacs 21.2.11 is released
2333 1999-02-25 SL Baur <steve@xemacs.org>
2335 * mule-charset.c (Qleading_byte): New variable to implement
2336 charset-leading-byte function.
2337 (Fcharset_property): Use it.
2338 (syms_of_mule_charset): Initialize it.
2339 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2341 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2343 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2344 bytes per pixel counting.
2346 1999-02-15 Andy Piper <andy@xemacs.org>
2348 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2351 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2353 * fns.c (Fbase64_encode_string): New optional argument
2356 1999-02-16 Martin Buchholz <martin@xemacs.org>
2358 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2359 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2361 1999-02-10 Martin Buchholz <martin@xemacs.org>
2363 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2364 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2366 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2368 * XEmacs 21.2.10 is released
2370 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2372 * process-nt.c (nt_send_process):
2373 Fix for process-send-region/process-send-string breaking when size
2374 of the input > 128 chars: change maximum chunk size for process
2375 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2378 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2380 * XEmacs 21.2.9 is released
2382 1999-01-30 Martin Buchholz <martin@xemacs.org>
2384 * bytecode.c (funcall_compiled_function): Call
2385 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2387 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2388 #ifdef 0 out unused macro.
2390 1999-01-27 Martin Buchholz <martin@xemacs.org>
2392 * gui.c (gui_parse_item_keywords_internal): Make static.
2394 1999-01-21 Andy Piper <andy@xemacs.org>
2396 * glyphs-msw.c: add xface support.
2397 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2398 (image_instantiator_format_create_glyphs_mswindows): do device
2399 specific initialisation for xfaces.
2400 (xbm_create_bitmap_from_data): line data must be padded to a word
2403 * glyphs-x.c (xface_validate): moved to glyphs.c
2404 (xface_normalize): ditto.
2405 (xface_possible_dest_types): ditto.
2406 (image_instantiator_format_create_glyphs_x): do device specific
2407 initialisation for xfaces.
2409 * glyphs.h: declare xface symbol.
2411 * glyphs.c: move generic xface support here.
2412 (xface_validate): moved from glyphs-x.c
2413 (xface_normalize): ditto.
2414 (xface_possible_dest_types): ditto.
2415 (image_instantiator_format_create): xface declarations moved from
2418 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2420 * event-stream.c (vars_of_event_stream): Fixing documentation.
2422 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2424 * glyphs-eimage.c (gif_instantiate): Correct handling of
2425 interlaced gifs to avoid writing past the end of the eimage
2428 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2430 * search.c (Freplace_match): Handle single backslash at end of
2433 1999-01-12 William M. Perry <wmperry@aventail.com>
2435 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2436 avoid connection errors.
2438 1999-01-12 Andy Piper <andy@xemacs.org>
2440 * redisplay-output.c (redisplay_update_line): backout change that
2441 shouldn't have gone ine.
2443 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2445 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2446 collide with ldap.el
2448 1999-01-11 Andy Piper <andy@xemacs.org>
2450 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2451 (DISPLAY_LINE_YPOS): new macro.
2453 * redisplay-msw.c (mswindows_output_string): use it.
2454 (mswindows_output_pixmap): ditto.
2455 (mswindows_output_display_block): ditto.
2457 * redisplay-output.c (redisplay_output_display_block): new
2458 function. just call the devmeth, maybe insert some generic code
2460 (compare_display_blocks): use it.
2461 (output_display_line): ditto.
2462 (redisplay_unmap_subwindows_maybe): new function. potentially
2463 unmap subwindows in the given area.
2465 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2468 1999-01-10 J. Kean Johnston <jkj@sco.com>
2470 * Makefile.in.in: Set value of moduledir
2471 - Changed DUMPENV to include $(MODULEPATH)
2472 - Added install rule to install header files for use by ellcc.
2474 * config.h.in: Added INHIBIT_SITE_MODULES
2475 - Added HAVE__DLERROR
2476 - Added HAVE_DLFCN_H
2477 - Added DLSYM_NEEDS_UNDERSCORE
2481 * emodules.c: New file containing dynamic loading code.
2483 * emodules.h: New file.
2485 * emacs.c: Added variables Vmodule_directory,
2486 Vsite_module_directory, Vconfigure_module_directory and
2487 Vconfigure_site_module_directory.
2488 - (main_1): Added new variable inhibit_site_modules and command
2489 line options `-no-site-modules' and `--no-site-modules'.
2490 - (main_1): Call syms_of_module() instead of syms_of_dll().
2491 - (main_1): Call vars_of_module().
2492 - (vars_of_emacs): Introduce inhibit-site-modules,
2493 module-directory, configure-module-directory,
2494 site-module-directory, and configure-site-module-directory to the
2497 * lisp.h: Declare load_module and list_modules, as well as
2498 Vmodule_directory, Vsite_module_directory,
2499 Vconfigure_module_directory and Vconfigure_site_module_directory.
2501 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2502 - Added correct support for site-lisp directory.
2504 * symbols.c (defsubr): Modified to allow modules to add new subrs
2506 - (defsubr_macro): Same.
2507 - (defvar_magick): Only use purespace when not initialized, so
2508 that loaded modules can still add symbols.
2510 * symsinit.h: Add definitions for syms_of_module(),
2511 vars_of_module(). Removed syms_of_dll().
2513 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2514 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2515 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2517 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2518 explicitly pass -belf for native cc.
2520 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2521 hard-coding the library name.
2523 1999-01-01 <martin@xemacs.org>
2525 * device-x.c (Fx_set_font_path):
2526 Add proper cast to permit compilation under C++.
2528 * buffer.c (directory_is_current_directory):
2529 Add proper casts to permit compilation under C++.
2531 1998-12-30 Damon Lipparelli <lipp@primus.com>
2533 * event-msw.c (mswindows_wnd_proc):
2534 Fixed failure when building with MSVC 5.
2536 1998-12-29 Martin Buchholz <martin@xemacs.org>
2538 * file-coding.c (decode_coding_iso2022):
2539 - Prevent crash when decoding ISO7/Lock detected files
2540 - the usual martin fiddling
2542 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2546 Fixed failures when building with MSVC.
2547 * unexnt.c (dump_bss_and_heap):
2548 Removed compiler warning by removing bss_data variable.
2550 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2552 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2553 so that packages that distribute their own fonts can access them.
2555 1998-12-28 Andy Piper <andy@xemacs.org>
2557 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2558 that have an image provided.
2560 * glyphs.h: add Q_image decl.
2562 * glyphs-widget.c new functionality allowing images in
2564 (check_valid_glyph_or_image): new function to validate
2565 glyphs passed in through :image.
2566 (widget_normalize): new function. convert :image parameters into
2567 real glyphs if not already so.
2568 (widget_instantiate_1): mess with size parameters to be similar to
2570 (syms_of_glyphs_widget): new keyword :image.
2571 (image_instantiator_format_create_glyphs_widget): normalize
2572 buttons and allow :image.
2574 1998-12-27 Andy Piper <andy@xemacs.org>
2576 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2578 * glyphs-widget.c (check_valid_anything): no-op function.
2579 (check_valid_callback): check callbacks in gui_items.
2580 (check_valid_symbol): as it sounds.
2581 (check_valid_string_or_vector): ditto.
2582 (widget_validate): modified for descriptors that are vectors or
2583 sequences of keyword/val pairs.
2584 (widget_instantiate_1): ditto.
2585 (image_instantiator_format_create_glyphs_widget): allow gui_item
2586 keywords in the instantiator.
2588 * gui.c (gui_parse_item_keywords_internal): renamed from
2589 gui_parse_item_keywords but taking error behaviour.
2590 (gui_parse_item_keywords): use it.
2591 (gui_parse_item_keywords_no_errors): ditto.
2592 (gui_item_add_keyval_pair): add Error_behavior flag and only
2593 signal invalid keywords if required.
2595 * gui.h: new gui signatures.
2597 * menubar.c (menu_parse_submenu_keywords): use new
2598 gui_item_add_keyval_pair signature.
2600 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2602 1998-12-28 Martin Buchholz <martin@xemacs.org>
2604 * XEmacs 21.2.8 is released.
2606 1998-12-28 Martin Buchholz <martin@xemacs.org>
2608 * editfns.c (get_home_directory):
2609 (user-home-directory): Simplify.
2612 * callproc.c (child_setup):
2613 - Environment variables were being passed to inferior processes
2614 using internal encoding.
2615 - Convert to external encoding.
2616 - Rename local var `tem' to better name `tail'.
2617 - Use Flength instead of `manual' calculation.
2619 * buffer.c (kill-buffer):
2621 (set-buffer-major-mode):
2623 - Fix up parameter names to correspond to docstrings.
2624 - Don't use `bufname' when a buffer will do as well.
2625 - Remove one unneeded GCPRO.
2627 * buffer.h (initial_directory):
2628 * buffer.c (init_initial_directory):
2629 - use correct conversions between internal and external format.
2630 (directory_is_current_directory): new function
2631 (init_buffer): convert initial_directory to internal format.
2632 - solve crashes when current working directory is non-ASCII.
2634 * alloc.c (xmalloc):
2637 - remove stupid casts, since XEmacs requires an ANSI C system.
2638 (lrecord_type_index): replace abort() with more readable assert().
2640 (reset_lcrecord_stats): remove.
2641 (sweep_lcrecords_1):
2642 - replace call to reset_lcrecord_stats() with call to xzero().
2644 1998-12-27 Martin Buchholz <martin@xemacs.org>
2646 * process-unix.c (unix_create_process):
2647 - Fix crash invoking program with non-ASCII name.
2648 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2649 - Remove unused variable `env'.
2650 - Rename `temp' to better name `save_errno'.
2651 - Reorganize code for clarity. But still too chicken to nuke the
2654 1998-12-24 Martin Buchholz <martin@xemacs.org>
2656 * XEmacs 21.2.7 is released.
2658 1998-12-23 Martin Buchholz <martin@xemacs.org>
2660 * glyphs.c (decode_device_ii_format):
2662 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2664 * glyphs-x.c (x_subwindow_instantiate):
2665 - A image instance mask was being assigned to a image instance type!
2666 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2668 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2670 * glyphs-x.h: Make indentation consistent.
2672 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2674 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2676 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2680 Move declarations of decode_device_ii_format and
2681 decode_image_instantiator_format into glyphs.h where they belong.
2683 1998-12-22 Martin Buchholz <martin@xemacs.org>
2685 * frame-x.c (x_delete_frame): Revert part of my changes at the
2686 suggestion of Gunnar Evermann - unfortunately no one really
2687 understands this code.
2689 * callproc.c (init_callproc): code cleanup.
2691 * free-hook.c (malloc):
2696 (block_input_malloc):
2697 (block_input_realloc):
2698 * device-x.c (x_delete_device):
2699 * emacs.c (voodoo_free_hook):
2700 * events.c (print_event):
2702 (CHECK_EVENT_TYPE2):
2703 (CHECK_EVENT_TYPE3):
2704 Use proper prototypes.
2705 Make C_E_T macros a little faster.
2706 Pedantic fiddly little changes. You really don't care.
2708 1998-12-22 Andy Piper <andy@xemacs.org>
2710 * redisplay-output.c (redisplay_clear_region): make sure that
2711 fg/bg colors get set even when we are in the border area.
2713 1998-12-13 Martin Buchholz <martin@xemacs.org>
2715 * console-msw.c: Function definitions follow coding standards
2716 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2718 1998-12-11 Martin Buchholz <martin@xemacs.org>
2720 * events.h (struct timeout_data):
2721 * event-tty.c (tty_timeout_to_emacs_event):
2722 * event-msw.c (mswindows_wm_timer_callback):
2723 * event-Xt.c (Xt_timeout_to_emacs_event):
2724 * event-msw.c (mswindows_cancel_dispatch_event):
2725 Make sure Lisp_Objects inside events are initialized to Qnil, not
2726 Qnull_pointer, which is now illegal.
2728 1998-12-10 Martin Buchholz <martin@xemacs.org>
2730 * lisp.h: Fix up prototypes to match alloc.c
2732 1998-12-08 Martin Buchholz <martin@xemacs.org>
2734 * windowsnt.h: Remove `support' for using index and rindex
2736 * filelock.c (current_lock_owner):
2737 - Change uses of index -> strchr, rindex -> strrchr
2739 1998-12-07 Martin Buchholz <martin@xemacs.org>
2741 * sysdep.c (set_descriptor_non_blocking):
2742 Since O_NONBLOCK is now always #defined, make use of fcntl
2743 conditional on F_SETFL being defined.
2745 * console-msw.c (DHEADgER):
2754 - max_align_t should not be visible to the user of the
2756 - use Bufbyte instead of char
2757 - parens around (FOOP (obj)) are always redundant.
2758 If they were necessary, we should fix the macro instead.
2759 - Always use string_data(foo) instead of foo->data.
2762 1998-12-06 Martin Buchholz <martin@xemacs.org>
2764 * frame-msw.c (mswindows_init_frame_1):
2765 - use make_lisp_hash_table, not Fmake_hash_table
2769 * alloc.c (make_vector): remove travesty
2773 (make_bit_vector_internal):
2775 (make_bit_vector_from_byte_vector):
2777 - make vector_equal a little faster.
2778 - Don't use variable name `new'.
2779 - Use size_t instead of EMACS_INT.
2780 - usual Martin-style pointless bit-twiddling.
2786 Make mapcar faster. In particular, make
2787 (mapc #'identity long-string)
2788 MUCH faster under Mule.
2789 * tests/automated/lisp-tests.el: Test 'em!
2791 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2794 1998-12-01 Martin Buchholz <martin@xemacs.org>
2796 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2797 Qnil, not NULL, to initialize `null' Lisp_Objects.
2799 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2801 * specifier.c (display_table_validate): Update.
2803 * redisplay.c (create_text_block): Use them.
2805 * glyphs.c (display_table_entry): New function.
2806 (get_display_tables): Ditto.
2808 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2810 * eldap.c (toplevel): Mention that eldap.c compiles with
2812 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2813 (Fldap_search_internal): Ditto
2815 1998-12-11 Martin Buchholz <martin@xemacs.org>
2817 * event-msw.c (mswindows_cancel_dispatch_event):
2818 Gratuitous code prettification
2821 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2823 * fns.c (Fnconc): Fix use of wrong_type_argument().
2825 * floatfns.c (Ffloat): Fix docstring.
2826 (Ffloat): Fix use of wrong_type_argument().
2828 (extract_float): Ditto.
2833 1998-12-06 Martin Buchholz <martin@xemacs.org>
2835 * frame-msw.c (mswindows_init_frame_1):
2836 - use make_lisp_hash_table, not Fmake_hash_table
2840 * alloc.c (make_vector): remove travesty
2844 (make_bit_vector_internal):
2846 (make_bit_vector_from_byte_vector):
2848 - make vector_equal a little faster.
2849 - Don't use variable name `new'.
2850 - Use size_t instead of EMACS_INT.
2851 - usual Martin-style pointless bit-twiddling.
2857 Make mapcar faster. In particular, make
2858 (mapc #'identity long-string)
2859 MUCH faster under Mule.
2860 * tests/automated/lisp-tests.el: Test 'em!
2862 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2865 1998-12-02 Didier Verna <verna@inf.enst.fr>
2867 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2868 accelerator field to nil for labels.
2870 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2872 * menubar-msw.c (displayable_menu_item):
2873 Escape occurrences of '&' and support occurrences of the
2874 '%_' accelerator indicator in menus.
2876 1998-11-26 Didier Verna <verna@inf.enst.fr>
2878 * dired.c (Fdirectory_files): use make_string instead of
2879 make_ext_string on the filename. The conversion external->internal
2880 format is already done in sys_readdir.
2882 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2884 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2886 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2889 (Belatedly) added Kirill to list of file's authors.
2890 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2891 quit checking. WM_PAINT messages cause redisplay, but
2892 windows' states are not necessarily stable when this function
2895 1998-12-17 Andy Piper <andy@xemacs.org>
2897 * strftime.c (zone_name): CONSTify.
2899 1998-12-15 Andy Piper <andy@xemacs.org>
2901 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2902 (mswindows_widget_property): return Qunbound when no property available.
2903 (mswindows_button_property): ditto.
2904 (mswindows_combo_property): ditto.
2905 (mswindows_widget_set_property): ditto.
2907 * glyphs-widget.c (check_valid_item_list): use properties.
2909 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2911 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2912 (Fimage_instance_property): ditto.
2913 * glyphs-widget.c (widget_property): ditto.
2914 (widget_set_property): ditto.
2916 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2917 as setting the class cursor so that GC actually changes the
2920 * config.h: don't undef MAIL_USE_POP.
2922 1998-12-13 Andy Piper <andy@xemacs.org>
2925 (image_instantiator_format_create_glyphs_mswindows): line ->
2927 (mswindows_label_instantiate): ditto. Play with window flags.
2928 (image_instantiator_format_create_glyphs_mswindows): ditto.
2929 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2931 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2932 cope with lines and labels.
2933 (static_instantiate): use widget_instantiate_1.
2935 (image_instantiator_format_create_glyphs_widget): ditto.
2937 1998-12-10 Andy Piper <andy@xemacs.org>
2939 * Makefile.in.in (objs): add gui.o
2941 1998-12-10 Andy Piper <andy@xemacs.org>
2943 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2946 1998-12-09 Andy Piper <andy@xemacs.org>
2948 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2949 image instance is removed so that the subwindow cache gets reset
2950 and thus destroyed images get GC'd.
2952 1998-12-08 Andy Piper <andy@xemacs.org>
2954 * gui-msw.c (mswindows_handle_gui_wm_command): call
2955 MARK_SUBWINDOWS_CHANGED.
2957 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2958 subwindows really get deleted.
2960 * redisplay.c: new variable subwindows_changed[_set].
2961 (redisplay_window): use it.
2962 (redisplay_frame): ditto.
2963 (redisplay_device): ditto.
2964 (redisplay_without_hooks): ditto.
2966 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2967 subwindows redisplay as per glyphs equivalent.
2968 * redisplay.h: ditto.
2969 (MARK_SUBWINDOWS_CHANGED): ditto.
2970 (RESET_CHANGED_SET_FLAGS): ditto.
2971 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2973 1998-12-07 Andy Piper <andy@xemacs.org>
2975 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2978 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2980 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2981 messages and paint widget glyphs as appropriate with their face fg
2984 1998-12-06 Andy Piper <andy@xemacs.org>
2986 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2987 here rather than in glyphs-widget - do this because we only want
2988 to provide what is really available.
2990 * glyphs.c (Fimage_instance_property): new function to get the
2991 properties of image instances. wires through to console specific
2992 methods and then to widget specific methods.
2993 (Fset_image_instance_property): ditto but for setting widget properties.
2994 (check_valid_face): make extern so that it can be used elsewhere.
2996 * glyphs-widget.c (widget_property): new function. gets the
2997 properties of widgets in general and wires the function through to
2998 widget specific ones.
2999 (widget_set_property): ditto but for setting widget properties.
3001 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3002 add items to the list. Play with window styles a bit to get the
3004 (mswindows_widget_property): break out specific widget properties.
3005 (mswindows_button_property): new function. gets the checked state
3007 (mswindows_combo_property): new function. gets the current
3008 selection in the combo box.
3009 (mswindows_widget_set_property): new function. sets specific
3010 properties of specific widgets.
3012 * glyphs-widget.c (check_valid_item_list): new function. check
3013 that items for a combo-box are just a list of strings.
3014 (combo_validate): new function. check there is an item list.
3015 (widget_instantiate_1): new function. renamed from
3016 widget_instantiate so that we can do slightly different things for
3018 (widget_instantiate): call widget_instantiate_1.
3019 (combo_instantiate): new function to instantiate combo boxes,
3020 defaults height to the pixel height of the number of items in the
3022 (syms_of_glyphs_widget): move widget keywords here.
3023 (image_instantiator_format_create_glyphs_widget): use new combo
3026 1998-12-04 Andy Piper <andy@xemacs.org>
3028 * event-msw.c (mswindows_wnd_proc): mule-ize.
3030 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3032 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3033 (resource_name_to_resource): ditto.
3034 (mswindows_resource_instantiate): ditto.
3035 (mswindows_widget_instantiate): ditto.
3036 (mswindows_widget_set_property): ditto.
3038 * redisplay-output.c (redisplay_output_subwindow): don't show
3039 subwindows if they are obscured at the edge of the frame, emacs
3040 gets into some sort of redisplay loop otherwise.
3042 * gui.h: prototype gui_item_selected_p.
3044 * gui.c (gui_item_selected_p): new function to determine the
3045 selected state of a gui_item.
3047 * frame.h (struct frame): add subwindows_changed flag.
3049 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3051 * glyphs.c (update_subwindow): new function to update a
3053 (update_frame_subwindows): new function to update all the
3054 subwindows on a frame.
3056 * console.h (struct console_methods): add update_subwindow.
3058 * glyphs-msw.c (mswindows_widget_property): return selected state
3059 for selected property.
3060 (mswindows_update_subwindow): new function. updates widget glyphs
3061 in redisplay as per menubars or toolbars e.g. selected state.
3062 (console_type_create_glyphs_mswindows): add update_subwindow.
3064 1998-12-03 Andy Piper <andy@xemacs.org>
3066 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3067 tty coding system things are such.
3069 * glyphs-widget.c (widget_face_font_info): new function for
3070 pulling out height and width metrics for a widget's face.
3071 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3074 * event-msw.c (mswindows_drain_windows_queue): translate messages
3075 that are destined for subwindows. This makes edit fields interact
3076 with the keyboard correctly.
3077 nuke warnings by #ifndef'ing out stuff not required by msg select().
3079 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3080 macro defining the iiforma without the symbol required by widget.
3081 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3083 * general.c (syms_of_general): add Qwidget, Qselected.
3085 * faces.c (complex_vars_of_faces): add widget face inheriting from
3088 1998-11-09 Andy Piper <andy@xemacs.org>
3090 * window.h (struct window): add a cache of subwindows on a
3093 * window.c (mark_window): mark the subwindow_instance_cache.
3094 (allocate_window): initialise the subwindow instance_cache.
3096 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3097 instead of the devmeth.
3098 (x_clear_toolbar): ditto.
3100 * redisplay-x.c (x_output_display_block): call
3101 redisplay_output_subwindow for subwindows and widgets.
3103 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3104 types to do nothing for.
3106 * lisp.h: declare new widget/subwindow symbols.
3108 * glyphs.c (image_instantiate): cache subwindows on a per-window
3110 (subwindow_possible_dest_types): new function for subwindow dest
3112 (subwindow_instantiate): generic instantiation of a
3113 subwindow. specialised by device multi-methods.
3114 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3116 (Fimage_instance_subwindow_id): ditto.
3117 (Fresize_subwindow): ditto.
3118 (Fforce_subwindow_map): ditto.
3120 * glyphs-x.c (x_print_image_instance): remove subwindow
3121 stuff. Handled genrically in glyphs.c.
3122 (x_image_instance_equal): ditto.
3123 (x_image_instance_hash): ditto.
3124 (x_finalize_image_instance): delete subwindows when required.
3125 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3126 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3127 glyph-based, subwindow implementation.
3128 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3130 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3132 (x_unmap_subwindow): new function to unmap X subwindows.
3133 (x_map_subwindow): new function to map X subwindows.
3134 (x_subwindow_instantiate): new function to instantiate X
3136 (x_resize_subwindow): new function to resize X subwindows.
3137 (console_type_create_glyphs_x): add subwindow functions.
3138 (image_instantiator_format_create_glyphs_x): add device
3139 multi-methods for xpm, xbm and subwindow.
3141 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3142 (subwindow-width): ditto.
3143 (subwindow-height): ditto.
3145 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3146 generally instantiating ms subwindows. Used by
3147 mswindows_*_instantiate.
3148 (mswindows_edit_instantiate): instantiate an edit field on a
3151 1998-11-04 Andy Piper <andy@xemacs.org>
3153 * symsinit.h: declare new functions.
3155 * redisplay.h: declare new functions.
3157 * redisplay-x.c (x_output_display_block): call
3158 redisplay_clear_region rather than x_clear_region.
3159 (x_output_string): ditto.
3160 (x_output_pixmap): ditto.
3161 (x_clear_to_window_end): ditto.
3162 (x_output_eol_cursor): ditto.
3163 (x_clear_region): only do X specific things. other duties handled
3164 in redisplay_clear_region.
3166 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3167 duties moved to redisplay_clear_region.
3169 * redisplay-output.c (clear_left_border): use
3170 redisplay_clear_region instead of device method.
3171 (clear_right_border): ditto.
3172 (output_display_line): ditto.
3173 (redisplay_output_subwindow): ditto.
3174 (redisplay_clear_top_of_window): ditto.
3175 (redisplay_clear_region): perform duties previously handled by
3176 device methods. call the appropriate device method at the
3177 end. unmap subwindows if necessary.
3179 * redisplay-msw.c (mswindows_output_string): use
3180 redisplay_clear_region instead of mswindows_clear_region.
3181 (mswindows_clear_to_window_end): ditto.
3182 (mswindows_output_display_block): output subwindows when required.
3183 (mswindows_clear_region): only do mswindows specific things,
3184 everything else is now handled in redisplay_clear_region.
3186 * gui.h: add item id hash defines and declare function prototypes.
3188 * gui.c (mark_gui_item): new function for marking gui_items.
3189 (gui_item_hash): generic hash function for generating command ids
3192 * gui-msw.c: new file.
3193 (mswindows_handle_gui_wm_command): new function to handle widget
3196 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3198 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3199 (DEFINE_DEVICE_IIFORMAT): ditto.
3200 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3201 (struct Lisp_Image_Instance): add widget and subwindow data plus
3202 appropriate access functions.
3204 * glyphs.c (decode_device_ii_format): new function for decoding
3205 image instantiator functions based on a device type as well as an
3207 (decode_image_instantiator_format): just call
3208 decode_device_ii_format with nil device.
3209 (add_entry_to_device_ii_format_list): new function for per device
3211 (add_entry_to_image_instantiator_format_list): just call
3212 add_entry_to_device_ii_format_list with nil device.
3213 (check_valid_vector): new function.
3214 (instantiate_image_instantiator): instantiate using per-format
3215 method and then per-format-per-device method (device
3216 multi-methods). signal an error if neither is possible.
3217 (mark_image_instance): cope with subwindows and widgets.
3218 (print_image_instance): ditto.
3219 (image_instance_equal): ditto.
3220 (image_instance_hash): ditto.
3221 (allocate_glyph): ditto.
3222 (glyph_width): ditto.
3223 (glyph_height_internal): ditto.
3224 (xpm_instantiate): removed because of device multi-methods.
3225 (mark_subwindow_cachels): new cachel functions for caching
3226 instantiated subwindows on a per-frame basis. mostly copied from
3227 glyph cachel functions.
3228 (update_subwindow_cachel_data): ditto.
3229 (add_subwindow_cachel): ditto.
3230 (get_subwindow_cachel_index): ditto.
3231 (reset_subwindow_cachels): ditto.
3232 (mark_subwindow_cachels_as_not_updated): ditto.
3233 (unmap_subwindow): generic unmapping of subwindows based on cachel
3235 (map_subwindow): ditto.
3236 (initialize_subwindow_image_instance): generic initialisation of
3238 (syms_of_glyphs): add widget keywords.
3240 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3243 1998-11-04 Andy Piper <andy@xemacs.org>
3245 * glyphs-widget.c: new file for instantiating widget type glyphs.
3246 (widget_possible_dest_types): new general dest type function for
3248 (widget_validate): ditto.
3249 (initialize_widget_image_instance): ditto
3250 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3251 before handing on control to device multi-methods.
3252 (syms_of_glyphs_widget): new function.
3253 (image_instantiator_format_create_glyphs_widget): new function,
3254 added placeholders for button, edit, combo, scrollbar
3255 (vars_of_glyphs_widget): new function.
3257 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3258 storing window ids of widgets.
3260 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3261 deletion of widget and subwindow glyphs.
3262 (mswindows_unmap_subwindow): new device function for unmapping
3263 subwindows on a msw frame.
3264 (mswindows_map_subwindow): ditto.
3265 (mswindows_register_image_instance): register instantiated widgets
3266 with the widget hastable.
3267 (mswindows_button_instantiate): instantiate a button type widget
3269 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3271 (image_instantiator_format_create_glyphs_mswindows): add device
3272 multi-methods for xbm, xpm, subwindow, edit and button.
3274 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3275 information about subwindows visible on the current frame. used by
3276 redisplay_clear_region to unmap subwindows as required.
3278 * frame.c (mark_frame): mark subwindow_cachels.
3279 (allocate_frame_core): instantiate subwindow_cachels.
3281 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3284 * event-msw.c (mswindows_wnd_proc): add call to
3285 mswindows_handle_gui_wm_command to handle widget callbacks.
3287 * emacs.c (main_1): add calls to glyphs-widget initialisation
3290 * console.h (struct console_methods): add
3291 unmap/map_subwindow_method for use be redisplay_clear_region to
3292 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3293 with by image instantiator multi-methods. Add
3294 resize_subwindow_method.
3296 * console-stream.c (stream_clear_region): change signature to
3297 match new generic clear region function.
3299 * Makefile.in.in: add glyphs-widget.o to list of objects.
3301 * console-msw.h (struct mswindows_frame): add widget hashtable for
3302 wiring command ids to callbacks.
3304 1998-12-16 Andy Piper <andy@xemacs.org>
3306 * XEmacs 21.2.6 is released
3308 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3310 * md5.c (Fmd5): Correctly initiate string input stream.
3312 * Makefile.in.in (tests): Add md5-tests.el.
3314 1998-12-06 Martin Buchholz <martin@xemacs.org>
3317 * alloc.c (make_vector): remove travesty
3321 (make_bit_vector_internal):
3323 (make_bit_vector_from_byte_vector):
3325 - make vector_equal a little faster.
3326 - Don't use variable name `new'.
3327 - Use size_t instead of EMACS_INT.
3328 - usual Martin-style pointless bit-twiddling.
3334 Make mapcar faster. In particular, make
3335 (mapc #'identity long-string)
3336 MUCH faster under Mule.
3337 * tests/automated/lisp-tests.el: Test 'em!
3339 1998-12-06 Martin Buchholz <martin@xemacs.org>
3341 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3344 1998-12-13 Martin Buchholz <martin@xemacs.org>
3346 * console-msw.c: Function definitions follow coding standards
3347 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3349 1998-12-11 Martin Buchholz <martin@xemacs.org>
3351 * events.h (struct timeout_data):
3352 * event-tty.c (tty_timeout_to_emacs_event):
3353 * event-msw.c (mswindows_wm_timer_callback):
3354 * event-Xt.c (Xt_timeout_to_emacs_event):
3355 * event-msw.c (mswindows_cancel_dispatch_event):
3356 Make sure Lisp_Objects inside events are initialized to Qnil, not
3357 Qnull_pointer, which is now illegal.
3359 1998-12-10 Martin Buchholz <martin@xemacs.org>
3361 * lisp.h: Fix up prototypes to match alloc.c
3363 1998-12-09 Andy Piper <andy@xemacs.org>
3365 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3366 XSETINT for assigning lisp objects.
3368 1998-12-07 Martin Buchholz <martin@xemacs.org>
3371 * console-msw.c (DHEADER):
3380 - max_align_t should not be visible to the user of the
3382 - use Bufbyte instead of char
3383 - parens around (FOOP (obj)) are always redundant.
3384 If they were necessary, we should fix the macro instead.
3385 - Always use string_data(foo) instead of foo->data.
3387 1998-12-07 Martin Buchholz <martin@xemacs.org>
3389 * sysdep.c (set_descriptor_non_blocking):
3390 Since O_NONBLOCK is now always #defined, make use of fcntl
3391 conditional on F_SETFL being defined.
3393 1998-12-09 Andy Piper <andy@xemacs.org>
3395 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3396 that got removed in the merge
3398 1998-11-30 Greg Klanderman <greg@alphatech.com>
3400 * dired.c (vars_of_dired): bugfix for previous conditionalization
3401 of user-name-completion on non- Windows NT.
3403 1998-12-08 Martin Buchholz <martin@xemacs.org>
3405 * windowsnt.h: Remove `support' for using index and rindex
3407 * filelock.c (current_lock_owner):
3408 - Change uses of index -> strchr, rindex -> strrchr
3410 1998-12-06 Martin Buchholz <martin@xemacs.org>
3412 * frame-msw.c (mswindows_init_frame_1):
3413 - use make_lisp_hash_table, not Fmake_hash_table
3416 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3418 * XEmacs 21.2.5 is released
3420 1998-11-30 Martin Buchholz <martin@xemacs.org>
3422 * xselect.c (receive_incremental_selection):
3423 * xselect.c (x_get_window_property):
3424 * xmu.c (XmuReadBitmapDataFromFile):
3425 * xmu.c (XmuCursorNameToIndex):
3426 * xgccache.c (describe_gc_cache):
3427 * xgccache.c (gc_cache_lookup):
3428 * xgccache.c (free_gc_cache):
3429 * xgccache.c (make_gc_cache):
3431 * window.c (map_windows_1):
3432 * window.c (Fother_window_for_scrolling):
3433 * window.c (window_scroll):
3434 * window.c (change_window_height):
3435 * window.c (Fsplit_window):
3436 * window.c (window_left_gutter_width):
3437 * window.c (window_modeline_height):
3438 * window.c (invalidate_vertical_divider_cache_in_window):
3439 * window.c (window_needs_vertical_divider_1):
3440 * window.c (update_mirror_internal):
3441 * window.c (SET_LAST_FACECHANGE):
3442 * widget.c (Fwidget_plist_member):
3443 * unexec.c (copy_text_and_data):
3444 * unexcw.c (copy_executable_and_dump_data_section):
3446 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3447 * tooltalk.c (struct Lisp_Tooltalk_Message):
3448 * toolbar.h (struct toolbar_button):
3449 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3450 * toolbar.c (recompute_overlaying_specifier):
3451 * toolbar.c (toolbar_validate):
3452 * toolbar.c (toolbar_button_at_pixpos):
3453 * toolbar.c (get_toolbar_coords):
3454 * toolbar.c (update_frame_toolbars):
3456 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3457 * toolbar-msw.c (mswindows_find_toolbar_pos):
3458 * toolbar-msw.c (mswindows_output_toolbar):
3459 * toolbar-msw.c (mswindows_clear_toolbar):
3468 * sysdep.c (sys_fopen):
3469 * sysdep.c (sys_open):
3470 * sysdep.c (tty_init_sys_modes_on_device):
3471 * sysdep.c (get_eof_char):
3472 * sysdep.c (child_setup_tty):
3473 * sysdep.c (set_descriptor_non_blocking):
3475 * syntax.c (scan_words):
3478 * symeval.h (struct symbol_value_varalias):
3479 * symeval.h (struct symbol_value_forward):
3480 * symbols.c (syms_of_symbols):
3481 * symbols.c (init_symbols_once_early):
3482 * symbols.c (Fbuilt_in_variable_type):
3483 * symbols.c (Fsymbol_value_in_buffer):
3484 * symbols.c (default_value):
3486 * symbols.c (find_symbol_value_quickly):
3487 * symbols.c (store_symval_forwarding):
3488 * symbols.c (set_default_console_slot_variable):
3489 * symbols.c (set_default_buffer_slot_variable):
3490 * symbols.c (verify_ok_for_buffer_local):
3491 * symbols.c (symbol_is_constant):
3492 * symbols.c (oblookup):
3493 * symbols.c (Funintern):
3494 * symbols.c (Fintern):
3495 * symbols.c (check_obarray):
3497 * specifier.h (struct specifier_methods):
3499 * specifier.c (specifier_instance):
3500 * specifier.c (specifier_instance_from_inst_list):
3501 * specifier.c (decode_locale_type):
3502 * specifier.c (specifier_equal):
3503 * specifier.c (finalize_specifier):
3504 * specifier.c (prune_specifiers):
3505 * specifier.c (kill_specifier_buffer_locals):
3506 * sound.c (init_native_sound):
3509 * search.c (Fmatch_data):
3510 * search.c (match_limit):
3511 * search.c (Freplace_match):
3512 * search.c (skip_chars):
3513 * search.c (scan_buffer):
3515 * scrollbar.c (specifier_vars_of_scrollbar):
3516 * scrollbar.c (Fscrollbar_set_hscroll):
3517 * scrollbar.c (vertical_scrollbar_changed_in_window):
3518 * scrollbar.c (release_window_mirror_scrollbars):
3519 * scrollbar.c (free_scrollbar_instance):
3522 * s/msdos.h (O_BINARY):
3524 * s/freebsd.h (LIBS_TERMCAP):
3525 * regex.c (re_match_2_internal):
3526 * regex.c (compile_extended_range):
3527 * regex.c (POP_FAILURE_POINT):
3528 * regex.c (PUSH_FAILURE_POINT):
3529 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3531 * redisplay.h (struct display_line):
3532 * redisplay.h (struct rune):
3533 * redisplay.c (vars_of_redisplay):
3534 * redisplay.c (redisplay_variable_changed):
3535 * redisplay.c (UPDATE_CACHE_RETURN):
3536 * redisplay.c (validate_line_start_cache):
3537 * redisplay.c (mark_redisplay_structs):
3538 * redisplay.c (mark_glyph_block_dynarr):
3539 * redisplay.c (window_line_number):
3540 * redisplay.c (redisplay_frame):
3541 * redisplay.c (redisplay_window):
3542 * redisplay.c (generate_modeline):
3543 * redisplay.c (create_right_glyph_block):
3544 * redisplay.c (create_left_glyph_block):
3545 * redisplay.c (create_text_block):
3547 * redisplay-x.c (x_output_hline):
3548 * redisplay-x.c (x_output_vertical_divider):
3549 * redisplay-tty.c (tty_output_display_block):
3550 * redisplay-output.c (output_display_line):
3551 * redisplay-output.c:
3552 * redisplay-msw.c (mswindows_output_vertical_divider):
3553 * redisplay-msw.c (mswindows_ring_bell):
3554 * redisplay-msw.c (mswindows_output_cursor):
3558 * puresize.h (RAW_PURESIZE):
3559 * profile.c (syms_of_profile):
3560 * profile.c (Fstart_profiling):
3561 * profile.c (sigprof_handler):
3564 * process.c (vars_of_process):
3565 * process.c (read_process_output):
3566 * process.c (get_process):
3568 * process-unix.c (unix_open_multicast_group):
3569 * process-unix.c (unix_get_tty_name):
3570 * process-unix.c (unix_send_process):
3571 * process-unix.c (unix_reap_exited_processes):
3572 * process-unix.c (unix_create_process):
3573 * process-unix.c (unix_init_process_io_handles):
3574 * process-unix.c (allocate_pty):
3576 * process-nt.c (nt_open_network_stream):
3577 * process-nt.c (nt_update_status_if_terminated):
3578 * process-nt.c (nt_finalize_process_data):
3580 * print.c (debug_short_backtrace):
3581 * print.c (debug_backtrace):
3582 * print.c (print_symbol):
3583 * print.c (print_internal):
3584 * print.c (print_cons):
3585 * print.c (Fwrite_char):
3586 * print.c (print_prepare):
3587 * print.c (canonicalize_printcharfun):
3588 * print.c (output_string):
3591 * opaque.c (allocate_managed_opaque):
3593 * offix.c (DndSetData):
3594 * objects.c (face_boolean_create):
3595 * objects.c (font_instantiate):
3596 * objects.c (font_create):
3597 * objects.c (color_create):
3598 * objects.c (finalize_font_instance):
3599 * objects.c (finalize_color_instance):
3601 * objects-x.c (x_font_instance_truename):
3603 * objects-x.c (x_initialize_font_instance):
3604 * objects-x.c (allocate_nearest_color):
3605 * objects-tty.c (tty_initialize_font_instance):
3606 * objects-tty.c (tty_initialize_color_instance):
3607 * objects-msw.c (mswindows_initialize_color_instance):
3608 * ntproc.c (syms_of_ntproc):
3609 * ntproc.c (Fwin32_set_process_priority):
3610 * ntproc.c (sys_spawnve):
3612 * ntheap.c (get_data_end):
3616 * nt.c (generate_inode_val):
3617 * nt.c (sys_rename):
3619 * mule-wnnfns.c (Fwnn_hinsi_number):
3620 * mule-wnnfns.c (Fwnn_yuragi):
3621 * mule-wnnfns.c (Fwnn_common_learn):
3622 * mule-wnnfns.c (Fwnn_suffix_learn):
3623 * mule-wnnfns.c (Fwnn_prefix_learn):
3624 * mule-wnnfns.c (Fwnn_okuri_learn):
3625 * mule-wnnfns.c (Fwnn_complex_conv):
3626 * mule-wnnfns.c (Fwnn_last_is_first):
3627 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3628 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3629 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3630 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3631 * mule-wnnfns.c (Fwnn_hinsi_list):
3632 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3633 * mule-wnnfns.c (Fwnn_dict_search):
3634 * mule-wnnfns.c (Fwnn_word_toroku):
3635 * mule-wnnfns.c (Fwnn_hindo_update):
3636 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3637 * mule-wnnfns.c (Fwnn_kakutei):
3638 * mule-wnnfns.c (Fwnn_begin_henkan):
3639 * mule-wnnfns.c (Fwnn_dict_comment):
3640 * mule-wnnfns.c (Fwnn_dict_add):
3641 * mule-wnnfns.c (Fwnn_open):
3642 * mule-mcpath.c (mc_getcwd):
3643 * mule-coding.c (vars_of_mule_coding):
3644 * mule-coding.c (convert_to_external_format):
3645 * mule-coding.c (encoding_marker):
3646 * mule-coding.c (decoding_marker):
3647 * mule-coding.c (Fcopy_coding_system):
3648 * mule-coding.c (Fmake_coding_system):
3649 * mule-coding.c (Fcoding_system_list):
3650 * mule-coding.c (Ffind_coding_system):
3651 * mule-coding.c (symbol_to_eol_type):
3653 * mule-charset.c (complex_vars_of_mule_charset):
3654 * mule-charset.c (vars_of_mule_charset):
3655 * mule-charset.c (Fset_charset_ccl_program):
3656 * mule-charset.c (struct charset_list_closure):
3657 * mule-charset.c (Ffind_charset):
3658 * mule-charset.c (make_charset):
3659 * mule-charset.c (non_ascii_valid_char_p):
3661 * mule-ccl.c (ccl_driver):
3662 * mule-canna.c (c2mu):
3663 * mule-canna.c (Fcanna_henkan_begin):
3664 * mule-canna.c (Fcanna_parse):
3665 * mule-canna.c (Fcanna_store_yomi):
3666 * mule-canna.c (Fcanna_touroku_string):
3667 * mule-canna.c (Fcanna_initialize):
3669 * menubar.c (menu_parse_submenu_keywords):
3670 * menubar-x.c (make_dummy_xbutton_event):
3671 * menubar-x.c (set_frame_menubar):
3672 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3675 * menubar-msw.c (mswindows_popup_menu):
3676 * menubar-msw.c (mswindows_update_frame_menubars):
3677 * menubar-msw.c (mswindows_handle_wm_command):
3678 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3679 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3680 * menubar-msw.c (update_frame_menubar_maybe):
3681 * menubar-msw.c (populate_or_checksum_helper):
3682 * menubar-msw.c (empty_menu):
3685 * marker.c (set_marker_internal):
3686 * marker.c (print_marker):
3689 * lstream.c (lisp_buffer_rewinder):
3690 * lstream.c (mark_lstream):
3692 * lrecord.h (struct lrecord_header):
3693 * lread.c (readevalloop):
3694 * lread.c (locate_file):
3695 * lread.c (locate_file_in_directory):
3696 * lread.c (Flocate_file):
3697 * lread.c (load_force_doc_string_unwind):
3698 * lread.c (ebolify_bytecode_constants):
3703 * linuxplay.c (linux_play_data_or_file):
3704 * linuxplay.c (audio_init):
3707 * keymap.c (describe_map):
3708 * keymap.c (describe_map_mapper):
3709 * keymap.c (Fdescribe_bindings_internal):
3710 * keymap.c (Fsingle_key_description):
3711 * keymap.c (map_keymap_sorted):
3712 * keymap.c (get_relevant_keymaps):
3713 * keymap.c (Flookup_key):
3714 * keymap.c (raw_lookup_key_mapper):
3715 * keymap.c (Fdefine_key):
3716 * keymap.c (Fevent_matches_key_specifier_p):
3717 * keymap.c (key_desc_list_to_event):
3718 * keymap.c (define_key_parser):
3719 * keymap.c (define_key_check_and_coerce_keysym):
3720 * keymap.c (keymap_submaps):
3721 * keymap.c (keymap_store_internal):
3722 * keymap.c (keymap_delete_inverse_internal):
3723 * keymap.c (keymap_store_inverse_internal):
3724 * keymap.c (print_keymap):
3725 * keymap.c (Lisp_Keymap):
3728 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3729 * insdel.c (make_gap):
3730 * input-method-xlib.c (get_XIM_input):
3731 * input-method-xlib.c (XIM_init_frame):
3736 * gui-x.c (button_item_to_widget_value):
3737 * gui-x.c (popup_selection_callback):
3738 * glyphs.h (struct image_instantiator_methods):
3739 * glyphs.c (mark_glyph_cachels):
3740 * glyphs.c (Fglyph_type):
3741 * glyphs.c (image_instantiate):
3742 * glyphs.c (image_create):
3743 * glyphs.c (make_image_instance_1):
3744 * glyphs.c (finalize_image_instance):
3746 * glyphs-x.c (finalize_subwindow):
3747 * glyphs-x.c (xface_validate):
3748 * glyphs-x.c (x_locate_pixmap_file):
3749 * glyphs-x.c (convert_EImage_to_XImage):
3751 * glyphs-msw.c (mswindows_resource_instantiate):
3752 * glyphs-msw.c (xpm_to_eimage):
3753 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3754 * glyphs-eimage.c (tiff_instantiate):
3755 * glyphs-eimage.c (png_instantiate):
3756 * glyphs-eimage.c (struct png_error_struct):
3757 * glyphs-eimage.c (gif_memory_storage):
3760 * getloadavg.c (getloadavg):
3763 * free-hook.c (log_gcpro):
3764 * free-hook.c (check_malloc):
3765 * free-hook.c (check_free):
3766 * free-hook.c (ROUND_UP_TO_PAGE):
3768 * frame.h (struct frame):
3770 * frame.c (change_frame_size_1):
3771 * frame.c (allocate_frame_core):
3773 * frame-x.c (x_focus_on_frame):
3774 * frame-x.c (x_init_frame_2):
3775 * frame-x.c (x_popup_frame):
3776 * frame-x.c (xemacs_XtPopup):
3778 * frame-x.c (Foffix_start_drag_internal):
3779 * frame-x.c (x_cde_destroy_callback):
3780 * frame-x.c (x_wm_hack_wm_protocols):
3781 * frame-tty.c (tty_frame_visible_p):
3782 * frame-msw.c (mswindows_make_frame_invisible):
3783 * frame-msw.c (mswindows_after_init_frame):
3784 * frame-msw.c (mswindows_init_frame_1):
3785 * fns.c (syms_of_fns):
3786 * fns.c (Fbase64_decode_string):
3788 * fns.c (Ffillarray):
3789 * fns.c (Fobject_plist):
3791 * fns.c (Fcanonicalize_lax_plist):
3792 * fns.c (Fcanonicalize_plist):
3793 * fns.c (Fplist_remprop):
3794 * fns.c (Fplist_get):
3795 * fns.c (advance_plist_pointers):
3796 * fns.c (internal_plist_put):
3797 * fns.c (Fnreverse):
3800 * fns.c (Fsubstring):
3801 * fns.c (Fbvconcat):
3803 * fns.c (length_with_bytecode_hack):
3804 * fns.c (print_bit_vector):
3806 * floatfns.c (Ffloor):
3808 * floatfns.c (in_float_error):
3809 * fileio.c (Ffile_modes):
3810 * fileio.c (Fexpand_file_name):
3811 * fileio.c (Fmake_temp_name):
3812 * fileio.c (Ffile_name_nondirectory):
3813 * fileio.c (Ffile_name_directory):
3815 * file-coding.c (vars_of_mule_coding):
3816 * file-coding.c (convert_to_external_format):
3817 * file-coding.c (encoding_marker):
3818 * file-coding.c (decoding_marker):
3819 * file-coding.c (Fcopy_coding_system):
3820 * file-coding.c (Fmake_coding_system):
3821 * file-coding.c (struct coding_system_list_closure):
3822 * file-coding.c (Ffind_coding_system):
3823 * file-coding.c (symbol_to_eol_type):
3825 * faces.h (struct face_cachel):
3826 * faces.c (vars_of_faces):
3827 * faces.c (face_property_was_changed):
3828 * faces.c (mark_face_cachels):
3829 * faces.c (temporary_faces_list):
3830 * faces.c (struct face_list_closure):
3832 * extents.h (struct extent):
3833 * extents.c (vars_of_extents):
3834 * extents.c (struct copy_string_extents_1_arg):
3835 * extents.c (add_string_extents_mapper):
3836 * extents.c (Fextent_property):
3837 * extents.c (Fset_extent_property):
3838 * extents.c (symbol_to_glyph_layout):
3839 * extents.c (properties_equal):
3840 * extents.c (print_extent):
3841 * extents.c (print_extent_1):
3842 * extents.c (extent_in_region_p):
3843 * extents.c (gap_array_make_gap):
3845 * events.h (struct Lisp_Event):
3847 * events.c (Fevent_properties):
3848 * events.c (format_event_object):
3849 * events.c (Fmake_event):
3850 * events.c (event_equal):
3851 * events.c (print_event):
3852 * events.c (mark_event):
3853 * event-stream.c ((read-char)
3854 * event-stream.c (vars_of_event_stream):
3855 * event-stream.c (syms_of_event_stream):
3856 * event-stream.c (Fset_recent_keys_ring_size):
3857 * event-stream.c (Fsit_for):
3858 * event-stream.c (Fnext_event):
3859 * event-stream.c (execute_help_form):
3860 * event-stream.c (maybe_kbd_translate):
3862 * event-msw.c (vars_of_event_mswindows):
3863 * event-msw.c (mswindows_wnd_proc):
3864 * event-msw.c (mswindows_need_event):
3865 * event-msw.c (mswindows_drain_windows_queue):
3866 * event-msw.c (mswindows_pump_outstanding_events):
3868 * event-msw.c (slurp_thread):
3869 * event-msw.c (struct ntpipe_slurp_stream):
3870 * event-msw.c (HANDLE_TO_USID):
3871 * event-Xt.c (emacs_Xt_handle_magic_event):
3872 * event-Xt.c (x_event_to_emacs_event):
3873 * event-Xt.c (x_reset_modifier_mapping):
3874 * event-Xt.c (x_reset_key_mapping):
3876 * eval.c (syms_of_eval):
3877 * eval.c (warn_when_safe):
3878 * eval.c (warn_when_safe_lispobj):
3879 * eval.c (Fbacktrace_frame):
3880 * eval.c (Fbacktrace):
3881 * eval.c (top_level_set):
3882 * eval.c (unbind_to_hairy):
3883 * eval.c (specbind_magic):
3884 * eval.c (specbind_unwind_wasnt_local):
3885 * eval.c (call2_trapping_errors):
3886 * eval.c (call1_trapping_errors):
3887 * eval.c (catch_them_squirmers_call2):
3888 * eval.c (call0_trapping_errors):
3889 * eval.c (run_hook_trapping_errors):
3890 * eval.c (catch_them_squirmers_eval_in_buffer):
3891 * eval.c (call4_in_buffer):
3892 * eval.c (call3_in_buffer):
3893 * eval.c (call2_in_buffer):
3894 * eval.c (call1_in_buffer):
3895 * eval.c (call0_in_buffer):
3896 * eval.c (run_hook):
3897 * eval.c (run_hook_with_args_in_buffer):
3900 * eval.c (do_autoload):
3901 * eval.c (un_autoload):
3902 * eval.c (Fautoload):
3903 * eval.c (Finteractive_p):
3904 * eval.c (Fcommand_execute):
3905 * eval.c (signal_quit):
3906 * eval.c (call_with_suspended_errors):
3907 * eval.c (signal_error):
3908 * eval.c (return_from_signal):
3909 * eval.c (Fcall_with_condition_handler):
3910 * eval.c (run_condition_case_handlers):
3911 * eval.c (condition_case_1):
3912 * eval.c (Funwind_protect):
3913 * eval.c (unwind_to_catch):
3914 * eval.c (internal_catch):
3915 * eval.c (Fmacroexpand_internal):
3916 * eval.c (Fuser_variable_p):
3917 * eval.c (Fdefconst):
3919 * eval.c (Ffunction):
3920 * eval.c (signal_call_debugger):
3921 * eval.c (call_debugger):
3924 * emacs.c (sort_args):
3928 * editfns.c (Fencode_time):
3929 * editfns.c (Fdecode_time):
3930 * editfns.c (Fuser_full_name):
3932 * editfns.c (save_excursion_restore):
3935 * doprnt.c (emacs_doprnt_1):
3936 * doc.c (verify_doc_mapper):
3937 * doc.c (Fsnarf_documentation):
3938 * doc.c (Fdocumentation):
3940 * dired.c (user_name_completion):
3941 * dired.c (Fdirectory_files):
3944 * dgif_lib.c (FreeSavedImages):
3945 * dgif_lib.c (DGifGetImageDesc):
3947 * device.h (struct device):
3948 * device.c (Fselect_device):
3949 * device.c (allocate_device):
3951 * device-x.c (Fx_keysym_on_keyboard_p):
3952 * device-x.c (Fx_valid_keysym_name_p):
3953 * device-x.c (x_IO_error_handler):
3954 * device-x.c (x_delete_device):
3955 * device-x.c (x_finish_init_device):
3956 * device-x.c (x_init_device):
3958 * device-msw.c (mswindows_init_device):
3960 * database.c (vars_of_database):
3961 * database.c (Fput_database):
3962 * database.c (Fopen_database):
3963 * database.c (berkdb_remove):
3964 * database.c (berkdb_put):
3965 * database.c (Fdatabasep):
3966 * database.c (print_database):
3968 * data.c (vars_of_data):
3969 * data.c (syms_of_data):
3970 * data.c (init_errors_once_early):
3971 * data.c (prune_weak_lists):
3972 * data.c (finish_marking_weak_lists):
3973 * data.c (print_weak_list):
3975 * data.c (Fstring_to_number):
3976 * data.c (Fnumber_to_string):
3977 * data.c (Findirect_function):
3980 * data.c (Fsubr_interactive):
3982 * data.c (Fkeywordp):
3985 * console.h (CONSOLE_NAME):
3987 * console.c (vars_of_console):
3988 * console.c (Fselect_console):
3990 * console-x.h (DEVICE_X_COLORMAP):
3991 * console-x.h (struct x_device):
3992 * console-x.c (x_device_to_console_connection):
3993 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3994 * console-tty.c (tty_init_console):
3996 * console-msw.h (struct mswindows_frame):
3999 * cmds.c (internal_self_insert):
4000 * cmds.c (Fforward_line):
4001 * cmds.c (Fforward_char):
4004 * chartab.c (mark_char_table_entry):
4006 * casefiddle.c (casify_word):
4007 * callproc.c (child_setup):
4008 * callproc.c (Fcall_process_internal):
4010 * callint.c (Fcall_interactively):
4012 * bytecode.c (execute_rare_opcode):
4013 * bytecode.c (execute_optimized_program):
4016 * buffer.h (BUFFER_REALLOC):
4017 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4018 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4020 * buffer.h (MAP_INDIRECT_BUFFERS):
4021 * buffer.h (CHECK_LIVE_BUFFER):
4022 * buffer.c (init_initial_directory):
4023 * buffer.c (complex_vars_of_buffer):
4024 * buffer.c (vars_of_buffer):
4025 * buffer.c (finish_init_buffer):
4026 * buffer.c (Fget_file_buffer):
4027 * buffer.c (Fbuffer_list):
4028 * buffer.c (mark_buffer):
4029 * balloon_help.c (balloon_help_move_to_pointer):
4030 * balloon_help.c (show_help):
4033 * alloc.c (garbage_collect_1):
4034 * alloc.c (sweep_strings):
4035 * alloc.c (sweep_compiled_functions):
4036 * alloc.c (sweep_bit_vectors_1):
4037 * alloc.c (sweep_vectors_1):
4038 * alloc.c (sweep_lcrecords_1):
4039 * alloc.c (tick_lcrecord_stats):
4040 * alloc.c (pure_string_sizeof):
4041 * alloc.c (mark_conses_in_list):
4042 * alloc.c (mark_object):
4043 * alloc.c (report_pure_usage):
4044 * alloc.c (make_pure_float):
4045 * alloc.c (make_pure_string):
4046 * alloc.c (free_managed_lcrecord):
4047 * alloc.c (mark_string):
4048 * alloc.c (noseeum_make_marker):
4049 * alloc.c (allocate_event):
4050 * alloc.c (Fbit_vector):
4051 * alloc.c (Fvector):
4052 * alloc.c (make_float):
4053 * alloc.c (Fmake_list):
4055 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4056 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4057 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4058 * alloc.c (dbg_constants):
4059 * alloc.c (gc_record_type_p):
4060 * alloc.c (free_lcrecord):
4061 * alloc.c (xmalloc):
4062 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4064 * Makefile.in.in (mostlyclean):
4065 * Makefile.in.in (external_client_xlib_objs_nonshared):
4066 * Makefile.in.in (temacs_link_args):
4067 * Makefile.in.in (release):
4068 * Makefile.in.in (dnd_objs):
4069 * Makefile.in.in (objs):
4070 * Makefile.in.in (PROGNAME):
4071 * EmacsShell.c: cast strings to (XtPointer)
4072 * EmacsFrame.c: cast strings to (XtPointer)
4074 - rewrite basic lisp functions for speed
4075 - rewrite bytecode interpreter for speed
4076 - rewrite list looping constructs for speed and safety using
4078 - use size_t where appropriate.
4079 - new hashtable implementation
4080 - cleanup implementation of opaques
4081 - opaques can now be purecopy'ed
4082 - move some cl functionality into C for speed.
4083 - remove last remaining VMS support
4085 - improve gdb/dbx debugger support
4086 - move pure.c back into alloc.c for performance
4087 - enable report_pure_usage() if --memory-usage-stats
4088 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4089 - don't use symbols with leading `_' or embedded `__'
4090 - globally cleanup duplicated semicolons `;;'
4091 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4093 - globally replace O_NDELAY with O_NONBLOCK.
4094 - globally replace CDISABLE with _POSIX_VDISABLE.
4095 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4096 - define (and maybe use!) STDERR_FILENO and friends.
4097 - add support for macros defined in C
4098 - `when', `unless', `not' and `defalias' now defined in C,
4099 so that they are universally available.
4100 - rename defvar_mumble to defvar_magic
4101 - rename RETURN__ to RETURN_SANS_WARNINGS
4102 - use consistent style of initial caps in error messages
4103 - implement last, butlast, nbutlast, copy-list in C.
4104 - provide typedefs for all struct Lisp_foo types
4105 - Lisp_Objects must be initialized to Qnil rather than 0.
4106 - make sure XEmacs runs (slowly) with always_gc == 1;
4107 - fast and safe LOOP_* macros
4108 - change calls to XSETOBJ to XSETFOO
4109 - replace calls to XSETINT by make_int()
4110 - plug up memory leaks
4111 - use style markobj (foo), not silly ((markobj) (foo))
4112 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4114 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4116 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4118 1998-11-28 SL Baur <steve@altair.xemacs.org>
4120 * XEmacs 21.2-beta4 is released.
4122 1998-11-27 SL Baur <steve@altair.xemacs.org>
4124 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4125 property in control-1 charset.
4126 From Julian Bradfield <jcb@daimi.au.dk>
4128 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4130 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4132 Add stub for :label.
4134 * gui.c (gui_item_add_keyval_pair): ditto.
4136 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4137 :key-sequence keyword.
4139 Support :active for submenus like the Windows code and FSF Emacs.
4141 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4143 * dired.c (make_directory_hash_table): make_string() is OK because
4144 readdir() Mule-encapsulates.
4146 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4148 * fns.c (Fbase64_encode_string): Fix docstring.
4149 (Fbase64_decode_string): Ditto.
4151 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4153 * editfns.c (Ftranslate_region): Use
4154 convert_bufbyte_string_into_emchar_string().
4156 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4158 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4160 (Ftranslate_region): Turn table into an array of Emchars for
4163 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4165 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4167 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4169 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4170 type `char' with nils.
4172 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4173 for tables of type `char'.
4175 1998-11-26 Didier Verna <verna@inf.enst.fr>
4177 * input-method-xlib.c (Initialize_Locale): don't call
4178 XtSetLanguageProc. We've done the whole work here.
4179 * input-method-xfs.c (Initialize_Locale): ditto.
4180 * input-method-motif.c (Initialize_Locale): ditto.
4182 1998-11-26 Didier Verna <verna@inf.enst.fr>
4184 * process-unix.c (unix_create_process): handle properly
4185 Vfile_name_coding_system for converting the program and directory
4188 1998-11-27 SL Baur <steve@altair.xemacs.org>
4190 * m/arm.h: New file.
4191 From James LewisMoss <dres@ioa.com>
4193 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4196 Fix the realpath() problem of UnixWare2.1.3.
4197 Patches for NEC's sysv4.2 machine.
4199 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4201 * dired.c (Fdirectory_files): Remove redundant code.
4203 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4205 * fns.c (free_malloced_ptr): New function.
4206 (XMALLOC_OR_ALLOCA): New macro.
4207 (XMALLOC_UNBIND): Ditto.
4208 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4209 to be freed in case of non-local exit.
4210 (Fbase64_encode_string): Ditto.
4211 (Fbase64_decode_region): Ditto.
4212 (Fbase64_decode_string): Ditto.
4213 (STORE_BYTE): New macro.
4214 (base64_decode_1): Use it.
4216 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4218 * fns.c (base64_value_to_char): Base64 stuff.
4220 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4222 * editfns.c (Fbuffer_substring): New function.
4224 * lisp.h: Declare make_string_from_buffer_no_extents().
4226 * insdel.c (make_string_from_buffer_1): New function.
4227 (make_string_from_buffer_no_extents): Ditto.
4229 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4231 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4232 sound work on AIX with OSS installed. Linux should still work.
4234 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4236 * config.h.in: name change for cygwin/version.h
4238 * configure.in: check for cygwin/version.h now.
4240 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4241 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4242 move cygwin32/version.h to cygwin/version.h
4244 1998-11-03 Olivier Galibert <galibert@pobox.com>
4246 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4249 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4251 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4252 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4253 enable BROKEN_SIGIO under b20 to make QUIT work.
4255 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4257 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4258 to fit within the constraints of the screen size. I.e. make the
4259 frame small enough to fit and move it if some of it will be
4262 1998-10-19 Greg Klanderman <greg@alphatech.com>
4264 * dired.c: conditionalize inclusion of user-name-completion
4265 primitives on non-Windows NT. The needed functions don't exist on NT.
4267 1998-11-24 SL Baur <steve@altair.xemacs.org>
4269 * gifrlib.h: Clean up types for 64 bit compile.
4270 * dgif_lib.c (DGifInitRead): Ditto.
4271 (MakeSavedImage): Ditto.
4272 * emacs.c (decode_path): Ditto.
4273 From Steve Carney <carney@pa.dec.com>
4275 1998-10-16 William M. Perry <wmperry@aventail.com>
4277 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4278 (cehckboxes instead of checkboxes).
4280 1998-10-15 SL Baur <steve@altair.xemacs.org>
4282 * XEmacs 21.2-beta3 is released.
4284 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4286 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4287 gnuclient. Otherwise, we run xemacs as we always did. This gets
4288 rid of the annoying DOS window when running gnuclient.
4290 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4292 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4293 HAVE_MS_WINDOWS typo.
4295 1998-10-13 SL Baur <steve@altair.xemacs.org>
4297 * process-unix.c (unix_send_process): Set closed flag on writable
4298 pipe after SIGPIPE is received and before we call deactivate_process.
4300 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4302 * window.c (Fset_window_start): respect narrowing when
4303 checking wheter start is at the beginning of a line.
4304 (Fset_window_buffer): Ditto
4305 Fixes repeatable crash in VM.
4307 1998-10-09 SL Baur <steve@altair.xemacs.org>
4309 * window.c (specifier_vars_of_window): Set default vertical
4310 divider width to 1 on ttys.
4312 1998-10-08 Martin Buchholz <martin@xemacs.org>
4317 Add <stddef.h> to get ptrdiff_t declaration
4319 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4321 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4322 is used for Motif or Lucid scrollbars under X.
4324 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4326 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4329 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4331 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4333 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4335 * s/cygwin32.h: more cygwin b20 reorganisation.
4337 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4339 * nas.c: Added necessary support functions to be able to handle
4340 WAVE files in memory, just like the support for SND files in
4343 1998-09-30 SL Baur <steve@altair.xemacs.org>
4345 * callproc.c (child_setup): Fix spelling typo.
4347 1998-09-29 SL Baur <steve@altair.xemacs.org>
4349 * XEmacs 21.2-beta2 is released.
4351 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4353 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4354 to prevent memory corruption in the case of jumping out of a series of
4355 nested match patterns. This is a rather brute force approach, though.
4357 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4359 * config.h.in: ditto.
4361 * s/cygwin32.h: rearrange declarations to cope with cygwin
4362 b20. Include cygwin32/version.h if it exists.
4364 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4366 * device-msw.c (mswindows_init_device): Call new
4367 mswindows_enumerate_fonts() function in objects-msw.c instead
4368 of font_enum_callback_1() to enumerate fonts.
4370 font_enum_callback_1() and _2() moved to objects-msw.c.
4372 * faces.c (complex_vars_of_faces): Make the mswindows default
4373 face font fully specified and provide some fallbacks.
4375 * objects-msw.c: font_enum_callback_1() and _2() moved here
4376 from objects-msw.c. Obtain the enumerated font's character
4377 sets by table lookup instead of using the locale-specific
4378 string provided by Windows.
4380 New public non-method mswindows_enumerate_fonts() that fills
4381 in the supplied mswindows device's font list.
4383 mswindows_initialize_font_instance: Use the supplied name
4384 variable instead of f->name when signalling errors. Match font
4385 weights and character sets using lookup tables which handle
4386 spaces instead of by frobbing.
4388 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4390 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4391 on the size of code fragments passed to run_in_other_process.
4393 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4394 the amount of memory to allocate in the other process.
4396 Removed sigkill_code_end(), sigint_code_end() and
4397 sig_enable_code_end() since they are now redundant.
4399 send_signal() and enable_child_signals(): Don't try to work
4400 out the end of the code fragments passed to
4401 run_in_other_process()
4403 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4405 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4408 * src/unexelf.c: Partially synched with FSF's 20.3.
4410 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4412 * insdel.c (signal_after_change): Map across indirect buffers
4413 here, and not in the upper-level functions.
4414 (signal_first_change): Don't check for Armageddon.
4415 (signal_before_change): Map across indirect buffers here.
4416 (prepare_to_modify_buffer): ...and here.
4418 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4420 * insdel.c (signal_after_change): Add return value.
4421 (buffer_insert_string_1): Use it.
4422 (buffer_delete_range): Ditto.
4423 (buffer_replace_char): Ditto.
4424 (cancel_multiple_change): Map the indirect buffers.
4426 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4428 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4429 (uninit_buffer_text): Ditto.
4431 * buffer.c (Fmake_indirect_buffer): Implement stricter
4434 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4436 * insdel.c (change_function_restore): Reverse order of
4437 function-call and assignment.
4438 (first_change_hook_restore): Ditto.
4440 * extents.c (mark_extent_auxiliary): Mark them.
4441 (Fset_extent_property): Set them.
4442 (Fextent_property): Get them.
4443 (Fextent_properties): Ditto.
4444 (vars_of_extents): Set their default.
4446 * extents.h (struct extent_auxiliary): Add before_change_functions
4447 and after_change_functions.
4449 * insdel.c (signal_before_change): Use it.
4450 (signal_after_change): Ditto.
4452 * extents.c (report_extent_modification): New function.
4454 * insdel.c (signal_before_change): Don't check for Armageddon.
4455 (signal_after_change): Ditto.
4457 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4459 * redisplay.c (redisplay_window): make sure a new starting point
4460 is chosen if it somehow got moved from the beginning of the line
4461 -- this can happen because Fwiden was called recently.
4463 * window.c (Fset_window_start): set start_at_line_beg correctly
4464 (Fset_window_buffer): Ditto
4466 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4468 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4469 (uninit_buffer_text): Ditto.
4471 * buffer.c (Fmake_indirect_buffer): Implement stricter
4474 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4476 * emacs.c (main_1): Removed references to *vars_of_filelock.
4478 * lisp.h: Added Fsystem_name.
4480 * filelock.c: Replaced by version from FSF 20.2. Now implements
4481 locking by using symlinks which is NFS safe. However keep the
4482 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4483 version (and of course use ansi C, acessor macros, etc).
4485 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4487 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4488 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4489 in init_signals_very_early. However these should not be passed
4490 on to children attached to the new pty.
4492 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4494 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4496 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4498 * fileio.c (file-name-directory, file_name_as_directory):
4499 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4501 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4503 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4505 * ralloc.c: uncomment __morecore.
4507 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4509 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4510 WriteFile() to fix a winsock 1.x bug on Win95.
4512 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4514 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4516 (x_event_to_emacs_event): Ditto.
4517 (emacs_Xt_handle_focus_event): Ditto.
4518 (emacs_Xt_handle_magic_event): Ditto.
4520 * console-x.h (struct x_device): New flag being_deleted.
4521 (DEVICE_X_BEING_DELETED): New macro.
4523 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4524 returning. Before doing that, set the being_deleted flag on the
4527 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4529 * device-x.c (x-seppuku-on-epipe): Removed.
4531 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4533 * frame-x.c (x_delete_frame): Flush the X output buffer after
4534 calling XtDestroyWidget to ensure that the windows are really
4537 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4539 * menubar-x.c (my_run_hook): New unused function.
4540 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4541 since we ignore the results of the contained functions anyway.
4543 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4545 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4546 interlaced GIF files that are smaller than 4 lines high...
4548 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4550 * buffer.c (map_over_sharing_buffers): Deleted.
4552 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4554 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4557 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4559 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4561 (buffer_delete_range): Ditto.
4563 * marker.c (init_buffer_markers): Set point-marker to the value of
4564 point in an indirect buffer.
4566 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4568 * undo.c (undo_prelude): Test last-undo-buffer against base
4571 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4573 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4575 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4577 * insdel.c (init_buffer_text): Initialize it here.
4579 * line-number.c: Address line_number_cache through buffer->text.
4581 * buffer.c (mark_buffer): Mark line number cache.
4583 * bufslots.h (line_number_cache): Move to struct buffer_text.
4585 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4586 across the children buffers.
4587 (buffer_delete_range): Ditto.
4588 (buffer_replace_char): Ditto.
4592 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4594 * buffer.c (Fmake_indirect_buffer): Uncomment.
4596 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4598 * macros.c (Fend_kbd_macro): Remove trailing period from error
4600 (Fexecute_kbd_macro): Ditto.
4602 1998-08-21 Greg Klanderman <greg@alphatech.com>
4604 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4605 (Fuser_name_completion_1): new function to return uniqueness
4606 indication in addition to the user name completion.
4607 (user_name_completion): change type of `uniq' argument.
4609 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4611 * lread.c (vars_of_lread): Removed `source-directory' variable.
4613 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4615 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4618 1998-08-19 SL Baur <steve@altair.xemacs.org>
4620 * dired.c (vars_of_dired): Fix misapplied patch.
4622 1998-08-16 Martin Buchholz <martin@xemacs.org>
4624 * fns.c (Fremrassq, remrassq_no_quit):
4625 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4627 1998-07-17 Didier Verna <verna@inf.enst.fr>
4629 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4630 style as foreground GC for faces that have the `dim' property.
4631 (x_output_string): when the `dim' face property is set,
4632 ensure the gray pixmap has been created, and get a proper
4633 foreground GC to draw the text.
4635 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4637 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4638 Manually track the state of the left and right Ctrl and Alt
4641 1998-08-07 Matt Stupple <matts@tibco.com>
4643 * ntproc.c: don't wait on char_consumed at thread entry.
4644 Additionally, to get the 'process' marked as finished, ensure
4645 that the CHILD_ACTIVE macro returns false, so before exiting
4646 close char_avail and set it to NULL, and close other handles
4647 to reduce handle leak problems.
4649 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4651 * menubar-msw.c (displayable_menu_item): take account of menu
4652 depth when deciding whether to try to display accelerators.
4654 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4656 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4659 * glyphs-msw.c: fix a couple of potential handle leaks.
4661 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4663 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4664 *decoding ONLY* back into the core.
4665 * glyphs-eimage.c: Change referenced header file for GIF
4666 reading to point to the incore version.
4668 1998-07-20 Martin Buchholz <martin@xemacs.org>
4670 * casefiddle.c (casify_object):
4671 Change algorithm from O(N**2) to O(N).
4675 1998-07-22 Greg Klanderman <greg@alphatech.com>
4677 * dired.c (file_name_completion_unwind): don't leak the cons.
4679 1998-07-20 Greg Klanderman <greg@alphatech.com>
4681 * dired.c (Fuser_name_completion): new function.
4682 (Fuser_name_all_completions): new function.
4683 (user_name_completion): new function.
4684 (syms_of_dired): 2 new DEFSUBRs.
4685 (vars_of_dired): initialize user name cache vars.
4687 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4689 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4690 colors taken from the default face. Also correct a thinko in
4691 transparency (not alpha) handling.
4693 1998-07-23 Martin Buchholz <martin@xemacs.org>
4695 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4696 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4697 * lread.c (Fload_internal): Be very careful with printfs of
4699 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4702 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4704 * callint.c (Fcall_interactively): GCPRO prompt string before
4705 passing it to Fread_key_sequence
4707 1998-07-27 SL Baur <steve@altair.xemacs.org>
4709 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4710 Vvertical_divider_map.
4712 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4713 Qnil or 0, none were initialized prior to this change.
4715 Rename misnamed `V' prefixed integer variables:
4716 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4717 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4718 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4719 Vcanna_ichiran_revLen.
4721 Rename misnamed `V' prefixed integer variables and initialize
4722 properly in the vars_of routine.
4723 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4724 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4725 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4726 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4727 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4728 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4729 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4730 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4731 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4732 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4733 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4734 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4735 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4736 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4737 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4738 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4739 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4740 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4741 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4742 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4743 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4744 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4745 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4746 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4747 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4748 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4749 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4750 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4751 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4752 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4753 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4754 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4755 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4756 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4757 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4758 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4759 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4760 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4761 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4762 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4763 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4764 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4765 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4766 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4767 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4768 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4770 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4772 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4773 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4774 keys thus no longer considering all keysyms on a key.
4776 1998-07-19 SL Baur <steve@altair.xemacs.org>
4778 * XEmacs 21.2-beta1 is released.
4780 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4782 * eldap.c (Fldap_search_internal): When converting the list of
4783 attributes to search Copy the final 0 from Lisp strings to C
4785 Check base, not Vldap_default_base as a a string
4787 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4789 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4791 * unexnt.c: Unconditionally define bss_start and bss_size, and
4792 ensure that they don't go in the .bss section.
4794 1998-07-17 Olivier Galibert <galibert@pobox.com>
4796 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4797 byte order is dependant of the local byte order).
4798 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4800 1998-07-18 SL Baur <steve@altair.xemacs.org>
4802 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4803 Qmswindows_resource.
4804 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4806 1998-07-12 SL Baur <steve@altair.xemacs.org>
4808 * general.c (syms_of_general): Add defsymbol for Qresource.
4810 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4811 Qmswindows_resource.
4812 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4813 (mswindows_resource_validate): Rename.
4814 (mswindows_resource_normalize): Rename.
4815 (mswindows_resource_possible_dest_types): Rename.
4816 (mswindows_resource_instantiate): Rename.
4817 (image_instantiator_format_create_glyphs_mswindows): Replace
4818 `resource' with `mswindows.resource'.
4820 * XEmacs 21.0-pre5 is released.
4822 1998-07-10 SL Baur <steve@altair.xemacs.org>
4824 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4825 server type in environment.
4826 Use alloca-ed strings instead of tiny fixed size ones.
4828 1998-07-09 SL Baur <steve@altair.xemacs.org>
4830 * XEmacs 21.0-pre4 is released.
4832 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4834 * fileio.c: (expand_file_name): under win32: Don't treat names
4835 as UNC names if a drive letter has been specified. If a drive
4836 has been specified, strip out extra directory-seperators that
4837 reportedly cause problems under Win95.
4839 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4841 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4842 MSVC >= 5.0. Put emacs init and zero-init data in a special
4843 section of the executable when this is defined.
4845 * unexnt.c, ntheap.h:
4846 Removed unused find_section() and get_section_size().
4849 Fix up the executable's checksum after dumping otherwise the
4851 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4852 zero-init data separately from init data. Dump emacs data
4853 into a special section of the executable.
4854 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4855 my_ebss instead of up to the end of bss.
4857 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4859 * filelock.c: Removed Vconfigure_lock_directory - already
4862 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4863 defined in frame.c and general.c respectively.
4865 * glyphs-msw.c: Removed Qresource - already defined in
4868 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4870 * eldap.c (Fldap_search_internal): Docstring fixes
4872 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4874 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4875 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4876 EMACSPACKAGEPATH and INFOPATH variables.
4877 Removed unused get_emacs_configuration function.
4879 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4880 it is now defined at build-time by the makefile.
4882 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4884 * fileio.c: (expand_file_name): under win32: Don't treat names as
4885 UNC names if a drive letter has been specified. If a drive has
4886 been specified, strip out extra directory-seperators that
4887 reportedly cause problems under Win95.
4889 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4891 * faces.c (complex_vars_of_faces): for the gui-element face don't
4892 fallback to the default face, instead provide reasonable default
4893 fallbacks that were previously hardcoded elsewhere.
4895 1998-07-06 Olivier Galibert <galibert@pobox.com>
4897 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4898 when the X server endianness is different than the client's one.
4900 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4902 * eval.c (run_hook_with_args_in_buffer): Check
4903 default (non-buffer-local) value of hook for
4904 nil before treating it as a function. Don't initialize
4905 the `globals' variable twice.
4907 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4909 * fileio.c: Don't do directory seperator canonicalisation in
4910 substitute-in-file-name because we don't know that the
4911 filename refers to a local file.
4913 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4915 * process-nt.c (nt_create_process): Try appending the standard
4916 executable file extensions to the filename if none supplied.
4918 1998-06-29 SL Baur <steve@altair.xemacs.org>
4920 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4922 From Keisuke Mori <ksk@ntts.com>
4924 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4926 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4927 images if we have masks. This handles the xbm case (have masks)
4928 and avoids overuse of resources in the xpm case (generally no masks).
4929 Don't output small toolbars.
4931 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4933 * eval.c (run_hook_with_args_in_buffer): Don't treat
4934 the default value of a buffer local hook as a list of
4935 hooks unless it is both a cons and the car of that cons
4938 1998-06-29 SL Baur <steve@altair.xemacs.org>
4940 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4941 * process-unix.c: Ditto.
4942 * mule-coding.h: Ditto.
4943 * mule-coding.c: Ditto.
4944 * mule-charset.c: Ditto.
4945 * mule-charset.h: Ditto.
4946 * file-coding.c: Ditto.
4947 * file-coding.h: Ditto.
4949 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4951 * event-msw.c: Guard against recursion when freeing
4952 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4954 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4955 Call ShowWindow twice in init_frame_3 to get round runemacs
4958 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4960 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4962 * winslots.h: Rename.
4964 * window.c (specifier_vars_of_window): Renamed
4965 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4966 as suggested by Ben Wing.
4967 (specifier_vars_of_window): Fix docstrings.
4969 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4971 * unexaix.c: Line number information works correctly again.
4973 1998-06-22 Olivier Galibert <galibert@pobox.com>
4975 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4977 1998-06-21 Martin Buchholz <martin@xemacs.org>
4979 * editfns.c (get_home_directory): ANSIfy.
4980 XEmacs is compilable under C *and* C++.
4981 It's XEmacs, not Xemacs!
4983 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4985 * console-msw.h: added a list of fonts to device data.
4987 * device-msw.c: enumerate list of available fonts in
4988 mswindows_init_device. Free list in mswindows_delete_device.
4990 * objects-msw.c: Added helper function match_font used by
4991 mswindows_initialize_font_instance and mswindows_list_fonts.
4992 Allow a charset to be specified in a font string, even if
4993 previous fields havn't been specified.
4995 1998-06-23 Greg Klanderman <greg@alphatech.com>
4997 * indent.c (column_at_point): column cache bugfix.
4998 Set last_known_column_point to the buffer position for
4999 which the column was requested, not buffer's point.
5001 * redisplay.c (decode_mode_spec): for current-column, show
5002 window's point's column, not buffer's point's column.
5004 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5006 * menubar-msw.c (mswindows_handle_wm_command): use
5007 enqueue_misc_user event rather than
5008 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5011 * console-msw.h: declare mswindows_enqueue_magic_event.
5013 * event-msw.c (mswindows_enqueue_magic_event): make global.
5015 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5017 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5018 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5019 (add_position_to_cache): Use EMACS_INT instead of int.
5021 1998-06-21 Olivier Galibert <galibert@pobox.com>
5023 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5024 suitable for an int used as a boolean (btw, C sucks.).
5026 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5028 * object-msw.c: remove warnings.
5030 * device-msw.c: #define wrongly named cygwin structure elements.
5032 * s/cygwin32.h: define DEMI_BOLD
5034 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5036 * redisplay-msw.c: new function mswindows_apply_face_effects.
5037 This is called by output_string and output_cursor to display
5038 underline and strikeout on faces.
5040 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5042 * console-msw.h: added a list of fonts to device data.
5044 * device-msw.c: enumerate list of available fonts in
5045 mswindows_init_device. Free list in mswindows_delete_device.
5047 * objects-msw.c: Added helper function match_font used by
5048 mswindows_initialize_font_instance and mswindows_list_fonts.
5049 Allow a charset to be specified in a font string, even if
5050 previous fields havn't been specified.
5052 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5055 Removed compilation warnings from mswindows_string_to_color.
5056 mswindows_list_fonts returns a more general bogus font.
5057 New lisp-visible function mswindows-color-list.
5059 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5061 * editfns.c (Fuser_login_name): Modify to user new function
5063 (user_login_name): C only function to avoid Lisp object overhead
5064 Returns "unknown" instead of nil in Cygwin environment
5066 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5067 equivalent for current user in Cygwin environment. Use new
5068 function user_login_name to get username.
5070 * lisp.h: Declare user_login_name
5072 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5074 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5076 Some other insignificant nitpicks.
5078 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5080 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5081 creating the image list and make sure he bk color is transparent.
5083 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5085 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5086 completed_timeouts. The timer could have expired.
5088 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5090 * console-msw.h: move XEMACS_RECT_WH inside frame
5091 parameters. define macors to access it.
5093 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5094 parameter to intialise desired sizing. (mswindows_init_frame_2):
5095 enable and size the frame to something sensible when we get
5096 here. (mswindows_set_frame_properites): use new
5097 mswindows_size_frame_internal function and size frame if frame
5098 parameters not just if init is finished - WM_SIZE happens too
5099 early for some specs. (mswindows_size_frame_internal): new
5100 function abstracted from mswindows_set_frame_properties.
5101 (Vmswindows_use_system_frame_size_defaults):
5102 new variable controls whether to allow the system to pick frame
5103 size defaults, defaults to nil.
5105 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5106 than duplicated code.
5108 1998-06-15 Colin Rafferty <colin@xemacs.org>
5110 * Makefile.in.in: Made EXTW_LINK expand properly.
5112 1998-06-12 Martin Buchholz <martin@xemacs.org>
5114 * redisplay.c (vars_of_redisplay): default value of
5115 column-number-start-at-one should be NIL!
5117 1998-06-11 Martin Buchholz <martin@xemacs.org>
5120 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5122 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5124 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5125 build_string to avoid crashes under Mule.
5127 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5129 * ntplay.c (play_sound_data_1): don't delete the sound data until
5130 the next sound is played and the previous one finished.
5132 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5134 * fileio.c (directory-sep-char): Escape backslashes.
5136 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5138 * event-stream.c: Fix docstring reference.
5140 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5142 * alloc.c (make_float): Remove useless initialization of `next'
5144 (make_pure_float): Ditto.
5146 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5148 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5150 * fileio.c (Fmake_directory_internal): Remove conditionals
5151 on WINDOWSNT when calling mkdir.
5153 * ntproc.c: Deleted the following unused functions:
5154 register_child, reap_subprocess, sys_wait.
5156 * nt.c (sys_rename): Ifzeroed this implementation.
5157 Deleted the following unused functions:
5158 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5159 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5160 sys_read, sys_write.
5161 Merger sys_fopen and sys_open with sysdep.c implementation.
5163 * sysdep.c: Removed MS-DOS code.
5164 (sys_rename): Deal with Microsoft rename weirdness.
5165 (sys_open): Implemented for Windows.
5169 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5171 * buffer.c (complex_vars_of_buffer): Removed %t description from
5174 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5176 * scrollbar-msw.c: initialize the cbSize element of the
5177 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5178 to ignore the value of cbSize, but Win95 (and I presume Win98)
5179 appear to want it set to sizeof(SCROLLINFO).
5181 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5183 * event-stream.c: Defined Qcancel_mode_internal.
5184 (syms_of_event_stream): defsymbol'ed it.
5186 * events.h: Externed it.
5188 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5190 1998-06-04 Oliver Graf <ograf@fga.de>
5192 * frame-x.c (x_cde_destroy_callback): free the data
5193 (cde-start-drag-internal) corrected root position, 21.1 needs this
5194 hardcoded in Button events
5195 (offix-start-drag-internal) corrected root position
5197 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5199 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5202 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5204 * dialog-msw.c (button_width): Removed `inline' from the function
5207 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5209 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5210 Note that adding this flag to subsequent frames causes problems.
5212 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5214 * glyphs-eimage.c (png_instantiate) move 'struct
5215 png_memory_storage tbr' out of nested block to avoid dangling
5218 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5221 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5222 inherits from gui-element.
5224 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5225 with existing code, generate masks correctly.
5227 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5229 * glyphs-eimage.c: Changed included header for gifs to use
5230 Gifreader instead of giflib.
5232 * glyphs-x.c: removed the image-related functions that were
5233 moved into glyphs-eimage.
5235 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5237 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5238 if built without X Windows support.
5240 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5242 * fns.c (Fconcat): Synch docstring with new reality.
5244 1998-06-03 SL Baur <steve@altair.xemacs.org>
5246 * frame.c: Remove reference to msdos.h (which is going away).
5247 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5249 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5251 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5255 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5257 * events.h: Fixed commentary about misc-user scrollbar events.
5259 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5260 object as an event channel, instead of window object.
5261 (x_update_horizontal_scrollbar_callback): Ditto.
5263 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5265 * ntplay.c (play_sound_data_1) new function. convert alloca data
5266 to malloc if necessary.
5267 (play_sound_file): if the file is not in our path then convert to
5270 1998-06-01 SL Baur <steve@altair.xemacs.org>
5272 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5273 * msdos.c (Frecent_doskeys): Ditto.
5275 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5276 Suggested by Reggie Perry <perry@zso.dec.com>
5278 * buffer.h: Eliminate size in declaration.
5280 1998-06-01 Olivier Galibert <galibert@pobox.com>
5282 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5284 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5286 * gui.c (gui_item_init): Changed the default value for config member
5287 from Qunbound to Qnil.
5289 1998-06-01 Greg Klanderman <greg@alphatech.com>
5291 * indent.c (vmotion_pixels): Don't #define abs().
5293 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5295 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5298 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5300 * glyphs.h: add xbm declarations.
5302 * console.h: add xbm_instantiate_method device method.
5304 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5305 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5306 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5307 locate_pixmap_file device method and read_bitmap_data_from_file
5308 instead of XmuReadBitmapDataFromFile.
5309 (xbm_instatntiate): make a device method.
5311 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5312 new function that just calls XmuReadBitmapDataFromFile.
5313 (x_xbm_instatntiate): device method from xbm_instantiate.
5315 * glyphs-msw.c (read_bitmap_data) (NextInt)
5316 (read_bitmap_data_from_file): new functions copied from Xmu
5318 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5319 inline data to an mswindows bitmap.
5320 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5321 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5324 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5326 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5327 `modeline-visible-p'.
5328 Declared specifier lisp variables at the beginning oh the file
5331 * procimpl.h (struct process_methods): Changed semantics of
5332 create_process method so it accepts lisp strings instead of
5335 * process.c (Fstart_process_internal): Moved building of
5336 unix style argv from here to process-unix.c, ...
5338 * process-unix.c (unix_create_process): ... right here.
5340 * process-nt.c (nt_create_process): Changed this function to
5341 support new semantics, so avoided a GC problem.
5343 * events.c (Fmake_event): Document misc-user events properties.
5344 (Fmake_event): Do not allow arbitrary objects for channel property
5345 of misc-user events.
5346 (Fmake_event): Change misc-user event validation: it is function
5347 which is required, not button.
5349 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5351 (mswindows_enqueue_misc_user_event): Added function.
5352 (mswindows_bump_queue): Removed function.
5353 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5354 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5355 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5356 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5357 really nothing, which is my personal favorite thing.
5359 * console-msw.h: Removed prototype for mswindows_bump_queue().
5360 Added prototype for mswindows_enqueue_misc_user_event().
5362 * menubar-msw.c (mswindows_handle_wm_command): Use
5363 mswindows_enqueue_misc_user_event().
5365 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5367 * dialog-msw.c (dialog_proc): Ditto.
5369 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5370 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5371 user events channel.
5373 1998-05-29 Greg Klanderman <greg@alphatech.com>
5375 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5376 incorrect semantics of vmotion_pixels which has been fixed. don't
5377 use it anymore as it can't easily be used.
5379 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5380 the motion was reported incorrectly if you tried to go past end of
5383 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5385 * toolbar.h: Removed misleading commentary, as Martin suggested.
5387 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5389 * lisp.h: Extern Qactivate_menubar_hook.
5391 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5394 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5396 * glyphs-msw.c: use BPLINE macro.
5398 * select-msw.c (mswindows-selection-exists-p)
5399 (mswindows-delete-selection): doc string fixes.
5401 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5402 unpressable. warning elimination.
5404 1998-05-28 Martin Buchholz <martin@xemacs.org>
5406 * alloc.c (dbg_constants):
5409 Remove toolbar_data debugging code, since that lrecord has
5412 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5414 * alloc.c: zap cached value of (user-home-directory), so that
5417 * buffer.c: From init_buffer(), separated out code that
5418 determined the initial directory for the *scratch* buffer, and
5419 put them into a function called "init_initial_directory()".
5420 The initial directory is now available as a global "char *"
5421 called initial_directory.
5423 * buffer.h: Added extern entries for initial_directory[] and
5424 init_initial_directory().
5426 * editfns.c: added new elisp function "user-home-directory",
5427 which basically returns getenv("HOME"), but attempts to use
5428 other values if $HOME isn't set.This may have to be tweaked in
5429 the future as, under Unix, "/" is used if $HOME isn't set (this
5430 probably should be set to the current directory). To support
5431 this, a new C function, "get_home_directory()", now exists,
5432 which returns the "home directory", as a "char *" string.
5434 * emacs.c: Rearrange NT initialization order so that
5435 environment/registry variables will be properly entered into
5436 Vprocess_enviroment.
5438 * fileio.c: replaced egetenv("HOME") with calls to the new
5439 get_home_directory().
5441 * lisp.h: Added function prototypes for uncache_home_directory()
5442 and get_home_directory(), along with lisp prototypes for
5443 Fuser_home_directory() and friends.
5445 * nt.c: replaced getenv("HOME") with calls to the new
5446 get_home_directory().
5448 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5449 warnings about getcwd(), etc. not having prototypes.
5451 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5453 * process-nt.c (send_signal): Emulate SIGHUP.
5454 (validate_signal_number): Ditto.
5456 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5457 remove MOD_SHIFT from ASCII characters.
5458 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5461 1998-05-24 Oliver Graf <ograf@fga.de>
5463 * frame-x.c (cde-start-drag-internal): added filename and multi-
5465 (x_cde_convert_callback) dito
5467 1998-05-26 Oliver Graf <ograf@fga.de>
5469 * frame-x.c: include event-mod.h also with CDE
5470 (x_cde_convert_callback) made the thing working
5471 (cde-start-drag-internal) also debugging
5473 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5480 - add __OpenBSD__ where __NetBSD__ was found.
5481 - TODO: replace platform-specific conditional compilation by
5482 feature tests in configure.in.
5484 1998-05-15 Greg Klanderman <greg@alphatech.com>
5486 * window.c (Fwindow_displayed_text_pixel_height): New function.
5487 (syms_of_window): DEFSUBR it.
5489 * indent.c (Fvertical_motion_pixels): New function - request
5491 (vmotion_pixels): helper.
5492 (syms_of_indent): DEFSUBR.
5493 * lisp.h: declaration for vmotion_pixels().
5495 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5496 to request returning motion in pixels.
5497 (Fvertical_motion_pixels): Remove, functionality merged into
5499 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5500 (Fmove_to_window_line): ditto.
5501 * lisp.h: Change declaration for Fvertical_motion.
5503 * window.c: rename window-text-pixel-{height,width,edges} to
5504 window-text-area-pixel-*.
5506 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5508 * tooltalk.c (vars_of_tooltalk) added staticpro for
5509 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5511 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5513 * faces.c: create a new 3d_object_face, make modeline and
5514 vertical_divider faces fallback to this rather than the default.
5516 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5518 * s/cygwin32.h: define charsets for cygwin.
5520 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5522 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5523 and coordinates. resize bitmaps if we have already settled on a
5526 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5528 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5530 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5532 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5536 * gui-x.c (popup_selection_callback): Ditto.
5538 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5540 * gui.c (get_callback): Renamed to get_gui_callback.
5542 1998-05-17 Martin Buchholz <martin@xemacs.org>
5544 * glyphs.h: order rearrangement.
5546 * device-tty.c (tty_asynch_device_change): Warning suppression.
5547 * device-x.c (x_device_system_metrics): Warning suppression.
5548 Make Doc strings consistent with coding standards.
5550 1998-05-24 Martin Buchholz <martin@xemacs.org>
5552 * general.c: multiple definition of `Qicon'. general.c seems
5553 like a good home for Qicon.
5555 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5557 * This patch is to fix compilation warnings under Windows.
5559 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5560 Added prototypes for FSF inherited functions, with which XEmacs is
5561 sprinkled thoroughly.
5562 Removed some #if 0 code. Bracketed some more definitions, probably
5563 related to Visual C versions prior to 4 (we do not support them).
5565 * sysfloat.h (logb): Finally, get logb() prototyped.
5567 * sysfile.h: Added Windows specific includes.
5568 Removed old Windows specific code bracketed with #if 0.
5570 * sysdep.h: Added prototype for xrealpath().
5572 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5574 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5575 vars_of_dired_mswindows and init_ntproc (Grrr).
5577 * realpath.c: Added Windows specific include files.
5578 (xrealpath): Conditionalized declaration of some auto variables on
5579 S_IFLNK, to avoid warnings.
5581 * ntproc.c: Disabled some compiler warnings. This file is going to
5582 die, so I have not cleaned it up much.
5583 (set_process_dir): Const parameter.
5584 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5585 (Fwin32_long_file_name): Ditto.
5586 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5589 * nt.h: Added prototypes for set_process_dir and convert_time.
5591 * nt.c: More include files.
5592 (getpwnam): Consted char* argument.
5593 (get_emacs_configuration): Const return value.
5594 (opendir): Const argument.
5595 (stat): Casted converstion long->short.
5596 (stat): Removed ad hoc and questionable support for non-MSC compile.
5597 (sys_pipe): Removed unused auto variable.
5598 (_sys_read_ahead): Removed calls to DebPrint.
5599 (sys_read): Ditto, in 2 places.
5600 (term_ntproc): Added unused int parameter to signal handler, to
5601 avoid a warning when compiling a call to signal().
5602 (msw_sigset): Properly return old signandler or NULL instead of void.
5604 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5606 * gmalloc.c (morecore): Ditto.
5607 (_free_internal): Ditto.
5609 * lread.c (parse_integer): Ditto.
5611 * dired-msw.c: Added several include files.
5613 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5614 of Compilers to Shut Up.
5616 * callproc.c: Added #includes to suppress warnings under Windows.
5617 (init_callproc): Removed #if0'ed code and unused variables.
5619 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5621 * device-msw.c (mswindows_device_system_metrics): do planes in a
5622 way consistent with X.
5624 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5625 use SetPixel, use DIBits functions.
5626 (xpm_to_eimage): frob colors more closely like xpm deos.
5628 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5629 to be closer to X version.
5631 * event-msw.c: use tooltip string directly.
5633 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5635 * objects-msw.c: frob rgb colors that only Kyle uses.
5637 * dialog-msw.c (button_width): INLINE -> inline.
5639 1998-05-23 SL Baur <steve@altair.xemacs.org>
5641 * getloadavg.c (getloadavg): Fix typo.
5643 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5645 * objects-msw.c (mswindows_initialize_font_instance): Added support
5646 for font character sets.
5647 Replaced 'XXX' with '####' in comments throughout the file.
5649 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5651 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5652 console_type_create_dialog_mswindows(), to initialize Windows dialog
5655 * symsinit.h: Prototyped the above functions.
5657 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5658 checks to dialog.c...
5660 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5661 device must support dialog boxes, and the descriptor must supply at
5664 * dialog-msw.c: New file, dialogs for Windows.
5666 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5668 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5669 (Fldap_search_internal): Removed unused variable `err'
5671 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5674 1998-05-17 Martin Buchholz <martin@xemacs.org>
5676 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5677 defined. Therefore there is no need to handle the case when
5678 HAVE_LDAP is undefined. Similarily, there is no reason to have
5679 any code wrapped within `#ifdef emacs', since this code is only
5680 useful within an emacs. This simplifies the code significantly.
5682 * inline.c: Include eldap.h only if HAVE_LDAP.
5683 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5686 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5688 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5689 printing dump stats when building without DEBUG_XEMACS.
5690 (dump_bss_and_heap): Ditto.
5692 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5694 * gnuclient.c: don't suppress window system if there is no display
5695 and we are running under mswindows. send 'mswindows device type if
5696 we are in this situation.
5698 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5701 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5703 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5706 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5708 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5709 {top,bottom}-{left,right} values in addition to
5710 {top,bottom}_{left,right}.
5712 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5714 * fileio.c (Fmake_temp_name): Remove unreached code.
5716 * process-nt.c (validate_signal_number): Use
5717 signal_simple_error().
5719 1998-05-19 Martin Buchholz <martin@xemacs.org>
5722 * sound.c (vars_of_sound):
5723 * sysdep.c (reset_sigio_on_device):
5724 * window.c (window_bottom_gutter_height):
5725 unexhp9k800.c:258: warning: implicit declaration of function
5726 `calculate_checksum'
5727 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5728 sysdep.c:1012: warning: unused variable `owner'
5729 window.c:993: warning: `window_right_toolbar_width' defined but not used
5731 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5733 * glyphs-msw.c (mswindows_create_resized_mask)
5734 (mswindows_create_resized_bitmap): new funnctions split out from
5735 mswindows_resize_dibitmap_instance.
5737 * glyphs-msw.h: declare new resize functions.
5739 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5740 functions so that the original bitmaps are preserved.
5742 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5744 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5745 color if we are trying to output 0 depth bg pixmap.
5747 * scrollbar-msw.c: warning elimination.
5749 1998-05-18 Martin Buchholz <martin@xemacs.org>
5751 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5752 directives in column 1.
5754 * search.c (skip_chars): Avoid using xzero with arrays, since some
5755 compilers get confused by the construct &array.
5757 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5760 * objects-msw.c: Changed the charset value for a new font from
5761 "don't care" to "ansi".
5763 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5765 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5767 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5768 modifier on control chars.
5769 Use IsCharAlpha() instead of isaplha().
5771 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5773 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5775 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5777 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5778 charset when creating font.
5779 (mswindows_initialize_color_instance): Do not create brush along
5781 (mswindows_finalize_color_instance): Do not delete it then.
5783 * objects-msw.h (struct mswindows_color_instance_data): Removed
5784 brush slot, and corresponding accessor macro.
5786 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5788 * toolbar.c: Removed toolbar_data lrecord implementation.
5789 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5790 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5791 (compute_frame_toolbar_buttons): Ditto.
5792 (CHECK_TOOLBAR): Ditto.
5793 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5794 (update_frame_toolbars): Do not check for changed buffer
5795 here. Toolbar information is provided by cached specs in
5796 windows. The check for buffer is eliminated becuase toolbars are
5797 marked changed in set_frame_selected_window() in frame.c
5798 Added check for changed toolbars geometry.
5799 (compute_frame_toolbars_data): Removed unused second parameter;
5800 Adjusted callers of this static function throughout the file.
5801 (init_frame_toolbars): Initialize current_toolbar_size.
5802 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5803 what is its current expansion, for clarity.
5804 (init_frame_toolbars): Ditto.
5805 (init_device_toolbars): Ditto.
5806 (init_global_toolbars): Ditto.
5808 * toolbar.h: Removed definition of toolbar_data lrecord.
5809 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5810 FRAME_CURRENT_TOOLBAR_SIZE.
5811 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5813 * toolbar-x.c (x_output_toolbar): The same change as in
5815 (x_output_toolbar): Ditto.
5816 (x_redraw_exposed_toolbar): Ditto.
5818 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5819 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5820 (mswindows_output_toolbar): Ditto.
5821 (mswindows_output_toolbar): Ditto.
5823 * frame.c (mark_frame): Removed marking of arrays, according to
5824 frameslots.h change.
5825 (nuke_all_frame_slots): Ditto.
5826 (set_frame_selected_window): Mark toolbars changed when
5827 last_nonminibuf_window changes.
5829 * frame.h (struct frame): Moved some slots to frameslots.h.
5830 Added current_toolbar_size array.
5831 Changed references from toolbar_data to toolbar_buttons in macros
5832 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5833 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5834 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5836 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5837 Moved arrays of lisp objects here from frame.h: toolbar_size,
5838 toolbar_visible_p, toolbar_border_width.
5839 Removed toolbar_data slot and added toolbar_buttons.
5841 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5843 * symsinit.h: Externed syms_of_process_nt()
5845 * emacs.c (main_1): Call syms_of_process_nt()
5847 * process-nt.c: Quote process arguments by a call to Lisp function
5848 `nt-quote-process-args'.
5849 (syms_of_process_nt): New function.
5850 (nt_send_process): Flush data stream after each write, to avoid
5851 leaving buffered data.
5852 (nt_send_process): When blocked on process output, wait for
5853 process to slurp more for progressively increasing time intervals.
5855 1998-05-17 Martin Buchholz <martin@xemacs.org>
5857 * window.c (have_undivided_common_edge): Make file-local function
5859 (map_windows): Return 0 if all map functions successful.
5862 * winslots.h: Use unlikely names for local variables in macros to
5863 avoid shadowing warnings.
5865 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5867 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5868 so that we re-output if the toolbar size has changed.
5870 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5872 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5874 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5876 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5879 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5881 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5882 get bitmap manifest constants defined.
5884 * console-msw.h: Include system files in angle brackets, not in
5887 * window.c (specifier_vars_of_window): Fixed a typo in
5888 `vertical-divider-line-width' docstirng.
5890 1998-05-16 Olivier Galibert <galibert@pobox.com>
5892 * line-number.c (delete_invalidate_line_number_cache): Use an
5894 (buffer_line_number): Remove dangerous, plain wrong when using
5895 64bits emacs ints, cast.
5897 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5899 * cmds.c (Fforward_line): Use EMACS_INTs.
5901 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5902 (scan_buffer): Ditto.
5903 (bi_find_next_newline_no_quit): Remove useless cast.
5904 (find_next_newline_no_quit): Ditto.
5905 (find_next_newline): Ditto.
5906 (find_before_next_newline): Use an EMACS_INT.
5908 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5910 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5912 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5914 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5916 * gui-x.c (popup_selection_callback): Use it.
5918 * gui.h (get_callback): Declare it.
5920 * gui.c (get_callback): New function.
5922 1998-05-15 SL Baur <steve@altair.xemacs.org>
5924 * window.c (have_undivided_common_edge): Guard scrollbar specific
5926 (window_needs_vertical_divider_1): Ditto.
5928 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5930 * emacs.c (decode_path): Eliminate compiler warning.
5931 (Fdecode_path): Renamed to Fsplit_path.
5932 (Fsplit_string_by_char): New function.
5934 1998-05-14 Damon Lipparelli <lipp@primus.com>
5936 * winslots.h: close comment
5938 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5940 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5942 * bufslots.h: Removed buffer_file_type slot.
5944 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5946 (complex_vars_of_buffer): Removed buffer-file-type variable and
5947 its default reference.
5949 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5951 * faces.c (complex_vars_of_faces): Defined
5952 Vvertical_divider_face.
5953 (vars_of_faces): Staticpro it.
5955 * faces.h: Externed Vvertical_divider_face.
5957 * redisplay-x.c (x_output_vertical_divider): Use
5958 Vvertical_divider_face to draw the divider instead of modeline
5961 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5962 divider face using Vvertical_divider_face background.
5963 Fix drawing spacing gaps around the divider.
5965 1998-05-14 Didier Verna <verna@inf.enst.fr>
5967 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5968 values for the vertical divider line width and spacing. Use the
5969 cached values from the window structure instead.
5970 (x_divider_width): ditto.
5972 * window.c (specifier_vars_of_window): new specifiers:
5973 vertical-divier -line-width and -spacing.
5974 (vertical_divider_global_width_changed): formerly known as
5975 vertical_divider_shadow_thickness_changed.
5977 * winslots.h: new slots: vertical_specifier _line_width and
5978 _spacing. Plus corrected a comment typo.
5980 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5982 * window.h: Declared window_divider_width().
5984 * console-stream.c (stream_divider_width): Removed method.
5985 (console_type_create_stream): And declaration for it.
5987 * redisplay.c (pixel_to_glyph_translation): Use
5988 window_divider_width() instead of divider_width redisplay method.
5989 (pixel_to_glyph_translation): Fix top divider edge calculation
5990 when scrollbar is on top.
5992 * window.c (window_divider_width): New function, an outphaser for
5993 divider_width redisplay method.
5994 (window_right_gutter_width): Use it.
5995 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5996 specifiers, set fallback values differently on TTYs, and document
5997 the behavior of these on TTYs in the docstrings.
5999 * scrollbar.c (update_scrollbar_instance): Use
6000 window_divider_width() instead of divider_width redisplay method.
6002 * console.h (struct console_methods): Removed divider_width_method.
6004 * redisplay-tty.c (tty_divider_width): Removed device method.
6005 (console_type_create_redisplay_tty): Removed definition for it.
6006 (tty_output_vertical_divider): Respect the value returned by
6007 window_divider_width thus divider line width specification.
6009 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6010 (console_type_create_redisplay_mswindows): Removed definition for it.
6011 (mswinodws_output_vertical_divider): Respect the value returned by
6012 window_divider_width thus divider line width specification.
6014 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6016 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6018 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6020 * glyphs-msw.c: resource loading implementation.
6021 (cursor_normalize): new function.
6022 (cursor_validate): ditto.
6023 (cursor_instantiate): ditto.
6024 (cursor_name_to_resource): ditto.
6025 (cursor_possible_dest_types): ditto.
6026 (check_valid_symbol): ditto.
6027 (check_valid_string_or_int): ditto.
6029 1998-05-14 Martin Buchholz <martin@xemacs.org>
6031 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6034 * process-unix.c (process_signal_char): Use VSUSP instead of
6035 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6037 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6039 * specifier.c (specifier_instance): Change locale precedence of
6040 instantiation so window locale has higher priority than buffer
6042 (Fspecifier_instance): Reflect this in docstring.
6043 (Fadd_spec_list_to_specifier): Ditto.
6044 (Fadd_spec_to_specifier): Ditto.
6045 (Fremove_specifier): Ditto.
6047 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6049 ** Dialog separation into a device method from Andy Piper
6051 * emacs.c (main_1): Call console_type_create_dialog_x().
6053 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6054 into this device method.
6055 (console_type_create_dialog_x): New function.
6057 * dialog.c (Fpopup_dialog_box): New function.
6058 (syms_of_dialog): Defsubr it.
6060 * console.h (struct console_methods): Declared
6061 popup_dialog_box_method().
6063 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6065 1998-05-14 Oliver Graf <ograf@fga.de>
6067 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6068 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6070 1998-05-13 Oliver Graf <ograf@fga.de>
6072 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6074 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6076 * console.h (device_metrics): Removed dbcs, input-method-editor
6077 and right-to-left metrics.
6079 * device.c (Fdevice_system_metric): Ditto.
6080 (Fdevice_system_metrics): Ditto.
6081 (syms_of_device): Ditto.
6082 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6085 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6087 * line-number.h (mark_line_number_cache): Remove unused
6090 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6091 (get_nearest_line_number): Simplify.
6092 (add_position_to_cache): Make the old marker point nowhere.
6094 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6096 ** Renamed window-divider-map => vertical-divider-map
6097 and event-over-divider-p => event-over-vertical-divider-p,
6098 in the following files/functions:
6100 * events.c (Fevent_over_divider_p):
6101 * keymap.c (get_relevant_keymaps):
6104 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6106 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6108 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6110 * window.c (vertical_divider_changed_in_window): Renamed so.
6111 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6112 (window_needs_vertical_divider_1): Decide whether we need it based
6113 on the value of the above specifier. If separators are unwanted,
6114 put them only if there's no scrollbar between this window and its
6116 (have_undivided_common_edge): New function, helper for the above.
6117 (window_needs_vertical_divider): Return either a cached value,
6118 or clauclate and cache one.
6119 (invalidate_vertical_divider_cache_in_window): Implemented.
6120 (map_windows): Changed return type to int, return the value from
6123 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6124 (struct window): Added need_vertical_divider_p and
6125 need_vertical_divider_valid_p.
6127 * winslots.h: Added vertical_divider_draggable_p slot.
6129 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6130 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6132 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6134 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6135 invalidate_vertical_divider_cache_in_frame().
6138 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6140 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6142 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6143 masks correctly and don't select 0.
6145 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6147 * winslots.h: New file, declaration of some struct window and
6148 struct saved_window members.
6150 * window.h (struct window): Include it, with required preprocessor
6153 * window.c (mark_window): Ditto.
6154 (allocate_window): Ditto.
6155 (struct saved_window): Ditto.
6156 (mark_window_config): Ditto.
6157 (saved_window_equal): Ditto.
6158 (Fset_window_configuration): Ditto.
6160 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6162 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6164 1998-05-12 Didier Verna <verna@inf.enst.fr>
6166 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6167 the divider line. The shadow thickness is currently
6168 hard-wired. This will probably be turned into a specifier soon.
6170 1998-05-12 Didier Verna <verna@inf.enst.fr>
6172 * console.h (struct console_methods): the divider_width console
6173 method now requires a struct window * argument.
6175 * redisplay-x.c (x_divider_width): ditto. Plus remove
6176 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6177 (x_output_vertical_divider): give a depressed look when the shadow
6178 thickness is negative.
6180 * console-stream.c (stream_divider_width): pass a struct window *
6183 * redisplay-tty.c (tty_divider_width): ditto.
6185 * window.c (window_right_gutter_width): totdi.
6187 * redisplay.c (generate_modeline): ittod.
6189 * scrollbar.c (update_scrollbar_instance): ttido.
6191 * redisplay-msw.c (mswindows_divider_width): ottid.
6192 WARNING: this enables to compile, but the feature is not functional.
6194 * window.h (struct window): new field
6195 vertical_divider_shadow_thickness.
6197 * window.c (specifier_vars_of_window): new specifier
6198 vertical-divider-shadow-thickness.
6199 (vertical_divider_shadow_thickness_changed): new function to
6200 inform redisplay that the window has changed.
6201 (mark_window): handle new field vertical_divider_shadow_thickness
6203 (allocate_window): ditto.
6204 (saved_window_equal): toddi.
6205 (Fset_window_configuration): totid.
6206 (save_window_save): ttdio.
6207 (struct saved_window): new field vertical_divider_shadow_thickness.
6209 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6211 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6214 1998-05-12 Oliver Graf <ograf@fga.de>
6216 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6217 * event-Xt.c (x_event_to_emacs_event): C++ compability
6219 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6221 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6224 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6226 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6229 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6231 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6233 * emacs.c (decode_path_1): New function.
6234 (decode_path): Use it.
6235 (Fdecode_path): Renamed from Fdecode_path_internal; use
6238 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6240 * macros.c (Fzap_last_kbd_macro_event): New function.
6241 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6243 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6245 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6246 multiple bitmaps are output vertically as well as horizontally.
6247 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6248 crossing lines this is handled by
6249 mswindows_output_dibitmap_region.
6251 1998-05-12 Martin Buchholz <martin@xemacs.org>
6253 * inline.c: Include eldap.h
6255 * menubar-x.c (x_update_frame_menubar_internal):
6256 Remove: unused variable `container'
6258 1998-05-11 Martin Buchholz <martin@xemacs.org>
6260 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6261 Unfortunately, the resulting temacs still cannot dump.
6263 * symbols.c (symbol_is_constant):
6264 (verify_ok_for_buffer_local):
6265 -Wswitch Warning suppression - add default case to switches.
6267 * redisplay.c (decode_mode_spec): Remove unused variables,
6268 Replace Fcoding_system_property (codesys, Qmnemonic) with
6269 XCODING_SYSTEM_MNEMONIC (codesys);
6270 Fcoding_system_property is for users.
6276 Change empty docstrings into no doc strings at all.
6277 Fix bogus FSF-format docstrings.
6280 Standardize docstrings.
6283 Explain problems with matherr.
6285 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6288 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6289 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6290 Fix the weird resultant interaction (causes windows problems)
6294 Take new EMACSBOOTSTRAPLOADPATH into account.
6295 Update documentation strings
6298 - Adjust for luser's CDPATH being set to something weird.
6299 - Take into account bash 2.02's tendency to print the cwd when
6300 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6301 - fix the run-temacs target to use $(DUMPENV)
6302 - fix the run-puremacs target to use $(DUMPENV)
6303 - fix the `depend' target to properly $(RM) the right files
6304 - Generate a better TAGS file for XEmacs' lisp code using
6305 hand-crafted regexps.
6306 - Use standard coding conventions for modules/Makefile.in
6308 1998-05-12 Didier Verna <verna@inf.enst.fr>
6310 * redisplay.c: removed the scrolling modeline code that didn't
6311 make it for 21.0. To be continued ...
6313 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6315 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6316 and empty string inputs.
6318 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6320 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6322 1998-05-10 Oliver Graf <ograf@fga.de>
6324 * event-stream.c (enqueue_misc_user_event_pos): created
6325 * lisp.h (enqueue_misc_user_event_pos): prototype added
6326 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6327 * emacs.c: call vars_of_dragdrop
6328 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6330 1998-05-11 Oliver Graf <ograf@fga.de>
6332 * frame-x.c (x_cde_transfer_callback): return at correct pos
6333 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6334 object for MIME (see comment in dragdrop.c)
6335 * dragdrop.c: API change documented in comment
6336 removed provide of dragdrop [is provided by dragdrop.el]
6338 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6340 * window.c (window_needs_vertical_divider): Enable vertical
6341 dividers for every non-rightmost window.
6342 (window_left_gutter_width): Left gutter consists of mythical
6343 toolbar and a virtual scrollbar.
6344 (window_right_gutter_width): The right one may have a divider
6347 * scrollbar.c (update_scrollbar_instance): Position vertical
6348 scrollbar left to divider if the latter present.
6350 * redisplay.h: Declared OVER_DIVIER constant.
6352 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6355 * redisplay-x.c (x_output_vertical_divider): Output divider along
6356 the right side of the window, down to window bottom. Swapped
6357 foreground and background colors so it is visible by default.
6359 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6360 stick the divider to the right window side.
6362 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6364 (mswindows_divider_width): Ask system for user preferred value.
6365 (mswindows_output_vertical_divider): Always output the divider on
6366 the right side of a window, down to bottom.
6368 * keymap.c (get_relevant_keymaps): Route mouse button events which
6369 happened over a window divider through window-divider-map.
6370 (Fkey_binding): Documented that in the docstring.
6371 Defined the variable Vwindow_divider_map.
6373 * events.c (Fevent_over_divider_p): Added this function.
6375 * events.h: EXFUNed it.
6377 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6379 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6380 toolbar geometry is suspected to change.
6382 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6386 Condition dnd and dde code on HAVE_DRAGNDROP.
6388 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6390 * events.c (format_event_object): Print space as SPC etc.
6392 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6394 * print.c (print_internal): In the default case, abort() if
6395 ERROR_CHECK_TYPECHECK.
6397 * fileio.c (Fmake_temp_name): Doc fix.
6399 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6401 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6403 * undo.c (Fprimitive_undo): Fixed typo.
6405 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6407 * fns.c (concat): Signal error on integer argument.
6409 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6411 * console.h (device_metrics): Prefixed each constatnt with DM_
6413 * device.c: (Fdevice_system_metric): Renamed so from plural form
6414 (metrics); Changed parameters order and added DEFAULT parameter;
6415 Unabbreviated some metric constants; Fixed and untabified doc string.
6416 (Fdevice_system_metrics): Added. Returns a plist of all provided
6419 * device-msw.c (mswindows_device_system_metrics): Renamed
6420 device_metrics enum constants.
6421 Return Qunbound instead of Qnil.
6423 * device-tty.c (tty_device_system_metrics): Ditto.
6425 * device-x.c (x_device_system_metrics): Ditto.
6427 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6429 * redisplay-msw.c: implement background pixmaps (really!). Make
6430 sure bg color is transparent if we have bg pmaps.
6431 * (mswindows_output_string) (mswindows_clear_region): output bg
6433 * (mswindows_output_dibitmap_region): new function.
6434 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6435 the bg color rather than transparently.
6437 * toolbar-msw.c: use masks if they exist.
6439 * glyphs-msw.c: set up masks correctly.
6441 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6443 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6445 * regex.c (re_match_2_internal): Check for quit.
6447 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6449 * frame.c (Ffocus_frame): New function.