1 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * text-coding.c (char_encode_shift_jis): Use
4 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5 `ucs_to_latin_jisx0201'.
7 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
8 (ucs_to_latin_iso8859_2): Deleted.
9 (ucs_to_latin_iso8859_3): Deleted.
10 (ucs_to_latin_iso8859_4): Deleted.
11 (ucs_to_latin_iso8859_9): Deleted.
12 (ucs_to_latin_viscii_lower): Deleted.
13 (ucs_to_latin_viscii_upper): Deleted.
14 (ucs_to_latin_tcvn5712): Deleted.
15 (make_charset): Add new argument `decoding_table'; set up
16 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
17 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
18 `decoding_table' is defined in UTF-2000.
19 (Fmake_charset): Modify for `make_charset'.
20 (Fmake_reverse_direction_charset): Likewise.
21 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
22 and `GENERATE_96_SET'.
24 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
25 (ucs_to_latin_jisx0201): Deleted.
26 (latin_iso8859_2_to_ucs): Deleted.
27 (ucs_to_latin_iso8859_2): Deleted.
28 (latin_iso8859_3_to_ucs): Deleted.
29 (ucs_to_latin_iso8859_3): Deleted.
30 (latin_iso8859_4_to_ucs): Deleted.
31 (ucs_to_latin_iso8859_4): Deleted.
32 (latin_iso8859_9_to_ucs): Deleted.
33 (ucs_to_latin_iso8859_9): Deleted.
34 (latin_viscii_lower_to_ucs): Deleted.
35 (ucs_to_latin_viscii_lower): Deleted.
36 (latin_viscii_upper_to_ucs): Deleted.
37 (ucs_to_latin_viscii_upper): Deleted.
38 (struct Lisp_Charset): Renamed `encoding_table' to
39 `to_byte1_table'; add `to_byte2_table'.
40 (CHARSET_DECODING_TABLE): New macro.
41 (CHARSET_TO_BYTE1_TABLE): New macro.
42 (CHARSET_TO_BYTE2_TABLE): New macro.
43 (XCHARSET_DECODING_TABLE): New macro.
44 (XCHARSET_TO_BYTE1_TABLE): New macro.
45 (XCHARSET_TO_BYTE2_TABLE): New macro.
46 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
48 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
49 don't use `ucs_to_*' tables.
51 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
53 * text-coding.c (Fmake_coding_system): Don't set up
54 `codesys->fixed.size'.
55 (encode_coding_no_conversion): Use `if' instead of `switch'.
57 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
59 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
61 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
62 (Fmake_charset): Modify for `make_charset'.
63 (Fmake_reverse_direction_charset): Likewise.
64 (complex_vars_of_mule_charset): Likewise.
66 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
68 * text-coding.c (char_encode_shift_jis): Use table
69 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
71 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * text-coding.c (text_encode_generic): Use `if' instead of
75 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
78 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
80 * text-coding.c (encode_coding_sjis): Deleted.
81 (char_encode_shift_jis): New function.
82 (char_finish_shift_jis): New function.
83 (reset_encoding_stream): Set up `encode_char' and `finish' for
84 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
85 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
86 (char_encode_utf8): Treat `eol_type'.
88 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
90 * file-coding.c (decode_coding_iso2022): Use
91 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
93 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
95 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
98 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
100 * char-lb.h (CHAR_COLUMNS): New macro.
102 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
104 * text-coding.c (char_encode_ucs4): New function.
105 (char_finish_ucs4): New function.
106 (encode_coding_ucs4): Deleted.
107 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
108 (text_encode_generic): Delete local variable `charset' and `half'.
109 (ucs_to_mule_table): Deleted.
110 (mule_to_ucs_table): Deleted.
111 (Fset_ucs_char): Deleted.
112 (ucs_to_char): Deleted.
113 (Fucs_char): Deleted.
114 (Fset_char_ucs): Deleted.
115 (Fchar_ucs): Deleted.
116 (decode_ucs4): Deleted.
117 (mule_char_to_ucs4): Deleted.
118 (encode_ucs4): Deleted.
119 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
120 (decode_coding_utf8): Likewise.
121 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
122 (char_encode_iso2022): Fixed.
123 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
124 `Fset_char_ucs' and `Fchar_ucs'.
125 (complex_vars_of_file_coding): Don't initialize
128 * objects-tty.c (tty_initialize_font_instance): Don't use
131 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
134 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
135 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
137 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
138 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
139 (emchar_string_displayed_columns): Likewise.
141 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
142 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
143 (string_column_at_point): Likewise.
144 (Fmove_to_column): Likewise.
146 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
147 `encoding_table' and `decoding_table'.
148 (CHARSET_REP_BYTES): Deleted.
149 (XCHARSET_REP_BYTES): Deleted.
150 (XCHARSET_COLUMNS): Deleted.
151 (CHAR_COLUMNS): New macro.
152 (lookup_composite_char): Deleted unconditionally.
153 (composite_char_string): Likewise.
155 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
157 * char-ucs.h (Emchar_to_byte_table): New type.
158 (get_byte_from_character_table): New function interface.
159 (Vcharset_latin_jisx0201): New variable.
160 (latin_jisx0201_to_ucs): New variable.
161 (ucs_to_latin_jisx0201): New variable.
162 (Vcharset_latin_iso8859_2): New variable.
163 (latin_iso8859_2_to_ucs): New variable.
164 (ucs_to_latin_iso8859_2): New variable.
165 (Vcharset_latin_iso8859_3): New variable.
166 (latin_iso8859_3_to_ucs): New variable.
167 (ucs_to_latin_iso8859_3): New variable.
168 (Vcharset_latin_iso8859_4): New variable.
169 (latin_iso8859_4_to_ucs): New variable.
170 (ucs_to_latin_iso8859_4): New variable.
171 (Vcharset_latin_iso8859_9): New variable.
172 (latin_iso8859_9_to_ucs): New variable.
173 (ucs_to_latin_iso8859_9): New variable.
174 (Vcharset_latin_viscii_lower): New variable.
175 (latin_viscii_lower_to_ucs): New variable.
176 (ucs_to_latin_viscii_lower): New variable.
177 (Vcharset_latin_viscii_upper): New variable.
178 (latin_viscii_upper_to_ucs): New variable.
179 (ucs_to_latin_viscii_upper): New variable.
180 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
181 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
182 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
183 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
184 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
185 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
186 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
187 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
188 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
189 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
191 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
192 (Vcharset_latin_viscii_upper): New variable.
193 (make_byte_from_character_table): New function.
194 (put_byte_from_character_table): New function.
195 (get_byte_from_character_table): New function.
197 (ucs_to_latin_jisx0201): New variable.
198 (latin_jisx0201_to_ucs): New variable.
199 (ucs_to_latin_iso8859_2): New variable.
200 (latin_iso8859_2_to_ucs): New variable.
201 (ucs_to_latin_iso8859_3): New variable.
202 (latin_iso8859_3_to_ucs): New variable.
203 (ucs_to_latin_iso8859_4): New variable.
204 (latin_iso8859_4_to_ucs): New variable.
205 (ucs_to_latin_iso8859_9): New variable.
206 (latin_iso8859_9_to_ucs): New variable.
207 (ucs_to_latin_viscii_lower): New variable.
208 (latin_viscii_lower_to_ucs): New variable.
209 (ucs_to_latin_viscii_upper): New variable.
210 (latin_viscii_upper_to_ucs): New variable.
211 (ucs_to_latin_tcvn5712): New variable.
212 (latin_tcvn5712_to_ucs): New variable.
213 (Qlatin_viscii_lower): New variable.
214 (Qlatin_viscii_upper): New variable.
215 (syms_of_mule_charset): Set up new symbol
216 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
217 (complex_vars_of_mule_charset): Set up new charset
218 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
219 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
220 `ucs_to_<CHARSET>' tables.
222 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
224 * text-coding.c: New file.
226 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
228 * mule-charset.c (Fmake_char): Fix problem of 256-set.
230 * char-ucs.h (Vcharset_ucs_bmp): New variable.
231 (MAKE_CHAR): Modify for `ucs-bmp'.
232 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
233 non-MULE characters of BMP.
235 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
237 * mule-charset.c (vars_of_mule_charset):
238 Update `utf-2000-version' to 0.6.
240 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
243 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
244 - Include character.h for `CHAR_ASCII_P'.
246 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
248 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
249 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
251 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
252 (BYTE_C0_P): Likewise.
253 (BYTE_C1_P): Likewise.
254 (Lstream_get_emchar_1): Likewise.
255 (Lstream_fput_emchar): Likewise.
256 (Lstream_funget_emchar): Likewise.
257 (copy_internal_to_external): Likewise.
258 (copy_external_to_internal): Likewise.
260 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
261 (BYTE_C0_P): Likewise.
262 (BYTE_C1_P): Likewise.
263 (Lstream_get_emchar_1): Likewise.
264 (Lstream_fput_emchar): Likewise.
265 (Lstream_funget_emchar): Likewise.
266 (copy_internal_to_external): Likewise.
267 (copy_external_to_internal): Likewise.
269 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
270 (REP_BYTES_BY_FIRST_BYTE): Likewise.
272 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
273 (BYTE_ASCII_P): Moved to mb-1byte.h.
275 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
277 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
279 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
280 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
281 (VALID_CHARPTR_P): Moved to mb-*byte.h.
282 (VALIDATE_CHARPTR_BACKWARD): Likewise.
283 (VALIDATE_CHARPTR_FORWARD): Likewise.
284 (simple_charptr_emchar): Moved to mb-multibyte.h.
285 (simple_set_charptr_emchar): Likewise.
286 (simple_charptr_copy_char): Likewise.
287 (non_ascii_charptr_emchar): Likewise.
288 (non_ascii_set_charptr_emchar): Likewise.
289 (non_ascii_charptr_copy_char): Likewise.
290 (charptr_emchar): Moved to mb-*byte.h.
291 (set_charptr_emchar): Likewise.
292 (charptr_copy_char): Likewise.
294 * mb-1byte.h, mb-multibyte.h: New files.
296 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
298 * mb-utf-8.h (MULTIBYTE): New macro.
299 (MAX_EMCHAR_LEN): Moved from buffer.h.
300 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
302 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
304 * mb-lb.h, multibyte.h: New files.
306 * char-1byte.h (Charset_ID): Moved from buffer.h.
307 (MIN_LEADING_BYTE): Likewise.
308 (LEADING_BYTE_ASCII): Likewise.
309 (NUM_LEADING_BYTES): Likewise.
310 (CHARSETP): Likewise.
311 (CHARSET_BY_LEADING_BYTE): Likewise.
312 (XCHARSET_LEADING_BYTE): Likewise.
313 (XCHARSET_GRAPHIC): Likewise.
314 (XCHARSET_COLUMNS): Likewise.
315 (XCHARSET_DIMENSION): Likewise.
316 (CHAR_CHARSET): Likewise.
317 (CHAR_LEADING_BYTE): Likewise.
318 (BREAKUP_CHAR): Likewise.
319 (Vcharset_ascii): Likewise.
321 * buffer.h: Include multibyte.h unconditionally.
322 (VALID_CHARPTR_P): Moved to multibyte.h.
323 (ASSERT_VALID_CHARPTR): Likewise.
324 (REAL_INC_CHARPTR): Likewise.
325 (REAL_INC_CHARBYTIND): Likewise.
326 (REAL_DEC_CHARPTR): Likewise.
327 (INC_CHARPTR): Likewise.
328 (INC_CHARBYTIND): Likewise.
329 (DEC_CHARPTR): Likewise.
330 (VALIDATE_CHARPTR_BACKWARD): Likewise.
331 (VALIDATE_CHARPTR_FORWARD): Likewise.
332 (charptr_n_addr): Likewise.
333 (MAX_EMCHAR_LEN): Moved to mb-*.h.
334 (simple_charptr_emchar): Moved to multibyte.h.
335 (simple_set_charptr_emchar): Likewise.
336 (simple_charptr_copy_char): Likewise.
337 (non_ascii_charptr_emchar): Likewise.
338 (non_ascii_set_charptr_emchar): Likewise.
339 (non_ascii_charptr_copy_char): Likewise.
340 (charptr_emchar): Likewise.
341 (set_charptr_emchar): Likewise.
342 (charptr_copy_char): Likewise.
343 (charptr_emchar_n): Likewise.
344 (Charset_ID): Moved to char-1byte.h.
345 (Vcharset_ascii): Likewise.
346 (CHAR_CHARSET): Likewise.
347 (CHAR_LEADING_BYTE): Likewise.
348 (LEADING_BYTE_ASCII): Likewise.
349 (NUM_LEADING_BYTES): Likewise.
350 (MIN_LEADING_BYTE): Likewise.
351 (CHARSETP): Likewise.
352 (CHARSET_BY_LEADING_BYTE): Likewise.
353 (XCHARSET_LEADING_BYTE): Likewise.
354 (XCHARSET_GRAPHIC): Likewise.
355 (XCHARSET_COLUMNS): Likewise.
356 (XCHARSET_DIMENSION): Likewise.
357 (BREAKUP_CHAR): Likewise.
359 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
361 * character.h: Add document about interface for characters.
363 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
364 (MAKE_CHAR): Delete comment about
365 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
366 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
367 (BREAKUP_CHAR): Modify name of arguments.
368 (CHAR_CHARSET): Modify name of argument.
370 * buffer.h: Delete document about Emchar accessors.
372 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
374 * character.h (CHAR_INTP): Moved from buffer.h
375 (CHAR_OR_CHAR_INTP): Likewise.
376 (XCHAR_OR_CHAR_INT): Likewise.
377 (CHECK_CHAR_COERCE_INT): Likewise.
379 * buffer.h (CHAR_INTP): Moved to character.h
380 (CHAR_OR_CHAR_INTP): Likewise.
381 (XCHAR_OR_CHAR_INT): Likewise.
382 (CHECK_CHAR_COERCE_INT): Likewise.
384 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
387 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
388 - Include char-1byte.h, char-lb.h or char-ucs.h.
390 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
392 * buffer.h: Include character unconditionally.
393 (valid_char_p): Moved to char-*.h.
394 (non_ascii_valid_char_p): Moved to char-lb.h.
396 * char-1byte.h, char-lb.h, char-ucs.h: New files.
398 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
400 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
401 in UTF-2000 because it is not ported yet and not to use
402 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
403 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
404 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
406 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
407 (CHAR_ASCII_P): Moved from character.h.
409 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
410 (CHAR_ASCII_P): Likewise.
411 (CHAR_FIELD1_MASK): Deleted.
412 (CHAR_FIELD2_MASK): Deleted.
413 (CHAR_FIELD3_MASK): Deleted.
414 (MAX_CHAR_BASIC_LATIN): New macro.
415 (CHAR_FIELD1): Deleted.
416 (CHAR_FIELD2_INTERNAL): Deleted.
417 (CHAR_FIELD3_INTERNAL): Deleted.
418 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
419 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
420 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
421 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
422 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
423 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
424 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
425 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
426 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
427 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
428 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
429 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
430 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
431 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
432 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
433 (MIN_CHAR_COMPOSITION): Deleted.
434 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
435 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
437 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
439 * buffer.h: Include mb-utf-8.h in UTF-2000.
441 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
443 * mb-utf-8.h: New file.
445 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
447 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
450 * mule-charset.h, buffer.h (Charset_ID): New type.
452 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
454 * mule-canna.c (c2mu): Use `MAKE_CHAR',
455 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
456 instead of `MULE_CHAR_PRIVATE_OFFSET',
457 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
458 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
459 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
461 * character.h (Vcharset_japanese_jisx0212): New variable
464 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
466 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
467 (charset_by_attributes): Delete array about direction.
468 (latin_a_char_to_charset): New variable in UTF-2000.
469 (latin_a_char_to_byte1): New variable in UTF-2000.
470 (latin_a_char_to_byte2): New variable in UTF-2000.
471 (Qucs_bmp): New variable.
472 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
474 (next_allocated_2_byte_leading_byte): Likewise.
475 (non_ascii_set_charptr_emchar): Likewise.
476 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
477 `CHARSET_TYPE_256X256' in UTF-2000; modify for
478 `charset_by_attributes'.
479 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
480 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
481 and `CHARSET_BY_LEADING_BYTE'.
482 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
483 `utf-2000-version' to `vars_of_mule_charset'.
484 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
485 define `leading-code-private-11' in UTF-2000; move setting of
486 `utf-2000-version' from `syms_of_mule_charset'.
487 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
490 * character.h (Charset_ID): New type.
491 (LEADING_BYTE_UCS_BMP): New macro.
492 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
493 (CHARSET_ID_OFFSET_94): New macro.
494 (MIN_CHARSET_ID_PRIVATE_94): New macro.
495 (MAX_CHARSET_ID_PRIVATE_94): New macro.
496 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
498 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
499 (LEADING_BYTE_LATIN_JISX0201): Likewise.
500 (CHARSET_ID_OFFSET_96): New macro.
501 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
502 CHARSET_ID_OFFSET_96 and final-byte.
503 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
504 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
505 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
506 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
507 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
508 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
509 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
510 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
511 (LEADING_BYTE_THAI_TIS620): Likewise.
512 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
513 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
514 (CHARSET_ID_OFFSET_94x94): New macro.
515 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
516 CHARSET_ID_OFFSET_94x94 and final-byte.
517 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
518 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
519 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
520 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
521 (LEADING_BYTE_CHINESE_GB2312): Likewise.
522 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
523 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
524 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
525 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
526 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
527 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
528 (CHARSET_TYPE_128X128): New macro.
529 (CHARSET_TYPE_256X256): New macro.
530 (XCHARSET_PRIVATE_P): Delete unconditionally.
531 (charset_by_attributes): Delete array about direction.
532 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
533 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
534 (MIN_CHAR_94): New macro.
535 (MAX_CHAR_94): New macro.
536 (MIN_CHAR_96): New macro.
537 (MAX_CHAR_96): New macro.
538 (MIN_CHAR_94x94): New macro.
539 (MAX_CHAR_94x94): New macro.
540 (MIN_CHAR_96x96): New macro.
541 (MAX_CHAR_96x96): New macro.
542 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
543 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
544 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
546 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
547 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
548 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
549 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
550 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
551 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
552 `XCHARSET_LEADING_BYTE' to make code-point.
553 (latin_a_char_to_charset): New variable.
554 (latin_a_char_to_byte1): New variable.
555 (latin_a_char_to_byte2): New variable.
556 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
557 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
558 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
560 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
561 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
562 (find_charsets_in_emchar_string): Likewise.
563 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
565 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
567 (decode_coding_iso2022): Likewise.
569 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
572 * redisplay.c (redisplay_text_width_emchar_string): Use
573 `Charset_ID' instead of `unsigned char'.
574 (redisplay_frame_text_width_string): Likewise.
576 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
579 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
580 instead of `unsigned char'.
581 (face_cachel_charset_font_metric_info): Likewise.
583 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
584 (get_non_ascii_char_table_value): Likewise.
585 (get_char_table): Likewise.
586 (put_char_table): Likewise.
587 (map_over_other_charset): Likewise.
588 (map_char_table): Likewise.
590 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
591 instead of `unsigned char'.
593 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
595 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
596 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
598 * mule-charset.c (leading_code_private_11): Don't define in
601 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
602 in UTF-2000 because it is not ported yet and not to use
603 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
605 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
607 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
609 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
611 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
614 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
615 of unsigned char to store leading-byte.
617 * chartab.c (get_non_ascii_char_table_value): Don't use
618 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
620 * file-coding.c (encode_coding_big5): Delete bogus implementation
623 * character.h (LEADING_BYTE_*): Delete definition for
625 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
626 (LEADING_BYTE_PREFIX_P): Deleted.
627 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
628 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
629 (BUFBYTE_LEADING_BYTE_P): Deleted.
630 (CHARSET_PRIVATE_P): Deleted unconditionally.
631 (rep_bytes_by_first_byte): Deleted unconditionally.
632 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
633 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
634 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
635 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
636 (CHAR_FIELD2): Deleted.
637 (CHAR_FIELD3): Deleted.
638 (MAKE_CHAR): Delete definition for non-UTF-2000.
639 (BREAKUP_CHAR_1_UNSAFE): Deleted.
640 (breakup_char_1): New implementation.
641 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
642 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
644 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
646 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
649 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
651 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
652 (CHARSET_PRIVATE_P): Likewise.
653 (XCHARSET_PRIVATE_P): Likewise.
654 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
656 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
658 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
660 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
662 * character.h (LEADING_BYTE_*): Changed in UTF2000.
663 (NUM_LEADING_BYTES): Changed from 128 to 256.
664 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
665 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
667 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
669 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
671 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
672 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
673 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
674 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
675 (Qchinese_cns11643_3): New variable in UTF2000.
676 (Qchinese_cns11643_4): New variable in UTF2000.
677 (Qchinese_cns11643_5): New variable in UTF2000.
678 (Qchinese_cns11643_6): New variable in UTF2000.
679 (Qchinese_cns11643_7): New variable in UTF2000.
680 (syms_of_mule_charset): Define `chinese-cns11643-3',
681 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
682 and `chinese-cns11643-7' in UTF2000.
683 (vars_of_mule_charset): Initialize
684 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
686 (complex_vars_of_mule_charset): Setup charset
687 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
688 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
690 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
692 * mule-charset.c: Move setting for `leading-code-private-11' from
693 `syms_of_mule_charset' to `vars_of_mule_charset'.
695 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
697 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
698 and `NUM_LEADING_BYTES' in assert.
700 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
702 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
704 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
705 `NUM_LEADING_BYTES' instead of 128.
707 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
709 * mule-charset.h (charset_by_leading_byte): Use
710 `NUM_LEADING_BYTES' instead of 128.
711 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
713 * mule-charset.c (charset_by_leading_byte): Use
714 `NUM_LEADING_BYTES' instead of 128.
715 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
717 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
720 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
722 * mule-charset.c (syms_of_mule_charset): Update to
725 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
727 * file-coding.c (encode_coding_sjis): New implementation for
728 UTF2000. (decode_coding_sjis): Ditto.
730 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
732 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
733 Don't define in UTF2000.
735 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
738 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
739 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
742 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
744 * config.h.in (CHAR_IS_UCS4): New macro.
746 * mule-charset.c (rep_bytes_by_first_byte): Modify for
747 conventional MULE representation.
748 (syms_of_mule_charset): Update to 0.3 (Imamiya).
750 * mule-charset.h: Reverted to original.
752 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
753 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
754 "mule-charset.h" if CHAR_IS_UCS4 is defined.
756 * character.h: New file.
758 * file-coding.c (Fmake_coding_system): Set 1 to
759 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
761 (encode_coding_no_conversion): New implementation for UTF2000.
763 * file-coding.h (struct Lisp_Coding_System): Add new member
766 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
768 * file-coding.c (decode_coding_iso2022): Code-point arguments of
769 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
770 (encode_coding_iso2022): New implementation for UTF2000.
772 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
774 * mule-canna.c (c2mu): New implementation for UTF2000.
777 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
779 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
781 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
783 * file-coding.c (reset_encoding_stream): Set 0 to
784 `str->iso2022.current_char_boundary' in UTF2000.
785 (encode_utf8): Don't define in UTF2000.
786 (encode_coding_utf8): New implementation for UTF-8 representation
788 (complex_vars_of_file_coding): Define coding-system `utf-8'.
790 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
792 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
794 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
796 (REP_BYTES_BY_FIRST_BYTE): Likewise.
798 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
800 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
801 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
803 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
804 (non_ascii_valid_char_p): Don't define in UTF2000.
805 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
806 (Lstream_get_emchar_1): Likewise.
807 (utf-2000-version): New variable in UTF2000.
809 * lread.c (read_escape): Add new reader `u'.
811 * insdel.c (three_to_one_table): Don't define in UTF2000.
812 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
813 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
815 (bytind_to_bufpos_func): Likewise.
816 (buffer_mule_signal_inserted_region): Likewise.
817 (vars_of_insdel): Don't initialize `three_to_one_table'.
818 (init_buffer_text): Use `buf->text->mule_size' instead of
819 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
822 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
823 UTF-8 representation in UTF2000.
824 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
825 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
826 (decode_coding_iso2022): Don't define local variable `lb' in
827 UTF2000; don't use LEADING_BYTE in UTF2000; use
828 `DECODE_ADD_UCS_CHAR' in UTF2000.
829 (convert_to_external_format): Decode as UTF-8 in UTF2000.
831 * config.h.in (UTF2000): New macro.
833 * buffer.h (struct buffer_text): Add new member `mule_size' and
834 don't add `mule_shifter' and `mule_three_p' in UTF2000.
835 (valid_char_p): Return always 1 in UTF2000.
836 (MAX_EMCHAR_LEN): 6 in UTF2000.
837 (three_to_one_table): Don't define in UTF2000.
838 (real_bufpos_to_bytind): Modify for UTF-8 representation in
840 (real_bytind_to_bufpos): Likewise.
842 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
844 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
846 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
847 representation change.
848 (Vutf_2000_version): New variable.
849 (leading_code_private_11): New variable.
850 (syms_of_mule_charset): Add new variables `utf-2000-version' and
851 `leading-code-private-11'.
853 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
854 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
855 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
856 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
857 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
858 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
859 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
860 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
861 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
862 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
863 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
864 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
865 (MIN_CHAR_GREEK): New macro.
866 (MAX_CHAR_GREEK): New macro.
867 (MIN_CHAR_CYRILLIC): New macro.
868 (MAX_CHAR_CYRILLIC): New macro.
869 (MIN_CHAR_HEBREW): New macro.
870 (MAX_CHAR_HEBREW): New macro.
871 (MIN_CHAR_THAI): New macro.
872 (MAX_CHAR_THAI): New macro.
873 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
874 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
875 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
876 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
877 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
878 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
879 (CHAR_FIELD2): New inline function.
880 (CHAR_FIELD3): New inline function.
881 (MULE_CHAR_PRIVATE_OFFSET): New macro.
882 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
883 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
884 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
885 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
886 (MIN_CHAR_COMPOSITION): Likewise.
887 (CHAR_LEADING_BYTE): Modified for character representation change.
888 (MAKE_CHAR): Likewise.
890 * lisp.h (Vcharset_latin_iso8859_1): New variable.
891 (Vcharset_greek_iso8859_7): Likewise.
892 (Vcharset_cyrillic_iso8859_5): Likewise.
893 (Vcharset_hebrew_iso8859_8): Likewise.
894 (Vcharset_thai_tis620): Likewise.
895 (Vcharset_katakana_jisx0201): Likewise.
897 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
899 * file-coding.c (determine_real_coding_system): Treat `coding:'
902 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
904 * file-coding.c (struct decoding_stream): New member `counter'.
905 (reset_decoding_stream): Initialize `counter'.
906 (decode_coding_ucs4): Use `counter'.
907 (decode_coding_utf8): Likewise.
909 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
911 * XEmacs 21.2.19 is released
913 1999-07-27 Jeff Miller <jmiller@smart.net>
915 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
916 menubar_show_keybindings.
918 1999-07-23 SL Baur <steve@miho>
920 * mule-charset.c (syms_of_mule_charset): Delete duplicated
921 definition of Qccl_program.
923 * mule-ccl.h: Make a global declaration of it here.
925 1999-07-20 Bob Weiner <weiner@beopen.com>
927 * s/sco7.h: Added from rr@sco.com.
929 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
931 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
933 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
935 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
936 (mule_encode): Likewise.
938 * mule-ccl.c (Qccl_program): New variable.
939 (CCL_SUSPEND): New macro.
940 (CCL_INVALID_CMD): New macro.
941 (CCL_READ_CHAR): Don't regard as invalid command while processing
942 the last block even if input is empty; use
943 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
944 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
946 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
947 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
948 (CCL_STAT_SUSPEND_BY_DST): Likewise.
949 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
950 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
952 1999-05-04 Ken'ichi Handa <handa@gnu.org>
954 * mule-ccl.h (struct ccl_program): New member stack_idx.
956 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
957 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
959 (setup_ccl_program): Initialize ccl->stack_idx to 0.
961 1998-10-12 Kenichi Handa <handa@etl.go.jp>
963 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
966 1998-08-18 Kenichi Handa <handa@etl.go.jp>
968 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
969 processing the last block, don't just finish but processes eol
970 block of the current CCL program.
971 (ccl_driver): Add a new jump label ccl_repeat for the above
974 1998-04-15 Kenichi Handa <handa@etl.go.jp>
976 * mule-ccl.c: Typo in comments fixed.
977 (Qccl_program_idx): New variables.
978 (CCL_ReadMultibyteChar2): Macro name changed from
979 CCL_ReadMultibyteCharacter.
980 (CCL_WriteMultibyteChar2): Macro name changed from
981 CCL_WriteMultibyteChar2.
982 (ccl_driver): Adjusted for the above changes.
983 (resolve_symbol_ccl_program): New function.
984 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
985 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
986 numbers by resolve_symbol_ccl_program.
987 (Fccl_execute_on_string): Likewise.
988 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
989 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
991 1998-01-21 Kenichi Handa <handa@etl.go.jp>
993 * mule-ccl.h: (struct ccl_program): New member private_state.
996 (CCL_Call): Fix the comment.
997 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
998 macros for CCL Commands.
1000 (ccl_driver): New case lable `CCL_Extention'.
1001 (setup_ccl_program): Initialize the member `private_state' of CCL.
1003 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1005 * keymap.c (copy_keymap_internal): Inherit the default binding.
1007 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1009 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1010 focus the event (XIM_focus_event).
1011 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1012 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1013 the interface for future use (XIM_SetGeometry).
1014 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1015 location (XIM_SetSpotLocation).
1016 (x_output_eol_cursor): Ditto.
1018 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1020 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1021 Olivier's change to lrecord.h of 1999-04-22
1023 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1025 * gutter.c (redraw_exposed_gutter): Change type of pos from
1026 enum toolbar_pos -> enum gutter_pos, since former is only defined
1027 if toolbar support is.
1029 1999-07-19 Andy Piper <andy@xemacs.org>
1031 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1034 * gutter.c (gutter_validate): new function for the gutter specifier.
1035 (specifier_type_create_gutter): declare specifier validator.
1037 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1039 1999-07-18 Andy Piper <andy@xemacs.org>
1041 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1043 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1045 (mswindows_resize_subwindow): new function.
1047 * gutter.c (redraw_exposed_gutter): only reset the
1048 current_display_lines if non-zero.
1049 (Fgutter_pixel_height): new function.
1050 (Fgutter_pixel_width): new function.
1052 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1053 we want to retrive from the tab control.
1055 1999-07-17 Andy Piper <andy@xemacs.org>
1057 * window.c (change_window_height): mark gutters changed when we're
1060 * gutter.c (specifier_vars_of_gutter): make defaults more
1063 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1065 (DEFAULT_GUTTER_WIDTH): change.
1066 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1068 1999-07-18 Andy Piper <andy@xemacs.org>
1070 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1072 1999-07-16 Andy Piper <andy@xemacs.org>
1074 * frame.c (Fmake_frame): call init_frame_gutters().
1076 * redisplay.c (add_emchar_rune): use string functions if we are
1077 working with a string.
1078 (position_redisplay_data_type): add string element.
1080 1999-07-15 Andy Piper <andy@xemacs.org>
1082 * winslots.h: add real_gutter_size slots to hold the actual gutter
1083 size. This is important for autodetected sizes.
1085 * gutter.c (calculate_gutter_size): calculate size for gutters
1086 that have 'autodetect size.
1088 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1089 extent of divider for gutters.
1091 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1092 divider for gutters.
1094 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1095 position to take into account the gutters.
1097 * redisplay.c (generate_modeline): adjust modeline position to
1098 take into account the gutters.
1100 1999-07-14 Andy Piper <andy@xemacs.org>
1102 * gutter.c (frame_topmost_window): new function.
1103 (frame_bottommost_window): ditto.
1104 (frame_leftmost_window): ditto.
1105 (frame_rightmost_window): ditto.
1107 1999-07-13 Andy Piper <andy@xemacs.org>
1109 * redisplay.c (calculate_display_line_boundaries): use text
1110 boundaries so that gutters get handled properly.
1112 1999-07-12 Andy Piper <andy@xemacs.org>
1114 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1117 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1120 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1123 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1125 * gutter.c: new file - implements gutters. All new functions are
1126 semantically equivalent to the toolbar functions.
1127 (gutter_was_visible): new function.
1128 (get_gutter_coords): ditto.
1129 (output_gutter): ditto.
1130 (clear_gutter): ditto.
1131 (update_frame_gutters): ditto.
1132 (redraw_exposed_gutter): ditto.
1133 (redraw_exposed_gutters): ditto.
1134 (free_frame_gutters): ditto.
1135 (init_frame_gutters): ditto.
1136 (decode_gutter_position): ditto.
1137 (Fset_default_gutter_position): ditto.
1138 (Fset_default_gutter_position): ditto.
1139 (Fdefault_gutter_position): ditto.
1140 (gutter_after_change): ditto.
1141 (Fgutter_specifier_p): ditto.
1142 (recompute_overlaying_specifier): ditto.
1143 (gutter_specs_changed): ditto.
1144 (default_gutter_specs_changed): ditto.
1145 (gutter_geometry_changed_in_window): ditto.
1146 (default_gutter_size_changed_in_window): ditto.
1147 (default_gutter_border_width_changed_in_window): ditto.
1148 (default_gutter_visible_p_changed_in_window): ditto.
1149 (syms_of_gutter): ditto.
1150 (vars_of_gutter): ditto.
1151 (specifier_type_create_gutter): ditto.
1152 (specifier_vars_of_gutter): ditto.
1154 * gutter.h: new file. Contains gutter constants and sizing macros
1155 similar to those for the toolbar.
1157 * winslots.h: add gutter variables.
1159 * window.h: declare window_is_* functions.
1161 * window.c (window_is_lowest): make non-static.
1162 (window_is_highest): ditto.
1163 (window_top_toolbar_height): deleted.
1164 (window_bottom_toolbar_height): deleted.
1165 (window_left_toolbar_width): deleted.
1166 (window_right_toolbar_width): deleted.
1167 (window_top_gutter_height): add gutter sizing.
1168 (window_bottom_gutter_height): ditto.
1169 (window_left_gutter_width): ditto.
1170 (window_right_gutter_width): ditto.
1172 * symsinit.h: declarations for gutters vars etc.
1174 * search.c (bi_find_next_emchar_in_string): new function.
1176 * scrollbar.c (update_scrollbar_instance): remove reference to
1177 window_bottom_toolbar_height which did nothing.
1179 * redisplay.h (struct display_line): add face indices for
1180 overriding defaults in output_display_line.
1181 Add gutter_changed flags and declarations.
1183 * redisplay.c (create_string_text_block): new function, similar to
1184 create_text_block but for strings. Display tables etc are used
1185 from the currently selected window.
1186 (generate_string_display_line): ditto. Similar to
1187 generate_display_line.
1188 (generate_displayable_area): generate display lines for a given
1189 area on a frame. Input is the string, with associated extents, to
1191 (redisplay_frame): add gutter_changed check.
1192 (redisplay_device): ditto.
1193 (redisplay_without_hooks): ditto.
1195 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1196 (x_redraw_exposed_area): redraw exposed gutters.
1197 (x_bevel_area): new redisplay device method.
1198 (x_type_create_redisplay_mswindows): add bevel_area device method.
1199 (x_output_display_block): fiddly Martin-style cleanup.
1200 (x_output_vertical_divider): use bevel_area.
1202 * redisplay-output.c (output_display_line): check display_lines
1203 for face information before using defaults.
1204 (bevel_modeline): new function, calls bevel_area with appropriate
1207 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1208 (mswindows_redraw_exposed_area): redraw exposed gutters.
1209 (mswindows_bevel_area): new redisplay device method.
1210 (console_type_create_redisplay_mswindows): add bevel_area device
1213 * indent.c (string_column_at_point): add column_at_point but for
1216 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1217 instantiate widgets that we have a toolkit for.
1219 * general.c: add Qgutter.
1221 * frame.h (struct frame): add display lines for gutters and
1224 * frame.c (set_frame_selected_window): mark gutters changed.
1226 * emacs.c (main_1): add gutter initialisation.
1228 * device.h (struct device): add gutter_changed flag and macros to
1231 * console.h (struct console_methods): new bevel area redisplay
1234 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1235 REAL_INC_BYTIND is for buffers.
1236 (INC_CHARPTR): ditto.
1238 * Makefile.in.in (objs): add gutter.o
1240 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1242 * XEmacs 21.2.18 is released
1244 1999-07-08 SL Baur <steve@mule.m17n.org>
1246 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1248 (emacs_Xt_handle_magic_event): Ditto.
1249 * redisplay-x.c (x_output_string): Ditto.
1250 (x_output_eol_cursor): Ditto.
1252 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1254 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1255 problem that when XIM is destroyed or missed with some reason,
1256 xemacs will die. Now xim=xlib waits the XIM will be ready and
1257 endures the case of XIM end up.
1259 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1261 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1262 SIGINT and SIGCHLD before calling tt_open and restore the
1263 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1265 1999-07-06 SL Baur <steve@xemacs.org>
1267 * s/linux.h: gcc-2.8 changes for powerpc
1268 From Justin Vallon <vallon@mindspring.com>
1270 1999-07-05 Didier Verna <verna@inf.enst.fr>
1272 * indent.c: new symbol Qcoerce.
1273 (Fmove_to_column): use it + doc string update.
1275 1999-07-04 Andy Piper <andy@xemacs.org>
1277 * console.c: undo earlier Fprovide changes.
1281 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1282 function. validate appropriate image formats for tty.
1284 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1285 initialize consoles parameter.
1286 (struct image_instantiator_methods): add consoles parameter.
1287 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1289 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1292 * glyphs-msw.c: declare instantiators for later use.
1293 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1294 and friends on the mswindows console.
1295 * glyphs-x.c: ditto.
1297 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1298 that have not been registered on the supplied device.
1299 (Fvalid_image_instantiator_format_p): add locale argument.
1300 (instantiate_image_instantiator): valid image instantiator on the
1303 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1306 * emacs.c (main_1): add call to
1307 image_instantiator_format_create_glyphs_tty().
1309 1999-06-29 Olivier Galibert <galibert@pobox.com>
1311 * lisp.h: Add #include <stddef.h>.
1313 * sysdep.c: Remove #include <stddef.h>.
1314 * symbols.c: Remove #include <stddef.h>.
1315 * sheap.c: Remove #include <stddef.h>.
1316 * opaque.c: Remove #include <stddef.h>.
1317 * nt.c: Remove #include <stddef.h>.
1318 * mule-charset.c: Remove #include <stddef.h>.
1319 * marker.c: Remove #include <stddef.h>.
1320 * file-coding.c: Remove #include <stddef.h>.
1321 * extents.c: Remove #include <stddef.h>.
1322 * elhash.c: Remove #include <stddef.h>.
1323 * data.c: Remove #include <stddef.h>.
1324 * chartab.c: Remove #include <stddef.h>.
1325 * bytecode.c: Remove #include <stddef.h>.
1326 * alloc.c: Remove #include <stddef.h>. Fix vector description
1328 1999-06-30 SL Baur <steve@miho.m17n.org>
1330 * editfns.c: Document "%s" format spec.
1331 Suggested by Bob Weiner <weiner@altrasoft.com>
1333 1999-06-29 Andy Piper <andy@xemacs.org>
1335 * event-msw.c: fix definition booboo.
1337 1999-06-28 Andy Piper <andy@xemacs.org>
1339 * glyphs-x.c: change tree -> tree-view, progress ->
1340 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1342 (complex_vars_of_glyphs_x): provide-on-console the implemented
1345 * glyphs-msw.c: ditto.
1346 (complex_vars_of_glyphs_mswindows): ditto.
1348 * lisp.h: add Fprovide_on_console.
1350 * fns.c (Ffeaturep): add extra optional console argument.
1351 (Fprovide_on_console): like Fprovide but provides only on the
1352 specified console-type.
1353 (Frequire): check console-features as well as global features.
1355 * console.c (Fconsole_features): new function. return features for
1357 (syms_of_console): add Fconsole_features.
1359 * console.h (CONMETH_FEATURES): new function for accessing features.
1360 (CONSOLE_FEATURES): ditto.
1361 (struct console_methods): add features slot.
1362 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1364 1999-06-28 Andy Piper <andy@xemacs.org>
1366 * event-Xt.c (handle_focus_event_1): conditionally compile for
1369 * s/cygwin32.h: fix me website address.
1371 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1373 * gui-x.c (button_item_to_widget_value): only add callback if it
1376 * glyphs-x.c: add progress, edit and combo instantiators.
1377 (x_widget_set_property): new function. uses lwlib to set widget
1379 (x_widget_property): new function. uses lwlib to get widget
1381 (x_button_instantiate): support images in buttons.
1382 (x_button_property): new function. use lwlib to get the selected
1384 (x_progress_instantiate): new function for instantiating progress
1386 (x_progress_set_property): new function. sets the progress gauge
1388 (x_edit_instantiate): new function. for instantiating edit fields.
1389 (x_combo_instantiate): new function. for instantiating combo
1391 (image_instantiator_format_create_glyphs_x): add new device ii
1394 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1396 * console.h (CONSOLE_FEATURES): new features accesor.
1398 * conslots.h (MARKED_SLOT): add features entry.
1400 1999-06-25 Andy Piper <andy@xemacs.org>
1402 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1405 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1407 * gui.h (struct Lisp_Gui_Item): add accelerator.
1409 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1410 (gui_item_init): ditto.
1411 (gui_add_item_keywords_to_plist): ditto.
1412 (mark_gui_item): ditto.
1413 (gui_item_hash): ditto.
1414 (gui_item_accelerator): new function.
1415 (gui_name_accelerator): new function stolen from gui-x.c
1417 * gui-x.c (popup_selection_callback): always define. mark
1418 subwindows changed after calling a callback.
1419 (menu_name_to_accelerator): deleted.
1420 (button_item_to_widget_value): forward gui_item things to gui_item
1423 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1424 appropriate accesors.
1426 * glyphs-x.c: declare new glyph formats.
1427 (x_finalize_image_instance): unmanage and destroy widgets if they
1429 (x_unmap_subwindow): handle widgets specially.
1430 (x_map_subwindow): ditto. offset display of widgets by offset of
1431 text widget within container.
1432 (x_update_subwindow): new function. call lw_modify_all_widgets
1433 when we are a widget.
1434 (x_widget_instantiate): new function for generically creating
1435 widgets-glyphs. toolkit specifics forwarded to lwlib.
1436 (x_button_instantiate): new function for instantiating
1437 widgets-glyph buttons.
1438 (console_type_create_glyphs_x): register update_subwindow.
1439 (image_instantiator_format_create_glyphs_x): register widget and
1442 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1444 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1445 when we get a button press in case we do not have the focus.
1446 (handle_focus_event_1): set the keyboard focus to the text widget
1447 if we do not have it.
1449 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1452 1999-06-24 SL Baur <steve@miho.m17n.org>
1454 * syntax.c (scan_words): Restore non-Mule code.
1455 (word_constituent_p): Restore.
1457 1999-06-23 Olivier Galibert <galibert@pobox.com>
1459 * config.h.in: Add missing #undef *_USER_DEFINED.
1461 1999-06-23 SL Baur <steve@miho.m17n.org>
1463 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1464 int (fixes a 64-bit problem).
1466 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1469 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1471 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1473 1999-06-22 Olivier Galibert <galibert@pobox.com>
1475 * lrecord.h: Added basic external description system.
1477 * symbols.c: Added symbol, symbol-value-buffer-local,
1478 symbol-value-lisp-magic and symbol-value-varalias description.
1479 * mule-charset.c: Added charset description.
1480 * marker.c: Added marker description.
1481 * keymap.c: Added keymap description.
1482 * glyphs.c: Added glyph description.
1483 * floatfns.c: Added float description.
1484 * file-coding.c: Added coding-system description.
1485 * extents.c: Added extent description.
1486 * elhash.c: Added hash-table description.
1487 * data.c: Added weak-list desciption.
1488 * chartab.c: Added char-table-entry and char-table description.
1489 * bytecode.c: Added compiled-function description.
1490 * alloc.c: Added cons, vector and string description.
1492 1999-06-22 Olivier Galibert <galibert@pobox.com>
1494 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1495 Updated everything to the removal of the "flags" substructure.
1497 * lisp.h (subr_lheader_initializer): Updated.
1498 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1500 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1502 * syntax.c (word_constituent_p): Deleted.
1503 (scan_words): Use `WORD_BOUNDARY_P'.
1505 * chartab.c (Vword_combining_categories): New variable.
1506 (Vword_separating_categories): Likewise.
1507 (CATEGORYP): New macro.
1508 (CATEGORY_SET): Likewise.
1509 (CATEGORY_MEMBER): Likewise.
1510 (word_boundary_p): New function.
1511 (complex_vars_of_chartab): Set up new variable
1512 `word-combining-categories' and `word-separating-categories'.
1514 1999-06-18 Olivier Galibert <galibert@pobox.com>
1516 * lrecord.h: Added description as a placehold in the lrecord
1517 implementation structures. Added the parameter to all constructor
1520 * alloc.c: Added placeholders.
1522 * bytecode.c: Ditto.
1526 * database.c: Ditto.
1531 * event-stream.c: Ditto.
1535 * file-coding.c: Ditto.
1536 * floatfns.c: Ditto.
1544 * mule-charset.c: Ditto.
1548 * rangetab.c: Ditto.
1549 * specifier.c: Ditto.
1552 * tooltalk.c: Ditto.
1555 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1557 * XEmacs 21.2.17 is released
1559 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1561 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1562 (HAVE_LDAP_GET_LDERRNO): Ditto
1563 (HAVE_LDAP_RESULT2ERROR): Ditto
1564 (HAVE_LDAP_PARSE_RESULT): Ditto
1565 (HAVE_UMICH_LDAP): Removed
1566 (HAVE_NS_LDAP): Removed
1568 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1569 suggested by Olivier Galibert
1570 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1572 * eldap.c: Take the removal of `livep' into account in all the
1574 (signal_ldap_error): Take two additional parameters
1575 Added new finer compilation conditions in order to use
1576 ldap_parse_result or ldap_result2error if available
1577 (Fldap_open): Conform to this new API
1578 (Fldap_search_internal): Ditto
1580 1999-06-17 SL Baur <steve@miho.m17n.org>
1582 * data.c (struct int_or_double): Should use EMACS_INT not int.
1584 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1586 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1589 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1591 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1592 `CCL_MODE_ENCODING'.
1594 * file-coding.c (mule_decode): Run `ccl_driver' with
1595 `CCL_MODE_DECODING'.
1596 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1598 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1599 (ccl_driver): Add new argument `conversion_mode'.
1600 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1601 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1602 new optional argument].
1604 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1605 (CCL_MODE_DECODING): New macro.
1606 (ccl_driver): Add new argument `conversion_mode'.
1608 1999-06-15 SL Baur <steve@miho.m17n.org>
1610 * mule-charset.c (Fsplit_char): New subr.
1611 (Fchar_octet): delete.
1612 (syms_of_mule_charset): DEFSUBR it.
1614 1999-06-13 Andy Piper <andy@xemacs.org>
1616 * menubar.h: update declarations involving gui_items.
1618 * lisp.h: declare Lisp_Gui_Item.
1620 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1622 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1623 (print_image_instance): ditto.
1624 (image_instance_equal): ditto.
1625 (image_instance_hash): ditto.
1627 * event-msw.c (mswindows_need_event): assert badly_p status.
1628 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1629 callbacks in tree-view and tab-control widgets.
1630 (emacs_mswindows_next_event): modify use of
1631 mswindows_dequeue_dispatch_event.
1633 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1634 lisp-based gui_items.
1636 * glyphs-msw.c (mswindows_update_subwindow): update use of
1638 (mswindows_register_gui_item): new function.
1639 (mswindows_register_gui_item): fix to use lisp gui_items.
1640 (mswindows_widget_instantiate): ditto.
1641 (mswindows_button_instantiate): ditto.
1642 (add_tree_item): new function to recursively add tree view
1644 (add_tree_item_list): ditto.
1645 (mswindows_tree_instantiate): new function. instantiate tree view
1647 (add_tab_item): new function to add tabs to a tab control.
1648 (mswindows_tab_instantiate): new function. instantiate tab
1650 (image_instantiator_format_create_glyphs_mswindows): add tree view
1652 (vars_of_glyphs_mswindows): ditto.
1654 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1656 (check_valid_item_list): ditto.
1657 (initialize_widget_image_instance): fix to use new lisp gui_item.
1658 (widget_instantiate_1): allow the setting of default textwidth in
1660 (widget_instantiate): change to use new widget_instantiate_1
1662 (combo_instantiate): ditto.
1663 (static_instantiate): ditto.
1664 (tab_instantiate): new function for tab widgets.
1665 (image_instantiator_format_create_glyphs_widget): add tab and tree
1668 * menubar-msw.c (displayable_menu_item): convert to use lisp
1670 (populate_menu_add_item): ditto.
1671 (populate_or_checksum_helper): ditto.
1673 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1675 (Fmenu_find_real_submenu): ditto.
1677 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1679 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1680 objects, convert functions that use them accordingly.
1681 (gui_item_init): ditto.
1682 (gui_item_active_p): ditto.
1683 (gui_item_selected_p): ditto.
1684 (gui_item_included_p): ditto.
1685 (gui_item_display_flush_left): ditto.
1686 (gui_item_display_flush_right): ditto.
1687 (mark_gui_item): ditto.
1688 (allocate_gui_item): new function to create a gui_item.
1689 (make_gui_item_from_keywords_internal): ditto. create and return a
1690 gui_item as well as setting keywords.
1691 (gui_parse_item_keywords): ditto.
1692 (gui_parse_item_keywords_no_errors): ditto.
1693 (gui_add_item_keywords_to_plist): new function, not yet used.
1694 (gui_item_hash): new function.
1695 (gui_item_id_hash): use gui_item_hash.
1696 (gui_item_equal): new function.
1697 (print_gui_item): new function.
1699 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1701 * XEmacs 21.2.16 is released
1703 1999-06-10 Andy Piper <andy@xemacs.org>
1705 * select-msw.c (mswindows_own_selection): only set the clipboard
1707 (mswindows_get_foreign_selection): only get the clipboard if
1709 (mswindows_disown_selection): only disown the clipboard if asked.
1711 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1713 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1715 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1716 of coding-category `no-conversion'.
1718 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1720 * file-coding.c (Qraw_text): New variable.
1721 (syms_of_mule_coding): Add new symbol `raw-text'.
1722 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1723 define coding-system `binary' independently; define coding-system
1724 `no-conversion' as an alias for `raw-text'.
1726 * file-coding.h (Qraw_text): New variable.
1728 1999-06-08 SL Baur <steve@xemacs.org>
1730 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1732 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1734 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1736 (base64_decode_1): Signal errors instead of returning -1.
1738 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1740 * mule-charset.c (Fmake_char): Update docstring.
1742 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1744 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1746 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1748 * fns.c (base64_decode_1): Allow and ignore any non-base64
1749 characters in input.
1751 1999-05-27 Olivier Galibert <galibert@pobox.com>
1753 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1754 of report_pure_usage().
1756 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1758 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1760 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1762 * XEmacs 21.2.15 is released
1764 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1766 * frame.c (Fset_mouse_position):
1767 (Fset_mouse_pixel_position):
1768 * window.c (Fsplit_window):
1769 (Fmove_to_window_line):
1770 Fix crash when invoking functions with an already-deleted window
1773 * indent.c (vertical_motion_1):
1775 (Fvertical_motion_pixels):
1776 * window.c (Fwindow_displayed_text_pixel_height):
1777 Fix error message when invoking functions with an already-deleted
1780 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1782 * sysdep.c (request_sigio_on_device): Guard against glibc
1783 2.1's stub streams implementation.
1785 1999-06-03 SL Baur <steve@xemacs.org>
1788 * emacs.c: Implement x.y.z version numbers
1789 From Jan Vroonhof <vroonhof@math.ethz.ch>
1791 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1793 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1794 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1797 1999-06-03 SL Baur <steve@xemacs.org>
1800 * device-x.c: rename session option to wmcommand.
1801 From Oliver Graf <ograf@rhein-zeitung.de>
1803 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1805 * fns.c (Fsubstring): Don't traverse the same region twice with
1806 charcount_to_bytecount().
1808 1999-06-03 SL Baur <steve@steve1.m17n.org>
1810 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1813 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1814 doesn't really work as is implied by the commentary).
1815 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1817 1999-06-02 SL Baur <steve@steve1.m17n.org>
1819 * symsinit.h: Declare vars_of_ntproc.
1820 * emacs.c (main_1): Call it.
1822 * ntproc.c (syms_of_ntproc): Move variable initializations from
1824 (vars_of_ntproc): ... to here [new function].
1826 * file-coding.c (syms_of_file_coding): Rename.
1827 (vars_of_file_coding): Ditto.
1828 (complex_vars_of_file_coding): Ditto.
1830 * symsinit.h: Rename *_mule_coding to *_file_coding.
1832 * emacs.c (main_1): Call them by the proper name.
1834 * device-msw.c (syms_of_device_mswindows): Move variable
1835 initializations from here ...
1836 (vars_of_device_mswindows): ... to here.
1838 * chartab.c (vars_of_chartab): New function.
1840 * symsinit.h: New function, vars_of_chartab.
1842 * emacs.c (main_1): Call it.
1844 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1845 (vars_of_mule_canna): ... to here.
1847 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1848 initializations out of syms_of_mule_ccl.
1850 * symsinit.h: Declare new function vars_of_mule_ccl.
1852 * emacs.c (main_1): Call it.
1854 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1856 * fns.c (base64_decode_1): Ignore whitespace.
1858 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1860 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1863 1999-05-21 Andy Piper <andy@xemacs.org>
1865 * xselect.c: deleted.
1867 * symsinit.h: declare select initialisation.
1869 * select.h: new file. declare commonly used select functions and
1872 * select.c: new file. generalised from xselect.c.
1873 (clean_local_selection_data): moved from xselect.c.
1874 (get_local_selection): ditto. device specific pieces called via a
1876 (handle_selection_clear): ditto.
1877 (Fown_selection_internal): renamed and generalised from
1878 Fx_own_selection_internal. moved from xselect.c.
1879 (Fdisown_selection_internal): ditto.
1880 (Fselection_owner_p): ditto.
1881 (Fselection_exists_p): ditto.
1882 (Fget_selection_internal): ditto.
1883 (syms_of_select): new function. QXXXX values moved from xselect.c
1884 (vars_of_select): new function. selection_converter_alist,
1885 lost_selection_hooks moved and renamed from xselect.c
1887 * select-x.c: renamed from xselect.c.
1888 (x_own_selection): converted to device specific. non-X-specific
1889 bits moved to select.c.
1890 (x_get_foreign_selection): ditto.
1891 (x_disown_selection): ditto.
1892 (x_selection_exists_p): ditto.
1893 (console_type_create_select_x): new function.
1895 * select-msw.c (mswindows_own_selection): new device method to set
1896 the clipboard when we 'own' the selection.
1897 (mswindows_get_foreign_selection): new device method to get the
1899 (mswindows_disown_selection): new device method to delete the
1900 selection when we 'disown' it.
1901 (console_type_create_select_mswindows): new function.
1903 * emacs.c (main_1): add select to things to initialise.
1905 * console.h (struct console_methods): new console methods for
1908 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1910 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1912 * print.c (long_to_string): Install a faster version.
1914 1999-05-16 Andy Piper <andy@xemacs.org>
1916 * ntproc.c (syms_of_ntproc): default
1917 win32-start-process-share-console to t.
1919 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1921 * config.h.in: Do it here.
1923 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1925 1999-05-14 Andy Piper <andy@xemacs.org>
1927 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1930 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1932 * XEmacs 21.2.14 is released
1934 1999-05-12 Andy Piper <andy@xemacs.org>
1936 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1938 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1940 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1941 run_temacs_argv array -- fixes random memory corruption crash
1943 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1945 * window.c (Fcurrent_window_configuration):
1946 Save minibuffer height;
1948 * window.c (set_window_configuration): use it.
1950 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1952 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1954 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1956 * redisplay.c (redisplay_window): Do not put data
1957 in the line start cache if it is not guaranteed to be correct
1959 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1961 * window.c (struct window_config): Removed frame
1963 (window_config_equal): No longer compare frame sizes.
1964 (Fset_window_configuration): Resize old top window to fit in the
1965 current frame directly, no longer use a fake frame resize.
1966 (Fcurrent_window_configuration): No longer save frame size
1968 1999-05-11 Andy Piper <andy@xemacs.org>
1970 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1973 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1975 * sysdep.c (init_system_name): If gethostname gives a proper
1976 domain name, don't look further for one.
1978 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1980 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1981 (Fintern_soft): Accept a symbol argument.
1983 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1985 * symbols.c (Fintern): ...do it here.
1987 * lread.c (read_atom): Don't handle keywords here.
1989 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1991 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1993 1999-05-03 Olivier Galibert <galibert@pobox.com>
1995 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1996 is interned in the main obarray.
1998 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2000 * menubar-x.c (pre_activate_callback): set accelerator field in
2001 "No menu" entries to nil. Avoid crash in
2002 command_builder_operate_menu_accelerator
2004 1999-05-03 Olivier Galibert <galibert@pobox.com>
2006 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2008 * lisp.h (DEFUN): Fix lrecord header initialisation.
2010 1999-05-02 Andy Piper <andy@xemacs.org>
2012 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2014 * ntproc.c (sys_kill): cast using MS mandated defines.
2016 1999-04-29 Andy Piper <andy@xemacs.org>
2018 * m/intel386.h: remove redundant definitions.
2020 * s/mingw32.h: new header for mingw32.
2022 * unexnt.c: (open_input_file): function moved to nt.c.
2023 (close_file_data): ditto.
2024 (rva_to_section): function moved to ntproc.
2026 * symsinit.h: declare syms_of_ntproc();
2028 * objects-msw.c (mswindows_font_instance_truename): new function.
2030 * ntproc.c: remove many warnings.
2031 (_sys_read_ahead): moved from nt.c and made static.
2032 (rva_to_section): moved from unexnt.c but not defined under
2034 (win32_executable_type): implement what we can for mingw32
2036 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2038 * ntheap.h: remove declarations of functions that are now static.
2040 * ntheap.c: support static heap.
2042 * nt.h: conditionalise X_OK definition.
2044 * nt.c: eliminate many warnings and support mingw32.
2045 (open_input_file): function moved from unexnt.c and made static
2046 (close_file_data): ditto.
2047 (_sys_read_ahead): moved to ntproc.c
2049 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2051 * console-msw.h: support mingw32.
2052 * getloadavg.c: ditto.
2059 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2060 some systems don't have all of the encapsulated system calls.
2062 * callproc.c: warning elimination.
2063 * dired-msw.c: ditto.
2064 * process-nt.c: ditto.
2065 * realpath.c: ditto.
2067 * Makefile.in.in: tweak : and ; for building under mswindows.
2069 1999-04-26 Michael Harnois <mharnois@willinet.net>
2071 * eldap.c (allocate_ldap): Adapt to the new semantics of
2072 alloc_lcrecord_type().
2074 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2076 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2078 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2080 * Delete mule-coding.c and mule-coding.h because they are not
2083 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2085 * objects.c (print_font_instance): Check for NILP(f->device),
2086 i.e. Vthe_null_font_instance.
2087 (font_instance_truename_internal): ditto.
2088 (Ffont_instance_properties): ditto.
2090 1999-04-22 Olivier Galibert <galibert@pobox.com>
2092 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2095 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2097 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2098 it easier to add new ones.
2100 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2102 * symbols.c (reject_constant_symbols): Ditto.
2103 (init_symbols_once_early): Ditto.
2105 * print.c (print_symbol): Don't use ->obarray.
2107 * symbols.c (Funintern): Ditto.
2109 * alloc.c (Fmake_symbol): Don't set ->obarray.
2111 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2113 * symbols.c (init_symbols_once_early): Removed
2114 Vpure_uninterned_symbol_table.
2115 (Fintern): Don't store to ->obarray field.
2117 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2119 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2120 (eq_with_ebola_notice): Remove abracadabra support.
2122 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2124 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2125 retrieve the distinguished names of entries
2127 1999-03-08 Martin Buchholz <martin@xemacs.org>
2129 * lread.c (read_escape): Make hex escapes read only two hex digits.
2131 1999-04-05 Olivier Galibert <galibert@pobox.com>
2133 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2134 * make-src-depend: Remove puresize-adjust.h.
2135 * src-headers: Remove puresize-adjust.h.
2136 * config.h.in: Kill everything purespace/gung-ho related.
2138 * dbxrc: Make gung-ho mandatory.
2141 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2142 c_readonly and lisp_readonly. Remove implementation arrays.
2143 (C_READONLY_RECORD_HEADER_P): Added.
2144 (LISP_READONLY_RECORD_HEADER_P): Added.
2145 (SET_C_READONLY_RECORD_HEADER): Added.
2146 (SET_LISP_READONLY_RECORD_HEADER): Added.
2148 * lisp.h: Kill everything purespace/non gung-ho related.
2149 (CHECK_C_WRITEABLE): Added.
2150 (CHECK_LISP_WRITEABLE): Added.
2151 (C_READONLY): Added.
2152 (LISP_READONLY): Added.
2154 * lisp-union.h: Make gung-ho mandatory.
2155 * lisp-disunion.h: Ditto.
2157 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2158 set_lheader_implementation calls.
2159 (c_readonly): Added.
2160 (lisp_readonly): Added.
2161 (make_string_nocopy): Added.
2162 (Fpurecopy): Changed to do nothing. Kept the old documentation
2163 for reference purposes for the next patches.
2164 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2165 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2166 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2168 * fns.c: Make gung-ho mandatory.
2169 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2171 (Ffillarray): Ditto.
2173 * data.c: Make gung-ho mandatory.
2174 (pure_write_error): Removed.
2175 (c_write_error): Added.
2176 (lisp_write_error): Added.
2177 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2181 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2182 make_string or make_string_nocopy. Fix various
2183 alloc_lcrecord_type.
2185 * lread.c: Remove everything purespace related.
2186 (Flocate_file_clear_hashing): purified -> c_readonly.
2187 (locate_file): Ditto.
2188 (read_atom): make_pure_pname -> make_string.
2190 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2192 (Fdump_emacs): Ditto.
2194 * print.c (print_internal): Make gung-ho mandatory.
2195 * ntheap.c (sbrk): Ditto.
2196 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2197 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2199 * sheap.c (more_static_core): Remove puresize-adjust.h from
2202 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2204 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2205 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2206 * events.c (deinitialize_event): Fix set_lheader_implementation.
2207 (zero_event): Ditto.
2208 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2209 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2210 * mule-charset.c (make_charset): Ditto.
2211 * console.c (allocate_console): Ditto.
2212 (complex_vars_of_console): Ditto.
2213 * file-coding.c (allocate_coding_system): Ditto.
2214 * device.c (allocate_device): Ditto
2215 * gui-x.c (gcpro_popup_callbacks): Ditto.
2216 * extents.c (allocate_extent_auxiliary): Ditto.
2217 (allocate_extent_info): Ditto.
2218 (copy_extent): Ditto.
2219 * glyphs.c (allocate_image_instance): Ditto.
2220 (allocate_glyph): Ditto.
2221 * frame.c (allocate_frame_core): Ditto.
2222 * database.c (allocate_database): Ditto.
2223 * tooltalk.c (make_tooltalk_message): Ditto.
2224 (make_tooltalk_pattern): Ditto.
2225 * rangetab.c (Fmake_range_table): Ditto.
2226 (Fcopy_range_table): Ditto.
2227 * process.c (make_process_internal): Ditto.
2228 * chartab.c (Fmake_char_table): Ditto.
2229 (make_char_table_entry): Ditto.
2230 (copy_char_table_entry): Ditto.
2231 (Fcopy_char_table): Ditto.
2232 * elhash.c (make_general_lisp_hash_table): Ditto.
2233 (Fcopy_hash_table): Ditto.
2234 * buffer.c (allocate_buffer): Ditto.
2235 (complex_vars_of_buffer): Ditto.
2236 * event-stream.c (allocate_command_builder): Ditto.
2237 * objects.c (Fmake_color_instance): Ditto.
2238 (Fmake_font_instance): Ditto.
2239 (vars_of_objects): Ditto.
2240 * toolbar.c (update_toolbar_button): Ditto.
2241 * window.c (allocate_window): Ditto.
2242 (make_dummy_parent): Ditto.
2243 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2244 (vars_of_window): Fix make_lcrecord_list.
2245 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2247 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2248 * opaque.c (make_opaque): Fix alloc_lrecord.
2249 (make_opaque_list): Fix alloc_lrecord_type.
2251 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2253 * process.c (Fstart_process_internal): Ditto.
2255 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2258 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2260 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2263 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2264 (emodules_load): Use it when calling locate_file().
2266 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2269 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2270 (vars_of_callproc): Initialize it.
2271 (Fcall_process_internal): Use it when calling locate_file().
2273 * alloc.c (disksave_object_finalization): Use
2274 Flocate_file_clear_hashing().
2276 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2277 given `t' as argument.
2279 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2281 * lread.c (locate_file): Expand `pathel' when appropriate.
2282 (Flocate_file_clear_hashing): Expand path elements.
2283 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2285 * dired.c (make_directory_hash_table): Create the hash-table only
2286 if the directory open is successful.
2288 * lread.c (decode_mode_1): New function.
2289 (decode_mode): Ditto.
2290 (Flocate_file): Use them.
2291 (Flocate_file): Expand FILENAME.
2292 (locate_file_map_suffixes): New function.
2293 (locate_file_in_directory_mapper): New function.
2294 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2295 and locate_file_map_suffixes().
2296 (locate_file_construct_suffixed_files): Use
2297 locate_file_map_suffixes().
2298 (locate_file_without_hash): Don't GCPRO path.
2299 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2300 (syms_of_lread): Remove Qlocate_file_hash_table.
2301 (locate_file_find_directory_hash_table): Use
2302 Vlocate_file_hash_table.
2303 (locate_file_refresh_hashing): Ditto.
2305 * lread.c: Renamed read_objects to Vread_objects.
2307 1999-04-16 Olivier Galibert <galibert@pobox.com>
2309 * mule-charset.c: Generally resync with fsf 20.3 charset
2311 (make_charset): Add long and short name. Use id instead of
2313 (Fmake_charset): Ditto.
2314 (Fmake_reverse_direction_charset): Ditto.
2315 (Fcharset_property): Ditto.
2316 (Fcharset_short_name): Added.
2317 (Fcharset_long_name): Added.
2318 (Fcharset_description): Renamed from charset-doc-string.
2319 (syms_of_mule_charset): Synced symbols.
2320 (complex_vars_of_mule_charset): Synced charsets.
2322 * mule-charset.h: Removed leading byte (uses id instead), added
2323 short and long name.
2325 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2327 * file-coding.c (Fdefine_coding_system_alias): New function.
2329 1999-04-08 Olivier Galibert <galibert@pobox.com>
2331 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2332 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2334 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2336 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2337 attach to the extent is valid.
2339 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2341 * dired.c (user_name_completion): Mule-ize.
2342 (user_name_completion): Use xmalloc/xrealloc/xfree.
2343 (user_name_completion): Use DO_REALLOC.
2344 (user_name_completion): Cut down the number of static variables;
2346 (user_name_completion): Username completion is always
2349 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2351 * fns.c (base64_decode_1): Remove COUNTER.
2352 (base64_decode_1): Accept CRLF in addition to CR.
2353 (base64_decode_1): Disallow a stray character after final EOF; the
2354 check was probably a remnant of buggy recode code.
2356 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2358 * fns.c (init_provide_once): Provide `base64'.
2360 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2362 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2363 (Fbase64_encode_region): If buffer is read-only, bail out early.
2364 (Fbase64_decode_region): Ditto.
2365 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2367 (Fbase64_encode_string): Ditto.
2368 (Fbase64_decode_region): Ditto.
2369 (Fbase64_decode_string): Ditto.
2371 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2373 * dired.c (Fdirectory_files): Remove redundant code.
2375 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2377 * frame-msw.c Make raise-frame restore minimised windows.
2379 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2381 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2384 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2386 * toolbar-msw.c Consider captions when deciding whether to rebuild
2387 toolbar. This fixes the initial toolbar display for those of us
2388 who don't like captions. These patches applied by Andy Piper.
2390 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2392 * XEmacs 21.2.13 is released
2394 1999-03-12 SL Baur <steve@xemacs.org>
2396 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2398 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2400 * file-coding.c: docstring and comment improvements.
2401 (decode_ucs4) flag possible data loss with comment.
2403 1999-03-10 Martin Buchholz <martin@xemacs.org>
2405 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2409 (decode_coding_ucs4):
2410 (encode_coding_ucs4):
2411 (detect_coding_utf8):
2412 (decode_coding_utf8):
2414 (encode_coding_utf8):
2415 Add CHECK_* macros where needed to avoid crashes.
2416 #ifdef out all composite character support using
2417 #ifdef ENABLE_COMPOSITE_CHARS
2418 Use normal XEmacs coding standards.
2420 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2422 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2424 * file-coding.c (make-coding-system): Add description about
2425 `ucs-4' and `utf-8'.
2426 (detection_state): Modify to implement ucs-4 and utf-8.
2427 (detect_coding_type): Likewise.
2428 (detect_coding_ucs4): New implementation.
2429 (detect_coding_utf8): New implementation.
2430 (encode_utf8): fixed.
2431 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2434 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2436 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2437 2022 registry to private area.
2439 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2441 * file-coding.c (encode_utf8): New function.
2442 (encode_coding_utf8): New implementation.
2444 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2446 * file-coding.c (ucs_to_mule_table): New variable; abolish
2447 `Vucs_to_mule_table'
2448 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2449 (set-ucs-char): New function.
2450 (ucs_to_char): New function.
2451 (ucs-char): New function.
2452 (set-char-ucs): New function.
2453 (char-ucs): New function.
2454 (decode_ucs4): Use `ucs_to_char'.
2455 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2456 `mule-to-ucs-table'.
2458 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2460 * chartab.h: EXFUN `Fget_char_table'.
2462 * file-coding.c (encode_ucs4): New function.
2463 (encode_coding_ucs4): Use `encode_ucs4'.
2465 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2467 * file-coding.c (decode_coding_ucs4): New implementation.
2469 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2471 * file-coding.c (decode_coding_ucs4): fixed.
2473 * file-coding.c (Vmule_to_ucs_table): New variable.
2474 (mule_char_to_ucs4): New function.
2475 (encode_coding_ucs4): New implementation.
2476 (complex_vars_of_mule_coding): Define variable
2477 `mule-to-ucs-table'.
2479 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2481 * file-coding.c (decode_coding_utf8): New implementation.
2483 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2485 * file-coding.c (decode_coding_utf8): fixed.
2487 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2489 * file-coding.c (Vucs_to_mule_table): New variable.
2490 (decode_ucs4): Refer `Vucs_to_mule_table'.
2491 (complex_vars_of_mule_coding): Define variable
2492 `ucs-to-mule-table'.
2494 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2496 * file-coding.c (detect_coding_ucs4): New function (not
2498 (decode_coding_ucs4): New function.
2499 (encode_coding_ucs4): New function (not implemented yet).
2500 (detect_coding_utf8): New function (not implemented yet).
2501 (decode_coding_utf8): New function.
2502 (encode_coding_utf8): New function (not implemented yet).
2503 (make-coding-system): New type `ucs4' and `utf8'.
2504 (coding-system-type): Likewise.
2505 (detection_state): Add `ucs4' and `utf8'.
2506 (detect_coding_type): Likewise.
2507 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2508 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2509 (decode_ucs4): New function (very incomplete).
2510 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2512 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2514 1999-03-08 Martin Buchholz <martin@xemacs.org>
2517 (non_ascii_valid_char_p):
2518 (lookup_composite_char):
2519 (composite_char_string):
2520 (make-composite-char):
2521 (composite-char-string):
2522 (syms_of_mule_charset):
2523 (complex_vars_of_mule_charset):
2524 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2525 (CHAR_LEADING_BYTE):
2527 * file-coding.h (CODING_STATE_COMPOSITE):
2528 (CODING_STATE_ISO2022_LOCK):
2530 (LEADING_BYTE_COMPOSITE):
2531 * file-coding.c (struct iso2022_decoder):
2534 (parse_iso2022_esc):
2535 (encode_coding_iso2022):
2536 #ifdef out all composite character support using
2537 #ifdef ENABLE_COMPOSITE_CHARS
2539 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2541 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2543 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2544 way of `Fbase64_encode_region'.
2546 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2548 * fns.c (base64_encode_1): Don't add a newline at the tail.
2550 1999-03-08 Andy Piper <andy@xemacs.org>
2552 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2555 1999-03-07 Martin Buchholz <martin@xemacs.org>
2557 * console-stream.h (struct stream_console):
2558 * event-unixoid.c (event_stream_unixoid_select_console):
2559 (event_stream_unixoid_unselect_console):
2560 * print.c (Fexternal_debugging_output):
2561 * sysdep.c (reset_one_device):
2562 * console-stream.c (stream_init_console):
2563 (stream_delete_console):
2564 (allocate_stream_console_struct): move into stream_init_console.
2565 (free_stream_console_struct): move into stream_delete_console.
2566 Use `fd' only for file descriptors.
2567 Therefore, rename members of struct stream_console.
2569 * systime.h: Unix98 says sys/time.h should define select(), but
2570 some systems define that in unistd.h. So include that file always.
2572 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2573 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2574 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2576 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2580 Add #include <stdio.h>.
2581 Some versions of assert.h use printf() without #include'ing stdio.h
2583 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2584 (log_gcpro): Remove unused variable FRAME.
2585 (show_gcprohist): Ansify.
2586 Comment the #endif's
2588 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2589 after it's just been XtDestroy'ed!
2591 1999-02-18 Martin Buchholz <martin@xemacs.org>
2593 * opaque.c (print_opaque):
2597 Egcs 1.1.1 seems to have a bug where
2598 INTP (p->size_or_chain)
2599 will crash XEmacs. Fix by introducing intermediate variable.
2601 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2603 * dired.c (Fdirectory_files):
2604 (Ffile_name_completion):
2605 (Ffile_name_all_completions):
2606 (file_name_completion):
2607 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2608 avoid compiler warnings.
2609 - Fix up docstrings so that C variables match documentation.
2611 1999-03-05 Martin Buchholz <martin@xemacs.org>
2613 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2614 variables as small as possible to help out the compiler and the maintainer.
2616 * alloc.c: (disksave_object_finalization):
2617 Set all the *-load-path variables to
2618 nil, not just load-path itself. This gets the locate-file hash
2619 tables garbage collected BEFORE dump, and has the side effect of
2620 preventing crashes on OSF4.0+egcs.
2625 - Clean up gdb/dbx debugging support.
2626 - Storing an EMACS_INT in an enum is not 64-bit clean!
2627 - So change the enum to a set of separate variables.
2628 - Add test cases to help debug the debugging support!
2629 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2630 - Both dbx and gdb have been tested now.
2632 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2634 * XEmacs 21.2.12 is released
2636 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2638 * device-x.c: Support to find best visual without flashing.
2640 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2642 * database.c (berkdb_map): Add flags argument to cursor call (must
2643 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2645 1999-03-03 Martin Buchholz <martin@xemacs.org>
2649 General cleanup. Get free-hook.c working again.
2650 Remove unused functions:
2651 make_strings_hash_table, copy_hash, expand_hash_table.
2655 Always use new ANSI-style function prototypes.
2657 * unexalpha.c (unexec): Never use implicit int.
2659 * sgiplay.c (close_sound_file):
2661 (restore_audio_port):
2666 (write_mulaw_8_chunk):
2667 (write_linear_chunk):
2668 (write_linear_32_chunk):
2669 (initialize_audio_port):
2672 (set_output_format):
2673 (adjust_audio_volume):
2674 (get_current_volumes):
2676 Always use new ANSI-style function prototypes.
2677 Use unistd.h for missing prototypes.
2679 * unexelfsgi.c (round_up):
2681 (unexec): Always use new ANSI-style function prototypes
2683 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2685 * console.h (struct console_methods): Always use full ANSI prototypes
2687 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2689 1999-03-02 Andy Piper <andy@xemacs.org>
2691 * event-stream.c (init_event_stream): make sure native mswindows
2692 gets an appropriate event loop.
2694 1999-02-22 Andy Piper <andy@xemacs.org>
2696 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2697 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2698 (mswindows_raise_frame): remove comment.
2700 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2702 * XEmacs 21.2.11 is released
2704 1999-02-25 SL Baur <steve@xemacs.org>
2706 * mule-charset.c (Qleading_byte): New variable to implement
2707 charset-leading-byte function.
2708 (Fcharset_property): Use it.
2709 (syms_of_mule_charset): Initialize it.
2710 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2712 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2714 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2715 bytes per pixel counting.
2717 1999-02-15 Andy Piper <andy@xemacs.org>
2719 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2722 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2724 * fns.c (Fbase64_encode_string): New optional argument
2727 1999-02-16 Martin Buchholz <martin@xemacs.org>
2729 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2730 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2732 1999-02-10 Martin Buchholz <martin@xemacs.org>
2734 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2735 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2737 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2739 * XEmacs 21.2.10 is released
2741 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2743 * process-nt.c (nt_send_process):
2744 Fix for process-send-region/process-send-string breaking when size
2745 of the input > 128 chars: change maximum chunk size for process
2746 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2749 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2751 * XEmacs 21.2.9 is released
2753 1999-01-30 Martin Buchholz <martin@xemacs.org>
2755 * bytecode.c (funcall_compiled_function): Call
2756 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2758 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2759 #ifdef 0 out unused macro.
2761 1999-01-27 Martin Buchholz <martin@xemacs.org>
2763 * gui.c (gui_parse_item_keywords_internal): Make static.
2765 1999-01-21 Andy Piper <andy@xemacs.org>
2767 * glyphs-msw.c: add xface support.
2768 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2769 (image_instantiator_format_create_glyphs_mswindows): do device
2770 specific initialisation for xfaces.
2771 (xbm_create_bitmap_from_data): line data must be padded to a word
2774 * glyphs-x.c (xface_validate): moved to glyphs.c
2775 (xface_normalize): ditto.
2776 (xface_possible_dest_types): ditto.
2777 (image_instantiator_format_create_glyphs_x): do device specific
2778 initialisation for xfaces.
2780 * glyphs.h: declare xface symbol.
2782 * glyphs.c: move generic xface support here.
2783 (xface_validate): moved from glyphs-x.c
2784 (xface_normalize): ditto.
2785 (xface_possible_dest_types): ditto.
2786 (image_instantiator_format_create): xface declarations moved from
2789 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2791 * event-stream.c (vars_of_event_stream): Fixing documentation.
2793 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2795 * glyphs-eimage.c (gif_instantiate): Correct handling of
2796 interlaced gifs to avoid writing past the end of the eimage
2799 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2801 * search.c (Freplace_match): Handle single backslash at end of
2804 1999-01-12 William M. Perry <wmperry@aventail.com>
2806 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2807 avoid connection errors.
2809 1999-01-12 Andy Piper <andy@xemacs.org>
2811 * redisplay-output.c (redisplay_update_line): backout change that
2812 shouldn't have gone ine.
2814 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2816 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2817 collide with ldap.el
2819 1999-01-11 Andy Piper <andy@xemacs.org>
2821 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2822 (DISPLAY_LINE_YPOS): new macro.
2824 * redisplay-msw.c (mswindows_output_string): use it.
2825 (mswindows_output_pixmap): ditto.
2826 (mswindows_output_display_block): ditto.
2828 * redisplay-output.c (redisplay_output_display_block): new
2829 function. just call the devmeth, maybe insert some generic code
2831 (compare_display_blocks): use it.
2832 (output_display_line): ditto.
2833 (redisplay_unmap_subwindows_maybe): new function. potentially
2834 unmap subwindows in the given area.
2836 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2839 1999-01-10 J. Kean Johnston <jkj@sco.com>
2841 * Makefile.in.in: Set value of moduledir
2842 - Changed DUMPENV to include $(MODULEPATH)
2843 - Added install rule to install header files for use by ellcc.
2845 * config.h.in: Added INHIBIT_SITE_MODULES
2846 - Added HAVE__DLERROR
2847 - Added HAVE_DLFCN_H
2848 - Added DLSYM_NEEDS_UNDERSCORE
2852 * emodules.c: New file containing dynamic loading code.
2854 * emodules.h: New file.
2856 * emacs.c: Added variables Vmodule_directory,
2857 Vsite_module_directory, Vconfigure_module_directory and
2858 Vconfigure_site_module_directory.
2859 - (main_1): Added new variable inhibit_site_modules and command
2860 line options `-no-site-modules' and `--no-site-modules'.
2861 - (main_1): Call syms_of_module() instead of syms_of_dll().
2862 - (main_1): Call vars_of_module().
2863 - (vars_of_emacs): Introduce inhibit-site-modules,
2864 module-directory, configure-module-directory,
2865 site-module-directory, and configure-site-module-directory to the
2868 * lisp.h: Declare load_module and list_modules, as well as
2869 Vmodule_directory, Vsite_module_directory,
2870 Vconfigure_module_directory and Vconfigure_site_module_directory.
2872 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2873 - Added correct support for site-lisp directory.
2875 * symbols.c (defsubr): Modified to allow modules to add new subrs
2877 - (defsubr_macro): Same.
2878 - (defvar_magick): Only use purespace when not initialized, so
2879 that loaded modules can still add symbols.
2881 * symsinit.h: Add definitions for syms_of_module(),
2882 vars_of_module(). Removed syms_of_dll().
2884 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2885 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2886 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2888 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2889 explicitly pass -belf for native cc.
2891 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2892 hard-coding the library name.
2894 1999-01-01 <martin@xemacs.org>
2896 * device-x.c (Fx_set_font_path):
2897 Add proper cast to permit compilation under C++.
2899 * buffer.c (directory_is_current_directory):
2900 Add proper casts to permit compilation under C++.
2902 1998-12-30 Damon Lipparelli <lipp@primus.com>
2904 * event-msw.c (mswindows_wnd_proc):
2905 Fixed failure when building with MSVC 5.
2907 1998-12-29 Martin Buchholz <martin@xemacs.org>
2909 * file-coding.c (decode_coding_iso2022):
2910 - Prevent crash when decoding ISO7/Lock detected files
2911 - the usual martin fiddling
2913 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2917 Fixed failures when building with MSVC.
2918 * unexnt.c (dump_bss_and_heap):
2919 Removed compiler warning by removing bss_data variable.
2921 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2923 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2924 so that packages that distribute their own fonts can access them.
2926 1998-12-28 Andy Piper <andy@xemacs.org>
2928 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2929 that have an image provided.
2931 * glyphs.h: add Q_image decl.
2933 * glyphs-widget.c new functionality allowing images in
2935 (check_valid_glyph_or_image): new function to validate
2936 glyphs passed in through :image.
2937 (widget_normalize): new function. convert :image parameters into
2938 real glyphs if not already so.
2939 (widget_instantiate_1): mess with size parameters to be similar to
2941 (syms_of_glyphs_widget): new keyword :image.
2942 (image_instantiator_format_create_glyphs_widget): normalize
2943 buttons and allow :image.
2945 1998-12-27 Andy Piper <andy@xemacs.org>
2947 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2949 * glyphs-widget.c (check_valid_anything): no-op function.
2950 (check_valid_callback): check callbacks in gui_items.
2951 (check_valid_symbol): as it sounds.
2952 (check_valid_string_or_vector): ditto.
2953 (widget_validate): modified for descriptors that are vectors or
2954 sequences of keyword/val pairs.
2955 (widget_instantiate_1): ditto.
2956 (image_instantiator_format_create_glyphs_widget): allow gui_item
2957 keywords in the instantiator.
2959 * gui.c (gui_parse_item_keywords_internal): renamed from
2960 gui_parse_item_keywords but taking error behaviour.
2961 (gui_parse_item_keywords): use it.
2962 (gui_parse_item_keywords_no_errors): ditto.
2963 (gui_item_add_keyval_pair): add Error_behavior flag and only
2964 signal invalid keywords if required.
2966 * gui.h: new gui signatures.
2968 * menubar.c (menu_parse_submenu_keywords): use new
2969 gui_item_add_keyval_pair signature.
2971 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2973 1998-12-28 Martin Buchholz <martin@xemacs.org>
2975 * XEmacs 21.2.8 is released.
2977 1998-12-28 Martin Buchholz <martin@xemacs.org>
2979 * editfns.c (get_home_directory):
2980 (user-home-directory): Simplify.
2983 * callproc.c (child_setup):
2984 - Environment variables were being passed to inferior processes
2985 using internal encoding.
2986 - Convert to external encoding.
2987 - Rename local var `tem' to better name `tail'.
2988 - Use Flength instead of `manual' calculation.
2990 * buffer.c (kill-buffer):
2992 (set-buffer-major-mode):
2994 - Fix up parameter names to correspond to docstrings.
2995 - Don't use `bufname' when a buffer will do as well.
2996 - Remove one unneeded GCPRO.
2998 * buffer.h (initial_directory):
2999 * buffer.c (init_initial_directory):
3000 - use correct conversions between internal and external format.
3001 (directory_is_current_directory): new function
3002 (init_buffer): convert initial_directory to internal format.
3003 - solve crashes when current working directory is non-ASCII.
3005 * alloc.c (xmalloc):
3008 - remove stupid casts, since XEmacs requires an ANSI C system.
3009 (lrecord_type_index): replace abort() with more readable assert().
3011 (reset_lcrecord_stats): remove.
3012 (sweep_lcrecords_1):
3013 - replace call to reset_lcrecord_stats() with call to xzero().
3015 1998-12-27 Martin Buchholz <martin@xemacs.org>
3017 * process-unix.c (unix_create_process):
3018 - Fix crash invoking program with non-ASCII name.
3019 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3020 - Remove unused variable `env'.
3021 - Rename `temp' to better name `save_errno'.
3022 - Reorganize code for clarity. But still too chicken to nuke the
3025 1998-12-24 Martin Buchholz <martin@xemacs.org>
3027 * XEmacs 21.2.7 is released.
3029 1998-12-23 Martin Buchholz <martin@xemacs.org>
3031 * glyphs.c (decode_device_ii_format):
3033 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3035 * glyphs-x.c (x_subwindow_instantiate):
3036 - A image instance mask was being assigned to a image instance type!
3037 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3039 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3041 * glyphs-x.h: Make indentation consistent.
3043 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3045 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3047 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3051 Move declarations of decode_device_ii_format and
3052 decode_image_instantiator_format into glyphs.h where they belong.
3054 1998-12-22 Martin Buchholz <martin@xemacs.org>
3056 * frame-x.c (x_delete_frame): Revert part of my changes at the
3057 suggestion of Gunnar Evermann - unfortunately no one really
3058 understands this code.
3060 * callproc.c (init_callproc): code cleanup.
3062 * free-hook.c (malloc):
3067 (block_input_malloc):
3068 (block_input_realloc):
3069 * device-x.c (x_delete_device):
3070 * emacs.c (voodoo_free_hook):
3071 * events.c (print_event):
3073 (CHECK_EVENT_TYPE2):
3074 (CHECK_EVENT_TYPE3):
3075 Use proper prototypes.
3076 Make C_E_T macros a little faster.
3077 Pedantic fiddly little changes. You really don't care.
3079 1998-12-22 Andy Piper <andy@xemacs.org>
3081 * redisplay-output.c (redisplay_clear_region): make sure that
3082 fg/bg colors get set even when we are in the border area.
3084 1998-12-13 Martin Buchholz <martin@xemacs.org>
3086 * console-msw.c: Function definitions follow coding standards
3087 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3089 1998-12-11 Martin Buchholz <martin@xemacs.org>
3091 * events.h (struct timeout_data):
3092 * event-tty.c (tty_timeout_to_emacs_event):
3093 * event-msw.c (mswindows_wm_timer_callback):
3094 * event-Xt.c (Xt_timeout_to_emacs_event):
3095 * event-msw.c (mswindows_cancel_dispatch_event):
3096 Make sure Lisp_Objects inside events are initialized to Qnil, not
3097 Qnull_pointer, which is now illegal.
3099 1998-12-10 Martin Buchholz <martin@xemacs.org>
3101 * lisp.h: Fix up prototypes to match alloc.c
3103 1998-12-08 Martin Buchholz <martin@xemacs.org>
3105 * windowsnt.h: Remove `support' for using index and rindex
3107 * filelock.c (current_lock_owner):
3108 - Change uses of index -> strchr, rindex -> strrchr
3110 1998-12-07 Martin Buchholz <martin@xemacs.org>
3112 * sysdep.c (set_descriptor_non_blocking):
3113 Since O_NONBLOCK is now always #defined, make use of fcntl
3114 conditional on F_SETFL being defined.
3116 * console-msw.c (DHEADgER):
3125 - max_align_t should not be visible to the user of the
3127 - use Bufbyte instead of char
3128 - parens around (FOOP (obj)) are always redundant.
3129 If they were necessary, we should fix the macro instead.
3130 - Always use string_data(foo) instead of foo->data.
3133 1998-12-06 Martin Buchholz <martin@xemacs.org>
3135 * frame-msw.c (mswindows_init_frame_1):
3136 - use make_lisp_hash_table, not Fmake_hash_table
3140 * alloc.c (make_vector): remove travesty
3144 (make_bit_vector_internal):
3146 (make_bit_vector_from_byte_vector):
3148 - make vector_equal a little faster.
3149 - Don't use variable name `new'.
3150 - Use size_t instead of EMACS_INT.
3151 - usual Martin-style pointless bit-twiddling.
3157 Make mapcar faster. In particular, make
3158 (mapc #'identity long-string)
3159 MUCH faster under Mule.
3160 * tests/automated/lisp-tests.el: Test 'em!
3162 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3165 1998-12-01 Martin Buchholz <martin@xemacs.org>
3167 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3168 Qnil, not NULL, to initialize `null' Lisp_Objects.
3170 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3172 * specifier.c (display_table_validate): Update.
3174 * redisplay.c (create_text_block): Use them.
3176 * glyphs.c (display_table_entry): New function.
3177 (get_display_tables): Ditto.
3179 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3181 * eldap.c (toplevel): Mention that eldap.c compiles with
3183 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3184 (Fldap_search_internal): Ditto
3186 1998-12-11 Martin Buchholz <martin@xemacs.org>
3188 * event-msw.c (mswindows_cancel_dispatch_event):
3189 Gratuitous code prettification
3192 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3194 * fns.c (Fnconc): Fix use of wrong_type_argument().
3196 * floatfns.c (Ffloat): Fix docstring.
3197 (Ffloat): Fix use of wrong_type_argument().
3199 (extract_float): Ditto.
3204 1998-12-06 Martin Buchholz <martin@xemacs.org>
3206 * frame-msw.c (mswindows_init_frame_1):
3207 - use make_lisp_hash_table, not Fmake_hash_table
3211 * alloc.c (make_vector): remove travesty
3215 (make_bit_vector_internal):
3217 (make_bit_vector_from_byte_vector):
3219 - make vector_equal a little faster.
3220 - Don't use variable name `new'.
3221 - Use size_t instead of EMACS_INT.
3222 - usual Martin-style pointless bit-twiddling.
3228 Make mapcar faster. In particular, make
3229 (mapc #'identity long-string)
3230 MUCH faster under Mule.
3231 * tests/automated/lisp-tests.el: Test 'em!
3233 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3236 1998-12-02 Didier Verna <verna@inf.enst.fr>
3238 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3239 accelerator field to nil for labels.
3241 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3243 * menubar-msw.c (displayable_menu_item):
3244 Escape occurrences of '&' and support occurrences of the
3245 '%_' accelerator indicator in menus.
3247 1998-11-26 Didier Verna <verna@inf.enst.fr>
3249 * dired.c (Fdirectory_files): use make_string instead of
3250 make_ext_string on the filename. The conversion external->internal
3251 format is already done in sys_readdir.
3253 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3255 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3257 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3260 (Belatedly) added Kirill to list of file's authors.
3261 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3262 quit checking. WM_PAINT messages cause redisplay, but
3263 windows' states are not necessarily stable when this function
3266 1998-12-17 Andy Piper <andy@xemacs.org>
3268 * strftime.c (zone_name): CONSTify.
3270 1998-12-15 Andy Piper <andy@xemacs.org>
3272 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3273 (mswindows_widget_property): return Qunbound when no property available.
3274 (mswindows_button_property): ditto.
3275 (mswindows_combo_property): ditto.
3276 (mswindows_widget_set_property): ditto.
3278 * glyphs-widget.c (check_valid_item_list): use properties.
3280 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3282 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3283 (Fimage_instance_property): ditto.
3284 * glyphs-widget.c (widget_property): ditto.
3285 (widget_set_property): ditto.
3287 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3288 as setting the class cursor so that GC actually changes the
3291 * config.h: don't undef MAIL_USE_POP.
3293 1998-12-13 Andy Piper <andy@xemacs.org>
3296 (image_instantiator_format_create_glyphs_mswindows): line ->
3298 (mswindows_label_instantiate): ditto. Play with window flags.
3299 (image_instantiator_format_create_glyphs_mswindows): ditto.
3300 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3302 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3303 cope with lines and labels.
3304 (static_instantiate): use widget_instantiate_1.
3306 (image_instantiator_format_create_glyphs_widget): ditto.
3308 1998-12-10 Andy Piper <andy@xemacs.org>
3310 * Makefile.in.in (objs): add gui.o
3312 1998-12-10 Andy Piper <andy@xemacs.org>
3314 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3317 1998-12-09 Andy Piper <andy@xemacs.org>
3319 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3320 image instance is removed so that the subwindow cache gets reset
3321 and thus destroyed images get GC'd.
3323 1998-12-08 Andy Piper <andy@xemacs.org>
3325 * gui-msw.c (mswindows_handle_gui_wm_command): call
3326 MARK_SUBWINDOWS_CHANGED.
3328 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3329 subwindows really get deleted.
3331 * redisplay.c: new variable subwindows_changed[_set].
3332 (redisplay_window): use it.
3333 (redisplay_frame): ditto.
3334 (redisplay_device): ditto.
3335 (redisplay_without_hooks): ditto.
3337 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3338 subwindows redisplay as per glyphs equivalent.
3339 * redisplay.h: ditto.
3340 (MARK_SUBWINDOWS_CHANGED): ditto.
3341 (RESET_CHANGED_SET_FLAGS): ditto.
3342 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3344 1998-12-07 Andy Piper <andy@xemacs.org>
3346 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3349 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3351 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3352 messages and paint widget glyphs as appropriate with their face fg
3355 1998-12-06 Andy Piper <andy@xemacs.org>
3357 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3358 here rather than in glyphs-widget - do this because we only want
3359 to provide what is really available.
3361 * glyphs.c (Fimage_instance_property): new function to get the
3362 properties of image instances. wires through to console specific
3363 methods and then to widget specific methods.
3364 (Fset_image_instance_property): ditto but for setting widget properties.
3365 (check_valid_face): make extern so that it can be used elsewhere.
3367 * glyphs-widget.c (widget_property): new function. gets the
3368 properties of widgets in general and wires the function through to
3369 widget specific ones.
3370 (widget_set_property): ditto but for setting widget properties.
3372 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3373 add items to the list. Play with window styles a bit to get the
3375 (mswindows_widget_property): break out specific widget properties.
3376 (mswindows_button_property): new function. gets the checked state
3378 (mswindows_combo_property): new function. gets the current
3379 selection in the combo box.
3380 (mswindows_widget_set_property): new function. sets specific
3381 properties of specific widgets.
3383 * glyphs-widget.c (check_valid_item_list): new function. check
3384 that items for a combo-box are just a list of strings.
3385 (combo_validate): new function. check there is an item list.
3386 (widget_instantiate_1): new function. renamed from
3387 widget_instantiate so that we can do slightly different things for
3389 (widget_instantiate): call widget_instantiate_1.
3390 (combo_instantiate): new function to instantiate combo boxes,
3391 defaults height to the pixel height of the number of items in the
3393 (syms_of_glyphs_widget): move widget keywords here.
3394 (image_instantiator_format_create_glyphs_widget): use new combo
3397 1998-12-04 Andy Piper <andy@xemacs.org>
3399 * event-msw.c (mswindows_wnd_proc): mule-ize.
3401 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3403 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3404 (resource_name_to_resource): ditto.
3405 (mswindows_resource_instantiate): ditto.
3406 (mswindows_widget_instantiate): ditto.
3407 (mswindows_widget_set_property): ditto.
3409 * redisplay-output.c (redisplay_output_subwindow): don't show
3410 subwindows if they are obscured at the edge of the frame, emacs
3411 gets into some sort of redisplay loop otherwise.
3413 * gui.h: prototype gui_item_selected_p.
3415 * gui.c (gui_item_selected_p): new function to determine the
3416 selected state of a gui_item.
3418 * frame.h (struct frame): add subwindows_changed flag.
3420 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3422 * glyphs.c (update_subwindow): new function to update a
3424 (update_frame_subwindows): new function to update all the
3425 subwindows on a frame.
3427 * console.h (struct console_methods): add update_subwindow.
3429 * glyphs-msw.c (mswindows_widget_property): return selected state
3430 for selected property.
3431 (mswindows_update_subwindow): new function. updates widget glyphs
3432 in redisplay as per menubars or toolbars e.g. selected state.
3433 (console_type_create_glyphs_mswindows): add update_subwindow.
3435 1998-12-03 Andy Piper <andy@xemacs.org>
3437 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3438 tty coding system things are such.
3440 * glyphs-widget.c (widget_face_font_info): new function for
3441 pulling out height and width metrics for a widget's face.
3442 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3445 * event-msw.c (mswindows_drain_windows_queue): translate messages
3446 that are destined for subwindows. This makes edit fields interact
3447 with the keyboard correctly.
3448 nuke warnings by #ifndef'ing out stuff not required by msg select().
3450 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3451 macro defining the iiforma without the symbol required by widget.
3452 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3454 * general.c (syms_of_general): add Qwidget, Qselected.
3456 * faces.c (complex_vars_of_faces): add widget face inheriting from
3459 1998-11-09 Andy Piper <andy@xemacs.org>
3461 * window.h (struct window): add a cache of subwindows on a
3464 * window.c (mark_window): mark the subwindow_instance_cache.
3465 (allocate_window): initialise the subwindow instance_cache.
3467 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3468 instead of the devmeth.
3469 (x_clear_toolbar): ditto.
3471 * redisplay-x.c (x_output_display_block): call
3472 redisplay_output_subwindow for subwindows and widgets.
3474 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3475 types to do nothing for.
3477 * lisp.h: declare new widget/subwindow symbols.
3479 * glyphs.c (image_instantiate): cache subwindows on a per-window
3481 (subwindow_possible_dest_types): new function for subwindow dest
3483 (subwindow_instantiate): generic instantiation of a
3484 subwindow. specialised by device multi-methods.
3485 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3487 (Fimage_instance_subwindow_id): ditto.
3488 (Fresize_subwindow): ditto.
3489 (Fforce_subwindow_map): ditto.
3491 * glyphs-x.c (x_print_image_instance): remove subwindow
3492 stuff. Handled genrically in glyphs.c.
3493 (x_image_instance_equal): ditto.
3494 (x_image_instance_hash): ditto.
3495 (x_finalize_image_instance): delete subwindows when required.
3496 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3497 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3498 glyph-based, subwindow implementation.
3499 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3501 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3503 (x_unmap_subwindow): new function to unmap X subwindows.
3504 (x_map_subwindow): new function to map X subwindows.
3505 (x_subwindow_instantiate): new function to instantiate X
3507 (x_resize_subwindow): new function to resize X subwindows.
3508 (console_type_create_glyphs_x): add subwindow functions.
3509 (image_instantiator_format_create_glyphs_x): add device
3510 multi-methods for xpm, xbm and subwindow.
3512 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3513 (subwindow-width): ditto.
3514 (subwindow-height): ditto.
3516 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3517 generally instantiating ms subwindows. Used by
3518 mswindows_*_instantiate.
3519 (mswindows_edit_instantiate): instantiate an edit field on a
3522 1998-11-04 Andy Piper <andy@xemacs.org>
3524 * symsinit.h: declare new functions.
3526 * redisplay.h: declare new functions.
3528 * redisplay-x.c (x_output_display_block): call
3529 redisplay_clear_region rather than x_clear_region.
3530 (x_output_string): ditto.
3531 (x_output_pixmap): ditto.
3532 (x_clear_to_window_end): ditto.
3533 (x_output_eol_cursor): ditto.
3534 (x_clear_region): only do X specific things. other duties handled
3535 in redisplay_clear_region.
3537 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3538 duties moved to redisplay_clear_region.
3540 * redisplay-output.c (clear_left_border): use
3541 redisplay_clear_region instead of device method.
3542 (clear_right_border): ditto.
3543 (output_display_line): ditto.
3544 (redisplay_output_subwindow): ditto.
3545 (redisplay_clear_top_of_window): ditto.
3546 (redisplay_clear_region): perform duties previously handled by
3547 device methods. call the appropriate device method at the
3548 end. unmap subwindows if necessary.
3550 * redisplay-msw.c (mswindows_output_string): use
3551 redisplay_clear_region instead of mswindows_clear_region.
3552 (mswindows_clear_to_window_end): ditto.
3553 (mswindows_output_display_block): output subwindows when required.
3554 (mswindows_clear_region): only do mswindows specific things,
3555 everything else is now handled in redisplay_clear_region.
3557 * gui.h: add item id hash defines and declare function prototypes.
3559 * gui.c (mark_gui_item): new function for marking gui_items.
3560 (gui_item_hash): generic hash function for generating command ids
3563 * gui-msw.c: new file.
3564 (mswindows_handle_gui_wm_command): new function to handle widget
3567 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3569 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3570 (DEFINE_DEVICE_IIFORMAT): ditto.
3571 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3572 (struct Lisp_Image_Instance): add widget and subwindow data plus
3573 appropriate access functions.
3575 * glyphs.c (decode_device_ii_format): new function for decoding
3576 image instantiator functions based on a device type as well as an
3578 (decode_image_instantiator_format): just call
3579 decode_device_ii_format with nil device.
3580 (add_entry_to_device_ii_format_list): new function for per device
3582 (add_entry_to_image_instantiator_format_list): just call
3583 add_entry_to_device_ii_format_list with nil device.
3584 (check_valid_vector): new function.
3585 (instantiate_image_instantiator): instantiate using per-format
3586 method and then per-format-per-device method (device
3587 multi-methods). signal an error if neither is possible.
3588 (mark_image_instance): cope with subwindows and widgets.
3589 (print_image_instance): ditto.
3590 (image_instance_equal): ditto.
3591 (image_instance_hash): ditto.
3592 (allocate_glyph): ditto.
3593 (glyph_width): ditto.
3594 (glyph_height_internal): ditto.
3595 (xpm_instantiate): removed because of device multi-methods.
3596 (mark_subwindow_cachels): new cachel functions for caching
3597 instantiated subwindows on a per-frame basis. mostly copied from
3598 glyph cachel functions.
3599 (update_subwindow_cachel_data): ditto.
3600 (add_subwindow_cachel): ditto.
3601 (get_subwindow_cachel_index): ditto.
3602 (reset_subwindow_cachels): ditto.
3603 (mark_subwindow_cachels_as_not_updated): ditto.
3604 (unmap_subwindow): generic unmapping of subwindows based on cachel
3606 (map_subwindow): ditto.
3607 (initialize_subwindow_image_instance): generic initialisation of
3609 (syms_of_glyphs): add widget keywords.
3611 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3614 1998-11-04 Andy Piper <andy@xemacs.org>
3616 * glyphs-widget.c: new file for instantiating widget type glyphs.
3617 (widget_possible_dest_types): new general dest type function for
3619 (widget_validate): ditto.
3620 (initialize_widget_image_instance): ditto
3621 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3622 before handing on control to device multi-methods.
3623 (syms_of_glyphs_widget): new function.
3624 (image_instantiator_format_create_glyphs_widget): new function,
3625 added placeholders for button, edit, combo, scrollbar
3626 (vars_of_glyphs_widget): new function.
3628 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3629 storing window ids of widgets.
3631 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3632 deletion of widget and subwindow glyphs.
3633 (mswindows_unmap_subwindow): new device function for unmapping
3634 subwindows on a msw frame.
3635 (mswindows_map_subwindow): ditto.
3636 (mswindows_register_image_instance): register instantiated widgets
3637 with the widget hastable.
3638 (mswindows_button_instantiate): instantiate a button type widget
3640 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3642 (image_instantiator_format_create_glyphs_mswindows): add device
3643 multi-methods for xbm, xpm, subwindow, edit and button.
3645 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3646 information about subwindows visible on the current frame. used by
3647 redisplay_clear_region to unmap subwindows as required.
3649 * frame.c (mark_frame): mark subwindow_cachels.
3650 (allocate_frame_core): instantiate subwindow_cachels.
3652 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3655 * event-msw.c (mswindows_wnd_proc): add call to
3656 mswindows_handle_gui_wm_command to handle widget callbacks.
3658 * emacs.c (main_1): add calls to glyphs-widget initialisation
3661 * console.h (struct console_methods): add
3662 unmap/map_subwindow_method for use be redisplay_clear_region to
3663 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3664 with by image instantiator multi-methods. Add
3665 resize_subwindow_method.
3667 * console-stream.c (stream_clear_region): change signature to
3668 match new generic clear region function.
3670 * Makefile.in.in: add glyphs-widget.o to list of objects.
3672 * console-msw.h (struct mswindows_frame): add widget hashtable for
3673 wiring command ids to callbacks.
3675 1998-12-16 Andy Piper <andy@xemacs.org>
3677 * XEmacs 21.2.6 is released
3679 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3681 * md5.c (Fmd5): Correctly initiate string input stream.
3683 * Makefile.in.in (tests): Add md5-tests.el.
3685 1998-12-06 Martin Buchholz <martin@xemacs.org>
3688 * alloc.c (make_vector): remove travesty
3692 (make_bit_vector_internal):
3694 (make_bit_vector_from_byte_vector):
3696 - make vector_equal a little faster.
3697 - Don't use variable name `new'.
3698 - Use size_t instead of EMACS_INT.
3699 - usual Martin-style pointless bit-twiddling.
3705 Make mapcar faster. In particular, make
3706 (mapc #'identity long-string)
3707 MUCH faster under Mule.
3708 * tests/automated/lisp-tests.el: Test 'em!
3710 1998-12-06 Martin Buchholz <martin@xemacs.org>
3712 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3715 1998-12-13 Martin Buchholz <martin@xemacs.org>
3717 * console-msw.c: Function definitions follow coding standards
3718 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3720 1998-12-11 Martin Buchholz <martin@xemacs.org>
3722 * events.h (struct timeout_data):
3723 * event-tty.c (tty_timeout_to_emacs_event):
3724 * event-msw.c (mswindows_wm_timer_callback):
3725 * event-Xt.c (Xt_timeout_to_emacs_event):
3726 * event-msw.c (mswindows_cancel_dispatch_event):
3727 Make sure Lisp_Objects inside events are initialized to Qnil, not
3728 Qnull_pointer, which is now illegal.
3730 1998-12-10 Martin Buchholz <martin@xemacs.org>
3732 * lisp.h: Fix up prototypes to match alloc.c
3734 1998-12-09 Andy Piper <andy@xemacs.org>
3736 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3737 XSETINT for assigning lisp objects.
3739 1998-12-07 Martin Buchholz <martin@xemacs.org>
3742 * console-msw.c (DHEADER):
3751 - max_align_t should not be visible to the user of the
3753 - use Bufbyte instead of char
3754 - parens around (FOOP (obj)) are always redundant.
3755 If they were necessary, we should fix the macro instead.
3756 - Always use string_data(foo) instead of foo->data.
3758 1998-12-07 Martin Buchholz <martin@xemacs.org>
3760 * sysdep.c (set_descriptor_non_blocking):
3761 Since O_NONBLOCK is now always #defined, make use of fcntl
3762 conditional on F_SETFL being defined.
3764 1998-12-09 Andy Piper <andy@xemacs.org>
3766 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3767 that got removed in the merge
3769 1998-11-30 Greg Klanderman <greg@alphatech.com>
3771 * dired.c (vars_of_dired): bugfix for previous conditionalization
3772 of user-name-completion on non- Windows NT.
3774 1998-12-08 Martin Buchholz <martin@xemacs.org>
3776 * windowsnt.h: Remove `support' for using index and rindex
3778 * filelock.c (current_lock_owner):
3779 - Change uses of index -> strchr, rindex -> strrchr
3781 1998-12-06 Martin Buchholz <martin@xemacs.org>
3783 * frame-msw.c (mswindows_init_frame_1):
3784 - use make_lisp_hash_table, not Fmake_hash_table
3787 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3789 * XEmacs 21.2.5 is released
3791 1998-11-30 Martin Buchholz <martin@xemacs.org>
3793 * xselect.c (receive_incremental_selection):
3794 * xselect.c (x_get_window_property):
3795 * xmu.c (XmuReadBitmapDataFromFile):
3796 * xmu.c (XmuCursorNameToIndex):
3797 * xgccache.c (describe_gc_cache):
3798 * xgccache.c (gc_cache_lookup):
3799 * xgccache.c (free_gc_cache):
3800 * xgccache.c (make_gc_cache):
3802 * window.c (map_windows_1):
3803 * window.c (Fother_window_for_scrolling):
3804 * window.c (window_scroll):
3805 * window.c (change_window_height):
3806 * window.c (Fsplit_window):
3807 * window.c (window_left_gutter_width):
3808 * window.c (window_modeline_height):
3809 * window.c (invalidate_vertical_divider_cache_in_window):
3810 * window.c (window_needs_vertical_divider_1):
3811 * window.c (update_mirror_internal):
3812 * window.c (SET_LAST_FACECHANGE):
3813 * widget.c (Fwidget_plist_member):
3814 * unexec.c (copy_text_and_data):
3815 * unexcw.c (copy_executable_and_dump_data_section):
3817 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3818 * tooltalk.c (struct Lisp_Tooltalk_Message):
3819 * toolbar.h (struct toolbar_button):
3820 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3821 * toolbar.c (recompute_overlaying_specifier):
3822 * toolbar.c (toolbar_validate):
3823 * toolbar.c (toolbar_button_at_pixpos):
3824 * toolbar.c (get_toolbar_coords):
3825 * toolbar.c (update_frame_toolbars):
3827 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3828 * toolbar-msw.c (mswindows_find_toolbar_pos):
3829 * toolbar-msw.c (mswindows_output_toolbar):
3830 * toolbar-msw.c (mswindows_clear_toolbar):
3839 * sysdep.c (sys_fopen):
3840 * sysdep.c (sys_open):
3841 * sysdep.c (tty_init_sys_modes_on_device):
3842 * sysdep.c (get_eof_char):
3843 * sysdep.c (child_setup_tty):
3844 * sysdep.c (set_descriptor_non_blocking):
3846 * syntax.c (scan_words):
3849 * symeval.h (struct symbol_value_varalias):
3850 * symeval.h (struct symbol_value_forward):
3851 * symbols.c (syms_of_symbols):
3852 * symbols.c (init_symbols_once_early):
3853 * symbols.c (Fbuilt_in_variable_type):
3854 * symbols.c (Fsymbol_value_in_buffer):
3855 * symbols.c (default_value):
3857 * symbols.c (find_symbol_value_quickly):
3858 * symbols.c (store_symval_forwarding):
3859 * symbols.c (set_default_console_slot_variable):
3860 * symbols.c (set_default_buffer_slot_variable):
3861 * symbols.c (verify_ok_for_buffer_local):
3862 * symbols.c (symbol_is_constant):
3863 * symbols.c (oblookup):
3864 * symbols.c (Funintern):
3865 * symbols.c (Fintern):
3866 * symbols.c (check_obarray):
3868 * specifier.h (struct specifier_methods):
3870 * specifier.c (specifier_instance):
3871 * specifier.c (specifier_instance_from_inst_list):
3872 * specifier.c (decode_locale_type):
3873 * specifier.c (specifier_equal):
3874 * specifier.c (finalize_specifier):
3875 * specifier.c (prune_specifiers):
3876 * specifier.c (kill_specifier_buffer_locals):
3877 * sound.c (init_native_sound):
3880 * search.c (Fmatch_data):
3881 * search.c (match_limit):
3882 * search.c (Freplace_match):
3883 * search.c (skip_chars):
3884 * search.c (scan_buffer):
3886 * scrollbar.c (specifier_vars_of_scrollbar):
3887 * scrollbar.c (Fscrollbar_set_hscroll):
3888 * scrollbar.c (vertical_scrollbar_changed_in_window):
3889 * scrollbar.c (release_window_mirror_scrollbars):
3890 * scrollbar.c (free_scrollbar_instance):
3893 * s/msdos.h (O_BINARY):
3895 * s/freebsd.h (LIBS_TERMCAP):
3896 * regex.c (re_match_2_internal):
3897 * regex.c (compile_extended_range):
3898 * regex.c (POP_FAILURE_POINT):
3899 * regex.c (PUSH_FAILURE_POINT):
3900 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3902 * redisplay.h (struct display_line):
3903 * redisplay.h (struct rune):
3904 * redisplay.c (vars_of_redisplay):
3905 * redisplay.c (redisplay_variable_changed):
3906 * redisplay.c (UPDATE_CACHE_RETURN):
3907 * redisplay.c (validate_line_start_cache):
3908 * redisplay.c (mark_redisplay_structs):
3909 * redisplay.c (mark_glyph_block_dynarr):
3910 * redisplay.c (window_line_number):
3911 * redisplay.c (redisplay_frame):
3912 * redisplay.c (redisplay_window):
3913 * redisplay.c (generate_modeline):
3914 * redisplay.c (create_right_glyph_block):
3915 * redisplay.c (create_left_glyph_block):
3916 * redisplay.c (create_text_block):
3918 * redisplay-x.c (x_output_hline):
3919 * redisplay-x.c (x_output_vertical_divider):
3920 * redisplay-tty.c (tty_output_display_block):
3921 * redisplay-output.c (output_display_line):
3922 * redisplay-output.c:
3923 * redisplay-msw.c (mswindows_output_vertical_divider):
3924 * redisplay-msw.c (mswindows_ring_bell):
3925 * redisplay-msw.c (mswindows_output_cursor):
3929 * puresize.h (RAW_PURESIZE):
3930 * profile.c (syms_of_profile):
3931 * profile.c (Fstart_profiling):
3932 * profile.c (sigprof_handler):
3935 * process.c (vars_of_process):
3936 * process.c (read_process_output):
3937 * process.c (get_process):
3939 * process-unix.c (unix_open_multicast_group):
3940 * process-unix.c (unix_get_tty_name):
3941 * process-unix.c (unix_send_process):
3942 * process-unix.c (unix_reap_exited_processes):
3943 * process-unix.c (unix_create_process):
3944 * process-unix.c (unix_init_process_io_handles):
3945 * process-unix.c (allocate_pty):
3947 * process-nt.c (nt_open_network_stream):
3948 * process-nt.c (nt_update_status_if_terminated):
3949 * process-nt.c (nt_finalize_process_data):
3951 * print.c (debug_short_backtrace):
3952 * print.c (debug_backtrace):
3953 * print.c (print_symbol):
3954 * print.c (print_internal):
3955 * print.c (print_cons):
3956 * print.c (Fwrite_char):
3957 * print.c (print_prepare):
3958 * print.c (canonicalize_printcharfun):
3959 * print.c (output_string):
3962 * opaque.c (allocate_managed_opaque):
3964 * offix.c (DndSetData):
3965 * objects.c (face_boolean_create):
3966 * objects.c (font_instantiate):
3967 * objects.c (font_create):
3968 * objects.c (color_create):
3969 * objects.c (finalize_font_instance):
3970 * objects.c (finalize_color_instance):
3972 * objects-x.c (x_font_instance_truename):
3974 * objects-x.c (x_initialize_font_instance):
3975 * objects-x.c (allocate_nearest_color):
3976 * objects-tty.c (tty_initialize_font_instance):
3977 * objects-tty.c (tty_initialize_color_instance):
3978 * objects-msw.c (mswindows_initialize_color_instance):
3979 * ntproc.c (syms_of_ntproc):
3980 * ntproc.c (Fwin32_set_process_priority):
3981 * ntproc.c (sys_spawnve):
3983 * ntheap.c (get_data_end):
3987 * nt.c (generate_inode_val):
3988 * nt.c (sys_rename):
3990 * mule-wnnfns.c (Fwnn_hinsi_number):
3991 * mule-wnnfns.c (Fwnn_yuragi):
3992 * mule-wnnfns.c (Fwnn_common_learn):
3993 * mule-wnnfns.c (Fwnn_suffix_learn):
3994 * mule-wnnfns.c (Fwnn_prefix_learn):
3995 * mule-wnnfns.c (Fwnn_okuri_learn):
3996 * mule-wnnfns.c (Fwnn_complex_conv):
3997 * mule-wnnfns.c (Fwnn_last_is_first):
3998 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3999 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4000 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4001 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4002 * mule-wnnfns.c (Fwnn_hinsi_list):
4003 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4004 * mule-wnnfns.c (Fwnn_dict_search):
4005 * mule-wnnfns.c (Fwnn_word_toroku):
4006 * mule-wnnfns.c (Fwnn_hindo_update):
4007 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4008 * mule-wnnfns.c (Fwnn_kakutei):
4009 * mule-wnnfns.c (Fwnn_begin_henkan):
4010 * mule-wnnfns.c (Fwnn_dict_comment):
4011 * mule-wnnfns.c (Fwnn_dict_add):
4012 * mule-wnnfns.c (Fwnn_open):
4013 * mule-mcpath.c (mc_getcwd):
4014 * mule-coding.c (vars_of_mule_coding):
4015 * mule-coding.c (convert_to_external_format):
4016 * mule-coding.c (encoding_marker):
4017 * mule-coding.c (decoding_marker):
4018 * mule-coding.c (Fcopy_coding_system):
4019 * mule-coding.c (Fmake_coding_system):
4020 * mule-coding.c (Fcoding_system_list):
4021 * mule-coding.c (Ffind_coding_system):
4022 * mule-coding.c (symbol_to_eol_type):
4024 * mule-charset.c (complex_vars_of_mule_charset):
4025 * mule-charset.c (vars_of_mule_charset):
4026 * mule-charset.c (Fset_charset_ccl_program):
4027 * mule-charset.c (struct charset_list_closure):
4028 * mule-charset.c (Ffind_charset):
4029 * mule-charset.c (make_charset):
4030 * mule-charset.c (non_ascii_valid_char_p):
4032 * mule-ccl.c (ccl_driver):
4033 * mule-canna.c (c2mu):
4034 * mule-canna.c (Fcanna_henkan_begin):
4035 * mule-canna.c (Fcanna_parse):
4036 * mule-canna.c (Fcanna_store_yomi):
4037 * mule-canna.c (Fcanna_touroku_string):
4038 * mule-canna.c (Fcanna_initialize):
4040 * menubar.c (menu_parse_submenu_keywords):
4041 * menubar-x.c (make_dummy_xbutton_event):
4042 * menubar-x.c (set_frame_menubar):
4043 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4046 * menubar-msw.c (mswindows_popup_menu):
4047 * menubar-msw.c (mswindows_update_frame_menubars):
4048 * menubar-msw.c (mswindows_handle_wm_command):
4049 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4050 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4051 * menubar-msw.c (update_frame_menubar_maybe):
4052 * menubar-msw.c (populate_or_checksum_helper):
4053 * menubar-msw.c (empty_menu):
4056 * marker.c (set_marker_internal):
4057 * marker.c (print_marker):
4060 * lstream.c (lisp_buffer_rewinder):
4061 * lstream.c (mark_lstream):
4063 * lrecord.h (struct lrecord_header):
4064 * lread.c (readevalloop):
4065 * lread.c (locate_file):
4066 * lread.c (locate_file_in_directory):
4067 * lread.c (Flocate_file):
4068 * lread.c (load_force_doc_string_unwind):
4069 * lread.c (ebolify_bytecode_constants):
4074 * linuxplay.c (linux_play_data_or_file):
4075 * linuxplay.c (audio_init):
4078 * keymap.c (describe_map):
4079 * keymap.c (describe_map_mapper):
4080 * keymap.c (Fdescribe_bindings_internal):
4081 * keymap.c (Fsingle_key_description):
4082 * keymap.c (map_keymap_sorted):
4083 * keymap.c (get_relevant_keymaps):
4084 * keymap.c (Flookup_key):
4085 * keymap.c (raw_lookup_key_mapper):
4086 * keymap.c (Fdefine_key):
4087 * keymap.c (Fevent_matches_key_specifier_p):
4088 * keymap.c (key_desc_list_to_event):
4089 * keymap.c (define_key_parser):
4090 * keymap.c (define_key_check_and_coerce_keysym):
4091 * keymap.c (keymap_submaps):
4092 * keymap.c (keymap_store_internal):
4093 * keymap.c (keymap_delete_inverse_internal):
4094 * keymap.c (keymap_store_inverse_internal):
4095 * keymap.c (print_keymap):
4096 * keymap.c (Lisp_Keymap):
4099 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4100 * insdel.c (make_gap):
4101 * input-method-xlib.c (get_XIM_input):
4102 * input-method-xlib.c (XIM_init_frame):
4107 * gui-x.c (button_item_to_widget_value):
4108 * gui-x.c (popup_selection_callback):
4109 * glyphs.h (struct image_instantiator_methods):
4110 * glyphs.c (mark_glyph_cachels):
4111 * glyphs.c (Fglyph_type):
4112 * glyphs.c (image_instantiate):
4113 * glyphs.c (image_create):
4114 * glyphs.c (make_image_instance_1):
4115 * glyphs.c (finalize_image_instance):
4117 * glyphs-x.c (finalize_subwindow):
4118 * glyphs-x.c (xface_validate):
4119 * glyphs-x.c (x_locate_pixmap_file):
4120 * glyphs-x.c (convert_EImage_to_XImage):
4122 * glyphs-msw.c (mswindows_resource_instantiate):
4123 * glyphs-msw.c (xpm_to_eimage):
4124 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4125 * glyphs-eimage.c (tiff_instantiate):
4126 * glyphs-eimage.c (png_instantiate):
4127 * glyphs-eimage.c (struct png_error_struct):
4128 * glyphs-eimage.c (gif_memory_storage):
4131 * getloadavg.c (getloadavg):
4134 * free-hook.c (log_gcpro):
4135 * free-hook.c (check_malloc):
4136 * free-hook.c (check_free):
4137 * free-hook.c (ROUND_UP_TO_PAGE):
4139 * frame.h (struct frame):
4141 * frame.c (change_frame_size_1):
4142 * frame.c (allocate_frame_core):
4144 * frame-x.c (x_focus_on_frame):
4145 * frame-x.c (x_init_frame_2):
4146 * frame-x.c (x_popup_frame):
4147 * frame-x.c (xemacs_XtPopup):
4149 * frame-x.c (Foffix_start_drag_internal):
4150 * frame-x.c (x_cde_destroy_callback):
4151 * frame-x.c (x_wm_hack_wm_protocols):
4152 * frame-tty.c (tty_frame_visible_p):
4153 * frame-msw.c (mswindows_make_frame_invisible):
4154 * frame-msw.c (mswindows_after_init_frame):
4155 * frame-msw.c (mswindows_init_frame_1):
4156 * fns.c (syms_of_fns):
4157 * fns.c (Fbase64_decode_string):
4159 * fns.c (Ffillarray):
4160 * fns.c (Fobject_plist):
4162 * fns.c (Fcanonicalize_lax_plist):
4163 * fns.c (Fcanonicalize_plist):
4164 * fns.c (Fplist_remprop):
4165 * fns.c (Fplist_get):
4166 * fns.c (advance_plist_pointers):
4167 * fns.c (internal_plist_put):
4168 * fns.c (Fnreverse):
4171 * fns.c (Fsubstring):
4172 * fns.c (Fbvconcat):
4174 * fns.c (length_with_bytecode_hack):
4175 * fns.c (print_bit_vector):
4177 * floatfns.c (Ffloor):
4179 * floatfns.c (in_float_error):
4180 * fileio.c (Ffile_modes):
4181 * fileio.c (Fexpand_file_name):
4182 * fileio.c (Fmake_temp_name):
4183 * fileio.c (Ffile_name_nondirectory):
4184 * fileio.c (Ffile_name_directory):
4186 * file-coding.c (vars_of_mule_coding):
4187 * file-coding.c (convert_to_external_format):
4188 * file-coding.c (encoding_marker):
4189 * file-coding.c (decoding_marker):
4190 * file-coding.c (Fcopy_coding_system):
4191 * file-coding.c (Fmake_coding_system):
4192 * file-coding.c (struct coding_system_list_closure):
4193 * file-coding.c (Ffind_coding_system):
4194 * file-coding.c (symbol_to_eol_type):
4196 * faces.h (struct face_cachel):
4197 * faces.c (vars_of_faces):
4198 * faces.c (face_property_was_changed):
4199 * faces.c (mark_face_cachels):
4200 * faces.c (temporary_faces_list):
4201 * faces.c (struct face_list_closure):
4203 * extents.h (struct extent):
4204 * extents.c (vars_of_extents):
4205 * extents.c (struct copy_string_extents_1_arg):
4206 * extents.c (add_string_extents_mapper):
4207 * extents.c (Fextent_property):
4208 * extents.c (Fset_extent_property):
4209 * extents.c (symbol_to_glyph_layout):
4210 * extents.c (properties_equal):
4211 * extents.c (print_extent):
4212 * extents.c (print_extent_1):
4213 * extents.c (extent_in_region_p):
4214 * extents.c (gap_array_make_gap):
4216 * events.h (struct Lisp_Event):
4218 * events.c (Fevent_properties):
4219 * events.c (format_event_object):
4220 * events.c (Fmake_event):
4221 * events.c (event_equal):
4222 * events.c (print_event):
4223 * events.c (mark_event):
4224 * event-stream.c ((read-char)
4225 * event-stream.c (vars_of_event_stream):
4226 * event-stream.c (syms_of_event_stream):
4227 * event-stream.c (Fset_recent_keys_ring_size):
4228 * event-stream.c (Fsit_for):
4229 * event-stream.c (Fnext_event):
4230 * event-stream.c (execute_help_form):
4231 * event-stream.c (maybe_kbd_translate):
4233 * event-msw.c (vars_of_event_mswindows):
4234 * event-msw.c (mswindows_wnd_proc):
4235 * event-msw.c (mswindows_need_event):
4236 * event-msw.c (mswindows_drain_windows_queue):
4237 * event-msw.c (mswindows_pump_outstanding_events):
4239 * event-msw.c (slurp_thread):
4240 * event-msw.c (struct ntpipe_slurp_stream):
4241 * event-msw.c (HANDLE_TO_USID):
4242 * event-Xt.c (emacs_Xt_handle_magic_event):
4243 * event-Xt.c (x_event_to_emacs_event):
4244 * event-Xt.c (x_reset_modifier_mapping):
4245 * event-Xt.c (x_reset_key_mapping):
4247 * eval.c (syms_of_eval):
4248 * eval.c (warn_when_safe):
4249 * eval.c (warn_when_safe_lispobj):
4250 * eval.c (Fbacktrace_frame):
4251 * eval.c (Fbacktrace):
4252 * eval.c (top_level_set):
4253 * eval.c (unbind_to_hairy):
4254 * eval.c (specbind_magic):
4255 * eval.c (specbind_unwind_wasnt_local):
4256 * eval.c (call2_trapping_errors):
4257 * eval.c (call1_trapping_errors):
4258 * eval.c (catch_them_squirmers_call2):
4259 * eval.c (call0_trapping_errors):
4260 * eval.c (run_hook_trapping_errors):
4261 * eval.c (catch_them_squirmers_eval_in_buffer):
4262 * eval.c (call4_in_buffer):
4263 * eval.c (call3_in_buffer):
4264 * eval.c (call2_in_buffer):
4265 * eval.c (call1_in_buffer):
4266 * eval.c (call0_in_buffer):
4267 * eval.c (run_hook):
4268 * eval.c (run_hook_with_args_in_buffer):
4271 * eval.c (do_autoload):
4272 * eval.c (un_autoload):
4273 * eval.c (Fautoload):
4274 * eval.c (Finteractive_p):
4275 * eval.c (Fcommand_execute):
4276 * eval.c (signal_quit):
4277 * eval.c (call_with_suspended_errors):
4278 * eval.c (signal_error):
4279 * eval.c (return_from_signal):
4280 * eval.c (Fcall_with_condition_handler):
4281 * eval.c (run_condition_case_handlers):
4282 * eval.c (condition_case_1):
4283 * eval.c (Funwind_protect):
4284 * eval.c (unwind_to_catch):
4285 * eval.c (internal_catch):
4286 * eval.c (Fmacroexpand_internal):
4287 * eval.c (Fuser_variable_p):
4288 * eval.c (Fdefconst):
4290 * eval.c (Ffunction):
4291 * eval.c (signal_call_debugger):
4292 * eval.c (call_debugger):
4295 * emacs.c (sort_args):
4299 * editfns.c (Fencode_time):
4300 * editfns.c (Fdecode_time):
4301 * editfns.c (Fuser_full_name):
4303 * editfns.c (save_excursion_restore):
4306 * doprnt.c (emacs_doprnt_1):
4307 * doc.c (verify_doc_mapper):
4308 * doc.c (Fsnarf_documentation):
4309 * doc.c (Fdocumentation):
4311 * dired.c (user_name_completion):
4312 * dired.c (Fdirectory_files):
4315 * dgif_lib.c (FreeSavedImages):
4316 * dgif_lib.c (DGifGetImageDesc):
4318 * device.h (struct device):
4319 * device.c (Fselect_device):
4320 * device.c (allocate_device):
4322 * device-x.c (Fx_keysym_on_keyboard_p):
4323 * device-x.c (Fx_valid_keysym_name_p):
4324 * device-x.c (x_IO_error_handler):
4325 * device-x.c (x_delete_device):
4326 * device-x.c (x_finish_init_device):
4327 * device-x.c (x_init_device):
4329 * device-msw.c (mswindows_init_device):
4331 * database.c (vars_of_database):
4332 * database.c (Fput_database):
4333 * database.c (Fopen_database):
4334 * database.c (berkdb_remove):
4335 * database.c (berkdb_put):
4336 * database.c (Fdatabasep):
4337 * database.c (print_database):
4339 * data.c (vars_of_data):
4340 * data.c (syms_of_data):
4341 * data.c (init_errors_once_early):
4342 * data.c (prune_weak_lists):
4343 * data.c (finish_marking_weak_lists):
4344 * data.c (print_weak_list):
4346 * data.c (Fstring_to_number):
4347 * data.c (Fnumber_to_string):
4348 * data.c (Findirect_function):
4351 * data.c (Fsubr_interactive):
4353 * data.c (Fkeywordp):
4356 * console.h (CONSOLE_NAME):
4358 * console.c (vars_of_console):
4359 * console.c (Fselect_console):
4361 * console-x.h (DEVICE_X_COLORMAP):
4362 * console-x.h (struct x_device):
4363 * console-x.c (x_device_to_console_connection):
4364 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4365 * console-tty.c (tty_init_console):
4367 * console-msw.h (struct mswindows_frame):
4370 * cmds.c (internal_self_insert):
4371 * cmds.c (Fforward_line):
4372 * cmds.c (Fforward_char):
4375 * chartab.c (mark_char_table_entry):
4377 * casefiddle.c (casify_word):
4378 * callproc.c (child_setup):
4379 * callproc.c (Fcall_process_internal):
4381 * callint.c (Fcall_interactively):
4383 * bytecode.c (execute_rare_opcode):
4384 * bytecode.c (execute_optimized_program):
4387 * buffer.h (BUFFER_REALLOC):
4388 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4389 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4391 * buffer.h (MAP_INDIRECT_BUFFERS):
4392 * buffer.h (CHECK_LIVE_BUFFER):
4393 * buffer.c (init_initial_directory):
4394 * buffer.c (complex_vars_of_buffer):
4395 * buffer.c (vars_of_buffer):
4396 * buffer.c (finish_init_buffer):
4397 * buffer.c (Fget_file_buffer):
4398 * buffer.c (Fbuffer_list):
4399 * buffer.c (mark_buffer):
4400 * balloon_help.c (balloon_help_move_to_pointer):
4401 * balloon_help.c (show_help):
4404 * alloc.c (garbage_collect_1):
4405 * alloc.c (sweep_strings):
4406 * alloc.c (sweep_compiled_functions):
4407 * alloc.c (sweep_bit_vectors_1):
4408 * alloc.c (sweep_vectors_1):
4409 * alloc.c (sweep_lcrecords_1):
4410 * alloc.c (tick_lcrecord_stats):
4411 * alloc.c (pure_string_sizeof):
4412 * alloc.c (mark_conses_in_list):
4413 * alloc.c (mark_object):
4414 * alloc.c (report_pure_usage):
4415 * alloc.c (make_pure_float):
4416 * alloc.c (make_pure_string):
4417 * alloc.c (free_managed_lcrecord):
4418 * alloc.c (mark_string):
4419 * alloc.c (noseeum_make_marker):
4420 * alloc.c (allocate_event):
4421 * alloc.c (Fbit_vector):
4422 * alloc.c (Fvector):
4423 * alloc.c (make_float):
4424 * alloc.c (Fmake_list):
4426 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4427 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4428 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4429 * alloc.c (dbg_constants):
4430 * alloc.c (gc_record_type_p):
4431 * alloc.c (free_lcrecord):
4432 * alloc.c (xmalloc):
4433 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4435 * Makefile.in.in (mostlyclean):
4436 * Makefile.in.in (external_client_xlib_objs_nonshared):
4437 * Makefile.in.in (temacs_link_args):
4438 * Makefile.in.in (release):
4439 * Makefile.in.in (dnd_objs):
4440 * Makefile.in.in (objs):
4441 * Makefile.in.in (PROGNAME):
4442 * EmacsShell.c: cast strings to (XtPointer)
4443 * EmacsFrame.c: cast strings to (XtPointer)
4445 - rewrite basic lisp functions for speed
4446 - rewrite bytecode interpreter for speed
4447 - rewrite list looping constructs for speed and safety using
4449 - use size_t where appropriate.
4450 - new hashtable implementation
4451 - cleanup implementation of opaques
4452 - opaques can now be purecopy'ed
4453 - move some cl functionality into C for speed.
4454 - remove last remaining VMS support
4456 - improve gdb/dbx debugger support
4457 - move pure.c back into alloc.c for performance
4458 - enable report_pure_usage() if --memory-usage-stats
4459 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4460 - don't use symbols with leading `_' or embedded `__'
4461 - globally cleanup duplicated semicolons `;;'
4462 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4464 - globally replace O_NDELAY with O_NONBLOCK.
4465 - globally replace CDISABLE with _POSIX_VDISABLE.
4466 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4467 - define (and maybe use!) STDERR_FILENO and friends.
4468 - add support for macros defined in C
4469 - `when', `unless', `not' and `defalias' now defined in C,
4470 so that they are universally available.
4471 - rename defvar_mumble to defvar_magic
4472 - rename RETURN__ to RETURN_SANS_WARNINGS
4473 - use consistent style of initial caps in error messages
4474 - implement last, butlast, nbutlast, copy-list in C.
4475 - provide typedefs for all struct Lisp_foo types
4476 - Lisp_Objects must be initialized to Qnil rather than 0.
4477 - make sure XEmacs runs (slowly) with always_gc == 1;
4478 - fast and safe LOOP_* macros
4479 - change calls to XSETOBJ to XSETFOO
4480 - replace calls to XSETINT by make_int()
4481 - plug up memory leaks
4482 - use style markobj (foo), not silly ((markobj) (foo))
4483 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4485 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4487 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4489 1998-11-28 SL Baur <steve@altair.xemacs.org>
4491 * XEmacs 21.2-beta4 is released.
4493 1998-11-27 SL Baur <steve@altair.xemacs.org>
4495 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4496 property in control-1 charset.
4497 From Julian Bradfield <jcb@daimi.au.dk>
4499 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4501 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4503 Add stub for :label.
4505 * gui.c (gui_item_add_keyval_pair): ditto.
4507 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4508 :key-sequence keyword.
4510 Support :active for submenus like the Windows code and FSF Emacs.
4512 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4514 * dired.c (make_directory_hash_table): make_string() is OK because
4515 readdir() Mule-encapsulates.
4517 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4519 * fns.c (Fbase64_encode_string): Fix docstring.
4520 (Fbase64_decode_string): Ditto.
4522 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4524 * editfns.c (Ftranslate_region): Use
4525 convert_bufbyte_string_into_emchar_string().
4527 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4529 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4531 (Ftranslate_region): Turn table into an array of Emchars for
4534 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4536 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4538 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4540 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4541 type `char' with nils.
4543 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4544 for tables of type `char'.
4546 1998-11-26 Didier Verna <verna@inf.enst.fr>
4548 * input-method-xlib.c (Initialize_Locale): don't call
4549 XtSetLanguageProc. We've done the whole work here.
4550 * input-method-xfs.c (Initialize_Locale): ditto.
4551 * input-method-motif.c (Initialize_Locale): ditto.
4553 1998-11-26 Didier Verna <verna@inf.enst.fr>
4555 * process-unix.c (unix_create_process): handle properly
4556 Vfile_name_coding_system for converting the program and directory
4559 1998-11-27 SL Baur <steve@altair.xemacs.org>
4561 * m/arm.h: New file.
4562 From James LewisMoss <dres@ioa.com>
4564 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4567 Fix the realpath() problem of UnixWare2.1.3.
4568 Patches for NEC's sysv4.2 machine.
4570 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4572 * dired.c (Fdirectory_files): Remove redundant code.
4574 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4576 * fns.c (free_malloced_ptr): New function.
4577 (XMALLOC_OR_ALLOCA): New macro.
4578 (XMALLOC_UNBIND): Ditto.
4579 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4580 to be freed in case of non-local exit.
4581 (Fbase64_encode_string): Ditto.
4582 (Fbase64_decode_region): Ditto.
4583 (Fbase64_decode_string): Ditto.
4584 (STORE_BYTE): New macro.
4585 (base64_decode_1): Use it.
4587 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4589 * fns.c (base64_value_to_char): Base64 stuff.
4591 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4593 * editfns.c (Fbuffer_substring): New function.
4595 * lisp.h: Declare make_string_from_buffer_no_extents().
4597 * insdel.c (make_string_from_buffer_1): New function.
4598 (make_string_from_buffer_no_extents): Ditto.
4600 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4602 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4603 sound work on AIX with OSS installed. Linux should still work.
4605 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4607 * config.h.in: name change for cygwin/version.h
4609 * configure.in: check for cygwin/version.h now.
4611 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4612 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4613 move cygwin32/version.h to cygwin/version.h
4615 1998-11-03 Olivier Galibert <galibert@pobox.com>
4617 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4620 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4622 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4623 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4624 enable BROKEN_SIGIO under b20 to make QUIT work.
4626 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4628 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4629 to fit within the constraints of the screen size. I.e. make the
4630 frame small enough to fit and move it if some of it will be
4633 1998-10-19 Greg Klanderman <greg@alphatech.com>
4635 * dired.c: conditionalize inclusion of user-name-completion
4636 primitives on non-Windows NT. The needed functions don't exist on NT.
4638 1998-11-24 SL Baur <steve@altair.xemacs.org>
4640 * gifrlib.h: Clean up types for 64 bit compile.
4641 * dgif_lib.c (DGifInitRead): Ditto.
4642 (MakeSavedImage): Ditto.
4643 * emacs.c (decode_path): Ditto.
4644 From Steve Carney <carney@pa.dec.com>
4646 1998-10-16 William M. Perry <wmperry@aventail.com>
4648 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4649 (cehckboxes instead of checkboxes).
4651 1998-10-15 SL Baur <steve@altair.xemacs.org>
4653 * XEmacs 21.2-beta3 is released.
4655 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4657 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4658 gnuclient. Otherwise, we run xemacs as we always did. This gets
4659 rid of the annoying DOS window when running gnuclient.
4661 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4663 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4664 HAVE_MS_WINDOWS typo.
4666 1998-10-13 SL Baur <steve@altair.xemacs.org>
4668 * process-unix.c (unix_send_process): Set closed flag on writable
4669 pipe after SIGPIPE is received and before we call deactivate_process.
4671 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4673 * window.c (Fset_window_start): respect narrowing when
4674 checking wheter start is at the beginning of a line.
4675 (Fset_window_buffer): Ditto
4676 Fixes repeatable crash in VM.
4678 1998-10-09 SL Baur <steve@altair.xemacs.org>
4680 * window.c (specifier_vars_of_window): Set default vertical
4681 divider width to 1 on ttys.
4683 1998-10-08 Martin Buchholz <martin@xemacs.org>
4688 Add <stddef.h> to get ptrdiff_t declaration
4690 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4692 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4693 is used for Motif or Lucid scrollbars under X.
4695 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4697 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4700 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4702 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4704 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4706 * s/cygwin32.h: more cygwin b20 reorganisation.
4708 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4710 * nas.c: Added necessary support functions to be able to handle
4711 WAVE files in memory, just like the support for SND files in
4714 1998-09-30 SL Baur <steve@altair.xemacs.org>
4716 * callproc.c (child_setup): Fix spelling typo.
4718 1998-09-29 SL Baur <steve@altair.xemacs.org>
4720 * XEmacs 21.2-beta2 is released.
4722 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4724 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4725 to prevent memory corruption in the case of jumping out of a series of
4726 nested match patterns. This is a rather brute force approach, though.
4728 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4730 * config.h.in: ditto.
4732 * s/cygwin32.h: rearrange declarations to cope with cygwin
4733 b20. Include cygwin32/version.h if it exists.
4735 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4737 * device-msw.c (mswindows_init_device): Call new
4738 mswindows_enumerate_fonts() function in objects-msw.c instead
4739 of font_enum_callback_1() to enumerate fonts.
4741 font_enum_callback_1() and _2() moved to objects-msw.c.
4743 * faces.c (complex_vars_of_faces): Make the mswindows default
4744 face font fully specified and provide some fallbacks.
4746 * objects-msw.c: font_enum_callback_1() and _2() moved here
4747 from objects-msw.c. Obtain the enumerated font's character
4748 sets by table lookup instead of using the locale-specific
4749 string provided by Windows.
4751 New public non-method mswindows_enumerate_fonts() that fills
4752 in the supplied mswindows device's font list.
4754 mswindows_initialize_font_instance: Use the supplied name
4755 variable instead of f->name when signalling errors. Match font
4756 weights and character sets using lookup tables which handle
4757 spaces instead of by frobbing.
4759 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4761 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4762 on the size of code fragments passed to run_in_other_process.
4764 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4765 the amount of memory to allocate in the other process.
4767 Removed sigkill_code_end(), sigint_code_end() and
4768 sig_enable_code_end() since they are now redundant.
4770 send_signal() and enable_child_signals(): Don't try to work
4771 out the end of the code fragments passed to
4772 run_in_other_process()
4774 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4776 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4779 * src/unexelf.c: Partially synched with FSF's 20.3.
4781 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4783 * insdel.c (signal_after_change): Map across indirect buffers
4784 here, and not in the upper-level functions.
4785 (signal_first_change): Don't check for Armageddon.
4786 (signal_before_change): Map across indirect buffers here.
4787 (prepare_to_modify_buffer): ...and here.
4789 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4791 * insdel.c (signal_after_change): Add return value.
4792 (buffer_insert_string_1): Use it.
4793 (buffer_delete_range): Ditto.
4794 (buffer_replace_char): Ditto.
4795 (cancel_multiple_change): Map the indirect buffers.
4797 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4799 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4800 (uninit_buffer_text): Ditto.
4802 * buffer.c (Fmake_indirect_buffer): Implement stricter
4805 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4807 * insdel.c (change_function_restore): Reverse order of
4808 function-call and assignment.
4809 (first_change_hook_restore): Ditto.
4811 * extents.c (mark_extent_auxiliary): Mark them.
4812 (Fset_extent_property): Set them.
4813 (Fextent_property): Get them.
4814 (Fextent_properties): Ditto.
4815 (vars_of_extents): Set their default.
4817 * extents.h (struct extent_auxiliary): Add before_change_functions
4818 and after_change_functions.
4820 * insdel.c (signal_before_change): Use it.
4821 (signal_after_change): Ditto.
4823 * extents.c (report_extent_modification): New function.
4825 * insdel.c (signal_before_change): Don't check for Armageddon.
4826 (signal_after_change): Ditto.
4828 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4830 * redisplay.c (redisplay_window): make sure a new starting point
4831 is chosen if it somehow got moved from the beginning of the line
4832 -- this can happen because Fwiden was called recently.
4834 * window.c (Fset_window_start): set start_at_line_beg correctly
4835 (Fset_window_buffer): Ditto
4837 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4839 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4840 (uninit_buffer_text): Ditto.
4842 * buffer.c (Fmake_indirect_buffer): Implement stricter
4845 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4847 * emacs.c (main_1): Removed references to *vars_of_filelock.
4849 * lisp.h: Added Fsystem_name.
4851 * filelock.c: Replaced by version from FSF 20.2. Now implements
4852 locking by using symlinks which is NFS safe. However keep the
4853 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4854 version (and of course use ansi C, acessor macros, etc).
4856 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4858 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4859 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4860 in init_signals_very_early. However these should not be passed
4861 on to children attached to the new pty.
4863 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4865 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4867 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4869 * fileio.c (file-name-directory, file_name_as_directory):
4870 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4872 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4874 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4876 * ralloc.c: uncomment __morecore.
4878 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4880 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4881 WriteFile() to fix a winsock 1.x bug on Win95.
4883 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4885 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4887 (x_event_to_emacs_event): Ditto.
4888 (emacs_Xt_handle_focus_event): Ditto.
4889 (emacs_Xt_handle_magic_event): Ditto.
4891 * console-x.h (struct x_device): New flag being_deleted.
4892 (DEVICE_X_BEING_DELETED): New macro.
4894 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4895 returning. Before doing that, set the being_deleted flag on the
4898 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4900 * device-x.c (x-seppuku-on-epipe): Removed.
4902 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4904 * frame-x.c (x_delete_frame): Flush the X output buffer after
4905 calling XtDestroyWidget to ensure that the windows are really
4908 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4910 * menubar-x.c (my_run_hook): New unused function.
4911 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4912 since we ignore the results of the contained functions anyway.
4914 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4916 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4917 interlaced GIF files that are smaller than 4 lines high...
4919 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4921 * buffer.c (map_over_sharing_buffers): Deleted.
4923 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4925 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4928 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4930 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4932 (buffer_delete_range): Ditto.
4934 * marker.c (init_buffer_markers): Set point-marker to the value of
4935 point in an indirect buffer.
4937 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4939 * undo.c (undo_prelude): Test last-undo-buffer against base
4942 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4944 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4946 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4948 * insdel.c (init_buffer_text): Initialize it here.
4950 * line-number.c: Address line_number_cache through buffer->text.
4952 * buffer.c (mark_buffer): Mark line number cache.
4954 * bufslots.h (line_number_cache): Move to struct buffer_text.
4956 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4957 across the children buffers.
4958 (buffer_delete_range): Ditto.
4959 (buffer_replace_char): Ditto.
4963 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4965 * buffer.c (Fmake_indirect_buffer): Uncomment.
4967 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4969 * macros.c (Fend_kbd_macro): Remove trailing period from error
4971 (Fexecute_kbd_macro): Ditto.
4973 1998-08-21 Greg Klanderman <greg@alphatech.com>
4975 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4976 (Fuser_name_completion_1): new function to return uniqueness
4977 indication in addition to the user name completion.
4978 (user_name_completion): change type of `uniq' argument.
4980 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4982 * lread.c (vars_of_lread): Removed `source-directory' variable.
4984 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4986 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4989 1998-08-19 SL Baur <steve@altair.xemacs.org>
4991 * dired.c (vars_of_dired): Fix misapplied patch.
4993 1998-08-16 Martin Buchholz <martin@xemacs.org>
4995 * fns.c (Fremrassq, remrassq_no_quit):
4996 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4998 1998-07-17 Didier Verna <verna@inf.enst.fr>
5000 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5001 style as foreground GC for faces that have the `dim' property.
5002 (x_output_string): when the `dim' face property is set,
5003 ensure the gray pixmap has been created, and get a proper
5004 foreground GC to draw the text.
5006 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5008 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5009 Manually track the state of the left and right Ctrl and Alt
5012 1998-08-07 Matt Stupple <matts@tibco.com>
5014 * ntproc.c: don't wait on char_consumed at thread entry.
5015 Additionally, to get the 'process' marked as finished, ensure
5016 that the CHILD_ACTIVE macro returns false, so before exiting
5017 close char_avail and set it to NULL, and close other handles
5018 to reduce handle leak problems.
5020 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5022 * menubar-msw.c (displayable_menu_item): take account of menu
5023 depth when deciding whether to try to display accelerators.
5025 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5027 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5030 * glyphs-msw.c: fix a couple of potential handle leaks.
5032 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5034 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5035 *decoding ONLY* back into the core.
5036 * glyphs-eimage.c: Change referenced header file for GIF
5037 reading to point to the incore version.
5039 1998-07-20 Martin Buchholz <martin@xemacs.org>
5041 * casefiddle.c (casify_object):
5042 Change algorithm from O(N**2) to O(N).
5046 1998-07-22 Greg Klanderman <greg@alphatech.com>
5048 * dired.c (file_name_completion_unwind): don't leak the cons.
5050 1998-07-20 Greg Klanderman <greg@alphatech.com>
5052 * dired.c (Fuser_name_completion): new function.
5053 (Fuser_name_all_completions): new function.
5054 (user_name_completion): new function.
5055 (syms_of_dired): 2 new DEFSUBRs.
5056 (vars_of_dired): initialize user name cache vars.
5058 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5060 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5061 colors taken from the default face. Also correct a thinko in
5062 transparency (not alpha) handling.
5064 1998-07-23 Martin Buchholz <martin@xemacs.org>
5066 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5067 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5068 * lread.c (Fload_internal): Be very careful with printfs of
5070 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5073 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5075 * callint.c (Fcall_interactively): GCPRO prompt string before
5076 passing it to Fread_key_sequence
5078 1998-07-27 SL Baur <steve@altair.xemacs.org>
5080 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5081 Vvertical_divider_map.
5083 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5084 Qnil or 0, none were initialized prior to this change.
5086 Rename misnamed `V' prefixed integer variables:
5087 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5088 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5089 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5090 Vcanna_ichiran_revLen.
5092 Rename misnamed `V' prefixed integer variables and initialize
5093 properly in the vars_of routine.
5094 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5095 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5096 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5097 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5098 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5099 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5100 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5101 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5102 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5103 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5104 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5105 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5106 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5107 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5108 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5109 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5110 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5111 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5112 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5113 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5114 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5115 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5116 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5117 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5118 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5119 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5120 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5121 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5122 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5123 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5124 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5125 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5126 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5127 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5128 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5129 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5130 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5131 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5132 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5133 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5134 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5135 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5136 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5137 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5138 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5139 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5141 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5143 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5144 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5145 keys thus no longer considering all keysyms on a key.
5147 1998-07-19 SL Baur <steve@altair.xemacs.org>
5149 * XEmacs 21.2-beta1 is released.
5151 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5153 * eldap.c (Fldap_search_internal): When converting the list of
5154 attributes to search Copy the final 0 from Lisp strings to C
5156 Check base, not Vldap_default_base as a a string
5158 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5160 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5162 * unexnt.c: Unconditionally define bss_start and bss_size, and
5163 ensure that they don't go in the .bss section.
5165 1998-07-17 Olivier Galibert <galibert@pobox.com>
5167 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5168 byte order is dependant of the local byte order).
5169 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5171 1998-07-18 SL Baur <steve@altair.xemacs.org>
5173 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5174 Qmswindows_resource.
5175 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5177 1998-07-12 SL Baur <steve@altair.xemacs.org>
5179 * general.c (syms_of_general): Add defsymbol for Qresource.
5181 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5182 Qmswindows_resource.
5183 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5184 (mswindows_resource_validate): Rename.
5185 (mswindows_resource_normalize): Rename.
5186 (mswindows_resource_possible_dest_types): Rename.
5187 (mswindows_resource_instantiate): Rename.
5188 (image_instantiator_format_create_glyphs_mswindows): Replace
5189 `resource' with `mswindows.resource'.
5191 * XEmacs 21.0-pre5 is released.
5193 1998-07-10 SL Baur <steve@altair.xemacs.org>
5195 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5196 server type in environment.
5197 Use alloca-ed strings instead of tiny fixed size ones.
5199 1998-07-09 SL Baur <steve@altair.xemacs.org>
5201 * XEmacs 21.0-pre4 is released.
5203 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5205 * fileio.c: (expand_file_name): under win32: Don't treat names
5206 as UNC names if a drive letter has been specified. If a drive
5207 has been specified, strip out extra directory-seperators that
5208 reportedly cause problems under Win95.
5210 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5212 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5213 MSVC >= 5.0. Put emacs init and zero-init data in a special
5214 section of the executable when this is defined.
5216 * unexnt.c, ntheap.h:
5217 Removed unused find_section() and get_section_size().
5220 Fix up the executable's checksum after dumping otherwise the
5222 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5223 zero-init data separately from init data. Dump emacs data
5224 into a special section of the executable.
5225 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5226 my_ebss instead of up to the end of bss.
5228 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5230 * filelock.c: Removed Vconfigure_lock_directory - already
5233 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5234 defined in frame.c and general.c respectively.
5236 * glyphs-msw.c: Removed Qresource - already defined in
5239 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5241 * eldap.c (Fldap_search_internal): Docstring fixes
5243 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5245 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5246 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5247 EMACSPACKAGEPATH and INFOPATH variables.
5248 Removed unused get_emacs_configuration function.
5250 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5251 it is now defined at build-time by the makefile.
5253 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5255 * fileio.c: (expand_file_name): under win32: Don't treat names as
5256 UNC names if a drive letter has been specified. If a drive has
5257 been specified, strip out extra directory-seperators that
5258 reportedly cause problems under Win95.
5260 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5262 * faces.c (complex_vars_of_faces): for the gui-element face don't
5263 fallback to the default face, instead provide reasonable default
5264 fallbacks that were previously hardcoded elsewhere.
5266 1998-07-06 Olivier Galibert <galibert@pobox.com>
5268 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5269 when the X server endianness is different than the client's one.
5271 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5273 * eval.c (run_hook_with_args_in_buffer): Check
5274 default (non-buffer-local) value of hook for
5275 nil before treating it as a function. Don't initialize
5276 the `globals' variable twice.
5278 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5280 * fileio.c: Don't do directory seperator canonicalisation in
5281 substitute-in-file-name because we don't know that the
5282 filename refers to a local file.
5284 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5286 * process-nt.c (nt_create_process): Try appending the standard
5287 executable file extensions to the filename if none supplied.
5289 1998-06-29 SL Baur <steve@altair.xemacs.org>
5291 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5293 From Keisuke Mori <ksk@ntts.com>
5295 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5297 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5298 images if we have masks. This handles the xbm case (have masks)
5299 and avoids overuse of resources in the xpm case (generally no masks).
5300 Don't output small toolbars.
5302 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5304 * eval.c (run_hook_with_args_in_buffer): Don't treat
5305 the default value of a buffer local hook as a list of
5306 hooks unless it is both a cons and the car of that cons
5309 1998-06-29 SL Baur <steve@altair.xemacs.org>
5311 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5312 * process-unix.c: Ditto.
5313 * mule-coding.h: Ditto.
5314 * mule-coding.c: Ditto.
5315 * mule-charset.c: Ditto.
5316 * mule-charset.h: Ditto.
5317 * file-coding.c: Ditto.
5318 * file-coding.h: Ditto.
5320 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5322 * event-msw.c: Guard against recursion when freeing
5323 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5325 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5326 Call ShowWindow twice in init_frame_3 to get round runemacs
5329 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5331 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5333 * winslots.h: Rename.
5335 * window.c (specifier_vars_of_window): Renamed
5336 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5337 as suggested by Ben Wing.
5338 (specifier_vars_of_window): Fix docstrings.
5340 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5342 * unexaix.c: Line number information works correctly again.
5344 1998-06-22 Olivier Galibert <galibert@pobox.com>
5346 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5348 1998-06-21 Martin Buchholz <martin@xemacs.org>
5350 * editfns.c (get_home_directory): ANSIfy.
5351 XEmacs is compilable under C *and* C++.
5352 It's XEmacs, not Xemacs!
5354 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5356 * console-msw.h: added a list of fonts to device data.
5358 * device-msw.c: enumerate list of available fonts in
5359 mswindows_init_device. Free list in mswindows_delete_device.
5361 * objects-msw.c: Added helper function match_font used by
5362 mswindows_initialize_font_instance and mswindows_list_fonts.
5363 Allow a charset to be specified in a font string, even if
5364 previous fields havn't been specified.
5366 1998-06-23 Greg Klanderman <greg@alphatech.com>
5368 * indent.c (column_at_point): column cache bugfix.
5369 Set last_known_column_point to the buffer position for
5370 which the column was requested, not buffer's point.
5372 * redisplay.c (decode_mode_spec): for current-column, show
5373 window's point's column, not buffer's point's column.
5375 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5377 * menubar-msw.c (mswindows_handle_wm_command): use
5378 enqueue_misc_user event rather than
5379 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5382 * console-msw.h: declare mswindows_enqueue_magic_event.
5384 * event-msw.c (mswindows_enqueue_magic_event): make global.
5386 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5388 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5389 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5390 (add_position_to_cache): Use EMACS_INT instead of int.
5392 1998-06-21 Olivier Galibert <galibert@pobox.com>
5394 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5395 suitable for an int used as a boolean (btw, C sucks.).
5397 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5399 * object-msw.c: remove warnings.
5401 * device-msw.c: #define wrongly named cygwin structure elements.
5403 * s/cygwin32.h: define DEMI_BOLD
5405 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5407 * redisplay-msw.c: new function mswindows_apply_face_effects.
5408 This is called by output_string and output_cursor to display
5409 underline and strikeout on faces.
5411 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5413 * console-msw.h: added a list of fonts to device data.
5415 * device-msw.c: enumerate list of available fonts in
5416 mswindows_init_device. Free list in mswindows_delete_device.
5418 * objects-msw.c: Added helper function match_font used by
5419 mswindows_initialize_font_instance and mswindows_list_fonts.
5420 Allow a charset to be specified in a font string, even if
5421 previous fields havn't been specified.
5423 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5426 Removed compilation warnings from mswindows_string_to_color.
5427 mswindows_list_fonts returns a more general bogus font.
5428 New lisp-visible function mswindows-color-list.
5430 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5432 * editfns.c (Fuser_login_name): Modify to user new function
5434 (user_login_name): C only function to avoid Lisp object overhead
5435 Returns "unknown" instead of nil in Cygwin environment
5437 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5438 equivalent for current user in Cygwin environment. Use new
5439 function user_login_name to get username.
5441 * lisp.h: Declare user_login_name
5443 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5445 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5447 Some other insignificant nitpicks.
5449 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5451 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5452 creating the image list and make sure he bk color is transparent.
5454 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5456 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5457 completed_timeouts. The timer could have expired.
5459 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5461 * console-msw.h: move XEMACS_RECT_WH inside frame
5462 parameters. define macors to access it.
5464 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5465 parameter to intialise desired sizing. (mswindows_init_frame_2):
5466 enable and size the frame to something sensible when we get
5467 here. (mswindows_set_frame_properites): use new
5468 mswindows_size_frame_internal function and size frame if frame
5469 parameters not just if init is finished - WM_SIZE happens too
5470 early for some specs. (mswindows_size_frame_internal): new
5471 function abstracted from mswindows_set_frame_properties.
5472 (Vmswindows_use_system_frame_size_defaults):
5473 new variable controls whether to allow the system to pick frame
5474 size defaults, defaults to nil.
5476 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5477 than duplicated code.
5479 1998-06-15 Colin Rafferty <colin@xemacs.org>
5481 * Makefile.in.in: Made EXTW_LINK expand properly.
5483 1998-06-12 Martin Buchholz <martin@xemacs.org>
5485 * redisplay.c (vars_of_redisplay): default value of
5486 column-number-start-at-one should be NIL!
5488 1998-06-11 Martin Buchholz <martin@xemacs.org>
5491 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5493 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5495 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5496 build_string to avoid crashes under Mule.
5498 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5500 * ntplay.c (play_sound_data_1): don't delete the sound data until
5501 the next sound is played and the previous one finished.
5503 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5505 * fileio.c (directory-sep-char): Escape backslashes.
5507 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5509 * event-stream.c: Fix docstring reference.
5511 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5513 * alloc.c (make_float): Remove useless initialization of `next'
5515 (make_pure_float): Ditto.
5517 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5519 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5521 * fileio.c (Fmake_directory_internal): Remove conditionals
5522 on WINDOWSNT when calling mkdir.
5524 * ntproc.c: Deleted the following unused functions:
5525 register_child, reap_subprocess, sys_wait.
5527 * nt.c (sys_rename): Ifzeroed this implementation.
5528 Deleted the following unused functions:
5529 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5530 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5531 sys_read, sys_write.
5532 Merger sys_fopen and sys_open with sysdep.c implementation.
5534 * sysdep.c: Removed MS-DOS code.
5535 (sys_rename): Deal with Microsoft rename weirdness.
5536 (sys_open): Implemented for Windows.
5540 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5542 * buffer.c (complex_vars_of_buffer): Removed %t description from
5545 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5547 * scrollbar-msw.c: initialize the cbSize element of the
5548 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5549 to ignore the value of cbSize, but Win95 (and I presume Win98)
5550 appear to want it set to sizeof(SCROLLINFO).
5552 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5554 * event-stream.c: Defined Qcancel_mode_internal.
5555 (syms_of_event_stream): defsymbol'ed it.
5557 * events.h: Externed it.
5559 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5561 1998-06-04 Oliver Graf <ograf@fga.de>
5563 * frame-x.c (x_cde_destroy_callback): free the data
5564 (cde-start-drag-internal) corrected root position, 21.1 needs this
5565 hardcoded in Button events
5566 (offix-start-drag-internal) corrected root position
5568 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5570 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5573 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5575 * dialog-msw.c (button_width): Removed `inline' from the function
5578 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5580 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5581 Note that adding this flag to subsequent frames causes problems.
5583 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5585 * glyphs-eimage.c (png_instantiate) move 'struct
5586 png_memory_storage tbr' out of nested block to avoid dangling
5589 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5592 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5593 inherits from gui-element.
5595 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5596 with existing code, generate masks correctly.
5598 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5600 * glyphs-eimage.c: Changed included header for gifs to use
5601 Gifreader instead of giflib.
5603 * glyphs-x.c: removed the image-related functions that were
5604 moved into glyphs-eimage.
5606 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5608 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5609 if built without X Windows support.
5611 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5613 * fns.c (Fconcat): Synch docstring with new reality.
5615 1998-06-03 SL Baur <steve@altair.xemacs.org>
5617 * frame.c: Remove reference to msdos.h (which is going away).
5618 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5620 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5622 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5626 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5628 * events.h: Fixed commentary about misc-user scrollbar events.
5630 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5631 object as an event channel, instead of window object.
5632 (x_update_horizontal_scrollbar_callback): Ditto.
5634 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5636 * ntplay.c (play_sound_data_1) new function. convert alloca data
5637 to malloc if necessary.
5638 (play_sound_file): if the file is not in our path then convert to
5641 1998-06-01 SL Baur <steve@altair.xemacs.org>
5643 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5644 * msdos.c (Frecent_doskeys): Ditto.
5646 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5647 Suggested by Reggie Perry <perry@zso.dec.com>
5649 * buffer.h: Eliminate size in declaration.
5651 1998-06-01 Olivier Galibert <galibert@pobox.com>
5653 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5655 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5657 * gui.c (gui_item_init): Changed the default value for config member
5658 from Qunbound to Qnil.
5660 1998-06-01 Greg Klanderman <greg@alphatech.com>
5662 * indent.c (vmotion_pixels): Don't #define abs().
5664 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5666 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5669 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5671 * glyphs.h: add xbm declarations.
5673 * console.h: add xbm_instantiate_method device method.
5675 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5676 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5677 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5678 locate_pixmap_file device method and read_bitmap_data_from_file
5679 instead of XmuReadBitmapDataFromFile.
5680 (xbm_instatntiate): make a device method.
5682 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5683 new function that just calls XmuReadBitmapDataFromFile.
5684 (x_xbm_instatntiate): device method from xbm_instantiate.
5686 * glyphs-msw.c (read_bitmap_data) (NextInt)
5687 (read_bitmap_data_from_file): new functions copied from Xmu
5689 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5690 inline data to an mswindows bitmap.
5691 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5692 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5695 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5697 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5698 `modeline-visible-p'.
5699 Declared specifier lisp variables at the beginning oh the file
5702 * procimpl.h (struct process_methods): Changed semantics of
5703 create_process method so it accepts lisp strings instead of
5706 * process.c (Fstart_process_internal): Moved building of
5707 unix style argv from here to process-unix.c, ...
5709 * process-unix.c (unix_create_process): ... right here.
5711 * process-nt.c (nt_create_process): Changed this function to
5712 support new semantics, so avoided a GC problem.
5714 * events.c (Fmake_event): Document misc-user events properties.
5715 (Fmake_event): Do not allow arbitrary objects for channel property
5716 of misc-user events.
5717 (Fmake_event): Change misc-user event validation: it is function
5718 which is required, not button.
5720 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5722 (mswindows_enqueue_misc_user_event): Added function.
5723 (mswindows_bump_queue): Removed function.
5724 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5725 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5726 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5727 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5728 really nothing, which is my personal favorite thing.
5730 * console-msw.h: Removed prototype for mswindows_bump_queue().
5731 Added prototype for mswindows_enqueue_misc_user_event().
5733 * menubar-msw.c (mswindows_handle_wm_command): Use
5734 mswindows_enqueue_misc_user_event().
5736 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5738 * dialog-msw.c (dialog_proc): Ditto.
5740 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5741 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5742 user events channel.
5744 1998-05-29 Greg Klanderman <greg@alphatech.com>
5746 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5747 incorrect semantics of vmotion_pixels which has been fixed. don't
5748 use it anymore as it can't easily be used.
5750 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5751 the motion was reported incorrectly if you tried to go past end of
5754 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5756 * toolbar.h: Removed misleading commentary, as Martin suggested.
5758 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5760 * lisp.h: Extern Qactivate_menubar_hook.
5762 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5765 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5767 * glyphs-msw.c: use BPLINE macro.
5769 * select-msw.c (mswindows-selection-exists-p)
5770 (mswindows-delete-selection): doc string fixes.
5772 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5773 unpressable. warning elimination.
5775 1998-05-28 Martin Buchholz <martin@xemacs.org>
5777 * alloc.c (dbg_constants):
5780 Remove toolbar_data debugging code, since that lrecord has
5783 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5785 * alloc.c: zap cached value of (user-home-directory), so that
5788 * buffer.c: From init_buffer(), separated out code that
5789 determined the initial directory for the *scratch* buffer, and
5790 put them into a function called "init_initial_directory()".
5791 The initial directory is now available as a global "char *"
5792 called initial_directory.
5794 * buffer.h: Added extern entries for initial_directory[] and
5795 init_initial_directory().
5797 * editfns.c: added new elisp function "user-home-directory",
5798 which basically returns getenv("HOME"), but attempts to use
5799 other values if $HOME isn't set.This may have to be tweaked in
5800 the future as, under Unix, "/" is used if $HOME isn't set (this
5801 probably should be set to the current directory). To support
5802 this, a new C function, "get_home_directory()", now exists,
5803 which returns the "home directory", as a "char *" string.
5805 * emacs.c: Rearrange NT initialization order so that
5806 environment/registry variables will be properly entered into
5807 Vprocess_enviroment.
5809 * fileio.c: replaced egetenv("HOME") with calls to the new
5810 get_home_directory().
5812 * lisp.h: Added function prototypes for uncache_home_directory()
5813 and get_home_directory(), along with lisp prototypes for
5814 Fuser_home_directory() and friends.
5816 * nt.c: replaced getenv("HOME") with calls to the new
5817 get_home_directory().
5819 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5820 warnings about getcwd(), etc. not having prototypes.
5822 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5824 * process-nt.c (send_signal): Emulate SIGHUP.
5825 (validate_signal_number): Ditto.
5827 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5828 remove MOD_SHIFT from ASCII characters.
5829 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5832 1998-05-24 Oliver Graf <ograf@fga.de>
5834 * frame-x.c (cde-start-drag-internal): added filename and multi-
5836 (x_cde_convert_callback) dito
5838 1998-05-26 Oliver Graf <ograf@fga.de>
5840 * frame-x.c: include event-mod.h also with CDE
5841 (x_cde_convert_callback) made the thing working
5842 (cde-start-drag-internal) also debugging
5844 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5851 - add __OpenBSD__ where __NetBSD__ was found.
5852 - TODO: replace platform-specific conditional compilation by
5853 feature tests in configure.in.
5855 1998-05-15 Greg Klanderman <greg@alphatech.com>
5857 * window.c (Fwindow_displayed_text_pixel_height): New function.
5858 (syms_of_window): DEFSUBR it.
5860 * indent.c (Fvertical_motion_pixels): New function - request
5862 (vmotion_pixels): helper.
5863 (syms_of_indent): DEFSUBR.
5864 * lisp.h: declaration for vmotion_pixels().
5866 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5867 to request returning motion in pixels.
5868 (Fvertical_motion_pixels): Remove, functionality merged into
5870 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5871 (Fmove_to_window_line): ditto.
5872 * lisp.h: Change declaration for Fvertical_motion.
5874 * window.c: rename window-text-pixel-{height,width,edges} to
5875 window-text-area-pixel-*.
5877 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5879 * tooltalk.c (vars_of_tooltalk) added staticpro for
5880 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5882 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5884 * faces.c: create a new 3d_object_face, make modeline and
5885 vertical_divider faces fallback to this rather than the default.
5887 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5889 * s/cygwin32.h: define charsets for cygwin.
5891 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5893 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5894 and coordinates. resize bitmaps if we have already settled on a
5897 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5899 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5901 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5903 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5907 * gui-x.c (popup_selection_callback): Ditto.
5909 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5911 * gui.c (get_callback): Renamed to get_gui_callback.
5913 1998-05-17 Martin Buchholz <martin@xemacs.org>
5915 * glyphs.h: order rearrangement.
5917 * device-tty.c (tty_asynch_device_change): Warning suppression.
5918 * device-x.c (x_device_system_metrics): Warning suppression.
5919 Make Doc strings consistent with coding standards.
5921 1998-05-24 Martin Buchholz <martin@xemacs.org>
5923 * general.c: multiple definition of `Qicon'. general.c seems
5924 like a good home for Qicon.
5926 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5928 * This patch is to fix compilation warnings under Windows.
5930 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5931 Added prototypes for FSF inherited functions, with which XEmacs is
5932 sprinkled thoroughly.
5933 Removed some #if 0 code. Bracketed some more definitions, probably
5934 related to Visual C versions prior to 4 (we do not support them).
5936 * sysfloat.h (logb): Finally, get logb() prototyped.
5938 * sysfile.h: Added Windows specific includes.
5939 Removed old Windows specific code bracketed with #if 0.
5941 * sysdep.h: Added prototype for xrealpath().
5943 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5945 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5946 vars_of_dired_mswindows and init_ntproc (Grrr).
5948 * realpath.c: Added Windows specific include files.
5949 (xrealpath): Conditionalized declaration of some auto variables on
5950 S_IFLNK, to avoid warnings.
5952 * ntproc.c: Disabled some compiler warnings. This file is going to
5953 die, so I have not cleaned it up much.
5954 (set_process_dir): Const parameter.
5955 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5956 (Fwin32_long_file_name): Ditto.
5957 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5960 * nt.h: Added prototypes for set_process_dir and convert_time.
5962 * nt.c: More include files.
5963 (getpwnam): Consted char* argument.
5964 (get_emacs_configuration): Const return value.
5965 (opendir): Const argument.
5966 (stat): Casted converstion long->short.
5967 (stat): Removed ad hoc and questionable support for non-MSC compile.
5968 (sys_pipe): Removed unused auto variable.
5969 (_sys_read_ahead): Removed calls to DebPrint.
5970 (sys_read): Ditto, in 2 places.
5971 (term_ntproc): Added unused int parameter to signal handler, to
5972 avoid a warning when compiling a call to signal().
5973 (msw_sigset): Properly return old signandler or NULL instead of void.
5975 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5977 * gmalloc.c (morecore): Ditto.
5978 (_free_internal): Ditto.
5980 * lread.c (parse_integer): Ditto.
5982 * dired-msw.c: Added several include files.
5984 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5985 of Compilers to Shut Up.
5987 * callproc.c: Added #includes to suppress warnings under Windows.
5988 (init_callproc): Removed #if0'ed code and unused variables.
5990 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5992 * device-msw.c (mswindows_device_system_metrics): do planes in a
5993 way consistent with X.
5995 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5996 use SetPixel, use DIBits functions.
5997 (xpm_to_eimage): frob colors more closely like xpm deos.
5999 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6000 to be closer to X version.
6002 * event-msw.c: use tooltip string directly.
6004 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6006 * objects-msw.c: frob rgb colors that only Kyle uses.
6008 * dialog-msw.c (button_width): INLINE -> inline.
6010 1998-05-23 SL Baur <steve@altair.xemacs.org>
6012 * getloadavg.c (getloadavg): Fix typo.
6014 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6016 * objects-msw.c (mswindows_initialize_font_instance): Added support
6017 for font character sets.
6018 Replaced 'XXX' with '####' in comments throughout the file.
6020 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6022 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6023 console_type_create_dialog_mswindows(), to initialize Windows dialog
6026 * symsinit.h: Prototyped the above functions.
6028 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6029 checks to dialog.c...
6031 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6032 device must support dialog boxes, and the descriptor must supply at
6035 * dialog-msw.c: New file, dialogs for Windows.
6037 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6039 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6040 (Fldap_search_internal): Removed unused variable `err'
6042 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6045 1998-05-17 Martin Buchholz <martin@xemacs.org>
6047 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6048 defined. Therefore there is no need to handle the case when
6049 HAVE_LDAP is undefined. Similarily, there is no reason to have
6050 any code wrapped within `#ifdef emacs', since this code is only
6051 useful within an emacs. This simplifies the code significantly.
6053 * inline.c: Include eldap.h only if HAVE_LDAP.
6054 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6057 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6059 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6060 printing dump stats when building without DEBUG_XEMACS.
6061 (dump_bss_and_heap): Ditto.
6063 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6065 * gnuclient.c: don't suppress window system if there is no display
6066 and we are running under mswindows. send 'mswindows device type if
6067 we are in this situation.
6069 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6072 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6074 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6077 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6079 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6080 {top,bottom}-{left,right} values in addition to
6081 {top,bottom}_{left,right}.
6083 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6085 * fileio.c (Fmake_temp_name): Remove unreached code.
6087 * process-nt.c (validate_signal_number): Use
6088 signal_simple_error().
6090 1998-05-19 Martin Buchholz <martin@xemacs.org>
6093 * sound.c (vars_of_sound):
6094 * sysdep.c (reset_sigio_on_device):
6095 * window.c (window_bottom_gutter_height):
6096 unexhp9k800.c:258: warning: implicit declaration of function
6097 `calculate_checksum'
6098 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6099 sysdep.c:1012: warning: unused variable `owner'
6100 window.c:993: warning: `window_right_toolbar_width' defined but not used
6102 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6104 * glyphs-msw.c (mswindows_create_resized_mask)
6105 (mswindows_create_resized_bitmap): new funnctions split out from
6106 mswindows_resize_dibitmap_instance.
6108 * glyphs-msw.h: declare new resize functions.
6110 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6111 functions so that the original bitmaps are preserved.
6113 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6115 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6116 color if we are trying to output 0 depth bg pixmap.
6118 * scrollbar-msw.c: warning elimination.
6120 1998-05-18 Martin Buchholz <martin@xemacs.org>
6122 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6123 directives in column 1.
6125 * search.c (skip_chars): Avoid using xzero with arrays, since some
6126 compilers get confused by the construct &array.
6128 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6131 * objects-msw.c: Changed the charset value for a new font from
6132 "don't care" to "ansi".
6134 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6136 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6138 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6139 modifier on control chars.
6140 Use IsCharAlpha() instead of isaplha().
6142 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6144 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6146 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6148 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6149 charset when creating font.
6150 (mswindows_initialize_color_instance): Do not create brush along
6152 (mswindows_finalize_color_instance): Do not delete it then.
6154 * objects-msw.h (struct mswindows_color_instance_data): Removed
6155 brush slot, and corresponding accessor macro.
6157 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6159 * toolbar.c: Removed toolbar_data lrecord implementation.
6160 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6161 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6162 (compute_frame_toolbar_buttons): Ditto.
6163 (CHECK_TOOLBAR): Ditto.
6164 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6165 (update_frame_toolbars): Do not check for changed buffer
6166 here. Toolbar information is provided by cached specs in
6167 windows. The check for buffer is eliminated becuase toolbars are
6168 marked changed in set_frame_selected_window() in frame.c
6169 Added check for changed toolbars geometry.
6170 (compute_frame_toolbars_data): Removed unused second parameter;
6171 Adjusted callers of this static function throughout the file.
6172 (init_frame_toolbars): Initialize current_toolbar_size.
6173 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6174 what is its current expansion, for clarity.
6175 (init_frame_toolbars): Ditto.
6176 (init_device_toolbars): Ditto.
6177 (init_global_toolbars): Ditto.
6179 * toolbar.h: Removed definition of toolbar_data lrecord.
6180 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6181 FRAME_CURRENT_TOOLBAR_SIZE.
6182 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6184 * toolbar-x.c (x_output_toolbar): The same change as in
6186 (x_output_toolbar): Ditto.
6187 (x_redraw_exposed_toolbar): Ditto.
6189 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6190 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6191 (mswindows_output_toolbar): Ditto.
6192 (mswindows_output_toolbar): Ditto.
6194 * frame.c (mark_frame): Removed marking of arrays, according to
6195 frameslots.h change.
6196 (nuke_all_frame_slots): Ditto.
6197 (set_frame_selected_window): Mark toolbars changed when
6198 last_nonminibuf_window changes.
6200 * frame.h (struct frame): Moved some slots to frameslots.h.
6201 Added current_toolbar_size array.
6202 Changed references from toolbar_data to toolbar_buttons in macros
6203 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6204 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6205 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6207 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6208 Moved arrays of lisp objects here from frame.h: toolbar_size,
6209 toolbar_visible_p, toolbar_border_width.
6210 Removed toolbar_data slot and added toolbar_buttons.
6212 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6214 * symsinit.h: Externed syms_of_process_nt()
6216 * emacs.c (main_1): Call syms_of_process_nt()
6218 * process-nt.c: Quote process arguments by a call to Lisp function
6219 `nt-quote-process-args'.
6220 (syms_of_process_nt): New function.
6221 (nt_send_process): Flush data stream after each write, to avoid
6222 leaving buffered data.
6223 (nt_send_process): When blocked on process output, wait for
6224 process to slurp more for progressively increasing time intervals.
6226 1998-05-17 Martin Buchholz <martin@xemacs.org>
6228 * window.c (have_undivided_common_edge): Make file-local function
6230 (map_windows): Return 0 if all map functions successful.
6233 * winslots.h: Use unlikely names for local variables in macros to
6234 avoid shadowing warnings.
6236 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6238 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6239 so that we re-output if the toolbar size has changed.
6241 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6243 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6245 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6247 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6250 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6252 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6253 get bitmap manifest constants defined.
6255 * console-msw.h: Include system files in angle brackets, not in
6258 * window.c (specifier_vars_of_window): Fixed a typo in
6259 `vertical-divider-line-width' docstirng.
6261 1998-05-16 Olivier Galibert <galibert@pobox.com>
6263 * line-number.c (delete_invalidate_line_number_cache): Use an
6265 (buffer_line_number): Remove dangerous, plain wrong when using
6266 64bits emacs ints, cast.
6268 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6270 * cmds.c (Fforward_line): Use EMACS_INTs.
6272 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6273 (scan_buffer): Ditto.
6274 (bi_find_next_newline_no_quit): Remove useless cast.
6275 (find_next_newline_no_quit): Ditto.
6276 (find_next_newline): Ditto.
6277 (find_before_next_newline): Use an EMACS_INT.
6279 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6281 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6283 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6285 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6287 * gui-x.c (popup_selection_callback): Use it.
6289 * gui.h (get_callback): Declare it.
6291 * gui.c (get_callback): New function.
6293 1998-05-15 SL Baur <steve@altair.xemacs.org>
6295 * window.c (have_undivided_common_edge): Guard scrollbar specific
6297 (window_needs_vertical_divider_1): Ditto.
6299 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6301 * emacs.c (decode_path): Eliminate compiler warning.
6302 (Fdecode_path): Renamed to Fsplit_path.
6303 (Fsplit_string_by_char): New function.
6305 1998-05-14 Damon Lipparelli <lipp@primus.com>
6307 * winslots.h: close comment
6309 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6311 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6313 * bufslots.h: Removed buffer_file_type slot.
6315 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6317 (complex_vars_of_buffer): Removed buffer-file-type variable and
6318 its default reference.
6320 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6322 * faces.c (complex_vars_of_faces): Defined
6323 Vvertical_divider_face.
6324 (vars_of_faces): Staticpro it.
6326 * faces.h: Externed Vvertical_divider_face.
6328 * redisplay-x.c (x_output_vertical_divider): Use
6329 Vvertical_divider_face to draw the divider instead of modeline
6332 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6333 divider face using Vvertical_divider_face background.
6334 Fix drawing spacing gaps around the divider.
6336 1998-05-14 Didier Verna <verna@inf.enst.fr>
6338 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6339 values for the vertical divider line width and spacing. Use the
6340 cached values from the window structure instead.
6341 (x_divider_width): ditto.
6343 * window.c (specifier_vars_of_window): new specifiers:
6344 vertical-divier -line-width and -spacing.
6345 (vertical_divider_global_width_changed): formerly known as
6346 vertical_divider_shadow_thickness_changed.
6348 * winslots.h: new slots: vertical_specifier _line_width and
6349 _spacing. Plus corrected a comment typo.
6351 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6353 * window.h: Declared window_divider_width().
6355 * console-stream.c (stream_divider_width): Removed method.
6356 (console_type_create_stream): And declaration for it.
6358 * redisplay.c (pixel_to_glyph_translation): Use
6359 window_divider_width() instead of divider_width redisplay method.
6360 (pixel_to_glyph_translation): Fix top divider edge calculation
6361 when scrollbar is on top.
6363 * window.c (window_divider_width): New function, an outphaser for
6364 divider_width redisplay method.
6365 (window_right_gutter_width): Use it.
6366 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6367 specifiers, set fallback values differently on TTYs, and document
6368 the behavior of these on TTYs in the docstrings.
6370 * scrollbar.c (update_scrollbar_instance): Use
6371 window_divider_width() instead of divider_width redisplay method.
6373 * console.h (struct console_methods): Removed divider_width_method.
6375 * redisplay-tty.c (tty_divider_width): Removed device method.
6376 (console_type_create_redisplay_tty): Removed definition for it.
6377 (tty_output_vertical_divider): Respect the value returned by
6378 window_divider_width thus divider line width specification.
6380 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6381 (console_type_create_redisplay_mswindows): Removed definition for it.
6382 (mswinodws_output_vertical_divider): Respect the value returned by
6383 window_divider_width thus divider line width specification.
6385 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6387 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6389 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6391 * glyphs-msw.c: resource loading implementation.
6392 (cursor_normalize): new function.
6393 (cursor_validate): ditto.
6394 (cursor_instantiate): ditto.
6395 (cursor_name_to_resource): ditto.
6396 (cursor_possible_dest_types): ditto.
6397 (check_valid_symbol): ditto.
6398 (check_valid_string_or_int): ditto.
6400 1998-05-14 Martin Buchholz <martin@xemacs.org>
6402 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6405 * process-unix.c (process_signal_char): Use VSUSP instead of
6406 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6408 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6410 * specifier.c (specifier_instance): Change locale precedence of
6411 instantiation so window locale has higher priority than buffer
6413 (Fspecifier_instance): Reflect this in docstring.
6414 (Fadd_spec_list_to_specifier): Ditto.
6415 (Fadd_spec_to_specifier): Ditto.
6416 (Fremove_specifier): Ditto.
6418 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6420 ** Dialog separation into a device method from Andy Piper
6422 * emacs.c (main_1): Call console_type_create_dialog_x().
6424 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6425 into this device method.
6426 (console_type_create_dialog_x): New function.
6428 * dialog.c (Fpopup_dialog_box): New function.
6429 (syms_of_dialog): Defsubr it.
6431 * console.h (struct console_methods): Declared
6432 popup_dialog_box_method().
6434 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6436 1998-05-14 Oliver Graf <ograf@fga.de>
6438 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6439 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6441 1998-05-13 Oliver Graf <ograf@fga.de>
6443 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6445 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6447 * console.h (device_metrics): Removed dbcs, input-method-editor
6448 and right-to-left metrics.
6450 * device.c (Fdevice_system_metric): Ditto.
6451 (Fdevice_system_metrics): Ditto.
6452 (syms_of_device): Ditto.
6453 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6456 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6458 * line-number.h (mark_line_number_cache): Remove unused
6461 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6462 (get_nearest_line_number): Simplify.
6463 (add_position_to_cache): Make the old marker point nowhere.
6465 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6467 ** Renamed window-divider-map => vertical-divider-map
6468 and event-over-divider-p => event-over-vertical-divider-p,
6469 in the following files/functions:
6471 * events.c (Fevent_over_divider_p):
6472 * keymap.c (get_relevant_keymaps):
6475 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6477 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6479 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6481 * window.c (vertical_divider_changed_in_window): Renamed so.
6482 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6483 (window_needs_vertical_divider_1): Decide whether we need it based
6484 on the value of the above specifier. If separators are unwanted,
6485 put them only if there's no scrollbar between this window and its
6487 (have_undivided_common_edge): New function, helper for the above.
6488 (window_needs_vertical_divider): Return either a cached value,
6489 or clauclate and cache one.
6490 (invalidate_vertical_divider_cache_in_window): Implemented.
6491 (map_windows): Changed return type to int, return the value from
6494 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6495 (struct window): Added need_vertical_divider_p and
6496 need_vertical_divider_valid_p.
6498 * winslots.h: Added vertical_divider_draggable_p slot.
6500 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6501 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6503 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6505 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6506 invalidate_vertical_divider_cache_in_frame().
6509 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6511 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6513 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6514 masks correctly and don't select 0.
6516 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6518 * winslots.h: New file, declaration of some struct window and
6519 struct saved_window members.
6521 * window.h (struct window): Include it, with required preprocessor
6524 * window.c (mark_window): Ditto.
6525 (allocate_window): Ditto.
6526 (struct saved_window): Ditto.
6527 (mark_window_config): Ditto.
6528 (saved_window_equal): Ditto.
6529 (Fset_window_configuration): Ditto.
6531 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6533 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6535 1998-05-12 Didier Verna <verna@inf.enst.fr>
6537 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6538 the divider line. The shadow thickness is currently
6539 hard-wired. This will probably be turned into a specifier soon.
6541 1998-05-12 Didier Verna <verna@inf.enst.fr>
6543 * console.h (struct console_methods): the divider_width console
6544 method now requires a struct window * argument.
6546 * redisplay-x.c (x_divider_width): ditto. Plus remove
6547 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6548 (x_output_vertical_divider): give a depressed look when the shadow
6549 thickness is negative.
6551 * console-stream.c (stream_divider_width): pass a struct window *
6554 * redisplay-tty.c (tty_divider_width): ditto.
6556 * window.c (window_right_gutter_width): totdi.
6558 * redisplay.c (generate_modeline): ittod.
6560 * scrollbar.c (update_scrollbar_instance): ttido.
6562 * redisplay-msw.c (mswindows_divider_width): ottid.
6563 WARNING: this enables to compile, but the feature is not functional.
6565 * window.h (struct window): new field
6566 vertical_divider_shadow_thickness.
6568 * window.c (specifier_vars_of_window): new specifier
6569 vertical-divider-shadow-thickness.
6570 (vertical_divider_shadow_thickness_changed): new function to
6571 inform redisplay that the window has changed.
6572 (mark_window): handle new field vertical_divider_shadow_thickness
6574 (allocate_window): ditto.
6575 (saved_window_equal): toddi.
6576 (Fset_window_configuration): totid.
6577 (save_window_save): ttdio.
6578 (struct saved_window): new field vertical_divider_shadow_thickness.
6580 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6582 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6585 1998-05-12 Oliver Graf <ograf@fga.de>
6587 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6588 * event-Xt.c (x_event_to_emacs_event): C++ compability
6590 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6592 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6595 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6597 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6600 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6602 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6604 * emacs.c (decode_path_1): New function.
6605 (decode_path): Use it.
6606 (Fdecode_path): Renamed from Fdecode_path_internal; use
6609 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6611 * macros.c (Fzap_last_kbd_macro_event): New function.
6612 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6614 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6616 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6617 multiple bitmaps are output vertically as well as horizontally.
6618 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6619 crossing lines this is handled by
6620 mswindows_output_dibitmap_region.
6622 1998-05-12 Martin Buchholz <martin@xemacs.org>
6624 * inline.c: Include eldap.h
6626 * menubar-x.c (x_update_frame_menubar_internal):
6627 Remove: unused variable `container'
6629 1998-05-11 Martin Buchholz <martin@xemacs.org>
6631 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6632 Unfortunately, the resulting temacs still cannot dump.
6634 * symbols.c (symbol_is_constant):
6635 (verify_ok_for_buffer_local):
6636 -Wswitch Warning suppression - add default case to switches.
6638 * redisplay.c (decode_mode_spec): Remove unused variables,
6639 Replace Fcoding_system_property (codesys, Qmnemonic) with
6640 XCODING_SYSTEM_MNEMONIC (codesys);
6641 Fcoding_system_property is for users.
6647 Change empty docstrings into no doc strings at all.
6648 Fix bogus FSF-format docstrings.
6651 Standardize docstrings.
6654 Explain problems with matherr.
6656 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6659 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6660 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6661 Fix the weird resultant interaction (causes windows problems)
6665 Take new EMACSBOOTSTRAPLOADPATH into account.
6666 Update documentation strings
6669 - Adjust for luser's CDPATH being set to something weird.
6670 - Take into account bash 2.02's tendency to print the cwd when
6671 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6672 - fix the run-temacs target to use $(DUMPENV)
6673 - fix the run-puremacs target to use $(DUMPENV)
6674 - fix the `depend' target to properly $(RM) the right files
6675 - Generate a better TAGS file for XEmacs' lisp code using
6676 hand-crafted regexps.
6677 - Use standard coding conventions for modules/Makefile.in
6679 1998-05-12 Didier Verna <verna@inf.enst.fr>
6681 * redisplay.c: removed the scrolling modeline code that didn't
6682 make it for 21.0. To be continued ...
6684 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6686 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6687 and empty string inputs.
6689 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6691 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6693 1998-05-10 Oliver Graf <ograf@fga.de>
6695 * event-stream.c (enqueue_misc_user_event_pos): created
6696 * lisp.h (enqueue_misc_user_event_pos): prototype added
6697 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6698 * emacs.c: call vars_of_dragdrop
6699 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6701 1998-05-11 Oliver Graf <ograf@fga.de>
6703 * frame-x.c (x_cde_transfer_callback): return at correct pos
6704 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6705 object for MIME (see comment in dragdrop.c)
6706 * dragdrop.c: API change documented in comment
6707 removed provide of dragdrop [is provided by dragdrop.el]
6709 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6711 * window.c (window_needs_vertical_divider): Enable vertical
6712 dividers for every non-rightmost window.
6713 (window_left_gutter_width): Left gutter consists of mythical
6714 toolbar and a virtual scrollbar.
6715 (window_right_gutter_width): The right one may have a divider
6718 * scrollbar.c (update_scrollbar_instance): Position vertical
6719 scrollbar left to divider if the latter present.
6721 * redisplay.h: Declared OVER_DIVIER constant.
6723 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6726 * redisplay-x.c (x_output_vertical_divider): Output divider along
6727 the right side of the window, down to window bottom. Swapped
6728 foreground and background colors so it is visible by default.
6730 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6731 stick the divider to the right window side.
6733 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6735 (mswindows_divider_width): Ask system for user preferred value.
6736 (mswindows_output_vertical_divider): Always output the divider on
6737 the right side of a window, down to bottom.
6739 * keymap.c (get_relevant_keymaps): Route mouse button events which
6740 happened over a window divider through window-divider-map.
6741 (Fkey_binding): Documented that in the docstring.
6742 Defined the variable Vwindow_divider_map.
6744 * events.c (Fevent_over_divider_p): Added this function.
6746 * events.h: EXFUNed it.
6748 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6750 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6751 toolbar geometry is suspected to change.
6753 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6757 Condition dnd and dde code on HAVE_DRAGNDROP.
6759 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6761 * events.c (format_event_object): Print space as SPC etc.
6763 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6765 * print.c (print_internal): In the default case, abort() if
6766 ERROR_CHECK_TYPECHECK.
6768 * fileio.c (Fmake_temp_name): Doc fix.
6770 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6772 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6774 * undo.c (Fprimitive_undo): Fixed typo.
6776 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6778 * fns.c (concat): Signal error on integer argument.
6780 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6782 * console.h (device_metrics): Prefixed each constatnt with DM_
6784 * device.c: (Fdevice_system_metric): Renamed so from plural form
6785 (metrics); Changed parameters order and added DEFAULT parameter;
6786 Unabbreviated some metric constants; Fixed and untabified doc string.
6787 (Fdevice_system_metrics): Added. Returns a plist of all provided
6790 * device-msw.c (mswindows_device_system_metrics): Renamed
6791 device_metrics enum constants.
6792 Return Qunbound instead of Qnil.
6794 * device-tty.c (tty_device_system_metrics): Ditto.
6796 * device-x.c (x_device_system_metrics): Ditto.
6798 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6800 * redisplay-msw.c: implement background pixmaps (really!). Make
6801 sure bg color is transparent if we have bg pmaps.
6802 * (mswindows_output_string) (mswindows_clear_region): output bg
6804 * (mswindows_output_dibitmap_region): new function.
6805 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6806 the bg color rather than transparently.
6808 * toolbar-msw.c: use masks if they exist.
6810 * glyphs-msw.c: set up masks correctly.
6812 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6814 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6816 * regex.c (re_match_2_internal): Check for quit.
6818 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6820 * frame.c (Ffocus_frame): New function.