1 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * mb-utf-8.h (MULTIBYTE): New macro.
4 (MAX_EMCHAR_LEN): Moved from buffer.h.
5 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
7 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
9 * mb-lb.h, multibyte.h: New files.
11 * char-1byte.h (Charset_ID): Moved from buffer.h.
12 (MIN_LEADING_BYTE): Likewise.
13 (LEADING_BYTE_ASCII): Likewise.
14 (NUM_LEADING_BYTES): Likewise.
16 (CHARSET_BY_LEADING_BYTE): Likewise.
17 (XCHARSET_LEADING_BYTE): Likewise.
18 (XCHARSET_GRAPHIC): Likewise.
19 (XCHARSET_COLUMNS): Likewise.
20 (XCHARSET_DIMENSION): Likewise.
21 (CHAR_CHARSET): Likewise.
22 (CHAR_LEADING_BYTE): Likewise.
23 (BREAKUP_CHAR): Likewise.
24 (Vcharset_ascii): Likewise.
26 * buffer.h: Include multibyte.h unconditionally.
27 (VALID_CHARPTR_P): Moved to multibyte.h.
28 (ASSERT_VALID_CHARPTR): Likewise.
29 (REAL_INC_CHARPTR): Likewise.
30 (REAL_INC_CHARBYTIND): Likewise.
31 (REAL_DEC_CHARPTR): Likewise.
32 (INC_CHARPTR): Likewise.
33 (INC_CHARBYTIND): Likewise.
34 (DEC_CHARPTR): Likewise.
35 (VALIDATE_CHARPTR_BACKWARD): Likewise.
36 (VALIDATE_CHARPTR_FORWARD): Likewise.
37 (charptr_n_addr): Likewise.
38 (MAX_EMCHAR_LEN): Moved to mb-*.h.
39 (simple_charptr_emchar): Moved to multibyte.h.
40 (simple_set_charptr_emchar): Likewise.
41 (simple_charptr_copy_char): Likewise.
42 (non_ascii_charptr_emchar): Likewise.
43 (non_ascii_set_charptr_emchar): Likewise.
44 (non_ascii_charptr_copy_char): Likewise.
45 (charptr_emchar): Likewise.
46 (set_charptr_emchar): Likewise.
47 (charptr_copy_char): Likewise.
48 (charptr_emchar_n): Likewise.
49 (Charset_ID): Moved to char-1byte.h.
50 (Vcharset_ascii): Likewise.
51 (CHAR_CHARSET): Likewise.
52 (CHAR_LEADING_BYTE): Likewise.
53 (LEADING_BYTE_ASCII): Likewise.
54 (NUM_LEADING_BYTES): Likewise.
55 (MIN_LEADING_BYTE): Likewise.
57 (CHARSET_BY_LEADING_BYTE): Likewise.
58 (XCHARSET_LEADING_BYTE): Likewise.
59 (XCHARSET_GRAPHIC): Likewise.
60 (XCHARSET_COLUMNS): Likewise.
61 (XCHARSET_DIMENSION): Likewise.
62 (BREAKUP_CHAR): Likewise.
64 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
66 * character.h: Add document about interface for characters.
68 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
69 (MAKE_CHAR): Delete comment about
70 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
71 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
72 (BREAKUP_CHAR): Modify name of arguments.
73 (CHAR_CHARSET): Modify name of argument.
75 * buffer.h: Delete document about Emchar accessors.
77 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
79 * character.h (CHAR_INTP): Moved from buffer.h
80 (CHAR_OR_CHAR_INTP): Likewise.
81 (XCHAR_OR_CHAR_INT): Likewise.
82 (CHECK_CHAR_COERCE_INT): Likewise.
84 * buffer.h (CHAR_INTP): Moved to character.h
85 (CHAR_OR_CHAR_INTP): Likewise.
86 (XCHAR_OR_CHAR_INT): Likewise.
87 (CHECK_CHAR_COERCE_INT): Likewise.
89 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
92 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
93 - Include char-1byte.h, char-lb.h or char-ucs.h.
95 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
97 * buffer.h: Include character unconditionally.
98 (valid_char_p): Moved to char-*.h.
99 (non_ascii_valid_char_p): Moved to char-lb.h.
101 * char-1byte.h, char-lb.h, char-ucs.h: New files.
103 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
105 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
106 in UTF-2000 because it is not ported yet and not to use
107 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
108 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
109 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
111 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
112 (CHAR_ASCII_P): Moved from character.h.
114 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
115 (CHAR_ASCII_P): Likewise.
116 (CHAR_FIELD1_MASK): Deleted.
117 (CHAR_FIELD2_MASK): Deleted.
118 (CHAR_FIELD3_MASK): Deleted.
119 (MAX_CHAR_BASIC_LATIN): New macro.
120 (CHAR_FIELD1): Deleted.
121 (CHAR_FIELD2_INTERNAL): Deleted.
122 (CHAR_FIELD3_INTERNAL): Deleted.
123 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
124 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
125 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
126 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
127 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
128 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
129 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
130 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
131 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
132 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
133 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
134 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
135 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
136 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
137 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
138 (MIN_CHAR_COMPOSITION): Deleted.
139 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
140 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
142 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
144 * buffer.h: Include mb-utf-8.h in UTF-2000.
146 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
148 * mb-utf-8.h: New file.
150 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
152 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
155 * mule-charset.h, buffer.h (Charset_ID): New type.
157 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
159 * mule-canna.c (c2mu): Use `MAKE_CHAR',
160 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
161 instead of `MULE_CHAR_PRIVATE_OFFSET',
162 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
163 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
164 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
166 * character.h (Vcharset_japanese_jisx0212): New variable
169 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
171 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
172 (charset_by_attributes): Delete array about direction.
173 (latin_a_char_to_charset): New variable in UTF-2000.
174 (latin_a_char_to_byte1): New variable in UTF-2000.
175 (latin_a_char_to_byte2): New variable in UTF-2000.
176 (Qucs_bmp): New variable.
177 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
179 (next_allocated_2_byte_leading_byte): Likewise.
180 (non_ascii_set_charptr_emchar): Likewise.
181 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
182 `CHARSET_TYPE_256X256' in UTF-2000; modify for
183 `charset_by_attributes'.
184 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
185 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
186 and `CHARSET_BY_LEADING_BYTE'.
187 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
188 `utf-2000-version' to `vars_of_mule_charset'.
189 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
190 define `leading-code-private-11' in UTF-2000; move setting of
191 `utf-2000-version' from `syms_of_mule_charset'.
192 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
195 * character.h (Charset_ID): New type.
196 (LEADING_BYTE_UCS_BMP): New macro.
197 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
198 (CHARSET_ID_OFFSET_94): New macro.
199 (MIN_CHARSET_ID_PRIVATE_94): New macro.
200 (MAX_CHARSET_ID_PRIVATE_94): New macro.
201 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
203 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
204 (LEADING_BYTE_LATIN_JISX0201): Likewise.
205 (CHARSET_ID_OFFSET_96): New macro.
206 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
207 CHARSET_ID_OFFSET_96 and final-byte.
208 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
209 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
210 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
211 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
212 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
213 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
214 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
215 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
216 (LEADING_BYTE_THAI_TIS620): Likewise.
217 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
218 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
219 (CHARSET_ID_OFFSET_94x94): New macro.
220 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
221 CHARSET_ID_OFFSET_94x94 and final-byte.
222 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
223 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
224 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
225 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
226 (LEADING_BYTE_CHINESE_GB2312): Likewise.
227 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
228 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
229 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
230 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
231 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
232 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
233 (CHARSET_TYPE_128X128): New macro.
234 (CHARSET_TYPE_256X256): New macro.
235 (XCHARSET_PRIVATE_P): Delete unconditionally.
236 (charset_by_attributes): Delete array about direction.
237 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
238 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
239 (MIN_CHAR_94): New macro.
240 (MAX_CHAR_94): New macro.
241 (MIN_CHAR_96): New macro.
242 (MAX_CHAR_96): New macro.
243 (MIN_CHAR_94x94): New macro.
244 (MAX_CHAR_94x94): New macro.
245 (MIN_CHAR_96x96): New macro.
246 (MAX_CHAR_96x96): New macro.
247 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
248 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
249 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
251 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
252 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
253 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
254 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
255 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
256 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
257 `XCHARSET_LEADING_BYTE' to make code-point.
258 (latin_a_char_to_charset): New variable.
259 (latin_a_char_to_byte1): New variable.
260 (latin_a_char_to_byte2): New variable.
261 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
262 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
263 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
265 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
266 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
267 (find_charsets_in_emchar_string): Likewise.
268 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
270 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
272 (decode_coding_iso2022): Likewise.
274 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
277 * redisplay.c (redisplay_text_width_emchar_string): Use
278 `Charset_ID' instead of `unsigned char'.
279 (redisplay_frame_text_width_string): Likewise.
281 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
284 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
285 instead of `unsigned char'.
286 (face_cachel_charset_font_metric_info): Likewise.
288 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
289 (get_non_ascii_char_table_value): Likewise.
290 (get_char_table): Likewise.
291 (put_char_table): Likewise.
292 (map_over_other_charset): Likewise.
293 (map_char_table): Likewise.
295 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
296 instead of `unsigned char'.
298 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
300 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
301 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
303 * mule-charset.c (leading_code_private_11): Don't define in
306 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
307 in UTF-2000 because it is not ported yet and not to use
308 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
310 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
312 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
314 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
316 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
319 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
320 of unsigned char to store leading-byte.
322 * chartab.c (get_non_ascii_char_table_value): Don't use
323 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
325 * file-coding.c (encode_coding_big5): Delete bogus implementation
328 * character.h (LEADING_BYTE_*): Delete definition for
330 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
331 (LEADING_BYTE_PREFIX_P): Deleted.
332 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
333 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
334 (BUFBYTE_LEADING_BYTE_P): Deleted.
335 (CHARSET_PRIVATE_P): Deleted unconditionally.
336 (rep_bytes_by_first_byte): Deleted unconditionally.
337 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
338 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
339 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
340 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
341 (CHAR_FIELD2): Deleted.
342 (CHAR_FIELD3): Deleted.
343 (MAKE_CHAR): Delete definition for non-UTF-2000.
344 (BREAKUP_CHAR_1_UNSAFE): Deleted.
345 (breakup_char_1): New implementation.
346 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
347 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
349 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
351 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
354 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
356 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
357 (CHARSET_PRIVATE_P): Likewise.
358 (XCHARSET_PRIVATE_P): Likewise.
359 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
361 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
363 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
365 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
367 * character.h (LEADING_BYTE_*): Changed in UTF2000.
368 (NUM_LEADING_BYTES): Changed from 128 to 256.
369 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
370 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
372 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
374 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
376 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
377 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
378 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
379 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
380 (Qchinese_cns11643_3): New variable in UTF2000.
381 (Qchinese_cns11643_4): New variable in UTF2000.
382 (Qchinese_cns11643_5): New variable in UTF2000.
383 (Qchinese_cns11643_6): New variable in UTF2000.
384 (Qchinese_cns11643_7): New variable in UTF2000.
385 (syms_of_mule_charset): Define `chinese-cns11643-3',
386 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
387 and `chinese-cns11643-7' in UTF2000.
388 (vars_of_mule_charset): Initialize
389 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
391 (complex_vars_of_mule_charset): Setup charset
392 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
393 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
395 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
397 * mule-charset.c: Move setting for `leading-code-private-11' from
398 `syms_of_mule_charset' to `vars_of_mule_charset'.
400 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
402 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
403 and `NUM_LEADING_BYTES' in assert.
405 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
407 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
409 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
410 `NUM_LEADING_BYTES' instead of 128.
412 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
414 * mule-charset.h (charset_by_leading_byte): Use
415 `NUM_LEADING_BYTES' instead of 128.
416 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
418 * mule-charset.c (charset_by_leading_byte): Use
419 `NUM_LEADING_BYTES' instead of 128.
420 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
422 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
425 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
427 * mule-charset.c (syms_of_mule_charset): Update to
430 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
432 * file-coding.c (encode_coding_sjis): New implementation for
433 UTF2000. (decode_coding_sjis): Ditto.
435 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
437 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
438 Don't define in UTF2000.
440 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
443 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
444 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
447 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
449 * config.h.in (CHAR_IS_UCS4): New macro.
451 * mule-charset.c (rep_bytes_by_first_byte): Modify for
452 conventional MULE representation.
453 (syms_of_mule_charset): Update to 0.3 (Imamiya).
455 * mule-charset.h: Reverted to original.
457 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
458 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
459 "mule-charset.h" if CHAR_IS_UCS4 is defined.
461 * character.h: New file.
463 * file-coding.c (Fmake_coding_system): Set 1 to
464 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
466 (encode_coding_no_conversion): New implementation for UTF2000.
468 * file-coding.h (struct Lisp_Coding_System): Add new member
471 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
473 * file-coding.c (decode_coding_iso2022): Code-point arguments of
474 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
475 (encode_coding_iso2022): New implementation for UTF2000.
477 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
479 * mule-canna.c (c2mu): New implementation for UTF2000.
482 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
484 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
486 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
488 * file-coding.c (reset_encoding_stream): Set 0 to
489 `str->iso2022.current_char_boundary' in UTF2000.
490 (encode_utf8): Don't define in UTF2000.
491 (encode_coding_utf8): New implementation for UTF-8 representation
493 (complex_vars_of_file_coding): Define coding-system `utf-8'.
495 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
497 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
499 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
501 (REP_BYTES_BY_FIRST_BYTE): Likewise.
503 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
505 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
506 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
508 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
509 (non_ascii_valid_char_p): Don't define in UTF2000.
510 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
511 (Lstream_get_emchar_1): Likewise.
512 (utf-2000-version): New variable in UTF2000.
514 * lread.c (read_escape): Add new reader `u'.
516 * insdel.c (three_to_one_table): Don't define in UTF2000.
517 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
518 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
520 (bytind_to_bufpos_func): Likewise.
521 (buffer_mule_signal_inserted_region): Likewise.
522 (vars_of_insdel): Don't initialize `three_to_one_table'.
523 (init_buffer_text): Use `buf->text->mule_size' instead of
524 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
527 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
528 UTF-8 representation in UTF2000.
529 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
530 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
531 (decode_coding_iso2022): Don't define local variable `lb' in
532 UTF2000; don't use LEADING_BYTE in UTF2000; use
533 `DECODE_ADD_UCS_CHAR' in UTF2000.
534 (convert_to_external_format): Decode as UTF-8 in UTF2000.
536 * config.h.in (UTF2000): New macro.
538 * buffer.h (struct buffer_text): Add new member `mule_size' and
539 don't add `mule_shifter' and `mule_three_p' in UTF2000.
540 (valid_char_p): Return always 1 in UTF2000.
541 (MAX_EMCHAR_LEN): 6 in UTF2000.
542 (three_to_one_table): Don't define in UTF2000.
543 (real_bufpos_to_bytind): Modify for UTF-8 representation in
545 (real_bytind_to_bufpos): Likewise.
547 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
549 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
551 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
552 representation change.
553 (Vutf_2000_version): New variable.
554 (leading_code_private_11): New variable.
555 (syms_of_mule_charset): Add new variables `utf-2000-version' and
556 `leading-code-private-11'.
558 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
559 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
560 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
561 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
562 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
563 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
564 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
565 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
566 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
567 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
568 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
569 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
570 (MIN_CHAR_GREEK): New macro.
571 (MAX_CHAR_GREEK): New macro.
572 (MIN_CHAR_CYRILLIC): New macro.
573 (MAX_CHAR_CYRILLIC): New macro.
574 (MIN_CHAR_HEBREW): New macro.
575 (MAX_CHAR_HEBREW): New macro.
576 (MIN_CHAR_THAI): New macro.
577 (MAX_CHAR_THAI): New macro.
578 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
579 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
580 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
581 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
582 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
583 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
584 (CHAR_FIELD2): New inline function.
585 (CHAR_FIELD3): New inline function.
586 (MULE_CHAR_PRIVATE_OFFSET): New macro.
587 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
588 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
589 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
590 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
591 (MIN_CHAR_COMPOSITION): Likewise.
592 (CHAR_LEADING_BYTE): Modified for character representation change.
593 (MAKE_CHAR): Likewise.
595 * lisp.h (Vcharset_latin_iso8859_1): New variable.
596 (Vcharset_greek_iso8859_7): Likewise.
597 (Vcharset_cyrillic_iso8859_5): Likewise.
598 (Vcharset_hebrew_iso8859_8): Likewise.
599 (Vcharset_thai_tis620): Likewise.
600 (Vcharset_katakana_jisx0201): Likewise.
602 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
604 * file-coding.c (determine_real_coding_system): Treat `coding:'
607 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
609 * file-coding.c (struct decoding_stream): New member `counter'.
610 (reset_decoding_stream): Initialize `counter'.
611 (decode_coding_ucs4): Use `counter'.
612 (decode_coding_utf8): Likewise.
614 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
616 * XEmacs 21.2.19 is released
618 1999-07-27 Jeff Miller <jmiller@smart.net>
620 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
621 menubar_show_keybindings.
623 1999-07-23 SL Baur <steve@miho>
625 * mule-charset.c (syms_of_mule_charset): Delete duplicated
626 definition of Qccl_program.
628 * mule-ccl.h: Make a global declaration of it here.
630 1999-07-20 Bob Weiner <weiner@beopen.com>
632 * s/sco7.h: Added from rr@sco.com.
634 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
636 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
638 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
640 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
641 (mule_encode): Likewise.
643 * mule-ccl.c (Qccl_program): New variable.
644 (CCL_SUSPEND): New macro.
645 (CCL_INVALID_CMD): New macro.
646 (CCL_READ_CHAR): Don't regard as invalid command while processing
647 the last block even if input is empty; use
648 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
649 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
651 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
652 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
653 (CCL_STAT_SUSPEND_BY_DST): Likewise.
654 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
655 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
657 1999-05-04 Ken'ichi Handa <handa@gnu.org>
659 * mule-ccl.h (struct ccl_program): New member stack_idx.
661 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
662 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
664 (setup_ccl_program): Initialize ccl->stack_idx to 0.
666 1998-10-12 Kenichi Handa <handa@etl.go.jp>
668 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
671 1998-08-18 Kenichi Handa <handa@etl.go.jp>
673 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
674 processing the last block, don't just finish but processes eol
675 block of the current CCL program.
676 (ccl_driver): Add a new jump label ccl_repeat for the above
679 1998-04-15 Kenichi Handa <handa@etl.go.jp>
681 * mule-ccl.c: Typo in comments fixed.
682 (Qccl_program_idx): New variables.
683 (CCL_ReadMultibyteChar2): Macro name changed from
684 CCL_ReadMultibyteCharacter.
685 (CCL_WriteMultibyteChar2): Macro name changed from
686 CCL_WriteMultibyteChar2.
687 (ccl_driver): Adjusted for the above changes.
688 (resolve_symbol_ccl_program): New function.
689 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
690 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
691 numbers by resolve_symbol_ccl_program.
692 (Fccl_execute_on_string): Likewise.
693 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
694 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
696 1998-01-21 Kenichi Handa <handa@etl.go.jp>
698 * mule-ccl.h: (struct ccl_program): New member private_state.
701 (CCL_Call): Fix the comment.
702 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
703 macros for CCL Commands.
705 (ccl_driver): New case lable `CCL_Extention'.
706 (setup_ccl_program): Initialize the member `private_state' of CCL.
708 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
710 * keymap.c (copy_keymap_internal): Inherit the default binding.
712 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
714 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
715 focus the event (XIM_focus_event).
716 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
717 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
718 the interface for future use (XIM_SetGeometry).
719 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
720 location (XIM_SetSpotLocation).
721 (x_output_eol_cursor): Ditto.
723 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
725 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
726 Olivier's change to lrecord.h of 1999-04-22
728 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
730 * gutter.c (redraw_exposed_gutter): Change type of pos from
731 enum toolbar_pos -> enum gutter_pos, since former is only defined
732 if toolbar support is.
734 1999-07-19 Andy Piper <andy@xemacs.org>
736 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
739 * gutter.c (gutter_validate): new function for the gutter specifier.
740 (specifier_type_create_gutter): declare specifier validator.
742 * buffer.h (INC_CHARBYTIND): add for no error checking version.
744 1999-07-18 Andy Piper <andy@xemacs.org>
746 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
748 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
750 (mswindows_resize_subwindow): new function.
752 * gutter.c (redraw_exposed_gutter): only reset the
753 current_display_lines if non-zero.
754 (Fgutter_pixel_height): new function.
755 (Fgutter_pixel_width): new function.
757 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
758 we want to retrive from the tab control.
760 1999-07-17 Andy Piper <andy@xemacs.org>
762 * window.c (change_window_height): mark gutters changed when we're
765 * gutter.c (specifier_vars_of_gutter): make defaults more
768 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
770 (DEFAULT_GUTTER_WIDTH): change.
771 (DEFAULT_GUTTER_BORDER_WIDTH): change.
773 1999-07-18 Andy Piper <andy@xemacs.org>
775 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
777 1999-07-16 Andy Piper <andy@xemacs.org>
779 * frame.c (Fmake_frame): call init_frame_gutters().
781 * redisplay.c (add_emchar_rune): use string functions if we are
782 working with a string.
783 (position_redisplay_data_type): add string element.
785 1999-07-15 Andy Piper <andy@xemacs.org>
787 * winslots.h: add real_gutter_size slots to hold the actual gutter
788 size. This is important for autodetected sizes.
790 * gutter.c (calculate_gutter_size): calculate size for gutters
791 that have 'autodetect size.
793 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
794 extent of divider for gutters.
796 * redisplay-x.c (x_output_vertical_divider): adjust extent of
799 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
800 position to take into account the gutters.
802 * redisplay.c (generate_modeline): adjust modeline position to
803 take into account the gutters.
805 1999-07-14 Andy Piper <andy@xemacs.org>
807 * gutter.c (frame_topmost_window): new function.
808 (frame_bottommost_window): ditto.
809 (frame_leftmost_window): ditto.
810 (frame_rightmost_window): ditto.
812 1999-07-13 Andy Piper <andy@xemacs.org>
814 * redisplay.c (calculate_display_line_boundaries): use text
815 boundaries so that gutters get handled properly.
817 1999-07-12 Andy Piper <andy@xemacs.org>
819 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
822 * redisplay-output.c (redisplay_clear_to_window_end): generalised
825 * redisplay-x.c (redisplay_clear_to_window_end): moved to
828 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
830 * gutter.c: new file - implements gutters. All new functions are
831 semantically equivalent to the toolbar functions.
832 (gutter_was_visible): new function.
833 (get_gutter_coords): ditto.
834 (output_gutter): ditto.
835 (clear_gutter): ditto.
836 (update_frame_gutters): ditto.
837 (redraw_exposed_gutter): ditto.
838 (redraw_exposed_gutters): ditto.
839 (free_frame_gutters): ditto.
840 (init_frame_gutters): ditto.
841 (decode_gutter_position): ditto.
842 (Fset_default_gutter_position): ditto.
843 (Fset_default_gutter_position): ditto.
844 (Fdefault_gutter_position): ditto.
845 (gutter_after_change): ditto.
846 (Fgutter_specifier_p): ditto.
847 (recompute_overlaying_specifier): ditto.
848 (gutter_specs_changed): ditto.
849 (default_gutter_specs_changed): ditto.
850 (gutter_geometry_changed_in_window): ditto.
851 (default_gutter_size_changed_in_window): ditto.
852 (default_gutter_border_width_changed_in_window): ditto.
853 (default_gutter_visible_p_changed_in_window): ditto.
854 (syms_of_gutter): ditto.
855 (vars_of_gutter): ditto.
856 (specifier_type_create_gutter): ditto.
857 (specifier_vars_of_gutter): ditto.
859 * gutter.h: new file. Contains gutter constants and sizing macros
860 similar to those for the toolbar.
862 * winslots.h: add gutter variables.
864 * window.h: declare window_is_* functions.
866 * window.c (window_is_lowest): make non-static.
867 (window_is_highest): ditto.
868 (window_top_toolbar_height): deleted.
869 (window_bottom_toolbar_height): deleted.
870 (window_left_toolbar_width): deleted.
871 (window_right_toolbar_width): deleted.
872 (window_top_gutter_height): add gutter sizing.
873 (window_bottom_gutter_height): ditto.
874 (window_left_gutter_width): ditto.
875 (window_right_gutter_width): ditto.
877 * symsinit.h: declarations for gutters vars etc.
879 * search.c (bi_find_next_emchar_in_string): new function.
881 * scrollbar.c (update_scrollbar_instance): remove reference to
882 window_bottom_toolbar_height which did nothing.
884 * redisplay.h (struct display_line): add face indices for
885 overriding defaults in output_display_line.
886 Add gutter_changed flags and declarations.
888 * redisplay.c (create_string_text_block): new function, similar to
889 create_text_block but for strings. Display tables etc are used
890 from the currently selected window.
891 (generate_string_display_line): ditto. Similar to
892 generate_display_line.
893 (generate_displayable_area): generate display lines for a given
894 area on a frame. Input is the string, with associated extents, to
896 (redisplay_frame): add gutter_changed check.
897 (redisplay_device): ditto.
898 (redisplay_without_hooks): ditto.
900 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
901 (x_redraw_exposed_area): redraw exposed gutters.
902 (x_bevel_area): new redisplay device method.
903 (x_type_create_redisplay_mswindows): add bevel_area device method.
904 (x_output_display_block): fiddly Martin-style cleanup.
905 (x_output_vertical_divider): use bevel_area.
907 * redisplay-output.c (output_display_line): check display_lines
908 for face information before using defaults.
909 (bevel_modeline): new function, calls bevel_area with appropriate
912 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
913 (mswindows_redraw_exposed_area): redraw exposed gutters.
914 (mswindows_bevel_area): new redisplay device method.
915 (console_type_create_redisplay_mswindows): add bevel_area device
918 * indent.c (string_column_at_point): add column_at_point but for
921 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
922 instantiate widgets that we have a toolkit for.
924 * general.c: add Qgutter.
926 * frame.h (struct frame): add display lines for gutters and
929 * frame.c (set_frame_selected_window): mark gutters changed.
931 * emacs.c (main_1): add gutter initialisation.
933 * device.h (struct device): add gutter_changed flag and macros to
936 * console.h (struct console_methods): new bevel area redisplay
939 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
940 REAL_INC_BYTIND is for buffers.
941 (INC_CHARPTR): ditto.
943 * Makefile.in.in (objs): add gutter.o
945 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
947 * XEmacs 21.2.18 is released
949 1999-07-08 SL Baur <steve@mule.m17n.org>
951 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
953 (emacs_Xt_handle_magic_event): Ditto.
954 * redisplay-x.c (x_output_string): Ditto.
955 (x_output_eol_cursor): Ditto.
957 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
959 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
960 problem that when XIM is destroyed or missed with some reason,
961 xemacs will die. Now xim=xlib waits the XIM will be ready and
962 endures the case of XIM end up.
964 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
966 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
967 SIGINT and SIGCHLD before calling tt_open and restore the
968 afterwards. This fixes e.g. the zombie subprocesses on Solaris
970 1999-07-06 SL Baur <steve@xemacs.org>
972 * s/linux.h: gcc-2.8 changes for powerpc
973 From Justin Vallon <vallon@mindspring.com>
975 1999-07-05 Didier Verna <verna@inf.enst.fr>
977 * indent.c: new symbol Qcoerce.
978 (Fmove_to_column): use it + doc string update.
980 1999-07-04 Andy Piper <andy@xemacs.org>
982 * console.c: undo earlier Fprovide changes.
986 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
987 function. validate appropriate image formats for tty.
989 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
990 initialize consoles parameter.
991 (struct image_instantiator_methods): add consoles parameter.
992 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
994 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
997 * glyphs-msw.c: declare instantiators for later use.
998 (image_instantiator_format_create_glyphs_mswindows): validate xpm
999 and friends on the mswindows console.
1000 * glyphs-x.c: ditto.
1002 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1003 that have not been registered on the supplied device.
1004 (Fvalid_image_instantiator_format_p): add locale argument.
1005 (instantiate_image_instantiator): valid image instantiator on the
1008 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1011 * emacs.c (main_1): add call to
1012 image_instantiator_format_create_glyphs_tty().
1014 1999-06-29 Olivier Galibert <galibert@pobox.com>
1016 * lisp.h: Add #include <stddef.h>.
1018 * sysdep.c: Remove #include <stddef.h>.
1019 * symbols.c: Remove #include <stddef.h>.
1020 * sheap.c: Remove #include <stddef.h>.
1021 * opaque.c: Remove #include <stddef.h>.
1022 * nt.c: Remove #include <stddef.h>.
1023 * mule-charset.c: Remove #include <stddef.h>.
1024 * marker.c: Remove #include <stddef.h>.
1025 * file-coding.c: Remove #include <stddef.h>.
1026 * extents.c: Remove #include <stddef.h>.
1027 * elhash.c: Remove #include <stddef.h>.
1028 * data.c: Remove #include <stddef.h>.
1029 * chartab.c: Remove #include <stddef.h>.
1030 * bytecode.c: Remove #include <stddef.h>.
1031 * alloc.c: Remove #include <stddef.h>. Fix vector description
1033 1999-06-30 SL Baur <steve@miho.m17n.org>
1035 * editfns.c: Document "%s" format spec.
1036 Suggested by Bob Weiner <weiner@altrasoft.com>
1038 1999-06-29 Andy Piper <andy@xemacs.org>
1040 * event-msw.c: fix definition booboo.
1042 1999-06-28 Andy Piper <andy@xemacs.org>
1044 * glyphs-x.c: change tree -> tree-view, progress ->
1045 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1047 (complex_vars_of_glyphs_x): provide-on-console the implemented
1050 * glyphs-msw.c: ditto.
1051 (complex_vars_of_glyphs_mswindows): ditto.
1053 * lisp.h: add Fprovide_on_console.
1055 * fns.c (Ffeaturep): add extra optional console argument.
1056 (Fprovide_on_console): like Fprovide but provides only on the
1057 specified console-type.
1058 (Frequire): check console-features as well as global features.
1060 * console.c (Fconsole_features): new function. return features for
1062 (syms_of_console): add Fconsole_features.
1064 * console.h (CONMETH_FEATURES): new function for accessing features.
1065 (CONSOLE_FEATURES): ditto.
1066 (struct console_methods): add features slot.
1067 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1069 1999-06-28 Andy Piper <andy@xemacs.org>
1071 * event-Xt.c (handle_focus_event_1): conditionally compile for
1074 * s/cygwin32.h: fix me website address.
1076 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1078 * gui-x.c (button_item_to_widget_value): only add callback if it
1081 * glyphs-x.c: add progress, edit and combo instantiators.
1082 (x_widget_set_property): new function. uses lwlib to set widget
1084 (x_widget_property): new function. uses lwlib to get widget
1086 (x_button_instantiate): support images in buttons.
1087 (x_button_property): new function. use lwlib to get the selected
1089 (x_progress_instantiate): new function for instantiating progress
1091 (x_progress_set_property): new function. sets the progress gauge
1093 (x_edit_instantiate): new function. for instantiating edit fields.
1094 (x_combo_instantiate): new function. for instantiating combo
1096 (image_instantiator_format_create_glyphs_x): add new device ii
1099 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1101 * console.h (CONSOLE_FEATURES): new features accesor.
1103 * conslots.h (MARKED_SLOT): add features entry.
1105 1999-06-25 Andy Piper <andy@xemacs.org>
1107 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1110 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1112 * gui.h (struct Lisp_Gui_Item): add accelerator.
1114 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1115 (gui_item_init): ditto.
1116 (gui_add_item_keywords_to_plist): ditto.
1117 (mark_gui_item): ditto.
1118 (gui_item_hash): ditto.
1119 (gui_item_accelerator): new function.
1120 (gui_name_accelerator): new function stolen from gui-x.c
1122 * gui-x.c (popup_selection_callback): always define. mark
1123 subwindows changed after calling a callback.
1124 (menu_name_to_accelerator): deleted.
1125 (button_item_to_widget_value): forward gui_item things to gui_item
1128 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1129 appropriate accesors.
1131 * glyphs-x.c: declare new glyph formats.
1132 (x_finalize_image_instance): unmanage and destroy widgets if they
1134 (x_unmap_subwindow): handle widgets specially.
1135 (x_map_subwindow): ditto. offset display of widgets by offset of
1136 text widget within container.
1137 (x_update_subwindow): new function. call lw_modify_all_widgets
1138 when we are a widget.
1139 (x_widget_instantiate): new function for generically creating
1140 widgets-glyphs. toolkit specifics forwarded to lwlib.
1141 (x_button_instantiate): new function for instantiating
1142 widgets-glyph buttons.
1143 (console_type_create_glyphs_x): register update_subwindow.
1144 (image_instantiator_format_create_glyphs_x): register widget and
1147 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1149 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1150 when we get a button press in case we do not have the focus.
1151 (handle_focus_event_1): set the keyboard focus to the text widget
1152 if we do not have it.
1154 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1157 1999-06-24 SL Baur <steve@miho.m17n.org>
1159 * syntax.c (scan_words): Restore non-Mule code.
1160 (word_constituent_p): Restore.
1162 1999-06-23 Olivier Galibert <galibert@pobox.com>
1164 * config.h.in: Add missing #undef *_USER_DEFINED.
1166 1999-06-23 SL Baur <steve@miho.m17n.org>
1168 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1169 int (fixes a 64-bit problem).
1171 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1174 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1176 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1178 1999-06-22 Olivier Galibert <galibert@pobox.com>
1180 * lrecord.h: Added basic external description system.
1182 * symbols.c: Added symbol, symbol-value-buffer-local,
1183 symbol-value-lisp-magic and symbol-value-varalias description.
1184 * mule-charset.c: Added charset description.
1185 * marker.c: Added marker description.
1186 * keymap.c: Added keymap description.
1187 * glyphs.c: Added glyph description.
1188 * floatfns.c: Added float description.
1189 * file-coding.c: Added coding-system description.
1190 * extents.c: Added extent description.
1191 * elhash.c: Added hash-table description.
1192 * data.c: Added weak-list desciption.
1193 * chartab.c: Added char-table-entry and char-table description.
1194 * bytecode.c: Added compiled-function description.
1195 * alloc.c: Added cons, vector and string description.
1197 1999-06-22 Olivier Galibert <galibert@pobox.com>
1199 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1200 Updated everything to the removal of the "flags" substructure.
1202 * lisp.h (subr_lheader_initializer): Updated.
1203 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1205 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1207 * syntax.c (word_constituent_p): Deleted.
1208 (scan_words): Use `WORD_BOUNDARY_P'.
1210 * chartab.c (Vword_combining_categories): New variable.
1211 (Vword_separating_categories): Likewise.
1212 (CATEGORYP): New macro.
1213 (CATEGORY_SET): Likewise.
1214 (CATEGORY_MEMBER): Likewise.
1215 (word_boundary_p): New function.
1216 (complex_vars_of_chartab): Set up new variable
1217 `word-combining-categories' and `word-separating-categories'.
1219 1999-06-18 Olivier Galibert <galibert@pobox.com>
1221 * lrecord.h: Added description as a placehold in the lrecord
1222 implementation structures. Added the parameter to all constructor
1225 * alloc.c: Added placeholders.
1227 * bytecode.c: Ditto.
1231 * database.c: Ditto.
1236 * event-stream.c: Ditto.
1240 * file-coding.c: Ditto.
1241 * floatfns.c: Ditto.
1249 * mule-charset.c: Ditto.
1253 * rangetab.c: Ditto.
1254 * specifier.c: Ditto.
1257 * tooltalk.c: Ditto.
1260 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1262 * XEmacs 21.2.17 is released
1264 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1266 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1267 (HAVE_LDAP_GET_LDERRNO): Ditto
1268 (HAVE_LDAP_RESULT2ERROR): Ditto
1269 (HAVE_LDAP_PARSE_RESULT): Ditto
1270 (HAVE_UMICH_LDAP): Removed
1271 (HAVE_NS_LDAP): Removed
1273 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1274 suggested by Olivier Galibert
1275 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1277 * eldap.c: Take the removal of `livep' into account in all the
1279 (signal_ldap_error): Take two additional parameters
1280 Added new finer compilation conditions in order to use
1281 ldap_parse_result or ldap_result2error if available
1282 (Fldap_open): Conform to this new API
1283 (Fldap_search_internal): Ditto
1285 1999-06-17 SL Baur <steve@miho.m17n.org>
1287 * data.c (struct int_or_double): Should use EMACS_INT not int.
1289 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1291 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1294 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1296 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1297 `CCL_MODE_ENCODING'.
1299 * file-coding.c (mule_decode): Run `ccl_driver' with
1300 `CCL_MODE_DECODING'.
1301 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1303 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1304 (ccl_driver): Add new argument `conversion_mode'.
1305 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1306 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1307 new optional argument].
1309 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1310 (CCL_MODE_DECODING): New macro.
1311 (ccl_driver): Add new argument `conversion_mode'.
1313 1999-06-15 SL Baur <steve@miho.m17n.org>
1315 * mule-charset.c (Fsplit_char): New subr.
1316 (Fchar_octet): delete.
1317 (syms_of_mule_charset): DEFSUBR it.
1319 1999-06-13 Andy Piper <andy@xemacs.org>
1321 * menubar.h: update declarations involving gui_items.
1323 * lisp.h: declare Lisp_Gui_Item.
1325 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1327 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1328 (print_image_instance): ditto.
1329 (image_instance_equal): ditto.
1330 (image_instance_hash): ditto.
1332 * event-msw.c (mswindows_need_event): assert badly_p status.
1333 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1334 callbacks in tree-view and tab-control widgets.
1335 (emacs_mswindows_next_event): modify use of
1336 mswindows_dequeue_dispatch_event.
1338 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1339 lisp-based gui_items.
1341 * glyphs-msw.c (mswindows_update_subwindow): update use of
1343 (mswindows_register_gui_item): new function.
1344 (mswindows_register_gui_item): fix to use lisp gui_items.
1345 (mswindows_widget_instantiate): ditto.
1346 (mswindows_button_instantiate): ditto.
1347 (add_tree_item): new function to recursively add tree view
1349 (add_tree_item_list): ditto.
1350 (mswindows_tree_instantiate): new function. instantiate tree view
1352 (add_tab_item): new function to add tabs to a tab control.
1353 (mswindows_tab_instantiate): new function. instantiate tab
1355 (image_instantiator_format_create_glyphs_mswindows): add tree view
1357 (vars_of_glyphs_mswindows): ditto.
1359 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1361 (check_valid_item_list): ditto.
1362 (initialize_widget_image_instance): fix to use new lisp gui_item.
1363 (widget_instantiate_1): allow the setting of default textwidth in
1365 (widget_instantiate): change to use new widget_instantiate_1
1367 (combo_instantiate): ditto.
1368 (static_instantiate): ditto.
1369 (tab_instantiate): new function for tab widgets.
1370 (image_instantiator_format_create_glyphs_widget): add tab and tree
1373 * menubar-msw.c (displayable_menu_item): convert to use lisp
1375 (populate_menu_add_item): ditto.
1376 (populate_or_checksum_helper): ditto.
1378 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1380 (Fmenu_find_real_submenu): ditto.
1382 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1384 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1385 objects, convert functions that use them accordingly.
1386 (gui_item_init): ditto.
1387 (gui_item_active_p): ditto.
1388 (gui_item_selected_p): ditto.
1389 (gui_item_included_p): ditto.
1390 (gui_item_display_flush_left): ditto.
1391 (gui_item_display_flush_right): ditto.
1392 (mark_gui_item): ditto.
1393 (allocate_gui_item): new function to create a gui_item.
1394 (make_gui_item_from_keywords_internal): ditto. create and return a
1395 gui_item as well as setting keywords.
1396 (gui_parse_item_keywords): ditto.
1397 (gui_parse_item_keywords_no_errors): ditto.
1398 (gui_add_item_keywords_to_plist): new function, not yet used.
1399 (gui_item_hash): new function.
1400 (gui_item_id_hash): use gui_item_hash.
1401 (gui_item_equal): new function.
1402 (print_gui_item): new function.
1404 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1406 * XEmacs 21.2.16 is released
1408 1999-06-10 Andy Piper <andy@xemacs.org>
1410 * select-msw.c (mswindows_own_selection): only set the clipboard
1412 (mswindows_get_foreign_selection): only get the clipboard if
1414 (mswindows_disown_selection): only disown the clipboard if asked.
1416 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1418 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1420 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1421 of coding-category `no-conversion'.
1423 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1425 * file-coding.c (Qraw_text): New variable.
1426 (syms_of_mule_coding): Add new symbol `raw-text'.
1427 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1428 define coding-system `binary' independently; define coding-system
1429 `no-conversion' as an alias for `raw-text'.
1431 * file-coding.h (Qraw_text): New variable.
1433 1999-06-08 SL Baur <steve@xemacs.org>
1435 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1437 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1439 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1441 (base64_decode_1): Signal errors instead of returning -1.
1443 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1445 * mule-charset.c (Fmake_char): Update docstring.
1447 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1449 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1451 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1453 * fns.c (base64_decode_1): Allow and ignore any non-base64
1454 characters in input.
1456 1999-05-27 Olivier Galibert <galibert@pobox.com>
1458 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1459 of report_pure_usage().
1461 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1463 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1465 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1467 * XEmacs 21.2.15 is released
1469 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1471 * frame.c (Fset_mouse_position):
1472 (Fset_mouse_pixel_position):
1473 * window.c (Fsplit_window):
1474 (Fmove_to_window_line):
1475 Fix crash when invoking functions with an already-deleted window
1478 * indent.c (vertical_motion_1):
1480 (Fvertical_motion_pixels):
1481 * window.c (Fwindow_displayed_text_pixel_height):
1482 Fix error message when invoking functions with an already-deleted
1485 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1487 * sysdep.c (request_sigio_on_device): Guard against glibc
1488 2.1's stub streams implementation.
1490 1999-06-03 SL Baur <steve@xemacs.org>
1493 * emacs.c: Implement x.y.z version numbers
1494 From Jan Vroonhof <vroonhof@math.ethz.ch>
1496 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1498 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1499 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1502 1999-06-03 SL Baur <steve@xemacs.org>
1505 * device-x.c: rename session option to wmcommand.
1506 From Oliver Graf <ograf@rhein-zeitung.de>
1508 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1510 * fns.c (Fsubstring): Don't traverse the same region twice with
1511 charcount_to_bytecount().
1513 1999-06-03 SL Baur <steve@steve1.m17n.org>
1515 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1518 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1519 doesn't really work as is implied by the commentary).
1520 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1522 1999-06-02 SL Baur <steve@steve1.m17n.org>
1524 * symsinit.h: Declare vars_of_ntproc.
1525 * emacs.c (main_1): Call it.
1527 * ntproc.c (syms_of_ntproc): Move variable initializations from
1529 (vars_of_ntproc): ... to here [new function].
1531 * file-coding.c (syms_of_file_coding): Rename.
1532 (vars_of_file_coding): Ditto.
1533 (complex_vars_of_file_coding): Ditto.
1535 * symsinit.h: Rename *_mule_coding to *_file_coding.
1537 * emacs.c (main_1): Call them by the proper name.
1539 * device-msw.c (syms_of_device_mswindows): Move variable
1540 initializations from here ...
1541 (vars_of_device_mswindows): ... to here.
1543 * chartab.c (vars_of_chartab): New function.
1545 * symsinit.h: New function, vars_of_chartab.
1547 * emacs.c (main_1): Call it.
1549 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1550 (vars_of_mule_canna): ... to here.
1552 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1553 initializations out of syms_of_mule_ccl.
1555 * symsinit.h: Declare new function vars_of_mule_ccl.
1557 * emacs.c (main_1): Call it.
1559 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1561 * fns.c (base64_decode_1): Ignore whitespace.
1563 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1565 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1568 1999-05-21 Andy Piper <andy@xemacs.org>
1570 * xselect.c: deleted.
1572 * symsinit.h: declare select initialisation.
1574 * select.h: new file. declare commonly used select functions and
1577 * select.c: new file. generalised from xselect.c.
1578 (clean_local_selection_data): moved from xselect.c.
1579 (get_local_selection): ditto. device specific pieces called via a
1581 (handle_selection_clear): ditto.
1582 (Fown_selection_internal): renamed and generalised from
1583 Fx_own_selection_internal. moved from xselect.c.
1584 (Fdisown_selection_internal): ditto.
1585 (Fselection_owner_p): ditto.
1586 (Fselection_exists_p): ditto.
1587 (Fget_selection_internal): ditto.
1588 (syms_of_select): new function. QXXXX values moved from xselect.c
1589 (vars_of_select): new function. selection_converter_alist,
1590 lost_selection_hooks moved and renamed from xselect.c
1592 * select-x.c: renamed from xselect.c.
1593 (x_own_selection): converted to device specific. non-X-specific
1594 bits moved to select.c.
1595 (x_get_foreign_selection): ditto.
1596 (x_disown_selection): ditto.
1597 (x_selection_exists_p): ditto.
1598 (console_type_create_select_x): new function.
1600 * select-msw.c (mswindows_own_selection): new device method to set
1601 the clipboard when we 'own' the selection.
1602 (mswindows_get_foreign_selection): new device method to get the
1604 (mswindows_disown_selection): new device method to delete the
1605 selection when we 'disown' it.
1606 (console_type_create_select_mswindows): new function.
1608 * emacs.c (main_1): add select to things to initialise.
1610 * console.h (struct console_methods): new console methods for
1613 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1615 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1617 * print.c (long_to_string): Install a faster version.
1619 1999-05-16 Andy Piper <andy@xemacs.org>
1621 * ntproc.c (syms_of_ntproc): default
1622 win32-start-process-share-console to t.
1624 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1626 * config.h.in: Do it here.
1628 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1630 1999-05-14 Andy Piper <andy@xemacs.org>
1632 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1635 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1637 * XEmacs 21.2.14 is released
1639 1999-05-12 Andy Piper <andy@xemacs.org>
1641 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1643 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1645 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1646 run_temacs_argv array -- fixes random memory corruption crash
1648 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1650 * window.c (Fcurrent_window_configuration):
1651 Save minibuffer height;
1653 * window.c (set_window_configuration): use it.
1655 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1657 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1659 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1661 * redisplay.c (redisplay_window): Do not put data
1662 in the line start cache if it is not guaranteed to be correct
1664 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1666 * window.c (struct window_config): Removed frame
1668 (window_config_equal): No longer compare frame sizes.
1669 (Fset_window_configuration): Resize old top window to fit in the
1670 current frame directly, no longer use a fake frame resize.
1671 (Fcurrent_window_configuration): No longer save frame size
1673 1999-05-11 Andy Piper <andy@xemacs.org>
1675 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1678 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1680 * sysdep.c (init_system_name): If gethostname gives a proper
1681 domain name, don't look further for one.
1683 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1685 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1686 (Fintern_soft): Accept a symbol argument.
1688 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1690 * symbols.c (Fintern): ...do it here.
1692 * lread.c (read_atom): Don't handle keywords here.
1694 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1696 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1698 1999-05-03 Olivier Galibert <galibert@pobox.com>
1700 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1701 is interned in the main obarray.
1703 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1705 * menubar-x.c (pre_activate_callback): set accelerator field in
1706 "No menu" entries to nil. Avoid crash in
1707 command_builder_operate_menu_accelerator
1709 1999-05-03 Olivier Galibert <galibert@pobox.com>
1711 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1713 * lisp.h (DEFUN): Fix lrecord header initialisation.
1715 1999-05-02 Andy Piper <andy@xemacs.org>
1717 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1719 * ntproc.c (sys_kill): cast using MS mandated defines.
1721 1999-04-29 Andy Piper <andy@xemacs.org>
1723 * m/intel386.h: remove redundant definitions.
1725 * s/mingw32.h: new header for mingw32.
1727 * unexnt.c: (open_input_file): function moved to nt.c.
1728 (close_file_data): ditto.
1729 (rva_to_section): function moved to ntproc.
1731 * symsinit.h: declare syms_of_ntproc();
1733 * objects-msw.c (mswindows_font_instance_truename): new function.
1735 * ntproc.c: remove many warnings.
1736 (_sys_read_ahead): moved from nt.c and made static.
1737 (rva_to_section): moved from unexnt.c but not defined under
1739 (win32_executable_type): implement what we can for mingw32
1741 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1743 * ntheap.h: remove declarations of functions that are now static.
1745 * ntheap.c: support static heap.
1747 * nt.h: conditionalise X_OK definition.
1749 * nt.c: eliminate many warnings and support mingw32.
1750 (open_input_file): function moved from unexnt.c and made static
1751 (close_file_data): ditto.
1752 (_sys_read_ahead): moved to ntproc.c
1754 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1756 * console-msw.h: support mingw32.
1757 * getloadavg.c: ditto.
1764 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1765 some systems don't have all of the encapsulated system calls.
1767 * callproc.c: warning elimination.
1768 * dired-msw.c: ditto.
1769 * process-nt.c: ditto.
1770 * realpath.c: ditto.
1772 * Makefile.in.in: tweak : and ; for building under mswindows.
1774 1999-04-26 Michael Harnois <mharnois@willinet.net>
1776 * eldap.c (allocate_ldap): Adapt to the new semantics of
1777 alloc_lcrecord_type().
1779 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1781 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1783 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1785 * Delete mule-coding.c and mule-coding.h because they are not
1788 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1790 * objects.c (print_font_instance): Check for NILP(f->device),
1791 i.e. Vthe_null_font_instance.
1792 (font_instance_truename_internal): ditto.
1793 (Ffont_instance_properties): ditto.
1795 1999-04-22 Olivier Galibert <galibert@pobox.com>
1797 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1800 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1802 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1803 it easier to add new ones.
1805 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1807 * symbols.c (reject_constant_symbols): Ditto.
1808 (init_symbols_once_early): Ditto.
1810 * print.c (print_symbol): Don't use ->obarray.
1812 * symbols.c (Funintern): Ditto.
1814 * alloc.c (Fmake_symbol): Don't set ->obarray.
1816 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1818 * symbols.c (init_symbols_once_early): Removed
1819 Vpure_uninterned_symbol_table.
1820 (Fintern): Don't store to ->obarray field.
1822 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1824 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1825 (eq_with_ebola_notice): Remove abracadabra support.
1827 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1829 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1830 retrieve the distinguished names of entries
1832 1999-03-08 Martin Buchholz <martin@xemacs.org>
1834 * lread.c (read_escape): Make hex escapes read only two hex digits.
1836 1999-04-05 Olivier Galibert <galibert@pobox.com>
1838 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1839 * make-src-depend: Remove puresize-adjust.h.
1840 * src-headers: Remove puresize-adjust.h.
1841 * config.h.in: Kill everything purespace/gung-ho related.
1843 * dbxrc: Make gung-ho mandatory.
1846 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1847 c_readonly and lisp_readonly. Remove implementation arrays.
1848 (C_READONLY_RECORD_HEADER_P): Added.
1849 (LISP_READONLY_RECORD_HEADER_P): Added.
1850 (SET_C_READONLY_RECORD_HEADER): Added.
1851 (SET_LISP_READONLY_RECORD_HEADER): Added.
1853 * lisp.h: Kill everything purespace/non gung-ho related.
1854 (CHECK_C_WRITEABLE): Added.
1855 (CHECK_LISP_WRITEABLE): Added.
1856 (C_READONLY): Added.
1857 (LISP_READONLY): Added.
1859 * lisp-union.h: Make gung-ho mandatory.
1860 * lisp-disunion.h: Ditto.
1862 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1863 set_lheader_implementation calls.
1864 (c_readonly): Added.
1865 (lisp_readonly): Added.
1866 (make_string_nocopy): Added.
1867 (Fpurecopy): Changed to do nothing. Kept the old documentation
1868 for reference purposes for the next patches.
1869 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1870 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1871 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1873 * fns.c: Make gung-ho mandatory.
1874 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1876 (Ffillarray): Ditto.
1878 * data.c: Make gung-ho mandatory.
1879 (pure_write_error): Removed.
1880 (c_write_error): Added.
1881 (lisp_write_error): Added.
1882 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1886 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1887 make_string or make_string_nocopy. Fix various
1888 alloc_lcrecord_type.
1890 * lread.c: Remove everything purespace related.
1891 (Flocate_file_clear_hashing): purified -> c_readonly.
1892 (locate_file): Ditto.
1893 (read_atom): make_pure_pname -> make_string.
1895 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1897 (Fdump_emacs): Ditto.
1899 * print.c (print_internal): Make gung-ho mandatory.
1900 * ntheap.c (sbrk): Ditto.
1901 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1902 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1904 * sheap.c (more_static_core): Remove puresize-adjust.h from
1907 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1909 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1910 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1911 * events.c (deinitialize_event): Fix set_lheader_implementation.
1912 (zero_event): Ditto.
1913 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1914 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1915 * mule-charset.c (make_charset): Ditto.
1916 * console.c (allocate_console): Ditto.
1917 (complex_vars_of_console): Ditto.
1918 * file-coding.c (allocate_coding_system): Ditto.
1919 * device.c (allocate_device): Ditto
1920 * gui-x.c (gcpro_popup_callbacks): Ditto.
1921 * extents.c (allocate_extent_auxiliary): Ditto.
1922 (allocate_extent_info): Ditto.
1923 (copy_extent): Ditto.
1924 * glyphs.c (allocate_image_instance): Ditto.
1925 (allocate_glyph): Ditto.
1926 * frame.c (allocate_frame_core): Ditto.
1927 * database.c (allocate_database): Ditto.
1928 * tooltalk.c (make_tooltalk_message): Ditto.
1929 (make_tooltalk_pattern): Ditto.
1930 * rangetab.c (Fmake_range_table): Ditto.
1931 (Fcopy_range_table): Ditto.
1932 * process.c (make_process_internal): Ditto.
1933 * chartab.c (Fmake_char_table): Ditto.
1934 (make_char_table_entry): Ditto.
1935 (copy_char_table_entry): Ditto.
1936 (Fcopy_char_table): Ditto.
1937 * elhash.c (make_general_lisp_hash_table): Ditto.
1938 (Fcopy_hash_table): Ditto.
1939 * buffer.c (allocate_buffer): Ditto.
1940 (complex_vars_of_buffer): Ditto.
1941 * event-stream.c (allocate_command_builder): Ditto.
1942 * objects.c (Fmake_color_instance): Ditto.
1943 (Fmake_font_instance): Ditto.
1944 (vars_of_objects): Ditto.
1945 * toolbar.c (update_toolbar_button): Ditto.
1946 * window.c (allocate_window): Ditto.
1947 (make_dummy_parent): Ditto.
1948 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1949 (vars_of_window): Fix make_lcrecord_list.
1950 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1952 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1953 * opaque.c (make_opaque): Fix alloc_lrecord.
1954 (make_opaque_list): Fix alloc_lrecord_type.
1956 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1958 * process.c (Fstart_process_internal): Ditto.
1960 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1963 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1965 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1968 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1969 (emodules_load): Use it when calling locate_file().
1971 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1974 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1975 (vars_of_callproc): Initialize it.
1976 (Fcall_process_internal): Use it when calling locate_file().
1978 * alloc.c (disksave_object_finalization): Use
1979 Flocate_file_clear_hashing().
1981 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1982 given `t' as argument.
1984 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1986 * lread.c (locate_file): Expand `pathel' when appropriate.
1987 (Flocate_file_clear_hashing): Expand path elements.
1988 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1990 * dired.c (make_directory_hash_table): Create the hash-table only
1991 if the directory open is successful.
1993 * lread.c (decode_mode_1): New function.
1994 (decode_mode): Ditto.
1995 (Flocate_file): Use them.
1996 (Flocate_file): Expand FILENAME.
1997 (locate_file_map_suffixes): New function.
1998 (locate_file_in_directory_mapper): New function.
1999 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2000 and locate_file_map_suffixes().
2001 (locate_file_construct_suffixed_files): Use
2002 locate_file_map_suffixes().
2003 (locate_file_without_hash): Don't GCPRO path.
2004 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2005 (syms_of_lread): Remove Qlocate_file_hash_table.
2006 (locate_file_find_directory_hash_table): Use
2007 Vlocate_file_hash_table.
2008 (locate_file_refresh_hashing): Ditto.
2010 * lread.c: Renamed read_objects to Vread_objects.
2012 1999-04-16 Olivier Galibert <galibert@pobox.com>
2014 * mule-charset.c: Generally resync with fsf 20.3 charset
2016 (make_charset): Add long and short name. Use id instead of
2018 (Fmake_charset): Ditto.
2019 (Fmake_reverse_direction_charset): Ditto.
2020 (Fcharset_property): Ditto.
2021 (Fcharset_short_name): Added.
2022 (Fcharset_long_name): Added.
2023 (Fcharset_description): Renamed from charset-doc-string.
2024 (syms_of_mule_charset): Synced symbols.
2025 (complex_vars_of_mule_charset): Synced charsets.
2027 * mule-charset.h: Removed leading byte (uses id instead), added
2028 short and long name.
2030 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2032 * file-coding.c (Fdefine_coding_system_alias): New function.
2034 1999-04-08 Olivier Galibert <galibert@pobox.com>
2036 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2037 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2039 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2041 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2042 attach to the extent is valid.
2044 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2046 * dired.c (user_name_completion): Mule-ize.
2047 (user_name_completion): Use xmalloc/xrealloc/xfree.
2048 (user_name_completion): Use DO_REALLOC.
2049 (user_name_completion): Cut down the number of static variables;
2051 (user_name_completion): Username completion is always
2054 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2056 * fns.c (base64_decode_1): Remove COUNTER.
2057 (base64_decode_1): Accept CRLF in addition to CR.
2058 (base64_decode_1): Disallow a stray character after final EOF; the
2059 check was probably a remnant of buggy recode code.
2061 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2063 * fns.c (init_provide_once): Provide `base64'.
2065 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2067 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2068 (Fbase64_encode_region): If buffer is read-only, bail out early.
2069 (Fbase64_decode_region): Ditto.
2070 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2072 (Fbase64_encode_string): Ditto.
2073 (Fbase64_decode_region): Ditto.
2074 (Fbase64_decode_string): Ditto.
2076 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2078 * dired.c (Fdirectory_files): Remove redundant code.
2080 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2082 * frame-msw.c Make raise-frame restore minimised windows.
2084 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2086 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2089 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2091 * toolbar-msw.c Consider captions when deciding whether to rebuild
2092 toolbar. This fixes the initial toolbar display for those of us
2093 who don't like captions. These patches applied by Andy Piper.
2095 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2097 * XEmacs 21.2.13 is released
2099 1999-03-12 SL Baur <steve@xemacs.org>
2101 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2103 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2105 * file-coding.c: docstring and comment improvements.
2106 (decode_ucs4) flag possible data loss with comment.
2108 1999-03-10 Martin Buchholz <martin@xemacs.org>
2110 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2114 (decode_coding_ucs4):
2115 (encode_coding_ucs4):
2116 (detect_coding_utf8):
2117 (decode_coding_utf8):
2119 (encode_coding_utf8):
2120 Add CHECK_* macros where needed to avoid crashes.
2121 #ifdef out all composite character support using
2122 #ifdef ENABLE_COMPOSITE_CHARS
2123 Use normal XEmacs coding standards.
2125 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2127 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2129 * file-coding.c (make-coding-system): Add description about
2130 `ucs-4' and `utf-8'.
2131 (detection_state): Modify to implement ucs-4 and utf-8.
2132 (detect_coding_type): Likewise.
2133 (detect_coding_ucs4): New implementation.
2134 (detect_coding_utf8): New implementation.
2135 (encode_utf8): fixed.
2136 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2139 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2141 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2142 2022 registry to private area.
2144 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2146 * file-coding.c (encode_utf8): New function.
2147 (encode_coding_utf8): New implementation.
2149 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2151 * file-coding.c (ucs_to_mule_table): New variable; abolish
2152 `Vucs_to_mule_table'
2153 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2154 (set-ucs-char): New function.
2155 (ucs_to_char): New function.
2156 (ucs-char): New function.
2157 (set-char-ucs): New function.
2158 (char-ucs): New function.
2159 (decode_ucs4): Use `ucs_to_char'.
2160 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2161 `mule-to-ucs-table'.
2163 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2165 * chartab.h: EXFUN `Fget_char_table'.
2167 * file-coding.c (encode_ucs4): New function.
2168 (encode_coding_ucs4): Use `encode_ucs4'.
2170 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2172 * file-coding.c (decode_coding_ucs4): New implementation.
2174 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2176 * file-coding.c (decode_coding_ucs4): fixed.
2178 * file-coding.c (Vmule_to_ucs_table): New variable.
2179 (mule_char_to_ucs4): New function.
2180 (encode_coding_ucs4): New implementation.
2181 (complex_vars_of_mule_coding): Define variable
2182 `mule-to-ucs-table'.
2184 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2186 * file-coding.c (decode_coding_utf8): New implementation.
2188 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2190 * file-coding.c (decode_coding_utf8): fixed.
2192 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2194 * file-coding.c (Vucs_to_mule_table): New variable.
2195 (decode_ucs4): Refer `Vucs_to_mule_table'.
2196 (complex_vars_of_mule_coding): Define variable
2197 `ucs-to-mule-table'.
2199 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2201 * file-coding.c (detect_coding_ucs4): New function (not
2203 (decode_coding_ucs4): New function.
2204 (encode_coding_ucs4): New function (not implemented yet).
2205 (detect_coding_utf8): New function (not implemented yet).
2206 (decode_coding_utf8): New function.
2207 (encode_coding_utf8): New function (not implemented yet).
2208 (make-coding-system): New type `ucs4' and `utf8'.
2209 (coding-system-type): Likewise.
2210 (detection_state): Add `ucs4' and `utf8'.
2211 (detect_coding_type): Likewise.
2212 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2213 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2214 (decode_ucs4): New function (very incomplete).
2215 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2217 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2219 1999-03-08 Martin Buchholz <martin@xemacs.org>
2222 (non_ascii_valid_char_p):
2223 (lookup_composite_char):
2224 (composite_char_string):
2225 (make-composite-char):
2226 (composite-char-string):
2227 (syms_of_mule_charset):
2228 (complex_vars_of_mule_charset):
2229 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2230 (CHAR_LEADING_BYTE):
2232 * file-coding.h (CODING_STATE_COMPOSITE):
2233 (CODING_STATE_ISO2022_LOCK):
2235 (LEADING_BYTE_COMPOSITE):
2236 * file-coding.c (struct iso2022_decoder):
2239 (parse_iso2022_esc):
2240 (encode_coding_iso2022):
2241 #ifdef out all composite character support using
2242 #ifdef ENABLE_COMPOSITE_CHARS
2244 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2246 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2248 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2249 way of `Fbase64_encode_region'.
2251 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2253 * fns.c (base64_encode_1): Don't add a newline at the tail.
2255 1999-03-08 Andy Piper <andy@xemacs.org>
2257 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2260 1999-03-07 Martin Buchholz <martin@xemacs.org>
2262 * console-stream.h (struct stream_console):
2263 * event-unixoid.c (event_stream_unixoid_select_console):
2264 (event_stream_unixoid_unselect_console):
2265 * print.c (Fexternal_debugging_output):
2266 * sysdep.c (reset_one_device):
2267 * console-stream.c (stream_init_console):
2268 (stream_delete_console):
2269 (allocate_stream_console_struct): move into stream_init_console.
2270 (free_stream_console_struct): move into stream_delete_console.
2271 Use `fd' only for file descriptors.
2272 Therefore, rename members of struct stream_console.
2274 * systime.h: Unix98 says sys/time.h should define select(), but
2275 some systems define that in unistd.h. So include that file always.
2277 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2278 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2279 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2281 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2285 Add #include <stdio.h>.
2286 Some versions of assert.h use printf() without #include'ing stdio.h
2288 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2289 (log_gcpro): Remove unused variable FRAME.
2290 (show_gcprohist): Ansify.
2291 Comment the #endif's
2293 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2294 after it's just been XtDestroy'ed!
2296 1999-02-18 Martin Buchholz <martin@xemacs.org>
2298 * opaque.c (print_opaque):
2302 Egcs 1.1.1 seems to have a bug where
2303 INTP (p->size_or_chain)
2304 will crash XEmacs. Fix by introducing intermediate variable.
2306 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2308 * dired.c (Fdirectory_files):
2309 (Ffile_name_completion):
2310 (Ffile_name_all_completions):
2311 (file_name_completion):
2312 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2313 avoid compiler warnings.
2314 - Fix up docstrings so that C variables match documentation.
2316 1999-03-05 Martin Buchholz <martin@xemacs.org>
2318 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2319 variables as small as possible to help out the compiler and the maintainer.
2321 * alloc.c: (disksave_object_finalization):
2322 Set all the *-load-path variables to
2323 nil, not just load-path itself. This gets the locate-file hash
2324 tables garbage collected BEFORE dump, and has the side effect of
2325 preventing crashes on OSF4.0+egcs.
2330 - Clean up gdb/dbx debugging support.
2331 - Storing an EMACS_INT in an enum is not 64-bit clean!
2332 - So change the enum to a set of separate variables.
2333 - Add test cases to help debug the debugging support!
2334 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2335 - Both dbx and gdb have been tested now.
2337 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2339 * XEmacs 21.2.12 is released
2341 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2343 * device-x.c: Support to find best visual without flashing.
2345 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2347 * database.c (berkdb_map): Add flags argument to cursor call (must
2348 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2350 1999-03-03 Martin Buchholz <martin@xemacs.org>
2354 General cleanup. Get free-hook.c working again.
2355 Remove unused functions:
2356 make_strings_hash_table, copy_hash, expand_hash_table.
2360 Always use new ANSI-style function prototypes.
2362 * unexalpha.c (unexec): Never use implicit int.
2364 * sgiplay.c (close_sound_file):
2366 (restore_audio_port):
2371 (write_mulaw_8_chunk):
2372 (write_linear_chunk):
2373 (write_linear_32_chunk):
2374 (initialize_audio_port):
2377 (set_output_format):
2378 (adjust_audio_volume):
2379 (get_current_volumes):
2381 Always use new ANSI-style function prototypes.
2382 Use unistd.h for missing prototypes.
2384 * unexelfsgi.c (round_up):
2386 (unexec): Always use new ANSI-style function prototypes
2388 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2390 * console.h (struct console_methods): Always use full ANSI prototypes
2392 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2394 1999-03-02 Andy Piper <andy@xemacs.org>
2396 * event-stream.c (init_event_stream): make sure native mswindows
2397 gets an appropriate event loop.
2399 1999-02-22 Andy Piper <andy@xemacs.org>
2401 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2402 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2403 (mswindows_raise_frame): remove comment.
2405 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2407 * XEmacs 21.2.11 is released
2409 1999-02-25 SL Baur <steve@xemacs.org>
2411 * mule-charset.c (Qleading_byte): New variable to implement
2412 charset-leading-byte function.
2413 (Fcharset_property): Use it.
2414 (syms_of_mule_charset): Initialize it.
2415 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2417 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2419 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2420 bytes per pixel counting.
2422 1999-02-15 Andy Piper <andy@xemacs.org>
2424 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2427 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2429 * fns.c (Fbase64_encode_string): New optional argument
2432 1999-02-16 Martin Buchholz <martin@xemacs.org>
2434 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2435 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2437 1999-02-10 Martin Buchholz <martin@xemacs.org>
2439 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2440 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2442 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2444 * XEmacs 21.2.10 is released
2446 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2448 * process-nt.c (nt_send_process):
2449 Fix for process-send-region/process-send-string breaking when size
2450 of the input > 128 chars: change maximum chunk size for process
2451 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2454 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2456 * XEmacs 21.2.9 is released
2458 1999-01-30 Martin Buchholz <martin@xemacs.org>
2460 * bytecode.c (funcall_compiled_function): Call
2461 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2463 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2464 #ifdef 0 out unused macro.
2466 1999-01-27 Martin Buchholz <martin@xemacs.org>
2468 * gui.c (gui_parse_item_keywords_internal): Make static.
2470 1999-01-21 Andy Piper <andy@xemacs.org>
2472 * glyphs-msw.c: add xface support.
2473 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2474 (image_instantiator_format_create_glyphs_mswindows): do device
2475 specific initialisation for xfaces.
2476 (xbm_create_bitmap_from_data): line data must be padded to a word
2479 * glyphs-x.c (xface_validate): moved to glyphs.c
2480 (xface_normalize): ditto.
2481 (xface_possible_dest_types): ditto.
2482 (image_instantiator_format_create_glyphs_x): do device specific
2483 initialisation for xfaces.
2485 * glyphs.h: declare xface symbol.
2487 * glyphs.c: move generic xface support here.
2488 (xface_validate): moved from glyphs-x.c
2489 (xface_normalize): ditto.
2490 (xface_possible_dest_types): ditto.
2491 (image_instantiator_format_create): xface declarations moved from
2494 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2496 * event-stream.c (vars_of_event_stream): Fixing documentation.
2498 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2500 * glyphs-eimage.c (gif_instantiate): Correct handling of
2501 interlaced gifs to avoid writing past the end of the eimage
2504 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2506 * search.c (Freplace_match): Handle single backslash at end of
2509 1999-01-12 William M. Perry <wmperry@aventail.com>
2511 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2512 avoid connection errors.
2514 1999-01-12 Andy Piper <andy@xemacs.org>
2516 * redisplay-output.c (redisplay_update_line): backout change that
2517 shouldn't have gone ine.
2519 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2521 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2522 collide with ldap.el
2524 1999-01-11 Andy Piper <andy@xemacs.org>
2526 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2527 (DISPLAY_LINE_YPOS): new macro.
2529 * redisplay-msw.c (mswindows_output_string): use it.
2530 (mswindows_output_pixmap): ditto.
2531 (mswindows_output_display_block): ditto.
2533 * redisplay-output.c (redisplay_output_display_block): new
2534 function. just call the devmeth, maybe insert some generic code
2536 (compare_display_blocks): use it.
2537 (output_display_line): ditto.
2538 (redisplay_unmap_subwindows_maybe): new function. potentially
2539 unmap subwindows in the given area.
2541 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2544 1999-01-10 J. Kean Johnston <jkj@sco.com>
2546 * Makefile.in.in: Set value of moduledir
2547 - Changed DUMPENV to include $(MODULEPATH)
2548 - Added install rule to install header files for use by ellcc.
2550 * config.h.in: Added INHIBIT_SITE_MODULES
2551 - Added HAVE__DLERROR
2552 - Added HAVE_DLFCN_H
2553 - Added DLSYM_NEEDS_UNDERSCORE
2557 * emodules.c: New file containing dynamic loading code.
2559 * emodules.h: New file.
2561 * emacs.c: Added variables Vmodule_directory,
2562 Vsite_module_directory, Vconfigure_module_directory and
2563 Vconfigure_site_module_directory.
2564 - (main_1): Added new variable inhibit_site_modules and command
2565 line options `-no-site-modules' and `--no-site-modules'.
2566 - (main_1): Call syms_of_module() instead of syms_of_dll().
2567 - (main_1): Call vars_of_module().
2568 - (vars_of_emacs): Introduce inhibit-site-modules,
2569 module-directory, configure-module-directory,
2570 site-module-directory, and configure-site-module-directory to the
2573 * lisp.h: Declare load_module and list_modules, as well as
2574 Vmodule_directory, Vsite_module_directory,
2575 Vconfigure_module_directory and Vconfigure_site_module_directory.
2577 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2578 - Added correct support for site-lisp directory.
2580 * symbols.c (defsubr): Modified to allow modules to add new subrs
2582 - (defsubr_macro): Same.
2583 - (defvar_magick): Only use purespace when not initialized, so
2584 that loaded modules can still add symbols.
2586 * symsinit.h: Add definitions for syms_of_module(),
2587 vars_of_module(). Removed syms_of_dll().
2589 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2590 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2591 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2593 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2594 explicitly pass -belf for native cc.
2596 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2597 hard-coding the library name.
2599 1999-01-01 <martin@xemacs.org>
2601 * device-x.c (Fx_set_font_path):
2602 Add proper cast to permit compilation under C++.
2604 * buffer.c (directory_is_current_directory):
2605 Add proper casts to permit compilation under C++.
2607 1998-12-30 Damon Lipparelli <lipp@primus.com>
2609 * event-msw.c (mswindows_wnd_proc):
2610 Fixed failure when building with MSVC 5.
2612 1998-12-29 Martin Buchholz <martin@xemacs.org>
2614 * file-coding.c (decode_coding_iso2022):
2615 - Prevent crash when decoding ISO7/Lock detected files
2616 - the usual martin fiddling
2618 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2622 Fixed failures when building with MSVC.
2623 * unexnt.c (dump_bss_and_heap):
2624 Removed compiler warning by removing bss_data variable.
2626 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2628 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2629 so that packages that distribute their own fonts can access them.
2631 1998-12-28 Andy Piper <andy@xemacs.org>
2633 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2634 that have an image provided.
2636 * glyphs.h: add Q_image decl.
2638 * glyphs-widget.c new functionality allowing images in
2640 (check_valid_glyph_or_image): new function to validate
2641 glyphs passed in through :image.
2642 (widget_normalize): new function. convert :image parameters into
2643 real glyphs if not already so.
2644 (widget_instantiate_1): mess with size parameters to be similar to
2646 (syms_of_glyphs_widget): new keyword :image.
2647 (image_instantiator_format_create_glyphs_widget): normalize
2648 buttons and allow :image.
2650 1998-12-27 Andy Piper <andy@xemacs.org>
2652 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2654 * glyphs-widget.c (check_valid_anything): no-op function.
2655 (check_valid_callback): check callbacks in gui_items.
2656 (check_valid_symbol): as it sounds.
2657 (check_valid_string_or_vector): ditto.
2658 (widget_validate): modified for descriptors that are vectors or
2659 sequences of keyword/val pairs.
2660 (widget_instantiate_1): ditto.
2661 (image_instantiator_format_create_glyphs_widget): allow gui_item
2662 keywords in the instantiator.
2664 * gui.c (gui_parse_item_keywords_internal): renamed from
2665 gui_parse_item_keywords but taking error behaviour.
2666 (gui_parse_item_keywords): use it.
2667 (gui_parse_item_keywords_no_errors): ditto.
2668 (gui_item_add_keyval_pair): add Error_behavior flag and only
2669 signal invalid keywords if required.
2671 * gui.h: new gui signatures.
2673 * menubar.c (menu_parse_submenu_keywords): use new
2674 gui_item_add_keyval_pair signature.
2676 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2678 1998-12-28 Martin Buchholz <martin@xemacs.org>
2680 * XEmacs 21.2.8 is released.
2682 1998-12-28 Martin Buchholz <martin@xemacs.org>
2684 * editfns.c (get_home_directory):
2685 (user-home-directory): Simplify.
2688 * callproc.c (child_setup):
2689 - Environment variables were being passed to inferior processes
2690 using internal encoding.
2691 - Convert to external encoding.
2692 - Rename local var `tem' to better name `tail'.
2693 - Use Flength instead of `manual' calculation.
2695 * buffer.c (kill-buffer):
2697 (set-buffer-major-mode):
2699 - Fix up parameter names to correspond to docstrings.
2700 - Don't use `bufname' when a buffer will do as well.
2701 - Remove one unneeded GCPRO.
2703 * buffer.h (initial_directory):
2704 * buffer.c (init_initial_directory):
2705 - use correct conversions between internal and external format.
2706 (directory_is_current_directory): new function
2707 (init_buffer): convert initial_directory to internal format.
2708 - solve crashes when current working directory is non-ASCII.
2710 * alloc.c (xmalloc):
2713 - remove stupid casts, since XEmacs requires an ANSI C system.
2714 (lrecord_type_index): replace abort() with more readable assert().
2716 (reset_lcrecord_stats): remove.
2717 (sweep_lcrecords_1):
2718 - replace call to reset_lcrecord_stats() with call to xzero().
2720 1998-12-27 Martin Buchholz <martin@xemacs.org>
2722 * process-unix.c (unix_create_process):
2723 - Fix crash invoking program with non-ASCII name.
2724 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2725 - Remove unused variable `env'.
2726 - Rename `temp' to better name `save_errno'.
2727 - Reorganize code for clarity. But still too chicken to nuke the
2730 1998-12-24 Martin Buchholz <martin@xemacs.org>
2732 * XEmacs 21.2.7 is released.
2734 1998-12-23 Martin Buchholz <martin@xemacs.org>
2736 * glyphs.c (decode_device_ii_format):
2738 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2740 * glyphs-x.c (x_subwindow_instantiate):
2741 - A image instance mask was being assigned to a image instance type!
2742 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2744 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2746 * glyphs-x.h: Make indentation consistent.
2748 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2750 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2752 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2756 Move declarations of decode_device_ii_format and
2757 decode_image_instantiator_format into glyphs.h where they belong.
2759 1998-12-22 Martin Buchholz <martin@xemacs.org>
2761 * frame-x.c (x_delete_frame): Revert part of my changes at the
2762 suggestion of Gunnar Evermann - unfortunately no one really
2763 understands this code.
2765 * callproc.c (init_callproc): code cleanup.
2767 * free-hook.c (malloc):
2772 (block_input_malloc):
2773 (block_input_realloc):
2774 * device-x.c (x_delete_device):
2775 * emacs.c (voodoo_free_hook):
2776 * events.c (print_event):
2778 (CHECK_EVENT_TYPE2):
2779 (CHECK_EVENT_TYPE3):
2780 Use proper prototypes.
2781 Make C_E_T macros a little faster.
2782 Pedantic fiddly little changes. You really don't care.
2784 1998-12-22 Andy Piper <andy@xemacs.org>
2786 * redisplay-output.c (redisplay_clear_region): make sure that
2787 fg/bg colors get set even when we are in the border area.
2789 1998-12-13 Martin Buchholz <martin@xemacs.org>
2791 * console-msw.c: Function definitions follow coding standards
2792 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2794 1998-12-11 Martin Buchholz <martin@xemacs.org>
2796 * events.h (struct timeout_data):
2797 * event-tty.c (tty_timeout_to_emacs_event):
2798 * event-msw.c (mswindows_wm_timer_callback):
2799 * event-Xt.c (Xt_timeout_to_emacs_event):
2800 * event-msw.c (mswindows_cancel_dispatch_event):
2801 Make sure Lisp_Objects inside events are initialized to Qnil, not
2802 Qnull_pointer, which is now illegal.
2804 1998-12-10 Martin Buchholz <martin@xemacs.org>
2806 * lisp.h: Fix up prototypes to match alloc.c
2808 1998-12-08 Martin Buchholz <martin@xemacs.org>
2810 * windowsnt.h: Remove `support' for using index and rindex
2812 * filelock.c (current_lock_owner):
2813 - Change uses of index -> strchr, rindex -> strrchr
2815 1998-12-07 Martin Buchholz <martin@xemacs.org>
2817 * sysdep.c (set_descriptor_non_blocking):
2818 Since O_NONBLOCK is now always #defined, make use of fcntl
2819 conditional on F_SETFL being defined.
2821 * console-msw.c (DHEADgER):
2830 - max_align_t should not be visible to the user of the
2832 - use Bufbyte instead of char
2833 - parens around (FOOP (obj)) are always redundant.
2834 If they were necessary, we should fix the macro instead.
2835 - Always use string_data(foo) instead of foo->data.
2838 1998-12-06 Martin Buchholz <martin@xemacs.org>
2840 * frame-msw.c (mswindows_init_frame_1):
2841 - use make_lisp_hash_table, not Fmake_hash_table
2845 * alloc.c (make_vector): remove travesty
2849 (make_bit_vector_internal):
2851 (make_bit_vector_from_byte_vector):
2853 - make vector_equal a little faster.
2854 - Don't use variable name `new'.
2855 - Use size_t instead of EMACS_INT.
2856 - usual Martin-style pointless bit-twiddling.
2862 Make mapcar faster. In particular, make
2863 (mapc #'identity long-string)
2864 MUCH faster under Mule.
2865 * tests/automated/lisp-tests.el: Test 'em!
2867 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2870 1998-12-01 Martin Buchholz <martin@xemacs.org>
2872 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2873 Qnil, not NULL, to initialize `null' Lisp_Objects.
2875 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2877 * specifier.c (display_table_validate): Update.
2879 * redisplay.c (create_text_block): Use them.
2881 * glyphs.c (display_table_entry): New function.
2882 (get_display_tables): Ditto.
2884 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2886 * eldap.c (toplevel): Mention that eldap.c compiles with
2888 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2889 (Fldap_search_internal): Ditto
2891 1998-12-11 Martin Buchholz <martin@xemacs.org>
2893 * event-msw.c (mswindows_cancel_dispatch_event):
2894 Gratuitous code prettification
2897 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2899 * fns.c (Fnconc): Fix use of wrong_type_argument().
2901 * floatfns.c (Ffloat): Fix docstring.
2902 (Ffloat): Fix use of wrong_type_argument().
2904 (extract_float): Ditto.
2909 1998-12-06 Martin Buchholz <martin@xemacs.org>
2911 * frame-msw.c (mswindows_init_frame_1):
2912 - use make_lisp_hash_table, not Fmake_hash_table
2916 * alloc.c (make_vector): remove travesty
2920 (make_bit_vector_internal):
2922 (make_bit_vector_from_byte_vector):
2924 - make vector_equal a little faster.
2925 - Don't use variable name `new'.
2926 - Use size_t instead of EMACS_INT.
2927 - usual Martin-style pointless bit-twiddling.
2933 Make mapcar faster. In particular, make
2934 (mapc #'identity long-string)
2935 MUCH faster under Mule.
2936 * tests/automated/lisp-tests.el: Test 'em!
2938 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2941 1998-12-02 Didier Verna <verna@inf.enst.fr>
2943 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2944 accelerator field to nil for labels.
2946 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2948 * menubar-msw.c (displayable_menu_item):
2949 Escape occurrences of '&' and support occurrences of the
2950 '%_' accelerator indicator in menus.
2952 1998-11-26 Didier Verna <verna@inf.enst.fr>
2954 * dired.c (Fdirectory_files): use make_string instead of
2955 make_ext_string on the filename. The conversion external->internal
2956 format is already done in sys_readdir.
2958 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2960 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2962 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2965 (Belatedly) added Kirill to list of file's authors.
2966 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2967 quit checking. WM_PAINT messages cause redisplay, but
2968 windows' states are not necessarily stable when this function
2971 1998-12-17 Andy Piper <andy@xemacs.org>
2973 * strftime.c (zone_name): CONSTify.
2975 1998-12-15 Andy Piper <andy@xemacs.org>
2977 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2978 (mswindows_widget_property): return Qunbound when no property available.
2979 (mswindows_button_property): ditto.
2980 (mswindows_combo_property): ditto.
2981 (mswindows_widget_set_property): ditto.
2983 * glyphs-widget.c (check_valid_item_list): use properties.
2985 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2987 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2988 (Fimage_instance_property): ditto.
2989 * glyphs-widget.c (widget_property): ditto.
2990 (widget_set_property): ditto.
2992 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2993 as setting the class cursor so that GC actually changes the
2996 * config.h: don't undef MAIL_USE_POP.
2998 1998-12-13 Andy Piper <andy@xemacs.org>
3001 (image_instantiator_format_create_glyphs_mswindows): line ->
3003 (mswindows_label_instantiate): ditto. Play with window flags.
3004 (image_instantiator_format_create_glyphs_mswindows): ditto.
3005 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3007 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3008 cope with lines and labels.
3009 (static_instantiate): use widget_instantiate_1.
3011 (image_instantiator_format_create_glyphs_widget): ditto.
3013 1998-12-10 Andy Piper <andy@xemacs.org>
3015 * Makefile.in.in (objs): add gui.o
3017 1998-12-10 Andy Piper <andy@xemacs.org>
3019 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3022 1998-12-09 Andy Piper <andy@xemacs.org>
3024 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3025 image instance is removed so that the subwindow cache gets reset
3026 and thus destroyed images get GC'd.
3028 1998-12-08 Andy Piper <andy@xemacs.org>
3030 * gui-msw.c (mswindows_handle_gui_wm_command): call
3031 MARK_SUBWINDOWS_CHANGED.
3033 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3034 subwindows really get deleted.
3036 * redisplay.c: new variable subwindows_changed[_set].
3037 (redisplay_window): use it.
3038 (redisplay_frame): ditto.
3039 (redisplay_device): ditto.
3040 (redisplay_without_hooks): ditto.
3042 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3043 subwindows redisplay as per glyphs equivalent.
3044 * redisplay.h: ditto.
3045 (MARK_SUBWINDOWS_CHANGED): ditto.
3046 (RESET_CHANGED_SET_FLAGS): ditto.
3047 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3049 1998-12-07 Andy Piper <andy@xemacs.org>
3051 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3054 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3056 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3057 messages and paint widget glyphs as appropriate with their face fg
3060 1998-12-06 Andy Piper <andy@xemacs.org>
3062 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3063 here rather than in glyphs-widget - do this because we only want
3064 to provide what is really available.
3066 * glyphs.c (Fimage_instance_property): new function to get the
3067 properties of image instances. wires through to console specific
3068 methods and then to widget specific methods.
3069 (Fset_image_instance_property): ditto but for setting widget properties.
3070 (check_valid_face): make extern so that it can be used elsewhere.
3072 * glyphs-widget.c (widget_property): new function. gets the
3073 properties of widgets in general and wires the function through to
3074 widget specific ones.
3075 (widget_set_property): ditto but for setting widget properties.
3077 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3078 add items to the list. Play with window styles a bit to get the
3080 (mswindows_widget_property): break out specific widget properties.
3081 (mswindows_button_property): new function. gets the checked state
3083 (mswindows_combo_property): new function. gets the current
3084 selection in the combo box.
3085 (mswindows_widget_set_property): new function. sets specific
3086 properties of specific widgets.
3088 * glyphs-widget.c (check_valid_item_list): new function. check
3089 that items for a combo-box are just a list of strings.
3090 (combo_validate): new function. check there is an item list.
3091 (widget_instantiate_1): new function. renamed from
3092 widget_instantiate so that we can do slightly different things for
3094 (widget_instantiate): call widget_instantiate_1.
3095 (combo_instantiate): new function to instantiate combo boxes,
3096 defaults height to the pixel height of the number of items in the
3098 (syms_of_glyphs_widget): move widget keywords here.
3099 (image_instantiator_format_create_glyphs_widget): use new combo
3102 1998-12-04 Andy Piper <andy@xemacs.org>
3104 * event-msw.c (mswindows_wnd_proc): mule-ize.
3106 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3108 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3109 (resource_name_to_resource): ditto.
3110 (mswindows_resource_instantiate): ditto.
3111 (mswindows_widget_instantiate): ditto.
3112 (mswindows_widget_set_property): ditto.
3114 * redisplay-output.c (redisplay_output_subwindow): don't show
3115 subwindows if they are obscured at the edge of the frame, emacs
3116 gets into some sort of redisplay loop otherwise.
3118 * gui.h: prototype gui_item_selected_p.
3120 * gui.c (gui_item_selected_p): new function to determine the
3121 selected state of a gui_item.
3123 * frame.h (struct frame): add subwindows_changed flag.
3125 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3127 * glyphs.c (update_subwindow): new function to update a
3129 (update_frame_subwindows): new function to update all the
3130 subwindows on a frame.
3132 * console.h (struct console_methods): add update_subwindow.
3134 * glyphs-msw.c (mswindows_widget_property): return selected state
3135 for selected property.
3136 (mswindows_update_subwindow): new function. updates widget glyphs
3137 in redisplay as per menubars or toolbars e.g. selected state.
3138 (console_type_create_glyphs_mswindows): add update_subwindow.
3140 1998-12-03 Andy Piper <andy@xemacs.org>
3142 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3143 tty coding system things are such.
3145 * glyphs-widget.c (widget_face_font_info): new function for
3146 pulling out height and width metrics for a widget's face.
3147 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3150 * event-msw.c (mswindows_drain_windows_queue): translate messages
3151 that are destined for subwindows. This makes edit fields interact
3152 with the keyboard correctly.
3153 nuke warnings by #ifndef'ing out stuff not required by msg select().
3155 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3156 macro defining the iiforma without the symbol required by widget.
3157 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3159 * general.c (syms_of_general): add Qwidget, Qselected.
3161 * faces.c (complex_vars_of_faces): add widget face inheriting from
3164 1998-11-09 Andy Piper <andy@xemacs.org>
3166 * window.h (struct window): add a cache of subwindows on a
3169 * window.c (mark_window): mark the subwindow_instance_cache.
3170 (allocate_window): initialise the subwindow instance_cache.
3172 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3173 instead of the devmeth.
3174 (x_clear_toolbar): ditto.
3176 * redisplay-x.c (x_output_display_block): call
3177 redisplay_output_subwindow for subwindows and widgets.
3179 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3180 types to do nothing for.
3182 * lisp.h: declare new widget/subwindow symbols.
3184 * glyphs.c (image_instantiate): cache subwindows on a per-window
3186 (subwindow_possible_dest_types): new function for subwindow dest
3188 (subwindow_instantiate): generic instantiation of a
3189 subwindow. specialised by device multi-methods.
3190 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3192 (Fimage_instance_subwindow_id): ditto.
3193 (Fresize_subwindow): ditto.
3194 (Fforce_subwindow_map): ditto.
3196 * glyphs-x.c (x_print_image_instance): remove subwindow
3197 stuff. Handled genrically in glyphs.c.
3198 (x_image_instance_equal): ditto.
3199 (x_image_instance_hash): ditto.
3200 (x_finalize_image_instance): delete subwindows when required.
3201 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3202 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3203 glyph-based, subwindow implementation.
3204 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3206 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3208 (x_unmap_subwindow): new function to unmap X subwindows.
3209 (x_map_subwindow): new function to map X subwindows.
3210 (x_subwindow_instantiate): new function to instantiate X
3212 (x_resize_subwindow): new function to resize X subwindows.
3213 (console_type_create_glyphs_x): add subwindow functions.
3214 (image_instantiator_format_create_glyphs_x): add device
3215 multi-methods for xpm, xbm and subwindow.
3217 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3218 (subwindow-width): ditto.
3219 (subwindow-height): ditto.
3221 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3222 generally instantiating ms subwindows. Used by
3223 mswindows_*_instantiate.
3224 (mswindows_edit_instantiate): instantiate an edit field on a
3227 1998-11-04 Andy Piper <andy@xemacs.org>
3229 * symsinit.h: declare new functions.
3231 * redisplay.h: declare new functions.
3233 * redisplay-x.c (x_output_display_block): call
3234 redisplay_clear_region rather than x_clear_region.
3235 (x_output_string): ditto.
3236 (x_output_pixmap): ditto.
3237 (x_clear_to_window_end): ditto.
3238 (x_output_eol_cursor): ditto.
3239 (x_clear_region): only do X specific things. other duties handled
3240 in redisplay_clear_region.
3242 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3243 duties moved to redisplay_clear_region.
3245 * redisplay-output.c (clear_left_border): use
3246 redisplay_clear_region instead of device method.
3247 (clear_right_border): ditto.
3248 (output_display_line): ditto.
3249 (redisplay_output_subwindow): ditto.
3250 (redisplay_clear_top_of_window): ditto.
3251 (redisplay_clear_region): perform duties previously handled by
3252 device methods. call the appropriate device method at the
3253 end. unmap subwindows if necessary.
3255 * redisplay-msw.c (mswindows_output_string): use
3256 redisplay_clear_region instead of mswindows_clear_region.
3257 (mswindows_clear_to_window_end): ditto.
3258 (mswindows_output_display_block): output subwindows when required.
3259 (mswindows_clear_region): only do mswindows specific things,
3260 everything else is now handled in redisplay_clear_region.
3262 * gui.h: add item id hash defines and declare function prototypes.
3264 * gui.c (mark_gui_item): new function for marking gui_items.
3265 (gui_item_hash): generic hash function for generating command ids
3268 * gui-msw.c: new file.
3269 (mswindows_handle_gui_wm_command): new function to handle widget
3272 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3274 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3275 (DEFINE_DEVICE_IIFORMAT): ditto.
3276 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3277 (struct Lisp_Image_Instance): add widget and subwindow data plus
3278 appropriate access functions.
3280 * glyphs.c (decode_device_ii_format): new function for decoding
3281 image instantiator functions based on a device type as well as an
3283 (decode_image_instantiator_format): just call
3284 decode_device_ii_format with nil device.
3285 (add_entry_to_device_ii_format_list): new function for per device
3287 (add_entry_to_image_instantiator_format_list): just call
3288 add_entry_to_device_ii_format_list with nil device.
3289 (check_valid_vector): new function.
3290 (instantiate_image_instantiator): instantiate using per-format
3291 method and then per-format-per-device method (device
3292 multi-methods). signal an error if neither is possible.
3293 (mark_image_instance): cope with subwindows and widgets.
3294 (print_image_instance): ditto.
3295 (image_instance_equal): ditto.
3296 (image_instance_hash): ditto.
3297 (allocate_glyph): ditto.
3298 (glyph_width): ditto.
3299 (glyph_height_internal): ditto.
3300 (xpm_instantiate): removed because of device multi-methods.
3301 (mark_subwindow_cachels): new cachel functions for caching
3302 instantiated subwindows on a per-frame basis. mostly copied from
3303 glyph cachel functions.
3304 (update_subwindow_cachel_data): ditto.
3305 (add_subwindow_cachel): ditto.
3306 (get_subwindow_cachel_index): ditto.
3307 (reset_subwindow_cachels): ditto.
3308 (mark_subwindow_cachels_as_not_updated): ditto.
3309 (unmap_subwindow): generic unmapping of subwindows based on cachel
3311 (map_subwindow): ditto.
3312 (initialize_subwindow_image_instance): generic initialisation of
3314 (syms_of_glyphs): add widget keywords.
3316 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3319 1998-11-04 Andy Piper <andy@xemacs.org>
3321 * glyphs-widget.c: new file for instantiating widget type glyphs.
3322 (widget_possible_dest_types): new general dest type function for
3324 (widget_validate): ditto.
3325 (initialize_widget_image_instance): ditto
3326 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3327 before handing on control to device multi-methods.
3328 (syms_of_glyphs_widget): new function.
3329 (image_instantiator_format_create_glyphs_widget): new function,
3330 added placeholders for button, edit, combo, scrollbar
3331 (vars_of_glyphs_widget): new function.
3333 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3334 storing window ids of widgets.
3336 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3337 deletion of widget and subwindow glyphs.
3338 (mswindows_unmap_subwindow): new device function for unmapping
3339 subwindows on a msw frame.
3340 (mswindows_map_subwindow): ditto.
3341 (mswindows_register_image_instance): register instantiated widgets
3342 with the widget hastable.
3343 (mswindows_button_instantiate): instantiate a button type widget
3345 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3347 (image_instantiator_format_create_glyphs_mswindows): add device
3348 multi-methods for xbm, xpm, subwindow, edit and button.
3350 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3351 information about subwindows visible on the current frame. used by
3352 redisplay_clear_region to unmap subwindows as required.
3354 * frame.c (mark_frame): mark subwindow_cachels.
3355 (allocate_frame_core): instantiate subwindow_cachels.
3357 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3360 * event-msw.c (mswindows_wnd_proc): add call to
3361 mswindows_handle_gui_wm_command to handle widget callbacks.
3363 * emacs.c (main_1): add calls to glyphs-widget initialisation
3366 * console.h (struct console_methods): add
3367 unmap/map_subwindow_method for use be redisplay_clear_region to
3368 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3369 with by image instantiator multi-methods. Add
3370 resize_subwindow_method.
3372 * console-stream.c (stream_clear_region): change signature to
3373 match new generic clear region function.
3375 * Makefile.in.in: add glyphs-widget.o to list of objects.
3377 * console-msw.h (struct mswindows_frame): add widget hashtable for
3378 wiring command ids to callbacks.
3380 1998-12-16 Andy Piper <andy@xemacs.org>
3382 * XEmacs 21.2.6 is released
3384 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3386 * md5.c (Fmd5): Correctly initiate string input stream.
3388 * Makefile.in.in (tests): Add md5-tests.el.
3390 1998-12-06 Martin Buchholz <martin@xemacs.org>
3393 * alloc.c (make_vector): remove travesty
3397 (make_bit_vector_internal):
3399 (make_bit_vector_from_byte_vector):
3401 - make vector_equal a little faster.
3402 - Don't use variable name `new'.
3403 - Use size_t instead of EMACS_INT.
3404 - usual Martin-style pointless bit-twiddling.
3410 Make mapcar faster. In particular, make
3411 (mapc #'identity long-string)
3412 MUCH faster under Mule.
3413 * tests/automated/lisp-tests.el: Test 'em!
3415 1998-12-06 Martin Buchholz <martin@xemacs.org>
3417 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3420 1998-12-13 Martin Buchholz <martin@xemacs.org>
3422 * console-msw.c: Function definitions follow coding standards
3423 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3425 1998-12-11 Martin Buchholz <martin@xemacs.org>
3427 * events.h (struct timeout_data):
3428 * event-tty.c (tty_timeout_to_emacs_event):
3429 * event-msw.c (mswindows_wm_timer_callback):
3430 * event-Xt.c (Xt_timeout_to_emacs_event):
3431 * event-msw.c (mswindows_cancel_dispatch_event):
3432 Make sure Lisp_Objects inside events are initialized to Qnil, not
3433 Qnull_pointer, which is now illegal.
3435 1998-12-10 Martin Buchholz <martin@xemacs.org>
3437 * lisp.h: Fix up prototypes to match alloc.c
3439 1998-12-09 Andy Piper <andy@xemacs.org>
3441 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3442 XSETINT for assigning lisp objects.
3444 1998-12-07 Martin Buchholz <martin@xemacs.org>
3447 * console-msw.c (DHEADER):
3456 - max_align_t should not be visible to the user of the
3458 - use Bufbyte instead of char
3459 - parens around (FOOP (obj)) are always redundant.
3460 If they were necessary, we should fix the macro instead.
3461 - Always use string_data(foo) instead of foo->data.
3463 1998-12-07 Martin Buchholz <martin@xemacs.org>
3465 * sysdep.c (set_descriptor_non_blocking):
3466 Since O_NONBLOCK is now always #defined, make use of fcntl
3467 conditional on F_SETFL being defined.
3469 1998-12-09 Andy Piper <andy@xemacs.org>
3471 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3472 that got removed in the merge
3474 1998-11-30 Greg Klanderman <greg@alphatech.com>
3476 * dired.c (vars_of_dired): bugfix for previous conditionalization
3477 of user-name-completion on non- Windows NT.
3479 1998-12-08 Martin Buchholz <martin@xemacs.org>
3481 * windowsnt.h: Remove `support' for using index and rindex
3483 * filelock.c (current_lock_owner):
3484 - Change uses of index -> strchr, rindex -> strrchr
3486 1998-12-06 Martin Buchholz <martin@xemacs.org>
3488 * frame-msw.c (mswindows_init_frame_1):
3489 - use make_lisp_hash_table, not Fmake_hash_table
3492 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3494 * XEmacs 21.2.5 is released
3496 1998-11-30 Martin Buchholz <martin@xemacs.org>
3498 * xselect.c (receive_incremental_selection):
3499 * xselect.c (x_get_window_property):
3500 * xmu.c (XmuReadBitmapDataFromFile):
3501 * xmu.c (XmuCursorNameToIndex):
3502 * xgccache.c (describe_gc_cache):
3503 * xgccache.c (gc_cache_lookup):
3504 * xgccache.c (free_gc_cache):
3505 * xgccache.c (make_gc_cache):
3507 * window.c (map_windows_1):
3508 * window.c (Fother_window_for_scrolling):
3509 * window.c (window_scroll):
3510 * window.c (change_window_height):
3511 * window.c (Fsplit_window):
3512 * window.c (window_left_gutter_width):
3513 * window.c (window_modeline_height):
3514 * window.c (invalidate_vertical_divider_cache_in_window):
3515 * window.c (window_needs_vertical_divider_1):
3516 * window.c (update_mirror_internal):
3517 * window.c (SET_LAST_FACECHANGE):
3518 * widget.c (Fwidget_plist_member):
3519 * unexec.c (copy_text_and_data):
3520 * unexcw.c (copy_executable_and_dump_data_section):
3522 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3523 * tooltalk.c (struct Lisp_Tooltalk_Message):
3524 * toolbar.h (struct toolbar_button):
3525 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3526 * toolbar.c (recompute_overlaying_specifier):
3527 * toolbar.c (toolbar_validate):
3528 * toolbar.c (toolbar_button_at_pixpos):
3529 * toolbar.c (get_toolbar_coords):
3530 * toolbar.c (update_frame_toolbars):
3532 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3533 * toolbar-msw.c (mswindows_find_toolbar_pos):
3534 * toolbar-msw.c (mswindows_output_toolbar):
3535 * toolbar-msw.c (mswindows_clear_toolbar):
3544 * sysdep.c (sys_fopen):
3545 * sysdep.c (sys_open):
3546 * sysdep.c (tty_init_sys_modes_on_device):
3547 * sysdep.c (get_eof_char):
3548 * sysdep.c (child_setup_tty):
3549 * sysdep.c (set_descriptor_non_blocking):
3551 * syntax.c (scan_words):
3554 * symeval.h (struct symbol_value_varalias):
3555 * symeval.h (struct symbol_value_forward):
3556 * symbols.c (syms_of_symbols):
3557 * symbols.c (init_symbols_once_early):
3558 * symbols.c (Fbuilt_in_variable_type):
3559 * symbols.c (Fsymbol_value_in_buffer):
3560 * symbols.c (default_value):
3562 * symbols.c (find_symbol_value_quickly):
3563 * symbols.c (store_symval_forwarding):
3564 * symbols.c (set_default_console_slot_variable):
3565 * symbols.c (set_default_buffer_slot_variable):
3566 * symbols.c (verify_ok_for_buffer_local):
3567 * symbols.c (symbol_is_constant):
3568 * symbols.c (oblookup):
3569 * symbols.c (Funintern):
3570 * symbols.c (Fintern):
3571 * symbols.c (check_obarray):
3573 * specifier.h (struct specifier_methods):
3575 * specifier.c (specifier_instance):
3576 * specifier.c (specifier_instance_from_inst_list):
3577 * specifier.c (decode_locale_type):
3578 * specifier.c (specifier_equal):
3579 * specifier.c (finalize_specifier):
3580 * specifier.c (prune_specifiers):
3581 * specifier.c (kill_specifier_buffer_locals):
3582 * sound.c (init_native_sound):
3585 * search.c (Fmatch_data):
3586 * search.c (match_limit):
3587 * search.c (Freplace_match):
3588 * search.c (skip_chars):
3589 * search.c (scan_buffer):
3591 * scrollbar.c (specifier_vars_of_scrollbar):
3592 * scrollbar.c (Fscrollbar_set_hscroll):
3593 * scrollbar.c (vertical_scrollbar_changed_in_window):
3594 * scrollbar.c (release_window_mirror_scrollbars):
3595 * scrollbar.c (free_scrollbar_instance):
3598 * s/msdos.h (O_BINARY):
3600 * s/freebsd.h (LIBS_TERMCAP):
3601 * regex.c (re_match_2_internal):
3602 * regex.c (compile_extended_range):
3603 * regex.c (POP_FAILURE_POINT):
3604 * regex.c (PUSH_FAILURE_POINT):
3605 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3607 * redisplay.h (struct display_line):
3608 * redisplay.h (struct rune):
3609 * redisplay.c (vars_of_redisplay):
3610 * redisplay.c (redisplay_variable_changed):
3611 * redisplay.c (UPDATE_CACHE_RETURN):
3612 * redisplay.c (validate_line_start_cache):
3613 * redisplay.c (mark_redisplay_structs):
3614 * redisplay.c (mark_glyph_block_dynarr):
3615 * redisplay.c (window_line_number):
3616 * redisplay.c (redisplay_frame):
3617 * redisplay.c (redisplay_window):
3618 * redisplay.c (generate_modeline):
3619 * redisplay.c (create_right_glyph_block):
3620 * redisplay.c (create_left_glyph_block):
3621 * redisplay.c (create_text_block):
3623 * redisplay-x.c (x_output_hline):
3624 * redisplay-x.c (x_output_vertical_divider):
3625 * redisplay-tty.c (tty_output_display_block):
3626 * redisplay-output.c (output_display_line):
3627 * redisplay-output.c:
3628 * redisplay-msw.c (mswindows_output_vertical_divider):
3629 * redisplay-msw.c (mswindows_ring_bell):
3630 * redisplay-msw.c (mswindows_output_cursor):
3634 * puresize.h (RAW_PURESIZE):
3635 * profile.c (syms_of_profile):
3636 * profile.c (Fstart_profiling):
3637 * profile.c (sigprof_handler):
3640 * process.c (vars_of_process):
3641 * process.c (read_process_output):
3642 * process.c (get_process):
3644 * process-unix.c (unix_open_multicast_group):
3645 * process-unix.c (unix_get_tty_name):
3646 * process-unix.c (unix_send_process):
3647 * process-unix.c (unix_reap_exited_processes):
3648 * process-unix.c (unix_create_process):
3649 * process-unix.c (unix_init_process_io_handles):
3650 * process-unix.c (allocate_pty):
3652 * process-nt.c (nt_open_network_stream):
3653 * process-nt.c (nt_update_status_if_terminated):
3654 * process-nt.c (nt_finalize_process_data):
3656 * print.c (debug_short_backtrace):
3657 * print.c (debug_backtrace):
3658 * print.c (print_symbol):
3659 * print.c (print_internal):
3660 * print.c (print_cons):
3661 * print.c (Fwrite_char):
3662 * print.c (print_prepare):
3663 * print.c (canonicalize_printcharfun):
3664 * print.c (output_string):
3667 * opaque.c (allocate_managed_opaque):
3669 * offix.c (DndSetData):
3670 * objects.c (face_boolean_create):
3671 * objects.c (font_instantiate):
3672 * objects.c (font_create):
3673 * objects.c (color_create):
3674 * objects.c (finalize_font_instance):
3675 * objects.c (finalize_color_instance):
3677 * objects-x.c (x_font_instance_truename):
3679 * objects-x.c (x_initialize_font_instance):
3680 * objects-x.c (allocate_nearest_color):
3681 * objects-tty.c (tty_initialize_font_instance):
3682 * objects-tty.c (tty_initialize_color_instance):
3683 * objects-msw.c (mswindows_initialize_color_instance):
3684 * ntproc.c (syms_of_ntproc):
3685 * ntproc.c (Fwin32_set_process_priority):
3686 * ntproc.c (sys_spawnve):
3688 * ntheap.c (get_data_end):
3692 * nt.c (generate_inode_val):
3693 * nt.c (sys_rename):
3695 * mule-wnnfns.c (Fwnn_hinsi_number):
3696 * mule-wnnfns.c (Fwnn_yuragi):
3697 * mule-wnnfns.c (Fwnn_common_learn):
3698 * mule-wnnfns.c (Fwnn_suffix_learn):
3699 * mule-wnnfns.c (Fwnn_prefix_learn):
3700 * mule-wnnfns.c (Fwnn_okuri_learn):
3701 * mule-wnnfns.c (Fwnn_complex_conv):
3702 * mule-wnnfns.c (Fwnn_last_is_first):
3703 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3704 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3705 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3706 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3707 * mule-wnnfns.c (Fwnn_hinsi_list):
3708 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3709 * mule-wnnfns.c (Fwnn_dict_search):
3710 * mule-wnnfns.c (Fwnn_word_toroku):
3711 * mule-wnnfns.c (Fwnn_hindo_update):
3712 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3713 * mule-wnnfns.c (Fwnn_kakutei):
3714 * mule-wnnfns.c (Fwnn_begin_henkan):
3715 * mule-wnnfns.c (Fwnn_dict_comment):
3716 * mule-wnnfns.c (Fwnn_dict_add):
3717 * mule-wnnfns.c (Fwnn_open):
3718 * mule-mcpath.c (mc_getcwd):
3719 * mule-coding.c (vars_of_mule_coding):
3720 * mule-coding.c (convert_to_external_format):
3721 * mule-coding.c (encoding_marker):
3722 * mule-coding.c (decoding_marker):
3723 * mule-coding.c (Fcopy_coding_system):
3724 * mule-coding.c (Fmake_coding_system):
3725 * mule-coding.c (Fcoding_system_list):
3726 * mule-coding.c (Ffind_coding_system):
3727 * mule-coding.c (symbol_to_eol_type):
3729 * mule-charset.c (complex_vars_of_mule_charset):
3730 * mule-charset.c (vars_of_mule_charset):
3731 * mule-charset.c (Fset_charset_ccl_program):
3732 * mule-charset.c (struct charset_list_closure):
3733 * mule-charset.c (Ffind_charset):
3734 * mule-charset.c (make_charset):
3735 * mule-charset.c (non_ascii_valid_char_p):
3737 * mule-ccl.c (ccl_driver):
3738 * mule-canna.c (c2mu):
3739 * mule-canna.c (Fcanna_henkan_begin):
3740 * mule-canna.c (Fcanna_parse):
3741 * mule-canna.c (Fcanna_store_yomi):
3742 * mule-canna.c (Fcanna_touroku_string):
3743 * mule-canna.c (Fcanna_initialize):
3745 * menubar.c (menu_parse_submenu_keywords):
3746 * menubar-x.c (make_dummy_xbutton_event):
3747 * menubar-x.c (set_frame_menubar):
3748 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3751 * menubar-msw.c (mswindows_popup_menu):
3752 * menubar-msw.c (mswindows_update_frame_menubars):
3753 * menubar-msw.c (mswindows_handle_wm_command):
3754 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3755 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3756 * menubar-msw.c (update_frame_menubar_maybe):
3757 * menubar-msw.c (populate_or_checksum_helper):
3758 * menubar-msw.c (empty_menu):
3761 * marker.c (set_marker_internal):
3762 * marker.c (print_marker):
3765 * lstream.c (lisp_buffer_rewinder):
3766 * lstream.c (mark_lstream):
3768 * lrecord.h (struct lrecord_header):
3769 * lread.c (readevalloop):
3770 * lread.c (locate_file):
3771 * lread.c (locate_file_in_directory):
3772 * lread.c (Flocate_file):
3773 * lread.c (load_force_doc_string_unwind):
3774 * lread.c (ebolify_bytecode_constants):
3779 * linuxplay.c (linux_play_data_or_file):
3780 * linuxplay.c (audio_init):
3783 * keymap.c (describe_map):
3784 * keymap.c (describe_map_mapper):
3785 * keymap.c (Fdescribe_bindings_internal):
3786 * keymap.c (Fsingle_key_description):
3787 * keymap.c (map_keymap_sorted):
3788 * keymap.c (get_relevant_keymaps):
3789 * keymap.c (Flookup_key):
3790 * keymap.c (raw_lookup_key_mapper):
3791 * keymap.c (Fdefine_key):
3792 * keymap.c (Fevent_matches_key_specifier_p):
3793 * keymap.c (key_desc_list_to_event):
3794 * keymap.c (define_key_parser):
3795 * keymap.c (define_key_check_and_coerce_keysym):
3796 * keymap.c (keymap_submaps):
3797 * keymap.c (keymap_store_internal):
3798 * keymap.c (keymap_delete_inverse_internal):
3799 * keymap.c (keymap_store_inverse_internal):
3800 * keymap.c (print_keymap):
3801 * keymap.c (Lisp_Keymap):
3804 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3805 * insdel.c (make_gap):
3806 * input-method-xlib.c (get_XIM_input):
3807 * input-method-xlib.c (XIM_init_frame):
3812 * gui-x.c (button_item_to_widget_value):
3813 * gui-x.c (popup_selection_callback):
3814 * glyphs.h (struct image_instantiator_methods):
3815 * glyphs.c (mark_glyph_cachels):
3816 * glyphs.c (Fglyph_type):
3817 * glyphs.c (image_instantiate):
3818 * glyphs.c (image_create):
3819 * glyphs.c (make_image_instance_1):
3820 * glyphs.c (finalize_image_instance):
3822 * glyphs-x.c (finalize_subwindow):
3823 * glyphs-x.c (xface_validate):
3824 * glyphs-x.c (x_locate_pixmap_file):
3825 * glyphs-x.c (convert_EImage_to_XImage):
3827 * glyphs-msw.c (mswindows_resource_instantiate):
3828 * glyphs-msw.c (xpm_to_eimage):
3829 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3830 * glyphs-eimage.c (tiff_instantiate):
3831 * glyphs-eimage.c (png_instantiate):
3832 * glyphs-eimage.c (struct png_error_struct):
3833 * glyphs-eimage.c (gif_memory_storage):
3836 * getloadavg.c (getloadavg):
3839 * free-hook.c (log_gcpro):
3840 * free-hook.c (check_malloc):
3841 * free-hook.c (check_free):
3842 * free-hook.c (ROUND_UP_TO_PAGE):
3844 * frame.h (struct frame):
3846 * frame.c (change_frame_size_1):
3847 * frame.c (allocate_frame_core):
3849 * frame-x.c (x_focus_on_frame):
3850 * frame-x.c (x_init_frame_2):
3851 * frame-x.c (x_popup_frame):
3852 * frame-x.c (xemacs_XtPopup):
3854 * frame-x.c (Foffix_start_drag_internal):
3855 * frame-x.c (x_cde_destroy_callback):
3856 * frame-x.c (x_wm_hack_wm_protocols):
3857 * frame-tty.c (tty_frame_visible_p):
3858 * frame-msw.c (mswindows_make_frame_invisible):
3859 * frame-msw.c (mswindows_after_init_frame):
3860 * frame-msw.c (mswindows_init_frame_1):
3861 * fns.c (syms_of_fns):
3862 * fns.c (Fbase64_decode_string):
3864 * fns.c (Ffillarray):
3865 * fns.c (Fobject_plist):
3867 * fns.c (Fcanonicalize_lax_plist):
3868 * fns.c (Fcanonicalize_plist):
3869 * fns.c (Fplist_remprop):
3870 * fns.c (Fplist_get):
3871 * fns.c (advance_plist_pointers):
3872 * fns.c (internal_plist_put):
3873 * fns.c (Fnreverse):
3876 * fns.c (Fsubstring):
3877 * fns.c (Fbvconcat):
3879 * fns.c (length_with_bytecode_hack):
3880 * fns.c (print_bit_vector):
3882 * floatfns.c (Ffloor):
3884 * floatfns.c (in_float_error):
3885 * fileio.c (Ffile_modes):
3886 * fileio.c (Fexpand_file_name):
3887 * fileio.c (Fmake_temp_name):
3888 * fileio.c (Ffile_name_nondirectory):
3889 * fileio.c (Ffile_name_directory):
3891 * file-coding.c (vars_of_mule_coding):
3892 * file-coding.c (convert_to_external_format):
3893 * file-coding.c (encoding_marker):
3894 * file-coding.c (decoding_marker):
3895 * file-coding.c (Fcopy_coding_system):
3896 * file-coding.c (Fmake_coding_system):
3897 * file-coding.c (struct coding_system_list_closure):
3898 * file-coding.c (Ffind_coding_system):
3899 * file-coding.c (symbol_to_eol_type):
3901 * faces.h (struct face_cachel):
3902 * faces.c (vars_of_faces):
3903 * faces.c (face_property_was_changed):
3904 * faces.c (mark_face_cachels):
3905 * faces.c (temporary_faces_list):
3906 * faces.c (struct face_list_closure):
3908 * extents.h (struct extent):
3909 * extents.c (vars_of_extents):
3910 * extents.c (struct copy_string_extents_1_arg):
3911 * extents.c (add_string_extents_mapper):
3912 * extents.c (Fextent_property):
3913 * extents.c (Fset_extent_property):
3914 * extents.c (symbol_to_glyph_layout):
3915 * extents.c (properties_equal):
3916 * extents.c (print_extent):
3917 * extents.c (print_extent_1):
3918 * extents.c (extent_in_region_p):
3919 * extents.c (gap_array_make_gap):
3921 * events.h (struct Lisp_Event):
3923 * events.c (Fevent_properties):
3924 * events.c (format_event_object):
3925 * events.c (Fmake_event):
3926 * events.c (event_equal):
3927 * events.c (print_event):
3928 * events.c (mark_event):
3929 * event-stream.c ((read-char)
3930 * event-stream.c (vars_of_event_stream):
3931 * event-stream.c (syms_of_event_stream):
3932 * event-stream.c (Fset_recent_keys_ring_size):
3933 * event-stream.c (Fsit_for):
3934 * event-stream.c (Fnext_event):
3935 * event-stream.c (execute_help_form):
3936 * event-stream.c (maybe_kbd_translate):
3938 * event-msw.c (vars_of_event_mswindows):
3939 * event-msw.c (mswindows_wnd_proc):
3940 * event-msw.c (mswindows_need_event):
3941 * event-msw.c (mswindows_drain_windows_queue):
3942 * event-msw.c (mswindows_pump_outstanding_events):
3944 * event-msw.c (slurp_thread):
3945 * event-msw.c (struct ntpipe_slurp_stream):
3946 * event-msw.c (HANDLE_TO_USID):
3947 * event-Xt.c (emacs_Xt_handle_magic_event):
3948 * event-Xt.c (x_event_to_emacs_event):
3949 * event-Xt.c (x_reset_modifier_mapping):
3950 * event-Xt.c (x_reset_key_mapping):
3952 * eval.c (syms_of_eval):
3953 * eval.c (warn_when_safe):
3954 * eval.c (warn_when_safe_lispobj):
3955 * eval.c (Fbacktrace_frame):
3956 * eval.c (Fbacktrace):
3957 * eval.c (top_level_set):
3958 * eval.c (unbind_to_hairy):
3959 * eval.c (specbind_magic):
3960 * eval.c (specbind_unwind_wasnt_local):
3961 * eval.c (call2_trapping_errors):
3962 * eval.c (call1_trapping_errors):
3963 * eval.c (catch_them_squirmers_call2):
3964 * eval.c (call0_trapping_errors):
3965 * eval.c (run_hook_trapping_errors):
3966 * eval.c (catch_them_squirmers_eval_in_buffer):
3967 * eval.c (call4_in_buffer):
3968 * eval.c (call3_in_buffer):
3969 * eval.c (call2_in_buffer):
3970 * eval.c (call1_in_buffer):
3971 * eval.c (call0_in_buffer):
3972 * eval.c (run_hook):
3973 * eval.c (run_hook_with_args_in_buffer):
3976 * eval.c (do_autoload):
3977 * eval.c (un_autoload):
3978 * eval.c (Fautoload):
3979 * eval.c (Finteractive_p):
3980 * eval.c (Fcommand_execute):
3981 * eval.c (signal_quit):
3982 * eval.c (call_with_suspended_errors):
3983 * eval.c (signal_error):
3984 * eval.c (return_from_signal):
3985 * eval.c (Fcall_with_condition_handler):
3986 * eval.c (run_condition_case_handlers):
3987 * eval.c (condition_case_1):
3988 * eval.c (Funwind_protect):
3989 * eval.c (unwind_to_catch):
3990 * eval.c (internal_catch):
3991 * eval.c (Fmacroexpand_internal):
3992 * eval.c (Fuser_variable_p):
3993 * eval.c (Fdefconst):
3995 * eval.c (Ffunction):
3996 * eval.c (signal_call_debugger):
3997 * eval.c (call_debugger):
4000 * emacs.c (sort_args):
4004 * editfns.c (Fencode_time):
4005 * editfns.c (Fdecode_time):
4006 * editfns.c (Fuser_full_name):
4008 * editfns.c (save_excursion_restore):
4011 * doprnt.c (emacs_doprnt_1):
4012 * doc.c (verify_doc_mapper):
4013 * doc.c (Fsnarf_documentation):
4014 * doc.c (Fdocumentation):
4016 * dired.c (user_name_completion):
4017 * dired.c (Fdirectory_files):
4020 * dgif_lib.c (FreeSavedImages):
4021 * dgif_lib.c (DGifGetImageDesc):
4023 * device.h (struct device):
4024 * device.c (Fselect_device):
4025 * device.c (allocate_device):
4027 * device-x.c (Fx_keysym_on_keyboard_p):
4028 * device-x.c (Fx_valid_keysym_name_p):
4029 * device-x.c (x_IO_error_handler):
4030 * device-x.c (x_delete_device):
4031 * device-x.c (x_finish_init_device):
4032 * device-x.c (x_init_device):
4034 * device-msw.c (mswindows_init_device):
4036 * database.c (vars_of_database):
4037 * database.c (Fput_database):
4038 * database.c (Fopen_database):
4039 * database.c (berkdb_remove):
4040 * database.c (berkdb_put):
4041 * database.c (Fdatabasep):
4042 * database.c (print_database):
4044 * data.c (vars_of_data):
4045 * data.c (syms_of_data):
4046 * data.c (init_errors_once_early):
4047 * data.c (prune_weak_lists):
4048 * data.c (finish_marking_weak_lists):
4049 * data.c (print_weak_list):
4051 * data.c (Fstring_to_number):
4052 * data.c (Fnumber_to_string):
4053 * data.c (Findirect_function):
4056 * data.c (Fsubr_interactive):
4058 * data.c (Fkeywordp):
4061 * console.h (CONSOLE_NAME):
4063 * console.c (vars_of_console):
4064 * console.c (Fselect_console):
4066 * console-x.h (DEVICE_X_COLORMAP):
4067 * console-x.h (struct x_device):
4068 * console-x.c (x_device_to_console_connection):
4069 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4070 * console-tty.c (tty_init_console):
4072 * console-msw.h (struct mswindows_frame):
4075 * cmds.c (internal_self_insert):
4076 * cmds.c (Fforward_line):
4077 * cmds.c (Fforward_char):
4080 * chartab.c (mark_char_table_entry):
4082 * casefiddle.c (casify_word):
4083 * callproc.c (child_setup):
4084 * callproc.c (Fcall_process_internal):
4086 * callint.c (Fcall_interactively):
4088 * bytecode.c (execute_rare_opcode):
4089 * bytecode.c (execute_optimized_program):
4092 * buffer.h (BUFFER_REALLOC):
4093 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4094 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4096 * buffer.h (MAP_INDIRECT_BUFFERS):
4097 * buffer.h (CHECK_LIVE_BUFFER):
4098 * buffer.c (init_initial_directory):
4099 * buffer.c (complex_vars_of_buffer):
4100 * buffer.c (vars_of_buffer):
4101 * buffer.c (finish_init_buffer):
4102 * buffer.c (Fget_file_buffer):
4103 * buffer.c (Fbuffer_list):
4104 * buffer.c (mark_buffer):
4105 * balloon_help.c (balloon_help_move_to_pointer):
4106 * balloon_help.c (show_help):
4109 * alloc.c (garbage_collect_1):
4110 * alloc.c (sweep_strings):
4111 * alloc.c (sweep_compiled_functions):
4112 * alloc.c (sweep_bit_vectors_1):
4113 * alloc.c (sweep_vectors_1):
4114 * alloc.c (sweep_lcrecords_1):
4115 * alloc.c (tick_lcrecord_stats):
4116 * alloc.c (pure_string_sizeof):
4117 * alloc.c (mark_conses_in_list):
4118 * alloc.c (mark_object):
4119 * alloc.c (report_pure_usage):
4120 * alloc.c (make_pure_float):
4121 * alloc.c (make_pure_string):
4122 * alloc.c (free_managed_lcrecord):
4123 * alloc.c (mark_string):
4124 * alloc.c (noseeum_make_marker):
4125 * alloc.c (allocate_event):
4126 * alloc.c (Fbit_vector):
4127 * alloc.c (Fvector):
4128 * alloc.c (make_float):
4129 * alloc.c (Fmake_list):
4131 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4132 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4133 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4134 * alloc.c (dbg_constants):
4135 * alloc.c (gc_record_type_p):
4136 * alloc.c (free_lcrecord):
4137 * alloc.c (xmalloc):
4138 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4140 * Makefile.in.in (mostlyclean):
4141 * Makefile.in.in (external_client_xlib_objs_nonshared):
4142 * Makefile.in.in (temacs_link_args):
4143 * Makefile.in.in (release):
4144 * Makefile.in.in (dnd_objs):
4145 * Makefile.in.in (objs):
4146 * Makefile.in.in (PROGNAME):
4147 * EmacsShell.c: cast strings to (XtPointer)
4148 * EmacsFrame.c: cast strings to (XtPointer)
4150 - rewrite basic lisp functions for speed
4151 - rewrite bytecode interpreter for speed
4152 - rewrite list looping constructs for speed and safety using
4154 - use size_t where appropriate.
4155 - new hashtable implementation
4156 - cleanup implementation of opaques
4157 - opaques can now be purecopy'ed
4158 - move some cl functionality into C for speed.
4159 - remove last remaining VMS support
4161 - improve gdb/dbx debugger support
4162 - move pure.c back into alloc.c for performance
4163 - enable report_pure_usage() if --memory-usage-stats
4164 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4165 - don't use symbols with leading `_' or embedded `__'
4166 - globally cleanup duplicated semicolons `;;'
4167 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4169 - globally replace O_NDELAY with O_NONBLOCK.
4170 - globally replace CDISABLE with _POSIX_VDISABLE.
4171 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4172 - define (and maybe use!) STDERR_FILENO and friends.
4173 - add support for macros defined in C
4174 - `when', `unless', `not' and `defalias' now defined in C,
4175 so that they are universally available.
4176 - rename defvar_mumble to defvar_magic
4177 - rename RETURN__ to RETURN_SANS_WARNINGS
4178 - use consistent style of initial caps in error messages
4179 - implement last, butlast, nbutlast, copy-list in C.
4180 - provide typedefs for all struct Lisp_foo types
4181 - Lisp_Objects must be initialized to Qnil rather than 0.
4182 - make sure XEmacs runs (slowly) with always_gc == 1;
4183 - fast and safe LOOP_* macros
4184 - change calls to XSETOBJ to XSETFOO
4185 - replace calls to XSETINT by make_int()
4186 - plug up memory leaks
4187 - use style markobj (foo), not silly ((markobj) (foo))
4188 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4190 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4192 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4194 1998-11-28 SL Baur <steve@altair.xemacs.org>
4196 * XEmacs 21.2-beta4 is released.
4198 1998-11-27 SL Baur <steve@altair.xemacs.org>
4200 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4201 property in control-1 charset.
4202 From Julian Bradfield <jcb@daimi.au.dk>
4204 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4206 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4208 Add stub for :label.
4210 * gui.c (gui_item_add_keyval_pair): ditto.
4212 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4213 :key-sequence keyword.
4215 Support :active for submenus like the Windows code and FSF Emacs.
4217 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4219 * dired.c (make_directory_hash_table): make_string() is OK because
4220 readdir() Mule-encapsulates.
4222 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4224 * fns.c (Fbase64_encode_string): Fix docstring.
4225 (Fbase64_decode_string): Ditto.
4227 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4229 * editfns.c (Ftranslate_region): Use
4230 convert_bufbyte_string_into_emchar_string().
4232 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4234 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4236 (Ftranslate_region): Turn table into an array of Emchars for
4239 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4241 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4243 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4245 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4246 type `char' with nils.
4248 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4249 for tables of type `char'.
4251 1998-11-26 Didier Verna <verna@inf.enst.fr>
4253 * input-method-xlib.c (Initialize_Locale): don't call
4254 XtSetLanguageProc. We've done the whole work here.
4255 * input-method-xfs.c (Initialize_Locale): ditto.
4256 * input-method-motif.c (Initialize_Locale): ditto.
4258 1998-11-26 Didier Verna <verna@inf.enst.fr>
4260 * process-unix.c (unix_create_process): handle properly
4261 Vfile_name_coding_system for converting the program and directory
4264 1998-11-27 SL Baur <steve@altair.xemacs.org>
4266 * m/arm.h: New file.
4267 From James LewisMoss <dres@ioa.com>
4269 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4272 Fix the realpath() problem of UnixWare2.1.3.
4273 Patches for NEC's sysv4.2 machine.
4275 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4277 * dired.c (Fdirectory_files): Remove redundant code.
4279 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4281 * fns.c (free_malloced_ptr): New function.
4282 (XMALLOC_OR_ALLOCA): New macro.
4283 (XMALLOC_UNBIND): Ditto.
4284 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4285 to be freed in case of non-local exit.
4286 (Fbase64_encode_string): Ditto.
4287 (Fbase64_decode_region): Ditto.
4288 (Fbase64_decode_string): Ditto.
4289 (STORE_BYTE): New macro.
4290 (base64_decode_1): Use it.
4292 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4294 * fns.c (base64_value_to_char): Base64 stuff.
4296 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4298 * editfns.c (Fbuffer_substring): New function.
4300 * lisp.h: Declare make_string_from_buffer_no_extents().
4302 * insdel.c (make_string_from_buffer_1): New function.
4303 (make_string_from_buffer_no_extents): Ditto.
4305 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4307 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4308 sound work on AIX with OSS installed. Linux should still work.
4310 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4312 * config.h.in: name change for cygwin/version.h
4314 * configure.in: check for cygwin/version.h now.
4316 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4317 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4318 move cygwin32/version.h to cygwin/version.h
4320 1998-11-03 Olivier Galibert <galibert@pobox.com>
4322 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4325 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4327 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4328 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4329 enable BROKEN_SIGIO under b20 to make QUIT work.
4331 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4333 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4334 to fit within the constraints of the screen size. I.e. make the
4335 frame small enough to fit and move it if some of it will be
4338 1998-10-19 Greg Klanderman <greg@alphatech.com>
4340 * dired.c: conditionalize inclusion of user-name-completion
4341 primitives on non-Windows NT. The needed functions don't exist on NT.
4343 1998-11-24 SL Baur <steve@altair.xemacs.org>
4345 * gifrlib.h: Clean up types for 64 bit compile.
4346 * dgif_lib.c (DGifInitRead): Ditto.
4347 (MakeSavedImage): Ditto.
4348 * emacs.c (decode_path): Ditto.
4349 From Steve Carney <carney@pa.dec.com>
4351 1998-10-16 William M. Perry <wmperry@aventail.com>
4353 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4354 (cehckboxes instead of checkboxes).
4356 1998-10-15 SL Baur <steve@altair.xemacs.org>
4358 * XEmacs 21.2-beta3 is released.
4360 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4362 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4363 gnuclient. Otherwise, we run xemacs as we always did. This gets
4364 rid of the annoying DOS window when running gnuclient.
4366 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4368 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4369 HAVE_MS_WINDOWS typo.
4371 1998-10-13 SL Baur <steve@altair.xemacs.org>
4373 * process-unix.c (unix_send_process): Set closed flag on writable
4374 pipe after SIGPIPE is received and before we call deactivate_process.
4376 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4378 * window.c (Fset_window_start): respect narrowing when
4379 checking wheter start is at the beginning of a line.
4380 (Fset_window_buffer): Ditto
4381 Fixes repeatable crash in VM.
4383 1998-10-09 SL Baur <steve@altair.xemacs.org>
4385 * window.c (specifier_vars_of_window): Set default vertical
4386 divider width to 1 on ttys.
4388 1998-10-08 Martin Buchholz <martin@xemacs.org>
4393 Add <stddef.h> to get ptrdiff_t declaration
4395 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4397 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4398 is used for Motif or Lucid scrollbars under X.
4400 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4402 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4405 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4407 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4409 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4411 * s/cygwin32.h: more cygwin b20 reorganisation.
4413 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4415 * nas.c: Added necessary support functions to be able to handle
4416 WAVE files in memory, just like the support for SND files in
4419 1998-09-30 SL Baur <steve@altair.xemacs.org>
4421 * callproc.c (child_setup): Fix spelling typo.
4423 1998-09-29 SL Baur <steve@altair.xemacs.org>
4425 * XEmacs 21.2-beta2 is released.
4427 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4429 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4430 to prevent memory corruption in the case of jumping out of a series of
4431 nested match patterns. This is a rather brute force approach, though.
4433 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4435 * config.h.in: ditto.
4437 * s/cygwin32.h: rearrange declarations to cope with cygwin
4438 b20. Include cygwin32/version.h if it exists.
4440 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4442 * device-msw.c (mswindows_init_device): Call new
4443 mswindows_enumerate_fonts() function in objects-msw.c instead
4444 of font_enum_callback_1() to enumerate fonts.
4446 font_enum_callback_1() and _2() moved to objects-msw.c.
4448 * faces.c (complex_vars_of_faces): Make the mswindows default
4449 face font fully specified and provide some fallbacks.
4451 * objects-msw.c: font_enum_callback_1() and _2() moved here
4452 from objects-msw.c. Obtain the enumerated font's character
4453 sets by table lookup instead of using the locale-specific
4454 string provided by Windows.
4456 New public non-method mswindows_enumerate_fonts() that fills
4457 in the supplied mswindows device's font list.
4459 mswindows_initialize_font_instance: Use the supplied name
4460 variable instead of f->name when signalling errors. Match font
4461 weights and character sets using lookup tables which handle
4462 spaces instead of by frobbing.
4464 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4466 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4467 on the size of code fragments passed to run_in_other_process.
4469 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4470 the amount of memory to allocate in the other process.
4472 Removed sigkill_code_end(), sigint_code_end() and
4473 sig_enable_code_end() since they are now redundant.
4475 send_signal() and enable_child_signals(): Don't try to work
4476 out the end of the code fragments passed to
4477 run_in_other_process()
4479 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4481 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4484 * src/unexelf.c: Partially synched with FSF's 20.3.
4486 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4488 * insdel.c (signal_after_change): Map across indirect buffers
4489 here, and not in the upper-level functions.
4490 (signal_first_change): Don't check for Armageddon.
4491 (signal_before_change): Map across indirect buffers here.
4492 (prepare_to_modify_buffer): ...and here.
4494 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4496 * insdel.c (signal_after_change): Add return value.
4497 (buffer_insert_string_1): Use it.
4498 (buffer_delete_range): Ditto.
4499 (buffer_replace_char): Ditto.
4500 (cancel_multiple_change): Map the indirect buffers.
4502 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4504 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4505 (uninit_buffer_text): Ditto.
4507 * buffer.c (Fmake_indirect_buffer): Implement stricter
4510 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4512 * insdel.c (change_function_restore): Reverse order of
4513 function-call and assignment.
4514 (first_change_hook_restore): Ditto.
4516 * extents.c (mark_extent_auxiliary): Mark them.
4517 (Fset_extent_property): Set them.
4518 (Fextent_property): Get them.
4519 (Fextent_properties): Ditto.
4520 (vars_of_extents): Set their default.
4522 * extents.h (struct extent_auxiliary): Add before_change_functions
4523 and after_change_functions.
4525 * insdel.c (signal_before_change): Use it.
4526 (signal_after_change): Ditto.
4528 * extents.c (report_extent_modification): New function.
4530 * insdel.c (signal_before_change): Don't check for Armageddon.
4531 (signal_after_change): Ditto.
4533 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4535 * redisplay.c (redisplay_window): make sure a new starting point
4536 is chosen if it somehow got moved from the beginning of the line
4537 -- this can happen because Fwiden was called recently.
4539 * window.c (Fset_window_start): set start_at_line_beg correctly
4540 (Fset_window_buffer): Ditto
4542 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4544 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4545 (uninit_buffer_text): Ditto.
4547 * buffer.c (Fmake_indirect_buffer): Implement stricter
4550 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4552 * emacs.c (main_1): Removed references to *vars_of_filelock.
4554 * lisp.h: Added Fsystem_name.
4556 * filelock.c: Replaced by version from FSF 20.2. Now implements
4557 locking by using symlinks which is NFS safe. However keep the
4558 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4559 version (and of course use ansi C, acessor macros, etc).
4561 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4563 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4564 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4565 in init_signals_very_early. However these should not be passed
4566 on to children attached to the new pty.
4568 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4570 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4572 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4574 * fileio.c (file-name-directory, file_name_as_directory):
4575 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4577 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4579 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4581 * ralloc.c: uncomment __morecore.
4583 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4585 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4586 WriteFile() to fix a winsock 1.x bug on Win95.
4588 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4590 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4592 (x_event_to_emacs_event): Ditto.
4593 (emacs_Xt_handle_focus_event): Ditto.
4594 (emacs_Xt_handle_magic_event): Ditto.
4596 * console-x.h (struct x_device): New flag being_deleted.
4597 (DEVICE_X_BEING_DELETED): New macro.
4599 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4600 returning. Before doing that, set the being_deleted flag on the
4603 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4605 * device-x.c (x-seppuku-on-epipe): Removed.
4607 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4609 * frame-x.c (x_delete_frame): Flush the X output buffer after
4610 calling XtDestroyWidget to ensure that the windows are really
4613 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4615 * menubar-x.c (my_run_hook): New unused function.
4616 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4617 since we ignore the results of the contained functions anyway.
4619 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4621 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4622 interlaced GIF files that are smaller than 4 lines high...
4624 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4626 * buffer.c (map_over_sharing_buffers): Deleted.
4628 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4630 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4633 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4635 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4637 (buffer_delete_range): Ditto.
4639 * marker.c (init_buffer_markers): Set point-marker to the value of
4640 point in an indirect buffer.
4642 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4644 * undo.c (undo_prelude): Test last-undo-buffer against base
4647 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4649 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4651 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4653 * insdel.c (init_buffer_text): Initialize it here.
4655 * line-number.c: Address line_number_cache through buffer->text.
4657 * buffer.c (mark_buffer): Mark line number cache.
4659 * bufslots.h (line_number_cache): Move to struct buffer_text.
4661 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4662 across the children buffers.
4663 (buffer_delete_range): Ditto.
4664 (buffer_replace_char): Ditto.
4668 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4670 * buffer.c (Fmake_indirect_buffer): Uncomment.
4672 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4674 * macros.c (Fend_kbd_macro): Remove trailing period from error
4676 (Fexecute_kbd_macro): Ditto.
4678 1998-08-21 Greg Klanderman <greg@alphatech.com>
4680 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4681 (Fuser_name_completion_1): new function to return uniqueness
4682 indication in addition to the user name completion.
4683 (user_name_completion): change type of `uniq' argument.
4685 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4687 * lread.c (vars_of_lread): Removed `source-directory' variable.
4689 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4691 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4694 1998-08-19 SL Baur <steve@altair.xemacs.org>
4696 * dired.c (vars_of_dired): Fix misapplied patch.
4698 1998-08-16 Martin Buchholz <martin@xemacs.org>
4700 * fns.c (Fremrassq, remrassq_no_quit):
4701 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4703 1998-07-17 Didier Verna <verna@inf.enst.fr>
4705 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4706 style as foreground GC for faces that have the `dim' property.
4707 (x_output_string): when the `dim' face property is set,
4708 ensure the gray pixmap has been created, and get a proper
4709 foreground GC to draw the text.
4711 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4713 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4714 Manually track the state of the left and right Ctrl and Alt
4717 1998-08-07 Matt Stupple <matts@tibco.com>
4719 * ntproc.c: don't wait on char_consumed at thread entry.
4720 Additionally, to get the 'process' marked as finished, ensure
4721 that the CHILD_ACTIVE macro returns false, so before exiting
4722 close char_avail and set it to NULL, and close other handles
4723 to reduce handle leak problems.
4725 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4727 * menubar-msw.c (displayable_menu_item): take account of menu
4728 depth when deciding whether to try to display accelerators.
4730 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4732 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4735 * glyphs-msw.c: fix a couple of potential handle leaks.
4737 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4739 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4740 *decoding ONLY* back into the core.
4741 * glyphs-eimage.c: Change referenced header file for GIF
4742 reading to point to the incore version.
4744 1998-07-20 Martin Buchholz <martin@xemacs.org>
4746 * casefiddle.c (casify_object):
4747 Change algorithm from O(N**2) to O(N).
4751 1998-07-22 Greg Klanderman <greg@alphatech.com>
4753 * dired.c (file_name_completion_unwind): don't leak the cons.
4755 1998-07-20 Greg Klanderman <greg@alphatech.com>
4757 * dired.c (Fuser_name_completion): new function.
4758 (Fuser_name_all_completions): new function.
4759 (user_name_completion): new function.
4760 (syms_of_dired): 2 new DEFSUBRs.
4761 (vars_of_dired): initialize user name cache vars.
4763 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4765 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4766 colors taken from the default face. Also correct a thinko in
4767 transparency (not alpha) handling.
4769 1998-07-23 Martin Buchholz <martin@xemacs.org>
4771 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4772 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4773 * lread.c (Fload_internal): Be very careful with printfs of
4775 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4778 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4780 * callint.c (Fcall_interactively): GCPRO prompt string before
4781 passing it to Fread_key_sequence
4783 1998-07-27 SL Baur <steve@altair.xemacs.org>
4785 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4786 Vvertical_divider_map.
4788 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4789 Qnil or 0, none were initialized prior to this change.
4791 Rename misnamed `V' prefixed integer variables:
4792 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4793 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4794 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4795 Vcanna_ichiran_revLen.
4797 Rename misnamed `V' prefixed integer variables and initialize
4798 properly in the vars_of routine.
4799 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4800 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4801 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4802 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4803 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4804 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4805 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4806 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4807 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4808 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4809 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4810 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4811 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4812 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4813 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4814 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4815 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4816 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4817 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4818 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4819 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4820 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4821 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4822 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4823 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4824 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4825 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4826 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4827 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4828 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4829 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4830 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4831 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4832 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4833 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4834 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4835 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4836 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4837 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4838 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4839 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4840 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4841 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4842 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4843 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4844 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4846 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4848 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4849 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4850 keys thus no longer considering all keysyms on a key.
4852 1998-07-19 SL Baur <steve@altair.xemacs.org>
4854 * XEmacs 21.2-beta1 is released.
4856 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4858 * eldap.c (Fldap_search_internal): When converting the list of
4859 attributes to search Copy the final 0 from Lisp strings to C
4861 Check base, not Vldap_default_base as a a string
4863 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4865 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4867 * unexnt.c: Unconditionally define bss_start and bss_size, and
4868 ensure that they don't go in the .bss section.
4870 1998-07-17 Olivier Galibert <galibert@pobox.com>
4872 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4873 byte order is dependant of the local byte order).
4874 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4876 1998-07-18 SL Baur <steve@altair.xemacs.org>
4878 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4879 Qmswindows_resource.
4880 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4882 1998-07-12 SL Baur <steve@altair.xemacs.org>
4884 * general.c (syms_of_general): Add defsymbol for Qresource.
4886 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4887 Qmswindows_resource.
4888 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4889 (mswindows_resource_validate): Rename.
4890 (mswindows_resource_normalize): Rename.
4891 (mswindows_resource_possible_dest_types): Rename.
4892 (mswindows_resource_instantiate): Rename.
4893 (image_instantiator_format_create_glyphs_mswindows): Replace
4894 `resource' with `mswindows.resource'.
4896 * XEmacs 21.0-pre5 is released.
4898 1998-07-10 SL Baur <steve@altair.xemacs.org>
4900 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4901 server type in environment.
4902 Use alloca-ed strings instead of tiny fixed size ones.
4904 1998-07-09 SL Baur <steve@altair.xemacs.org>
4906 * XEmacs 21.0-pre4 is released.
4908 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4910 * fileio.c: (expand_file_name): under win32: Don't treat names
4911 as UNC names if a drive letter has been specified. If a drive
4912 has been specified, strip out extra directory-seperators that
4913 reportedly cause problems under Win95.
4915 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4917 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4918 MSVC >= 5.0. Put emacs init and zero-init data in a special
4919 section of the executable when this is defined.
4921 * unexnt.c, ntheap.h:
4922 Removed unused find_section() and get_section_size().
4925 Fix up the executable's checksum after dumping otherwise the
4927 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4928 zero-init data separately from init data. Dump emacs data
4929 into a special section of the executable.
4930 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4931 my_ebss instead of up to the end of bss.
4933 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4935 * filelock.c: Removed Vconfigure_lock_directory - already
4938 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4939 defined in frame.c and general.c respectively.
4941 * glyphs-msw.c: Removed Qresource - already defined in
4944 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4946 * eldap.c (Fldap_search_internal): Docstring fixes
4948 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4950 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4951 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4952 EMACSPACKAGEPATH and INFOPATH variables.
4953 Removed unused get_emacs_configuration function.
4955 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4956 it is now defined at build-time by the makefile.
4958 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4960 * fileio.c: (expand_file_name): under win32: Don't treat names as
4961 UNC names if a drive letter has been specified. If a drive has
4962 been specified, strip out extra directory-seperators that
4963 reportedly cause problems under Win95.
4965 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4967 * faces.c (complex_vars_of_faces): for the gui-element face don't
4968 fallback to the default face, instead provide reasonable default
4969 fallbacks that were previously hardcoded elsewhere.
4971 1998-07-06 Olivier Galibert <galibert@pobox.com>
4973 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4974 when the X server endianness is different than the client's one.
4976 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4978 * eval.c (run_hook_with_args_in_buffer): Check
4979 default (non-buffer-local) value of hook for
4980 nil before treating it as a function. Don't initialize
4981 the `globals' variable twice.
4983 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4985 * fileio.c: Don't do directory seperator canonicalisation in
4986 substitute-in-file-name because we don't know that the
4987 filename refers to a local file.
4989 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4991 * process-nt.c (nt_create_process): Try appending the standard
4992 executable file extensions to the filename if none supplied.
4994 1998-06-29 SL Baur <steve@altair.xemacs.org>
4996 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4998 From Keisuke Mori <ksk@ntts.com>
5000 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5002 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5003 images if we have masks. This handles the xbm case (have masks)
5004 and avoids overuse of resources in the xpm case (generally no masks).
5005 Don't output small toolbars.
5007 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5009 * eval.c (run_hook_with_args_in_buffer): Don't treat
5010 the default value of a buffer local hook as a list of
5011 hooks unless it is both a cons and the car of that cons
5014 1998-06-29 SL Baur <steve@altair.xemacs.org>
5016 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5017 * process-unix.c: Ditto.
5018 * mule-coding.h: Ditto.
5019 * mule-coding.c: Ditto.
5020 * mule-charset.c: Ditto.
5021 * mule-charset.h: Ditto.
5022 * file-coding.c: Ditto.
5023 * file-coding.h: Ditto.
5025 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5027 * event-msw.c: Guard against recursion when freeing
5028 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5030 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5031 Call ShowWindow twice in init_frame_3 to get round runemacs
5034 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5036 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5038 * winslots.h: Rename.
5040 * window.c (specifier_vars_of_window): Renamed
5041 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5042 as suggested by Ben Wing.
5043 (specifier_vars_of_window): Fix docstrings.
5045 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5047 * unexaix.c: Line number information works correctly again.
5049 1998-06-22 Olivier Galibert <galibert@pobox.com>
5051 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5053 1998-06-21 Martin Buchholz <martin@xemacs.org>
5055 * editfns.c (get_home_directory): ANSIfy.
5056 XEmacs is compilable under C *and* C++.
5057 It's XEmacs, not Xemacs!
5059 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5061 * console-msw.h: added a list of fonts to device data.
5063 * device-msw.c: enumerate list of available fonts in
5064 mswindows_init_device. Free list in mswindows_delete_device.
5066 * objects-msw.c: Added helper function match_font used by
5067 mswindows_initialize_font_instance and mswindows_list_fonts.
5068 Allow a charset to be specified in a font string, even if
5069 previous fields havn't been specified.
5071 1998-06-23 Greg Klanderman <greg@alphatech.com>
5073 * indent.c (column_at_point): column cache bugfix.
5074 Set last_known_column_point to the buffer position for
5075 which the column was requested, not buffer's point.
5077 * redisplay.c (decode_mode_spec): for current-column, show
5078 window's point's column, not buffer's point's column.
5080 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5082 * menubar-msw.c (mswindows_handle_wm_command): use
5083 enqueue_misc_user event rather than
5084 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5087 * console-msw.h: declare mswindows_enqueue_magic_event.
5089 * event-msw.c (mswindows_enqueue_magic_event): make global.
5091 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5093 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5094 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5095 (add_position_to_cache): Use EMACS_INT instead of int.
5097 1998-06-21 Olivier Galibert <galibert@pobox.com>
5099 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5100 suitable for an int used as a boolean (btw, C sucks.).
5102 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5104 * object-msw.c: remove warnings.
5106 * device-msw.c: #define wrongly named cygwin structure elements.
5108 * s/cygwin32.h: define DEMI_BOLD
5110 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5112 * redisplay-msw.c: new function mswindows_apply_face_effects.
5113 This is called by output_string and output_cursor to display
5114 underline and strikeout on faces.
5116 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5118 * console-msw.h: added a list of fonts to device data.
5120 * device-msw.c: enumerate list of available fonts in
5121 mswindows_init_device. Free list in mswindows_delete_device.
5123 * objects-msw.c: Added helper function match_font used by
5124 mswindows_initialize_font_instance and mswindows_list_fonts.
5125 Allow a charset to be specified in a font string, even if
5126 previous fields havn't been specified.
5128 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5131 Removed compilation warnings from mswindows_string_to_color.
5132 mswindows_list_fonts returns a more general bogus font.
5133 New lisp-visible function mswindows-color-list.
5135 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5137 * editfns.c (Fuser_login_name): Modify to user new function
5139 (user_login_name): C only function to avoid Lisp object overhead
5140 Returns "unknown" instead of nil in Cygwin environment
5142 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5143 equivalent for current user in Cygwin environment. Use new
5144 function user_login_name to get username.
5146 * lisp.h: Declare user_login_name
5148 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5150 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5152 Some other insignificant nitpicks.
5154 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5156 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5157 creating the image list and make sure he bk color is transparent.
5159 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5161 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5162 completed_timeouts. The timer could have expired.
5164 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5166 * console-msw.h: move XEMACS_RECT_WH inside frame
5167 parameters. define macors to access it.
5169 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5170 parameter to intialise desired sizing. (mswindows_init_frame_2):
5171 enable and size the frame to something sensible when we get
5172 here. (mswindows_set_frame_properites): use new
5173 mswindows_size_frame_internal function and size frame if frame
5174 parameters not just if init is finished - WM_SIZE happens too
5175 early for some specs. (mswindows_size_frame_internal): new
5176 function abstracted from mswindows_set_frame_properties.
5177 (Vmswindows_use_system_frame_size_defaults):
5178 new variable controls whether to allow the system to pick frame
5179 size defaults, defaults to nil.
5181 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5182 than duplicated code.
5184 1998-06-15 Colin Rafferty <colin@xemacs.org>
5186 * Makefile.in.in: Made EXTW_LINK expand properly.
5188 1998-06-12 Martin Buchholz <martin@xemacs.org>
5190 * redisplay.c (vars_of_redisplay): default value of
5191 column-number-start-at-one should be NIL!
5193 1998-06-11 Martin Buchholz <martin@xemacs.org>
5196 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5198 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5200 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5201 build_string to avoid crashes under Mule.
5203 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5205 * ntplay.c (play_sound_data_1): don't delete the sound data until
5206 the next sound is played and the previous one finished.
5208 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5210 * fileio.c (directory-sep-char): Escape backslashes.
5212 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5214 * event-stream.c: Fix docstring reference.
5216 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5218 * alloc.c (make_float): Remove useless initialization of `next'
5220 (make_pure_float): Ditto.
5222 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5224 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5226 * fileio.c (Fmake_directory_internal): Remove conditionals
5227 on WINDOWSNT when calling mkdir.
5229 * ntproc.c: Deleted the following unused functions:
5230 register_child, reap_subprocess, sys_wait.
5232 * nt.c (sys_rename): Ifzeroed this implementation.
5233 Deleted the following unused functions:
5234 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5235 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5236 sys_read, sys_write.
5237 Merger sys_fopen and sys_open with sysdep.c implementation.
5239 * sysdep.c: Removed MS-DOS code.
5240 (sys_rename): Deal with Microsoft rename weirdness.
5241 (sys_open): Implemented for Windows.
5245 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5247 * buffer.c (complex_vars_of_buffer): Removed %t description from
5250 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5252 * scrollbar-msw.c: initialize the cbSize element of the
5253 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5254 to ignore the value of cbSize, but Win95 (and I presume Win98)
5255 appear to want it set to sizeof(SCROLLINFO).
5257 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5259 * event-stream.c: Defined Qcancel_mode_internal.
5260 (syms_of_event_stream): defsymbol'ed it.
5262 * events.h: Externed it.
5264 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5266 1998-06-04 Oliver Graf <ograf@fga.de>
5268 * frame-x.c (x_cde_destroy_callback): free the data
5269 (cde-start-drag-internal) corrected root position, 21.1 needs this
5270 hardcoded in Button events
5271 (offix-start-drag-internal) corrected root position
5273 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5275 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5278 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5280 * dialog-msw.c (button_width): Removed `inline' from the function
5283 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5285 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5286 Note that adding this flag to subsequent frames causes problems.
5288 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5290 * glyphs-eimage.c (png_instantiate) move 'struct
5291 png_memory_storage tbr' out of nested block to avoid dangling
5294 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5297 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5298 inherits from gui-element.
5300 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5301 with existing code, generate masks correctly.
5303 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5305 * glyphs-eimage.c: Changed included header for gifs to use
5306 Gifreader instead of giflib.
5308 * glyphs-x.c: removed the image-related functions that were
5309 moved into glyphs-eimage.
5311 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5313 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5314 if built without X Windows support.
5316 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5318 * fns.c (Fconcat): Synch docstring with new reality.
5320 1998-06-03 SL Baur <steve@altair.xemacs.org>
5322 * frame.c: Remove reference to msdos.h (which is going away).
5323 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5325 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5327 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5331 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5333 * events.h: Fixed commentary about misc-user scrollbar events.
5335 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5336 object as an event channel, instead of window object.
5337 (x_update_horizontal_scrollbar_callback): Ditto.
5339 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5341 * ntplay.c (play_sound_data_1) new function. convert alloca data
5342 to malloc if necessary.
5343 (play_sound_file): if the file is not in our path then convert to
5346 1998-06-01 SL Baur <steve@altair.xemacs.org>
5348 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5349 * msdos.c (Frecent_doskeys): Ditto.
5351 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5352 Suggested by Reggie Perry <perry@zso.dec.com>
5354 * buffer.h: Eliminate size in declaration.
5356 1998-06-01 Olivier Galibert <galibert@pobox.com>
5358 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5360 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5362 * gui.c (gui_item_init): Changed the default value for config member
5363 from Qunbound to Qnil.
5365 1998-06-01 Greg Klanderman <greg@alphatech.com>
5367 * indent.c (vmotion_pixels): Don't #define abs().
5369 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5371 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5374 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5376 * glyphs.h: add xbm declarations.
5378 * console.h: add xbm_instantiate_method device method.
5380 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5381 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5382 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5383 locate_pixmap_file device method and read_bitmap_data_from_file
5384 instead of XmuReadBitmapDataFromFile.
5385 (xbm_instatntiate): make a device method.
5387 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5388 new function that just calls XmuReadBitmapDataFromFile.
5389 (x_xbm_instatntiate): device method from xbm_instantiate.
5391 * glyphs-msw.c (read_bitmap_data) (NextInt)
5392 (read_bitmap_data_from_file): new functions copied from Xmu
5394 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5395 inline data to an mswindows bitmap.
5396 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5397 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5400 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5402 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5403 `modeline-visible-p'.
5404 Declared specifier lisp variables at the beginning oh the file
5407 * procimpl.h (struct process_methods): Changed semantics of
5408 create_process method so it accepts lisp strings instead of
5411 * process.c (Fstart_process_internal): Moved building of
5412 unix style argv from here to process-unix.c, ...
5414 * process-unix.c (unix_create_process): ... right here.
5416 * process-nt.c (nt_create_process): Changed this function to
5417 support new semantics, so avoided a GC problem.
5419 * events.c (Fmake_event): Document misc-user events properties.
5420 (Fmake_event): Do not allow arbitrary objects for channel property
5421 of misc-user events.
5422 (Fmake_event): Change misc-user event validation: it is function
5423 which is required, not button.
5425 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5427 (mswindows_enqueue_misc_user_event): Added function.
5428 (mswindows_bump_queue): Removed function.
5429 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5430 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5431 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5432 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5433 really nothing, which is my personal favorite thing.
5435 * console-msw.h: Removed prototype for mswindows_bump_queue().
5436 Added prototype for mswindows_enqueue_misc_user_event().
5438 * menubar-msw.c (mswindows_handle_wm_command): Use
5439 mswindows_enqueue_misc_user_event().
5441 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5443 * dialog-msw.c (dialog_proc): Ditto.
5445 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5446 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5447 user events channel.
5449 1998-05-29 Greg Klanderman <greg@alphatech.com>
5451 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5452 incorrect semantics of vmotion_pixels which has been fixed. don't
5453 use it anymore as it can't easily be used.
5455 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5456 the motion was reported incorrectly if you tried to go past end of
5459 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5461 * toolbar.h: Removed misleading commentary, as Martin suggested.
5463 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5465 * lisp.h: Extern Qactivate_menubar_hook.
5467 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5470 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5472 * glyphs-msw.c: use BPLINE macro.
5474 * select-msw.c (mswindows-selection-exists-p)
5475 (mswindows-delete-selection): doc string fixes.
5477 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5478 unpressable. warning elimination.
5480 1998-05-28 Martin Buchholz <martin@xemacs.org>
5482 * alloc.c (dbg_constants):
5485 Remove toolbar_data debugging code, since that lrecord has
5488 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5490 * alloc.c: zap cached value of (user-home-directory), so that
5493 * buffer.c: From init_buffer(), separated out code that
5494 determined the initial directory for the *scratch* buffer, and
5495 put them into a function called "init_initial_directory()".
5496 The initial directory is now available as a global "char *"
5497 called initial_directory.
5499 * buffer.h: Added extern entries for initial_directory[] and
5500 init_initial_directory().
5502 * editfns.c: added new elisp function "user-home-directory",
5503 which basically returns getenv("HOME"), but attempts to use
5504 other values if $HOME isn't set.This may have to be tweaked in
5505 the future as, under Unix, "/" is used if $HOME isn't set (this
5506 probably should be set to the current directory). To support
5507 this, a new C function, "get_home_directory()", now exists,
5508 which returns the "home directory", as a "char *" string.
5510 * emacs.c: Rearrange NT initialization order so that
5511 environment/registry variables will be properly entered into
5512 Vprocess_enviroment.
5514 * fileio.c: replaced egetenv("HOME") with calls to the new
5515 get_home_directory().
5517 * lisp.h: Added function prototypes for uncache_home_directory()
5518 and get_home_directory(), along with lisp prototypes for
5519 Fuser_home_directory() and friends.
5521 * nt.c: replaced getenv("HOME") with calls to the new
5522 get_home_directory().
5524 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5525 warnings about getcwd(), etc. not having prototypes.
5527 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5529 * process-nt.c (send_signal): Emulate SIGHUP.
5530 (validate_signal_number): Ditto.
5532 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5533 remove MOD_SHIFT from ASCII characters.
5534 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5537 1998-05-24 Oliver Graf <ograf@fga.de>
5539 * frame-x.c (cde-start-drag-internal): added filename and multi-
5541 (x_cde_convert_callback) dito
5543 1998-05-26 Oliver Graf <ograf@fga.de>
5545 * frame-x.c: include event-mod.h also with CDE
5546 (x_cde_convert_callback) made the thing working
5547 (cde-start-drag-internal) also debugging
5549 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5556 - add __OpenBSD__ where __NetBSD__ was found.
5557 - TODO: replace platform-specific conditional compilation by
5558 feature tests in configure.in.
5560 1998-05-15 Greg Klanderman <greg@alphatech.com>
5562 * window.c (Fwindow_displayed_text_pixel_height): New function.
5563 (syms_of_window): DEFSUBR it.
5565 * indent.c (Fvertical_motion_pixels): New function - request
5567 (vmotion_pixels): helper.
5568 (syms_of_indent): DEFSUBR.
5569 * lisp.h: declaration for vmotion_pixels().
5571 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5572 to request returning motion in pixels.
5573 (Fvertical_motion_pixels): Remove, functionality merged into
5575 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5576 (Fmove_to_window_line): ditto.
5577 * lisp.h: Change declaration for Fvertical_motion.
5579 * window.c: rename window-text-pixel-{height,width,edges} to
5580 window-text-area-pixel-*.
5582 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5584 * tooltalk.c (vars_of_tooltalk) added staticpro for
5585 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5587 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5589 * faces.c: create a new 3d_object_face, make modeline and
5590 vertical_divider faces fallback to this rather than the default.
5592 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5594 * s/cygwin32.h: define charsets for cygwin.
5596 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5598 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5599 and coordinates. resize bitmaps if we have already settled on a
5602 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5604 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5606 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5608 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5612 * gui-x.c (popup_selection_callback): Ditto.
5614 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5616 * gui.c (get_callback): Renamed to get_gui_callback.
5618 1998-05-17 Martin Buchholz <martin@xemacs.org>
5620 * glyphs.h: order rearrangement.
5622 * device-tty.c (tty_asynch_device_change): Warning suppression.
5623 * device-x.c (x_device_system_metrics): Warning suppression.
5624 Make Doc strings consistent with coding standards.
5626 1998-05-24 Martin Buchholz <martin@xemacs.org>
5628 * general.c: multiple definition of `Qicon'. general.c seems
5629 like a good home for Qicon.
5631 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5633 * This patch is to fix compilation warnings under Windows.
5635 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5636 Added prototypes for FSF inherited functions, with which XEmacs is
5637 sprinkled thoroughly.
5638 Removed some #if 0 code. Bracketed some more definitions, probably
5639 related to Visual C versions prior to 4 (we do not support them).
5641 * sysfloat.h (logb): Finally, get logb() prototyped.
5643 * sysfile.h: Added Windows specific includes.
5644 Removed old Windows specific code bracketed with #if 0.
5646 * sysdep.h: Added prototype for xrealpath().
5648 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5650 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5651 vars_of_dired_mswindows and init_ntproc (Grrr).
5653 * realpath.c: Added Windows specific include files.
5654 (xrealpath): Conditionalized declaration of some auto variables on
5655 S_IFLNK, to avoid warnings.
5657 * ntproc.c: Disabled some compiler warnings. This file is going to
5658 die, so I have not cleaned it up much.
5659 (set_process_dir): Const parameter.
5660 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5661 (Fwin32_long_file_name): Ditto.
5662 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5665 * nt.h: Added prototypes for set_process_dir and convert_time.
5667 * nt.c: More include files.
5668 (getpwnam): Consted char* argument.
5669 (get_emacs_configuration): Const return value.
5670 (opendir): Const argument.
5671 (stat): Casted converstion long->short.
5672 (stat): Removed ad hoc and questionable support for non-MSC compile.
5673 (sys_pipe): Removed unused auto variable.
5674 (_sys_read_ahead): Removed calls to DebPrint.
5675 (sys_read): Ditto, in 2 places.
5676 (term_ntproc): Added unused int parameter to signal handler, to
5677 avoid a warning when compiling a call to signal().
5678 (msw_sigset): Properly return old signandler or NULL instead of void.
5680 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5682 * gmalloc.c (morecore): Ditto.
5683 (_free_internal): Ditto.
5685 * lread.c (parse_integer): Ditto.
5687 * dired-msw.c: Added several include files.
5689 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5690 of Compilers to Shut Up.
5692 * callproc.c: Added #includes to suppress warnings under Windows.
5693 (init_callproc): Removed #if0'ed code and unused variables.
5695 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5697 * device-msw.c (mswindows_device_system_metrics): do planes in a
5698 way consistent with X.
5700 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5701 use SetPixel, use DIBits functions.
5702 (xpm_to_eimage): frob colors more closely like xpm deos.
5704 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5705 to be closer to X version.
5707 * event-msw.c: use tooltip string directly.
5709 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5711 * objects-msw.c: frob rgb colors that only Kyle uses.
5713 * dialog-msw.c (button_width): INLINE -> inline.
5715 1998-05-23 SL Baur <steve@altair.xemacs.org>
5717 * getloadavg.c (getloadavg): Fix typo.
5719 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5721 * objects-msw.c (mswindows_initialize_font_instance): Added support
5722 for font character sets.
5723 Replaced 'XXX' with '####' in comments throughout the file.
5725 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5727 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5728 console_type_create_dialog_mswindows(), to initialize Windows dialog
5731 * symsinit.h: Prototyped the above functions.
5733 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5734 checks to dialog.c...
5736 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5737 device must support dialog boxes, and the descriptor must supply at
5740 * dialog-msw.c: New file, dialogs for Windows.
5742 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5744 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5745 (Fldap_search_internal): Removed unused variable `err'
5747 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5750 1998-05-17 Martin Buchholz <martin@xemacs.org>
5752 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5753 defined. Therefore there is no need to handle the case when
5754 HAVE_LDAP is undefined. Similarily, there is no reason to have
5755 any code wrapped within `#ifdef emacs', since this code is only
5756 useful within an emacs. This simplifies the code significantly.
5758 * inline.c: Include eldap.h only if HAVE_LDAP.
5759 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5762 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5764 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5765 printing dump stats when building without DEBUG_XEMACS.
5766 (dump_bss_and_heap): Ditto.
5768 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5770 * gnuclient.c: don't suppress window system if there is no display
5771 and we are running under mswindows. send 'mswindows device type if
5772 we are in this situation.
5774 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5777 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5779 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5782 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5784 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5785 {top,bottom}-{left,right} values in addition to
5786 {top,bottom}_{left,right}.
5788 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5790 * fileio.c (Fmake_temp_name): Remove unreached code.
5792 * process-nt.c (validate_signal_number): Use
5793 signal_simple_error().
5795 1998-05-19 Martin Buchholz <martin@xemacs.org>
5798 * sound.c (vars_of_sound):
5799 * sysdep.c (reset_sigio_on_device):
5800 * window.c (window_bottom_gutter_height):
5801 unexhp9k800.c:258: warning: implicit declaration of function
5802 `calculate_checksum'
5803 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5804 sysdep.c:1012: warning: unused variable `owner'
5805 window.c:993: warning: `window_right_toolbar_width' defined but not used
5807 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5809 * glyphs-msw.c (mswindows_create_resized_mask)
5810 (mswindows_create_resized_bitmap): new funnctions split out from
5811 mswindows_resize_dibitmap_instance.
5813 * glyphs-msw.h: declare new resize functions.
5815 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5816 functions so that the original bitmaps are preserved.
5818 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5820 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5821 color if we are trying to output 0 depth bg pixmap.
5823 * scrollbar-msw.c: warning elimination.
5825 1998-05-18 Martin Buchholz <martin@xemacs.org>
5827 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5828 directives in column 1.
5830 * search.c (skip_chars): Avoid using xzero with arrays, since some
5831 compilers get confused by the construct &array.
5833 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5836 * objects-msw.c: Changed the charset value for a new font from
5837 "don't care" to "ansi".
5839 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5841 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5843 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5844 modifier on control chars.
5845 Use IsCharAlpha() instead of isaplha().
5847 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5849 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5851 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5853 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5854 charset when creating font.
5855 (mswindows_initialize_color_instance): Do not create brush along
5857 (mswindows_finalize_color_instance): Do not delete it then.
5859 * objects-msw.h (struct mswindows_color_instance_data): Removed
5860 brush slot, and corresponding accessor macro.
5862 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5864 * toolbar.c: Removed toolbar_data lrecord implementation.
5865 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5866 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5867 (compute_frame_toolbar_buttons): Ditto.
5868 (CHECK_TOOLBAR): Ditto.
5869 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5870 (update_frame_toolbars): Do not check for changed buffer
5871 here. Toolbar information is provided by cached specs in
5872 windows. The check for buffer is eliminated becuase toolbars are
5873 marked changed in set_frame_selected_window() in frame.c
5874 Added check for changed toolbars geometry.
5875 (compute_frame_toolbars_data): Removed unused second parameter;
5876 Adjusted callers of this static function throughout the file.
5877 (init_frame_toolbars): Initialize current_toolbar_size.
5878 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5879 what is its current expansion, for clarity.
5880 (init_frame_toolbars): Ditto.
5881 (init_device_toolbars): Ditto.
5882 (init_global_toolbars): Ditto.
5884 * toolbar.h: Removed definition of toolbar_data lrecord.
5885 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5886 FRAME_CURRENT_TOOLBAR_SIZE.
5887 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5889 * toolbar-x.c (x_output_toolbar): The same change as in
5891 (x_output_toolbar): Ditto.
5892 (x_redraw_exposed_toolbar): Ditto.
5894 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5895 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5896 (mswindows_output_toolbar): Ditto.
5897 (mswindows_output_toolbar): Ditto.
5899 * frame.c (mark_frame): Removed marking of arrays, according to
5900 frameslots.h change.
5901 (nuke_all_frame_slots): Ditto.
5902 (set_frame_selected_window): Mark toolbars changed when
5903 last_nonminibuf_window changes.
5905 * frame.h (struct frame): Moved some slots to frameslots.h.
5906 Added current_toolbar_size array.
5907 Changed references from toolbar_data to toolbar_buttons in macros
5908 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5909 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5910 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5912 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5913 Moved arrays of lisp objects here from frame.h: toolbar_size,
5914 toolbar_visible_p, toolbar_border_width.
5915 Removed toolbar_data slot and added toolbar_buttons.
5917 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5919 * symsinit.h: Externed syms_of_process_nt()
5921 * emacs.c (main_1): Call syms_of_process_nt()
5923 * process-nt.c: Quote process arguments by a call to Lisp function
5924 `nt-quote-process-args'.
5925 (syms_of_process_nt): New function.
5926 (nt_send_process): Flush data stream after each write, to avoid
5927 leaving buffered data.
5928 (nt_send_process): When blocked on process output, wait for
5929 process to slurp more for progressively increasing time intervals.
5931 1998-05-17 Martin Buchholz <martin@xemacs.org>
5933 * window.c (have_undivided_common_edge): Make file-local function
5935 (map_windows): Return 0 if all map functions successful.
5938 * winslots.h: Use unlikely names for local variables in macros to
5939 avoid shadowing warnings.
5941 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5943 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5944 so that we re-output if the toolbar size has changed.
5946 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5948 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5950 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5952 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5955 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5957 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5958 get bitmap manifest constants defined.
5960 * console-msw.h: Include system files in angle brackets, not in
5963 * window.c (specifier_vars_of_window): Fixed a typo in
5964 `vertical-divider-line-width' docstirng.
5966 1998-05-16 Olivier Galibert <galibert@pobox.com>
5968 * line-number.c (delete_invalidate_line_number_cache): Use an
5970 (buffer_line_number): Remove dangerous, plain wrong when using
5971 64bits emacs ints, cast.
5973 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5975 * cmds.c (Fforward_line): Use EMACS_INTs.
5977 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5978 (scan_buffer): Ditto.
5979 (bi_find_next_newline_no_quit): Remove useless cast.
5980 (find_next_newline_no_quit): Ditto.
5981 (find_next_newline): Ditto.
5982 (find_before_next_newline): Use an EMACS_INT.
5984 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5986 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5988 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5990 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5992 * gui-x.c (popup_selection_callback): Use it.
5994 * gui.h (get_callback): Declare it.
5996 * gui.c (get_callback): New function.
5998 1998-05-15 SL Baur <steve@altair.xemacs.org>
6000 * window.c (have_undivided_common_edge): Guard scrollbar specific
6002 (window_needs_vertical_divider_1): Ditto.
6004 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6006 * emacs.c (decode_path): Eliminate compiler warning.
6007 (Fdecode_path): Renamed to Fsplit_path.
6008 (Fsplit_string_by_char): New function.
6010 1998-05-14 Damon Lipparelli <lipp@primus.com>
6012 * winslots.h: close comment
6014 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6016 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6018 * bufslots.h: Removed buffer_file_type slot.
6020 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6022 (complex_vars_of_buffer): Removed buffer-file-type variable and
6023 its default reference.
6025 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6027 * faces.c (complex_vars_of_faces): Defined
6028 Vvertical_divider_face.
6029 (vars_of_faces): Staticpro it.
6031 * faces.h: Externed Vvertical_divider_face.
6033 * redisplay-x.c (x_output_vertical_divider): Use
6034 Vvertical_divider_face to draw the divider instead of modeline
6037 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6038 divider face using Vvertical_divider_face background.
6039 Fix drawing spacing gaps around the divider.
6041 1998-05-14 Didier Verna <verna@inf.enst.fr>
6043 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6044 values for the vertical divider line width and spacing. Use the
6045 cached values from the window structure instead.
6046 (x_divider_width): ditto.
6048 * window.c (specifier_vars_of_window): new specifiers:
6049 vertical-divier -line-width and -spacing.
6050 (vertical_divider_global_width_changed): formerly known as
6051 vertical_divider_shadow_thickness_changed.
6053 * winslots.h: new slots: vertical_specifier _line_width and
6054 _spacing. Plus corrected a comment typo.
6056 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6058 * window.h: Declared window_divider_width().
6060 * console-stream.c (stream_divider_width): Removed method.
6061 (console_type_create_stream): And declaration for it.
6063 * redisplay.c (pixel_to_glyph_translation): Use
6064 window_divider_width() instead of divider_width redisplay method.
6065 (pixel_to_glyph_translation): Fix top divider edge calculation
6066 when scrollbar is on top.
6068 * window.c (window_divider_width): New function, an outphaser for
6069 divider_width redisplay method.
6070 (window_right_gutter_width): Use it.
6071 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6072 specifiers, set fallback values differently on TTYs, and document
6073 the behavior of these on TTYs in the docstrings.
6075 * scrollbar.c (update_scrollbar_instance): Use
6076 window_divider_width() instead of divider_width redisplay method.
6078 * console.h (struct console_methods): Removed divider_width_method.
6080 * redisplay-tty.c (tty_divider_width): Removed device method.
6081 (console_type_create_redisplay_tty): Removed definition for it.
6082 (tty_output_vertical_divider): Respect the value returned by
6083 window_divider_width thus divider line width specification.
6085 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6086 (console_type_create_redisplay_mswindows): Removed definition for it.
6087 (mswinodws_output_vertical_divider): Respect the value returned by
6088 window_divider_width thus divider line width specification.
6090 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6092 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6094 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6096 * glyphs-msw.c: resource loading implementation.
6097 (cursor_normalize): new function.
6098 (cursor_validate): ditto.
6099 (cursor_instantiate): ditto.
6100 (cursor_name_to_resource): ditto.
6101 (cursor_possible_dest_types): ditto.
6102 (check_valid_symbol): ditto.
6103 (check_valid_string_or_int): ditto.
6105 1998-05-14 Martin Buchholz <martin@xemacs.org>
6107 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6110 * process-unix.c (process_signal_char): Use VSUSP instead of
6111 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6113 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6115 * specifier.c (specifier_instance): Change locale precedence of
6116 instantiation so window locale has higher priority than buffer
6118 (Fspecifier_instance): Reflect this in docstring.
6119 (Fadd_spec_list_to_specifier): Ditto.
6120 (Fadd_spec_to_specifier): Ditto.
6121 (Fremove_specifier): Ditto.
6123 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6125 ** Dialog separation into a device method from Andy Piper
6127 * emacs.c (main_1): Call console_type_create_dialog_x().
6129 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6130 into this device method.
6131 (console_type_create_dialog_x): New function.
6133 * dialog.c (Fpopup_dialog_box): New function.
6134 (syms_of_dialog): Defsubr it.
6136 * console.h (struct console_methods): Declared
6137 popup_dialog_box_method().
6139 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6141 1998-05-14 Oliver Graf <ograf@fga.de>
6143 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6144 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6146 1998-05-13 Oliver Graf <ograf@fga.de>
6148 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6150 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6152 * console.h (device_metrics): Removed dbcs, input-method-editor
6153 and right-to-left metrics.
6155 * device.c (Fdevice_system_metric): Ditto.
6156 (Fdevice_system_metrics): Ditto.
6157 (syms_of_device): Ditto.
6158 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6161 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6163 * line-number.h (mark_line_number_cache): Remove unused
6166 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6167 (get_nearest_line_number): Simplify.
6168 (add_position_to_cache): Make the old marker point nowhere.
6170 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6172 ** Renamed window-divider-map => vertical-divider-map
6173 and event-over-divider-p => event-over-vertical-divider-p,
6174 in the following files/functions:
6176 * events.c (Fevent_over_divider_p):
6177 * keymap.c (get_relevant_keymaps):
6180 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6182 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6184 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6186 * window.c (vertical_divider_changed_in_window): Renamed so.
6187 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6188 (window_needs_vertical_divider_1): Decide whether we need it based
6189 on the value of the above specifier. If separators are unwanted,
6190 put them only if there's no scrollbar between this window and its
6192 (have_undivided_common_edge): New function, helper for the above.
6193 (window_needs_vertical_divider): Return either a cached value,
6194 or clauclate and cache one.
6195 (invalidate_vertical_divider_cache_in_window): Implemented.
6196 (map_windows): Changed return type to int, return the value from
6199 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6200 (struct window): Added need_vertical_divider_p and
6201 need_vertical_divider_valid_p.
6203 * winslots.h: Added vertical_divider_draggable_p slot.
6205 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6206 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6208 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6210 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6211 invalidate_vertical_divider_cache_in_frame().
6214 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6216 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6218 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6219 masks correctly and don't select 0.
6221 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6223 * winslots.h: New file, declaration of some struct window and
6224 struct saved_window members.
6226 * window.h (struct window): Include it, with required preprocessor
6229 * window.c (mark_window): Ditto.
6230 (allocate_window): Ditto.
6231 (struct saved_window): Ditto.
6232 (mark_window_config): Ditto.
6233 (saved_window_equal): Ditto.
6234 (Fset_window_configuration): Ditto.
6236 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6238 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6240 1998-05-12 Didier Verna <verna@inf.enst.fr>
6242 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6243 the divider line. The shadow thickness is currently
6244 hard-wired. This will probably be turned into a specifier soon.
6246 1998-05-12 Didier Verna <verna@inf.enst.fr>
6248 * console.h (struct console_methods): the divider_width console
6249 method now requires a struct window * argument.
6251 * redisplay-x.c (x_divider_width): ditto. Plus remove
6252 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6253 (x_output_vertical_divider): give a depressed look when the shadow
6254 thickness is negative.
6256 * console-stream.c (stream_divider_width): pass a struct window *
6259 * redisplay-tty.c (tty_divider_width): ditto.
6261 * window.c (window_right_gutter_width): totdi.
6263 * redisplay.c (generate_modeline): ittod.
6265 * scrollbar.c (update_scrollbar_instance): ttido.
6267 * redisplay-msw.c (mswindows_divider_width): ottid.
6268 WARNING: this enables to compile, but the feature is not functional.
6270 * window.h (struct window): new field
6271 vertical_divider_shadow_thickness.
6273 * window.c (specifier_vars_of_window): new specifier
6274 vertical-divider-shadow-thickness.
6275 (vertical_divider_shadow_thickness_changed): new function to
6276 inform redisplay that the window has changed.
6277 (mark_window): handle new field vertical_divider_shadow_thickness
6279 (allocate_window): ditto.
6280 (saved_window_equal): toddi.
6281 (Fset_window_configuration): totid.
6282 (save_window_save): ttdio.
6283 (struct saved_window): new field vertical_divider_shadow_thickness.
6285 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6287 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6290 1998-05-12 Oliver Graf <ograf@fga.de>
6292 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6293 * event-Xt.c (x_event_to_emacs_event): C++ compability
6295 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6297 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6300 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6302 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6305 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6307 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6309 * emacs.c (decode_path_1): New function.
6310 (decode_path): Use it.
6311 (Fdecode_path): Renamed from Fdecode_path_internal; use
6314 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6316 * macros.c (Fzap_last_kbd_macro_event): New function.
6317 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6319 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6321 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6322 multiple bitmaps are output vertically as well as horizontally.
6323 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6324 crossing lines this is handled by
6325 mswindows_output_dibitmap_region.
6327 1998-05-12 Martin Buchholz <martin@xemacs.org>
6329 * inline.c: Include eldap.h
6331 * menubar-x.c (x_update_frame_menubar_internal):
6332 Remove: unused variable `container'
6334 1998-05-11 Martin Buchholz <martin@xemacs.org>
6336 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6337 Unfortunately, the resulting temacs still cannot dump.
6339 * symbols.c (symbol_is_constant):
6340 (verify_ok_for_buffer_local):
6341 -Wswitch Warning suppression - add default case to switches.
6343 * redisplay.c (decode_mode_spec): Remove unused variables,
6344 Replace Fcoding_system_property (codesys, Qmnemonic) with
6345 XCODING_SYSTEM_MNEMONIC (codesys);
6346 Fcoding_system_property is for users.
6352 Change empty docstrings into no doc strings at all.
6353 Fix bogus FSF-format docstrings.
6356 Standardize docstrings.
6359 Explain problems with matherr.
6361 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6364 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6365 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6366 Fix the weird resultant interaction (causes windows problems)
6370 Take new EMACSBOOTSTRAPLOADPATH into account.
6371 Update documentation strings
6374 - Adjust for luser's CDPATH being set to something weird.
6375 - Take into account bash 2.02's tendency to print the cwd when
6376 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6377 - fix the run-temacs target to use $(DUMPENV)
6378 - fix the run-puremacs target to use $(DUMPENV)
6379 - fix the `depend' target to properly $(RM) the right files
6380 - Generate a better TAGS file for XEmacs' lisp code using
6381 hand-crafted regexps.
6382 - Use standard coding conventions for modules/Makefile.in
6384 1998-05-12 Didier Verna <verna@inf.enst.fr>
6386 * redisplay.c: removed the scrolling modeline code that didn't
6387 make it for 21.0. To be continued ...
6389 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6391 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6392 and empty string inputs.
6394 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6396 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6398 1998-05-10 Oliver Graf <ograf@fga.de>
6400 * event-stream.c (enqueue_misc_user_event_pos): created
6401 * lisp.h (enqueue_misc_user_event_pos): prototype added
6402 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6403 * emacs.c: call vars_of_dragdrop
6404 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6406 1998-05-11 Oliver Graf <ograf@fga.de>
6408 * frame-x.c (x_cde_transfer_callback): return at correct pos
6409 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6410 object for MIME (see comment in dragdrop.c)
6411 * dragdrop.c: API change documented in comment
6412 removed provide of dragdrop [is provided by dragdrop.el]
6414 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6416 * window.c (window_needs_vertical_divider): Enable vertical
6417 dividers for every non-rightmost window.
6418 (window_left_gutter_width): Left gutter consists of mythical
6419 toolbar and a virtual scrollbar.
6420 (window_right_gutter_width): The right one may have a divider
6423 * scrollbar.c (update_scrollbar_instance): Position vertical
6424 scrollbar left to divider if the latter present.
6426 * redisplay.h: Declared OVER_DIVIER constant.
6428 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6431 * redisplay-x.c (x_output_vertical_divider): Output divider along
6432 the right side of the window, down to window bottom. Swapped
6433 foreground and background colors so it is visible by default.
6435 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6436 stick the divider to the right window side.
6438 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6440 (mswindows_divider_width): Ask system for user preferred value.
6441 (mswindows_output_vertical_divider): Always output the divider on
6442 the right side of a window, down to bottom.
6444 * keymap.c (get_relevant_keymaps): Route mouse button events which
6445 happened over a window divider through window-divider-map.
6446 (Fkey_binding): Documented that in the docstring.
6447 Defined the variable Vwindow_divider_map.
6449 * events.c (Fevent_over_divider_p): Added this function.
6451 * events.h: EXFUNed it.
6453 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6455 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6456 toolbar geometry is suspected to change.
6458 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6462 Condition dnd and dde code on HAVE_DRAGNDROP.
6464 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6466 * events.c (format_event_object): Print space as SPC etc.
6468 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6470 * print.c (print_internal): In the default case, abort() if
6471 ERROR_CHECK_TYPECHECK.
6473 * fileio.c (Fmake_temp_name): Doc fix.
6475 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6477 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6479 * undo.c (Fprimitive_undo): Fixed typo.
6481 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6483 * fns.c (concat): Signal error on integer argument.
6485 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6487 * console.h (device_metrics): Prefixed each constatnt with DM_
6489 * device.c: (Fdevice_system_metric): Renamed so from plural form
6490 (metrics); Changed parameters order and added DEFAULT parameter;
6491 Unabbreviated some metric constants; Fixed and untabified doc string.
6492 (Fdevice_system_metrics): Added. Returns a plist of all provided
6495 * device-msw.c (mswindows_device_system_metrics): Renamed
6496 device_metrics enum constants.
6497 Return Qunbound instead of Qnil.
6499 * device-tty.c (tty_device_system_metrics): Ditto.
6501 * device-x.c (x_device_system_metrics): Ditto.
6503 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6505 * redisplay-msw.c: implement background pixmaps (really!). Make
6506 sure bg color is transparent if we have bg pmaps.
6507 * (mswindows_output_string) (mswindows_clear_region): output bg
6509 * (mswindows_output_dibitmap_region): new function.
6510 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6511 the bg color rather than transparently.
6513 * toolbar-msw.c: use masks if they exist.
6515 * glyphs-msw.c: set up masks correctly.
6517 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6519 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6521 * regex.c (re_match_2_internal): Check for quit.
6523 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6525 * frame.c (Ffocus_frame): New function.